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 45047
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 3458 . . . . . . 7 𝑥 ∈ V
21elima3 6081 . . . . . 6 (𝑥 ∈ ({⟨𝐴, 𝐴⟩} “ {𝐵}) ↔ ∃𝑦(𝑦 ∈ {𝐵} ∧ ⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩}))
3 velsn 4600 . . . . . 6 (𝑥 ∈ {𝐵} ↔ 𝑥 = 𝐵)
42, 3imbi12i 353 . . . . 5 ((𝑥 ∈ ({⟨𝐴, 𝐴⟩} “ {𝐵}) → 𝑥 ∈ {𝐵}) ↔ (∃𝑦(𝑦 ∈ {𝐵} ∧ ⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩}) → 𝑥 = 𝐵))
54albii 1852 . . . 4 (∀𝑥(𝑥 ∈ ({⟨𝐴, 𝐴⟩} “ {𝐵}) → 𝑥 ∈ {𝐵}) ↔ ∀𝑥(∃𝑦(𝑦 ∈ {𝐵} ∧ ⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩}) → 𝑥 = 𝐵))
6 velsn 4600 . . . . . . . 8 (𝑦 ∈ {𝐵} ↔ 𝑦 = 𝐵)
7 opex 5439 . . . . . . . . . 10 ⟨𝑦, 𝑥⟩ ∈ V
87elsn 4599 . . . . . . . . 9 (⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩} ↔ ⟨𝑦, 𝑥⟩ = ⟨𝐴, 𝐴⟩)
9 vex 3458 . . . . . . . . . 10 𝑦 ∈ V
109, 1opth 5452 . . . . . . . . 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 2804 . . . . . 6 ((𝑦 = 𝐵 ∧ 𝑦 = 𝐴 ∧ 𝑥 = 𝐴) → 𝑥 = 𝐵)
1914, 18sylbi 220 . . . . 5 ((𝑦 ∈ {𝐵} ∧ ⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩}) → 𝑥 = 𝐵)
2019exlimiv 1965 . . . 4 (∃𝑦(𝑦 ∈ {𝐵} ∧ ⟨𝑦, 𝑥⟩ ∈ {⟨𝐴, 𝐴⟩}) → 𝑥 = 𝐵)
215, 20mpgbir 1832 . . 3 ∀𝑥(𝑥 ∈ ({⟨𝐴, 𝐴⟩} “ {𝐵}) → 𝑥 ∈ {𝐵})
22 df-ss 3901 . . 3 (({⟨𝐴, 𝐴⟩} “ {𝐵}) ⊆ {𝐵} ↔ ∀𝑥(𝑥 ∈ ({⟨𝐴, 𝐴⟩} “ {𝐵}) → 𝑥 ∈ {𝐵}))
2321, 22mpbir 234 . 2 ({⟨𝐴, 𝐴⟩} “ {𝐵}) ⊆ {𝐵}
24 df-he 45034 . 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 1568   = wceq 1570  ∃wex 1812   ∈ wcel 2147   ⊆ wss 3900  {csn 4588  ⟨cop 4840   “ cima 5661   hereditary whe 45033
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735  ax-sep 5255  ax-pr 5398
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-br 5109  df-opab 5174  df-xp 5664  df-cnv 5666  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-he 45034
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator