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

PR for branch legacy #150

Draft
wants to merge 225 commits into
base: legacy
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
225 commits
Select commit Hold shift + click to select a range
57d10eb
Merge pull request #140 from coq-community/drop-8.13
palmskog Dec 21, 2022
028142b
re-structuring proof scripts in Ackermann sub-directory
Casteran Dec 28, 2022
cefd397
documentation on FOL (draft)
Casteran Dec 27, 2022
3ba306c
re-structuring proof scripts in Ackermann sub-directory
Casteran Dec 28, 2022
af3978d
re-structuring proof scripts in Ackermann sub-directory
Casteran Dec 29, 2022
79a40f4
re-structured proof scripts in Ackermann/codeSubTerm
Casteran Dec 30, 2022
cbfe8be
re-structuring proof scripts in Ackermann/codeSubFormula
Casteran Jan 2, 2023
251bdbb
re-structuring proof scripts in Ackermann/codeSubFormula
Casteran Jan 2, 2023
18d24c2
re-structuring proof scripts in Ackermann/codeSubFormula
Casteran Jan 9, 2023
6beb07a
re-structuring proof scripts in Ackermann/codeSubFormula
Casteran Jan 9, 2023
496a7af
re-structuring proof scripts in Ackermann/codeSubFormula
Casteran Jan 13, 2023
da87a86
re-structured proof scripts in Ackermann/codeSubFormula
Casteran Jan 15, 2023
9ad68d7
missing space
Casteran Jan 16, 2023
49a7d4d
re-structured proof scripts in Ackermann/model
Casteran Jan 17, 2023
e49de6f
re-structured proof scripts in Ackermann/subAll
Casteran Jan 22, 2023
9767bcd
re-structuring proof scripts in Ackermann/subProp
Casteran Jan 26, 2023
58e5b8a
re-structuring proof scripts in Ackermann/subProp
Casteran Jan 27, 2023
0ff656e
re-structuring proof scripts in Ackermann/subProp
Casteran Jan 30, 2023
b9ca3fd
re-structured proof scripts in theories/ordinals/Ackermann
Casteran Jan 31, 2023
4d506dd
re-structured proof scripts of fixPoint, goedel1 and rosser
Casteran Feb 6, 2023
78c3b78
re-structured proof scripts of Russel's legacy
Casteran Feb 7, 2023
c2fd6d3
fix an inconsistent section numbering
Casteran Feb 16, 2023
20e9edb
small correction in latex document
Casteran Feb 16, 2023
3541d4e
small correction in latex document
Casteran Feb 20, 2023
fdc4eba
Implicits (#143)
Casteran Feb 26, 2023
71eda62
Merge branch 'master' of https://github.com/coq-community/hydra-battles
Casteran Feb 26, 2023
cc2934a
minor changes
Casteran Feb 26, 2023
6691875
First experiments on Fol notations
Casteran Feb 27, 2023
7b7ede5
First experiments on Fol notations
Casteran Feb 28, 2023
ddf7092
First experiments on Fol notations
Casteran Mar 2, 2023
887e94c
deprecate no_dup (already in stdlib)
Casteran Mar 10, 2023
e758312
deprecate no_dup (already in stdlib)
Casteran Mar 10, 2023
57aec9c
deprecate no_dup (already in stdlib)
Casteran Mar 10, 2023
890db49
deprecate list_remove (already in stdlib)
Casteran Mar 11, 2023
e4def44
deprecate list_remove (already in stdlib)
Casteran Mar 11, 2023
2755c21
remove elimtype (to be deprecated)
Casteran Mar 11, 2023
9ea0ef2
Fix bullets (#144)
Casteran Mar 16, 2023
8668d91
simplify use of arity function
Casteran Mar 17, 2023
88e7d7c
simplify use of arity function
Casteran Mar 18, 2023
496b72f
first attempt to simplify FOL notations
Casteran Mar 20, 2023
53f26b5
first attempt to simplify FOL notations
Casteran Mar 20, 2023
8011770
first attempt to simplify FOL notations
Casteran Mar 20, 2023
bce156f
first attempt to simplify FOL notations
Casteran Mar 21, 2023
7da156e
first attempt to simplify FOL notations
Casteran Mar 21, 2023
12bde62
first attempt to simplify FOL notations
Casteran Mar 22, 2023
763041d
first attempt to simplify FOL notations
Casteran Mar 22, 2023
aede9f4
three notation scoped for first-order formulas
Casteran Mar 23, 2023
1054d98
three notation scoped for first-order formulas
Casteran Mar 23, 2023
30c6a87
three notation scoped for first-order formulas
Casteran Mar 24, 2023
7c762a3
new notations for FOL-formulas (draft)
Casteran Mar 24, 2023
0994034
new notations for FOL-formulas (draft)
Casteran Mar 27, 2023
ce09483
new notations for FOL-formulas (draft)
Casteran Mar 28, 2023
77412df
new notations for FOL-formulas (draft)
Casteran Mar 29, 2023
0359c0d
new notations for FOL-formulas (draft)
Casteran Mar 29, 2023
bb5e5cb
new notations for FOL-formulas (draft)
Casteran Mar 29, 2023
27509b1
replace ListExt lemmas with StdLib's
Casteran Mar 30, 2023
d7175ab
use LibHyps with decompose record tactic
Casteran Mar 31, 2023
2d211e0
new notations for FOL-formulas (draft)
Casteran Mar 31, 2023
e56e72a
correction of a typo
Casteran Apr 1, 2023
38aecaf
new notations for FOL-formulas (draft)
Casteran Apr 2, 2023
2cde72d
complete a snippet about the iota operator
Casteran Apr 2, 2023
f5252b2
new notations for FOL-formulas (draft)
Casteran Apr 3, 2023
1104789
new notations for FOL-formulas (draft)
Casteran Apr 5, 2023
b893a00
new notations for FOL-formulas (draft)
Casteran Apr 8, 2023
f2bc799
new notations for FOL-formulas (draft)
Casteran Apr 8, 2023
610997a
add some coqdoc (to LNN2LNT.v and fol.v)
Casteran Apr 11, 2023
65a6dfa
fix a bug in Euclidean_Chains.v
Casteran Apr 11, 2023
b640e25
remove too long computations from Euclidean_Chains.v
Casteran Apr 11, 2023
e1e3a4e
new notations for FOL-formulas (draft)
Casteran Apr 13, 2023
20b5e26
new notations for FOL-formulas (draft)
Casteran Apr 13, 2023
62d6f7b
new notations for FOL-formulas (draft)
Casteran Apr 13, 2023
6b037c7
coqdoc comments added in LNT.v
Casteran Apr 13, 2023
1e6f2ff
coqdoc comments added to LNN.v
Casteran Apr 13, 2023
d58c070
fix a minor error
Casteran Apr 13, 2023
96de080
coqdoc comments added in Languages.v and Deduction.v
Casteran Apr 14, 2023
df48bb8
Update Coq Nix Toolbox.
Zimmi48 Apr 14, 2023
0259000
Merge branch 'update-toolbox' into threeScopes
Casteran Apr 14, 2023
62ab1fc
Update Coq Nix Toolbox. (#149)
Zimmi48 Apr 15, 2023
4f6cdf1
new notations for FOL-formulas (draft)
Casteran Apr 17, 2023
7e567af
use new notations in NNtheory.v
Casteran Apr 18, 2023
7598b38
use new notations in Ackermann/*.v
Casteran Apr 18, 2023
e2f1091
use new notations in Ackermann/*.v
Casteran Apr 19, 2023
8313740
use new notations in Ackermann/*.v
Casteran Apr 20, 2023
5591829
use new notations in Ackermann/*.v
Casteran Apr 21, 2023
6f07df9
use new notations in Ackermann/*.v
Casteran Apr 21, 2023
6014905
Examples of new notations (doc / MoreAck)
Casteran Apr 27, 2023
ada158d
Examples of new notations (doc / MoreAck)
Casteran Apr 28, 2023
4332a54
Merge pull request #147 from coq-community/threeScopes
Casteran May 8, 2023
f3f3a8a
fix a few typos
Casteran May 9, 2023
a03dbf0
fix a few typos
Casteran May 9, 2023
bd0d163
work on chapter 12
Casteran May 12, 2023
9b2112c
fix a snippet reference
Casteran May 12, 2023
1de53ba
minor correction
Casteran May 15, 2023
bf0554c
change notations of fol-variables
Casteran May 21, 2023
c318de3
redaction of chapter 12 (in progress)
Casteran May 23, 2023
a86700a
Remove Export FolNotations
Casteran May 26, 2023
3032210
remove Export of NNnotations.
Casteran May 26, 2023
082ef55
Removed useless Exports
Casteran May 26, 2023
cce78c5
redaction of chapter 12 (in progress)
Casteran Jun 5, 2023
60939c2
more abbreviations
Casteran Jun 7, 2023
f181a00
more abbreviations
Casteran Jun 7, 2023
e3541ad
more abbreviations
Casteran Jun 8, 2023
d352f12
more abbreviations
Casteran Jun 8, 2023
e88f8f2
use new notations in Ackermann/*.v
Casteran Jun 10, 2023
f98f6fd
fix a deprecation warning (revert dependent)
Casteran Jun 12, 2023
10d9fd8
Merge branch 'master' into betterNotations
Casteran Jun 12, 2023
164bc79
use new notations in Ackermann/*.v
Casteran Jun 12, 2023
3aadfa8
Restrict to MathComp 1 to fix CI.
Zimmi48 Jun 13, 2023
e9d1df3
Merge pull request #152 from coq-community/test-preventing-mathcomp2
Zimmi48 Jun 13, 2023
d9fbe1b
fix a deprecation warning (revert dependent)
Casteran Jun 12, 2023
4ed7213
Merge branch 'master' into betterNotations
Casteran Jun 13, 2023
7c86c06
Merge pull request #151 from coq-community/betterNotations
Casteran Jun 13, 2023
59a3b5e
small changes in documentation
Casteran Jun 15, 2023
b387b6c
small changes in documentation
Casteran Jun 16, 2023
0f2762d
fix a latex error
Casteran Jun 20, 2023
a165dec
small changes in documentation
Casteran Jun 20, 2023
77014db
small changes in documentation
Casteran Jun 21, 2023
2c92677
small changes in documentation
Casteran Jun 22, 2023
43c4abe
try to fix a CI-issue
Casteran Jun 22, 2023
acc5d18
Update Coq Nix Toolbox and Coq version in Nix.
Zimmi48 Jun 22, 2023
c468080
Merge pull request #154 from coq-community/update-coq-nix-toolbox
Zimmi48 Jun 22, 2023
67dfbe6
small changes in documentation
Casteran Jun 26, 2023
601812f
minor corrections
Casteran Jun 28, 2023
2ec2e4d
more documentation
Casteran Jun 30, 2023
0fa4e60
more documentation on FOL
Casteran Jul 2, 2023
13ed6c0
improve chapter-fol.tex
Casteran Jul 3, 2023
4a89c93
use latex package turnstile
Casteran Jul 7, 2023
272d354
work on chapter-natural-deduction
Casteran Jul 11, 2023
e529353
add the turnstile latex package
Casteran Jul 11, 2023
ab185f8
fix a case error (typically MacOS)
Casteran Jul 11, 2023
a73fc1e
work on chapter-natural-deduction
Casteran Jul 12, 2023
a1cc364
work on chapter-natural-deduction
Casteran Jul 12, 2023
e142cf9
work on chapter-natural-deduction
Casteran Jul 12, 2023
12c16a3
work on chapter-natural-deduction
Casteran Jul 12, 2023
f9b5428
work on chapter-natural-deduction
Casteran Jul 15, 2023
d374bf9
work on chapter-natural-deduction
Casteran Jul 15, 2023
8b32e88
corrections chap 12 and 13
Casteran Jul 18, 2023
34423d1
corrections chap 13
Casteran Jul 30, 2023
3bce854
compatibility coq V.17.1
Casteran Aug 2, 2023
c1a527c
Merge branch 'master' into chapter14
Casteran Aug 2, 2023
d0e4ec2
corrections chap 10
Casteran Aug 10, 2023
eb463f5
Simplify a proof in Schutte/AP.v
Columbus240 Aug 18, 2023
2dce2d9
small corrections in the doc
Casteran Aug 18, 2023
89f48b9
Remove `In_full` from Schutte_basics
Columbus240 Aug 19, 2023
5069051
Move an `Arguments` statement to declaring file
Columbus240 Aug 19, 2023
350d847
Remove trailing whitespace in ordinals/Schutte
Columbus240 Aug 19, 2023
d8c46e6
Add coq-zorns-lemma as dependency
Columbus240 Aug 19, 2023
33cc798
Import `EnsemblesImplicit` in Schutte/PartialFun
Columbus240 Aug 19, 2023
6e50bea
Use ZornsLemma for def of Countable sets
Columbus240 Jul 30, 2023
893ba7e
Adopt coq-zorns-lemma.10.2.0
Columbus240 Aug 19, 2023
dc93bd2
Remove `countable` notation. Use `Countable`
Columbus240 Aug 20, 2023
1bdc7e3
Remove `countable_singleton`,use from `ZornsLemma`
Columbus240 Aug 20, 2023
4c976e0
fix several warnings
Casteran Aug 21, 2023
0d5ba08
make goedel1 statement a little more abstract
Casteran Aug 25, 2023
a9a5713
make goedel1 statement a little more abstract
Casteran Aug 27, 2023
6d15771
Merge pull request #157 from coq-community/Dev
Casteran Aug 28, 2023
ad0a0bc
small changes
Casteran Aug 29, 2023
25788bf
partial introduction of a class for language codes
Casteran Aug 31, 2023
8cb2cc5
partial introduction of a class for language codes
Casteran Aug 31, 2023
82d6ed1
partial introduction of a class for language codes
Casteran Aug 31, 2023
1cce799
partial introduction of a class for language codes
Casteran Sep 1, 2023
488f947
partial introduction of a class for language codes
Casteran Sep 4, 2023
1db1fed
more acknowledgements
Casteran Sep 4, 2023
63cba6c
improve the use of implicits (to complete)
Casteran Sep 4, 2023
78436b0
fix an error with coq8.14
Casteran Sep 4, 2023
e362d3c
Define a class Lcode for Goedel encoding of a language
Casteran Sep 5, 2023
8bd332a
Merge pull request #158 from coq-community/CodeClasses
Casteran Sep 5, 2023
2103a59
Change the implicits of the substF function
Casteran Sep 6, 2023
837273d
Merge pull request #160 from coq-community/MoreImplicits
Casteran Sep 6, 2023
35cbab2
Fix a few Hint locality attributes
Casteran Sep 12, 2023
7f8cb6d
Add zorns-lemma 10.2.0 to hydra-battle's dependencies.
Zimmi48 Sep 12, 2023
5eae0dc
Merge pull request #156 from coq-community/TryZornsLemma
Casteran Sep 13, 2023
fc3d881
fix a few Hint locality attributes
Casteran Sep 13, 2023
8c3ea3c
Update doc (#161)
Casteran Sep 17, 2023
c4bad12
Tmp (#163)
Casteran Sep 18, 2023
e2b05f2
Update meta.yml and README.md (#162)
Casteran Sep 19, 2023
d275055
Multiple substs (#164)
Casteran Oct 11, 2023
cd334e4
Goedel doc fixes (#165)
Zimmi48 Oct 13, 2023
e0e8594
Nat2 term coercion (#166)
Casteran Oct 17, 2023
6c83ff4
isPRrel now a class
Casteran Oct 18, 2023
1303f66
Moved two lemmas from PRrepresentable to Prelude.MoreDecidable
Casteran Oct 19, 2023
b21a262
Minor changes
Casteran Oct 19, 2023
aada35c
Starting to improve the presentation of primitive recursive functions
Casteran Oct 26, 2023
e373f81
New scopes (#167)
Casteran Oct 27, 2023
14194da
More experiments on PR notations
Casteran Oct 28, 2023
4c30545
Minor changes (mainly notations)
Casteran Nov 2, 2023
05fe2a3
Fix useless dependencies
Casteran Nov 8, 2023
44c274c
Remove the notation for empty vectors of PR functions
Casteran Nov 9, 2023
274a3ec
Replaced misc.inj_right_pair2 with stdlib's Eqdep_dec.inj_pair2_eq_dec
Casteran Nov 9, 2023
2bb6d3f
Corrections to chapter 11 (coq and doc)
Casteran Nov 15, 2023
8da2143
Fix a latex error
Casteran Nov 15, 2023
37d6614
Corrections to chapter 11 (primitive recursive functions)
Casteran Nov 17, 2023
e40d386
Changes to chapter 11; Renaming some symbols in Epsilon.E0
Casteran Nov 20, 2023
01cce98
Try to test an issue with Alectryon snippets
Casteran Nov 20, 2023
ed21e44
minor corrections
Casteran Nov 23, 2023
2e46809
Small changes (#169)
Casteran Nov 27, 2023
a0f1149
Complete a remark in Chapter 11 (Alectryon output)
Casteran Nov 29, 2023
b576512
Merge branch 'master' of https://github.com/coq-community/hydra-battles
Casteran Nov 29, 2023
9acc61a
Small correction (doc)
Casteran Dec 4, 2023
5ee6c80
Version for Coq <= 8.17.1 (heavily uses Coq.Sets and Coq.Vector)
Casteran Dec 8, 2023
45e65f5
fix a few warnings
Casteran Jan 3, 2024
b18c03d
remove a bunch of deprecate warnings
Casteran Jan 3, 2024
e8824b2
remove references to Div0
Casteran Jan 3, 2024
9142d8f
fix a bug in the doc
Casteran Jan 3, 2024
e8b4ad8
adjust opam packages and ci for MathComp 1.18 and other changes
palmskog Jan 7, 2024
c27a80b
Merge pull request #170 from coq-community/Fix818Warnings
palmskog Jan 7, 2024
b5753c3
small corrections (#171)
Casteran Jan 8, 2024
c56056c
small corrections
Casteran Jan 9, 2024
df603be
Improve doc (#172)
Casteran Jan 15, 2024
0fbd8ec
Merge branch 'master' of https://github.com/coq-community/hydra-battles
Casteran Jan 15, 2024
51bf7cf
Small corrections in Chapter 3 (#173)
Casteran Jan 23, 2024
14bf0de
Add a coercion from ON to Wf
Casteran Jan 23, 2024
af30acc
Minor corrections
Casteran Jan 24, 2024
11b82b1
minor change
Casteran Jan 26, 2024
c7c44dc
Canon deprecate (#174)
Casteran Jan 26, 2024
a685358
Merge branch 'master' of https://github.com/coq-community/hydra-battles
Casteran Jan 26, 2024
8ecbc95
Projection (#175)
Casteran Jan 28, 2024
6c4e5cc
Merge branch 'master' of https://github.com/coq-community/hydra-battles
Casteran Jan 28, 2024
37876ee
small changes in doc
Casteran Jan 29, 2024
7dfe5eb
Corrections in doc (#177)
Casteran Jan 29, 2024
01456ef
Update doc (#178)
Casteran Feb 7, 2024
82c1b1a
Merge branch 'master' of https://github.com/coq-community/hydra-battles
Casteran Feb 7, 2024
b6ec382
Update doc (#179)
Casteran Feb 12, 2024
a39d739
Merge branch 'master' of https://github.com/coq-community/hydra-battles
Casteran Feb 14, 2024
1c30f04
small corrections
Casteran Feb 19, 2024
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
3 changes: 2 additions & 1 deletion .github/workflows/docker-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ jobs:
strategy:
matrix:
image:
- 'mathcomp/mathcomp-dev:coq-dev'
- 'mathcomp/mathcomp:1.18.0-coq-8.18'
- 'mathcomp/mathcomp:1.17.0-coq-8.17'
- 'mathcomp/mathcomp:1.15.0-coq-8.16'
- 'mathcomp/mathcomp:1.14.0-coq-8.15'
- 'mathcomp/mathcomp:1.13.0-coq-8.14'
Expand Down
170 changes: 120 additions & 50 deletions .github/workflows/nix-action-default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,35 @@ jobs:
needs: []
runs-on: ubuntu-latest
steps:
- name: Determine which commit to initially checkout
run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{\
\ github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha\
\ }}\" >> $GITHUB_ENV\nfi\n"
- name: Git checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ env.target_commit }}
- 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"
\ | cut -f1)\n mergeable=$(git merge --no-commit --no-ff ${{ github.event.pull_request.base.sha\
\ }} > /dev/null 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n\
\ if [ -z \"$merge_commit\" -o \"x$mergeable\" != \"x0\" ]; 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
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ env.tested_commit }}
- name: Cachix install
uses: cachix/install-nix-action@v16
uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup coq-community
uses: cachix/cachix-action@v10
uses: cachix/cachix-action@v12
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, math-comp
Expand All @@ -40,24 +51,35 @@ jobs:
- coq
runs-on: ubuntu-latest
steps:
- name: Determine which commit to initially checkout
run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{\
\ github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha\
\ }}\" >> $GITHUB_ENV\nfi\n"
- name: Git checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ env.target_commit }}
- 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"
\ | cut -f1)\n mergeable=$(git merge --no-commit --no-ff ${{ github.event.pull_request.base.sha\
\ }} > /dev/null 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n\
\ if [ -z \"$merge_commit\" -o \"x$mergeable\" != \"x0\" ]; 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
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ env.tested_commit }}
- name: Cachix install
uses: cachix/install-nix-action@v16
uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup coq-community
uses: cachix/cachix-action@v10
uses: cachix/cachix-action@v12
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, math-comp
Expand Down Expand Up @@ -86,24 +108,35 @@ jobs:
- hydra-battles
runs-on: ubuntu-latest
steps:
- name: Determine which commit to initially checkout
run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{\
\ github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha\
\ }}\" >> $GITHUB_ENV\nfi\n"
- name: Git checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ env.target_commit }}
- 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"
\ | cut -f1)\n mergeable=$(git merge --no-commit --no-ff ${{ github.event.pull_request.base.sha\
\ }} > /dev/null 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n\
\ if [ -z \"$merge_commit\" -o \"x$mergeable\" != \"x0\" ]; 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
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ env.tested_commit }}
- name: Cachix install
uses: cachix/install-nix-action@v16
uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup coq-community
uses: cachix/cachix-action@v10
uses: cachix/cachix-action@v12
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, math-comp
Expand Down Expand Up @@ -141,24 +174,35 @@ jobs:
- coqprime
runs-on: ubuntu-latest
steps:
- name: Determine which commit to initially checkout
run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{\
\ github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha\
\ }}\" >> $GITHUB_ENV\nfi\n"
- name: Git checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ env.target_commit }}
- 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"
\ | cut -f1)\n mergeable=$(git merge --no-commit --no-ff ${{ github.event.pull_request.base.sha\
\ }} > /dev/null 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n\
\ if [ -z \"$merge_commit\" -o \"x$mergeable\" != \"x0\" ]; 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
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ env.tested_commit }}
- name: Cachix install
uses: cachix/install-nix-action@v16
uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup coq-community
uses: cachix/cachix-action@v10
uses: cachix/cachix-action@v12
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, math-comp
Expand Down Expand Up @@ -190,24 +234,35 @@ jobs:
- coq
runs-on: ubuntu-latest
steps:
- name: Determine which commit to initially checkout
run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{\
\ github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha\
\ }}\" >> $GITHUB_ENV\nfi\n"
- name: Git checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ env.target_commit }}
- 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"
\ | cut -f1)\n mergeable=$(git merge --no-commit --no-ff ${{ github.event.pull_request.base.sha\
\ }} > /dev/null 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n\
\ if [ -z \"$merge_commit\" -o \"x$mergeable\" != \"x0\" ]; 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
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ env.tested_commit }}
- name: Cachix install
uses: cachix/install-nix-action@v16
uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup coq-community
uses: cachix/cachix-action@v10
uses: cachix/cachix-action@v12
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, math-comp
Expand Down Expand Up @@ -240,24 +295,35 @@ jobs:
- coqprime
runs-on: ubuntu-latest
steps:
- name: Determine which commit to initially checkout
run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{\
\ github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha\
\ }}\" >> $GITHUB_ENV\nfi\n"
- name: Git checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ env.target_commit }}
- 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"
\ | cut -f1)\n mergeable=$(git merge --no-commit --no-ff ${{ github.event.pull_request.base.sha\
\ }} > /dev/null 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n\
\ if [ -z \"$merge_commit\" -o \"x$mergeable\" != \"x0\" ]; 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
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ env.tested_commit }}
- name: Cachix install
uses: cachix/install-nix-action@v16
uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup coq-community
uses: cachix/cachix-action@v10
uses: cachix/cachix-action@v12
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, math-comp
Expand Down Expand Up @@ -317,35 +383,39 @@ jobs:
- hydra-battles-single
runs-on: ubuntu-latest
steps:
- name: Determine which commit to initially checkout
run: "if [ ${{ github.event_name }} = \"push\" ]; then\n echo \"target_commit=${{\
\ github.sha }}\" >> $GITHUB_ENV\nelse\n echo \"target_commit=${{ github.event.pull_request.head.sha\
\ }}\" >> $GITHUB_ENV\nfi\n"
- name: Git checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ env.target_commit }}
- 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"
\ | cut -f1)\n mergeable=$(git merge --no-commit --no-ff ${{ github.event.pull_request.base.sha\
\ }} > /dev/null 2>&1; echo $?; git merge --abort > /dev/null 2>&1 || true)\n\
\ if [ -z \"$merge_commit\" -o \"x$mergeable\" != \"x0\" ]; 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
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ env.tested_commit }}
- name: Cachix install
uses: cachix/install-nix-action@v14
uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Cachix setup coq
uses: cachix/cachix-action@v10
with:
name: coq
- name: Cachix setup coq-community
uses: cachix/cachix-action@v10
uses: cachix/cachix-action@v12
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: coq, math-comp
name: coq-community
- name: Cachix setup math-comp
uses: cachix/cachix-action@v10
with:
name: math-comp
- name: Retrieve prebuilt vo files
run: |
nix-shell --run "make Makefile.coq"
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ alectryon-html/
.envrc
/theories/ordinals/*/*.tex
/theories/ordinals/*/*.pdf
/theories/goedel/*.pdf
/theories/gaia/*.tex
/theories/gaia/*.pdf
/doc/JFLA2022/Slides/*.png
Expand Down
6 changes: 5 additions & 1 deletion .nix/config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,14 @@

## You can override Coq and other Coq coqPackages
## through the following attribute
coqPackages.coq.override.version = "8.14";
coqPackages.coq.override.version = "8.15";
coqPackages.gaia-hydras.override.version = ../.;
coqPackages.goedel.override.version = ../.;
coqPackages.coqprime.override.version = "master";
coqPackages.zorns-lemma.override.version = builtins.fetchurl {
url = "https://github.com/coq-community/topology/archive/v10.2.0.tar.gz";
sha256 = "1h8fyaafkc0k7i4y9j1zn5rx55pk7n2n105clfzrwl66ws19j7aj";
};

## In some cases, light overrides are not available/enough
## in which case you can use either
Expand Down
2 changes: 1 addition & 1 deletion .nix/coq-nix-toolbox.nix
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"e1aff54cab66816b900f6b1aa29b5b34ce791a6c"
"f72eef6033e0abc9fa06f94fe718d8aa9c0d031a"
3 changes: 2 additions & 1 deletion .nix/coq-overlays/hydra-battles-single/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, mkCoqDerivation, coq, version ? null
, coqprime, equations, gaia, LibHyps, mathcomp-ssreflect, mathcomp-algebra, mathcomp-zify, paramcoq
, coqprime, equations, gaia, LibHyps, mathcomp-ssreflect, mathcomp-algebra, mathcomp-zify, paramcoq, zorns-lemma
, python3Packages, serapi, texlive, withMovies ? true, withTex ? true }:

with lib; mkCoqDerivation rec {
Expand Down Expand Up @@ -51,6 +51,7 @@ with lib; mkCoqDerivation rec {
mathcomp-algebra
mathcomp-zify
paramcoq
zorns-lemma
];

meta = {
Expand Down
37 changes: 37 additions & 0 deletions .nix/coq-overlays/hydra-battles/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{ lib, mkCoqDerivation, coq, equations, LibHyps, zorns-lemma
, version ? null }:
with lib;

mkCoqDerivation {
pname = "hydra-battles";
owner = "coq-community";

release."0.4".sha256 = "1f7pc4w3kir4c9p0fjx5l77401bx12y72nmqxrqs3qqd3iynvqlp";
release."0.5".sha256 = "121pcbn6v59l0c165ha9n00whbddpy11npx2y9cn7g879sfk2nqk";
release."0.6".sha256 = "1dri4sisa7mhclf8w4kw7ixs5zxm8xyjr034r1377p96rdk3jj0j";
releaseRev = (v: "v${v}");

inherit version;
defaultVersion = with versions; switch coq.coq-version [
{ case = range "8.13" "8.15"; out = "0.6"; }
{ case = range "8.11" "8.12"; out = "0.4"; }
] null;

propagatedBuildInputs = [ equations LibHyps zorns-lemma ];

useDune2 = true;

meta = {
description = "Exploration of some properties of Kirby and Paris' hydra battles, with the help of Coq";
longDescription = ''
An exploration of some properties of Kirby and Paris' hydra
battles, with the help of the Coq Proof assistant. This
development includes the study of several representations of
ordinal numbers, and a part of the so-called Ketonen and Solovay
machinery (combinatorial properties of epsilon0).
'';
maintainers = with maintainers; [ siraben Zimmi48 ];
license = licenses.mit;
platforms = platforms.unix;
};
}
Loading
Loading