NLA-lib Explorer

NLAlib.Ops.Examples.Oracles.not_good_oracleInput_zero_one

Library · theorem

The inputs holding 0 and 1 have the same supplied buffer, and no count and memory meet the output condition of both: the answer of oracleAlgorithm depends on a number that is in no buffer. In a uniform model, or one whose oracles are declared and not called, this cannot happen (NLAlib.Ops.Algorithm.good_of_buffers_eq, NLAlib.Ops.Inputs.Oracles.good_of_allOps).

NLAlib.Ops.Examples.Oracles.not_good_oracleInput_zero_one (d : Fin 1 → ℕ) (τ : Ops.Tape ℝ)
  (c : Ops.Count (Unit ⊕ Ops.Bookkeeping) Empty) (m : Ops.Mem ℝ) :
  (↑(Ops.Examples.Oracles.oracleInput d 0)).2 = (↑(Ops.Examples.Oracles.oracleInput d 1)).2 ∧
    ¬(Ops.Examples.Oracles.oracleSpecification.good d (Ops.Examples.Oracles.oracleInput d 0) τ c m ∧
        Ops.Examples.Oracles.oracleSpecification.good d (Ops.Examples.Oracles.oracleInput d 1) τ c
          m)

Full source on GitHub

Import NLAlib.Ops.Examples.Oracles.