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 37372
Description: Alternate version of dfid2 5528. (Contributed by BJ, 9-Nov-2024.) (Proof modification is discouraged.) Use df-id 5526 instead to make the semantics of the construction df-opab 5148 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 5526 . 2 I = {⟨𝑥, 𝑦⟩ ∣ 𝑥 = 𝑦}
2 equcomi 2019 . . . . . . . . . . . 12 (𝑥 = 𝑦𝑦 = 𝑥)
32opeq2d 4823 . . . . . . . . . . 11 (𝑥 = 𝑦 → ⟨𝑥, 𝑦⟩ = ⟨𝑥, 𝑥⟩)
43eqeq2d 2747 . . . . . . . . . 10 (𝑥 = 𝑦 → (𝑧 = ⟨𝑥, 𝑦⟩ ↔ 𝑧 = ⟨𝑥, 𝑥⟩))
54pm5.32ri 575 . . . . . . . . 9 ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑥 = 𝑦) ↔ (𝑧 = ⟨𝑥, 𝑥⟩ ∧ 𝑥 = 𝑦))
65exbii 1850 . . . . . . . 8 (∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑥 = 𝑦) ↔ ∃𝑦(𝑧 = ⟨𝑥, 𝑥⟩ ∧ 𝑥 = 𝑦))
7 ax6evr 2017 . . . . . . . . 9 𝑦 𝑥 = 𝑦
8 19.42v 1955 . . . . . . . . 9 (∃𝑦(𝑧 = ⟨𝑥, 𝑥⟩ ∧ 𝑥 = 𝑦) ↔ (𝑧 = ⟨𝑥, 𝑥⟩ ∧ ∃𝑦 𝑥 = 𝑦))
97, 8mpbiran2 711 . . . . . . . 8 (∃𝑦(𝑧 = ⟨𝑥, 𝑥⟩ ∧ 𝑥 = 𝑦) ↔ 𝑧 = ⟨𝑥, 𝑥⟩)
106, 9bitri 275 . . . . . . 7 (∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑥 = 𝑦) ↔ 𝑧 = ⟨𝑥, 𝑥⟩)
1110exbii 1850 . . . . . 6 (∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑥 = 𝑦) ↔ ∃𝑥 𝑧 = ⟨𝑥, 𝑥⟩)
12 id 22 . . . . . . . . 9 (𝑥 = 𝑢𝑥 = 𝑢)
1312, 12opeq12d 4824 . . . . . . . 8 (𝑥 = 𝑢 → ⟨𝑥, 𝑥⟩ = ⟨𝑢, 𝑢⟩)
1413eqeq2d 2747 . . . . . . 7 (𝑥 = 𝑢 → (𝑧 = ⟨𝑥, 𝑥⟩ ↔ 𝑧 = ⟨𝑢, 𝑢⟩))
1514exexw 2055 . . . . . 6 (∃𝑥 𝑧 = ⟨𝑥, 𝑥⟩ ↔ ∃𝑥𝑥 𝑧 = ⟨𝑥, 𝑥⟩)
1611, 15bitri 275 . . . . 5 (∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑥 = 𝑦) ↔ ∃𝑥𝑥 𝑧 = ⟨𝑥, 𝑥⟩)
17 tru 1546 . . . . . . . 8
1817biantru 529 . . . . . . 7 (𝑧 = ⟨𝑥, 𝑥⟩ ↔ (𝑧 = ⟨𝑥, 𝑥⟩ ∧ ⊤))
1918exbii 1850 . . . . . 6 (∃𝑥 𝑧 = ⟨𝑥, 𝑥⟩ ↔ ∃𝑥(𝑧 = ⟨𝑥, 𝑥⟩ ∧ ⊤))
2019exbii 1850 . . . . 5 (∃𝑥𝑥 𝑧 = ⟨𝑥, 𝑥⟩ ↔ ∃𝑥𝑥(𝑧 = ⟨𝑥, 𝑥⟩ ∧ ⊤))
2116, 20bitri 275 . . . 4 (∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑥 = 𝑦) ↔ ∃𝑥𝑥(𝑧 = ⟨𝑥, 𝑥⟩ ∧ ⊤))
2221abbii 2803 . . 3 {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑥 = 𝑦)} = {𝑧 ∣ ∃𝑥𝑥(𝑧 = ⟨𝑥, 𝑥⟩ ∧ ⊤)}
23 df-opab 5148 . . 3 {⟨𝑥, 𝑦⟩ ∣ 𝑥 = 𝑦} = {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑥 = 𝑦)}
24 df-opab 5148 . . 3 {⟨𝑥, 𝑥⟩ ∣ ⊤} = {𝑧 ∣ ∃𝑥𝑥(𝑧 = ⟨𝑥, 𝑥⟩ ∧ ⊤)}
2522, 23, 243eqtr4i 2769 . 2 {⟨𝑥, 𝑦⟩ ∣ 𝑥 = 𝑦} = {⟨𝑥, 𝑥⟩ ∣ ⊤}
261, 25eqtri 2759 1 I = {⟨𝑥, 𝑥⟩ ∣ ⊤}
Colors of variables: wff setvar class
Syntax hints:  wa 395   = wceq 1542  wtru 1543  wex 1781  {cab 2714  cop 4573  {copab 5147   I cid 5525
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-ext 2708
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-sb 2069  df-clab 2715  df-cleq 2728  df-clel 2811  df-rab 3390  df-v 3431  df-dif 3892  df-un 3894  df-ss 3906  df-nul 4274  df-if 4467  df-sn 4568  df-pr 4570  df-op 4574  df-opab 5148  df-id 5526
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator