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 40010
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 3495 . . . . . . 7 𝑥 ∈ V
21elima3 5929 . . . . . 6 (𝑥 ∈ ({⟨𝐴, 𝐴⟩} “ {𝐵}) ↔ ∃𝑦(𝑦 ∈ {𝐵} ∧ ⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩}))
3 velsn 4573 . . . . . 6 (𝑥 ∈ {𝐵} ↔ 𝑥 = 𝐵)
42, 3imbi12i 352 . . . . 5 ((𝑥 ∈ ({⟨𝐴, 𝐴⟩} “ {𝐵}) → 𝑥 ∈ {𝐵}) ↔ (∃𝑦(𝑦 ∈ {𝐵} ∧ ⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩}) → 𝑥 = 𝐵))
54albii 1811 . . . 4 (∀𝑥(𝑥 ∈ ({⟨𝐴, 𝐴⟩} “ {𝐵}) → 𝑥 ∈ {𝐵}) ↔ ∀𝑥(∃𝑦(𝑦 ∈ {𝐵} ∧ ⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩}) → 𝑥 = 𝐵))
6 velsn 4573 . . . . . . . 8 (𝑦 ∈ {𝐵} ↔ 𝑦 = 𝐵)
7 opex 5347 . . . . . . . . . 10 𝑦, 𝑥⟩ ∈ V
87elsn 4572 . . . . . . . . 9 (⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩} ↔ ⟨𝑦, 𝑥⟩ = ⟨𝐴, 𝐴⟩)
9 vex 3495 . . . . . . . . . 10 𝑦 ∈ V
109, 1opth 5359 . . . . . . . . 9 (⟨𝑦, 𝑥⟩ = ⟨𝐴, 𝐴⟩ ↔ (𝑦 = 𝐴𝑥 = 𝐴))
118, 10bitri 276 . . . . . . . 8 (⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩} ↔ (𝑦 = 𝐴𝑥 = 𝐴))
126, 11anbi12i 626 . . . . . . 7 ((𝑦 ∈ {𝐵} ∧ ⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩}) ↔ (𝑦 = 𝐵 ∧ (𝑦 = 𝐴𝑥 = 𝐴)))
13 3anass 1087 . . . . . . 7 ((𝑦 = 𝐵𝑦 = 𝐴𝑥 = 𝐴) ↔ (𝑦 = 𝐵 ∧ (𝑦 = 𝐴𝑥 = 𝐴)))
1412, 13bitr4i 279 . . . . . 6 ((𝑦 ∈ {𝐵} ∧ ⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩}) ↔ (𝑦 = 𝐵𝑦 = 𝐴𝑥 = 𝐴))
15 simp3 1130 . . . . . . 7 ((𝑦 = 𝐵𝑦 = 𝐴𝑥 = 𝐴) → 𝑥 = 𝐴)
16 simp2 1129 . . . . . . 7 ((𝑦 = 𝐵𝑦 = 𝐴𝑥 = 𝐴) → 𝑦 = 𝐴)
17 simp1 1128 . . . . . . 7 ((𝑦 = 𝐵𝑦 = 𝐴𝑥 = 𝐴) → 𝑦 = 𝐵)
1815, 16, 173eqtr2d 2859 . . . . . 6 ((𝑦 = 𝐵𝑦 = 𝐴𝑥 = 𝐴) → 𝑥 = 𝐵)
1914, 18sylbi 218 . . . . 5 ((𝑦 ∈ {𝐵} ∧ ⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩}) → 𝑥 = 𝐵)
2019exlimiv 1922 . . . 4 (∃𝑦(𝑦 ∈ {𝐵} ∧ ⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩}) → 𝑥 = 𝐵)
215, 20mpgbir 1791 . . 3 𝑥(𝑥 ∈ ({⟨𝐴, 𝐴⟩} “ {𝐵}) → 𝑥 ∈ {𝐵})
22 dfss2 3952 . . 3 (({⟨𝐴, 𝐴⟩} “ {𝐵}) ⊆ {𝐵} ↔ ∀𝑥(𝑥 ∈ ({⟨𝐴, 𝐴⟩} “ {𝐵}) → 𝑥 ∈ {𝐵}))
2321, 22mpbir 232 . 2 ({⟨𝐴, 𝐴⟩} “ {𝐵}) ⊆ {𝐵}
24 df-he 39997 . 2 ({⟨𝐴, 𝐴⟩} hereditary {𝐵} ↔ ({⟨𝐴, 𝐴⟩} “ {𝐵}) ⊆ {𝐵})
2523, 24mpbir 232 1 {⟨𝐴, 𝐴⟩} hereditary {𝐵}
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  w3a 1079  wal 1526   = wceq 1528  wex 1771  wcel 2105  wss 3933  {csn 4557  cop 4563  cima 5551   hereditary whe 39996
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-sep 5194  ax-nul 5201  ax-pr 5320
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ral 3140  df-rex 3141  df-rab 3144  df-v 3494  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4464  df-sn 4558  df-pr 4560  df-op 4564  df-br 5058  df-opab 5120  df-xp 5554  df-cnv 5556  df-dm 5558  df-rn 5559  df-res 5560  df-ima 5561  df-he 39997
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator