theorem
MindFormal.A595Paper.CompareFields.clear_a
{f : ℤ → Cell}
{a b : ℤ}
{na nb i j : ℕ}
(hf : CompareFields f a b na nb)
(hi : i ≤ na)
(hj : j ≤ nb)
:
theorem
MindFormal.A595Paper.CompareFields.clear_b
{f : ℤ → Cell}
{a b : ℤ}
{na nb j : ℕ}
(hf : CompareFields f a b na nb)
(hj : j ≤ nb)
:
@[reducible, inline]
Equations
Instances For
theorem
MindFormal.A595Paper.CompareFields.restore
{f : ℤ → Cell}
{a b : ℤ}
{na nb i j : ℕ}
(hf : CompareFields f a b na nb)
(hi : i ≤ na)
(hj : j ≤ nb)
(equal : Bool)
(h : ℤ)
(hh : h ≤ a)
:
MachineRun compareTable (compareConfig (progress f a b i j) h (CompareState.restoreSeekA equal))
((a - h).toNat + 1 + na + 1 + (a + ↑na - b).toNat + 1 + nb + 1)
(compareConfig f (b + ↑nb + 2) (CompareState.finish equal))