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

Theorem snfil 23812
Description: A singleton is a filter. Example 1 of [BourbakiTop1] p. I.36. (Contributed by FL, 16-Sep-2007.) (Revised by Stefan O'Rear, 2-Aug-2015.)
Assertion
Ref Expression
snfil ((𝐴𝐵𝐴 ≠ ∅) → {𝐴} ∈ (Fil‘𝐴))

Proof of Theorem snfil
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 velsn 4646 . . . 4 (𝑥 ∈ {𝐴} ↔ 𝑥 = 𝐴)
2 eqimss 4035 . . . . 5 (𝑥 = 𝐴𝑥𝐴)
32pm4.71ri 559 . . . 4 (𝑥 = 𝐴 ↔ (𝑥𝐴𝑥 = 𝐴))
41, 3bitri 274 . . 3 (𝑥 ∈ {𝐴} ↔ (𝑥𝐴𝑥 = 𝐴))
54a1i 11 . 2 ((𝐴𝐵𝐴 ≠ ∅) → (𝑥 ∈ {𝐴} ↔ (𝑥𝐴𝑥 = 𝐴)))
6 simpl 481 . 2 ((𝐴𝐵𝐴 ≠ ∅) → 𝐴𝐵)
7 eqid 2725 . . . 4 𝐴 = 𝐴
8 eqsbc1 3823 . . . 4 (𝐴𝐵 → ([𝐴 / 𝑥]𝑥 = 𝐴𝐴 = 𝐴))
97, 8mpbiri 257 . . 3 (𝐴𝐵[𝐴 / 𝑥]𝑥 = 𝐴)
109adantr 479 . 2 ((𝐴𝐵𝐴 ≠ ∅) → [𝐴 / 𝑥]𝑥 = 𝐴)
11 simpr 483 . . . . 5 ((𝐴𝐵𝐴 ≠ ∅) → 𝐴 ≠ ∅)
1211necomd 2985 . . . 4 ((𝐴𝐵𝐴 ≠ ∅) → ∅ ≠ 𝐴)
1312neneqd 2934 . . 3 ((𝐴𝐵𝐴 ≠ ∅) → ¬ ∅ = 𝐴)
14 0ex 5308 . . . 4 ∅ ∈ V
15 eqsbc1 3823 . . . 4 (∅ ∈ V → ([∅ / 𝑥]𝑥 = 𝐴 ↔ ∅ = 𝐴))
1614, 15ax-mp 5 . . 3 ([∅ / 𝑥]𝑥 = 𝐴 ↔ ∅ = 𝐴)
1713, 16sylnibr 328 . 2 ((𝐴𝐵𝐴 ≠ ∅) → ¬ [∅ / 𝑥]𝑥 = 𝐴)
18 sseq1 4002 . . . . . . 7 (𝑥 = 𝐴 → (𝑥𝑦𝐴𝑦))
1918anbi2d 628 . . . . . 6 (𝑥 = 𝐴 → ((𝑦𝐴𝑥𝑦) ↔ (𝑦𝐴𝐴𝑦)))
20 eqss 3992 . . . . . . 7 (𝑦 = 𝐴 ↔ (𝑦𝐴𝐴𝑦))
2120biimpri 227 . . . . . 6 ((𝑦𝐴𝐴𝑦) → 𝑦 = 𝐴)
2219, 21biimtrdi 252 . . . . 5 (𝑥 = 𝐴 → ((𝑦𝐴𝑥𝑦) → 𝑦 = 𝐴))
2322com12 32 . . . 4 ((𝑦𝐴𝑥𝑦) → (𝑥 = 𝐴𝑦 = 𝐴))
24233adant1 1127 . . 3 (((𝐴𝐵𝐴 ≠ ∅) ∧ 𝑦𝐴𝑥𝑦) → (𝑥 = 𝐴𝑦 = 𝐴))
25 sbcid 3790 . . 3 ([𝑥 / 𝑥]𝑥 = 𝐴𝑥 = 𝐴)
26 eqsbc1 3823 . . . 4 (𝑦 ∈ V → ([𝑦 / 𝑥]𝑥 = 𝐴𝑦 = 𝐴))
2726elv 3467 . . 3 ([𝑦 / 𝑥]𝑥 = 𝐴𝑦 = 𝐴)
2824, 25, 273imtr4g 295 . 2 (((𝐴𝐵𝐴 ≠ ∅) ∧ 𝑦𝐴𝑥𝑦) → ([𝑥 / 𝑥]𝑥 = 𝐴[𝑦 / 𝑥]𝑥 = 𝐴))
29 ineq12 4205 . . . . . 6 ((𝑦 = 𝐴𝑥 = 𝐴) → (𝑦𝑥) = (𝐴𝐴))
30 inidm 4217 . . . . . 6 (𝐴𝐴) = 𝐴
3129, 30eqtrdi 2781 . . . . 5 ((𝑦 = 𝐴𝑥 = 𝐴) → (𝑦𝑥) = 𝐴)
3227, 25, 31syl2anb 596 . . . 4 (([𝑦 / 𝑥]𝑥 = 𝐴[𝑥 / 𝑥]𝑥 = 𝐴) → (𝑦𝑥) = 𝐴)
33 vex 3465 . . . . . 6 𝑦 ∈ V
3433inex1 5318 . . . . 5 (𝑦𝑥) ∈ V
35 eqsbc1 3823 . . . . 5 ((𝑦𝑥) ∈ V → ([(𝑦𝑥) / 𝑥]𝑥 = 𝐴 ↔ (𝑦𝑥) = 𝐴))
3634, 35ax-mp 5 . . . 4 ([(𝑦𝑥) / 𝑥]𝑥 = 𝐴 ↔ (𝑦𝑥) = 𝐴)
3732, 36sylibr 233 . . 3 (([𝑦 / 𝑥]𝑥 = 𝐴[𝑥 / 𝑥]𝑥 = 𝐴) → [(𝑦𝑥) / 𝑥]𝑥 = 𝐴)
3837a1i 11 . 2 (((𝐴𝐵𝐴 ≠ ∅) ∧ 𝑦𝐴𝑥𝐴) → (([𝑦 / 𝑥]𝑥 = 𝐴[𝑥 / 𝑥]𝑥 = 𝐴) → [(𝑦𝑥) / 𝑥]𝑥 = 𝐴))
395, 6, 10, 17, 28, 38isfild 23806 1 ((𝐴𝐵𝐴 ≠ ∅) → {𝐴} ∈ (Fil‘𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 394  w3a 1084   = wceq 1533  wcel 2098  wne 2929  Vcvv 3461  [wsbc 3773  cin 3943  wss 3944  c0 4322  {csn 4630  cfv 6549  Filcfil 23793
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1905  ax-6 1963  ax-7 2003  ax-8 2100  ax-9 2108  ax-10 2129  ax-11 2146  ax-12 2166  ax-ext 2696  ax-sep 5300  ax-nul 5307  ax-pow 5365  ax-pr 5429
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 846  df-3an 1086  df-tru 1536  df-fal 1546  df-ex 1774  df-nf 1778  df-sb 2060  df-mo 2528  df-eu 2557  df-clab 2703  df-cleq 2717  df-clel 2802  df-nfc 2877  df-ne 2930  df-nel 3036  df-ral 3051  df-rex 3060  df-rab 3419  df-v 3463  df-sbc 3774  df-csb 3890  df-dif 3947  df-un 3949  df-in 3951  df-ss 3961  df-nul 4323  df-if 4531  df-pw 4606  df-sn 4631  df-pr 4633  df-op 4637  df-uni 4910  df-br 5150  df-opab 5212  df-mpt 5233  df-id 5576  df-xp 5684  df-rel 5685  df-cnv 5686  df-co 5687  df-dm 5688  df-rn 5689  df-res 5690  df-ima 5691  df-iota 6501  df-fun 6551  df-fv 6557  df-fbas 21293  df-fil 23794
This theorem is referenced by:  snfbas  23814
  Copyright terms: Public domain W3C validator