Draft — mutable and not usable as a dependency; its citation marks the draft state.

Lax489179.SATTime

Exponential running time for bounded-width SAT

concepts/Lax489179/SATTime.lean · lax-489179

definition

Loading review…

Sign in with ORCID

Community review

Flags

Each flag is tied to a public ORCID identity and explains why this concept may be incorrect.

No flags have been submitted.

    Community review

    Flag this concept

    State precisely what appears incorrect. This explanation will be public under your ORCID name.

    No source line selected.

    Concept map

    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A

    Definition

    For a fixed width kk and real exponent aa, SolvablemodekaSolvable mode k a means that one finite multitape machine decides kk-CNF satisfiability in time C(L+1)d2anC(L+1)^d 2^{an}, where LL is the encoded formula length, nn is the number of variables, and C>0C>0 and dd are fixed constants. This is the meaning of O(2an)O^*(2^{an}) used here. The same machine and constants serve every formula of width at most kk.

    The mode distinguishes exact deterministic decision from randomized decision with two-sided error at most 1/31/3. In either mode the step bound holds on every input and, in randomized mode, every random tape. Constants and the machine may depend on kk and aa.

    Lean source view on GitHub

    1import Lax489179.TuringMachine
    2import Lax489179.Satisfiability
    3import Mathlib.Analysis.SpecialFunctions.Pow.Real
    4
    5/-!
    6---
    7title: Exponential running time for bounded-width SAT
    8type: definition
    9---
    10For a fixed width kk and real exponent aa, `Solvable mode k a`
    11means that one finite multitape machine decides kk-CNF satisfiability
    12in time C(L+1)d2anC(L+1)^d 2^{an}, where LL is the encoded formula length,
    13nn is the number of variables, and C>0C>0 and dd are fixed constants.
    14This is the meaning of O(2an)O^*(2^{an}) used here. The same machine and
    15constants serve every formula of width at most kk.
    16
    17The mode distinguishes exact deterministic decision from randomized
    18decision with two-sided error at most 1/31/3. In either mode the step
    19bound holds on every input and, in randomized mode, every random tape.
    20Constants and the machine may depend on kk and aa.
    21-/
    22
    23namespace Lax489179.SATTime
    24
    25open Algorithms Satisfiability TuringMachine
    26
    27def 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
    34end 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

    Loading discussion…