Description: Rewrite a function defined by parts, using a mapping and an if construct, into a union of functions on disjoint domains. (Contributed by Thierry Arnoux, 30-Mar-2017)
Ref | Expression | ||
---|---|---|---|
Assertion | partfun | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | mptun | |
|
2 | inundif | |
|
3 | eqid | |
|
4 | 2 3 | mpteq12i | |
5 | elinel2 | |
|
6 | 5 | iftrued | |
7 | 6 | mpteq2ia | |
8 | eldifn | |
|
9 | 8 | iffalsed | |
10 | 9 | mpteq2ia | |
11 | 7 10 | uneq12i | |
12 | 1 4 11 | 3eqtr3i | |