Database
SUPPLEMENTARY MATERIAL (USERS' MATHBOXES)
Mathbox for Thierry Arnoux
General Set Theory
Conditional operator - misc additions
ififcom
Next ⟩
Set union
Metamath Proof Explorer
Ascii
Unicode
Theorem
ififcom
Description:
Commute two nested conditionals.
(Contributed by
Thierry Arnoux
, 4-May-2026)
Ref
Expression
Assertion
ififcom
⊢
if
φ
if
ψ
A
B
B
=
if
ψ
if
φ
A
B
B
Proof
Step
Hyp
Ref
Expression
1
ancom
⊢
φ
∧
ψ
↔
ψ
∧
φ
2
ifbi
⊢
φ
∧
ψ
↔
ψ
∧
φ
→
if
φ
∧
ψ
A
B
=
if
ψ
∧
φ
A
B
3
1
2
ax-mp
⊢
if
φ
∧
ψ
A
B
=
if
ψ
∧
φ
A
B
4
ifan
⊢
if
φ
∧
ψ
A
B
=
if
φ
if
ψ
A
B
B
5
ifan
⊢
if
ψ
∧
φ
A
B
=
if
ψ
if
φ
A
B
B
6
3
4
5
3eqtr3i
⊢
if
φ
if
ψ
A
B
B
=
if
ψ
if
φ
A
B
B