"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-08 17:34:11.357174
"""

```python
from typing import List, Union

class FactChecker:
    """
    A simple fact-checking system that evaluates statements for truthfulness.
    """

    def __init__(self):
        self.knowledge_base = {}

    def add_statement(self, statement: str, is_true: bool) -> None:
        """
        Adds a statement and its truth value to the knowledge base.

        :param statement: The statement to be added as a string.
        :param is_true: A boolean indicating whether the statement is true or false.
        """
        self.knowledge_base[statement] = is_true

    def check_fact(self, fact_to_check: str) -> bool:
        """
        Checks if the provided fact matches its stored truth value.

        :param fact_to_check: The fact to be checked as a string.
        :return: True if the fact matches the stored truth value, False otherwise.
        """
        return self.knowledge_base.get(fact_to_check, None) is not None

    def evaluate_reasoning(self, statement_to_evaluate: str) -> Union[str, bool]:
        """
        Evaluates a complex statement by breaking it down into known facts and checking their consistency.

        :param statement_to_evaluate: The complex statement to be evaluated as a string.
        :return: True if the statement is consistent with the knowledge base, False otherwise,
                 or an explanation of why the evaluation was inconclusive if unable to determine.
        """
        parts = statement_to_evaluate.split()
        all_true = all(self.check_fact(part) for part in parts)
        any_false = any(not self.check_fact(part) for part in parts)

        # Simple reasoning: If a fact is both true and false, return the explanation
        if all_true and any_false:
            return "Inconsistency found within the knowledge base."

        # If no contradictions, evaluate based on majority or specific logic
        if not all_true and not any_false:
            return False

        return True


# Example usage
if __name__ == "__main__":
    fact_checker = FactChecker()
    fact_checker.add_statement("The Earth is round", True)
    fact_checker.add_statement("Paris is the capital of France", True)

    print(fact_checker.check_fact("The Earth is round"))  # Expected: True
    print(fact_checker.evaluate_reasoning("The Earth is flat and The Earth is round"))  # Expected: "Inconsistency found within the knowledge base."
    print(fact_checker.evaluate_reasoning("Paris is the capital of France and Rome is not the capital"))  # Expected: False

```