This is an inofficial mirror of http://metamath.tirix.org for personal testing of a visualizer extension only.
Description: An alternate definition of the conditional operator df-if as a simple class abstraction. (Contributed by Mario Carneiro, 8-Sep-2013)
| Ref | Expression | ||
|---|---|---|---|
| Assertion | dfif6 |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | eleq1w | ||
| 2 | 1 | anbi1d | |
| 3 | eleq1w | ||
| 4 | 3 | anbi1d | |
| 5 | 2 4 | unabw | |
| 6 | df-rab | ||
| 7 | df-rab | ||
| 8 | 6 7 | uneq12i | |
| 9 | df-if | ||
| 10 | 5 8 9 | 3eqtr4ri |