Description: Resolve two nested conditionals. (Contributed by Alexander van der Vekens, 27-Mar-2018)
Ref | Expression | ||
---|---|---|---|
Hypotheses | 2if2.1 | |
|
2if2.2 | |
||
2if2.3 | |
||
Assertion | 2if2 | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | 2if2.1 | |
|
2 | 2if2.2 | |
|
3 | 2if2.3 | |
|
4 | iftrue | |
|
5 | 4 | adantl | |
6 | 1 5 | eqtr4d | |
7 | 2 | 3expa | |
8 | iftrue | |
|
9 | 8 | adantl | |
10 | 7 9 | eqtr4d | |
11 | 3 | 3expa | |
12 | iffalse | |
|
13 | 12 | eqcomd | |
14 | 13 | adantl | |
15 | 11 14 | eqtrd | |
16 | 10 15 | pm2.61dan | |
17 | iffalse | |
|
18 | 17 | adantl | |
19 | 16 18 | eqtr4d | |
20 | 6 19 | pm2.61dan | |