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

Theorem dfhe3 41272
Description: The property of relation 𝑅 being hereditary in class 𝐴. (Contributed by RP, 27-Mar-2020.)
Assertion
Ref Expression
dfhe3 (𝑅 hereditary 𝐴 ↔ ∀𝑥(𝑥𝐴 → ∀𝑦(𝑥𝑅𝑦𝑦𝐴)))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝑅,𝑦

Proof of Theorem dfhe3
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 df-he 41270 . 2 (𝑅 hereditary 𝐴 ↔ (𝑅𝐴) ⊆ 𝐴)
2 19.21v 1943 . . . . . 6 (∀𝑦(𝑥𝐴 → (𝑥𝑅𝑦𝑦𝐴)) ↔ (𝑥𝐴 → ∀𝑦(𝑥𝑅𝑦𝑦𝐴)))
32bicomi 223 . . . . 5 ((𝑥𝐴 → ∀𝑦(𝑥𝑅𝑦𝑦𝐴)) ↔ ∀𝑦(𝑥𝐴 → (𝑥𝑅𝑦𝑦𝐴)))
43albii 1823 . . . 4 (∀𝑥(𝑥𝐴 → ∀𝑦(𝑥𝑅𝑦𝑦𝐴)) ↔ ∀𝑥𝑦(𝑥𝐴 → (𝑥𝑅𝑦𝑦𝐴)))
5 alcom 2158 . . . 4 (∀𝑥𝑦(𝑥𝐴 → (𝑥𝑅𝑦𝑦𝐴)) ↔ ∀𝑦𝑥(𝑥𝐴 → (𝑥𝑅𝑦𝑦𝐴)))
6 impexp 450 . . . . . . . 8 (((𝑥𝐴𝑥𝑅𝑦) → 𝑦𝐴) ↔ (𝑥𝐴 → (𝑥𝑅𝑦𝑦𝐴)))
76bicomi 223 . . . . . . 7 ((𝑥𝐴 → (𝑥𝑅𝑦𝑦𝐴)) ↔ ((𝑥𝐴𝑥𝑅𝑦) → 𝑦𝐴))
87albii 1823 . . . . . 6 (∀𝑥(𝑥𝐴 → (𝑥𝑅𝑦𝑦𝐴)) ↔ ∀𝑥((𝑥𝐴𝑥𝑅𝑦) → 𝑦𝐴))
9 19.23v 1946 . . . . . 6 (∀𝑥((𝑥𝐴𝑥𝑅𝑦) → 𝑦𝐴) ↔ (∃𝑥(𝑥𝐴𝑥𝑅𝑦) → 𝑦𝐴))
108, 9bitri 274 . . . . 5 (∀𝑥(𝑥𝐴 → (𝑥𝑅𝑦𝑦𝐴)) ↔ (∃𝑥(𝑥𝐴𝑥𝑅𝑦) → 𝑦𝐴))
1110albii 1823 . . . 4 (∀𝑦𝑥(𝑥𝐴 → (𝑥𝑅𝑦𝑦𝐴)) ↔ ∀𝑦(∃𝑥(𝑥𝐴𝑥𝑅𝑦) → 𝑦𝐴))
124, 5, 113bitri 296 . . 3 (∀𝑥(𝑥𝐴 → ∀𝑦(𝑥𝑅𝑦𝑦𝐴)) ↔ ∀𝑦(∃𝑥(𝑥𝐴𝑥𝑅𝑦) → 𝑦𝐴))
13 dfss2 3903 . . . . 5 ({𝑧 ∣ ∃𝑥(𝑥𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝑅)} ⊆ 𝐴 ↔ ∀𝑦(𝑦 ∈ {𝑧 ∣ ∃𝑥(𝑥𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝑅)} → 𝑦𝐴))
14 vex 3426 . . . . . . . 8 𝑦 ∈ V
15 opeq2 4802 . . . . . . . . . . . 12 (𝑧 = 𝑦 → ⟨𝑥, 𝑧⟩ = ⟨𝑥, 𝑦⟩)
1615eleq1d 2823 . . . . . . . . . . 11 (𝑧 = 𝑦 → (⟨𝑥, 𝑧⟩ ∈ 𝑅 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑅))
17 df-br 5071 . . . . . . . . . . 11 (𝑥𝑅𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑅)
1816, 17bitr4di 288 . . . . . . . . . 10 (𝑧 = 𝑦 → (⟨𝑥, 𝑧⟩ ∈ 𝑅𝑥𝑅𝑦))
1918anbi2d 628 . . . . . . . . 9 (𝑧 = 𝑦 → ((𝑥𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝑅) ↔ (𝑥𝐴𝑥𝑅𝑦)))
2019exbidv 1925 . . . . . . . 8 (𝑧 = 𝑦 → (∃𝑥(𝑥𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝑅) ↔ ∃𝑥(𝑥𝐴𝑥𝑅𝑦)))
2114, 20elab 3602 . . . . . . 7 (𝑦 ∈ {𝑧 ∣ ∃𝑥(𝑥𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝑅)} ↔ ∃𝑥(𝑥𝐴𝑥𝑅𝑦))
2221imbi1i 349 . . . . . 6 ((𝑦 ∈ {𝑧 ∣ ∃𝑥(𝑥𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝑅)} → 𝑦𝐴) ↔ (∃𝑥(𝑥𝐴𝑥𝑅𝑦) → 𝑦𝐴))
2322albii 1823 . . . . 5 (∀𝑦(𝑦 ∈ {𝑧 ∣ ∃𝑥(𝑥𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝑅)} → 𝑦𝐴) ↔ ∀𝑦(∃𝑥(𝑥𝐴𝑥𝑅𝑦) → 𝑦𝐴))
2413, 23bitr2i 275 . . . 4 (∀𝑦(∃𝑥(𝑥𝐴𝑥𝑅𝑦) → 𝑦𝐴) ↔ {𝑧 ∣ ∃𝑥(𝑥𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝑅)} ⊆ 𝐴)
25 dfima3 5961 . . . . . 6 (𝑅𝐴) = {𝑧 ∣ ∃𝑥(𝑥𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝑅)}
2625eqcomi 2747 . . . . 5 {𝑧 ∣ ∃𝑥(𝑥𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝑅)} = (𝑅𝐴)
2726sseq1i 3945 . . . 4 ({𝑧 ∣ ∃𝑥(𝑥𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝑅)} ⊆ 𝐴 ↔ (𝑅𝐴) ⊆ 𝐴)
2824, 27bitri 274 . . 3 (∀𝑦(∃𝑥(𝑥𝐴𝑥𝑅𝑦) → 𝑦𝐴) ↔ (𝑅𝐴) ⊆ 𝐴)
2912, 28bitr2i 275 . 2 ((𝑅𝐴) ⊆ 𝐴 ↔ ∀𝑥(𝑥𝐴 → ∀𝑦(𝑥𝑅𝑦𝑦𝐴)))
301, 29bitri 274 1 (𝑅 hereditary 𝐴 ↔ ∀𝑥(𝑥𝐴 → ∀𝑦(𝑥𝑅𝑦𝑦𝐴)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wal 1537  wex 1783  wcel 2108  {cab 2715  wss 3883  cop 4564   class class class wbr 5070  cima 5583   hereditary whe 41269
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-11 2156  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-br 5071  df-opab 5133  df-xp 5586  df-cnv 5588  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-he 41270
This theorem is referenced by:  psshepw  41285  dffrege69  41429
  Copyright terms: Public domain W3C validator