Skip to content

Commit

Permalink
Fix OpenTheoryReader's compile errors in light of located_thms
Browse files Browse the repository at this point in the history
  • Loading branch information
mn200 committed Nov 12, 2024
1 parent 6f94f13 commit a05c02a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/opentheory/reader/OpenTheoryReader.sml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ in
fun axiom_in_db ths (h,c) =
from_net base_thms (h,c)
handle HOL_ERR _ =>
fst(snd(Lib.first (fn (_,(th,_)) => eq (h,c) th) (DB.match [] c)))
#1(#2(Lib.first (fn (_,(th,_,_)) => eq (h,c) th) (DB.match [] c)))
handle HOL_ERR _ =>
from_net ths (h,c)
handle HOL_ERR e => let
Expand Down

0 comments on commit a05c02a

Please sign in to comment.