Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix OT build #1359

Merged
merged 2 commits into from
Dec 3, 2024
Merged

Fix OT build #1359

merged 2 commits into from
Dec 3, 2024

Conversation

binghe
Copy link
Member

@binghe binghe commented Dec 1, 2024

Hi,

This PR fixes the OT building after type annotations on basic lisp theorems added in 409fbbf.

This time I sorted the goals retrieved from hol4-assums.art (generated by opentheory) so that if only the order of theorems changed, the sorted list should remain the same:

val goalsNet = read_article "hol4-assums.art" reader;
val goals_unsorted = Net.listItems goalsNet;
fun term_lt t1 t2 = (Term.compare(t1,t2) = LESS);
fun thm_lt th1 th2 = term_lt (concl th1) (concl th2);
val goals = sort thm_lt goals_unsorted;

As the result, the proofs of these goals are completely reordered, leading to large amount of code changes.

Chun

@mn200
Copy link
Member

mn200 commented Dec 3, 2024

Thanks for this!

@mn200 mn200 merged commit a59afec into HOL-Theorem-Prover:develop Dec 3, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants