@@ -77,6 +77,9 @@ instance : LE (PreAbstractSimplicialComplex ι) where
7777instance : LT (PreAbstractSimplicialComplex ι) where
7878 lt K L := K.faces ⊂ L.faces
7979
80+ instance : IsConcreteLE (PreAbstractSimplicialComplex ι) (Finset ι) where
81+ coe_subset_coe' := .rfl
82+
8083instance : PartialOrder (PreAbstractSimplicialComplex ι) :=
8184 PartialOrder.lift (fun K => K.faces) (fun _ _ => PreAbstractSimplicialComplex.ext)
8285
@@ -102,12 +105,12 @@ instance : Bot (PreAbstractSimplicialComplex ι) where
102105 isRelLowerSet_faces := isRelLowerSet_empty }
103106
104107instance : CompleteSemilatticeSup (PreAbstractSimplicialComplex ι) where
105- le_sSup _ _ hK := Set.subset_biUnion_of_mem hK
106- sSup_le _ _ hK := Set.iUnion₂_subset hK
108+ isLUB_sSup _ := .of_image SetLike.coe_subset_coe isLUB_biSup
107109
108110instance : CompleteSemilatticeInf (PreAbstractSimplicialComplex ι) where
109- sInf_le _ _ hK := Set.inter_subset_left.trans (Set.biInter_subset_of_mem hK)
110- le_sInf _ K hK _ ht := ⟨Set.mem_iInter₂.mpr fun L hL => hK L hL ht, (K.isRelLowerSet_faces ht).1 ⟩
111+ isGLB_sInf _ :=
112+ ⟨fun _ hK ↦ Set.inter_subset_left.trans (Set.biInter_subset_of_mem hK),
113+ fun K hK _ ht ↦ ⟨Set.mem_iInter₂.mpr fun _ hL => hK hL ht, (K.isRelLowerSet_faces ht).1 ⟩⟩
111114
112115instance : CompleteLattice (PreAbstractSimplicialComplex ι) where
113116 inf := min
@@ -198,6 +201,9 @@ instance : LE (AbstractSimplicialComplex ι) where
198201instance : LT (AbstractSimplicialComplex ι) where
199202 lt K L := K.faces ⊂ L.faces
200203
204+ instance : IsConcreteLE (AbstractSimplicialComplex ι) (Finset ι) where
205+ coe_subset_coe' := .rfl
206+
201207instance : PartialOrder (AbstractSimplicialComplex ι) :=
202208 PartialOrder.lift (fun K => K.faces) (fun _ _ => AbstractSimplicialComplex.ext)
203209
@@ -260,20 +266,24 @@ instance : Bot (AbstractSimplicialComplex ι) where
260266 singleton_mem v := ⟨v, rfl⟩ }
261267
262268instance : CompleteSemilatticeSup (AbstractSimplicialComplex ι) where
263- le_sSup _ K hK _ ht := Or.inl (Set.mem_biUnion hK ht)
264- sSup_le _ L hL _ ht := by
265- cases ht with
266- | inl ht =>
267- simp only [Set.mem_iUnion] at ht
268- obtain ⟨K, hK, htK⟩ := ht
269- exact hL K hK htK
270- | inr ht =>
271- obtain ⟨v, hv⟩ := ht
272- exact hv ▸ L.singleton_mem v
269+ isLUB_sSup _ := by
270+ constructor
271+ · intro K hK _ ht
272+ exact Or.inl (Set.mem_biUnion hK ht)
273+ · intro L hL _ ht
274+ cases ht with
275+ | inl ht =>
276+ simp only [Set.mem_iUnion] at ht
277+ obtain ⟨K, hK, htK⟩ := ht
278+ exact hL hK htK
279+ | inr ht =>
280+ obtain ⟨v, hv⟩ := ht
281+ exact hv ▸ L.singleton_mem v
273282
274283instance : CompleteSemilatticeInf (AbstractSimplicialComplex ι) where
275- sInf_le _ _ hK := Set.inter_subset_left.trans (Set.biInter_subset_of_mem hK)
276- le_sInf _ K hK _ ht := ⟨Set.mem_iInter₂.mpr fun L hL => hK L hL ht, (K.isRelLowerSet_faces ht).1 ⟩
284+ isGLB_sInf _ :=
285+ ⟨fun _ hK ↦ Set.inter_subset_left.trans (Set.biInter_subset_of_mem hK),
286+ fun K hK _ ht ↦ ⟨Set.mem_iInter₂.mpr fun _ hL => hK hL ht, (K.isRelLowerSet_faces ht).1 ⟩⟩
277287
278288instance : CompleteLattice (AbstractSimplicialComplex ι) where
279289 inf := min
0 commit comments