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 44923
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 3454 . . . . . . 7 𝑥 ∈ V
21elima3 6065 . . . . . 6 (𝑥 ∈ ({⟨𝐴, 𝐴⟩} “ {𝐵}) ↔ ∃𝑦(𝑦 ∈ {𝐵} ∧ ⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩}))
3 velsn 4596 . . . . . 6 (𝑥 ∈ {𝐵} ↔ 𝑥 = 𝐵)
42, 3imbi12i 353 . . . . 5 ((𝑥 ∈ ({⟨𝐴, 𝐴⟩} “ {𝐵}) → 𝑥 ∈ {𝐵}) ↔ (∃𝑦(𝑦 ∈ {𝐵} ∧ ⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩}) → 𝑥 = 𝐵))
54albii 1851 . . . 4 (∀𝑥(𝑥 ∈ ({⟨𝐴, 𝐴⟩} “ {𝐵}) → 𝑥 ∈ {𝐵}) ↔ ∀𝑥(∃𝑦(𝑦 ∈ {𝐵} ∧ ⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩}) → 𝑥 = 𝐵))
6 velsn 4596 . . . . . . . 8 (𝑦 ∈ {𝐵} ↔ 𝑦 = 𝐵)
7 opex 5432 . . . . . . . . . 10 ⟨𝑦, 𝑥⟩ ∈ V
87elsn 4595 . . . . . . . . 9 (⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩} ↔ ⟨𝑦, 𝑥⟩ = ⟨𝐴, 𝐴⟩)
9 vex 3454 . . . . . . . . . 10 𝑦 ∈ V
109, 1opth 5445 . . . . . . . . 9 (⟨𝑦, 𝑥⟩ = ⟨𝐴, 𝐴⟩ ↔ (𝑦 = 𝐴 ∧ 𝑥 = 𝐴))
118, 10bitri 278 . . . . . . . 8 (⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩} ↔ (𝑦 = 𝐴 ∧ 𝑥 = 𝐴))
126, 11anbi12i 640 . . . . . . 7 ((𝑦 ∈ {𝐵} ∧ ⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩}) ↔ (𝑦 = 𝐵 ∧ (𝑦 = 𝐴 ∧ 𝑥 = 𝐴)))
13 3anass 1111 . . . . . . 7 ((𝑦 = 𝐵 ∧ 𝑦 = 𝐴 ∧ 𝑥 = 𝐴) ↔ (𝑦 = 𝐵 ∧ (𝑦 = 𝐴 ∧ 𝑥 = 𝐴)))
1412, 13bitr4i 281 . . . . . 6 ((𝑦 ∈ {𝐵} ∧ ⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩}) ↔ (𝑦 = 𝐵 ∧ 𝑦 = 𝐴 ∧ 𝑥 = 𝐴))
15 simp3 1156 . . . . . . 7 ((𝑦 = 𝐵 ∧ 𝑦 = 𝐴 ∧ 𝑥 = 𝐴) → 𝑥 = 𝐴)
16 simp2 1155 . . . . . . 7 ((𝑦 = 𝐵 ∧ 𝑦 = 𝐴 ∧ 𝑥 = 𝐴) → 𝑦 = 𝐴)
17 simp1 1154 . . . . . . 7 ((𝑦 = 𝐵 ∧ 𝑦 = 𝐴 ∧ 𝑥 = 𝐴) → 𝑦 = 𝐵)
1815, 16, 173eqtr2d 2801 . . . . . 6 ((𝑦 = 𝐵 ∧ 𝑦 = 𝐴 ∧ 𝑥 = 𝐴) → 𝑥 = 𝐵)
1914, 18sylbi 220 . . . . 5 ((𝑦 ∈ {𝐵} ∧ ⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩}) → 𝑥 = 𝐵)
2019exlimiv 1962 . . . 4 (∃𝑦(𝑦 ∈ {𝐵} ∧ ⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩}) → 𝑥 = 𝐵)
215, 20mpgbir 1831 . . 3 ∀𝑥(𝑥 ∈ ({⟨𝐴, 𝐴⟩} “ {𝐵}) → 𝑥 ∈ {𝐵})
22 df-ss 3897 . . 3 (({⟨𝐴, 𝐴⟩} “ {𝐵}) ⊆ {𝐵} ↔ ∀𝑥(𝑥 ∈ ({⟨𝐴, 𝐴⟩} “ {𝐵}) → 𝑥 ∈ {𝐵}))
2321, 22mpbir 234 . 2 ({⟨𝐴, 𝐴⟩} “ {𝐵}) ⊆ {𝐵}
24 df-he 44910 . 2 ({⟨𝐴, 𝐴⟩} hereditary {𝐵} ↔ ({⟨𝐴, 𝐴⟩} “ {𝐵}) ⊆ {𝐵})
2523, 24mpbir 234 1 {⟨𝐴, 𝐴⟩} hereditary {𝐵}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103  ∀wal 1567   = wceq 1569  ∃wex 1811   ∈ wcel 2144   ⊆ wss 3896  {csn 4584  ⟨cop 4834   “ cima 5654   hereditary whe 44909
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732  ax-sep 5248  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-br 5103  df-opab 5167  df-xp 5657  df-cnv 5659  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-he 44910
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator