"""Create reasoning_engine
Generated by Phi-Octopus Eden
2025-11-07 13:56:03.113422
"""

```python
from typing import List, Tuple

class ReasoningEngine:
    """
    A simple reasoning engine that provides basic rule-based inference.
    """

    def __init__(self):
        self.knowledge_base = []

    def add_rule(self, premise: str, conclusion: str) -> None:
        """
        Adds a new rule to the knowledge base.

        Args:
            premise (str): The condition or set of conditions that must be true for the conclusion to hold.
            conclusion (str): The result or consequence if the premise is true.
        """
        self.knowledge_base.append((premise, conclusion))

    def infer(self, facts: List[str]) -> Tuple[bool, List[str]]:
        """
        Infers conclusions from given facts using the knowledge base.

        Args:
            facts (List[str]): A list of known facts to use in inference.

        Returns:
            Tuple[bool, List[str]]: True if a conclusion can be inferred, and the list of concluded facts.
        """
        results = []
        for premise, conclusion in self.knowledge_base:
            # Check if all parts of the premise are in the given facts
            if all(part in facts for part in premise.split()):
                results.append(conclusion)
        return len(results) > 0, results

# Example usage:

reasoning_engine = ReasoningEngine()
reasoning_engine.add_rule("It is raining", "Take an umbrella")
reasoning_engine.add_rule("The ground is wet", "Clean shoes")

weather_facts = ["It is raining"]
household_facts = ["The floor is slippery"]

print(reasoning_engine.infer(weather_facts))  # Expected: (True, ['Take an umbrella'])
print(reasoning_engine.infer(household_facts))  # Expected: (False, [])
```