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 49029
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 2737 . . . . . 6 (𝑤 = 𝐴 → (𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ↔ 𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩))
21anbi1d 631 . . . . 5 (𝑤 = 𝐴 → ((𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ↔ (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)))
323exbidv 1926 . . . 4 (𝑤 = 𝐴 → (∃𝑥𝑦𝑧(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) ↔ ∃𝑥𝑦𝑧(𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)))
4 df-oprab 7359 . . . 4 {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} = {𝑤 ∣ ∃𝑥𝑦𝑧(𝑤 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)}
53, 4elab2g 3632 . . 3 (𝐴 ∈ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} → (𝐴 ∈ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} ↔ ∃𝑥𝑦𝑧(𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑)))
65ibi 267 . 2 (𝐴 ∈ {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ 𝜑} → ∃𝑥𝑦𝑧(𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑))
7 id 22 . . . . . 6 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → 𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩)
8 opex 5409 . . . . . . . . . . 11 𝑥, 𝑦⟩ ∈ V
9 vex 3441 . . . . . . . . . . 11 𝑧 ∈ V
108, 9op1std 7940 . . . . . . . . . 10 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (1st𝐴) = ⟨𝑥, 𝑦⟩)
1110fveq2d 6835 . . . . . . . . 9 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (1st ‘(1st𝐴)) = (1st ‘⟨𝑥, 𝑦⟩))
12 vex 3441 . . . . . . . . . 10 𝑥 ∈ V
13 vex 3441 . . . . . . . . . 10 𝑦 ∈ V
1412, 13op1st 7938 . . . . . . . . 9 (1st ‘⟨𝑥, 𝑦⟩) = 𝑥
1511, 14eqtr2di 2785 . . . . . . . 8 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → 𝑥 = (1st ‘(1st𝐴)))
1610fveq2d 6835 . . . . . . . . 9 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (2nd ‘(1st𝐴)) = (2nd ‘⟨𝑥, 𝑦⟩))
1712, 13op2nd 7939 . . . . . . . . 9 (2nd ‘⟨𝑥, 𝑦⟩) = 𝑦
1816, 17eqtr2di 2785 . . . . . . . 8 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → 𝑦 = (2nd ‘(1st𝐴)))
1915, 18opeq12d 4834 . . . . . . 7 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → ⟨𝑥, 𝑦⟩ = ⟨(1st ‘(1st𝐴)), (2nd ‘(1st𝐴))⟩)
208, 9op2ndd 7941 . . . . . . . 8 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → (2nd𝐴) = 𝑧)
2120eqcomd 2739 . . . . . . 7 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → 𝑧 = (2nd𝐴))
2219, 21opeq12d 4834 . . . . . 6 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ = ⟨⟨(1st ‘(1st𝐴)), (2nd ‘(1st𝐴))⟩, (2nd𝐴)⟩)
237, 22eqtrd 2768 . . . . 5 (𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ → 𝐴 = ⟨⟨(1st ‘(1st𝐴)), (2nd ‘(1st𝐴))⟩, (2nd𝐴)⟩)
2423adantr 480 . . . 4 ((𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) → 𝐴 = ⟨⟨(1st ‘(1st𝐴)), (2nd ‘(1st𝐴))⟩, (2nd𝐴)⟩)
2524exlimiv 1931 . . 3 (∃𝑧(𝐴 = ⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∧ 𝜑) → 𝐴 = ⟨⟨(1st ‘(1st𝐴)), (2nd ‘(1st𝐴))⟩, (2nd𝐴)⟩)
2625exlimivv 1933 . 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 1541  wex 1780  wcel 2113  cop 4583  cfv 6489  {coprab 7356  1st c1st 7928  2nd c2nd 7929
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2115  ax-9 2123  ax-10 2146  ax-11 2162  ax-12 2182  ax-ext 2705  ax-sep 5238  ax-nul 5248  ax-pr 5374  ax-un 7677
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2068  df-mo 2537  df-eu 2566  df-clab 2712  df-cleq 2725  df-clel 2808  df-nfc 2882  df-ne 2930  df-ral 3049  df-rex 3058  df-rab 3397  df-v 3439  df-dif 3901  df-un 3903  df-in 3905  df-ss 3915  df-nul 4283  df-if 4477  df-sn 4578  df-pr 4580  df-op 4584  df-uni 4861  df-br 5096  df-opab 5158  df-mpt 5177  df-id 5516  df-xp 5627  df-rel 5628  df-cnv 5629  df-co 5630  df-dm 5631  df-rn 5632  df-iota 6445  df-fun 6491  df-fv 6497  df-oprab 7359  df-1st 7930  df-2nd 7931
This theorem is referenced by:  sectpropdlem  49197  invpropdlem  49199  isopropdlem  49201
  Copyright terms: Public domain W3C validator