#3-Colorability is one-call #P-complete
Lax859101.ColoringComplete · concepts/Lax859101/ColoringComplete.lean · lax-859101
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
#3-Colorability is one-call #P-complete, by a one-call reduction from #SAT: the graph built from a formula has proper 3-colorings for each model of the formula, being its number of gadgets, and the post-processing term divides the oracle answer by that number.
Concept map
Evidence
Each proof establishes this claim relative to its assumptions.
Lean source view on GitHub
| 1 | import Lax904597.Problems |
| 2 | import Lax904597.Sat |
| 3 | import Mathlib.ModelTheory.Graph |
| 4 | import Lax799700.SetFamily |
| 5 | import Lax366625.CountingProblems |
| 6 | import Lax366625.CountingClasses |
| 7 | import Lax366625.WitnessCounting |
| 8 | import Lax366625.CountingSat |
| 9 | import Lax859101.OneCallReductions |
| 10 | import Lax859101.SubtractiveReductions |
| 11 | import Lax859101.CountingDnf |
| 12 | import Lax859101.CountingNaeSat |
| 13 | import Lax859101.CountingRestrictedSat |
| 14 | import Lax859101.CountingAllSets |
| 15 | import Lax859101.CountingBipartite |
| 16 | |
| 17 | /-! |
| 18 | --- |
| 19 | title: #3-Colorability is one-call #P-complete |
| 20 | type: theorem |
| 21 | --- |
| 22 | #3-Colorability is one-call #P-complete, by a one-call reduction from #SAT: |
| 23 | the graph built from a formula has proper 3-colorings for each |
| 24 | model of the formula, being its number of gadgets, and the |
| 25 | post-processing term divides the oracle answer by that number. |
| 26 | -/ |
| 27 | |
| 28 | namespace Lax859101.ColoringComplete |
| 29 | |
| 30 | open FirstOrder FirstOrder.Language FirstOrder.Language.Structure |
| 31 | open Lax904597.Problems Lax904597.Sat Lax799700.SetFamily |
| 32 | open Lax366625.CountingProblems Lax366625.CountingClasses Lax366625.WitnessCounting |
| 33 | Lax366625.CountingSat |
| 34 | open Lax859101.OneCallReductions Lax859101.SubtractiveReductions Lax859101.CountingDnf |
| 35 | Lax859101.CountingNaeSat Lax859101.CountingRestrictedSat Lax859101.CountingAllSets |
| 36 | Lax859101.CountingBipartite |
| 37 | |
| 38 | /-- #3-Colorability is one-call #P-complete. -/ |
| 39 | axiom sharpThreeCol_sharpP_oneCallComplete : |
| 40 | OneCallComplete SharpP SharpThreeCol |
| 41 | |
| 42 | end Lax859101.ColoringComplete |
| 43 |
Builds on
Lax366625.CountingClassesLax366625.CountingProblemsLax366625.CountingSatLax366625.WitnessCountingLax799700.SetFamilyLax859101.CountingAllSetsLax859101.CountingBipartiteLax859101.CountingDnfLax859101.CountingNaeSatLax859101.CountingRestrictedSatLax859101.OneCallReductionsLax859101.SubtractiveReductionsLax904597.ProblemsLax904597.Sat
Used by
none
From Mathlib
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments