Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
154 commits
Select commit Hold shift + click to select a range
9a6e23b
feat(AlgebraicTopology/SimplicialSet): degenerate simplices
joelriou Jan 26, 2025
e782e89
Update Mathlib/AlgebraicTopology/SimplicialSet/Degenerate.lean
joelriou Jan 26, 2025
666f6ea
feat(AlgebraicTopology/SimplicialSet/Degenerate): uniqueness of a dec…
joelriou Jan 26, 2025
be33259
Update Mathlib/AlgebraicTopology/SimplicialSet/Degenerate.lean
joelriou Jan 30, 2025
e4e504c
Merge remote-tracking branch 'origin' into sset-nondegenerate
joelriou Feb 7, 2025
9908fbb
fix notations
joelriou Feb 7, 2025
172daae
Merge remote-tracking branch 'origin/sset-nondegenerate' into sset-no…
joelriou Feb 8, 2025
7d5a233
Merge remote-tracking branch 'origin' into sset-nondegenerate
joelriou Feb 14, 2025
a022357
fix
joelriou Feb 14, 2025
b37c74a
Merge remote-tracking branch 'origin/sset-nondegenerate' into sset-no…
joelriou Feb 14, 2025
e848bc2
Merge remote-tracking branch 'origin' into sset-nondegenerate2
joelriou Mar 11, 2025
96a1911
Merge remote-tracking branch 'origin' into sset-nondegenerate2
joelriou Mar 14, 2025
3b7b6a5
Merge remote-tracking branch 'origin' into sset-nondegenerate2
joelriou Mar 17, 2025
766bda3
Merge remote-tracking branch 'origin' into sset-nondegenerate2
joelriou Apr 18, 2025
03fe2d7
whitespace
joelriou Apr 18, 2025
f702a29
Merge remote-tracking branch 'origin' into sset-nondegenerate2
joelriou Jun 18, 2025
c62c079
chore(AlgebraicTopology/SimplexCategory): cleaning up lemmas about ep…
joelriou Aug 5, 2025
2628148
fixing the build
joelriou Aug 5, 2025
61ab0dd
cleaning up
joelriou Aug 5, 2025
3e04e02
cleaning up
joelriou Aug 5, 2025
cb64b87
cleaning up
joelriou Aug 5, 2025
981ba52
feat(AlgebraicTopology): the type of simplices of a simplicial set
joelriou Aug 6, 2025
cae23d3
Update Mathlib/AlgebraicTopology/SimplexCategory/Basic.lean
joelriou Aug 6, 2025
37f755c
Update Mathlib/AlgebraicTopology/SimplexCategory/Basic.lean
joelriou Aug 6, 2025
8747fa6
Update Mathlib/AlgebraicTopology/SimplexCategory/Basic.lean
joelriou Aug 6, 2025
32c58b0
Update Mathlib/AlgebraicTopology/SimplexCategory/Basic.lean
joelriou Aug 6, 2025
0bc7517
removed duplicate instance
joelriou Aug 6, 2025
2f2662b
Update Mathlib/AlgebraicTopology/DoldKan/NCompGamma.lean
joelriou Aug 6, 2025
3b3064c
Update Mathlib/AlgebraicTopology/DoldKan/NCompGamma.lean
joelriou Aug 6, 2025
6c5ef9c
suggestion by robin-carlier
joelriou Aug 6, 2025
1d8470f
Merge remote-tracking branch 'origin/simplex-category-better-len-lemm…
joelriou Aug 6, 2025
69fe2bd
Merge remote-tracking branch 'origin/master' into simplex-category-be…
joelriou Aug 7, 2025
032ce18
Merge remote-tracking branch 'origin/simplex-category-better-len-lemm…
joelriou Aug 7, 2025
6a0d3c0
added comments about X.S not being the category of simplices
joelriou Aug 7, 2025
8587fec
better title
joelriou Aug 7, 2025
be45d29
Merge remote-tracking branch 'origin/master' into sset-nondegenerate2
joelriou Aug 11, 2025
5746666
Merge remote-tracking branch 'origin/master' into simplex-category-be…
joelriou Aug 11, 2025
f223e12
Merge remote-tracking branch 'origin/simplex-category-better-len-lemm…
joelriou Aug 11, 2025
a1334ae
fix
joelriou Aug 11, 2025
197b58e
Merge remote-tracking branch 'origin/sset-nondegenerate2' into sset-n…
joelriou Aug 11, 2025
4c84452
wip
joelriou Aug 11, 2025
9ffa4e7
Merge remote-tracking branch 'origin/master' into sset-nondegenerate-…
joelriou Aug 13, 2025
1727da4
added docstring
joelriou Aug 13, 2025
00f9a64
added nondegenerate simplices not in a subcomplex
joelriou Aug 13, 2025
b50128c
definition of pairings
joelriou Aug 13, 2025
14f6d18
feat(AlgebraicTopology/SimplicialSet): a helper structure to construc…
joelriou Aug 13, 2025
80d3a14
fixing imports
joelriou Aug 13, 2025
ca32253
Merge remote-tracking branch 'origin/moss-pairing' into moss-pairing-…
joelriou Aug 13, 2025
307f01a
wip
joelriou Aug 13, 2025
e1e7ad1
Merge remote-tracking branch 'origin/moss-pairing-core' into moss-pai…
joelriou Aug 13, 2025
8a6417e
better names
joelriou Aug 13, 2025
6bae3b8
cleaning up
joelriou Aug 13, 2025
75af19d
wip
joelriou Aug 13, 2025
dade326
little improvements
joelriou Aug 13, 2025
7aeee27
removed imports to set theory
joelriou Aug 14, 2025
55a8c3d
Merge remote-tracking branch 'origin/master' into sset-simplices
joelriou Aug 14, 2025
2d9cbab
Merge remote-tracking branch 'origin/master' into sset-simplices
joelriou Aug 15, 2025
1e8bba0
Merge remote-tracking branch 'origin/master' into sset-nondegenerate2
joelriou Aug 15, 2025
0e146d0
Merge remote-tracking branch 'origin/sset-simplices' into sset-nondeg…
joelriou Aug 15, 2025
a9f46c9
Merge remote-tracking branch 'origin/sset-nondegenerate2' into sset-n…
joelriou Aug 15, 2025
d604ad2
Merge remote-tracking branch 'origin/sset-nondegenerate-simplices' in…
joelriou Aug 15, 2025
3baef22
Merge remote-tracking branch 'origin/sset-nondegenerate-simplices-sub…
joelriou Aug 15, 2025
9b5b598
Merge remote-tracking branch 'origin/moss-pairing' into moss-pairing-…
joelriou Aug 15, 2025
c395dde
Merge remote-tracking branch 'origin/moss-pairing-core' into moss-pai…
joelriou Aug 15, 2025
744eb90
Merge remote-tracking branch 'origin/moss-pairing-rank-function' into…
joelriou Aug 15, 2025
ee65af9
wip
joelriou Aug 15, 2025
4b4be15
fix
joelriou Aug 15, 2025
a3a974d
Merge remote-tracking branch 'origin/moss-pairing-rank-function' into…
joelriou Aug 15, 2025
a1ff860
fix
joelriou Aug 15, 2025
e667e1b
Merge remote-tracking branch 'origin/moss-pairing-rank-function-nat' …
joelriou Aug 15, 2025
6407b91
Merge remote-tracking branch 'origin/master' into sset-nondegenerate-…
joelriou Sep 29, 2025
c1e3f58
better syntax
joelriou Sep 29, 2025
ac64e98
Merge remote-tracking branch 'origin/sset-nondegenerate-simplices' in…
joelriou Oct 1, 2025
a826935
Merge remote-tracking branch 'origin/master' into sset-nondegenerate-…
joelriou Oct 8, 2025
8c52040
suggestions by dagurtomas
joelriou Oct 8, 2025
024f498
Merge remote-tracking branch 'origin/master' into sset-nondegenerate-…
joelriou Oct 9, 2025
c8acb3d
Merge remote-tracking branch 'origin/sset-nondegenerate-simplices' in…
joelriou Oct 9, 2025
36babbe
Merge remote-tracking branch 'origin/master' into sset-nondegenerate-…
joelriou Oct 9, 2025
e6c7805
Merge remote-tracking branch 'origin/sset-nondegenerate-simplices-sub…
joelriou Oct 9, 2025
31c6dfc
typos
joelriou Oct 9, 2025
4a48ece
Merge remote-tracking branch 'origin/moss-pairing' into moss-pairing-…
joelriou Oct 9, 2025
aea8117
typo
joelriou Oct 9, 2025
b5b607f
fixed references.bib
joelriou Oct 9, 2025
db2c4a7
Merge remote-tracking branch 'origin/moss-pairing' into moss-pairing-…
joelriou Oct 9, 2025
b0328d8
Merge remote-tracking branch 'origin/moss-pairing-core' into moss-pai…
joelriou Oct 9, 2025
2213a83
Merge remote-tracking branch 'origin/moss-pairing-rank-function' into…
joelriou Oct 9, 2025
0f96e03
fix
joelriou Oct 9, 2025
a6b8f29
Merge remote-tracking branch 'origin/moss-pairing-core' into moss-pai…
joelriou Oct 9, 2025
2e11888
fix
joelriou Oct 9, 2025
e7c936f
Merge remote-tracking branch 'origin/moss-pairing-rank-function' into…
joelriou Oct 9, 2025
4beab6c
fix
joelriou Oct 9, 2025
73bcff7
Merge remote-tracking branch 'origin/master' into moss-pairing
joelriou Oct 22, 2025
fe66d54
Merge remote-tracking branch 'origin/moss-pairing' into moss-pairing-…
joelriou Oct 22, 2025
d24d126
Merge remote-tracking branch 'origin/moss-pairing-core' into moss-pai…
joelriou Oct 22, 2025
62206d7
Merge remote-tracking branch 'origin/moss-pairing-rank-function' into…
joelriou Oct 22, 2025
67cedca
Merge remote-tracking branch 'origin/moss-pairing-rank-function-nat' …
joelriou Oct 22, 2025
8daa67c
wip
joelriou Oct 22, 2025
2f2ee29
wip
joelriou Oct 22, 2025
cc39a42
Merge remote-tracking branch 'origin/master' into moss-pairing-core
joelriou Oct 29, 2025
b44244b
Merge remote-tracking branch 'origin/master' into moss-pairing-core
joelriou Nov 2, 2025
c2be18b
Merge remote-tracking branch 'origin/moss-pairing-core' into moss-pai…
joelriou Nov 2, 2025
41b730b
Merge remote-tracking branch 'origin/moss-pairing-rank-function' into…
joelriou Nov 2, 2025
7deedd0
Merge remote-tracking branch 'origin/moss-pairing-rank-function-nat' …
joelriou Nov 2, 2025
49c7436
Merge remote-tracking branch 'origin/master' into moss-pairing-rank-f…
joelriou Nov 9, 2025
e53953e
Merge remote-tracking branch 'origin/moss-pairing-rank-function' into…
joelriou Nov 9, 2025
297650f
Merge remote-tracking branch 'origin/master' into moss-pairing-rank-f…
joelriou Nov 19, 2025
70ea767
Merge remote-tracking branch 'origin/moss-pairing-rank-function' into…
joelriou Nov 19, 2025
497de49
fix
joelriou Nov 19, 2025
1ec2547
Merge remote-tracking branch 'origin/moss-pairing-rank-function-nat' …
joelriou Nov 20, 2025
82c3549
wip
joelriou Nov 20, 2025
f64c4f2
Merge remote-tracking branch 'origin/master' into moss-pairing-rank-f…
joelriou Nov 26, 2025
748d4d9
Merge remote-tracking branch 'origin/master' into moss-pairing-rank-f…
joelriou Nov 27, 2025
82bfb4d
Merge remote-tracking branch 'origin/moss-pairing-rank-function-nat' …
joelriou Nov 27, 2025
d260aa1
wip
joelriou Nov 27, 2025
9b7a240
wip
joelriou Nov 27, 2025
cbba3d4
Merge remote-tracking branch 'origin/master' into moss-pairing-relati…
joelriou Nov 27, 2025
ad229f2
feat(CategoryTheory): improve API for limits in preorders
joelriou Nov 27, 2025
a5a57af
feat(CategoryTheory/Limits/Types): more results on pushout squares
joelriou Nov 27, 2025
5f770fa
better syntax
joelriou Nov 27, 2025
cd5156f
trying to reduce imports
joelriou Nov 27, 2025
c061ef5
fix names
joelriou Nov 27, 2025
6f7a9f6
fix
joelriou Nov 27, 2025
845244d
Merge remote-tracking branch 'origin/preorder-limits' into moss-pairi…
joelriou Nov 28, 2025
bc98fe9
Merge remote-tracking branch 'origin/types-pushout-more' into moss-pa…
joelriou Nov 28, 2025
7632433
wip
joelriou Nov 28, 2025
298ca20
Merge remote-tracking branch 'origin/master' into moss-pairing-relati…
joelriou Dec 1, 2025
f9c4a69
Merge remote-tracking branch 'origin/master' into moss-pairing-relati…
joelriou Dec 2, 2025
932ac78
Merge remote-tracking branch 'origin/master' into moss-pairing-relati…
joelriou Dec 6, 2025
f4b069d
wip
joelriou Dec 6, 2025
8c5f004
Merge remote-tracking branch 'origin/master' into moss-pairing-relati…
joelriou Dec 15, 2025
b3c73fe
Merge remote-tracking branch 'origin/master' into moss-pairing-relati…
joelriou Dec 24, 2025
778f1df
lemmas about the dimension
joelriou Dec 24, 2025
ef0b74c
Merge remote-tracking branch 'origin/master' into moss-pairing-relati…
joelriou Mar 5, 2026
5579803
fix
joelriou Mar 5, 2026
bfcc386
Merge remote-tracking branch 'origin/master' into moss-pairing-relati…
joelriou Mar 26, 2026
6ac5010
wip
joelriou Mar 26, 2026
3ddb24f
Merge remote-tracking branch 'origin/master' into moss-pairing-relati…
joelriou Mar 27, 2026
9449aa3
wip
joelriou Mar 27, 2026
d810afc
wip
joelriou Mar 27, 2026
6ea70dd
wip
joelriou Mar 27, 2026
7809944
wip
joelriou Mar 27, 2026
1d56f5c
wip
joelriou Mar 27, 2026
8b8aa03
wip
joelriou Mar 28, 2026
769b815
wip
joelriou Mar 28, 2026
665ce6b
moved lemmas
joelriou Mar 28, 2026
d062934
docstrings
joelriou Mar 28, 2026
d93dfc5
wip
joelriou Mar 28, 2026
4511fd3
wip
joelriou Mar 28, 2026
ade16f5
docstrings
joelriou Mar 28, 2026
a1b1644
feat(AlgebraicTopology/SimplicialSet): anodyne extensions
joelriou Mar 28, 2026
2ccd8e1
updated Mathlib.lean
joelriou Mar 28, 2026
6b3cd49
wip
joelriou Mar 29, 2026
40ec110
removed sorry
joelriou Mar 29, 2026
14dbc63
cleaning up
joelriou Mar 29, 2026
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: 3 additions & 0 deletions Mathlib.lean
Original file line number Diff line number Diff line change
Expand Up @@ -1499,11 +1499,13 @@ public import Mathlib.AlgebraicTopology.SimplicialObject.Homotopy
public import Mathlib.AlgebraicTopology.SimplicialObject.II
public import Mathlib.AlgebraicTopology.SimplicialObject.Op
public import Mathlib.AlgebraicTopology.SimplicialObject.Split
public import Mathlib.AlgebraicTopology.SimplicialSet.AnodyneExtensions.Basic
public import Mathlib.AlgebraicTopology.SimplicialSet.AnodyneExtensions.IsUniquelyCodimOneFace
public import Mathlib.AlgebraicTopology.SimplicialSet.AnodyneExtensions.Pairing
public import Mathlib.AlgebraicTopology.SimplicialSet.AnodyneExtensions.PairingCore
public import Mathlib.AlgebraicTopology.SimplicialSet.AnodyneExtensions.Rank
public import Mathlib.AlgebraicTopology.SimplicialSet.AnodyneExtensions.RankNat
public import Mathlib.AlgebraicTopology.SimplicialSet.AnodyneExtensions.RelativeCellComplex
public import Mathlib.AlgebraicTopology.SimplicialSet.Basic
public import Mathlib.AlgebraicTopology.SimplicialSet.Boundary
public import Mathlib.AlgebraicTopology.SimplicialSet.CategoryWithFibrations
Expand Down Expand Up @@ -1543,6 +1545,7 @@ public import Mathlib.AlgebraicTopology.SimplicialSet.StdSimplexOne
public import Mathlib.AlgebraicTopology.SimplicialSet.StrictSegal
public import Mathlib.AlgebraicTopology.SimplicialSet.Subcomplex
public import Mathlib.AlgebraicTopology.SimplicialSet.SubcomplexColimits
public import Mathlib.AlgebraicTopology.SimplicialSet.SubcomplexEvaluation
public import Mathlib.AlgebraicTopology.SimplicialSet.TopAdj
public import Mathlib.AlgebraicTopology.SingularHomology.Basic
public import Mathlib.AlgebraicTopology.SingularHomology.HomotopyInvariance
Expand Down
169 changes: 169 additions & 0 deletions Mathlib/AlgebraicTopology/SimplicialSet/AnodyneExtensions/Basic.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
/-
Copyright (c) 2026 Joël Riou. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joël Riou
-/
module

public import Mathlib.AlgebraicTopology.SimplicialSet.AnodyneExtensions.RankNat
public import Mathlib.AlgebraicTopology.SimplicialSet.AnodyneExtensions.RelativeCellComplex
public import Mathlib.AlgebraicTopology.SimplicialSet.CategoryWithFibrations
public import Mathlib.AlgebraicTopology.SimplicialSet.Presentable
public import Mathlib.CategoryTheory.SmallObject.Basic

/-!
# Anodyne extensions

Anodyne extensions form a property of morphisms in the category of simplicial
sets. It contains horn inclusions and it is closed under coproducts, pushouts,
transfinite compositions and retracts. Equivalently, using the small
object argument, anodyne extensions can be defined (and are defined here)
as the class of morphisms that satisfy the left lifting property with respect
to the class of fibrations (for the Quillen model category structure:
fibrations are morphisms that have the right lifting property with respect
to horn inclusions). When the Quillen model category structure is fully
upstreamed (TODO @joelriou), it can be shown that a morphism `f` is an
anodyne extension iff `f` is a cofibration that is also a weak equivalence.

We also introduce the class of strong anodyne extensions that could be defined
as a closure similarly as anodyne extensions, but without taking the closure
under retracts. Sean Moss has given a combinatorial description of these
strong anodyne extensions: the inclusion `A.ι : A ⟶ X` of a subcomplex `A`
of a simplicial set `X` is a strong anodyne extension iff there exists
a regular pairing for `A`. In this file, we define strong anodyne extensions
in terms of such regular pairings, and using the main result of the file
`Mathlib/AlgebraicTopology/SimplicialSet/AnodyneExtensions/RelativeCellComplex.lean`
we show that a strong anodyne extension is an anodyne extension.

## TODO
* introduce inner variants of these definitions
* show that strong anodyne extensions are indeed stable under coproducts,
transfinite compositions and pushouts (the proof should reduce to the
construction of pairings)
* use the small object argument to show that any anodyne extensions is indeed
a retract of a transfinite composition of pushouts of coproducts of horn
inclusions (@joelriou)
* study the interaction between anodyne extension and binary products:
the critical case consists in showing that inclusions
`Λ[m, i] ⊗ Δ[n] ∪ Δ[m] ⊗ ∂Δ[n] ⟶ Δ[m] ⊗ Δ[n]` are strong anodyne extensions (@joelriou)
* show that anodyne extensions are stable under the subdivision functor (@joelriou)

## References
* [P. Gabriel, M. Zisman, *Calculus of fractions and homotopy theory*, IV.2][gabriel-zisman-1967]
* [Sean Moss, *Another approach to the Kan-Quillen model structure*][moss-2020]

-/

@[expose] public section

universe u

open CategoryTheory HomotopicalAlgebra Simplicial

namespace SSet

open MorphismProperty

open modelCategoryQuillen in
/-- In the category of simplicial sets, an anodyne extension is a morphism
that has the left lifting property with respect to fibrations, where
a fibration is a morphism that has the right lifting property with respect
to horn inclusions. We do not introduce a typeclass for anodyne extensions
because when the Quillen model structure is fully upstreamed (TODO 0joelriou),
the assumption `anodyneExtensions f` can be spelled as
`[Cofibration f] [WeakEquivalence f]`. -/
def anodyneExtensions : MorphismProperty SSet.{u} := (fibrations _).llp
deriving IsMultiplicative, RespectsIso, IsStableUnderCobaseChange,
IsStableUnderRetracts, IsStableUnderTransfiniteComposition,
IsStableUnderCoproducts

lemma anodyneExtensions.of_isIso {X Y : SSet.{u}} (f : X ⟶ Y) [IsIso f] :
anodyneExtensions f :=
MorphismProperty.of_isIso anodyneExtensions f

lemma anodyneExtensions_eq_llp_rlp :
anodyneExtensions.{u} = modelCategoryQuillen.J.rlp.llp :=
rfl

lemma anodyneExtensions.horn_ι {n : ℕ} [NeZero n] (i : Fin (n + 1)) :
anodyneExtensions.{u} Λ[n, i].ι := by
rw [anodyneExtensions_eq_llp_rlp]
exact le_llp_rlp _ _ (modelCategoryQuillen.horn_ι_mem_J n i)

attribute [local instance] Cardinal.fact_isRegular_aleph0
Cardinal.orderBotAleph0OrdToType

instance (n : ℕ) : MorphismProperty.IsSmall.{u}
(MorphismProperty.ofHoms.{u} (fun (i : Fin (n + 2)) ↦ Λ[n + 1, i].ι)) :=
isSmall_ofHoms ..

instance : MorphismProperty.IsSmall.{u} modelCategoryQuillen.J.{u} :=
isSmall_iSup ..

instance : IsCardinalForSmallObjectArgument modelCategoryQuillen.J.{u} Cardinal.aleph0.{u} where
preservesColimit {A B X Y} i hi f hf := by
have : IsFinitelyPresentable.{u} A := by
simp only [modelCategoryQuillen.J, iSup_iff] at hi
obtain ⟨n, ⟨i⟩⟩ := hi
infer_instance
infer_instance

instance : HasSmallObjectArgument.{u} modelCategoryQuillen.J.{u} :=
⟨.aleph0, inferInstance, inferInstance, inferInstance⟩

lemma anodyneExtensions_eq_retracts_transfiniteCompositions :
anodyneExtensions = (transfiniteCompositions.{u}
(coproducts.{u} modelCategoryQuillen.J.{u}).pushouts).retracts := by
rw [anodyneExtensions_eq_llp_rlp, llp_rlp_of_hasSmallObjectArgument]

lemma anodyneExtensions_eq_retracts_transfiniteCompositionsOfShape :
anodyneExtensions = (transfiniteCompositionsOfShape
(coproducts.{u} modelCategoryQuillen.J.{u}).pushouts ℕ).retracts := by
rw [anodyneExtensions_eq_llp_rlp,
SmallObject.llp_rlp_of_isCardinalForSmallObjectArgument_aleph0]

/-- In the category of simplicial sets, a strong anodyne extension is a morphism
which belongs to the closure of horn inclusions by pushouts, coproducts,
transfinite compositions (but not by retracts). We define this class here
by saying that `f : X ⟶ Y` is a strong anodyne extension if `f` is a monomorphism
and there exists a regular pairing (in the sense of Moss) for the subcomplex
`Subcomplex.range f` of `Y`. -/
def strongAnodyneExtensions : MorphismProperty SSet.{u} :=
fun _ _ f ↦ Mono f ∧ ∃ (P : (Subcomplex.range f).Pairing), P.IsRegular

lemma Subcomplex.Pairing.strongAnodyneExtensions {X : SSet.{u}} {A : X.Subcomplex}
(P : A.Pairing) [P.IsRegular] :
strongAnodyneExtensions A.ι :=
⟨inferInstance, by
generalize h : Subcomplex.range A.ι = B
obtain rfl : B = A := by simpa using h.symm
exact ⟨P, inferInstance⟩⟩

lemma strongAnodyneExtensions_ι_iff {X : SSet.{u}} (A : X.Subcomplex) :
strongAnodyneExtensions A.ι ↔ ∃ (P : A.Pairing), P.IsRegular :=
⟨fun hA ↦ by
obtain ⟨_, P, _, rfl⟩ :
∃ (B : X.Subcomplex) (P : B.Pairing), P.IsRegular ∧ B = A := by
obtain ⟨_, P, _⟩ := hA
exact ⟨_, P, inferInstance, by simp⟩
exact ⟨P, inferInstance⟩,
fun ⟨P, _⟩ ↦ P.strongAnodyneExtensions⟩

lemma Subcomplex.Pairing.anodyneExtensions {X : SSet.{u}} {A : X.Subcomplex}
(P : A.Pairing) [P.IsRegular] :
anodyneExtensions A.ι :=
transfiniteCompositionsOfShape_le _ _ _
⟨P.rankFunction.relativeCellComplex.toTransfiniteCompositionOfShape, fun j hj ↦ by
refine (?_ : (_ : MorphismProperty _) ≤ _ ) _
(P.rankFunction.relativeCellComplex.attachCells j hj).pushouts_coproducts
simp only [pushouts_le_iff, coproducts_le_iff]
rintro _ _ _ ⟨c⟩
exact .horn_ι c.index⟩

lemma strongAnodyneExtensions_le_anodyneExtensions :
strongAnodyneExtensions.{u} ≤ anodyneExtensions := by
rintro X Y f ⟨_, P, _⟩
rw [← Subfunctor.toRange_ι f]
exact comp_mem _ _ _ (.of_isIso _) P.anodyneExtensions

end SSet
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,21 @@ lemma δ_eq_iff (i : Fin (d + 2)) :
⟨fun h ↦ (hxy.existsUnique_δ_cast_simplex hd).unique h (hxy.δ_index hd),
by rintro rfl; apply δ_index⟩

include hxy in
lemma le : x ≤ y := by
have := hxy.δ_index rfl
simp only [cast_simplex_rfl] at this
rw [S.le_def, ← y.subcomplex_cast hxy.dim_eq, Subfunctor.ofSection_le_iff,
← this]
exact ⟨(SimplexCategory.δ _).op, rfl⟩

set_option backward.isDefEq.respectTransparency false in
include hxy in
lemma unique (f : ⦋d⦌ ⟶ ⦋d + 1⦌) [Mono f]
(hf : X.map f.op (y.cast (by rw [hxy.dim_eq, hd])).simplex = (x.cast hd).simplex) :
f = SimplexCategory.δ (hxy.index hd) :=
(hxy.cast hd).2.unique ⟨inferInstance, hf⟩ ⟨inferInstance, hxy.δ_index hd⟩

end

end IsUniquelyCodimOneFace
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,14 @@ lemma ne (x : P.I) (y : P.II) :
have : x ∈ P.I ∩ P.II := ⟨hx, hy⟩
simp [P.inter] at this

lemma le [P.IsProper] (x : P.II) :
x.1 ≤ (P.p x).1 :=
(P.isUniquelyCodimOneFace x).le

lemma lt [P.IsProper] (x : P.II) :
x.1 < (P.p x).1 :=
lt_of_le_of_ne' (P.le x) (P.ne _ _)

end Pairing

end SSet.Subcomplex
Loading
Loading