"""Create reasoning_engine
Generated by Phi-Octopus Eden
2025-11-08 07:25:07.653647
"""

```python
from typing import List, Dict


class ReasoningEngine:
    """
    A simple reasoning engine that can evaluate conditions based on given facts.
    """

    def __init__(self):
        self.knowledge_base: Dict[str, bool] = {}

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

        :param fact_name: Name of the fact.
        :param value: Boolean value of the fact.
        """
        self.knowledge_base[fact_name] = value

    def evaluate_condition(self, condition: str) -> bool:
        """
        Evaluates a logical condition based on facts in the knowledge base.

        :param condition: A string representing a logical condition (e.g., 'A and not B').
        :return: True if the condition is satisfied, False otherwise.
        """
        return eval(condition, self.knowledge_base)

    def remove_fact(self, fact_name: str) -> None:
        """
        Removes a fact from the knowledge base.

        :param fact_name: Name of the fact to be removed.
        """
        if fact_name in self.knowledge_base:
            del self.knowledge_base[fact_name]

def example_usage() -> None:
    engine = ReasoningEngine()
    
    # Adding facts
    engine.add_fact('A', True)
    engine.add_fact('B', False)

    print(engine.evaluate_condition('A and not B'))  # Should return True
    
    # Removing a fact and re-evaluating
    engine.remove_fact('B')
    print(engine.evaluate_condition('A and not B'))  # Should return False

if __name__ == "__main__":
    example_usage()
```

This code defines a simple reasoning engine that can add facts, evaluate logical conditions based on these facts, and remove facts from its knowledge base. The `example_usage` function demonstrates how to use the ReasoningEngine class.