FP-complete problems
Lax366625.FPComplete · concepts/Lax366625/FPComplete.lean · lax-366625
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
The number written by a circuit, the number written by unit propagation on a Horn formula, and the number written by a deterministic Turing machine are parsimoniously FP-complete, and a counting problem is in FP if and only if it reduces to the machine problem by an ordered parsimonious reduction: FP is the class of the numbers written by deterministic polynomial-time machines.
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 Lax535992.HornSat |
| 9 | import Lax535992.CircuitValue |
| 10 | import Lax535992.DeterministicMachines |
| 11 | import Lax535992.ClassPTIME |
| 12 | import Lax366625.CountingProblems |
| 13 | import Lax366625.CountingClasses |
| 14 | import Lax366625.WitnessCounting |
| 15 | import Lax366625.SecondOrderCounting |
| 16 | import Lax366625.QuantitativeLogic |
| 17 | import Lax366625.CountingSat |
| 18 | import Lax366625.MachineNumbers |
| 19 | import Lax366625.CountingRuns |
| 20 | import Lax366625.NumberedCircuits |
| 21 | import Lax366625.HornNumbers |
| 22 | |
| 23 | /-! |
| 24 | --- |
| 25 | title: FP-complete problems |
| 26 | type: theorem |
| 27 | --- |
| 28 | The number written by a circuit, the number written by unit propagation on |
| 29 | a Horn formula, and the number written by a deterministic Turing machine are |
| 30 | parsimoniously FP-complete, and a counting problem is in FP if and only if |
| 31 | it reduces to the machine problem by an ordered parsimonious reduction: FP |
| 32 | is the class of the numbers written by deterministic polynomial-time |
| 33 | machines. |
| 34 | -/ |
| 35 | |
| 36 | namespace Lax366625.FPComplete |
| 37 | |
| 38 | open FirstOrder FirstOrder.Language |
| 39 | open Lax904597.Problems Lax904597.Interpretations Lax904597.Relativized Lax904597.SecondOrder |
| 40 | open Lax904597.Classes Lax904597.Sat Lax904597.Machines |
| 41 | open Lax535992.ClassPTIME |
| 42 | open Lax366625.CountingProblems Lax366625.CountingClasses Lax366625.WitnessCounting |
| 43 | open Lax366625.SecondOrderCounting |
| 44 | open Lax366625.QuantitativeLogic Lax366625.CountingSat Lax366625.MachineNumbers |
| 45 | open Lax366625.CountingRuns |
| 46 | open Lax366625.NumberedCircuits Lax366625.HornNumbers |
| 47 | |
| 48 | /-- The number written by a circuit is parsimoniously FP-complete. -/ |
| 49 | axiom circuitNumber_FP_parsimoniousComplete : FP.ParsimoniousComplete CircuitNumber |
| 50 | |
| 51 | /-- The number written by unit propagation is parsimoniously FP-complete. -/ |
| 52 | axiom hornNumber_FP_parsimoniousComplete : FP.ParsimoniousComplete HornNumber |
| 53 | |
| 54 | /-- The number written by a deterministic machine is parsimoniously FP-complete. -/ |
| 55 | axiom dtmNumber_FP_parsimoniousComplete : FP.ParsimoniousComplete DTMNumber |
| 56 | |
| 57 | /-- FP is reducibility to the number written by a deterministic machine. -/ |
| 58 | axiom mem_FP_iff_le_dtmNumber : ∀ {L : Language.{0, 0}} [L.IsRelational] (C : CountingProblem L), |
| 59 | FP.Mem C ↔ Nonempty (OrderedParsimoniousReduction C DTMNumber) |
| 60 | |
| 61 | end Lax366625.FPComplete |
| 62 |
Builds on
Lax366625.CountingClassesLax366625.CountingProblemsLax366625.CountingRunsLax366625.CountingSatLax366625.HornNumbersLax366625.MachineNumbersLax366625.NumberedCircuitsLax366625.QuantitativeLogicLax366625.SecondOrderCountingLax366625.WitnessCountingLax535992.CircuitValueLax535992.ClassPTIMELax535992.DeterministicMachinesLax535992.HornSatLax904597.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