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

Theorem snfil 23806
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 4594 . . . 4 (𝑥 ∈ {𝐴} ↔ 𝑥 = 𝐴)
2 eqimss 3990 . . . . 5 (𝑥 = 𝐴𝑥𝐴)
32pm4.71ri 560 . . . 4 (𝑥 = 𝐴 ↔ (𝑥𝐴𝑥 = 𝐴))
41, 3bitri 275 . . 3 (𝑥 ∈ {𝐴} ↔ (𝑥𝐴𝑥 = 𝐴))
54a1i 11 . 2 ((𝐴𝐵𝐴 ≠ ∅) → (𝑥 ∈ {𝐴} ↔ (𝑥𝐴𝑥 = 𝐴)))
6 simpl 482 . 2 ((𝐴𝐵𝐴 ≠ ∅) → 𝐴𝐵)
7 eqid 2734 . . . 4 𝐴 = 𝐴
8 eqsbc1 3785 . . . 4 (𝐴𝐵 → ([𝐴 / 𝑥]𝑥 = 𝐴𝐴 = 𝐴))
97, 8mpbiri 258 . . 3 (𝐴𝐵[𝐴 / 𝑥]𝑥 = 𝐴)
109adantr 480 . 2 ((𝐴𝐵𝐴 ≠ ∅) → [𝐴 / 𝑥]𝑥 = 𝐴)
11 simpr 484 . . . . 5 ((𝐴𝐵𝐴 ≠ ∅) → 𝐴 ≠ ∅)
1211necomd 2985 . . . 4 ((𝐴𝐵𝐴 ≠ ∅) → ∅ ≠ 𝐴)
1312neneqd 2935 . . 3 ((𝐴𝐵𝐴 ≠ ∅) → ¬ ∅ = 𝐴)
14 0ex 5250 . . . 4 ∅ ∈ V
15 eqsbc1 3785 . . . 4 (∅ ∈ V → ([∅ / 𝑥]𝑥 = 𝐴 ↔ ∅ = 𝐴))
1614, 15ax-mp 5 . . 3 ([∅ / 𝑥]𝑥 = 𝐴 ↔ ∅ = 𝐴)
1713, 16sylnibr 329 . 2 ((𝐴𝐵𝐴 ≠ ∅) → ¬ [∅ / 𝑥]𝑥 = 𝐴)
18 sseq1 3957 . . . . . . 7 (𝑥 = 𝐴 → (𝑥𝑦𝐴𝑦))
1918anbi2d 630 . . . . . 6 (𝑥 = 𝐴 → ((𝑦𝐴𝑥𝑦) ↔ (𝑦𝐴𝐴𝑦)))
20 eqss 3947 . . . . . . 7 (𝑦 = 𝐴 ↔ (𝑦𝐴𝐴𝑦))
2120biimpri 228 . . . . . 6 ((𝑦𝐴𝐴𝑦) → 𝑦 = 𝐴)
2219, 21biimtrdi 253 . . . . 5 (𝑥 = 𝐴 → ((𝑦𝐴𝑥𝑦) → 𝑦 = 𝐴))
2322com12 32 . . . 4 ((𝑦𝐴𝑥𝑦) → (𝑥 = 𝐴𝑦 = 𝐴))
24233adant1 1130 . . 3 (((𝐴𝐵𝐴 ≠ ∅) ∧ 𝑦𝐴𝑥𝑦) → (𝑥 = 𝐴𝑦 = 𝐴))
25 sbcid 3755 . . 3 ([𝑥 / 𝑥]𝑥 = 𝐴𝑥 = 𝐴)
26 eqsbc1 3785 . . . 4 (𝑦 ∈ V → ([𝑦 / 𝑥]𝑥 = 𝐴𝑦 = 𝐴))
2726elv 3443 . . 3 ([𝑦 / 𝑥]𝑥 = 𝐴𝑦 = 𝐴)
2824, 25, 273imtr4g 296 . 2 (((𝐴𝐵𝐴 ≠ ∅) ∧ 𝑦𝐴𝑥𝑦) → ([𝑥 / 𝑥]𝑥 = 𝐴[𝑦 / 𝑥]𝑥 = 𝐴))
29 ineq12 4165 . . . . . 6 ((𝑦 = 𝐴𝑥 = 𝐴) → (𝑦𝑥) = (𝐴𝐴))
30 inidm 4177 . . . . . 6 (𝐴𝐴) = 𝐴
3129, 30eqtrdi 2785 . . . . 5 ((𝑦 = 𝐴𝑥 = 𝐴) → (𝑦𝑥) = 𝐴)
3227, 25, 31syl2anb 598 . . . 4 (([𝑦 / 𝑥]𝑥 = 𝐴[𝑥 / 𝑥]𝑥 = 𝐴) → (𝑦𝑥) = 𝐴)
33 vex 3442 . . . . . 6 𝑦 ∈ V
3433inex1 5260 . . . . 5 (𝑦𝑥) ∈ V
35 eqsbc1 3785 . . . . 5 ((𝑦𝑥) ∈ V → ([(𝑦𝑥) / 𝑥]𝑥 = 𝐴 ↔ (𝑦𝑥) = 𝐴))
3634, 35ax-mp 5 . . . 4 ([(𝑦𝑥) / 𝑥]𝑥 = 𝐴 ↔ (𝑦𝑥) = 𝐴)
3732, 36sylibr 234 . . 3 (([𝑦 / 𝑥]𝑥 = 𝐴[𝑥 / 𝑥]𝑥 = 𝐴) → [(𝑦𝑥) / 𝑥]𝑥 = 𝐴)
3837a1i 11 . 2 (((𝐴𝐵𝐴 ≠ ∅) ∧ 𝑦𝐴𝑥𝐴) → (([𝑦 / 𝑥]𝑥 = 𝐴[𝑥 / 𝑥]𝑥 = 𝐴) → [(𝑦𝑥) / 𝑥]𝑥 = 𝐴))
395, 6, 10, 17, 28, 38isfild 23800 1 ((𝐴𝐵𝐴 ≠ ∅) → {𝐴} ∈ (Fil‘𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395  w3a 1086   = wceq 1541  wcel 2113  wne 2930  Vcvv 3438  [wsbc 3738  cin 3898  wss 3899  c0 4283  {csn 4578  cfv 6490  Filcfil 23787
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2115  ax-9 2123  ax-10 2146  ax-11 2162  ax-12 2182  ax-ext 2706  ax-sep 5239  ax-nul 5249  ax-pow 5308  ax-pr 5375
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2068  df-mo 2537  df-eu 2567  df-clab 2713  df-cleq 2726  df-clel 2809  df-nfc 2883  df-ne 2931  df-nel 3035  df-ral 3050  df-rex 3059  df-rab 3398  df-v 3440  df-sbc 3739  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4284  df-if 4478  df-pw 4554  df-sn 4579  df-pr 4581  df-op 4585  df-uni 4862  df-br 5097  df-opab 5159  df-mpt 5178  df-id 5517  df-xp 5628  df-rel 5629  df-cnv 5630  df-co 5631  df-dm 5632  df-rn 5633  df-res 5634  df-ima 5635  df-iota 6446  df-fun 6492  df-fv 6498  df-fbas 21304  df-fil 23788
This theorem is referenced by:  snfbas  23808
  Copyright terms: Public domain W3C validator