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

Theorem ufprim 23041
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 23036 . . . . . . 7 (𝐹 ∈ (UFil‘𝑋) → 𝐹 ∈ (Fil‘𝑋))
213ad2ant1 1131 . . . . . 6 ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → 𝐹 ∈ (Fil‘𝑋))
32adantr 480 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐴𝐹) → 𝐹 ∈ (Fil‘𝑋))
4 simpr 484 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐴𝐹) → 𝐴𝐹)
5 unss 4122 . . . . . . . 8 ((𝐴𝑋𝐵𝑋) ↔ (𝐴𝐵) ⊆ 𝑋)
65biimpi 215 . . . . . . 7 ((𝐴𝑋𝐵𝑋) → (𝐴𝐵) ⊆ 𝑋)
763adant1 1128 . . . . . 6 ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → (𝐴𝐵) ⊆ 𝑋)
87adantr 480 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐴𝐹) → (𝐴𝐵) ⊆ 𝑋)
9 ssun1 4110 . . . . . 6 𝐴 ⊆ (𝐴𝐵)
109a1i 11 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐴𝐹) → 𝐴 ⊆ (𝐴𝐵))
11 filss 22985 . . . . 5 ((𝐹 ∈ (Fil‘𝑋) ∧ (𝐴𝐹 ∧ (𝐴𝐵) ⊆ 𝑋𝐴 ⊆ (𝐴𝐵))) → (𝐴𝐵) ∈ 𝐹)
123, 4, 8, 10, 11syl13anc 1370 . . . 4 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐴𝐹) → (𝐴𝐵) ∈ 𝐹)
1312ex 412 . . 3 ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → (𝐴𝐹 → (𝐴𝐵) ∈ 𝐹))
142adantr 480 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐵𝐹) → 𝐹 ∈ (Fil‘𝑋))
15 simpr 484 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐵𝐹) → 𝐵𝐹)
167adantr 480 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐵𝐹) → (𝐴𝐵) ⊆ 𝑋)
17 ssun2 4111 . . . . . 6 𝐵 ⊆ (𝐴𝐵)
1817a1i 11 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐵𝐹) → 𝐵 ⊆ (𝐴𝐵))
19 filss 22985 . . . . 5 ((𝐹 ∈ (Fil‘𝑋) ∧ (𝐵𝐹 ∧ (𝐴𝐵) ⊆ 𝑋𝐵 ⊆ (𝐴𝐵))) → (𝐴𝐵) ∈ 𝐹)
2014, 15, 16, 18, 19syl13anc 1370 . . . 4 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐵𝐹) → (𝐴𝐵) ∈ 𝐹)
2120ex 412 . . 3 ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → (𝐵𝐹 → (𝐴𝐵) ∈ 𝐹))
2213, 21jaod 855 . 2 ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → ((𝐴𝐹𝐵𝐹) → (𝐴𝐵) ∈ 𝐹))
23 ufilb 23038 . . . . . . 7 ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋) → (¬ 𝐴𝐹 ↔ (𝑋𝐴) ∈ 𝐹))
24233adant3 1130 . . . . . 6 ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → (¬ 𝐴𝐹 ↔ (𝑋𝐴) ∈ 𝐹))
2524adantr 480 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹) → (¬ 𝐴𝐹 ↔ (𝑋𝐴) ∈ 𝐹))
2623ad2ant1 1131 . . . . . . 7 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹 ∧ (𝑋𝐴) ∈ 𝐹) → 𝐹 ∈ (Fil‘𝑋))
27 difun2 4419 . . . . . . . . . . 11 ((𝐵𝐴) ∖ 𝐴) = (𝐵𝐴)
28 uncom 4091 . . . . . . . . . . . 12 (𝐵𝐴) = (𝐴𝐵)
2928difeq1i 4057 . . . . . . . . . . 11 ((𝐵𝐴) ∖ 𝐴) = ((𝐴𝐵) ∖ 𝐴)
3027, 29eqtr3i 2769 . . . . . . . . . 10 (𝐵𝐴) = ((𝐴𝐵) ∖ 𝐴)
3130ineq2i 4148 . . . . . . . . 9 (𝑋 ∩ (𝐵𝐴)) = (𝑋 ∩ ((𝐴𝐵) ∖ 𝐴))
32 indifcom 4211 . . . . . . . . 9 (𝐵 ∩ (𝑋𝐴)) = (𝑋 ∩ (𝐵𝐴))
33 indifcom 4211 . . . . . . . . 9 ((𝐴𝐵) ∩ (𝑋𝐴)) = (𝑋 ∩ ((𝐴𝐵) ∖ 𝐴))
3431, 32, 333eqtr4i 2777 . . . . . . . 8 (𝐵 ∩ (𝑋𝐴)) = ((𝐴𝐵) ∩ (𝑋𝐴))
35 filin 22986 . . . . . . . . 9 ((𝐹 ∈ (Fil‘𝑋) ∧ (𝐴𝐵) ∈ 𝐹 ∧ (𝑋𝐴) ∈ 𝐹) → ((𝐴𝐵) ∩ (𝑋𝐴)) ∈ 𝐹)
362, 35syl3an1 1161 . . . . . . . 8 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹 ∧ (𝑋𝐴) ∈ 𝐹) → ((𝐴𝐵) ∩ (𝑋𝐴)) ∈ 𝐹)
3734, 36eqeltrid 2844 . . . . . . 7 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹 ∧ (𝑋𝐴) ∈ 𝐹) → (𝐵 ∩ (𝑋𝐴)) ∈ 𝐹)
38 simp13 1203 . . . . . . 7 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹 ∧ (𝑋𝐴) ∈ 𝐹) → 𝐵𝑋)
39 inss1 4167 . . . . . . . 8 (𝐵 ∩ (𝑋𝐴)) ⊆ 𝐵
4039a1i 11 . . . . . . 7 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹 ∧ (𝑋𝐴) ∈ 𝐹) → (𝐵 ∩ (𝑋𝐴)) ⊆ 𝐵)
41 filss 22985 . . . . . . 7 ((𝐹 ∈ (Fil‘𝑋) ∧ ((𝐵 ∩ (𝑋𝐴)) ∈ 𝐹𝐵𝑋 ∧ (𝐵 ∩ (𝑋𝐴)) ⊆ 𝐵)) → 𝐵𝐹)
4226, 37, 38, 40, 41syl13anc 1370 . . . . . 6 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹 ∧ (𝑋𝐴) ∈ 𝐹) → 𝐵𝐹)
43423expia 1119 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹) → ((𝑋𝐴) ∈ 𝐹𝐵𝐹))
4425, 43sylbid 239 . . . 4 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹) → (¬ 𝐴𝐹𝐵𝐹))
4544orrd 859 . . 3 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹) → (𝐴𝐹𝐵𝐹))
4645ex 412 . 2 ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → ((𝐴𝐵) ∈ 𝐹 → (𝐴𝐹𝐵𝐹)))
4722, 46impbid 211 1 ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → ((𝐴𝐹𝐵𝐹) ↔ (𝐴𝐵) ∈ 𝐹))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wo 843  w3a 1085  wcel 2109  cdif 3888  cun 3889  cin 3890  wss 3891  cfv 6430  Filcfil 22977  UFilcufil 23031
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-10 2140  ax-11 2157  ax-12 2174  ax-ext 2710  ax-sep 5226  ax-nul 5233  ax-pow 5291  ax-pr 5355
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1544  df-fal 1554  df-ex 1786  df-nf 1790  df-sb 2071  df-mo 2541  df-eu 2570  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ne 2945  df-nel 3051  df-ral 3070  df-rex 3071  df-rab 3074  df-v 3432  df-sbc 3720  df-csb 3837  df-dif 3894  df-un 3896  df-in 3898  df-ss 3908  df-nul 4262  df-if 4465  df-pw 4540  df-sn 4567  df-pr 4569  df-op 4573  df-uni 4845  df-br 5079  df-opab 5141  df-mpt 5162  df-id 5488  df-xp 5594  df-rel 5595  df-cnv 5596  df-co 5597  df-dm 5598  df-rn 5599  df-res 5600  df-ima 5601  df-iota 6388  df-fun 6432  df-fv 6438  df-fbas 20575  df-fil 22978  df-ufil 23033
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator