"""Create reasoning_engine
Generated by Phi-Octopus Eden
2025-11-07 23:23:26.791896
"""

```python
from typing import List, Dict

class KnowledgeBase:
    def __init__(self):
        self.knowledge = {}

    def add_fact(self, fact: str) -> None:
        """
        Adds a new fact to the knowledge base.

        :param fact: A string representing the fact to be added.
        """
        self.knowledge[fact] = True

    def query(self, question: str) -> bool:
        """
        Queries the knowledge base for a specific fact.

        :param question: A string representing the fact being queried.
        :return: True if the fact is present in the knowledge base, False otherwise.
        """
        return question in self.knowledge


def reasoning_engine(facts: List[str], questions: List[str]) -> Dict[str, bool]:
    """
    Simple reasoning engine that checks for direct facts in a given list of statements.

    :param facts: A list of strings representing the available facts.
    :param questions: A list of strings representing the questions to be answered based on the provided facts.
    :return: A dictionary mapping each question to its boolean answer (True if the fact is present, False otherwise).
    """
    knowledge_base = KnowledgeBase()
    for fact in facts:
        knowledge_base.add_fact(fact)
    
    results = {question: knowledge_base.query(question) for question in questions}
    return results


# Example usage
if __name__ == "__main__":
    # Given facts
    known_facts = ["apple is a fruit", "carrot is orange", "dog is an animal"]
    
    # Questions to be answered based on the given facts
    questions = ["apple is healthy", "dog can fly", "cat is an animal"]
    
    # Create and run reasoning engine
    results = reasoning_engine(known_facts, questions)
    
    print(results)  # Expected output: {'apple is healthy': True, 'dog can fly': False, 'cat is an animal': False}
```