Proof: Do Variables At Unchanged 40

Let's prove the following theorem:

if the following are true:
  • expression state at time 40 = "call_function_begin"
  • Variables Map at time 40 = [ entry self: (Python reference 0), [ entry first_name: "John", [ entry last_name: "Smith", [ entry age: 25, [ ] ] ] ] ]

then Variables Map at time 41 = [ entry self: (Python reference 0), [ entry first_name: "John", [ entry last_name: "Smith", [ entry age: 25, [ ] ] ] ] ]

Proof:

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

Given
1 expression state at time 40 = "call_function_begin"
2 Variables Map at time 40 = [ entry self: (Python reference 0), [ entry first_name: "John", [ entry last_name: "Smith", [ entry age: 25, [ ] ] ] ] ]
Proof Table
# Claim Reason
1 Variables Map at time (40 + 1) = Variables Map at time 40 if expression state at time 40 = "call_function_begin", then Variables Map at time (40 + 1) = Variables Map at time 40
2 Variables Map at time (40 + 1) = [ entry self: (Python reference 0), [ entry first_name: "John", [ entry last_name: "Smith", [ entry age: 25, [ ] ] ] ] ] if Variables Map at time (40 + 1) = Variables Map at time 40 and Variables Map at time 40 = [ entry self: (Python reference 0), [ entry first_name: "John", [ entry last_name: "Smith", [ entry age: 25, [ ] ] ] ] ], then Variables Map at time (40 + 1) = [ entry self: (Python reference 0), [ entry first_name: "John", [ entry last_name: "Smith", [ entry age: 25, [ ] ] ] ] ]
3 40 + 1 = 41 40 + 1 = 41
4 Variables Map at time (40 + 1) = Variables Map at time 41 if 40 + 1 = 41, then Variables Map at time (40 + 1) = Variables Map at time 41
5 Variables Map at time 41 = [ entry self: (Python reference 0), [ entry first_name: "John", [ entry last_name: "Smith", [ entry age: 25, [ ] ] ] ] ] if Variables Map at time (40 + 1) = Variables Map at time 41 and Variables Map at time (40 + 1) = [ entry self: (Python reference 0), [ entry first_name: "John", [ entry last_name: "Smith", [ entry age: 25, [ ] ] ] ] ], then Variables Map at time 41 = [ entry self: (Python reference 0), [ entry first_name: "John", [ entry last_name: "Smith", [ entry age: 25, [ ] ] ] ] ]

Comments

Please log in to add comments