This is an inofficial mirror of http://metamath.tirix.org for personal testing of a visualizer extension only.
Description: Rewrite df-op using if . When both arguments are sets, it reduces to the standard Kuratowski definition; otherwise, it is defined to be the empty set. Avoid directly depending on this detail so that theorems will not depend on the Kuratowski construction. (Contributed by Mario Carneiro, 26-Apr-2015) (Avoid depending on this detail.)
| Ref | Expression | ||
|---|---|---|---|
| Assertion | dfopif |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | df-op | ||
| 2 | df-3an | ||
| 3 | 2 | abbii | |
| 4 | iftrue | ||
| 5 | ibar | ||
| 6 | 5 | eqabdv | |
| 7 | 4 6 | eqtr2d | |
| 8 | pm2.21 | ||
| 9 | 8 | adantrd | |
| 10 | 9 | abssdv | |
| 11 | ss0 | ||
| 12 | 10 11 | syl | |
| 13 | iffalse | ||
| 14 | 12 13 | eqtr4d | |
| 15 | 7 14 | pm2.61i | |
| 16 | 1 3 15 | 3eqtri |