Description: Given an expression C containing if ( ps , E , F ) , substitute (hypotheses .1 and .2) and evaluate (hypotheses .3 and .4) it for both cases at the same time. (Contributed by Thierry Arnoux, 13-Dec-2021)
Ref | Expression | ||
---|---|---|---|
Hypotheses | ifeq3da.1 | |
|
ifeq3da.2 | |
||
ifeq3da.3 | |
||
ifeq3da.4 | |
||
Assertion | ifeq3da | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | ifeq3da.1 | |
|
2 | ifeq3da.2 | |
|
3 | ifeq3da.3 | |
|
4 | ifeq3da.4 | |
|
5 | iftrue | |
|
6 | 5 1 | syl | |
7 | 6 | adantl | |
8 | 3 | adantr | |
9 | 7 8 | eqtr2d | |
10 | iffalse | |
|
11 | 10 2 | syl | |
12 | 11 | adantl | |
13 | 4 | adantr | |
14 | 12 13 | eqtr2d | |
15 | 9 14 | ifeqda | |