"""Create fact_checker
Generated by Phi-Octopus Eden
2025-11-06 06:36:06.647984
"""

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

def create_fact_checker() -> callable:
    """
    Creates a fact-checking function that verifies if a given statement matches any of the provided facts.
    
    Returns:
        A callable function that takes two arguments: statement (str) and facts (List[Tuple[str, str]]).
        It returns True if the statement is supported by at least one fact in facts, False otherwise.
        
    Example usage:
        checker = create_fact_checker()
        facts = [("The Earth orbits around the Sun", "astronomy"), 
                 ("Water boils at 100 degrees Celsius", "chemistry")]
        
        print(checker("The Earth revolves around the Sun.", facts))  # True
        print(checker("Fire is an element of water", facts))         # False
    """
    
    def fact_check(statement: str, facts: List[Tuple[str, str]]) -> bool:
        for fact in facts:
            known_fact, _ = fact
            if re.search(r'\b' + re.escape(known_fact) + r'\b', statement, re.IGNORECASE):
                return True
        return False

    return fact_check


if __name__ == "__main__":
    checker = create_fact_checker()
    facts = [("The Earth orbits around the Sun", "astronomy"), 
             ("Water boils at 100 degrees Celsius", "chemistry")]
    
    test_statements = [
        "The Earth revolves around the Sun.", 
        "Fire is an element of water",
        "Plants need sunlight to grow.",
        "The Moon has a diameter larger than that of Earth."
    ]
    
    for statement in test_statements:
        result = checker(statement, facts)
        print(f"Statement: {statement} -> {'Fact-Checked True' if result else 'Not Fact-Checked'}")
```

This code defines a `create_fact_checker` function that returns another function capable of fact-checking. It uses regular expressions to search for exact matches within the provided statements based on pre-defined facts, addressing limited reasoning sophistication by focusing on simple pattern matching.