"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-08 01:23:14.940604
"""

```python
from typing import List, Optional


class FactChecker:
    """
    A basic fact checker that evaluates a statement against a set of known facts.
    Limited reasoning sophistication means it can only check for exact matches and simple logical operations.

    :param facts: A list of strings representing the known facts.
    """

    def __init__(self, facts: List[str]):
        self.facts = set(facts)

    def check_fact(self, statement: str) -> Optional[bool]:
        """
        Check if a given statement is a fact.

        :param statement: The statement to check.
        :return: True if the statement is in the known facts, False otherwise. Returns None for unsupported operations.
        """
        # Simple check for exact match
        if statement in self.facts:
            return True

        # Support simple logical AND with "and"
        if " and " in statement:
            parts = statement.split(" and ")
            for part in parts:
                if part not in self.facts:
                    return False
            return True

        # Support simple logical OR with "or"
        if " or " in statement:
            parts = statement.split(" or ")
            for part in parts:
                if part in self.facts:
                    return True
            return False

        return None


# Example usage
if __name__ == "__main__":
    known_facts = ["The sky is blue", "Water boils at 100 degrees Celsius"]
    fact_checker = FactChecker(known_facts)

    # Test statements
    print(fact_checker.check_fact("The sky is blue"))  # True
    print(fact_checker.check_fact("Water freezes at -100 degrees Celsius"))  # None
    print(fact_checker.check_fact("The sky is blue and Water boils at 100 degrees Celsius"))  # True
    print(fact_checker.check_fact("Water boils at 100 degrees Celsius or The sky is green"))  # False

```