Problems given by a property of structures

Lax485149.Problems · concepts/Lax485149/Problems.lean · lax-485149

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.

    Natural Language Statement

    Definition

    The decision problems of the NP core are bundled with a proof that they do not distinguish isomorphic structures. For the problems of this submission the bundling is done once and for all: the problem given by a property Π\Pi of structures has as yes-instances the structures isomorphic to one satisfying Π\Pi, which is invariant by construction. When Π\Pi is itself invariant, as every property here is, this is the problem whose yes-instances are exactly the structures satisfying Π\Pi; that equivalence is stated, problem by problem, in a lemma of its own.

    Concept map
    2 concepts; 24 descendants hidden
    100%
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A

    Lean source view on GitHub

    1import Lax904597.Problems
    2
    3/-!
    4---
    5title: Problems given by a property of structures
    6type: definition
    7---
    8The decision problems of the NP core are bundled with a proof that they do
    9not distinguish isomorphic structures. For the problems of this submission
    10the bundling is done once and for all: the problem given by a property Π\Pi
    11of structures has as yes-instances the structures isomorphic to one
    12satisfying Π\Pi, which is invariant by construction. When Π\Pi is itself
    13invariant, as every property here is, this is the problem whose yes-instances
    14are exactly the structures satisfying Π\Pi; that equivalence is stated,
    15problem by problem, in a lemma of its own.
    16-/
    17
    18namespace Lax485149.Problems
    19
    20open FirstOrder FirstOrder.Language Lax904597.Problems
    21
    22/-- The decision problem whose yes-instances are the structures isomorphic to
    23one satisfying `P`. -/
    24def DecisionProblem.ofPred {L : Language.{0, 0}} [L.IsRelational]
    25 (P : ∀ (A : Type) [L.Structure A], Prop) : DecisionProblem L where
    26 Holds := fun A _ => ∃ (B : Type) (i : L.Structure B) (_ : @Language.Equiv L B A i _), @P B i
    27 iso_invariant := fun e =>
    28 ⟨fun ⟨B, i, f, h⟩ => ⟨B, i, e.comp f, h⟩, fun ⟨B, i, f, h⟩ => ⟨B, i, e.symm.comp f, h⟩⟩
    29
    30end Lax485149.Problems
    31

    Discussion

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

    Loading discussion…