Skip to content

Zigzag construction of identity types of pushouts#1370

Closed
VojtechStep wants to merge 34 commits into
UniMath:masterfrom
VojtechStep:backup/wip-zigzag-construction
Closed

Zigzag construction of identity types of pushouts#1370
VojtechStep wants to merge 34 commits into
UniMath:masterfrom
VojtechStep:backup/wip-zigzag-construction

Conversation

@VojtechStep

@VojtechStep VojtechStep commented Mar 18, 2025

Copy link
Copy Markdown
Collaborator

There are still two holes left to fill, but they seem to be conceptually easy enough that I'm confident publishing this draft PR now — in particular they don't have any important coherence content, and they should be provable from very general path algebra; essentially I need to (freely) give a homotopy which fits into a coherence diagram with various is-section-map-inv-equivs, is-retraction-map-inv-equivs, preserves-trs etc.

What needs to be done:

  • Fill the two holes
  • Factoring out general lemmas — functoriality-stuff and stuff-over have a lot of ad-hoc development
  • Naming — goes with the above
  • Marking things abstract/opaque, general optimizations — the new stuff takes about as much time to typecheck as the rest of the library. I would be surprised if the CI didn't error on insufficient memory. This is fixable, but will take some time
  • Prose

Ideally I'd also like to avoid relying on the computation of map-eq-transpose-equiv', which at least compute-square-over-zigzag-square-over-colimit-id does

@VojtechStep

Copy link
Copy Markdown
Collaborator Author

I just pushed the solution to the the last hole, making this the first complete proof of correctness of the zigzag construction. 🎉

As noted in the PR description there's still quite some work necessary to make it mergeable, but the formal result is 100% there.

I'll be a little self indulgent and give this the 🏆 milestone 🏆 label.

@VojtechStep

Copy link
Copy Markdown
Collaborator Author

As expected, the CI fails on insufficient memory

@VojtechStep VojtechStep force-pushed the backup/wip-zigzag-construction branch from e895fcb to 67ab1e9 Compare March 25, 2025 17:24
@VojtechStep

Copy link
Copy Markdown
Collaborator Author

I bumped the heap size available to Agda, so the CI now has a chance to pass. This change should be reverted before merging

@VojtechStep

Copy link
Copy Markdown
Collaborator Author
  Checking synthetic-homotopy-theory.zigzag-construction-identity-type-pushouts (/Users/runner/work/agda-unimath/agda-unimath/master/src/synthetic-homotopy-theory/zigzag-construction-identity-type-pushouts.lagda.md).
agda: internal error: evacuate: strange closure type 1487223629
    (GHC version 9.10.1 for x86_64_apple_darwin)
    Please report this as a GHC bug:  https://www.haskell.org/ghc/reportabug
time: command terminated abnormally
     1673.95 real      1547.65 user        77.80 sys
make: *** [check] Abort trap: 6
Process completed with exit code 2.

Well, that was unexpected... But at least the Ubuntu run passed

@fredrik-bakke

Copy link
Copy Markdown
Collaborator

It's 2025, and Haskell can't even handle a zigzag construction 🙄 smh 😤

@VojtechStep

Copy link
Copy Markdown
Collaborator Author

I know, right? "Strange closure type"? Buddy, the closures here can get way freakier

@VojtechStep VojtechStep force-pushed the backup/wip-zigzag-construction branch from 67ab1e9 to 18aabd9 Compare August 18, 2025 15:44
@VojtechStep VojtechStep closed this Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants