Skip to content

Commit

Permalink
Support also Coq 8.17 (besides Coq 8.18)
Browse files Browse the repository at this point in the history
  • Loading branch information
h0nzZik committed Jan 22, 2024
1 parent 7c11a29 commit 1fba3e5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build-and-profile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

- name: Build
run: nix develop '.#minuska' --command ./build-and-profile.sh

- name: CoqDoc
run: nix develop '.#minuska' --command make -C minuska/ html

Expand All @@ -45,6 +45,9 @@ jobs:
with:
path: 'minuska/html'

- name: 'Build with Coq 8.17'
run: nix build -L '.#minuska-coq_8_17'

# Deployment job
deploy:
environment:
Expand Down
1 change: 0 additions & 1 deletion minuska/theories/benchmarking_in_coq.v
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ Time Compute ("bench: imp-count-to(5)", (imp.interp_program_count_to 1000 5)).
Time Compute ("bench: imp-count-to(6)", (imp.interp_program_count_to 1000 6)).
Time Compute ("bench: imp-count-to(7)", (imp.interp_program_count_to 1000 7)).


Time Compute (("bench: unary-fact(1)"),((unary_nat.interp_fact 5000 1).1)).
Time Compute (("bench: unary-fact(2)"),((unary_nat.interp_fact 5000 2).1)).
Time Compute (("bench: unary-fact(3)"),((unary_nat.interp_fact 5000 3).1)).
Expand Down
4 changes: 2 additions & 2 deletions minuska/theories/try_match.v
Original file line number Diff line number Diff line change
Expand Up @@ -1374,7 +1374,7 @@ Next Obligation.
inversion Hy.
}
{
symmetry. assumption.
ltac1:(congruence).
}
}
}
Expand Down Expand Up @@ -1482,7 +1482,7 @@ Next Obligation.
rewrite lookup_insert_ne in Hy.
rewrite lookup_empty in Hy.
{ inversion Hy. }
{ symmetry. assumption. }
{ ltac1:(congruence). }
}
}
Qed.
Expand Down

0 comments on commit 1fba3e5

Please sign in to comment.