Lax489179.SATTime
Exponential running time for bounded-width SAT
concepts/Lax489179/SATTime.lean · lax-489179
No public endorsements yet.
Loading review…
Sign in with ORCIDConcept map
Definition
For a fixed width and real exponent , means that one finite multitape machine decides -CNF satisfiability in time , where is the encoded formula length, is the number of variables, and and are fixed constants. This is the meaning of used here. The same machine and constants serve every formula of width at most .
The mode distinguishes exact deterministic decision from randomized decision with two-sided error at most . In either mode the step bound holds on every input and, in randomized mode, every random tape. Constants and the machine may depend on and .
Lean source view on GitHub
| 1 | import Lax489179.TuringMachine |
| 2 | import Lax489179.Satisfiability |
| 3 | import Mathlib.Analysis.SpecialFunctions.Pow.Real |
| 4 | |
| 5 | /-! |
| 6 | --- |
| 7 | title: Exponential running time for bounded-width SAT |
| 8 | type: definition |
| 9 | --- |
| 10 | For a fixed width and real exponent , `Solvable mode k a` |
| 11 | means that one finite multitape machine decides -CNF satisfiability |
| 12 | in time , where is the encoded formula length, |
| 13 | is the number of variables, and and are fixed constants. |
| 14 | This is the meaning of used here. The same machine and |
| 15 | constants serve every formula of width at most . |
| 16 | |
| 17 | The mode distinguishes exact deterministic decision from randomized |
| 18 | decision with two-sided error at most . In either mode the step |
| 19 | bound holds on every input and, in randomized mode, every random tape. |
| 20 | Constants and the machine may depend on and . |
| 21 | -/ |
| 22 | |
| 23 | namespace Lax489179.SATTime |
| 24 | |
| 25 | open Algorithms Satisfiability TuringMachine |
| 26 | |
| 27 | def Solvable (mode : Mode) (k : ℕ) (a : ℝ) : Prop := |
| 28 | ∃ (M : Machine) (C : ℝ) (d : ℕ), 0 < C ∧ Allowed mode (Deterministic M) ∧ |
| 29 | ∀ F : Formula, WidthAtMost k F → |
| 30 | ∃ t : ℕ, (t : ℝ) ≤ C * ((encode F).length + 1 : ℝ) ^ d * |
| 31 | Real.rpow 2 (a * F.numVars) ∧ |
| 32 | DecidesWithin M (encode F) (Satisfiable F) t |
| 33 | |
| 34 | end Lax489179.SATTime |
| 35 |
Community review
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above; your ORCID profile must share a public name.
0 comments