MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  mpt3mpt Structured version   Visualization version   GIF version

Theorem mpt3mpt 7716
Description: Express a three-argument function as a one-argument function, or vice-versa. (Contributed by BTernaryTau, 7-Sep-2026.)
Hypothesis
Ref Expression
mpt3mpt.1 (𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ → 𝐷 = 𝐸)
Assertion
Ref Expression
mpt3mpt (𝑤 ∈ ((𝐴 × 𝐵) × 𝐶) ↦ 𝐷) = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵, 𝑧 ∈ 𝐶 ↦ 𝐸)
Distinct variable groups:   𝑤,𝐸   𝑥,𝐷,𝑦,𝑧   𝑤,𝐴,𝑥,𝑦,𝑧   𝑤,𝐵,𝑥,𝑦,𝑧   𝑤,𝐶,𝑥,𝑦,𝑧
Allowed substitution hints:   𝐷(𝑤)   𝐸(𝑥, 𝑦, 𝑧)

Proof of Theorem mpt3mpt
Dummy variable 𝑡 is distinct from all other variables.
StepHypRef Expression
1 el2xptp 5829 . . . . 5 (𝑤 ∈ ((𝐴 × 𝐵) × 𝐶) ↔ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 ∃𝑧 ∈ 𝐶 𝑤 = ⟨𝑥, 𝑦, 𝑧⟩)
21anbi1i 636 . . . 4 ((𝑤 ∈ ((𝐴 × 𝐵) × 𝐶) ∧ 𝑡 = 𝐷) ↔ (∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 ∃𝑧 ∈ 𝐶 𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ 𝑡 = 𝐷))
3 r19.41v 3199 . . . 4 (∃𝑥 ∈ 𝐴 (∃𝑦 ∈ 𝐵 ∃𝑧 ∈ 𝐶 𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ 𝑡 = 𝐷) ↔ (∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 ∃𝑧 ∈ 𝐶 𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ 𝑡 = 𝐷))
4 r19.41v 3199 . . . . . 6 (∃𝑦 ∈ 𝐵 (∃𝑧 ∈ 𝐶 𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ 𝑡 = 𝐷) ↔ (∃𝑦 ∈ 𝐵 ∃𝑧 ∈ 𝐶 𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ 𝑡 = 𝐷))
5 r19.41v 3199 . . . . . . . 8 (∃𝑧 ∈ 𝐶 (𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ 𝑡 = 𝐷) ↔ (∃𝑧 ∈ 𝐶 𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ 𝑡 = 𝐷))
6 mpt3mpt.1 . . . . . . . . . . 11 (𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ → 𝐷 = 𝐸)
76eqeq2d 2777 . . . . . . . . . 10 (𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ → (𝑡 = 𝐷 ↔ 𝑡 = 𝐸))
87pm5.32i 585 . . . . . . . . 9 ((𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ 𝑡 = 𝐷) ↔ (𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ 𝑡 = 𝐸))
98rexbii 3116 . . . . . . . 8 (∃𝑧 ∈ 𝐶 (𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ 𝑡 = 𝐷) ↔ ∃𝑧 ∈ 𝐶 (𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ 𝑡 = 𝐸))
105, 9bitr3i 280 . . . . . . 7 ((∃𝑧 ∈ 𝐶 𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ 𝑡 = 𝐷) ↔ ∃𝑧 ∈ 𝐶 (𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ 𝑡 = 𝐸))
1110rexbii 3116 . . . . . 6 (∃𝑦 ∈ 𝐵 (∃𝑧 ∈ 𝐶 𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ 𝑡 = 𝐷) ↔ ∃𝑦 ∈ 𝐵 ∃𝑧 ∈ 𝐶 (𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ 𝑡 = 𝐸))
124, 11bitr3i 280 . . . . 5 ((∃𝑦 ∈ 𝐵 ∃𝑧 ∈ 𝐶 𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ 𝑡 = 𝐷) ↔ ∃𝑦 ∈ 𝐵 ∃𝑧 ∈ 𝐶 (𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ 𝑡 = 𝐸))
1312rexbii 3116 . . . 4 (∃𝑥 ∈ 𝐴 (∃𝑦 ∈ 𝐵 ∃𝑧 ∈ 𝐶 𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ 𝑡 = 𝐷) ↔ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 ∃𝑧 ∈ 𝐶 (𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ 𝑡 = 𝐸))
142, 3, 133bitr2i 302 . . 3 ((𝑤 ∈ ((𝐴 × 𝐵) × 𝐶) ∧ 𝑡 = 𝐷) ↔ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 ∃𝑧 ∈ 𝐶 (𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ 𝑡 = 𝐸))
1514opabbii 5177 . 2 {⟨𝑤, 𝑡⟩ ∣ (𝑤 ∈ ((𝐴 × 𝐵) × 𝐶) ∧ 𝑡 = 𝐷)} = {⟨𝑤, 𝑡⟩ ∣ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 ∃𝑧 ∈ 𝐶 (𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ 𝑡 = 𝐸)}
16 df-mpt 5192 . 2 (𝑤 ∈ ((𝐴 × 𝐵) × 𝐶) ↦ 𝐷) = {⟨𝑤, 𝑡⟩ ∣ (𝑤 ∈ ((𝐴 × 𝐵) × 𝐶) ∧ 𝑡 = 𝐷)}
17 df-mpt3 7715 . 2 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵, 𝑧 ∈ 𝐶 ↦ 𝐸) = {⟨𝑤, 𝑡⟩ ∣ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 ∃𝑧 ∈ 𝐶 (𝑤 = ⟨𝑥, 𝑦, 𝑧⟩ ∧ 𝑡 = 𝐸)}
1815, 16, 173eqtr4i 2799 1 (𝑤 ∈ ((𝐴 × 𝐵) × 𝐶) ↦ 𝐷) = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵, 𝑧 ∈ 𝐶 ↦ 𝐸)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2150  ∃wrex 3093  ⟨cotp 4862  {copab 5172   ↦ cmpt 5191   × cxp 5655   ∈ cmpt3 7714
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-pr 5397
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ral 3084  df-rex 3094  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4840  df-ot 4863  df-iun 4957  df-opab 5173  df-mpt 5192  df-xp 5663  df-rel 5664  df-mpt3 7715
This theorem is used by:  dfj2  36051
  Copyright terms: Public domain W3C validator