Metamath Proof Explorer


Theorem bnj1316

Description: First-order logic and set theory. (Contributed by Jonathan Ben-Naim, 3-Jun-2011) (New usage is discouraged.)

Ref Expression
Hypotheses bnj1316.1 ( 𝑦𝐴 → ∀ 𝑥 𝑦𝐴 )
bnj1316.2 ( 𝑦𝐵 → ∀ 𝑥 𝑦𝐵 )
Assertion bnj1316 ( 𝐴 = 𝐵 𝑥𝐴 𝐶 = 𝑥𝐵 𝐶 )

Proof

Step Hyp Ref Expression
1 bnj1316.1 ( 𝑦𝐴 → ∀ 𝑥 𝑦𝐴 )
2 bnj1316.2 ( 𝑦𝐵 → ∀ 𝑥 𝑦𝐵 )
3 1 nfcii 𝑥 𝐴
4 2 nfcii 𝑥 𝐵
5 3 4 nfeq 𝑥 𝐴 = 𝐵
6 5 nf5ri ( 𝐴 = 𝐵 → ∀ 𝑥 𝐴 = 𝐵 )
7 6 bnj956 ( 𝐴 = 𝐵 𝑥𝐴 𝐶 = 𝑥𝐵 𝐶 )