NLA-lib Explorer

NLAlib.Ops.Algorithm.not_nonempty

Library · theorem

Impossible output specifications cannot acquire certificates through vacuous models.

NLAlib.Ops.Algorithm.not_nonempty {Op Tst K : Type} {r b : ℕ} {P : Ops.Problem K r b}
  {M : Ops.AccessModel Op Tst P} {S : Ops.Specification Op Tst P}
  (hgood :
    ∀ (d : Fin r → ℕ),
      P.valid d →
        ∀ (x : P.Input d) (τ : Ops.Tape K) (c : Ops.Count (Op ⊕ Ops.Bookkeeping) Tst)
          (m' : Ops.Mem K), ¬S.good d x τ c m')
  (τ : Ops.Tape K) : ¬Nonempty (Ops.Algorithm M S)

Full source on GitHub

Import NLAlib.Ops.Cert.