Metamath Proof Explorer


Definition df-cdeq

Description: Define conditional equality. All the notation to the left of the <-> is fake; the parentheses and arrows are all part of the notation, which could equally well be written CondEq x y ph . On the right side is the actual implication arrow. The reason for this definition is to "flatten" the structure on the right side (whose tree structure is something like (wi (wceq (cv vx) (cv vy)) wph) ) into just (wcdeq vx vy wph). (Contributed by Mario Carneiro, 11-Aug-2016)

Ref Expression
Assertion df-cdeq CondEq x = y φ x = y φ

Detailed syntax breakdown

Step Hyp Ref Expression
0 vx setvar x
1 vy setvar y
2 wph wff φ
3 2 0 1 wcdeq wff CondEq x = y φ
4 0 cv setvar x
5 1 cv setvar y
6 4 5 wceq wff x = y
7 6 2 wi wff x = y φ
8 3 7 wb wff CondEq x = y φ x = y φ