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

Fixes for ZCohomology paper #612

Merged
merged 110 commits into from
Oct 29, 2021
Merged
Show file tree
Hide file tree
Changes from 109 commits
Commits
Show all changes
110 commits
Select commit Hold shift + click to select a range
4da7d05
First update
aljungstrom Feb 12, 2020
56a5e0f
Minor fixes
aljungstrom Feb 12, 2020
098153c
Cleanup
aljungstrom Feb 12, 2020
67a450d
Cleanup
aljungstrom Feb 12, 2020
1df167b
fixes
aljungstrom Feb 24, 2020
95d1c5b
fixes1
aljungstrom Feb 24, 2020
abb8a52
Pointed funs change
aljungstrom Feb 25, 2020
d1dae3b
Merge branch 'master' of https://github.com/agda/cubical
aljungstrom Feb 25, 2020
ba4f529
Freudenthal
aljungstrom Mar 25, 2020
6a49b56
remove bool import
aljungstrom Mar 25, 2020
0bf84a7
newline
aljungstrom Mar 25, 2020
fe50520
delete everything @:-)
aljungstrom Mar 25, 2020
6dddf6c
whitespace...
aljungstrom Mar 26, 2020
182c5d6
Update 8-6-1.agda
aljungstrom Mar 26, 2020
1816ffc
testing
aljungstrom Mar 31, 2020
c19b003
Merge https://github.com/aljungstrom/cubical
aljungstrom Mar 31, 2020
de9e441
Merge branch 'master' of https://github.com/agda/cubical
aljungstrom Mar 31, 2020
81c3668
Application
aljungstrom Apr 7, 2020
6fd833f
updated Trunc
aljungstrom Apr 8, 2020
e571a82
updated Trunc
aljungstrom Apr 8, 2020
2726449
move some things into ZCohomology.Properties + comments
aljungstrom Apr 14, 2020
31fe285
move some things into ZCohomology.Properties + comments
aljungstrom Apr 14, 2020
5b99dfa
fix loopspace of K
aljungstrom Apr 20, 2020
a771acb
K-algebra
aljungstrom Apr 20, 2020
4b33a57
K algebra laws done
aljungstrom Apr 21, 2020
971519c
Merge branch 'master' of https://github.com/agda/cubical
aljungstrom Apr 21, 2020
972feaf
smash sphere
aljungstrom Apr 21, 2020
57d9c23
push
aljungstrom Apr 25, 2020
ce9ce2c
smash-assoc
aljungstrom Apr 26, 2020
affd752
Merge https://github.com/agda/cubical into pushout
aljungstrom Apr 26, 2020
dbbf691
K-grousp
aljungstrom May 3, 2020
2babc74
Merge pull request #5 from aljungstrom/cohom-alg
aljungstrom May 3, 2020
fc4b2fe
K-alg
aljungstrom May 3, 2020
b75a597
whitespace etc
aljungstrom May 3, 2020
1efcf09
Merge https://github.com/agda/cubical into cohom-Alg2
aljungstrom May 3, 2020
0401472
merge main
aljungstrom May 3, 2020
d4305ca
minor fixes
aljungstrom May 3, 2020
6ce924f
delete abgroup
aljungstrom May 3, 2020
eaaa440
rename
aljungstrom May 3, 2020
816f6d8
renaming
aljungstrom May 3, 2020
6d89eab
whitespace...
aljungstrom May 3, 2020
ed81a07
Merge branch 'master' of https://github.com/aljungstrom/cubical into …
aljungstrom May 4, 2020
457cd7b
MVunreduced
aljungstrom May 6, 2020
5dcd3c8
MV-almostDone
aljungstrom May 12, 2020
cdeb64d
MV done
aljungstrom May 13, 2020
9633b52
finalbackup
aljungstrom May 19, 2020
3201417
backup before merge
aljungstrom May 26, 2020
ea33bf4
merged
aljungstrom May 26, 2020
3e3ac2a
injectivity
aljungstrom May 31, 2020
5e1a576
cohom1-S1
aljungstrom Jun 1, 2020
39fca67
S1-done
aljungstrom Jun 2, 2020
9cdb1da
basechange-morph
aljungstrom Jun 4, 2020
0d8db96
cohom1Torus-maps+rinv
aljungstrom Jun 7, 2020
c8a15cd
moreTorusStuff
aljungstrom Jun 10, 2020
8da0772
newBranchBackup
aljungstrom Jun 10, 2020
bc62fb7
moreCopatterns
aljungstrom Jun 10, 2020
7a71bd9
coHom-restructuring
aljungstrom Jun 12, 2020
b7bc88c
backup_before_merge
aljungstrom Jun 14, 2020
8fd6b4a
almost done
aljungstrom Jun 16, 2020
e6d7211
mergefixes
aljungstrom Jun 17, 2020
da3234b
private
aljungstrom Jun 17, 2020
5490f4c
emptylines
aljungstrom Jun 17, 2020
0780eee
whitespace:-)
aljungstrom Jun 17, 2020
5fbcf36
backup
aljungstrom Jul 6, 2020
7b467e2
newGroupDef
aljungstrom Jul 9, 2020
a7690b0
Merge https://github.com/agda/cubical into allCohomGroups
aljungstrom Jul 9, 2020
7d815fb
last fixes
aljungstrom Jul 10, 2020
415138d
Merge https://github.com/agda/cubical into allCohomGroups
aljungstrom Jul 10, 2020
af86c97
merge
aljungstrom Jul 10, 2020
7d43c5f
whiteSpaceFiller3
aljungstrom Jul 10, 2020
1eeab49
whiteSpaceFiller4
aljungstrom Jul 10, 2020
3ab3341
fixes
aljungstrom Jul 16, 2020
2d13faf
anders+whitespace
aljungstrom Jul 16, 2020
96f94d2
Merge https://github.com/agda/cubical into allCohomGroups
aljungstrom Jul 16, 2020
1270ab3
Merge https://github.com/agda/cubical into allCohomGroups
aljungstrom Jul 24, 2020
fbf33d1
fixes
aljungstrom Jul 24, 2020
f96e421
h1-sn
aljungstrom Jul 27, 2020
d993058
cleanup
aljungstrom Aug 4, 2020
da2d529
cleanup2
aljungstrom Aug 4, 2020
9a89513
fix merge conflicts
Sep 1, 2020
8612eb5
cleanup
Sep 1, 2020
9a5e8b5
Merge https://github.com/agda/cubical
Sep 4, 2020
a3b35c5
Merge branch 'master' of https://github.com/agda/cubical into HEAD
aljungstrom Sep 29, 2020
702cae2
Merge
aljungstrom Sep 29, 2020
6aaa3a7
Merge https://github.com/agda/cubical into merge
aljungstrom Oct 6, 2020
7d939f3
Merge pull request #7 from aljungstrom/merge
aljungstrom Oct 6, 2020
8f5cce7
Merge https://github.com/agda/cubical
Oct 23, 2020
69d358f
Merge https://github.com/agda/cubical
Oct 26, 2020
7371e84
WIP
felixwellen Feb 22, 2021
0e2daba
Slow type checking problem
felixwellen Mar 12, 2021
7ffce55
stuff
aljungstrom Mar 19, 2021
ec85c2e
incomplete stuff
aljungstrom Mar 29, 2021
6cd11fb
mod finished
aljungstrom Mar 31, 2021
74e7035
shit
aljungstrom Apr 1, 2021
66b2e6d
stuff
aljungstrom Apr 6, 2021
37b54c4
t
aljungstrom Apr 6, 2021
48ac279
stuff
aljungstrom Apr 6, 2021
14cab47
silly
aljungstrom Apr 6, 2021
e60d076
merge
aljungstrom Apr 6, 2021
8e5b6b8
Merge branch 'master' of https://github.com/agda/cubical into clean
aljungstrom Apr 29, 2021
b6cc1b3
Merge branch 'master' of https://github.com/aljungstrom/cubical into …
aljungstrom Jun 8, 2021
87fb31b
Merge branch 'master' of https://github.com/agda/cubical into clean
aljungstrom Jun 8, 2021
1731ba1
Merge branch 'master' of https://github.com/agda/cubical into clean
aljungstrom Jun 16, 2021
3139ba6
Merge branch 'master' of https://github.com/agda/cubical into clean
aljungstrom Jul 1, 2021
e8746d8
Merge https://github.com/agda/cubical into clean
aljungstrom Jul 5, 2021
39f3430
Benchmarks updated
aljungstrom Jul 6, 2021
5cefea5
fix
aljungstrom Aug 12, 2021
4b75fc3
Merge https://github.com/agda/cubical into clean
aljungstrom Oct 28, 2021
02d2b61
stuff
aljungstrom Oct 29, 2021
af69d37
wups
aljungstrom Oct 29, 2021
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
5 changes: 3 additions & 2 deletions Cubical/Experiments/ZCohomology/Benchmarks.agda
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ necessary.

This file contains benchmarks for the paper:

Synthetic Cohomology Theory in Cubical Agda

Synthetic Integral Cohomology in Cubical Agda
Guillaume Brunerie, Axel Ljungström, Anders Mörtberg
Computer Science Logic (CSL) 2022

Command to run the benchmarks and get timings:

Expand Down
26 changes: 15 additions & 11 deletions Cubical/Papers/ZCohomology.agda
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ necessary.
This file contains pointers to the code examples and main results from
the paper:

Synthetic Cohomology Theory in Cubical Agda
Synthetic Integral Cohomology in Cubical Agda
Guillaume Brunerie, Axel Ljungström, Anders Mörtberg
Computer Science Logic (CSL) 2022

-}

Expand Down Expand Up @@ -82,7 +84,7 @@ import Cubical.ZCohomology.Groups.CP2 as HⁿℂP²
description given in the paper, since h : S³ → S² is given by
S³ ≃ TotalHopf → S² -}

-- Appendix
-- Additional material
import Cubical.Homotopy.EilenbergSteenrod as ES-axioms
import Cubical.ZCohomology.EilenbergSteenrodZ as satisfies-ES-axioms
renaming (coHomFunctor to H^~ ; coHomFunctor' to Ĥ)
Expand Down Expand Up @@ -182,7 +184,7 @@ open Gr using (Group)
open GrPath using (GroupPath)


----- 3. ℤ-COHOMOLOGY IN CUBICAL AGDA -----
----- 3. INTEGRAL COHOMOLOGY IN CUBICAL AGDA -----


-- 3.1 Eilenberg-MacLane spaces
Expand Down Expand Up @@ -225,12 +227,12 @@ wedgeConSn' (suc n) m hlev fₗ fᵣ p =
-- +ₖ (addition) and 0ₖ
open GroupStructure using (_+ₖ_ ; 0ₖ)

-- The function σ : Kₙ → ΩKₙ₊₁
open Properties using (σ)

-- -ₖ (subtraction)
open GroupStructure using (-ₖ_)

-- The function σ : Kₙ → ΩKₙ₊₁
open Properties using (σ)

-- Group laws for +ₖ
open GroupStructure using ( rUnitₖ ; lUnitₖ
; rCancelₖ ; lCancelₖ
Expand All @@ -241,9 +243,9 @@ open GroupStructure using ( rUnitₖ ; lUnitₖ
-- rUnitₖ (definitional)
0-rUnit≡refl : rUnitₖ 0 (0ₖ 0) ≡ refl
1-rUnit≡refl : rUnitₖ 1 (0ₖ 1) ≡ refl
n≥2-rUnit≡refl : {n : ℕ} → rUnitₖ (2 + n) (0ₖ (2 + n)) ≡ refl
0-rUnit≡refl = refl
1-rUnit≡refl = refl
n≥2-rUnit≡refl : {n : ℕ} → rUnitₖ (2 + n) (0ₖ (2 + n)) ≡ refl
n≥2-rUnit≡refl = refl

-- lUnitₖ (definitional)
Expand Down Expand Up @@ -278,7 +280,7 @@ n≥2-lCancel≡refl : {n : ℕ} → lCancelₖ (2 + n) (0ₖ (2 + n)) ≡ refl
1-lCancel≡refl = refl
n≥2-lCancel≡refl = refl

-- rCancelₖ (≡ (refl ∙ refl) ∙ refl for n ≥ 1)
-- rCancelₖ (≡ (refl ∙ refl) ∙ refl for n ≥ 2)
0-rCancel≡refl : rCancelₖ 0 (0ₖ 0) ≡ refl
1-rCancel≡refl : rCancelₖ 1 (0ₖ 1) ≡ refl
n≥2-rCancel≡refl : {n : ℕ} → rCancelₖ (2 + n) (0ₖ (2 + n)) ≡ refl
Expand Down Expand Up @@ -329,7 +331,8 @@ open GroupStructure using ( rUnitₕ ; lUnitₕ
; commₕ
; assocₕ)

-------------------------------------------------------------------- MOVE?
--- Additional material -------------------------------------------

-- Reduced cohomology, group structure
open GroupStructure using (coHomRedGroupDir)

Expand Down Expand Up @@ -375,7 +378,7 @@ open ⌣Ring using (leftDistr-⌣ ; rightDistr-⌣
; ⌣0 ; 0⌣)
open ⌣Comm using (gradedComm-⌣)

----- 5. CHARACTERIZING ℤ-COHOMOLOGY GROUPS -----
----- 5. CHARACTERIZING INTEGRAL COHOMOLOGY GROUPS -----

-- 5.1
-- Proposition 19
Expand All @@ -395,7 +398,7 @@ open 𝕂² using (𝕂²)
-- The real projective plane
open ℝP using (ℝP²)

-- Proposition 22 and 23 respectively
-- Proposition 22 and 24 respectively
-- ℤ/2ℤ is represented by Bool with the unique group structure
-- Lemma 23 is used implicitly in H²-𝕂²≅Bool
open Hⁿ𝕂² using (H¹-𝕂²≅ℤ ; H²-𝕂²≅Bool)
Expand Down Expand Up @@ -475,6 +478,7 @@ open HⁿℂP² using (g)
brunerie2 : ℤ
brunerie2 = g 1

-- Additional material (from the appendix of the preprint)
----- A. Proofs -----

-- A.2 Proofs for Section 4
Expand Down