Proof: Do Reverse 25 1
Let's prove the following theorem:
reverse of [
{"ES": "Estonia", "MX": "Mexico"}
, [ ] ] = [ {"ES": "Estonia", "MX": "Mexico"}
, [ ] ]Proof:
# | Claim | Reason |
---|---|---|
1 | reverse of [ {"ES": "Estonia", "MX": "Mexico"} , [ ] ] = reverse of remaining stack [ {"ES": "Estonia", "MX": "Mexico"} , [ ] ] and already reversed stack [ ] |
reverse of [ {"ES": "Estonia", "MX": "Mexico"} , [ ] ] = reverse of remaining stack [ {"ES": "Estonia", "MX": "Mexico"} , [ ] ] and already reversed stack [ ] |
2 | reverse of remaining stack [ {"ES": "Estonia", "MX": "Mexico"} , [ ] ] and already reversed stack [ ] = [ {"ES": "Estonia", "MX": "Mexico"} , [ ] ] |
reverse of remaining stack [ {"ES": "Estonia", "MX": "Mexico"} , [ ] ] and already reversed stack [ ] = [ {"ES": "Estonia", "MX": "Mexico"} , [ ] ] |
3 | reverse of [ {"ES": "Estonia", "MX": "Mexico"} , [ ] ] = [ {"ES": "Estonia", "MX": "Mexico"} , [ ] ] |
if reverse of [ {"ES": "Estonia", "MX": "Mexico"} , [ ] ] = reverse of remaining stack [ {"ES": "Estonia", "MX": "Mexico"} , [ ] ] and already reversed stack [ ] and reverse of remaining stack [ {"ES": "Estonia", "MX": "Mexico"} , [ ] ] and already reversed stack [ ] = [ {"ES": "Estonia", "MX": "Mexico"} , [ ] ], then reverse of [ {"ES": "Estonia", "MX": "Mexico"} , [ ] ] = [ {"ES": "Estonia", "MX": "Mexico"} , [ ] ] |
Comments
Please log in to add comments