Users' Mathboxes Mathbox for BJ < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  bj-dfid2ALT Structured version   Visualization version   GIF version

Theorem bj-dfid2ALT 35138
Description: Alternate version of dfid2 5481. (Contributed by BJ, 9-Nov-2024.) (Proof modification is discouraged.) Use df-id 5479 instead to make the semantics of the construction df-opab 5133 clearer. (New usage is discouraged.)
Assertion
Ref Expression
bj-dfid2ALT I = {⟨𝑥, 𝑥⟩ ∣ ⊤}

Proof of Theorem bj-dfid2ALT
Dummy variables 𝑦 𝑧 𝑢 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-id 5479 . 2 I = {⟨𝑥, 𝑦⟩ ∣ 𝑥 = 𝑦}
2 equcomi 2025 . . . . . . . . . . . 12 (𝑥 = 𝑦𝑦 = 𝑥)
32opeq2d 4808 . . . . . . . . . . 11 (𝑥 = 𝑦 → ⟨𝑥, 𝑦⟩ = ⟨𝑥, 𝑥⟩)
43eqeq2d 2750 . . . . . . . . . 10 (𝑥 = 𝑦 → (𝑧 = ⟨𝑥, 𝑦⟩ ↔ 𝑧 = ⟨𝑥, 𝑥⟩))
54pm5.32ri 579 . . . . . . . . 9 ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑥 = 𝑦) ↔ (𝑧 = ⟨𝑥, 𝑥⟩ ∧ 𝑥 = 𝑦))
65exbii 1855 . . . . . . . 8 (∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑥 = 𝑦) ↔ ∃𝑦(𝑧 = ⟨𝑥, 𝑥⟩ ∧ 𝑥 = 𝑦))
7 ax6evr 2023 . . . . . . . . 9 𝑦 𝑥 = 𝑦
8 19.42v 1962 . . . . . . . . 9 (∃𝑦(𝑧 = ⟨𝑥, 𝑥⟩ ∧ 𝑥 = 𝑦) ↔ (𝑧 = ⟨𝑥, 𝑥⟩ ∧ ∃𝑦 𝑥 = 𝑦))
97, 8mpbiran2 710 . . . . . . . 8 (∃𝑦(𝑧 = ⟨𝑥, 𝑥⟩ ∧ 𝑥 = 𝑦) ↔ 𝑧 = ⟨𝑥, 𝑥⟩)
106, 9bitri 278 . . . . . . 7 (∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑥 = 𝑦) ↔ 𝑧 = ⟨𝑥, 𝑥⟩)
1110exbii 1855 . . . . . 6 (∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑥 = 𝑦) ↔ ∃𝑥 𝑧 = ⟨𝑥, 𝑥⟩)
12 id 22 . . . . . . . . 9 (𝑥 = 𝑢𝑥 = 𝑢)
1312, 12opeq12d 4809 . . . . . . . 8 (𝑥 = 𝑢 → ⟨𝑥, 𝑥⟩ = ⟨𝑢, 𝑢⟩)
1413eqeq2d 2750 . . . . . . 7 (𝑥 = 𝑢 → (𝑧 = ⟨𝑥, 𝑥⟩ ↔ 𝑧 = ⟨𝑢, 𝑢⟩))
1514exexw 2059 . . . . . 6 (∃𝑥 𝑧 = ⟨𝑥, 𝑥⟩ ↔ ∃𝑥𝑥 𝑧 = ⟨𝑥, 𝑥⟩)
1611, 15bitri 278 . . . . 5 (∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑥 = 𝑦) ↔ ∃𝑥𝑥 𝑧 = ⟨𝑥, 𝑥⟩)
17 tru 1547 . . . . . . . 8
1817biantru 533 . . . . . . 7 (𝑧 = ⟨𝑥, 𝑥⟩ ↔ (𝑧 = ⟨𝑥, 𝑥⟩ ∧ ⊤))
1918exbii 1855 . . . . . 6 (∃𝑥 𝑧 = ⟨𝑥, 𝑥⟩ ↔ ∃𝑥(𝑧 = ⟨𝑥, 𝑥⟩ ∧ ⊤))
2019exbii 1855 . . . . 5 (∃𝑥𝑥 𝑧 = ⟨𝑥, 𝑥⟩ ↔ ∃𝑥𝑥(𝑧 = ⟨𝑥, 𝑥⟩ ∧ ⊤))
2116, 20bitri 278 . . . 4 (∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑥 = 𝑦) ↔ ∃𝑥𝑥(𝑧 = ⟨𝑥, 𝑥⟩ ∧ ⊤))
2221abbii 2810 . . 3 {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑥 = 𝑦)} = {𝑧 ∣ ∃𝑥𝑥(𝑧 = ⟨𝑥, 𝑥⟩ ∧ ⊤)}
23 df-opab 5133 . . 3 {⟨𝑥, 𝑦⟩ ∣ 𝑥 = 𝑦} = {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑥 = 𝑦)}
24 df-opab 5133 . . 3 {⟨𝑥, 𝑥⟩ ∣ ⊤} = {𝑧 ∣ ∃𝑥𝑥(𝑧 = ⟨𝑥, 𝑥⟩ ∧ ⊤)}
2522, 23, 243eqtr4i 2777 . 2 {⟨𝑥, 𝑦⟩ ∣ 𝑥 = 𝑦} = {⟨𝑥, 𝑥⟩ ∣ ⊤}
261, 25eqtri 2767 1 I = {⟨𝑥, 𝑥⟩ ∣ ⊤}
Colors of variables: wff setvar class
Syntax hints:  wa 399   = wceq 1543  wtru 1544  wex 1787  {cab 2716  cop 4564  {copab 5132   I cid 5478
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2114  ax-9 2122  ax-ext 2710
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-sb 2073  df-clab 2717  df-cleq 2731  df-clel 2818  df-rab 3073  df-v 3425  df-dif 3887  df-un 3889  df-nul 4255  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-opab 5133  df-id 5479
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator