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

Theorem snfil 23779
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 4589 . . . 4 (𝑥 ∈ {𝐴} ↔ 𝑥 = 𝐴)
2 eqimss 3988 . . . . 5 (𝑥 = 𝐴𝑥𝐴)
32pm4.71ri 560 . . . 4 (𝑥 = 𝐴 ↔ (𝑥𝐴𝑥 = 𝐴))
41, 3bitri 275 . . 3 (𝑥 ∈ {𝐴} ↔ (𝑥𝐴𝑥 = 𝐴))
54a1i 11 . 2 ((𝐴𝐵𝐴 ≠ ∅) → (𝑥 ∈ {𝐴} ↔ (𝑥𝐴𝑥 = 𝐴)))
6 simpl 482 . 2 ((𝐴𝐵𝐴 ≠ ∅) → 𝐴𝐵)
7 eqid 2731 . . . 4 𝐴 = 𝐴
8 eqsbc1 3783 . . . 4 (𝐴𝐵 → ([𝐴 / 𝑥]𝑥 = 𝐴𝐴 = 𝐴))
97, 8mpbiri 258 . . 3 (𝐴𝐵[𝐴 / 𝑥]𝑥 = 𝐴)
109adantr 480 . 2 ((𝐴𝐵𝐴 ≠ ∅) → [𝐴 / 𝑥]𝑥 = 𝐴)
11 simpr 484 . . . . 5 ((𝐴𝐵𝐴 ≠ ∅) → 𝐴 ≠ ∅)
1211necomd 2983 . . . 4 ((𝐴𝐵𝐴 ≠ ∅) → ∅ ≠ 𝐴)
1312neneqd 2933 . . 3 ((𝐴𝐵𝐴 ≠ ∅) → ¬ ∅ = 𝐴)
14 0ex 5243 . . . 4 ∅ ∈ V
15 eqsbc1 3783 . . . 4 (∅ ∈ V → ([∅ / 𝑥]𝑥 = 𝐴 ↔ ∅ = 𝐴))
1614, 15ax-mp 5 . . 3 ([∅ / 𝑥]𝑥 = 𝐴 ↔ ∅ = 𝐴)
1713, 16sylnibr 329 . 2 ((𝐴𝐵𝐴 ≠ ∅) → ¬ [∅ / 𝑥]𝑥 = 𝐴)
18 sseq1 3955 . . . . . . 7 (𝑥 = 𝐴 → (𝑥𝑦𝐴𝑦))
1918anbi2d 630 . . . . . 6 (𝑥 = 𝐴 → ((𝑦𝐴𝑥𝑦) ↔ (𝑦𝐴𝐴𝑦)))
20 eqss 3945 . . . . . . 7 (𝑦 = 𝐴 ↔ (𝑦𝐴𝐴𝑦))
2120biimpri 228 . . . . . 6 ((𝑦𝐴𝐴𝑦) → 𝑦 = 𝐴)
2219, 21biimtrdi 253 . . . . 5 (𝑥 = 𝐴 → ((𝑦𝐴𝑥𝑦) → 𝑦 = 𝐴))
2322com12 32 . . . 4 ((𝑦𝐴𝑥𝑦) → (𝑥 = 𝐴𝑦 = 𝐴))
24233adant1 1130 . . 3 (((𝐴𝐵𝐴 ≠ ∅) ∧ 𝑦𝐴𝑥𝑦) → (𝑥 = 𝐴𝑦 = 𝐴))
25 sbcid 3753 . . 3 ([𝑥 / 𝑥]𝑥 = 𝐴𝑥 = 𝐴)
26 eqsbc1 3783 . . . 4 (𝑦 ∈ V → ([𝑦 / 𝑥]𝑥 = 𝐴𝑦 = 𝐴))
2726elv 3441 . . 3 ([𝑦 / 𝑥]𝑥 = 𝐴𝑦 = 𝐴)
2824, 25, 273imtr4g 296 . 2 (((𝐴𝐵𝐴 ≠ ∅) ∧ 𝑦𝐴𝑥𝑦) → ([𝑥 / 𝑥]𝑥 = 𝐴[𝑦 / 𝑥]𝑥 = 𝐴))
29 ineq12 4162 . . . . . 6 ((𝑦 = 𝐴𝑥 = 𝐴) → (𝑦𝑥) = (𝐴𝐴))
30 inidm 4174 . . . . . 6 (𝐴𝐴) = 𝐴
3129, 30eqtrdi 2782 . . . . 5 ((𝑦 = 𝐴𝑥 = 𝐴) → (𝑦𝑥) = 𝐴)
3227, 25, 31syl2anb 598 . . . 4 (([𝑦 / 𝑥]𝑥 = 𝐴[𝑥 / 𝑥]𝑥 = 𝐴) → (𝑦𝑥) = 𝐴)
33 vex 3440 . . . . . 6 𝑦 ∈ V
3433inex1 5253 . . . . 5 (𝑦𝑥) ∈ V
35 eqsbc1 3783 . . . . 5 ((𝑦𝑥) ∈ V → ([(𝑦𝑥) / 𝑥]𝑥 = 𝐴 ↔ (𝑦𝑥) = 𝐴))
3634, 35ax-mp 5 . . . 4 ([(𝑦𝑥) / 𝑥]𝑥 = 𝐴 ↔ (𝑦𝑥) = 𝐴)
3732, 36sylibr 234 . . 3 (([𝑦 / 𝑥]𝑥 = 𝐴[𝑥 / 𝑥]𝑥 = 𝐴) → [(𝑦𝑥) / 𝑥]𝑥 = 𝐴)
3837a1i 11 . 2 (((𝐴𝐵𝐴 ≠ ∅) ∧ 𝑦𝐴𝑥𝐴) → (([𝑦 / 𝑥]𝑥 = 𝐴[𝑥 / 𝑥]𝑥 = 𝐴) → [(𝑦𝑥) / 𝑥]𝑥 = 𝐴))
395, 6, 10, 17, 28, 38isfild 23773 1 ((𝐴𝐵𝐴 ≠ ∅) → {𝐴} ∈ (Fil‘𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395  w3a 1086   = wceq 1541  wcel 2111  wne 2928  Vcvv 3436  [wsbc 3736  cin 3896  wss 3897  c0 4280  {csn 4573  cfv 6481  Filcfil 23760
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 2113  ax-9 2121  ax-10 2144  ax-11 2160  ax-12 2180  ax-ext 2703  ax-sep 5232  ax-nul 5242  ax-pow 5301  ax-pr 5368
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 2535  df-eu 2564  df-clab 2710  df-cleq 2723  df-clel 2806  df-nfc 2881  df-ne 2929  df-nel 3033  df-ral 3048  df-rex 3057  df-rab 3396  df-v 3438  df-sbc 3737  df-csb 3846  df-dif 3900  df-un 3902  df-in 3904  df-ss 3914  df-nul 4281  df-if 4473  df-pw 4549  df-sn 4574  df-pr 4576  df-op 4580  df-uni 4857  df-br 5090  df-opab 5152  df-mpt 5171  df-id 5509  df-xp 5620  df-rel 5621  df-cnv 5622  df-co 5623  df-dm 5624  df-rn 5625  df-res 5626  df-ima 5627  df-iota 6437  df-fun 6483  df-fv 6489  df-fbas 21288  df-fil 23761
This theorem is referenced by:  snfbas  23781
  Copyright terms: Public domain W3C validator