Proof: Do Expr At Unchanged 57

Let's prove the following theorem:

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

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

Proof:

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

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

Comments

Please log in to add comments