Proof: Do Line At Unchanged 18

Let's prove the following theorem:

if the following are true:
  • expression state at time 18 = "begin_expr"
  • the line at time 18 = 3

then the line at time 19 = 3

Proof:

View as a tree | View dependent proofs | Try proving it

Given
1 expression state at time 18 = "begin_expr"
2 the line at time 18 = 3
Proof Table
# Claim Reason
1 the line at time (18 + 1) = the line at time 18 if expression state at time 18 = "begin_expr", then the line at time (18 + 1) = the line at time 18
2 the line at time (18 + 1) = 3 if the line at time (18 + 1) = the line at time 18 and the line at time 18 = 3, then the line at time (18 + 1) = 3
3 18 + 1 = 19 18 + 1 = 19
4 the line at time (18 + 1) = the line at time 19 if 18 + 1 = 19, then the line at time (18 + 1) = the line at time 19
5 the line at time 19 = 3 if the line at time (18 + 1) = the line at time 19 and the line at time (18 + 1) = 3, then the line at time 19 = 3

Comments

Please log in to add comments