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

Theorem snfil 23808
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 4596 . . . 4 (𝑥 ∈ {𝐴} ↔ 𝑥 = 𝐴)
2 eqimss 3992 . . . . 5 (𝑥 = 𝐴𝑥𝐴)
32pm4.71ri 560 . . . 4 (𝑥 = 𝐴 ↔ (𝑥𝐴𝑥 = 𝐴))
41, 3bitri 275 . . 3 (𝑥 ∈ {𝐴} ↔ (𝑥𝐴𝑥 = 𝐴))
54a1i 11 . 2 ((𝐴𝐵𝐴 ≠ ∅) → (𝑥 ∈ {𝐴} ↔ (𝑥𝐴𝑥 = 𝐴)))
6 simpl 482 . 2 ((𝐴𝐵𝐴 ≠ ∅) → 𝐴𝐵)
7 eqid 2736 . . . 4 𝐴 = 𝐴
8 eqsbc1 3787 . . . 4 (𝐴𝐵 → ([𝐴 / 𝑥]𝑥 = 𝐴𝐴 = 𝐴))
97, 8mpbiri 258 . . 3 (𝐴𝐵[𝐴 / 𝑥]𝑥 = 𝐴)
109adantr 480 . 2 ((𝐴𝐵𝐴 ≠ ∅) → [𝐴 / 𝑥]𝑥 = 𝐴)
11 simpr 484 . . . . 5 ((𝐴𝐵𝐴 ≠ ∅) → 𝐴 ≠ ∅)
1211necomd 2987 . . . 4 ((𝐴𝐵𝐴 ≠ ∅) → ∅ ≠ 𝐴)
1312neneqd 2937 . . 3 ((𝐴𝐵𝐴 ≠ ∅) → ¬ ∅ = 𝐴)
14 0ex 5252 . . . 4 ∅ ∈ V
15 eqsbc1 3787 . . . 4 (∅ ∈ V → ([∅ / 𝑥]𝑥 = 𝐴 ↔ ∅ = 𝐴))
1614, 15ax-mp 5 . . 3 ([∅ / 𝑥]𝑥 = 𝐴 ↔ ∅ = 𝐴)
1713, 16sylnibr 329 . 2 ((𝐴𝐵𝐴 ≠ ∅) → ¬ [∅ / 𝑥]𝑥 = 𝐴)
18 sseq1 3959 . . . . . . 7 (𝑥 = 𝐴 → (𝑥𝑦𝐴𝑦))
1918anbi2d 630 . . . . . 6 (𝑥 = 𝐴 → ((𝑦𝐴𝑥𝑦) ↔ (𝑦𝐴𝐴𝑦)))
20 eqss 3949 . . . . . . 7 (𝑦 = 𝐴 ↔ (𝑦𝐴𝐴𝑦))
2120biimpri 228 . . . . . 6 ((𝑦𝐴𝐴𝑦) → 𝑦 = 𝐴)
2219, 21biimtrdi 253 . . . . 5 (𝑥 = 𝐴 → ((𝑦𝐴𝑥𝑦) → 𝑦 = 𝐴))
2322com12 32 . . . 4 ((𝑦𝐴𝑥𝑦) → (𝑥 = 𝐴𝑦 = 𝐴))
24233adant1 1130 . . 3 (((𝐴𝐵𝐴 ≠ ∅) ∧ 𝑦𝐴𝑥𝑦) → (𝑥 = 𝐴𝑦 = 𝐴))
25 sbcid 3757 . . 3 ([𝑥 / 𝑥]𝑥 = 𝐴𝑥 = 𝐴)
26 eqsbc1 3787 . . . 4 (𝑦 ∈ V → ([𝑦 / 𝑥]𝑥 = 𝐴𝑦 = 𝐴))
2726elv 3445 . . 3 ([𝑦 / 𝑥]𝑥 = 𝐴𝑦 = 𝐴)
2824, 25, 273imtr4g 296 . 2 (((𝐴𝐵𝐴 ≠ ∅) ∧ 𝑦𝐴𝑥𝑦) → ([𝑥 / 𝑥]𝑥 = 𝐴[𝑦 / 𝑥]𝑥 = 𝐴))
29 ineq12 4167 . . . . . 6 ((𝑦 = 𝐴𝑥 = 𝐴) → (𝑦𝑥) = (𝐴𝐴))
30 inidm 4179 . . . . . 6 (𝐴𝐴) = 𝐴
3129, 30eqtrdi 2787 . . . . 5 ((𝑦 = 𝐴𝑥 = 𝐴) → (𝑦𝑥) = 𝐴)
3227, 25, 31syl2anb 598 . . . 4 (([𝑦 / 𝑥]𝑥 = 𝐴[𝑥 / 𝑥]𝑥 = 𝐴) → (𝑦𝑥) = 𝐴)
33 vex 3444 . . . . . 6 𝑦 ∈ V
3433inex1 5262 . . . . 5 (𝑦𝑥) ∈ V
35 eqsbc1 3787 . . . . 5 ((𝑦𝑥) ∈ V → ([(𝑦𝑥) / 𝑥]𝑥 = 𝐴 ↔ (𝑦𝑥) = 𝐴))
3634, 35ax-mp 5 . . . 4 ([(𝑦𝑥) / 𝑥]𝑥 = 𝐴 ↔ (𝑦𝑥) = 𝐴)
3732, 36sylibr 234 . . 3 (([𝑦 / 𝑥]𝑥 = 𝐴[𝑥 / 𝑥]𝑥 = 𝐴) → [(𝑦𝑥) / 𝑥]𝑥 = 𝐴)
3837a1i 11 . 2 (((𝐴𝐵𝐴 ≠ ∅) ∧ 𝑦𝐴𝑥𝐴) → (([𝑦 / 𝑥]𝑥 = 𝐴[𝑥 / 𝑥]𝑥 = 𝐴) → [(𝑦𝑥) / 𝑥]𝑥 = 𝐴))
395, 6, 10, 17, 28, 38isfild 23802 1 ((𝐴𝐵𝐴 ≠ ∅) → {𝐴} ∈ (Fil‘𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395  w3a 1086   = wceq 1541  wcel 2113  wne 2932  Vcvv 3440  [wsbc 3740  cin 3900  wss 3901  c0 4285  {csn 4580  cfv 6492  Filcfil 23789
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 2184  ax-ext 2708  ax-sep 5241  ax-nul 5251  ax-pow 5310  ax-pr 5377
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 2539  df-eu 2569  df-clab 2715  df-cleq 2728  df-clel 2811  df-nfc 2885  df-ne 2933  df-nel 3037  df-ral 3052  df-rex 3061  df-rab 3400  df-v 3442  df-sbc 3741  df-csb 3850  df-dif 3904  df-un 3906  df-in 3908  df-ss 3918  df-nul 4286  df-if 4480  df-pw 4556  df-sn 4581  df-pr 4583  df-op 4587  df-uni 4864  df-br 5099  df-opab 5161  df-mpt 5180  df-id 5519  df-xp 5630  df-rel 5631  df-cnv 5632  df-co 5633  df-dm 5634  df-rn 5635  df-res 5636  df-ima 5637  df-iota 6448  df-fun 6494  df-fv 6500  df-fbas 21306  df-fil 23790
This theorem is referenced by:  snfbas  23810
  Copyright terms: Public domain W3C validator