MindFormal v1.0.0One Mind

MindFormal.Tools.A695LogicPaper.BooleanArithmetic

Three input wires followed by seventeen literal NOR instructions. The sum is wire 12 and carry wire 19. All intermediate wires remain in the register bank and are executed, including the retained XOR stages.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem MindFormal.A695LogicPaper.BooleanArithmetic.fullAdder_correct (a b c : Bool) :
    have result := A630PaperPrograms.execute fullAdder [a, b, c]; result.getD 12 false = (a ^^ b ^^ c) ∧ result.getD 19 false = (a && b || c && (a ^^ b)) ∧ (result.getD 12 false).toNat + 2 * (result.getD 19 false).toNat = a.toNat + b.toNat + c.toNat