Users' Mathboxes Mathbox for Jeff Hankins < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fnejoin2 Structured version   Visualization version   GIF version

Theorem fnejoin2 34485
Description: Join of equivalence classes under the fineness relation-part two. (Contributed by Jeff Hankins, 8-Oct-2009.) (Proof shortened by Mario Carneiro, 12-Sep-2015.)
Assertion
Ref Expression
fnejoin2 ((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) → (if(𝑆 = ∅, {𝑋}, 𝑆)Fne𝑇 ↔ (𝑋 = 𝑇 ∧ ∀𝑥𝑆 𝑥Fne𝑇)))
Distinct variable groups:   𝑥,𝑦,𝑆   𝑥,𝑉   𝑥,𝑋,𝑦   𝑥,𝑇
Allowed substitution hints:   𝑇(𝑦)   𝑉(𝑦)

Proof of Theorem fnejoin2
StepHypRef Expression
1 unisng 4857 . . . . . . . . 9 (𝑋𝑉 {𝑋} = 𝑋)
21eqcomd 2744 . . . . . . . 8 (𝑋𝑉𝑋 = {𝑋})
32adantr 480 . . . . . . 7 ((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) → 𝑋 = {𝑋})
4 iftrue 4462 . . . . . . . . 9 (𝑆 = ∅ → if(𝑆 = ∅, {𝑋}, 𝑆) = {𝑋})
54unieqd 4850 . . . . . . . 8 (𝑆 = ∅ → if(𝑆 = ∅, {𝑋}, 𝑆) = {𝑋})
65eqeq2d 2749 . . . . . . 7 (𝑆 = ∅ → (𝑋 = if(𝑆 = ∅, {𝑋}, 𝑆) ↔ 𝑋 = {𝑋}))
73, 6syl5ibrcom 246 . . . . . 6 ((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) → (𝑆 = ∅ → 𝑋 = if(𝑆 = ∅, {𝑋}, 𝑆)))
8 n0 4277 . . . . . . 7 (𝑆 ≠ ∅ ↔ ∃𝑥 𝑥𝑆)
9 unieq 4847 . . . . . . . . . . . . 13 (𝑦 = 𝑥 𝑦 = 𝑥)
109eqeq2d 2749 . . . . . . . . . . . 12 (𝑦 = 𝑥 → (𝑋 = 𝑦𝑋 = 𝑥))
1110rspccva 3551 . . . . . . . . . . 11 ((∀𝑦𝑆 𝑋 = 𝑦𝑥𝑆) → 𝑋 = 𝑥)
12113adant1 1128 . . . . . . . . . 10 ((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦𝑥𝑆) → 𝑋 = 𝑥)
13 fnejoin1 34484 . . . . . . . . . . 11 ((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦𝑥𝑆) → 𝑥Fneif(𝑆 = ∅, {𝑋}, 𝑆))
14 eqid 2738 . . . . . . . . . . . 12 𝑥 = 𝑥
15 eqid 2738 . . . . . . . . . . . 12 if(𝑆 = ∅, {𝑋}, 𝑆) = if(𝑆 = ∅, {𝑋}, 𝑆)
1614, 15fnebas 34460 . . . . . . . . . . 11 (𝑥Fneif(𝑆 = ∅, {𝑋}, 𝑆) → 𝑥 = if(𝑆 = ∅, {𝑋}, 𝑆))
1713, 16syl 17 . . . . . . . . . 10 ((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦𝑥𝑆) → 𝑥 = if(𝑆 = ∅, {𝑋}, 𝑆))
1812, 17eqtrd 2778 . . . . . . . . 9 ((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦𝑥𝑆) → 𝑋 = if(𝑆 = ∅, {𝑋}, 𝑆))
19183expia 1119 . . . . . . . 8 ((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) → (𝑥𝑆𝑋 = if(𝑆 = ∅, {𝑋}, 𝑆)))
2019exlimdv 1937 . . . . . . 7 ((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) → (∃𝑥 𝑥𝑆𝑋 = if(𝑆 = ∅, {𝑋}, 𝑆)))
218, 20syl5bi 241 . . . . . 6 ((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) → (𝑆 ≠ ∅ → 𝑋 = if(𝑆 = ∅, {𝑋}, 𝑆)))
227, 21pm2.61dne 3030 . . . . 5 ((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) → 𝑋 = if(𝑆 = ∅, {𝑋}, 𝑆))
23 eqid 2738 . . . . . 6 𝑇 = 𝑇
2415, 23fnebas 34460 . . . . 5 (if(𝑆 = ∅, {𝑋}, 𝑆)Fne𝑇 if(𝑆 = ∅, {𝑋}, 𝑆) = 𝑇)
2522, 24sylan9eq 2799 . . . 4 (((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) ∧ if(𝑆 = ∅, {𝑋}, 𝑆)Fne𝑇) → 𝑋 = 𝑇)
2625ex 412 . . 3 ((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) → (if(𝑆 = ∅, {𝑋}, 𝑆)Fne𝑇𝑋 = 𝑇))
27 fnetr 34467 . . . . . . 7 ((𝑥Fneif(𝑆 = ∅, {𝑋}, 𝑆) ∧ if(𝑆 = ∅, {𝑋}, 𝑆)Fne𝑇) → 𝑥Fne𝑇)
2827ex 412 . . . . . 6 (𝑥Fneif(𝑆 = ∅, {𝑋}, 𝑆) → (if(𝑆 = ∅, {𝑋}, 𝑆)Fne𝑇𝑥Fne𝑇))
2913, 28syl 17 . . . . 5 ((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦𝑥𝑆) → (if(𝑆 = ∅, {𝑋}, 𝑆)Fne𝑇𝑥Fne𝑇))
30293expa 1116 . . . 4 (((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) ∧ 𝑥𝑆) → (if(𝑆 = ∅, {𝑋}, 𝑆)Fne𝑇𝑥Fne𝑇))
3130ralrimdva 3112 . . 3 ((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) → (if(𝑆 = ∅, {𝑋}, 𝑆)Fne𝑇 → ∀𝑥𝑆 𝑥Fne𝑇))
3226, 31jcad 512 . 2 ((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) → (if(𝑆 = ∅, {𝑋}, 𝑆)Fne𝑇 → (𝑋 = 𝑇 ∧ ∀𝑥𝑆 𝑥Fne𝑇)))
3322adantr 480 . . . . 5 (((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) ∧ (𝑋 = 𝑇 ∧ ∀𝑥𝑆 𝑥Fne𝑇)) → 𝑋 = if(𝑆 = ∅, {𝑋}, 𝑆))
34 simprl 767 . . . . 5 (((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) ∧ (𝑋 = 𝑇 ∧ ∀𝑥𝑆 𝑥Fne𝑇)) → 𝑋 = 𝑇)
3533, 34eqtr3d 2780 . . . 4 (((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) ∧ (𝑋 = 𝑇 ∧ ∀𝑥𝑆 𝑥Fne𝑇)) → if(𝑆 = ∅, {𝑋}, 𝑆) = 𝑇)
36 sseq1 3942 . . . . 5 ({𝑋} = if(𝑆 = ∅, {𝑋}, 𝑆) → ({𝑋} ⊆ (topGen‘𝑇) ↔ if(𝑆 = ∅, {𝑋}, 𝑆) ⊆ (topGen‘𝑇)))
37 sseq1 3942 . . . . 5 ( 𝑆 = if(𝑆 = ∅, {𝑋}, 𝑆) → ( 𝑆 ⊆ (topGen‘𝑇) ↔ if(𝑆 = ∅, {𝑋}, 𝑆) ⊆ (topGen‘𝑇)))
38 elex 3440 . . . . . . . . . . . 12 (𝑋𝑉𝑋 ∈ V)
3938ad2antrr 722 . . . . . . . . . . 11 (((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) ∧ (𝑋 = 𝑇 ∧ ∀𝑥𝑆 𝑥Fne𝑇)) → 𝑋 ∈ V)
4034, 39eqeltrrd 2840 . . . . . . . . . 10 (((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) ∧ (𝑋 = 𝑇 ∧ ∀𝑥𝑆 𝑥Fne𝑇)) → 𝑇 ∈ V)
41 uniexb 7592 . . . . . . . . . 10 (𝑇 ∈ V ↔ 𝑇 ∈ V)
4240, 41sylibr 233 . . . . . . . . 9 (((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) ∧ (𝑋 = 𝑇 ∧ ∀𝑥𝑆 𝑥Fne𝑇)) → 𝑇 ∈ V)
43 ssid 3939 . . . . . . . . 9 𝑇𝑇
44 eltg3i 22019 . . . . . . . . 9 ((𝑇 ∈ V ∧ 𝑇𝑇) → 𝑇 ∈ (topGen‘𝑇))
4542, 43, 44sylancl 585 . . . . . . . 8 (((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) ∧ (𝑋 = 𝑇 ∧ ∀𝑥𝑆 𝑥Fne𝑇)) → 𝑇 ∈ (topGen‘𝑇))
4634, 45eqeltrd 2839 . . . . . . 7 (((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) ∧ (𝑋 = 𝑇 ∧ ∀𝑥𝑆 𝑥Fne𝑇)) → 𝑋 ∈ (topGen‘𝑇))
4746snssd 4739 . . . . . 6 (((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) ∧ (𝑋 = 𝑇 ∧ ∀𝑥𝑆 𝑥Fne𝑇)) → {𝑋} ⊆ (topGen‘𝑇))
4847adantr 480 . . . . 5 ((((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) ∧ (𝑋 = 𝑇 ∧ ∀𝑥𝑆 𝑥Fne𝑇)) ∧ 𝑆 = ∅) → {𝑋} ⊆ (topGen‘𝑇))
49 simplrr 774 . . . . . . 7 ((((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) ∧ (𝑋 = 𝑇 ∧ ∀𝑥𝑆 𝑥Fne𝑇)) ∧ ¬ 𝑆 = ∅) → ∀𝑥𝑆 𝑥Fne𝑇)
50 fnetg 34461 . . . . . . . 8 (𝑥Fne𝑇𝑥 ⊆ (topGen‘𝑇))
5150ralimi 3086 . . . . . . 7 (∀𝑥𝑆 𝑥Fne𝑇 → ∀𝑥𝑆 𝑥 ⊆ (topGen‘𝑇))
5249, 51syl 17 . . . . . 6 ((((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) ∧ (𝑋 = 𝑇 ∧ ∀𝑥𝑆 𝑥Fne𝑇)) ∧ ¬ 𝑆 = ∅) → ∀𝑥𝑆 𝑥 ⊆ (topGen‘𝑇))
53 unissb 4870 . . . . . 6 ( 𝑆 ⊆ (topGen‘𝑇) ↔ ∀𝑥𝑆 𝑥 ⊆ (topGen‘𝑇))
5452, 53sylibr 233 . . . . 5 ((((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) ∧ (𝑋 = 𝑇 ∧ ∀𝑥𝑆 𝑥Fne𝑇)) ∧ ¬ 𝑆 = ∅) → 𝑆 ⊆ (topGen‘𝑇))
5536, 37, 48, 54ifbothda 4494 . . . 4 (((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) ∧ (𝑋 = 𝑇 ∧ ∀𝑥𝑆 𝑥Fne𝑇)) → if(𝑆 = ∅, {𝑋}, 𝑆) ⊆ (topGen‘𝑇))
5615, 23isfne4 34456 . . . 4 (if(𝑆 = ∅, {𝑋}, 𝑆)Fne𝑇 ↔ ( if(𝑆 = ∅, {𝑋}, 𝑆) = 𝑇 ∧ if(𝑆 = ∅, {𝑋}, 𝑆) ⊆ (topGen‘𝑇)))
5735, 55, 56sylanbrc 582 . . 3 (((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) ∧ (𝑋 = 𝑇 ∧ ∀𝑥𝑆 𝑥Fne𝑇)) → if(𝑆 = ∅, {𝑋}, 𝑆)Fne𝑇)
5857ex 412 . 2 ((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) → ((𝑋 = 𝑇 ∧ ∀𝑥𝑆 𝑥Fne𝑇) → if(𝑆 = ∅, {𝑋}, 𝑆)Fne𝑇))
5932, 58impbid 211 1 ((𝑋𝑉 ∧ ∀𝑦𝑆 𝑋 = 𝑦) → (if(𝑆 = ∅, {𝑋}, 𝑆)Fne𝑇 ↔ (𝑋 = 𝑇 ∧ ∀𝑥𝑆 𝑥Fne𝑇)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  w3a 1085   = wceq 1539  wex 1783  wcel 2108  wne 2942  wral 3063  Vcvv 3422  wss 3883  c0 4253  ifcif 4456  {csn 4558   cuni 4836   class class class wbr 5070  cfv 6418  topGenctg 17065  Fnecfne 34452
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-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-iun 4923  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-topgen 17071  df-fne 34453
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator