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

The classes with a complete problem are degrees

Lax604544.ClassesAsDegrees · concepts/Lax604544/ClassesAsDegrees.lean · lax-604544

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

    Theorem

    Each logically defined class with a complete problem is the degree of that problem: NP is the degree of SAT, coNP of TAUT, PTIME of HORN-SAT, NL of 2SAT and RE of FINSAT. Every member of the class reduces to the problem by an ordered first-order reduction, the generic reduction that reads a definition, and the class is closed under such reductions. Hardness for a complete problem is therefore hardness for the class: SAT-hardness is NP-hardness.

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

    Lean source view on GitHub

    1import Lax904597.Problems
    2import Lax904597.Interpretations
    3import Lax904597.Relativized
    4import Lax904597.Classes
    5import Lax904597.Sat
    6import Lax799700.SubgraphIso
    7import Lax485149.Problems
    8import Lax485149.TwoSat
    9import Lax485149.ClassNL
    10import Lax535992.HornSat
    11import Lax535992.ClassPTIME
    12import Lax564036.Hierarchy
    13import Lax564036.Tautology
    14import Lax624099.ClassRE
    15import Lax624099.FiniteSatisfiability
    16import Lax604544.Degrees
    17import Lax604544.RelationIsomorphism
    18import Lax604544.GraphIsomorphism
    19import Lax604544.DagIsomorphism
    20
    21/-!
    22---
    23title: The classes with a complete problem are degrees
    24type: theorem
    25---
    26Each logically defined class with a complete problem is the degree of that
    27problem: NP is the degree of SAT, coNP of TAUT, PTIME of HORN-SAT, NL of
    282SAT and RE of FINSAT. Every member of the class reduces to the problem by
    29an ordered first-order reduction, the generic reduction that reads a
    30definition, and the class is closed under such reductions. Hardness for a
    31complete problem is therefore hardness for the class: SAT-hardness is
    32NP-hardness.
    33-/
    34
    35namespace Lax604544.ClassesAsDegrees
    36
    37open FirstOrder FirstOrder.Language
    38open Lax904597.Problems Lax904597.Interpretations Lax904597.Relativized Lax904597.Classes
    39open Lax904597.Sat Lax799700.SubgraphIso
    40open Lax485149.Problems Lax485149.TwoSat Lax485149.ClassNL Lax535992.HornSat Lax535992.ClassPTIME
    41open Lax564036.Hierarchy Lax564036.Tautology Lax624099.ClassRE Lax624099.FiniteSatisfiability
    42open Lax604544.Degrees Lax604544.RelationIsomorphism
    43open Lax604544.GraphIsomorphism Lax604544.DagIsomorphism
    44
    45/-- NP is the degree of SAT. -/
    46axiom NP_eq_below_sat : NP = below SAT
    47
    48/-- coNP is the degree of TAUT. -/
    49axiom coNP_eq_below_taut : coNP = below TAUT
    50
    51/-- PTIME is the degree of HORN-SAT. -/
    52axiom PTIME_eq_below_hornSat : PTIME = below HORNSAT
    53
    54/-- NL is the degree of 2SAT. -/
    55axiom NL_eq_below_twoSat : NL = below TwoSAT
    56
    57/-- RE is the degree of FINSAT. -/
    58axiom RE_eq_below_finsat : RE = below FINSAT
    59
    60end Lax604544.ClassesAsDegrees
    61
    Show ProofShow ProofShow ProofShow ProofShow Proof

    Discussion

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

    Loading discussion…