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

Theorem mpteq12da 5188
Description: An equality inference for the maps-to notation. (Contributed by Glauco Siliprandi, 23-Oct-2021.) Remove dependency on ax-10 2178. (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 1947 . . 3 Ⅎ𝑦𝜑
3 mpteq12da.3 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐵 = 𝐷)
43eqeq2d 2772 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝑦 = 𝐵 ↔ 𝑦 = 𝐷))
54pm5.32da 590 . . . 4 (𝜑 → ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐷)))
6 mpteq12da.2 . . . . . 6 (𝜑 → 𝐴 = 𝐶)
76eleq2d 2847 . . . . 5 (𝜑 → (𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐶))
87anbi1d 643 . . . 4 (𝜑 → ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐷) ↔ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷)))
95, 8bitrd 282 . . 3 (𝜑 → ((𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵) ↔ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷)))
101, 2, 9opabbid 5170 . 2 (𝜑 → {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵)} = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷)})
11 df-mpt 5187 . 2 (𝑥 ∈ 𝐴 ↦ 𝐵) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵)}
12 df-mpt 5187 . 2 (𝑥 ∈ 𝐶 ↦ 𝐷) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐶 ∧ 𝑦 = 𝐷)}
1310, 11, 123eqtr4g 2821 1 (𝜑 → (𝑥 ∈ 𝐴 ↦ 𝐵) = (𝑥 ∈ 𝐶 ↦ 𝐷))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570  Ⅎwnf 1816   ∈ wcel 2145  {copab 5167   ↦ cmpt 5186
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-12 2213  ax-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1813  df-nf 1817  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-opab 5168  df-mpt 5187
This theorem is used by:  mpteq12df  5189  mpteq2da  5197  smflimmpt  47819  smfsupmpt  47824  smfinfmpt  47828  smflimsupmpt  47838  smfliminfmpt  47841
  Copyright terms: Public domain W3C validator