WhileChopEqvIfRule

⊢ f ≡ (while w do g) ; h ⇒ f ≡if w then g ; f else h WhileChopEqvIfRule

Proof:

1
⊢ f ≡ (while w do g) ; h
given
2
⊢ (while w do g) ; h ≡if w then g ; (while w do g) ; h else h
3
⊢ g ; f ≡ g ; (while w do g) ; h
4
⊢ f ≡if w then g ; f else h
1, 2, 3,Prop

qed

2024-08-03
Contact | Home | ITL home | Course | Proofs | Algebra | FL
© 1996-2024