PTIME by deterministic Turing machines
Lax535992.DeterministicMachinePTIMEComplete · concepts/Lax535992/DeterministicMachinePTIMEComplete.lean · lax-535992
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
Deterministic machine acceptance is PTIME-complete under first-order reductions, and a decision problem is in PTIME if and only if it reduces to deterministic machine acceptance by an ordered first-order reduction: the class defined by the Horn fragment is polynomial time on deterministic Turing machines, the reduction supplying the machine, its input and its polynomial bound. Membership is an FO(LFP) definition of the unique run; hardness builds, inside the instance, the machine that runs unit propagation on a Horn formula.
Concept map
Evidence
Lean source view on GitHub
| 1 | import Lax904597.Problems |
| 2 | import Lax904597.Interpretations |
| 3 | import Lax904597.Relativized |
| 4 | import Lax904597.SecondOrder |
| 5 | import Lax904597.Classes |
| 6 | import Lax904597.Sat |
| 7 | import Lax904597.Machines |
| 8 | import Lax485149.Problems |
| 9 | import Lax485149.Complement |
| 10 | import Lax485149.SecondOrderAtoms |
| 11 | import Lax485149.TransitiveClosure |
| 12 | import Lax485149.DeterministicTransitiveClosure |
| 13 | import Lax485149.ClassNL |
| 14 | import Lax485149.ClassL |
| 15 | import Lax535992.HornFragment |
| 16 | import Lax535992.LeastFixedPoint |
| 17 | import Lax535992.InflationaryFixedPoint |
| 18 | import Lax535992.HornSat |
| 19 | import Lax535992.CircuitValue |
| 20 | import Lax535992.Game |
| 21 | import Lax535992.DeterministicMachines |
| 22 | import Lax535992.ClassPTIME |
| 23 | |
| 24 | /-! |
| 25 | --- |
| 26 | title: PTIME by deterministic Turing machines |
| 27 | type: theorem |
| 28 | --- |
| 29 | Deterministic machine acceptance is PTIME-complete under first-order |
| 30 | reductions, and a decision problem is in PTIME if and only if it reduces to |
| 31 | deterministic machine acceptance by an ordered first-order reduction: the |
| 32 | class defined by the Horn fragment is polynomial time on deterministic |
| 33 | Turing machines, the reduction supplying the machine, its input and its |
| 34 | polynomial bound. Membership is an FO(LFP) definition of the unique run; |
| 35 | hardness builds, inside the instance, the machine that runs unit |
| 36 | propagation on a Horn formula. |
| 37 | -/ |
| 38 | |
| 39 | namespace Lax535992.DeterministicMachinePTIMEComplete |
| 40 | |
| 41 | open FirstOrder FirstOrder.Language |
| 42 | open Lax904597.Problems Lax904597.Interpretations Lax904597.Relativized Lax904597.SecondOrder |
| 43 | open Lax904597.Classes Lax904597.Sat Lax904597.Machines |
| 44 | open Lax485149.Problems Lax485149.Complement Lax485149.SecondOrderAtoms |
| 45 | open Lax485149.TransitiveClosure Lax485149.DeterministicTransitiveClosure |
| 46 | open Lax485149.ClassNL Lax485149.ClassL |
| 47 | open Lax535992.HornFragment Lax535992.LeastFixedPoint Lax535992.InflationaryFixedPoint |
| 48 | open Lax535992.HornSat Lax535992.CircuitValue Lax535992.Game Lax535992.DeterministicMachines |
| 49 | open Lax535992.ClassPTIME |
| 50 | |
| 51 | /-- Deterministic machine acceptance is PTIME-complete. -/ |
| 52 | axiom dtmAccept_PTIME_complete : PTIME.Complete DTMAccept |
| 53 | |
| 54 | /-- PTIME is reducibility to deterministic machine acceptance. -/ |
| 55 | axiom mem_PTIME_iff_le_dtmAccept : ∀ {L : Language.{0, 0}} [L.IsRelational] (P : DecisionProblem L), |
| 56 | PTIME.Mem P ↔ Nonempty (OrderedFOReduction P DTMAccept) |
| 57 | |
| 58 | end Lax535992.DeterministicMachinePTIMEComplete |
| 59 |
Builds on
Lax485149.ClassLLax485149.ClassNLLax485149.ComplementLax485149.DeterministicTransitiveClosureLax485149.ProblemsLax485149.SecondOrderAtomsLax485149.TransitiveClosureLax535992.CircuitValueLax535992.ClassPTIMELax535992.DeterministicMachinesLax535992.GameLax535992.HornFragmentLax535992.HornSatLax535992.InflationaryFixedPointLax535992.LeastFixedPointLax904597.ClassesLax904597.InterpretationsLax904597.MachinesLax904597.ProblemsLax904597.RelativizedLax904597.SatLax904597.SecondOrder
Used by
none
From Mathlib
none
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments