Skip to content

Commit 18f8334

Browse files
Squashed commit of the following:
commit d08dabfacb486fb77a2ded077a3f0593968412e8 Author: Marcin Jan Turek-Grzybowski <marcinjangrzybowski@gmail.com> Date: Thu Jun 26 22:32:26 2025 +0200 works commit 74b6ee0df2aaba26be3f09f81b2020470b27cc44 Author: Marcin Jan Turek-Grzybowski <marcinjangrzybowski@gmail.com> Date: Thu Jun 26 22:29:59 2025 +0200 gi commit f89d4d7f172ae7da24a385efdd783209a5b2bdea Author: Marcin Jan Turek-Grzybowski <marcinjangrzybowski@gmail.com> Date: Thu Jun 26 22:29:15 2025 +0200 gi commit 3528c1128f48573748c240b3b5d3ea27fee5e0e5 Author: Marcin Jan Turek-Grzybowski <marcinjangrzybowski@gmail.com> Date: Thu Jun 26 20:04:00 2025 +0200 cleanup commit 4028c0010c1f0f48f54577ce418185648b2b9902 Author: Marcin Jan Turek-Grzybowski <marcinjangrzybowski@gmail.com> Date: Thu Jun 26 20:02:46 2025 +0200 cleanup commit 02f1aa892a739e61be52f2a609d0bd5891133639 Merge: 07914eea ac62dd4 Author: Marcin Jan Turek-Grzybowski <marcinjangrzybowski@gmail.com> Date: Thu Jun 26 19:09:38 2025 +0200 pre-merge commit 07914eeae43b77109983039e6d2e6c67fbae3f2f Author: Marcin Jan Turek-Grzybowski <marcinjangrzybowski@gmail.com> Date: Thu Jun 26 18:59:53 2025 +0200 integration done commit ac62dd4 Author: anshwad10 <109362320+anshwad10@users.noreply.github.com> Date: Wed Jun 25 17:16:13 2025 +0530 Add Rezk Completion by HIT (agda#1188) * Add Rezk Completion by HIT * Update Construction.agda * Removed trailing whitespaces * Remove trailing whitespace * Replace HIT with GroupoidQuotient * shorter proof of `inc-surj` * fix whitespace * Forgot to import GroupoidQuotients * add implicit argument commit b15ec4e Author: Marcin Jan Turek-Grzybowski <marcinjangrzybowski@gmail.com> Date: Tue Jun 24 06:45:56 2025 +0200 wip commit 55479ef Author: Marcin Jan Turek-Grzybowski <marcin@Marcins-MacBook-Pro.local> Date: Wed May 28 16:00:42 2025 +0200 wip - dirty commit ecf1bbb Author: Laine Taffin Altman <alexanderaltman@me.com> Date: Fri May 23 03:17:16 2025 -0700 Fix makefile race condition (agda#1210) If you use `make -j gen-everythings listings`, currently there is a near-certainty that the `listings` task will fail because the Everythings modules haven't been generated yet. This PR enforces the dependency. commit 43183c8 Author: michael <1700346+mzhang28@users.noreply.github.com> Date: Thu May 22 17:01:37 2025 -0500 Five lemma (agda#1166) * exact sequences * complete five proof * make five safe * fix newline * exactness over a successor structure * working again * fix whitespace... * clean up, just five * clean up * make implicit + rename isExact so the names are more descriptive * fix whitespace commit 63d187d Author: anshwad10 <109362320+anshwad10@users.noreply.github.com> Date: Tue May 20 22:52:24 2025 +0530 Formalize Theorem 7.2.2 in the HoTT Book (agda#1180) * Formalize Theorem 7.2.2 in the HoTT Book * move Theorem 7.2.2 to Cubical.Relation.Binary.Properties * Remove a few extra spaces This is not really necessary but it looks better commit 06e62f4 Author: michael <1700346+mzhang28@users.noreply.github.com> Date: Tue May 20 07:24:54 2025 -0500 Composition of left module homomorphisms (agda#1176) * implement composition of left module homomorphisms * pull out to top level * fix whitespace commit 78203ee Author: anshwad10 <109362320+anshwad10@users.noreply.github.com> Date: Mon May 19 21:41:29 2025 +0530 Remove duplicated lemma (agda#1189) * Remove duplicated lemma agda#1017 * Insert brackets commit 2738401 Author: LorenzoMolena <164308953+LorenzoMolena@users.noreply.github.com> Date: Mon May 19 17:52:30 2025 +0200 Strict order equational reasoning (agda#1203) * Add QuosetReasoning.agda Co-authored-by: Ettore Forigo <ettore.forigo@gmail.com> * add missing `no-eta-equality` in SubRelation, make SubRelation instance private --------- Co-authored-by: Ettore Forigo <ettore.forigo@gmail.com> commit 69b70a2 Author: anshwad10 <109362320+anshwad10@users.noreply.github.com> Date: Mon May 19 21:19:57 2025 +0530 Add inducedFun for EM1 (agda#1208) * Add files via upload * Delete Base.agda No idea what this file is doing here * Delete Properties.agda Must have accidentally put this here when I was editing dagger-cat * Add inducedFun for EM1 commit 22458b7 Author: LeeeeT <me@LeeeeT.dev> Date: Mon May 19 18:46:33 2025 +0300 Add missing minus symbol (agda#1207) commit 3291fc1 Author: Felix Cherubini <felix.cherubini@posteo.de> Date: Mon May 19 17:24:35 2025 +0200 Release for agda 2.7 (agda#1206) * test new ci script * fix * use fix-whitespace action * blindly try stuff * blindly try stuff * blindly try stuff * untabify... * Revert "blindly try stuff" This reverts commit 6fe71f3. # Conflicts: # .github/workflows/ci-ubuntu.yml * use fix-whitespace action * whitespace * whitespace * fix * fix * fix * fix * Fix path of fix-whitespace * Remove unnecessary step to generate user-manual.pdf * Bump base in cubical-utils.cabal * bump version number everywhere, update README and RELEASE * trailing newline needed? * update flake --------- Co-authored-by: Andreas Abel <andreas.abel@ifi.lmu.de> Co-authored-by: Naïm Favier <n@monade.li> commit eef2ed6 Author: Marcin Jan Turek-Grzybowski <marcin@Marcins-MacBook-Pro.local> Date: Thu May 15 07:17:58 2025 +0200 wip commit 71f32f0 Author: Andreas Abel <andreas.abel@ifi.lmu.de> Date: Fri May 9 21:51:25 2025 +0200 Prep for Agda 2.8.0: remove some spurious `private` commit d5b7bce Author: Marcin Grzybowski <marcinjangrzybowski@gmail.com> Date: Mon Apr 21 20:46:48 2025 +0200 sync commit 35d2919 Merge: 385066b cb0510c Author: Evan Cavallo <evanc@chalmers.se> Date: Fri Mar 21 06:08:36 2025 +0100 Merge pull request agda#1157 from Trebor-Huang/devalapurkar-haine Devalapurkar & Haine commit cb0510c Author: ecavallo <evancavallo@gmail.com> Date: Thu Mar 20 18:40:56 2025 +0100 cosmetic changes commit 52cf2a1 Author: ecavallo <evancavallo@gmail.com> Date: Thu Mar 20 18:40:42 2025 +0100 more informative type signatures commit 01c36f4 Author: ecavallo <evancavallo@gmail.com> Date: Thu Mar 20 18:40:23 2025 +0100 prefer copattern matching to record syntax commit fa0eba6 Author: ecavallo <evancavallo@gmail.com> Date: Thu Mar 20 13:59:26 2025 +0100 make pushout to wedge equivalence opaque commit 4155afd Merge: 01fa420 385066b Author: ecavallo <evancavallo@gmail.com> Date: Tue Mar 18 14:01:34 2025 +0100 Merge branch 'master' into devalapurkar-haine commit 385066b Author: Loïc Pujet <38562414+loic-p@users.noreply.github.com> Date: Tue Mar 4 16:53:03 2025 +0100 Reduced homology of CW complexes (agda#1175) * Reduced homology of CW complexes * explicit description of the augmentation map commit 90c3244 Author: Marcin Grzybowski <marcinjangrzybowski@gmail.com> Date: Fri Feb 14 16:53:06 2025 +0100 wip commit e8ff0c1 Author: anshwad10 <109362320+anshwad10@users.noreply.github.com> Date: Fri Feb 14 21:06:39 2025 +0530 Move `factorial` from `Cubical.Data.Fin.LehmerCode` to `Cubical.Data.Nat.Properties` (agda#1184) * Update LehmerCode.agda * Update Properties.agda add `factorial` here * Update LehmerCode.agda made it export `factorial` so nothing else in the library that depends on `factorial` being exported breaks * Removed dependency on LehmerCode exporting `factorial` * Removed dependency on LehmerCode exporting `factorial` * Removed dependency on LehmerCode exporting `factorial` * Remove the public export of `factorial` from LehmerCode.agda commit 3d5bb7d Author: Brad Dragun <35275808+LuuBluum@users.noreply.github.com> Date: Tue Feb 11 23:02:11 2025 -0700 Fix missed rename of StrictPoset to Quoset (agda#1185) commit c16edad Author: anshwad10 <109362320+anshwad10@users.noreply.github.com> Date: Sat Feb 8 21:32:52 2025 +0530 Remove duplicated factorial function (agda#1183) `_!` is defined in `Cubical.Data.Nat.Properties`, `factorial` is defined in `Cubical.Data.Fin.LehmerCode`, and they both have identical definitions. commit f717d46 Author: Brad Dragun <35275808+LuuBluum@users.noreply.github.com> Date: Fri Feb 7 09:27:29 2025 -0700 Basic Order Theory (agda#1154) * Add inverses to monoids/comm monoids * Add meets and joins to order properties * Rewrite isConnected and rename isStronglyConnected * Decidable total and linear orders imply discrete * Remove discrete requirement * Move decidable->discrete from toset to poset * Define binary meets/joins and prove properties * The negation of a linear order is a poset * Define bounds on a poset * Mild refactoring Rename preorder to proset; rename strict poset to quoset (quasiorder) and add strict orders as quasiorders with weak linearity * Remove unnecessary constructors * Define tight relations * Reintroduce constructors * Lattice basics * Distributive lattices * Replace compEquiv usages * Total orders are distributive pseudolattices * Add pseudolattice assumption to make more useful * Mappings on posets * Downsets and upsets are preserved * Defined complete lattices * Duals and closures * Embeddings form a complete lattice * Dual closures * Bicomplete subsets * Poset equivalences * Galois connections * Fix typo * Fix whitespace * Fix build failures * Move PosetDownset to where principalDownsets are * Fix build failures * Split mappings and subsets * Fix whitespace * Proofs regarding residuals and involutions * Cleaner proof commit f344485 Author: Marcin Grzybowski <marcinjangrzybowski@gmail.com> Date: Thu Jan 30 15:55:08 2025 +0100 wip commit 01fa420 Author: Trebor-Huang <treborhuang@foxmail.com> Date: Thu Sep 19 22:16:54 2024 +0800 safe flags commit 54a2b1f Author: Trebor-Huang <treborhuang@foxmail.com> Date: Thu Sep 19 21:42:05 2024 +0800 Fix whitespace commit a181af8 Merge: f0d49bc 53e400e Author: Trebor-Huang <treborhuang@foxmail.com> Date: Thu Sep 19 21:36:50 2024 +0800 Merge remote-tracking branch 'origin/master' into devalapurkar-haine commit f0d49bc Author: Trebor-Huang <treborhuang@foxmail.com> Date: Thu Sep 19 21:27:40 2024 +0800 James commit d99570a Author: Trebor-Huang <treborhuang@foxmail.com> Date: Thu Sep 19 21:10:57 2024 +0800 Hilton–Milnor commit c983de7 Author: Trebor-Huang <treborhuang@foxmail.com> Date: Thu Sep 19 20:36:36 2024 +0800 Splitting of loopspace commit 08a56c4 Author: Trebor-Huang <treborhuang@foxmail.com> Date: Thu Sep 19 20:21:45 2024 +0800 Oddly specific sigma lemma commit 51fa7d0 Author: Trebor-Huang <treborhuang@foxmail.com> Date: Thu Sep 19 20:12:35 2024 +0800 Remove my version in favor of the other commit dee0c56 Author: Trebor-Huang <treborhuang@foxmail.com> Date: Sun Aug 18 00:08:50 2024 +0800 extend commutative squares commit 98bbb7a Author: Trebor-Huang <treborhuang@foxmail.com> Date: Sun Aug 18 00:08:43 2024 +0800 tweak commit a4b23dd Author: Trebor-Huang <treborhuang@foxmail.com> Date: Thu Aug 15 17:45:42 2024 +0800 Rename commit dac0c0e Author: Trebor-Huang <treborhuang@foxmail.com> Date: Tue Aug 13 02:07:32 2024 +0800 Pushout using Unit* commit f9fc7e3 Author: Trebor-Huang <treborhuang@foxmail.com> Date: Mon Aug 12 13:50:15 2024 +0800 Use PushoutSquare instead commit 72a7557 Author: Trebor-Huang <treborhuang@foxmail.com> Date: Mon Aug 12 03:58:36 2024 +0800 Universes commit 9d50340 Author: Trebor-Huang <treborhuang@foxmail.com> Date: Mon Aug 12 03:18:06 2024 +0800 Susp (X∙ ⋀ Y∙) ≡ join X Y commit 4bc6517 Author: Trebor-Huang <treborhuang@foxmail.com> Date: Mon Aug 12 02:51:38 2024 +0800 Pushout⋁≃Unit commit 90f1ca9 Author: Trebor-Huang <treborhuang@foxmail.com> Date: Mon Aug 12 02:50:52 2024 +0800 Remove redundant definition commit fa2da1a Author: Trebor-Huang <treborhuang@foxmail.com> Date: Mon Aug 12 02:50:36 2024 +0800 projection functions commit 54038ae Author: Trebor-Huang <treborhuang@foxmail.com> Date: Mon Aug 12 02:31:37 2024 +0800 join inclusions are null commit 313b74e Author: Trebor-Huang <treborhuang@foxmail.com> Date: Mon Aug 12 00:22:40 2024 +0800 Use pushout squares for cofibInl-⋁ commit d0a06cd Author: Trebor-Huang <treborhuang@foxmail.com> Date: Sun Aug 11 21:40:16 2024 +0800 pushout along identity commit b4e74c1 Author: Trebor-Huang <treborhuang@foxmail.com> Date: Sun Aug 11 21:08:23 2024 +0800 Susp is Pushout 1 <- X -> 1 commit 5dae632 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Tue Sep 17 01:01:18 2024 +0200 fixes commit e13f9ab Merge: 10aea90 e2370fb Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Mon Sep 16 22:22:28 2024 +0200 Merge remote-tracking branch 'master/master' into cellular_pointed commit 10aea90 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Tue Jun 4 14:42:34 2024 +0200 minor commit 1dff2d5 Merge: 46482af a0b4ba3 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Tue Jun 4 14:39:52 2024 +0200 merge commit 46482af Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Tue Jun 4 14:22:49 2024 +0200 connected clean commit 787f34f Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Tue Jun 4 14:12:57 2024 +0200 connected done? commit 73afa8e Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Tue Jun 4 02:59:48 2024 +0200 cleaning commit 0cb5678 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Tue Jun 4 02:59:42 2024 +0200 cleaning commit 6bc3664 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Fri May 31 18:51:51 2024 +0200 pretty much done commit e4f4003 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Fri May 31 04:09:48 2024 +0200 almost commit c7acbee Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Wed May 29 18:11:46 2024 +0200 stuff commit 77623bb Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Mon May 27 03:16:45 2024 +0200 wip... commit dac2fd3 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Thu May 23 18:08:06 2024 +0200 stuff commit afe51a4 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Wed May 8 18:20:52 2024 +0200 p2 commit 87fa4c0 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Tue May 7 18:15:55 2024 +0200 done? commit eb6b12e Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Tue May 7 10:12:34 2024 +0200 Pointed commit 3784dcd Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Thu May 2 11:34:11 2024 +0200 comments commit beccacd Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Mon Mar 4 12:03:53 2024 +0100 ojdå commit 3e53282 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Mon Mar 4 11:31:38 2024 +0100 broken code commit ac5249e Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Mon Mar 4 09:39:57 2024 +0100 wups commit 1b005a6 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Mon Mar 4 02:22:00 2024 +0100 ugh commit 2d3fe1c Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Mon Mar 4 01:48:45 2024 +0100 wups commit b1f9e1d Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Mon Mar 4 01:30:09 2024 +0100 readme commit 6e259af Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Mon Mar 4 00:38:02 2024 +0100 cleanup commit a3f6a9e Merge: 6ce70a4 f4745a2 4ba3c8e Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Sun Mar 3 21:13:21 2024 +0100 merge commit 4ba3c8e Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Sun Mar 3 20:55:52 2024 +0100 stuff commit a3bb47e Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Sun Mar 3 20:48:17 2024 +0100 done? commit 53bb0f2 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Sun Mar 3 03:52:29 2024 +0100 stuff commit 54c7919 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Fri Mar 1 19:08:20 2024 +0100 stuff commit 42d6b77 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Thu Feb 29 15:34:05 2024 +0100 stuff commit df55d55 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Thu Feb 29 02:49:34 2024 +0100 More commit ae6e813 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Tue Feb 27 00:10:56 2024 +0100 stuf commit b694120 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Mon Feb 26 16:42:26 2024 +0100 stuff commit ea5fefd Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Sun Feb 25 23:02:26 2024 +0100 stuff commit f4745a2 Merge: 1c0396c 227b10b Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Wed Jan 31 10:49:17 2024 +0100 Merge remote-tracking branch 'origin/master' commit 9071481 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Wed Jan 31 10:46:56 2024 +0100 stuff commit e47bad5 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Wed Jan 24 19:53:25 2024 +0100 wups commit f7524eb Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Tue Jan 23 19:44:57 2024 +0100 ugh... commit b7716a4 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Tue Jan 23 19:19:56 2024 +0100 fixes commit 7313a31 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Tue Jan 23 15:04:18 2024 +0100 wups commit 7875e3e Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Tue Jan 23 14:51:05 2024 +0100 wups commit 74a8521 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Tue Jan 23 14:47:14 2024 +0100 wups commit 5e8b305 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Tue Jan 23 14:17:35 2024 +0100 done? commit 74596b5 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Tue Jan 23 03:52:06 2024 +0100 .. commit 2b8b5fd Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Mon Jan 22 18:50:46 2024 +0100 more commit 2fef4ef Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Mon Jan 22 18:36:10 2024 +0100 stuff commit c034578 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Thu Jan 18 17:17:24 2024 +0100 stuff commit 9d1915d Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Wed Jan 17 02:53:26 2024 +0100 fix commit 227b10b Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Thu Jun 8 09:45:56 2023 +0200 w commit 3acc6b8 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Thu Jun 8 09:45:28 2023 +0200 w commit ea75092 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Thu Jun 8 09:44:37 2023 +0200 w commit 52429ff Merge: 9341710 814d54b Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Thu Jun 8 09:38:02 2023 +0200 Merge branch 'newM' commit 9341710 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Fri Jun 2 15:04:54 2023 +0200 ganea stuff commit 17f3fc1 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Mon Apr 24 17:13:52 2023 +0200 rme commit aadde33 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Mon Apr 24 17:12:41 2023 +0200 wups commit e8244ac Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Mon Apr 24 17:10:45 2023 +0200 duplicate commit cc6ced2 Merge: b4b6efb f0ad815 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Mon Apr 24 17:10:10 2023 +0200 done commit b4b6efb Merge: 93d7248 9acdecf Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Tue Feb 1 04:02:50 2022 +0100 m commit 93d7248 Author: aljungstrom <axel.ljungstrom@hotmail.com> Date: Tue Feb 1 04:00:15 2022 +0100 t
1 parent 1143bc9 commit 18f8334

File tree

122 files changed

+26705
-3499
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+26705
-3499
lines changed

.github/workflows/ci-ubuntu.yml

Lines changed: 15 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ on:
4242
########################################################################
4343

4444
env:
45-
AGDA_BRANCH: v2.6.4.1
46-
GHC_VERSION: 9.4.7
47-
CABAL_VERSION: 3.6.2.0
45+
AGDA_BRANCH: v2.7.0.1
46+
GHC_VERSION: 9.10.2
47+
CABAL_VERSION: 3.12.1.0
4848
CABAL_INSTALL: cabal install --overwrite-policy=always --ghc-options='-O1 +RTS -M6G -RTS'
4949
CACHE_PATHS: |
5050
~/.cabal/packages
@@ -67,7 +67,7 @@ jobs:
6767
# absolutely necessary i.e. if we change either the version of Agda,
6868
# ghc, or cabal that we want to use for the build.
6969
- name: Restore external dependencies cache
70-
uses: actions/cache/restore@v3
70+
uses: actions/cache/restore@v4
7171
id: cache-external-restore
7272
with:
7373
path: ${{ env.CACHE_PATHS }}
@@ -82,23 +82,13 @@ jobs:
8282
run: |
8383
git clone https://github.com/agda/agda --branch ${{ env.AGDA_BRANCH }} --depth=1
8484
cd agda
85-
mkdir -p doc
86-
touch doc/user-manual.pdf
8785
${{ env.CABAL_INSTALL }}
8886
cd ..
8987
rm -rf agda
9088
91-
- name: Download and install fix-whitespace
92-
if: steps.cache-external-restore.outputs.cache-hit != 'true'
93-
run: |
94-
git clone https://github.com/agda/fix-whitespace --depth=1
95-
cd fix-whitespace
96-
${{ env.CABAL_INSTALL }} fix-whitespace.cabal
97-
cd ..
98-
9989
- name: Save external dependencies cache
10090
if: steps.cache-external-restore.outputs.cache-hit != 'true'
101-
uses: actions/cache/save@v3
91+
uses: actions/cache/save@v4
10292
id: cache-external-save
10393
with:
10494
path: ${{ env.CACHE_PATHS }}
@@ -110,34 +100,37 @@ jobs:
110100

111101
# By default github actions do not pull the repo
112102
- name: Checkout cubical
113-
uses: actions/checkout@v3
103+
uses: actions/checkout@v4
104+
105+
- name: Get and run fix-whitespace
106+
uses: andreasabel/fix-whitespace-action@v1
114107

115108
########################################################################
116109
## TESTING
117110
########################################################################
118111

119112
- name: Restore library cache
120-
uses: actions/cache/restore@v3
113+
uses: actions/cache/restore@v4
121114
id: cache-library-restore
122115
with:
123116
path: ./_build
124117
key: library-${{ runner.os }}-${{ env.GHC_VERSION }}-${{ env.CABAL_VERSION }}-${{ env.AGDA_BRANCH }}-${{ hashFiles('Cubical/**', 'cubical.agda-lib', 'Everythings.hs') }}
125118
restore-keys: |
126119
library-${{ runner.os }}-${{ env.GHC_VERSION }}-${{ env.CABAL_VERSION }}-${{ env.AGDA_BRANCH }}-
127120
128-
- name: Put cabal programs in PATH
121+
- name: Put installed programs in PATH
129122
run: echo "~/.cabal/bin" >> "${GITHUB_PATH}"
130123

131124
- name: Test cubical
132125
run: |
133126
make test \
134127
AGDA_EXEC='~/.cabal/bin/agda -WnoUnsupportedIndexedMatch -W error' \
135-
FIX_WHITESPACE='~/.cabal/bin/fix-whitespace' \
128+
FIX_WHITESPACE='~/.local/fix-whitespace/bin/fix-whitespace' \
136129
EVERYTHINGS='cabal run Everythings'
137130
138131
- name: Save library cache
139132
if: steps.cache-library-restore.outputs.cache-hit != 'true'
140-
uses: actions/cache/save@v3
133+
uses: actions/cache/save@v4
141134
id: cache-library-save
142135
with:
143136
path: ./_build
@@ -152,12 +145,12 @@ jobs:
152145
run: |
153146
make listings \
154147
AGDA_EXEC='~/.cabal/bin/agda -WnoUnsupportedIndexedMatch -W error' \
155-
FIX_WHITESPACE='~/.cabal/bin/fix-whitespace' \
148+
FIX_WHITESPACE='~/.local/fix-whitespace/bin/fix-whitespace' \
156149
EVERYTHINGS='cabal run Everythings'
157150
158151
- name: Deploy to GitHub Pages
159152
if: github.event_name == 'push' && github.ref_name == 'master'
160-
uses: JamesIves/github-pages-deploy-action@4.1.8
153+
uses: JamesIves/github-pages-deploy-action@v4
161154
with:
162155
branch: gh-pages
163156
folder: html

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ message: "If you use this software, please cite it as below."
33
authors:
44
- name: "The Agda Community"
55
title: "Cubical Agda Library"
6-
version: 0.7
7-
date-released: 2024-02-12
6+
version: 0.8
7+
date-released: 2025-05-09
88
url: "https://github.com/agda/cubical"

Cubical/Algebra/AbGroup/Instances/FreeAbGroup.agda

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ open import Cubical.HITs.FreeAbGroup
1919
open import Cubical.Algebra.AbGroup
2020
open import Cubical.Algebra.AbGroup.Instances.Pi
2121
open import Cubical.Algebra.AbGroup.Instances.Int
22+
open import Cubical.Algebra.AbGroup.Instances.DirectProduct
2223
open import Cubical.Algebra.Group
2324
open import Cubical.Algebra.Group.Morphisms
2425
open import Cubical.Algebra.Group.MorphismProperties
@@ -413,3 +414,49 @@ agreeOnℤFinGenerator→≡ {n} {m} {ϕ} {ψ} idr =
413414
λ f p IsGroupHom.presinv (snd ϕ) f
414415
∙∙ (λ i x -ℤ (p i x))
415416
∙∙ sym (IsGroupHom.presinv (snd ψ) f)))
417+
418+
--
419+
sumCoefficients : (n : ℕ) AbGroupHom (ℤ[Fin n ]) (ℤ[Fin 1 ])
420+
fst (sumCoefficients n) v = λ _ sumFinℤ v
421+
snd (sumCoefficients n) = makeIsGroupHom (λ x y funExt λ _ sumFinℤHom x y)
422+
423+
ℤFinProductIso : (n m : ℕ) Iso (ℤ[Fin (n +ℕ m) ] .fst) ((AbDirProd ℤ[Fin n ] ℤ[Fin m ]) .fst)
424+
ℤFinProductIso n m = iso sum→product product→sum product→sum→product sum→product→sum
425+
where
426+
sum→product : (ℤ[Fin (n +ℕ m) ] .fst) ((AbDirProd ℤ[Fin n ] ℤ[Fin m ]) .fst)
427+
sum→product x = ((λ (a , Ha) x (a , <→<ᵗ (≤-trans (<ᵗ→< Ha) (≤SumLeft {n}{m}))))
428+
, λ (a , Ha) x (n +ℕ a , <→<ᵗ (<-k+ {a}{m}{n} (<ᵗ→< Ha))))
429+
430+
product→sum : ((AbDirProd ℤ[Fin n ] ℤ[Fin m ]) .fst) (ℤ[Fin (n +ℕ m) ] .fst)
431+
product→sum (x , y) (a , Ha) with (a ≟ᵗ n)
432+
... | lt H = x (a , H)
433+
... | eq H = y (a ∸ n , <→<ᵗ (subst (a ∸ n <_) (∸+ m n) (<-∸-< a (n +ℕ m) n (<ᵗ→< Ha) (subst (λ a a < n +ℕ m) H (<ᵗ→< Ha)))))
434+
... | gt H = y (a ∸ n , <→<ᵗ (subst (a ∸ n <_) (∸+ m n) (<-∸-< a (n +ℕ m) n (<ᵗ→< Ha) (<ᵗ→< (<ᵗ-trans {n}{a}{n +ℕ m} H Ha)))))
435+
436+
product→sum→product : x sum→product (product→sum x) ≡ x
437+
product→sum→product (x , y) = ≡-× (funExt (λ (a , Ha) lemx a Ha)) (funExt (λ (a , Ha) lemy a Ha))
438+
where
439+
lemx : (a : ℕ) (Ha : a <ᵗ n) fst (sum→product (product→sum (x , y))) (a , Ha) ≡ x (a , Ha)
440+
lemx a Ha with (a ≟ᵗ n)
441+
... | lt H = cong x (Fin≡ (a , H) (a , Ha) refl)
442+
... | eq H = rec (¬m<ᵗm (subst (λ a a <ᵗ n) H Ha))
443+
... | gt H = rec (¬m<ᵗm (<ᵗ-trans Ha H))
444+
445+
lemy : (a : ℕ) (Ha : a <ᵗ m) snd (sum→product (product→sum (x , y))) (a , Ha) ≡ y (a , Ha)
446+
lemy a Ha with ((n +ℕ a) ≟ᵗ n)
447+
... | lt H = rec (¬m<m (≤<-trans (≤SumLeft {n}{a}) (<ᵗ→< H)))
448+
... | eq H = cong y (Fin≡ _ _ (∸+ a n))
449+
... | gt H = cong y (Fin≡ _ _ (∸+ a n))
450+
451+
sum→product→sum : x product→sum (sum→product x) ≡ x
452+
sum→product→sum x = funExt (λ (a , Ha) lem a Ha)
453+
where
454+
lem : (a : ℕ) (Ha : a <ᵗ (n +ℕ m)) product→sum (sum→product x) (a , Ha) ≡ x (a , Ha)
455+
lem a Ha with (a ≟ᵗ n)
456+
... | lt H = cong x (Fin≡ _ _ refl)
457+
... | eq H = cong x (Fin≡ _ _ ((+-comm n (a ∸ n)) ∙ ≤-∸-+-cancel (subst (n ≤_) (sym H) ≤-refl)))
458+
... | gt H = cong x (Fin≡ _ _ ((+-comm n (a ∸ n)) ∙ ≤-∸-+-cancel (<-weaken (<ᵗ→< H))))
459+
460+
ℤFinProduct : (n m : ℕ) AbGroupIso ℤ[Fin (n +ℕ m) ] (AbDirProd ℤ[Fin n ] ℤ[Fin m ])
461+
fst (ℤFinProduct n m) = ℤFinProductIso n m
462+
snd (ℤFinProduct n m) = makeIsGroupHom (λ x y refl)

Cubical/Algebra/Algebra/Properties.agda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ module AlgebraEquivs where
110110
(invAlgebraEquiv {A = A} {B = B} f').snd = hom
111111
where
112112
open AlgebraStr {{...}}
113-
private instance
113+
instance
114114
_ = snd A
115115
_ = snd B
116116

Cubical/Algebra/ChainComplex/Homology.agda

Lines changed: 15 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -35,42 +35,30 @@ open ChainComplex
3535
open finChainComplexMap
3636
open IsGroupHom
3737

38-
-- Definition of homology
39-
homology : (n : ℕ) ChainComplex ℓ Group ℓ
40-
homology n C = ker∂n / img∂+1⊂ker∂n
41-
where
42-
Cn+2 = AbGroup→Group (chain C (suc (suc n)))
43-
∂n = bdry C n
44-
∂n+1 = bdry C (suc n)
45-
ker∂n = kerGroup ∂n
46-
47-
-- Restrict ∂n+1 to ker∂n
48-
∂'-fun : Cn+2 .fst ker∂n .fst
49-
fst (∂'-fun x) = ∂n+1 .fst x
50-
snd (∂'-fun x) = t
51-
where
52-
opaque
53-
t : ⟨ fst (kerSubgroup ∂n) (∂n+1 .fst x) ⟩
54-
t = funExt⁻ (cong fst (bdry²=0 C n)) x
38+
module _ (n : ℕ) (C : ChainComplex ℓ) where
39+
ker∂n = kerGroup (bdry C n)
5540

56-
∂' : GroupHom Cn+2 ker∂n
57-
fst ∂' = ∂'-fun
58-
snd ∂' = isHom
41+
∂ker : GroupHom (AbGroup→Group (chain C (suc (suc n)))) ker∂n
42+
∂ker .fst x = (bdry C (suc n) .fst x) , t
5943
where
6044
opaque
61-
isHom : IsGroupHom (Cn+2 .snd) ∂'-fun (ker∂n .snd)
62-
isHom = makeIsGroupHom λ x y
63-
kerGroup≡ ∂n (∂n+1 .snd .pres· x y)
45+
t : ⟨ fst (kerSubgroup (bdry C n)) (bdry C (suc n) .fst x) ⟩
46+
t = funExt⁻ (cong fst (bdry²=0 C n)) x
47+
∂ker .snd = makeIsGroupHom (λ x y kerGroup≡ (bdry C n) ((bdry C (suc n) .snd .pres· x y)))
6448

6549
img∂+1⊂ker∂n : NormalSubgroup ker∂n
66-
fst img∂+1⊂ker∂n = imSubgroup ∂'
50+
fst img∂+1⊂ker∂n = imSubgroup ∂ker
6751
snd img∂+1⊂ker∂n = isNormalImSubGroup
6852
where
6953
opaque
7054
module C1 = AbGroupStr (chain C (suc n) .snd)
71-
isNormalImSubGroup : isNormal (imSubgroup ∂')
72-
isNormalImSubGroup = isNormalIm ∂'
73-
(λ x y kerGroup≡ ∂n (C1.+Comm (fst x) (fst y)))
55+
isNormalImSubGroup : isNormal (imSubgroup ∂ker)
56+
isNormalImSubGroup = isNormalIm ∂ker
57+
(λ x y kerGroup≡ (bdry C n) (C1.+Comm (fst x) (fst y)))
58+
59+
-- Definition of homology
60+
homology : (n : ℕ) ChainComplex ℓ Group ℓ
61+
homology n C = (ker∂n n C) / (img∂+1⊂ker∂n n C)
7462

7563
-- Induced maps on cohomology by finite chain complex maps/homotopies
7664
module _ where

Cubical/Algebra/CommMonoid/Properties.agda

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,19 @@ module CommMonoidTheory (M' : CommMonoid ℓ) where
5757
commAssocSwap : (x y z w : M) (x · y) · (z · w) ≡ (x · z) · (y · w)
5858
commAssocSwap x y z w = ·Assoc (x · y) z w ∙∙ cong (_· w) (commAssocr x y z)
5959
∙∙ sym (·Assoc (x · z) y w)
60+
61+
hasInverse : (x : M) Type ℓ
62+
hasInverse x = Σ[ -x ∈ M ] -x · x ≡ ε
63+
64+
isPropHasInverse : x isProp (hasInverse x)
65+
isPropHasInverse x yinv zinv
66+
= Σ≡Prop (λ a is-set (a · x) ε)
67+
(PathPΣ (MonoidTheory.isPropHasInverse (CommMonoid→Monoid M') x
68+
(hasInverseToMonoid x yinv)
69+
(hasInverseToMonoid x zinv))
70+
.fst)
71+
where
72+
hasInverseToMonoid : x
73+
hasInverse x
74+
MonoidTheory.hasInverse (CommMonoid→Monoid M') x
75+
hasInverseToMonoid x (y , yinv) = y , yinv , ·Comm x y ∙ yinv

Cubical/Algebra/CommRing/Localisation/UniversalProperty.agda

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -373,12 +373,10 @@ module _ (R' : CommRing ℓ) (S' : ℙ (fst R')) (SMultClosedSubset : isMultClos
373373
; ·IdR to ·A-rid)
374374
open Units A' renaming (Rˣ to Aˣ ; RˣInvClosed to AˣInvClosed)
375375
open PathToS⁻¹R ⦃...⦄
376-
private
377-
A = fst A'
378-
instance
379-
_ = cond
380-
χ = (S⁻¹RHasUniversalProp A' φ φS⊆Aˣ .fst .fst)
381-
open RingHomTheory χ
376+
A = fst A'
377+
instance _ = cond
378+
χ = (S⁻¹RHasUniversalProp A' φ φS⊆Aˣ .fst .fst)
379+
open RingHomTheory χ
382380

383381
S⁻¹R≃A : S⁻¹R ≃ A
384382
S⁻¹R≃A = fst χ , isEmbedding×isSurjection→isEquiv (Embχ , Surχ)

Cubical/Algebra/DistLattice/Downset.agda

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ open import Cubical.Algebra.Lattice
1616
open import Cubical.Algebra.DistLattice.Base
1717

1818
open import Cubical.Relation.Binary.Order.Poset
19+
open import Cubical.Relation.Binary.Order.Poset.Subset
1920

2021
open Iso
2122

Cubical/Algebra/Group/Exact.agda

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,22 @@
11
{-# OPTIONS --safe #-}
2+
23
module Cubical.Algebra.Group.Exact where
34

45
open import Cubical.Foundations.Prelude
56
open import Cubical.Foundations.Equiv
7+
open import Cubical.Foundations.Isomorphism
68
open import Cubical.Foundations.Function
9+
open import Cubical.Foundations.Structure
10+
open import Cubical.Foundations.HLevels
711

12+
open import Cubical.Data.Empty
13+
open import Cubical.Data.Fin
14+
open import Cubical.Data.Nat
15+
open import Cubical.Data.Nat.Order
16+
open import Cubical.Data.Sigma
17+
open import Cubical.Data.Sum
818
open import Cubical.Data.Unit
19+
open import Cubical.Data.Vec
920

1021
open import Cubical.Algebra.Group.Base
1122
open import Cubical.Algebra.Group.Morphisms
@@ -15,11 +26,23 @@ open import Cubical.Algebra.Group.Instances.Unit
1526

1627
open import Cubical.HITs.PropositionalTruncation as PT
1728

29+
private
30+
variable
31+
ℓ ℓ' : Level
32+
33+
record IsExactAt {ℓ ℓ' ℓ'' : Level}
34+
{A : Group ℓ} {B : Group ℓ'} {C : Group ℓ''}
35+
(f : GroupHom A B) (g : GroupHom B C) (b : ⟨ B ⟩)
36+
: Type (ℓ-max ℓ (ℓ-max ℓ' ℓ'')) where
37+
field
38+
im∈ker : isInIm f b isInKer g b
39+
ker∈im : isInKer g b isInIm f b
40+
open IsExactAt public
1841

19-
-- TODO : Define exact sequences
20-
-- (perhaps short, finite, ℕ-indexed and ℤ-indexed)
42+
IsExact : {A B C : Group ℓ} (f : GroupHom A B) (g : GroupHom B C) Type ℓ
43+
IsExact {B = B} f g = (b : ⟨ B ⟩) IsExactAt f g b
2144

22-
SES→isEquiv : {ℓ ℓ'} {L R : Group ℓ-zero}
45+
SES→isEquiv : {L R : Group ℓ-zero}
2346
{G : Group ℓ} {H : Group ℓ'}
2447
UnitGroup₀ ≡ L
2548
UnitGroup₀ ≡ R
@@ -138,3 +161,4 @@ transportExact4 {G = G} {G₂ = G₂} {H = H} {H₂ = H₂} {L = L} {L₂ = L₂
138161
(J (λ z q (r : x₃ ≡ w) (s : x₄ ≡ u) B x z w u refl q r s)
139162
(J (λ w r (s : x₄ ≡ u) B x x₂ w u refl refl r s)
140163
(J (λ u s B x x₂ x₃ u refl refl refl s) b)))
164+

0 commit comments

Comments
 (0)