Proof: Do Expr At Unchanged 21

Let's prove the following theorem:

if the following are true:
  • expression state at time 21 = "call_build_args"
  • the expression at time 21 = Person("John", "Smith", 25)

then the expression at time 22 = Person("John", "Smith", 25)

Proof:

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

Given
1 expression state at time 21 = "call_build_args"
2 the expression at time 21 = Person("John", "Smith", 25)
Proof Table
# Claim Reason
1 the expression at time (21 + 1) = the expression at time 21 if expression state at time 21 = "call_build_args", then the expression at time (21 + 1) = the expression at time 21
2 the expression at time (21 + 1) = Person("John", "Smith", 25) if the expression at time (21 + 1) = the expression at time 21 and the expression at time 21 = Person("John", "Smith", 25), then the expression at time (21 + 1) = Person("John", "Smith", 25)
3 21 + 1 = 22 21 + 1 = 22
4 the expression at time (21 + 1) = the expression at time 22 if 21 + 1 = 22, then the expression at time (21 + 1) = the expression at time 22
5 the expression at time 22 = Person("John", "Smith", 25) if the expression at time (21 + 1) = the expression at time 22 and the expression at time (21 + 1) = Person("John", "Smith", 25), then the expression at time 22 = Person("John", "Smith", 25)

Comments

Please log in to add comments