Users' Mathboxes Mathbox for Richard Penner < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  snhesn Structured version   Visualization version   GIF version

Theorem snhesn 37100
Description: Any singleton is hereditary in any singleton. (Contributed by RP, 28-Mar-2020.)
Assertion
Ref Expression
snhesn {⟨𝐴, 𝐴⟩} hereditary {𝐵}

Proof of Theorem snhesn
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 vex 3176 . . . . . . 7 𝑥 ∈ V
21elima3 5392 . . . . . 6 (𝑥 ∈ ({⟨𝐴, 𝐴⟩} “ {𝐵}) ↔ ∃𝑦(𝑦 ∈ {𝐵} ∧ ⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩}))
3 velsn 4141 . . . . . 6 (𝑥 ∈ {𝐵} ↔ 𝑥 = 𝐵)
42, 3imbi12i 339 . . . . 5 ((𝑥 ∈ ({⟨𝐴, 𝐴⟩} “ {𝐵}) → 𝑥 ∈ {𝐵}) ↔ (∃𝑦(𝑦 ∈ {𝐵} ∧ ⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩}) → 𝑥 = 𝐵))
54albii 1737 . . . 4 (∀𝑥(𝑥 ∈ ({⟨𝐴, 𝐴⟩} “ {𝐵}) → 𝑥 ∈ {𝐵}) ↔ ∀𝑥(∃𝑦(𝑦 ∈ {𝐵} ∧ ⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩}) → 𝑥 = 𝐵))
6 velsn 4141 . . . . . . . 8 (𝑦 ∈ {𝐵} ↔ 𝑦 = 𝐵)
7 opex 4859 . . . . . . . . . 10 𝑦, 𝑥⟩ ∈ V
87elsn 4140 . . . . . . . . 9 (⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩} ↔ ⟨𝑦, 𝑥⟩ = ⟨𝐴, 𝐴⟩)
9 vex 3176 . . . . . . . . . 10 𝑦 ∈ V
109, 1opth 4871 . . . . . . . . 9 (⟨𝑦, 𝑥⟩ = ⟨𝐴, 𝐴⟩ ↔ (𝑦 = 𝐴𝑥 = 𝐴))
118, 10bitri 263 . . . . . . . 8 (⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩} ↔ (𝑦 = 𝐴𝑥 = 𝐴))
126, 11anbi12i 729 . . . . . . 7 ((𝑦 ∈ {𝐵} ∧ ⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩}) ↔ (𝑦 = 𝐵 ∧ (𝑦 = 𝐴𝑥 = 𝐴)))
13 3anass 1035 . . . . . . 7 ((𝑦 = 𝐵𝑦 = 𝐴𝑥 = 𝐴) ↔ (𝑦 = 𝐵 ∧ (𝑦 = 𝐴𝑥 = 𝐴)))
1412, 13bitr4i 266 . . . . . 6 ((𝑦 ∈ {𝐵} ∧ ⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩}) ↔ (𝑦 = 𝐵𝑦 = 𝐴𝑥 = 𝐴))
15 simp3 1056 . . . . . . 7 ((𝑦 = 𝐵𝑦 = 𝐴𝑥 = 𝐴) → 𝑥 = 𝐴)
16 simp2 1055 . . . . . . 7 ((𝑦 = 𝐵𝑦 = 𝐴𝑥 = 𝐴) → 𝑦 = 𝐴)
17 simp1 1054 . . . . . . 7 ((𝑦 = 𝐵𝑦 = 𝐴𝑥 = 𝐴) → 𝑦 = 𝐵)
1815, 16, 173eqtr2d 2650 . . . . . 6 ((𝑦 = 𝐵𝑦 = 𝐴𝑥 = 𝐴) → 𝑥 = 𝐵)
1914, 18sylbi 206 . . . . 5 ((𝑦 ∈ {𝐵} ∧ ⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩}) → 𝑥 = 𝐵)
2019exlimiv 1845 . . . 4 (∃𝑦(𝑦 ∈ {𝐵} ∧ ⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩}) → 𝑥 = 𝐵)
215, 20mpgbir 1717 . . 3 𝑥(𝑥 ∈ ({⟨𝐴, 𝐴⟩} “ {𝐵}) → 𝑥 ∈ {𝐵})
22 dfss2 3557 . . 3 (({⟨𝐴, 𝐴⟩} “ {𝐵}) ⊆ {𝐵} ↔ ∀𝑥(𝑥 ∈ ({⟨𝐴, 𝐴⟩} “ {𝐵}) → 𝑥 ∈ {𝐵}))
2321, 22mpbir 220 . 2 ({⟨𝐴, 𝐴⟩} “ {𝐵}) ⊆ {𝐵}
24 df-he 37087 . 2 ({⟨𝐴, 𝐴⟩} hereditary {𝐵} ↔ ({⟨𝐴, 𝐴⟩} “ {𝐵}) ⊆ {𝐵})
2523, 24mpbir 220 1 {⟨𝐴, 𝐴⟩} hereditary {𝐵}
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 383  w3a 1031  wal 1473   = wceq 1475  wex 1695  wcel 1977  wss 3540  {csn 4125  cop 4131  cima 5041   hereditary whe 37086
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pr 4833
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-br 4584  df-opab 4644  df-xp 5044  df-cnv 5046  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-he 37087
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator