Metamath Proof Explorer


Theorem cbvmpt

Description: Rule to change the bound variable in a maps-to function, using implicit substitution. This version has bound-variable hypotheses in place of distinct variable conditions. (Contributed by NM, 11-Sep-2011) Add disjoint variable condition to avoid ax-13 . See cbvmptg for a less restrictive version requiring more axioms. (Revised by Gino Giotto, 17-Jan-2024)

Ref Expression
Hypotheses cbvmpt.1 𝑦 𝐵
cbvmpt.2 𝑥 𝐶
cbvmpt.3 ( 𝑥 = 𝑦𝐵 = 𝐶 )
Assertion cbvmpt ( 𝑥𝐴𝐵 ) = ( 𝑦𝐴𝐶 )

Proof

Step Hyp Ref Expression
1 cbvmpt.1 𝑦 𝐵
2 cbvmpt.2 𝑥 𝐶
3 cbvmpt.3 ( 𝑥 = 𝑦𝐵 = 𝐶 )
4 nfcv 𝑥 𝐴
5 nfcv 𝑦 𝐴
6 4 5 1 2 3 cbvmptf ( 𝑥𝐴𝐵 ) = ( 𝑦𝐴𝐶 )