NLA-lib Explorer

NLAlib.Ops.Tools.LintFixtures.cheat_nonliteralModeCompanion

Library · theorem

Standard rounding

Wrapping the liberal mode in id supplies no evidence of success.

NLAlib.Ops.Tools.LintFixtures.cheat_nonliteralModeCompanion {K : Type} {M : Ops.Machine K} {u : ℝ}
  {dec : K → ℝ} (_hM : Ops.StdModel u dec M) {I : Ops.Interp Ops.ScalarOp Empty K}
  (_hI : Ops.IsScalar M I) (C : Ops.Contract K)
  (hfit :
    ∀ (d : List ℕ) (ins outs : List (ℕ × ℕ)) (τ : Ops.Tape K) (m : Ops.Mem K),
      (C.on Ops.Mode.liberal d ins outs τ m).pre m →
        d.length = 0 ∧ ins.length = 2 ∧ outs.length = 1) :
  Ops.Tools.LintFixtures.abortImpl.Satisfies I (id Ops.Mode.liberal) C

Full source on GitHub

Import NLAlib.Ops.Tools.LintFixtures.