NLA-lib Explorer

NLAlib.Ops.Tools.LintFixtures.cheat_liberalCertificate

Library · theorem

Standard rounding

NLAlib.Ops.Tools.LintFixtures.cheat_liberalCertificate {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 Ops.Mode.liberal C

Full source on GitHub

Import NLAlib.Ops.Tools.LintFixtures.