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 41383
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 41381 . 2 (𝑅 hereditary 𝐴 ↔ (𝑅𝐴) ⊆ 𝐴)
2 19.21v 1942 . . . . . 6 (∀𝑦(𝑥𝐴 → (𝑥𝑅𝑦𝑦𝐴)) ↔ (𝑥𝐴 → ∀𝑦(𝑥𝑅𝑦𝑦𝐴)))
32bicomi 223 . . . . 5 ((𝑥𝐴 → ∀𝑦(𝑥𝑅𝑦𝑦𝐴)) ↔ ∀𝑦(𝑥𝐴 → (𝑥𝑅𝑦𝑦𝐴)))
43albii 1822 . . . 4 (∀𝑥(𝑥𝐴 → ∀𝑦(𝑥𝑅𝑦𝑦𝐴)) ↔ ∀𝑥𝑦(𝑥𝐴 → (𝑥𝑅𝑦𝑦𝐴)))
5 alcom 2156 . . . 4 (∀𝑥𝑦(𝑥𝐴 → (𝑥𝑅𝑦𝑦𝐴)) ↔ ∀𝑦𝑥(𝑥𝐴 → (𝑥𝑅𝑦𝑦𝐴)))
6 impexp 451 . . . . . . . 8 (((𝑥𝐴𝑥𝑅𝑦) → 𝑦𝐴) ↔ (𝑥𝐴 → (𝑥𝑅𝑦𝑦𝐴)))
76bicomi 223 . . . . . . 7 ((𝑥𝐴 → (𝑥𝑅𝑦𝑦𝐴)) ↔ ((𝑥𝐴𝑥𝑅𝑦) → 𝑦𝐴))
87albii 1822 . . . . . 6 (∀𝑥(𝑥𝐴 → (𝑥𝑅𝑦𝑦𝐴)) ↔ ∀𝑥((𝑥𝐴𝑥𝑅𝑦) → 𝑦𝐴))
9 19.23v 1945 . . . . . 6 (∀𝑥((𝑥𝐴𝑥𝑅𝑦) → 𝑦𝐴) ↔ (∃𝑥(𝑥𝐴𝑥𝑅𝑦) → 𝑦𝐴))
108, 9bitri 274 . . . . 5 (∀𝑥(𝑥𝐴 → (𝑥𝑅𝑦𝑦𝐴)) ↔ (∃𝑥(𝑥𝐴𝑥𝑅𝑦) → 𝑦𝐴))
1110albii 1822 . . . 4 (∀𝑦𝑥(𝑥𝐴 → (𝑥𝑅𝑦𝑦𝐴)) ↔ ∀𝑦(∃𝑥(𝑥𝐴𝑥𝑅𝑦) → 𝑦𝐴))
124, 5, 113bitri 297 . . 3 (∀𝑥(𝑥𝐴 → ∀𝑦(𝑥𝑅𝑦𝑦𝐴)) ↔ ∀𝑦(∃𝑥(𝑥𝐴𝑥𝑅𝑦) → 𝑦𝐴))
13 dfss2 3907 . . . . 5 ({𝑧 ∣ ∃𝑥(𝑥𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝑅)} ⊆ 𝐴 ↔ ∀𝑦(𝑦 ∈ {𝑧 ∣ ∃𝑥(𝑥𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝑅)} → 𝑦𝐴))
14 vex 3436 . . . . . . . 8 𝑦 ∈ V
15 opeq2 4805 . . . . . . . . . . . 12 (𝑧 = 𝑦 → ⟨𝑥, 𝑧⟩ = ⟨𝑥, 𝑦⟩)
1615eleq1d 2823 . . . . . . . . . . 11 (𝑧 = 𝑦 → (⟨𝑥, 𝑧⟩ ∈ 𝑅 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑅))
17 df-br 5075 . . . . . . . . . . 11 (𝑥𝑅𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑅)
1816, 17bitr4di 289 . . . . . . . . . 10 (𝑧 = 𝑦 → (⟨𝑥, 𝑧⟩ ∈ 𝑅𝑥𝑅𝑦))
1918anbi2d 629 . . . . . . . . 9 (𝑧 = 𝑦 → ((𝑥𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝑅) ↔ (𝑥𝐴𝑥𝑅𝑦)))
2019exbidv 1924 . . . . . . . 8 (𝑧 = 𝑦 → (∃𝑥(𝑥𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝑅) ↔ ∃𝑥(𝑥𝐴𝑥𝑅𝑦)))
2114, 20elab 3609 . . . . . . 7 (𝑦 ∈ {𝑧 ∣ ∃𝑥(𝑥𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝑅)} ↔ ∃𝑥(𝑥𝐴𝑥𝑅𝑦))
2221imbi1i 350 . . . . . 6 ((𝑦 ∈ {𝑧 ∣ ∃𝑥(𝑥𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝑅)} → 𝑦𝐴) ↔ (∃𝑥(𝑥𝐴𝑥𝑅𝑦) → 𝑦𝐴))
2322albii 1822 . . . . 5 (∀𝑦(𝑦 ∈ {𝑧 ∣ ∃𝑥(𝑥𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝑅)} → 𝑦𝐴) ↔ ∀𝑦(∃𝑥(𝑥𝐴𝑥𝑅𝑦) → 𝑦𝐴))
2413, 23bitr2i 275 . . . 4 (∀𝑦(∃𝑥(𝑥𝐴𝑥𝑅𝑦) → 𝑦𝐴) ↔ {𝑧 ∣ ∃𝑥(𝑥𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝑅)} ⊆ 𝐴)
25 dfima3 5972 . . . . . 6 (𝑅𝐴) = {𝑧 ∣ ∃𝑥(𝑥𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝑅)}
2625eqcomi 2747 . . . . 5 {𝑧 ∣ ∃𝑥(𝑥𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝑅)} = (𝑅𝐴)
2726sseq1i 3949 . . . 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 396  wal 1537  wex 1782  wcel 2106  {cab 2715  wss 3887  cop 4567   class class class wbr 5074  cima 5592   hereditary whe 41380
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-11 2154  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-br 5075  df-opab 5137  df-xp 5595  df-cnv 5597  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-he 41381
This theorem is referenced by:  psshepw  41396  dffrege69  41540
  Copyright terms: Public domain W3C validator