Users' Mathboxes Mathbox for Zhi Wang < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  eloprab1st2nd Structured version   Visualization version   GIF version

Theorem eloprab1st2nd 48844
Description: Reconstruction of a nested ordered pair in terms of its ordered pair components. (Contributed by Zhi Wang, 27-Oct-2025.)
Assertion
Ref Expression
eloprab1st2nd (𝐴 ∈ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} → 𝐴 = ⟨⟨(1st ‘(1st𝐴)), (2nd ‘(1st𝐴))⟩, (2nd𝐴)⟩)
Distinct variable groups:   𝑥,𝐴   𝑦,𝐴   𝑧,𝐴
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧)

Proof of Theorem eloprab1st2nd
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 eqeq1 2734 . . . . . 6 (𝑤 = 𝐴 → (𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ↔ 𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩))
21anbi1d 631 . . . . 5 (𝑤 = 𝐴 → ((𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ↔ (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)))
323exbidv 1925 . . . 4 (𝑤 = 𝐴 → (∃𝑥𝑦𝑧(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ↔ ∃𝑥𝑦𝑧(𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)))
4 df-oprab 7393 . . . 4 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} = {𝑤 ∣ ∃𝑥𝑦𝑧(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)}
53, 4elab2g 3649 . . 3 (𝐴 ∈ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} → (𝐴 ∈ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} ↔ ∃𝑥𝑦𝑧(𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)))
65ibi 267 . 2 (𝐴 ∈ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} → ∃𝑥𝑦𝑧(𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑))
7 id 22 . . . . . 6 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → 𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩)
8 opex 5426 . . . . . . . . . . 11 𝑥, 𝑦⟩ ∈ V
9 vex 3454 . . . . . . . . . . 11 𝑧 ∈ V
108, 9op1std 7980 . . . . . . . . . 10 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (1st𝐴) = ⟨𝑥, 𝑦⟩)
1110fveq2d 6864 . . . . . . . . 9 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (1st ‘(1st𝐴)) = (1st ‘⟨𝑥, 𝑦⟩))
12 vex 3454 . . . . . . . . . 10 𝑥 ∈ V
13 vex 3454 . . . . . . . . . 10 𝑦 ∈ V
1412, 13op1st 7978 . . . . . . . . 9 (1st ‘⟨𝑥, 𝑦⟩) = 𝑥
1511, 14eqtr2di 2782 . . . . . . . 8 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → 𝑥 = (1st ‘(1st𝐴)))
1610fveq2d 6864 . . . . . . . . 9 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (2nd ‘(1st𝐴)) = (2nd ‘⟨𝑥, 𝑦⟩))
1712, 13op2nd 7979 . . . . . . . . 9 (2nd ‘⟨𝑥, 𝑦⟩) = 𝑦
1816, 17eqtr2di 2782 . . . . . . . 8 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → 𝑦 = (2nd ‘(1st𝐴)))
1915, 18opeq12d 4847 . . . . . . 7 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → ⟨𝑥, 𝑦⟩ = ⟨(1st ‘(1st𝐴)), (2nd ‘(1st𝐴))⟩)
208, 9op2ndd 7981 . . . . . . . 8 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (2nd𝐴) = 𝑧)
2120eqcomd 2736 . . . . . . 7 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → 𝑧 = (2nd𝐴))
2219, 21opeq12d 4847 . . . . . 6 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ = ⟨⟨(1st ‘(1st𝐴)), (2nd ‘(1st𝐴))⟩, (2nd𝐴)⟩)
237, 22eqtrd 2765 . . . . 5 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → 𝐴 = ⟨⟨(1st ‘(1st𝐴)), (2nd ‘(1st𝐴))⟩, (2nd𝐴)⟩)
2423adantr 480 . . . 4 ((𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) → 𝐴 = ⟨⟨(1st ‘(1st𝐴)), (2nd ‘(1st𝐴))⟩, (2nd𝐴)⟩)
2524exlimiv 1930 . . 3 (∃𝑧(𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) → 𝐴 = ⟨⟨(1st ‘(1st𝐴)), (2nd ‘(1st𝐴))⟩, (2nd𝐴)⟩)
2625exlimivv 1932 . 2 (∃𝑥𝑦𝑧(𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) → 𝐴 = ⟨⟨(1st ‘(1st𝐴)), (2nd ‘(1st𝐴))⟩, (2nd𝐴)⟩)
276, 26syl 17 1 (𝐴 ∈ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} → 𝐴 = ⟨⟨(1st ‘(1st𝐴)), (2nd ‘(1st𝐴))⟩, (2nd𝐴)⟩)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1540  wex 1779  wcel 2109  cop 4597  cfv 6513  {coprab 7390  1st c1st 7968  2nd c2nd 7969
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2702  ax-sep 5253  ax-nul 5263  ax-pr 5389  ax-un 7713
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2534  df-eu 2563  df-clab 2709  df-cleq 2722  df-clel 2804  df-nfc 2879  df-ral 3046  df-rex 3055  df-rab 3409  df-v 3452  df-dif 3919  df-un 3921  df-in 3923  df-ss 3933  df-nul 4299  df-if 4491  df-sn 4592  df-pr 4594  df-op 4598  df-uni 4874  df-br 5110  df-opab 5172  df-mpt 5191  df-id 5535  df-xp 5646  df-rel 5647  df-cnv 5648  df-co 5649  df-dm 5650  df-rn 5651  df-iota 6466  df-fun 6515  df-fv 6521  df-oprab 7393  df-1st 7970  df-2nd 7971
This theorem is referenced by:  sectpropdlem  49013  invpropdlem  49015  isopropdlem  49017
  Copyright terms: Public domain W3C validator