Users' Mathboxes Mathbox for Glauco Siliprandi < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  dfsalgen2 Structured version   Visualization version   GIF version

Theorem dfsalgen2 43770
Description: Alternate characterization of the sigma-algebra generated by a set. It is the smallest sigma-algebra, on the same base set, that includes the set. (Contributed by Glauco Siliprandi, 3-Jan-2021.)
Hypothesis
Ref Expression
dfsalgen2.1 (𝜑𝑋𝑉)
Assertion
Ref Expression
dfsalgen2 (𝜑 → ((SalGen‘𝑋) = 𝑆 ↔ ((𝑆 ∈ SAlg ∧ 𝑆 = 𝑋𝑋𝑆) ∧ ∀𝑦 ∈ SAlg (( 𝑦 = 𝑋𝑋𝑦) → 𝑆𝑦))))
Distinct variable groups:   𝑦,𝑆   𝑦,𝑋   𝜑,𝑦
Allowed substitution hint:   𝑉(𝑦)

Proof of Theorem dfsalgen2
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 id 22 . . . . . . . 8 ((SalGen‘𝑋) = 𝑆 → (SalGen‘𝑋) = 𝑆)
21eqcomd 2744 . . . . . . 7 ((SalGen‘𝑋) = 𝑆𝑆 = (SalGen‘𝑋))
32adantl 481 . . . . . 6 ((𝜑 ∧ (SalGen‘𝑋) = 𝑆) → 𝑆 = (SalGen‘𝑋))
4 dfsalgen2.1 . . . . . . . 8 (𝜑𝑋𝑉)
5 salgencl 43761 . . . . . . . 8 (𝑋𝑉 → (SalGen‘𝑋) ∈ SAlg)
64, 5syl 17 . . . . . . 7 (𝜑 → (SalGen‘𝑋) ∈ SAlg)
76adantr 480 . . . . . 6 ((𝜑 ∧ (SalGen‘𝑋) = 𝑆) → (SalGen‘𝑋) ∈ SAlg)
83, 7eqeltrd 2839 . . . . 5 ((𝜑 ∧ (SalGen‘𝑋) = 𝑆) → 𝑆 ∈ SAlg)
9 unieq 4847 . . . . . . 7 ((SalGen‘𝑋) = 𝑆 (SalGen‘𝑋) = 𝑆)
109adantl 481 . . . . . 6 ((𝜑 ∧ (SalGen‘𝑋) = 𝑆) → (SalGen‘𝑋) = 𝑆)
114adantr 480 . . . . . . 7 ((𝜑 ∧ (SalGen‘𝑋) = 𝑆) → 𝑋𝑉)
12 eqid 2738 . . . . . . 7 (SalGen‘𝑋) = (SalGen‘𝑋)
13 eqid 2738 . . . . . . 7 𝑋 = 𝑋
1411, 12, 13salgenuni 43766 . . . . . 6 ((𝜑 ∧ (SalGen‘𝑋) = 𝑆) → (SalGen‘𝑋) = 𝑋)
1510, 14eqtr3d 2780 . . . . 5 ((𝜑 ∧ (SalGen‘𝑋) = 𝑆) → 𝑆 = 𝑋)
1612sssalgen 43764 . . . . . . 7 (𝑋𝑉𝑋 ⊆ (SalGen‘𝑋))
1711, 16syl 17 . . . . . 6 ((𝜑 ∧ (SalGen‘𝑋) = 𝑆) → 𝑋 ⊆ (SalGen‘𝑋))
18 simpr 484 . . . . . 6 ((𝜑 ∧ (SalGen‘𝑋) = 𝑆) → (SalGen‘𝑋) = 𝑆)
1917, 18sseqtrd 3957 . . . . 5 ((𝜑 ∧ (SalGen‘𝑋) = 𝑆) → 𝑋𝑆)
208, 15, 193jca 1126 . . . 4 ((𝜑 ∧ (SalGen‘𝑋) = 𝑆) → (𝑆 ∈ SAlg ∧ 𝑆 = 𝑋𝑋𝑆))
213ad2antrr 722 . . . . . . . 8 ((((𝜑 ∧ (SalGen‘𝑋) = 𝑆) ∧ 𝑦 ∈ SAlg) ∧ 𝑋𝑦) → 𝑆 = (SalGen‘𝑋))
2221adantrl 712 . . . . . . 7 ((((𝜑 ∧ (SalGen‘𝑋) = 𝑆) ∧ 𝑦 ∈ SAlg) ∧ ( 𝑦 = 𝑋𝑋𝑦)) → 𝑆 = (SalGen‘𝑋))
2311ad2antrr 722 . . . . . . . . 9 ((((𝜑 ∧ (SalGen‘𝑋) = 𝑆) ∧ 𝑦 ∈ SAlg) ∧ 𝑋𝑦) → 𝑋𝑉)
2423adantrl 712 . . . . . . . 8 ((((𝜑 ∧ (SalGen‘𝑋) = 𝑆) ∧ 𝑦 ∈ SAlg) ∧ ( 𝑦 = 𝑋𝑋𝑦)) → 𝑋𝑉)
25 simplr 765 . . . . . . . . 9 ((((𝜑 ∧ (SalGen‘𝑋) = 𝑆) ∧ 𝑦 ∈ SAlg) ∧ 𝑋𝑦) → 𝑦 ∈ SAlg)
2625adantrl 712 . . . . . . . 8 ((((𝜑 ∧ (SalGen‘𝑋) = 𝑆) ∧ 𝑦 ∈ SAlg) ∧ ( 𝑦 = 𝑋𝑋𝑦)) → 𝑦 ∈ SAlg)
27 simpr 484 . . . . . . . . 9 ((((𝜑 ∧ (SalGen‘𝑋) = 𝑆) ∧ 𝑦 ∈ SAlg) ∧ 𝑋𝑦) → 𝑋𝑦)
2827adantrl 712 . . . . . . . 8 ((((𝜑 ∧ (SalGen‘𝑋) = 𝑆) ∧ 𝑦 ∈ SAlg) ∧ ( 𝑦 = 𝑋𝑋𝑦)) → 𝑋𝑦)
29 simprl 767 . . . . . . . 8 ((((𝜑 ∧ (SalGen‘𝑋) = 𝑆) ∧ 𝑦 ∈ SAlg) ∧ ( 𝑦 = 𝑋𝑋𝑦)) → 𝑦 = 𝑋)
3024, 12, 26, 28, 29salgenss 43765 . . . . . . 7 ((((𝜑 ∧ (SalGen‘𝑋) = 𝑆) ∧ 𝑦 ∈ SAlg) ∧ ( 𝑦 = 𝑋𝑋𝑦)) → (SalGen‘𝑋) ⊆ 𝑦)
3122, 30eqsstrd 3955 . . . . . 6 ((((𝜑 ∧ (SalGen‘𝑋) = 𝑆) ∧ 𝑦 ∈ SAlg) ∧ ( 𝑦 = 𝑋𝑋𝑦)) → 𝑆𝑦)
3231ex 412 . . . . 5 (((𝜑 ∧ (SalGen‘𝑋) = 𝑆) ∧ 𝑦 ∈ SAlg) → (( 𝑦 = 𝑋𝑋𝑦) → 𝑆𝑦))
3332ralrimiva 3107 . . . 4 ((𝜑 ∧ (SalGen‘𝑋) = 𝑆) → ∀𝑦 ∈ SAlg (( 𝑦 = 𝑋𝑋𝑦) → 𝑆𝑦))
3420, 33jca 511 . . 3 ((𝜑 ∧ (SalGen‘𝑋) = 𝑆) → ((𝑆 ∈ SAlg ∧ 𝑆 = 𝑋𝑋𝑆) ∧ ∀𝑦 ∈ SAlg (( 𝑦 = 𝑋𝑋𝑦) → 𝑆𝑦)))
3534ex 412 . 2 (𝜑 → ((SalGen‘𝑋) = 𝑆 → ((𝑆 ∈ SAlg ∧ 𝑆 = 𝑋𝑋𝑆) ∧ ∀𝑦 ∈ SAlg (( 𝑦 = 𝑋𝑋𝑦) → 𝑆𝑦))))
364adantr 480 . . . 4 ((𝜑 ∧ ((𝑆 ∈ SAlg ∧ 𝑆 = 𝑋𝑋𝑆) ∧ ∀𝑦 ∈ SAlg (( 𝑦 = 𝑋𝑋𝑦) → 𝑆𝑦))) → 𝑋𝑉)
37 simprl1 1216 . . . 4 ((𝜑 ∧ ((𝑆 ∈ SAlg ∧ 𝑆 = 𝑋𝑋𝑆) ∧ ∀𝑦 ∈ SAlg (( 𝑦 = 𝑋𝑋𝑦) → 𝑆𝑦))) → 𝑆 ∈ SAlg)
38 simprl2 1217 . . . 4 ((𝜑 ∧ ((𝑆 ∈ SAlg ∧ 𝑆 = 𝑋𝑋𝑆) ∧ ∀𝑦 ∈ SAlg (( 𝑦 = 𝑋𝑋𝑦) → 𝑆𝑦))) → 𝑆 = 𝑋)
39 simprl3 1218 . . . 4 ((𝜑 ∧ ((𝑆 ∈ SAlg ∧ 𝑆 = 𝑋𝑋𝑆) ∧ ∀𝑦 ∈ SAlg (( 𝑦 = 𝑋𝑋𝑦) → 𝑆𝑦))) → 𝑋𝑆)
40 unieq 4847 . . . . . . . . . . . . . . 15 (𝑦 = 𝑤 𝑦 = 𝑤)
4140eqeq1d 2740 . . . . . . . . . . . . . 14 (𝑦 = 𝑤 → ( 𝑦 = 𝑋 𝑤 = 𝑋))
42 sseq2 3943 . . . . . . . . . . . . . 14 (𝑦 = 𝑤 → (𝑋𝑦𝑋𝑤))
4341, 42anbi12d 630 . . . . . . . . . . . . 13 (𝑦 = 𝑤 → (( 𝑦 = 𝑋𝑋𝑦) ↔ ( 𝑤 = 𝑋𝑋𝑤)))
44 sseq2 3943 . . . . . . . . . . . . 13 (𝑦 = 𝑤 → (𝑆𝑦𝑆𝑤))
4543, 44imbi12d 344 . . . . . . . . . . . 12 (𝑦 = 𝑤 → ((( 𝑦 = 𝑋𝑋𝑦) → 𝑆𝑦) ↔ (( 𝑤 = 𝑋𝑋𝑤) → 𝑆𝑤)))
4645cbvralvw 3372 . . . . . . . . . . 11 (∀𝑦 ∈ SAlg (( 𝑦 = 𝑋𝑋𝑦) → 𝑆𝑦) ↔ ∀𝑤 ∈ SAlg (( 𝑤 = 𝑋𝑋𝑤) → 𝑆𝑤))
4746biimpi 215 . . . . . . . . . 10 (∀𝑦 ∈ SAlg (( 𝑦 = 𝑋𝑋𝑦) → 𝑆𝑦) → ∀𝑤 ∈ SAlg (( 𝑤 = 𝑋𝑋𝑤) → 𝑆𝑤))
4847adantr 480 . . . . . . . . 9 ((∀𝑦 ∈ SAlg (( 𝑦 = 𝑋𝑋𝑦) → 𝑆𝑦) ∧ 𝑤 ∈ SAlg) → ∀𝑤 ∈ SAlg (( 𝑤 = 𝑋𝑋𝑤) → 𝑆𝑤))
49 simpr 484 . . . . . . . . 9 ((∀𝑦 ∈ SAlg (( 𝑦 = 𝑋𝑋𝑦) → 𝑆𝑦) ∧ 𝑤 ∈ SAlg) → 𝑤 ∈ SAlg)
5048, 49jca 511 . . . . . . . 8 ((∀𝑦 ∈ SAlg (( 𝑦 = 𝑋𝑋𝑦) → 𝑆𝑦) ∧ 𝑤 ∈ SAlg) → (∀𝑤 ∈ SAlg (( 𝑤 = 𝑋𝑋𝑤) → 𝑆𝑤) ∧ 𝑤 ∈ SAlg))
51503ad2antr1 1186 . . . . . . 7 ((∀𝑦 ∈ SAlg (( 𝑦 = 𝑋𝑋𝑦) → 𝑆𝑦) ∧ (𝑤 ∈ SAlg ∧ 𝑤 = 𝑋𝑋𝑤)) → (∀𝑤 ∈ SAlg (( 𝑤 = 𝑋𝑋𝑤) → 𝑆𝑤) ∧ 𝑤 ∈ SAlg))
52 3simpc 1148 . . . . . . . 8 ((𝑤 ∈ SAlg ∧ 𝑤 = 𝑋𝑋𝑤) → ( 𝑤 = 𝑋𝑋𝑤))
5352adantl 481 . . . . . . 7 ((∀𝑦 ∈ SAlg (( 𝑦 = 𝑋𝑋𝑦) → 𝑆𝑦) ∧ (𝑤 ∈ SAlg ∧ 𝑤 = 𝑋𝑋𝑤)) → ( 𝑤 = 𝑋𝑋𝑤))
54 rspa 3130 . . . . . . 7 ((∀𝑤 ∈ SAlg (( 𝑤 = 𝑋𝑋𝑤) → 𝑆𝑤) ∧ 𝑤 ∈ SAlg) → (( 𝑤 = 𝑋𝑋𝑤) → 𝑆𝑤))
5551, 53, 54sylc 65 . . . . . 6 ((∀𝑦 ∈ SAlg (( 𝑦 = 𝑋𝑋𝑦) → 𝑆𝑦) ∧ (𝑤 ∈ SAlg ∧ 𝑤 = 𝑋𝑋𝑤)) → 𝑆𝑤)
5655adantll 710 . . . . 5 ((((𝑆 ∈ SAlg ∧ 𝑆 = 𝑋𝑋𝑆) ∧ ∀𝑦 ∈ SAlg (( 𝑦 = 𝑋𝑋𝑦) → 𝑆𝑦)) ∧ (𝑤 ∈ SAlg ∧ 𝑤 = 𝑋𝑋𝑤)) → 𝑆𝑤)
5756adantll 710 . . . 4 (((𝜑 ∧ ((𝑆 ∈ SAlg ∧ 𝑆 = 𝑋𝑋𝑆) ∧ ∀𝑦 ∈ SAlg (( 𝑦 = 𝑋𝑋𝑦) → 𝑆𝑦))) ∧ (𝑤 ∈ SAlg ∧ 𝑤 = 𝑋𝑋𝑤)) → 𝑆𝑤)
5836, 37, 38, 39, 57issalgend 43767 . . 3 ((𝜑 ∧ ((𝑆 ∈ SAlg ∧ 𝑆 = 𝑋𝑋𝑆) ∧ ∀𝑦 ∈ SAlg (( 𝑦 = 𝑋𝑋𝑦) → 𝑆𝑦))) → (SalGen‘𝑋) = 𝑆)
5958ex 412 . 2 (𝜑 → (((𝑆 ∈ SAlg ∧ 𝑆 = 𝑋𝑋𝑆) ∧ ∀𝑦 ∈ SAlg (( 𝑦 = 𝑋𝑋𝑦) → 𝑆𝑦)) → (SalGen‘𝑋) = 𝑆))
6035, 59impbid 211 1 (𝜑 → ((SalGen‘𝑋) = 𝑆 ↔ ((𝑆 ∈ SAlg ∧ 𝑆 = 𝑋𝑋𝑆) ∧ ∀𝑦 ∈ SAlg (( 𝑦 = 𝑋𝑋𝑦) → 𝑆𝑦))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1539  wcel 2108  wral 3063  wss 3883   cuni 4836  cfv 6418  SAlgcsalg 43739  SalGencsalgen 43743
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-int 4877  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-iota 6376  df-fun 6420  df-fv 6426  df-salg 43740  df-salgen 43744
This theorem is referenced by:  unisalgen2  43783
  Copyright terms: Public domain W3C validator