MindFormal v1.0.0One Mind

MindFormal.Tools.A695LogicPaper.InputBits

def MindFormal.A695LogicPaper.BooleanArithmetic.zeroExtend {digits : ℕ} (word : Fin digits → Bool) (width : ℕ) (i : Fin width) :
Equations
Instances For
    theorem MindFormal.A695LogicPaper.BooleanArithmetic.wordValue_zeroExtend {digits width : ℕ} (word : Fin digits → Bool) (hwidth : digits ≤ width) :
    wordValue (zeroExtend word width) = wordValue word

    Candidate bits occupy the low positions of the full integer register. Every higher position is represented by the actual constant-zero register.

    theorem MindFormal.A695LogicPaper.IntegerProgram.candidate_address_bound (attempts digits r i : ℕ) (hr : r < attempts) (hi : i < digits) :
    1 + r * digits + i ≤ attempts * digits