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

Theorem mpteq12da 5187
Description: An equality inference for the maps-to notation. (Contributed by Glauco Siliprandi, 23-Oct-2021.) Remove dependency on ax-10 2177. (Revised by SN, 11-Nov-2024.)
Hypotheses
Ref Expression
mpteq12da.1 Ⅎ𝑥𝜑
mpteq12da.2 (𝜑 → 𝐴 = 𝐶)
mpteq12da.3 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐵 = 𝐷)
Assertion
Ref Expression
mpteq12da (𝜑 → (𝑥 ∈ 𝐴 ↦ 𝐵) = (𝑥 ∈ 𝐶 ↦ 𝐷))

Proof of Theorem mpteq12da
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 mpteq12da.1 . . 3 Ⅎ𝑥𝜑
2 nfv 1946 . . 3 Ⅎ𝑦𝜑
3 mpteq12da.3 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐵 = 𝐷)
43eqeq2d 2771 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝑦 = 𝐵 ↔ 𝑦 = 𝐷))
54pm5.32da 590 . . . 4 (𝜑 → ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐷)))
6 mpteq12da.2 . . . . . 6 (𝜑 → 𝐴 = 𝐶)
76eleq2d 2846 . . . . 5 (𝜑 → (𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐶))
87anbi1d 643 . . . 4 (𝜑 → ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐷) ↔ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷)))
95, 8bitrd 282 . . 3 (𝜑 → ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵) ↔ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷)))
101, 2, 9opabbid 5169 . 2 (𝜑 → {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵)} = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷)})
11 df-mpt 5186 . 2 (𝑥 ∈ 𝐴 ↦ 𝐵) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵)}
12 df-mpt 5186 . 2 (𝑥 ∈ 𝐶 ↦ 𝐷) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷)}
1310, 11, 123eqtr4g 2820 1 (𝜑 → (𝑥 ∈ 𝐴 ↦ 𝐵) = (𝑥 ∈ 𝐶 ↦ 𝐷))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569  Ⅎwnf 1815   ∈ wcel 2144  {copab 5166   ↦ cmpt 5185
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-12 2212  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1812  df-nf 1816  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-opab 5167  df-mpt 5186
This theorem is used by:  mpteq12df  5188  mpteq2da  5196  smflimmpt  47956  smfsupmpt  47961  smfinfmpt  47965  smflimsupmpt  47975  smfliminfmpt  47978
  Copyright terms: Public domain W3C validator