While this submission is a draft, it cannot be used by other submissions.

A PTAS returning an independent set

Lax956329.SolutionScheme · concepts/Lax956329/SolutionScheme.lean · lax-956329

proven

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.

    Natural Language Statement

    Corollary

    For every fixed integer t≥2t\ge 2, a deterministic polynomial-time machine returns an independent set of size at least (1−1/t)α(G)(1-1/t)\alpha(G) on subcubic inputs with a supplied 44-sequence. The output contains a membership bit for each vertex and a copy of the input threshold. A scheme with this guarantee would imply P=NP\mathrm P=\mathrm{NP}. With unrestricted degree, the same implication holds for any one fixed approximation factor r>1r>1.

    Concept map
    10 concepts
    100%
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A
    Evidence

    This concept declares 2 statements. Each proof establishes one of them relative to its assumptions.

    Lean source view on GitHub

    1import Lax956329.Approximation
    2
    3/-!
    4---
    5title: A PTAS returning an independent set
    6type: corollary
    7---
    8For every fixed integer t≥2t\ge 2, a deterministic polynomial-time machine
    9returns an independent set of size at least (1−1/t)α(G)(1-1/t)\alpha(G) on subcubic
    10inputs with a supplied 44-sequence. The output contains a membership bit for
    11each vertex and a copy of the input threshold. A scheme with this guarantee
    12would imply P=NP\mathrm P=\mathrm{NP}. With unrestricted degree, the same implication
    13holds for any one fixed approximation factor r>1r>1.
    14-/
    15
    16namespace Lax956329.SolutionScheme
    17
    18open Instances Lax434930.PolynomialTime Lax434930.NondeterministicPolynomialTime
    19
    20def outputBits (z : ℕ × Word) : Word := numeral z.1 ++ z.2
    21
    22def mask {n : ℕ} (T : Finset (Fin n)) : Word :=
    23 (List.finRange n).map fun v => decide (v ∈ T)
    24
    25/-- The fixed-accuracy machine must produce an actual feasible solution. -/
    26def HasPTAS : Prop :=
    27 ∀ t : ℕ, 2 ≤ t → ∃ solve : Word → ℕ × Word,
    28 Nonempty (Turing.TM2ComputableInPolyTime id outputBits solve) ∧
    29 ∀ I : Instance, DegreeLE I.graph 3 → ∃ T : Finset (Fin I.n), I.graph.IsIndepSet T ∧
    30 solve I.bits = (I.k,mask T) ∧ (t-1)*I.graph.indepNum ≤ t*T.card
    31
    32axiom ptas_implies_p_eq_np : HasPTAS → P = NP
    33
    34/-- A fixed-factor approximation on all inputs with a supplied 4-sequence. -/
    35def HasFactor (r : ℝ) : Prop :=
    36 ∃ solve : Word → ℕ × Word, Nonempty (Turing.TM2ComputableInPolyTime id outputBits solve) ∧
    37 ∀ I : Instance, ∃ T : Finset (Fin I.n), I.graph.IsIndepSet T ∧
    38 solve I.bits = (I.k,mask T) ∧ (I.graph.indepNum : ℝ) ≤ r*T.card
    39
    40axiom fixed_factor_implies_p_eq_np (r : ℝ) (hr : 1 < r) : HasFactor r → P = NP
    41
    42end Lax956329.SolutionScheme
    43
    Show ProofShow Proof
    Builds on
    Used by

    none

    From Mathlib

    none

    Discussion

    Ask a question or add context. Endorsements and structured flags are kept in the review panel above.

    Loading discussion…