NLA-lib Explorer

NLAlib.Ops.Tools.LintFixtures.cheat_disjunctiveCompanion

Library · theorem

A disjunction containing a total eval can hold when the eval fails.

NLAlib.Ops.Tools.LintFixtures.cheat_disjunctiveCompanion {K : Type}
  (I : Ops.Interp Ops.ScalarOp Empty K) (W : Ops.ScalarOp → List ℕ → ℕ) (τ : Ops.Tape K)
  (ρ : Ops.Env) (m : Ops.Mem K) :
  True ∨
    Ops.ConditionalRuns I W τ
      (Ops.Stmt.link Ops.Tools.LintFixtures.abortT Ops.Tools.LintFixtures.oneAdd) ρ m 0 0 fun x ↦
      False

Full source on GitHub

Import NLAlib.Ops.Tools.LintFixtures.