"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-08 02:03:01.452036
"""

```python
from typing import List, Dict
import re


def create_fact_checker(statements: List[str]) -> Callable[[str], bool]:
    """
    Creates a fact-checking function that evaluates statements against known facts.
    
    :param statements: A list of strings representing the statements to be checked.
    :return: A function that takes a statement and returns True if it is fact-checked, False otherwise.
    """

    # Define a sample knowledge base for demonstration purposes
    KNOWLEDGE_BASE = {
        "cat has 4 legs": True,
        "dogs can fly": False,
        "earth revolves around the sun": True,
        "python is a programming language": True,
        "water boils at 100 degrees Celsius": True
    }

    def fact_check(statement: str) -> bool:
        """
        Checks if the given statement is true based on the predefined knowledge base.
        
        :param statement: A string representing the statement to be checked.
        :return: True if the statement is considered a fact, False otherwise.
        """
        # Normalize the input statement
        normalized_statement = re.sub(r'\s+', ' ', statement.lower()).strip()

        # Check against the knowledge base
        return KNOWLEDGE_BASE.get(normalized_statement, False)

    return fact_check


# Example usage

if __name__ == "__main__":
    # Create a fact-checker with some predefined statements
    fact_checker = create_fact_checker([
        "Cat has 4 legs",
        "Dogs can fly",
        "Earth revolves around the sun"
    ])

    # Test the fact checker with various inputs
    test_statements = [
        "A cat has four paws",  # True
        "Dogs can't fly, they run fast",  # Should be considered as a new statement and thus False in our KB
        "The Earth is part of the solar system",  # True based on similar meaning to existing fact
        "Python is not a snake but a programming language"  # True
    ]

    for stmt in test_statements:
        result = fact_checker(stmt)
        print(f'Statement: "{stmt}" -> Fact-Checked: {result}')
```