MindFormal v1.0.0One Mind

MindFormal.Tools.A695LogicPaper.Counters

A shared native addition chain computes all counter values. The unrolled traversal subsequently wires these registers into every tuple.

Equations
Instances For
    theorem MindFormal.A695LogicPaper.IntegerProgram.chain_safe (q one current : ℕ) :
    Safe (chain q one current)
    theorem MindFormal.A695LogicPaper.IntegerProgram.chain_spec (q one current n : ℕ) (ho : one < n) (hc : current < n) (v : Values) (hone : v one = 1) :
    (chain q one current n).commands.length = q ∧ (∀ (i : Fin (q + 1)), (chain q one current n).result i < (chain q one current n).next) ∧ ∀ (i : Fin (q + 1)), evaluate (chain q one current n).commands v ((chain q one current n).result i) = v current + ↑i