Description: An indicator function as a function with domain and codomain. (Contributed by Thierry Arnoux, 13-Aug-2017)
| Ref | Expression | ||
|---|---|---|---|
| Assertion | indf |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | indval | ||
| 2 | 1re | ||
| 3 | 0re | ||
| 4 | ifpr | ||
| 5 | 2 3 4 | mp2an | |
| 6 | prcom | ||
| 7 | 5 6 | eleqtri | |
| 8 | 7 | a1i | |
| 9 | 1 8 | fmpt3d |