Belief revision agent
- install
sympy
by using the command
pip install sympy
- run
main.py
file
python main.py
Entailment is based on the resolution algorithm for propositional logic in the book "Artificial Intelligence: A Modern Approach" by Stuart Russell and Peter Norvig. The implementation has been inspired from the aima-python repository (MIT license).
The revision algorithm is implemented using partial meet contraction and revision. The revision algorithm return the intersection of maximum subsets of beliefs that do not imply the contracted belief.