Proof: Do Expr At Unchanged 56

Let's prove the following theorem:

if the following are true:
  • expression state at time 56 = "call_function_begin"
  • the expression at time 56 = p.age_in_months()

then the expression at time 57 = p.age_in_months()

Proof:

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

Given
1 expression state at time 56 = "call_function_begin"
2 the expression at time 56 = p.age_in_months()
Proof Table
# Claim Reason
1 the expression at time (56 + 1) = the expression at time 56 if expression state at time 56 = "call_function_begin", then the expression at time (56 + 1) = the expression at time 56
2 the expression at time (56 + 1) = p.age_in_months() if the expression at time (56 + 1) = the expression at time 56 and the expression at time 56 = p.age_in_months(), then the expression at time (56 + 1) = p.age_in_months()
3 56 + 1 = 57 56 + 1 = 57
4 the expression at time (56 + 1) = the expression at time 57 if 56 + 1 = 57, then the expression at time (56 + 1) = the expression at time 57
5 the expression at time 57 = p.age_in_months() if the expression at time (56 + 1) = the expression at time 57 and the expression at time (56 + 1) = p.age_in_months(), then the expression at time 57 = p.age_in_months()

Comments

Please log in to add comments