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

Theorem ufprim 22006
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 22001 . . . . . . 7 (𝐹 ∈ (UFil‘𝑋) → 𝐹 ∈ (Fil‘𝑋))
213ad2ant1 1163 . . . . . 6 ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → 𝐹 ∈ (Fil‘𝑋))
32adantr 472 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐴𝐹) → 𝐹 ∈ (Fil‘𝑋))
4 simpr 477 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐴𝐹) → 𝐴𝐹)
5 unss 3951 . . . . . . . 8 ((𝐴𝑋𝐵𝑋) ↔ (𝐴𝐵) ⊆ 𝑋)
65biimpi 207 . . . . . . 7 ((𝐴𝑋𝐵𝑋) → (𝐴𝐵) ⊆ 𝑋)
763adant1 1160 . . . . . 6 ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → (𝐴𝐵) ⊆ 𝑋)
87adantr 472 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐴𝐹) → (𝐴𝐵) ⊆ 𝑋)
9 ssun1 3940 . . . . . 6 𝐴 ⊆ (𝐴𝐵)
109a1i 11 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐴𝐹) → 𝐴 ⊆ (𝐴𝐵))
11 filss 21950 . . . . 5 ((𝐹 ∈ (Fil‘𝑋) ∧ (𝐴𝐹 ∧ (𝐴𝐵) ⊆ 𝑋𝐴 ⊆ (𝐴𝐵))) → (𝐴𝐵) ∈ 𝐹)
123, 4, 8, 10, 11syl13anc 1491 . . . 4 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐴𝐹) → (𝐴𝐵) ∈ 𝐹)
1312ex 401 . . 3 ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → (𝐴𝐹 → (𝐴𝐵) ∈ 𝐹))
142adantr 472 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐵𝐹) → 𝐹 ∈ (Fil‘𝑋))
15 simpr 477 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐵𝐹) → 𝐵𝐹)
167adantr 472 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐵𝐹) → (𝐴𝐵) ⊆ 𝑋)
17 ssun2 3941 . . . . . 6 𝐵 ⊆ (𝐴𝐵)
1817a1i 11 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐵𝐹) → 𝐵 ⊆ (𝐴𝐵))
19 filss 21950 . . . . 5 ((𝐹 ∈ (Fil‘𝑋) ∧ (𝐵𝐹 ∧ (𝐴𝐵) ⊆ 𝑋𝐵 ⊆ (𝐴𝐵))) → (𝐴𝐵) ∈ 𝐹)
2014, 15, 16, 18, 19syl13anc 1491 . . . 4 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ 𝐵𝐹) → (𝐴𝐵) ∈ 𝐹)
2120ex 401 . . 3 ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → (𝐵𝐹 → (𝐴𝐵) ∈ 𝐹))
2213, 21jaod 885 . 2 ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → ((𝐴𝐹𝐵𝐹) → (𝐴𝐵) ∈ 𝐹))
23 ufilb 22003 . . . . . . 7 ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋) → (¬ 𝐴𝐹 ↔ (𝑋𝐴) ∈ 𝐹))
24233adant3 1162 . . . . . 6 ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → (¬ 𝐴𝐹 ↔ (𝑋𝐴) ∈ 𝐹))
2524adantr 472 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹) → (¬ 𝐴𝐹 ↔ (𝑋𝐴) ∈ 𝐹))
2623ad2ant1 1163 . . . . . . 7 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹 ∧ (𝑋𝐴) ∈ 𝐹) → 𝐹 ∈ (Fil‘𝑋))
27 difun2 4210 . . . . . . . . . . 11 ((𝐵𝐴) ∖ 𝐴) = (𝐵𝐴)
28 uncom 3921 . . . . . . . . . . . 12 (𝐵𝐴) = (𝐴𝐵)
2928difeq1i 3888 . . . . . . . . . . 11 ((𝐵𝐴) ∖ 𝐴) = ((𝐴𝐵) ∖ 𝐴)
3027, 29eqtr3i 2789 . . . . . . . . . 10 (𝐵𝐴) = ((𝐴𝐵) ∖ 𝐴)
3130ineq2i 3975 . . . . . . . . 9 (𝑋 ∩ (𝐵𝐴)) = (𝑋 ∩ ((𝐴𝐵) ∖ 𝐴))
32 indifcom 4039 . . . . . . . . 9 (𝐵 ∩ (𝑋𝐴)) = (𝑋 ∩ (𝐵𝐴))
33 indifcom 4039 . . . . . . . . 9 ((𝐴𝐵) ∩ (𝑋𝐴)) = (𝑋 ∩ ((𝐴𝐵) ∖ 𝐴))
3431, 32, 333eqtr4i 2797 . . . . . . . 8 (𝐵 ∩ (𝑋𝐴)) = ((𝐴𝐵) ∩ (𝑋𝐴))
35 filin 21951 . . . . . . . . 9 ((𝐹 ∈ (Fil‘𝑋) ∧ (𝐴𝐵) ∈ 𝐹 ∧ (𝑋𝐴) ∈ 𝐹) → ((𝐴𝐵) ∩ (𝑋𝐴)) ∈ 𝐹)
362, 35syl3an1 1202 . . . . . . . 8 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹 ∧ (𝑋𝐴) ∈ 𝐹) → ((𝐴𝐵) ∩ (𝑋𝐴)) ∈ 𝐹)
3734, 36syl5eqel 2848 . . . . . . 7 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹 ∧ (𝑋𝐴) ∈ 𝐹) → (𝐵 ∩ (𝑋𝐴)) ∈ 𝐹)
38 simp13 1262 . . . . . . 7 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹 ∧ (𝑋𝐴) ∈ 𝐹) → 𝐵𝑋)
39 inss1 3994 . . . . . . . 8 (𝐵 ∩ (𝑋𝐴)) ⊆ 𝐵
4039a1i 11 . . . . . . 7 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹 ∧ (𝑋𝐴) ∈ 𝐹) → (𝐵 ∩ (𝑋𝐴)) ⊆ 𝐵)
41 filss 21950 . . . . . . 7 ((𝐹 ∈ (Fil‘𝑋) ∧ ((𝐵 ∩ (𝑋𝐴)) ∈ 𝐹𝐵𝑋 ∧ (𝐵 ∩ (𝑋𝐴)) ⊆ 𝐵)) → 𝐵𝐹)
4226, 37, 38, 40, 41syl13anc 1491 . . . . . 6 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹 ∧ (𝑋𝐴) ∈ 𝐹) → 𝐵𝐹)
43423expia 1150 . . . . 5 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹) → ((𝑋𝐴) ∈ 𝐹𝐵𝐹))
4425, 43sylbid 231 . . . 4 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹) → (¬ 𝐴𝐹𝐵𝐹))
4544orrd 889 . . 3 (((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) ∧ (𝐴𝐵) ∈ 𝐹) → (𝐴𝐹𝐵𝐹))
4645ex 401 . 2 ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → ((𝐴𝐵) ∈ 𝐹 → (𝐴𝐹𝐵𝐹)))
4722, 46impbid 203 1 ((𝐹 ∈ (UFil‘𝑋) ∧ 𝐴𝑋𝐵𝑋) → ((𝐴𝐹𝐵𝐹) ↔ (𝐴𝐵) ∈ 𝐹))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 197  wa 384  wo 873  w3a 1107  wcel 2155  cdif 3731  cun 3732  cin 3733  wss 3734  cfv 6070  Filcfil 21942  UFilcufil 21996
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1890  ax-4 1904  ax-5 2005  ax-6 2070  ax-7 2105  ax-8 2157  ax-9 2164  ax-10 2183  ax-11 2198  ax-12 2211  ax-13 2352  ax-ext 2743  ax-sep 4943  ax-nul 4951  ax-pow 5003  ax-pr 5064
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 874  df-3an 1109  df-tru 1656  df-ex 1875  df-nf 1879  df-sb 2063  df-mo 2565  df-eu 2582  df-clab 2752  df-cleq 2758  df-clel 2761  df-nfc 2896  df-ne 2938  df-nel 3041  df-ral 3060  df-rex 3061  df-rab 3064  df-v 3352  df-sbc 3599  df-csb 3694  df-dif 3737  df-un 3739  df-in 3741  df-ss 3748  df-nul 4082  df-if 4246  df-pw 4319  df-sn 4337  df-pr 4339  df-op 4343  df-uni 4597  df-br 4812  df-opab 4874  df-mpt 4891  df-id 5187  df-xp 5285  df-rel 5286  df-cnv 5287  df-co 5288  df-dm 5289  df-rn 5290  df-res 5291  df-ima 5292  df-iota 6033  df-fun 6072  df-fv 6078  df-fbas 20030  df-fil 21943  df-ufil 21998
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator