Metamath Proof Explorer


Theorem mpteq12da

Description: An equality inference for the maps-to notation. (Contributed by Glauco Siliprandi, 23-Oct-2021) Remove dependency on ax-10 . (Revised by SN, 11-Nov-2024)

Ref Expression
Hypotheses mpteq12da.1 xφ
mpteq12da.2 φA=C
mpteq12da.3 φxAB=D
Assertion mpteq12da φxAB=xCD

Proof

Step Hyp Ref Expression
1 mpteq12da.1 xφ
2 mpteq12da.2 φA=C
3 mpteq12da.3 φxAB=D
4 nfv yφ
5 3 eqeq2d φxAy=By=D
6 5 pm5.32da φxAy=BxAy=D
7 2 eleq2d φxAxC
8 7 anbi1d φxAy=DxCy=D
9 6 8 bitrd φxAy=BxCy=D
10 1 4 9 opabbid φxy|xAy=B=xy|xCy=D
11 df-mpt xAB=xy|xAy=B
12 df-mpt xCD=xy|xCy=D
13 10 11 12 3eqtr4g φxAB=xCD