Metamath Proof Explorer


Theorem indifbi

Description: Two ways to express equality relative to a class A . (Contributed by Thierry Arnoux, 23-Jun-2024)

Ref Expression
Assertion indifbi A B = A C A B = A C

Proof

Step Hyp Ref Expression
1 inss1 A B A
2 inss1 A C A
3 rcompleq A B A A C A A B = A C A A B = A A C
4 1 2 3 mp2an A B = A C A A B = A A C
5 difin A A B = A B
6 difin A A C = A C
7 5 6 eqeq12i A A B = A A C A B = A C
8 4 7 bitri A B = A C A B = A C