@@ -1699,7 +1699,7 @@ Qed.
16991699End rectangle.
17001700
17011701Definition preimage_set_system {aT rT : Type } (D : set aT) (f : aT -> rT)
1702- (G : set_system rT) : set (set aT) :=
1702+ (G : set_system rT) : set_system aT :=
17031703 [set D `&` f @^-1` B | B in G].
17041704
17051705Lemma preimage_set_system0 {aT rT : Type } (D : set aT) (f : aT -> rT) :
@@ -1720,7 +1720,7 @@ apply/seteqP; split=> [_ [B FB] <-|_ [_ [C FC <-] <-]].
17201720by exists C => //; rewrite setTI comp_preimage.
17211721Qed .
17221722
1723- Lemma preimage_set_system_id {aT : Type } (D : set aT) (F : set (set aT) ) :
1723+ Lemma preimage_set_system_id {aT : Type } (D : set aT) (F : set_system aT ) :
17241724 preimage_set_system D idfun F = setI D @` F.
17251725Proof . by []. Qed .
17261726
@@ -1730,7 +1730,7 @@ Lemma preimage_set_systemS {T1 T2} (A B : set_system T2) (f : T1 -> T2) :
17301730Proof . by move=> AB _ [C ? <-]; exists C => //; exact: AB. Qed .
17311731
17321732Definition image_set_system (aT rT : Type ) (D : set aT) (f : aT -> rT)
1733- (G : set (set aT)) : set (set rT) :=
1733+ (G : set_system aT) : set_system rT :=
17341734 [set B : set rT | G (D `&` f @^-1` B)].
17351735
17361736Section cross.
@@ -1746,15 +1746,15 @@ End cross.
17461746Definition cross12 {T1 T2 : Type} := @cross (T1 * T2)%type T1 T2 fst snd.
17471747Notation "A `x` B" := (cross12 A B) : classical_set_scope.
17481748
1749- Lemma subKimage {T T'} {P : set (set T') } (f : T -> T') (g : T' -> T) :
1749+ Lemma subKimage {T T'} {P : set_system T' } (f : T -> T') (g : T' -> T) :
17501750 cancel f g -> [set A | P (f @` A)] `<=` [set g @` A | A in P].
17511751Proof . by move=> ? A; exists (f @` A); rewrite ?image_comp ?eq_image_id/=. Qed .
17521752
1753- Lemma subimageK T T' (P : set (set T') ) (f : T -> T') (g : T' -> T) :
1753+ Lemma subimageK T T' (P : set_system T' ) (f : T -> T') (g : T' -> T) :
17541754 cancel g f -> [set g @` A | A in P] `<=` [set A | P (f @` A)].
17551755Proof . by move=> gK _ [B /= ? <-]; rewrite image_comp eq_image_id/=. Qed .
17561756
1757- Lemma eq_imageK {T T'} {P : set (set T') } (f : T -> T') (g : T' -> T) :
1757+ Lemma eq_imageK {T T'} {P : set_system T' } (f : T -> T') (g : T' -> T) :
17581758 cancel f g -> cancel g f ->
17591759 [set g @` A | A in P] = [set A | P (f @` A)].
17601760Proof .
@@ -3009,10 +3009,10 @@ Qed.
30093009End Zorn.
30103010
30113011Section Zorn_subset.
3012- Variables (T : Type) (P : set (set T) ).
3012+ Variables (T : Type) (P : set_system T ).
30133013
30143014Lemma Zorn_bigcup :
3015- (forall F : set (set T) , F `<=` P -> total_on F subset ->
3015+ (forall F : set_system T , F `<=` P -> total_on F subset ->
30163016 P (\bigcup_(X in F) X)) ->
30173017 exists A, P A /\ forall B, A `<` B -> ~ P B.
30183018Proof .
@@ -3049,7 +3049,7 @@ Variables (B : I -> set T) (D : set I).
30493049
30503050Let P := fun X => X `<=` D /\ trivIset X B.
30513051
3052- Let maxP (A : set (set I) ) :
3052+ Let maxP (A : set_system I ) :
30533053 A `<=` P -> total_on A (fun x y => x `<=` y) -> P (\bigcup_(x in A) x).
30543054Proof .
30553055move=> AP h; split; first by apply: bigcup_sub => E /AP [].
@@ -3223,30 +3223,28 @@ rewrite -Order.TotalTheory.ltNge => kn.
32233223by rewrite (Order.POrderTheory.le_trans _ (Am _ Ak)).
32243224Qed .
32253225
3226- Definition meets T (F G : set (set T) ) :=
3226+ Definition meets T (F G : set_system T ) :=
32273227 forall A B, F A -> G B -> A `&` B !=set0.
32283228
32293229Notation "F `#` G" := (meets F G) : classical_set_scope.
32303230
32313231Section meets.
32323232
3233- Lemma meetsC T (F G : set (set T) ) : F `#` G = G `#` F.
3233+ Lemma meetsC T (F G : set_system T ) : F `#` G = G `#` F.
32343234Proof .
32353235gen have sFG : F G / F `#` G -> G `#` F.
32363236 by move=> FG B A => /FG; rewrite setIC; apply.
32373237by rewrite propeqE; split; apply: sFG.
32383238Qed .
32393239
3240- Lemma sub_meets T (F F' G G' : set (set T) ) :
3240+ Lemma sub_meets T (F F' G G' : set_system T ) :
32413241 F `<=` F' -> G `<=` G' -> F' `#` G' -> F `#` G.
32423242Proof . by move=> sF sG FG A B /sF FA /sG GB; apply: (FG A B). Qed .
32433243
3244- Lemma meetsSr T (F G G' : set (set T)) :
3245- G `<=` G' -> F `#` G' -> F `#` G.
3244+ Lemma meetsSr T (F G G' : set_system T) : G `<=` G' -> F `#` G' -> F `#` G.
32463245Proof . exact: sub_meets. Qed .
32473246
3248- Lemma meetsSl T (G F F' : set (set T)) :
3249- F `<=` F' -> F' `#` G -> F `#` G.
3247+ Lemma meetsSl T (G F F' : set_system T) : F `<=` F' -> F' `#` G -> F `#` G.
32503248Proof . by move=> /sub_meets; apply. Qed .
32513249
32523250End meets.
0 commit comments