MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  ufprim Structured version   Visualization version   GIF version

Theorem ufprim 23105
Description: An ultrafilter is a prime filter. (Contributed by Jeff Hankins, 1-Jan-2010.) (Revised by Mario Carneiro, 2-Aug-2015.)
Assertion
Ref Expression
ufprim ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → ((𝐴𝐹𝐵𝐹) ↔ (𝐴𝐵) ∈ 𝐹))

Proof of Theorem ufprim
StepHypRef Expression
1 ufilfil 23100 . . . . . . 7 (𝐹 ∈ (UFil‘𝑋) → 𝐹 ∈ (Fil‘𝑋))
213ad2ant1 1133 . . . . . 6 ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → 𝐹 ∈ (Fil‘𝑋))
32adantr 482 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐴𝐹) → 𝐹 ∈ (Fil‘𝑋))
4 simpr 486 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐴𝐹) → 𝐴𝐹)
5 unss 4124 . . . . . . . 8 ((𝐴𝑋𝐵𝑋) ↔ (𝐴𝐵) ⊆ 𝑋)
65biimpi 215 . . . . . . 7 ((𝐴𝑋𝐵𝑋) → (𝐴𝐵) ⊆ 𝑋)
763adant1 1130 . . . . . 6 ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → (𝐴𝐵) ⊆ 𝑋)
87adantr 482 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐴𝐹) → (𝐴𝐵) ⊆ 𝑋)
9 ssun1 4112 . . . . . 6 𝐴 ⊆ (𝐴𝐵)
109a1i 11 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐴𝐹) → 𝐴 ⊆ (𝐴𝐵))
11 filss 23049 . . . . 5 ((𝐹 ∈ (Fil‘𝑋) ∧ (𝐴𝐹 ∧ (𝐴𝐵) ⊆ 𝑋𝐴 ⊆ (𝐴𝐵))) → (𝐴𝐵) ∈ 𝐹)
123, 4, 8, 10, 11syl13anc 1372 . . . 4 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐴𝐹) → (𝐴𝐵) ∈ 𝐹)
1312ex 414 . . 3 ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → (𝐴𝐹 → (𝐴𝐵) ∈ 𝐹))
142adantr 482 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐵𝐹) → 𝐹 ∈ (Fil‘𝑋))
15 simpr 486 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐵𝐹) → 𝐵𝐹)
167adantr 482 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐵𝐹) → (𝐴𝐵) ⊆ 𝑋)
17 ssun2 4113 . . . . . 6 𝐵 ⊆ (𝐴𝐵)
1817a1i 11 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐵𝐹) → 𝐵 ⊆ (𝐴𝐵))
19 filss 23049 . . . . 5 ((𝐹 ∈ (Fil‘𝑋) ∧ (𝐵𝐹 ∧ (𝐴𝐵) ⊆ 𝑋𝐵 ⊆ (𝐴𝐵))) → (𝐴𝐵) ∈ 𝐹)
2014, 15, 16, 18, 19syl13anc 1372 . . . 4 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐵𝐹) → (𝐴𝐵) ∈ 𝐹)
2120ex 414 . . 3 ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → (𝐵𝐹 → (𝐴𝐵) ∈ 𝐹))
2213, 21jaod 857 . 2 ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → ((𝐴𝐹𝐵𝐹) → (𝐴𝐵) ∈ 𝐹))
23 ufilb 23102 . . . . . . 7 ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋) → (¬ 𝐴𝐹 ↔ (𝑋𝐴) ∈ 𝐹))
24233adant3 1132 . . . . . 6 ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → (¬ 𝐴𝐹 ↔ (𝑋𝐴) ∈ 𝐹))
2524adantr 482 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹) → (¬ 𝐴𝐹 ↔ (𝑋𝐴) ∈ 𝐹))
2623ad2ant1 1133 . . . . . . 7 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹 ∧ (𝑋𝐴) ∈ 𝐹) → 𝐹 ∈ (Fil‘𝑋))
27 difun2 4420 . . . . . . . . . . 11 ((𝐵𝐴) ∖ 𝐴) = (𝐵𝐴)
28 uncom 4093 . . . . . . . . . . . 12 (𝐵𝐴) = (𝐴𝐵)
2928difeq1i 4059 . . . . . . . . . . 11 ((𝐵𝐴) ∖ 𝐴) = ((𝐴𝐵) ∖ 𝐴)
3027, 29eqtr3i 2766 . . . . . . . . . 10 (𝐵𝐴) = ((𝐴𝐵) ∖ 𝐴)
3130ineq2i 4149 . . . . . . . . 9 (𝑋 ∩ (𝐵𝐴)) = (𝑋 ∩ ((𝐴𝐵) ∖ 𝐴))
32 indifcom 4212 . . . . . . . . 9 (𝐵 ∩ (𝑋𝐴)) = (𝑋 ∩ (𝐵𝐴))
33 indifcom 4212 . . . . . . . . 9 ((𝐴𝐵) ∩ (𝑋𝐴)) = (𝑋 ∩ ((𝐴𝐵) ∖ 𝐴))
3431, 32, 333eqtr4i 2774 . . . . . . . 8 (𝐵 ∩ (𝑋𝐴)) = ((𝐴𝐵) ∩ (𝑋𝐴))
35 filin 23050 . . . . . . . . 9 ((𝐹 ∈ (Fil‘𝑋) ∧ (𝐴𝐵) ∈ 𝐹 ∧ (𝑋𝐴) ∈ 𝐹) → ((𝐴𝐵) ∩ (𝑋𝐴)) ∈ 𝐹)
362, 35syl3an1 1163 . . . . . . . 8 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹 ∧ (𝑋𝐴) ∈ 𝐹) → ((𝐴𝐵) ∩ (𝑋𝐴)) ∈ 𝐹)
3734, 36eqeltrid 2841 . . . . . . 7 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹 ∧ (𝑋𝐴) ∈ 𝐹) → (𝐵 ∩ (𝑋𝐴)) ∈ 𝐹)
38 simp13 1205 . . . . . . 7 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹 ∧ (𝑋𝐴) ∈ 𝐹) → 𝐵𝑋)
39 inss1 4168 . . . . . . . 8 (𝐵 ∩ (𝑋𝐴)) ⊆ 𝐵
4039a1i 11 . . . . . . 7 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹 ∧ (𝑋𝐴) ∈ 𝐹) → (𝐵 ∩ (𝑋𝐴)) ⊆ 𝐵)
41 filss 23049 . . . . . . 7 ((𝐹 ∈ (Fil‘𝑋) ∧ ((𝐵 ∩ (𝑋𝐴)) ∈ 𝐹𝐵𝑋 ∧ (𝐵 ∩ (𝑋𝐴)) ⊆ 𝐵)) → 𝐵𝐹)
4226, 37, 38, 40, 41syl13anc 1372 . . . . . 6 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹 ∧ (𝑋𝐴) ∈ 𝐹) → 𝐵𝐹)
43423expia 1121 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹) → ((𝑋𝐴) ∈ 𝐹𝐵𝐹))
4425, 43sylbid 239 . . . 4 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹) → (¬ 𝐴𝐹𝐵𝐹))
4544orrd 861 . . 3 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹) → (𝐴𝐹𝐵𝐹))
4645ex 414 . 2 ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → ((𝐴𝐵) ∈ 𝐹 → (𝐴𝐹𝐵𝐹)))
4722, 46impbid 211 1 ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → ((𝐴𝐹𝐵𝐹) ↔ (𝐴𝐵) ∈ 𝐹))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 397  wo 845  w3a 1087  wcel 2104  cdif 3889  cun 3890  cin 3891  wss 3892  cfv 6458  Filcfil 23041  UFilcufil 23095
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-10 2135  ax-11 2152  ax-12 2169  ax-ext 2707  ax-sep 5232  ax-nul 5239  ax-pow 5297  ax-pr 5361
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 846  df-3an 1089  df-tru 1542  df-fal 1552  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2887  df-ne 2942  df-nel 3048  df-ral 3063  df-rex 3072  df-rab 3287  df-v 3439  df-sbc 3722  df-csb 3838  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-nul 4263  df-if 4466  df-pw 4541  df-sn 4566  df-pr 4568  df-op 4572  df-uni 4845  df-br 5082  df-opab 5144  df-mpt 5165  df-id 5500  df-xp 5606  df-rel 5607  df-cnv 5608  df-co 5609  df-dm 5610  df-rn 5611  df-res 5612  df-ima 5613  df-iota 6410  df-fun 6460  df-fv 6466  df-fbas 20639  df-fil 23042  df-ufil 23097
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator