Proof: Do Expr At Unchanged 26

Let's prove the following theorem:

if the following are true:
  • expression state at time 26 = "begin_expr"
  • the expression at time 26 = self."y" = 0

then the expression at time 27 = self."y" = 0

Proof:

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

Given
1 expression state at time 26 = "begin_expr"
2 the expression at time 26 = self."y" = 0
Proof Table
# Claim Reason
1 the expression at time (26 + 1) = the expression at time 26 if expression state at time 26 = "begin_expr", then the expression at time (26 + 1) = the expression at time 26
2 the expression at time (26 + 1) = self."y" = 0 if the expression at time (26 + 1) = the expression at time 26 and the expression at time 26 = self."y" = 0, then the expression at time (26 + 1) = self."y" = 0
3 26 + 1 = 27 26 + 1 = 27
4 the expression at time (26 + 1) = the expression at time 27 if 26 + 1 = 27, then the expression at time (26 + 1) = the expression at time 27
5 the expression at time 27 = self."y" = 0 if the expression at time (26 + 1) = the expression at time 27 and the expression at time (26 + 1) = self."y" = 0, then the expression at time 27 = self."y" = 0

Comments

Please log in to add comments