Skip to content

Commit 15453f6

Browse files
committed
Abduction: fix the bug about the size comparison.
1 parent c3ef4a5 commit 15453f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Abduction/Proof_By_Abduction.ML

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ fun expand_ornode_if_original_goral_is_unproved
121121
val size_of_simped_cnjctr = Term.size_of_term (rm_Trueprop simped_cnjctr_term): int;
122122
val size_of_orig_cnjctr = Term.size_of_term (rm_Trueprop cnjctr_term): int;
123123
in
124-
if size_of_simped_cnjctr > size_of_orig_cnjctr (*orelse simped_cnjctr_term = @{term True}*)
124+
if size_of_simped_cnjctr >= size_of_orig_cnjctr (*orelse simped_cnjctr_term = @{term True}*)
125125
(*orelse rm_Trueprop simped_cnjctr_term = rm_Trueprop lemma_term*)
126126
then [cnjctr]
127127
else [simp, (simped_cnjctr_name, simped_cnjctr_term)](*TODO: not efficient.*)

0 commit comments

Comments
 (0)