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 37268
Description: Alternate version of dfid2 5522. (Contributed by BJ, 9-Nov-2024.) (Proof modification is discouraged.) Use df-id 5520 instead to make the semantics of the construction df-opab 5162 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 5520 . 2 I = {⟨𝑥, 𝑦⟩ ∣ 𝑥 = 𝑦}
2 equcomi 2019 . . . . . . . . . . . 12 (𝑥 = 𝑦𝑦 = 𝑥)
32opeq2d 4837 . . . . . . . . . . 11 (𝑥 = 𝑦 → ⟨𝑥, 𝑦⟩ = ⟨𝑥, 𝑥⟩)
43eqeq2d 2748 . . . . . . . . . 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 4838 . . . . . . . 8 (𝑥 = 𝑢 → ⟨𝑥, 𝑥⟩ = ⟨𝑢, 𝑢⟩)
1413eqeq2d 2748 . . . . . . 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 2804 . . 3 {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑥 = 𝑦)} = {𝑧 ∣ ∃𝑥𝑥(𝑧 = ⟨𝑥, 𝑥⟩ ∧ ⊤)}
23 df-opab 5162 . . 3 {⟨𝑥, 𝑦⟩ ∣ 𝑥 = 𝑦} = {𝑧 ∣ ∃𝑥𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑥 = 𝑦)}
24 df-opab 5162 . . 3 {⟨𝑥, 𝑥⟩ ∣ ⊤} = {𝑧 ∣ ∃𝑥𝑥(𝑧 = ⟨𝑥, 𝑥⟩ ∧ ⊤)}
2522, 23, 243eqtr4i 2770 . 2 {⟨𝑥, 𝑦⟩ ∣ 𝑥 = 𝑦} = {⟨𝑥, 𝑥⟩ ∣ ⊤}
261, 25eqtri 2760 1 I = {⟨𝑥, 𝑥⟩ ∣ ⊤}
Colors of variables: wff setvar class
Syntax hints:  wa 395   = wceq 1542  wtru 1543  wex 1781  {cab 2715  cop 4587  {copab 5161   I cid 5519
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 2709
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 2716  df-cleq 2729  df-clel 2812  df-rab 3401  df-v 3443  df-dif 3905  df-un 3907  df-ss 3919  df-nul 4287  df-if 4481  df-sn 4582  df-pr 4584  df-op 4588  df-opab 5162  df-id 5520
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator