Proof: Subtract Bit Example

Let's prove the following theorem:

bit [ 0, [ 1, [ ] ] ] minus bit 1 = [ 1, [ 0, [ ] ] ]

Proof:

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

Proof Table
# Claim Reason
1 bit [ 0, [ 1, [ ] ] ] minus bit 1 = [ 1, bit [ 1, [ ] ] minus bit 1 ] bit [ 0, [ 1, [ ] ] ] minus bit 1 = [ 1, bit [ 1, [ ] ] minus bit 1 ]
2 bit [ 1, [ ] ] minus bit 1 = [ 0, [ ] ] bit [ 1, [ ] ] minus bit 1 = [ 0, [ ] ]
3 [ 1, bit [ 1, [ ] ] minus bit 1 ] = [ 1, [ 0, [ ] ] ] if bit [ 1, [ ] ] minus bit 1 = [ 0, [ ] ], then [ 1, bit [ 1, [ ] ] minus bit 1 ] = [ 1, [ 0, [ ] ] ]
4 bit [ 0, [ 1, [ ] ] ] minus bit 1 = [ 1, [ 0, [ ] ] ] if bit [ 0, [ 1, [ ] ] ] minus bit 1 = [ 1, bit [ 1, [ ] ] minus bit 1 ] and [ 1, bit [ 1, [ ] ] minus bit 1 ] = [ 1, [ 0, [ ] ] ], then bit [ 0, [ 1, [ ] ] ] minus bit 1 = [ 1, [ 0, [ ] ] ]

Comments

Please log in to add comments