Skip to content

Commit f2fb3b1

Browse files
committed
Cleanup Initial Predicates Print
1 parent 65736f5 commit f2fb3b1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

solve.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@ def prove(problem: Problem):
5656

5757
print("Initial Predicates:")
5858
for pred in problem.predicates:
59-
print(f" {pred}")
59+
if any(
60+
(deduction.rule_name == "axiom") for deduction in problem.predicates[pred]
61+
):
62+
print(f" {pred}")
6063
print("\nGoals:")
6164
for goal in problem.goals:
6265
print(f" {goal}")

0 commit comments

Comments
 (0)