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

Anomaly with universes for reverse_coercion symbol #350

Draft
wants to merge 84 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
160523f
adapt to coq-elpi master after elpi 1.11
gares May 6, 2020
f6ca26e
Merge pull request #69 from math-comp/coq-master+elpi.11
gares May 7, 2020
b8d86c5
Add Zulip badge
gares May 7, 2020
1bf24d4
fix makefile not to compile structures 3 times
gares May 18, 2020
5a0c93b
port to coq-elpi 1.4
gares May 18, 2020
31289c8
hot fix for Coq CI
gares May 19, 2020
2ef6919
Revert "hot fix for Coq CI"
gares May 19, 2020
7b2c46c
Revert "fix makefile not to compile structures 3 times"
gares May 19, 2020
9c52bdf
Merge branch 'master' into coq-master
gares May 19, 2020
7852848
Merge branch 'coq-elpi-1.4' into coq-master
gares May 19, 2020
1ac3450
Merge tag 'v0.9.1' into coq-master-0.9.1
gares Jun 3, 2020
0ca3e58
run CI on coq-master
gares Jun 3, 2020
df4a8ee
opam file for coq-master should not be picky about versions
gares Jun 3, 2020
d450025
Merge pull request #76 from math-comp/coq-master-0.9.1
gares Jun 3, 2020
6089de4
Merge tag 'v0.10.0' into coq-master
gares Aug 25, 2020
1b62478
Merge branch 'master' into coq-master+coq-elpi-1.7.0+elpi-1.12
gares Nov 26, 2020
dc171e0
Merge pull request #126 from math-comp/coq-master+coq-elpi-1.7.0+elpi…
gares Nov 26, 2020
617924d
adapt to coq/coq#13958
gares Mar 24, 2021
5e9a0bd
Merge pull request #190 from gares/coq-master
gares Mar 30, 2021
8f76b3c
Merge branch 'master' into coq-master+1.1.0
gares Apr 14, 2021
e87ca3f
fixup
gares Apr 14, 2021
e433ce0
Merge pull request #226 from math-comp/coq-master+1.1.0
gares Apr 15, 2021
a458ff1
Merge branch 'master' into coq-master
gares Jun 14, 2021
bd589b6
unqualify require in example used by the platform to ease smoke-test
gares Jun 14, 2021
5a3ec15
the Arguments line now prints original names with Print/About
herbelin Jul 6, 2021
9494d21
Merge branch 'master' into coq-master
gares Jul 8, 2021
5f96451
Merge pull request #260 from herbelin/master+adapt-coq-pr14596-show-a…
gares Jul 14, 2021
e013a5e
Merge branch 'master' into coq-master+elpi-1.13.6
gares Jul 22, 2021
b137c4c
Merge branch 'master' into coq-master+elpi-1.13.6
gares Jul 22, 2021
c2d56db
Merge branch 'master' into coq-master+elpi-1.13.6
gares Jul 23, 2021
d3896f8
Merge pull request #261 from math-comp/coq-master+elpi-1.13.6
gares Jul 23, 2021
cbb3df1
HB arguments are raw
gares Apr 27, 2022
b24760c
Merge branch 'master' into bump-elpi
gares Apr 28, 2022
379dc28
compat with coq-elpi 1.14
gares Apr 7, 2022
58f603a
Merge pull request #293 from gares/bump-elpi
gares Apr 28, 2022
873c18f
adapt to coq/coq#15693
gares Feb 23, 2022
4f6c4c5
Merge pull request #289 from gares/reverse-coercions
gares May 4, 2022
edf00f2
Merge branch 'master' into coq-master
gares May 11, 2022
3975c18
Merge branch 'master' into coq-master
gares Jul 24, 2022
3fc5244
fix tes
gares Jul 24, 2022
5873e54
fixup
gares Jul 24, 2022
886f8d4
Update tests/about.v.out
gares Jul 25, 2022
ccf9db1
Merge pull request #300 from math-comp/coq-master-1.15.2
gares Jul 25, 2022
e54b6d8
Avoid memory increase in hulk.vo
SkySkimmer Feb 22, 2023
fe4d396
Merge pull request #341 from SkySkimmer/hulk
gares Feb 22, 2023
40ceaed
Update Changelog.md
gares Jul 27, 2022
5a6ded8
Update interleave_context.v
gares Jul 27, 2022
b588511
Fix typo in HB.locate usage message
proux01 Aug 3, 2022
ed1f58b
Remove outdated Coq version tests now that we require 8.15
proux01 Aug 3, 2022
1f28393
Cleanup after dropping Coq < 8.15
proux01 Aug 5, 2022
9a84d19
Fix typo in about
proux01 Aug 5, 2022
2bb77cf
Print shortest names in HB.about and HB.graph
proux01 Aug 5, 2022
a1b507e
Add merge sort in stdpp
proux01 Aug 4, 2022
d2716c7
Export a few functions from about that will be used in paths
proux01 Aug 5, 2022
fefc469
Add hb.howto
proux01 Aug 3, 2022
7240a67
Sort output by lexicographic order
proux01 Aug 5, 2022
d5be509
Accept both term and string input
proux01 Aug 5, 2022
e6f7114
Make first argument optional
proux01 Aug 5, 2022
7edb217
First argument can be another structure
proux01 Aug 5, 2022
e51de32
Remove solutions that are identical up to permutation
proux01 Aug 6, 2022
4bf5380
Automatically increase search depth when nothing found
proux01 Aug 6, 2022
5b2007f
Mention HB.howto in README
proux01 Aug 19, 2022
381b8ef
[CI] Updat Nix toolbox
proux01 Aug 19, 2022
9845cb3
HB.pack was asserting the key is a type
gares Feb 23, 2022
c902e73
test
gares Aug 27, 2022
7f0954c
changelog
gares Aug 27, 2022
7794713
fix test
gares Aug 27, 2022
cfd9133
fix loc printing
gares Aug 27, 2022
6daca05
fix param printing
gares Aug 27, 2022
44f0623
quick fix for reversible coercions
gares Aug 27, 2022
99b6435
fix for pp HB.pack
gares Aug 27, 2022
79c4bba
Support grefclass
proux01 Aug 27, 2022
ad8d981
Typo in URL
proux01 Aug 31, 2022
f9984cc
Update Changelog.md
CohenCyril Sep 16, 2022
b0da12f
Update README.md
gares Sep 27, 2022
edcb74a
Update Changelog.md
CohenCyril Sep 26, 2022
8310bda
Update nix & opam
CohenCyril Sep 28, 2022
148ec1a
Update Changelog.md
CohenCyril Sep 29, 2022
9d85247
Update Changelog.md
gares Nov 4, 2022
bea2350
remove a wrong quote character
ybertot Dec 14, 2022
e477707
Fix a universe issue with rev_coerce
proux01 Apr 9, 2023
1b7b10b
fix nix-shell
CohenCyril Apr 18, 2023
aaaecd4
anomaly
CohenCyril Apr 18, 2023
ec9033d
adding examples/cat/cat.v to test-suite
CohenCyril Apr 18, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 63 additions & 8 deletions .github/workflows/nix-action-coq-8.15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ jobs:
mathcomp-analysis:
needs:
- coq
- mathcomp-classical
- hierarchy-builder
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -176,18 +177,10 @@ jobs:
name: 'Building/fetching previous CI target: coq'
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.15"
--argstr job "coq"
- if: steps.stepCheck.outputs.status == 'built'
name: 'Building/fetching previous CI target: mathcomp-ssreflect'
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.15"
--argstr job "mathcomp-ssreflect"
- if: steps.stepCheck.outputs.status == 'built'
name: 'Building/fetching previous CI target: mathcomp-field'
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.15"
--argstr job "mathcomp-field"
- if: steps.stepCheck.outputs.status == 'built'
name: 'Building/fetching previous CI target: mathcomp-finmap'
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.15"
--argstr job "mathcomp-finmap"
- if: steps.stepCheck.outputs.status == 'built'
name: 'Building/fetching previous CI target: mathcomp-bigenough'
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.15"
Expand All @@ -196,6 +189,10 @@ jobs:
name: 'Building/fetching previous CI target: mathcomp-real-closed'
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.15"
--argstr job "mathcomp-real-closed"
- if: steps.stepCheck.outputs.status == 'built'
name: 'Building/fetching previous CI target: mathcomp-classical'
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.15"
--argstr job "mathcomp-classical"
- if: steps.stepCheck.outputs.status == 'built'
name: 'Building/fetching previous CI target: hierarchy-builder'
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.15"
Expand All @@ -204,6 +201,64 @@ jobs:
name: Building/fetching current CI target
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.15"
--argstr job "mathcomp-analysis"
mathcomp-classical:
needs:
- coq
- hierarchy-builder
runs-on: ubuntu-latest
steps:
- name: Determine which commit to test
run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"tested_commit=${{\
\ github.sha }}\" >> $GITHUB_ENV\nelse\n merge_commit=$(git ls-remote ${{\
\ github.event.repository.html_url }} refs/pull/${{ github.event.number }}/merge\
\ | cut -f1)\n if [ -z \"$merge_commit\" ]; then\n echo \"tested_commit=${{\
\ github.event.pull_request.head.sha }}\" >> $GITHUB_ENV\n else\n echo\
\ \"tested_commit=$merge_commit\" >> $GITHUB_ENV\n fi\nfi\n"
- name: Git checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: ${{ env.tested_commit }}
- name: Cachix install
uses: cachix/install-nix-action@v16
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup math-comp
uses: cachix/cachix-action@v10
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, coq-community
name: math-comp
- id: stepCheck
name: Checking presence of CI target mathcomp-classical
run: "nb_dry_run=$(NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr\
\ bundle \"coq-8.15\" --argstr job \"mathcomp-classical\" \\\n --dry-run\
\ 2>&1 > /dev/null)\necho $nb_dry_run\necho ::set-output name=status::$(echo\
\ $nb_dry_run | grep \"built:\" | sed \"s/.*/built/\")\n"
- if: steps.stepCheck.outputs.status == 'built'
name: 'Building/fetching previous CI target: coq'
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.15"
--argstr job "coq"
- if: steps.stepCheck.outputs.status == 'built'
name: 'Building/fetching previous CI target: mathcomp-ssreflect'
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.15"
--argstr job "mathcomp-ssreflect"
- if: steps.stepCheck.outputs.status == 'built'
name: 'Building/fetching previous CI target: mathcomp-algebra'
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.15"
--argstr job "mathcomp-algebra"
- if: steps.stepCheck.outputs.status == 'built'
name: 'Building/fetching previous CI target: mathcomp-finmap'
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.15"
--argstr job "mathcomp-finmap"
- if: steps.stepCheck.outputs.status == 'built'
name: 'Building/fetching previous CI target: hierarchy-builder'
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.15"
--argstr job "hierarchy-builder"
- if: steps.stepCheck.outputs.status == 'built'
name: Building/fetching current CI target
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.15"
--argstr job "mathcomp-classical"
mathcomp-single:
needs:
- coq
Expand Down
61 changes: 37 additions & 24 deletions .github/workflows/nix-action-coq-8.16.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ jobs:
name: Building/fetching current CI target
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.16"
--argstr job "coq"
coq-elpi:
graph-theory:
needs:
- coq
- hierarchy-builder
runs-on: ubuntu-latest
steps:
- name: Determine which commit to test
Expand All @@ -63,23 +64,34 @@ jobs:
extraPullNames: coq, coq-community
name: math-comp
- id: stepCheck
name: Checking presence of CI target coq-elpi
name: Checking presence of CI target graph-theory
run: "nb_dry_run=$(NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr\
\ bundle \"coq-8.16\" --argstr job \"coq-elpi\" \\\n --dry-run 2>&1 > /dev/null)\n\
echo $nb_dry_run\necho ::set-output name=status::$(echo $nb_dry_run | grep\
\ \"built:\" | sed \"s/.*/built/\")\n"
\ bundle \"coq-8.16\" --argstr job \"graph-theory\" \\\n --dry-run 2>&1\
\ > /dev/null)\necho $nb_dry_run\necho ::set-output name=status::$(echo $nb_dry_run\
\ | grep \"built:\" | sed \"s/.*/built/\")\n"
- if: steps.stepCheck.outputs.status == 'built'
name: 'Building/fetching previous CI target: coq'
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.16"
--argstr job "coq"
- if: steps.stepCheck.outputs.status == 'built'
name: 'Building/fetching previous CI target: mathcomp-algebra'
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.16"
--argstr job "mathcomp-algebra"
- if: steps.stepCheck.outputs.status == 'built'
name: 'Building/fetching previous CI target: mathcomp-fingroup'
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.16"
--argstr job "mathcomp-fingroup"
- if: steps.stepCheck.outputs.status == 'built'
name: 'Building/fetching previous CI target: hierarchy-builder'
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.16"
--argstr job "hierarchy-builder"
- if: steps.stepCheck.outputs.status == 'built'
name: Building/fetching current CI target
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.16"
--argstr job "coq-elpi"
--argstr job "graph-theory"
hierarchy-builder:
needs:
- coq
- coq-elpi
runs-on: ubuntu-latest
steps:
- name: Determine which commit to test
Expand Down Expand Up @@ -122,10 +134,9 @@ jobs:
name: Building/fetching current CI target
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.16"
--argstr job "hierarchy-builder"
mathcomp-analysis:
mathcomp:
needs:
- coq
- hierarchy-builder
runs-on: ubuntu-latest
steps:
- name: Determine which commit to test
Expand All @@ -151,11 +162,11 @@ jobs:
extraPullNames: coq, coq-community
name: math-comp
- id: stepCheck
name: Checking presence of CI target mathcomp-analysis
name: Checking presence of CI target mathcomp
run: "nb_dry_run=$(NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link \\\n --argstr\
\ bundle \"coq-8.16\" --argstr job \"mathcomp-analysis\" \\\n --dry-run\
\ 2>&1 > /dev/null)\necho $nb_dry_run\necho ::set-output name=status::$(echo\
\ $nb_dry_run | grep \"built:\" | sed \"s/.*/built/\")\n"
\ bundle \"coq-8.16\" --argstr job \"mathcomp\" \\\n --dry-run 2>&1 > /dev/null)\n\
echo $nb_dry_run\necho ::set-output name=status::$(echo $nb_dry_run | grep\
\ \"built:\" | sed \"s/.*/built/\")\n"
- if: steps.stepCheck.outputs.status == 'built'
name: 'Building/fetching previous CI target: coq'
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.16"
Expand All @@ -165,29 +176,32 @@ jobs:
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.16"
--argstr job "mathcomp-ssreflect"
- if: steps.stepCheck.outputs.status == 'built'
name: 'Building/fetching previous CI target: mathcomp-field'
name: 'Building/fetching previous CI target: mathcomp-fingroup'
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.16"
--argstr job "mathcomp-field"
--argstr job "mathcomp-fingroup"
- if: steps.stepCheck.outputs.status == 'built'
name: 'Building/fetching previous CI target: mathcomp-finmap'
name: 'Building/fetching previous CI target: mathcomp-algebra'
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.16"
--argstr job "mathcomp-finmap"
--argstr job "mathcomp-algebra"
- if: steps.stepCheck.outputs.status == 'built'
name: 'Building/fetching previous CI target: mathcomp-real-closed'
name: 'Building/fetching previous CI target: mathcomp-solvable'
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.16"
--argstr job "mathcomp-real-closed"
--argstr job "mathcomp-solvable"
- if: steps.stepCheck.outputs.status == 'built'
name: 'Building/fetching previous CI target: hierarchy-builder'
name: 'Building/fetching previous CI target: mathcomp-field'
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.16"
--argstr job "hierarchy-builder"
--argstr job "mathcomp-field"
- if: steps.stepCheck.outputs.status == 'built'
name: 'Building/fetching previous CI target: mathcomp-character'
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.16"
--argstr job "mathcomp-character"
- if: steps.stepCheck.outputs.status == 'built'
name: Building/fetching current CI target
run: NIXPKGS_ALLOW_UNFREE=1 nix-build --no-out-link --argstr bundle "coq-8.16"
--argstr job "mathcomp-analysis"
--argstr job "mathcomp"
mathcomp-single:
needs:
- coq
- coq-elpi
- hierarchy-builder
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -238,7 +252,6 @@ jobs:
mathcomp-single-planB-src:
needs:
- coq
- coq-elpi
- hierarchy-builder
runs-on: ubuntu-latest
steps:
Expand Down
Loading