Proof: Do Expr At Unchanged 23

Let's prove the following theorem:

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

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

Proof:

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

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

Comments

Please log in to add comments