examples/category: elementary pushouts and pullbacks - #2020
Merged
Conversation
rsoeldner
force-pushed
the
category-pushouts
branch
from
July 4, 2026 19:07
0fdeb86 to
39250a8
Compare
Member
|
Please generate with "modern" |
Universal-property definitions of pushout/pullback squares over an arbitrary category, with duality (op_cat), uniqueness up to iso, iso-stability, and transport of pushouts along isos of the apex or span legs.
rsoeldner
force-pushed
the
category-pushouts
branch
from
July 8, 2026 05:11
39250a8 to
02aeaf4
Compare
Member
|
Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
examples/category/pushoutScript.sml: elementary (universal-property) definitions of pushout and pullback squares over an arbitrary category, together with their basic theory:is_span_in/is_cospan_in/pushout_square/is_pushout/pullback_square/is_pullbackpushout_pullback_dual— pushout ⇔ pullback in the opposite categorypushout_unique_iso— the pushout object is unique up to isomorphism (iso_objs)pushout_iso_stability— the pushout of an isomorphism is an isomorphismpushout_transport_iso/pushout_transport_dom_iso/pushout_transport_cod_iso/pushout_relabel_span— a pushout is stable under replacing the apex or either span leaf by an isomorphic objectiso_cancel_left—e⁻¹ ∘ (e ∘ x) = xEverything is stated generically over any
is_category cand depends only oncategoryTheory. The existinglimitScripttreats general (co)limits via cones over comma categories but never specializes to pushouts; this file provides the direct elementary formulation.🤖 Generated with Claude Code