Problems given by a property of structures

Lax624099.Problems · concepts/Lax624099/Problems.lean · lax-624099

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 PP of structures has as yes-instances the structures isomorphic to one satisfying PP, which is invariant by construction. When PP is itself invariant, as every property here is, this is the problem whose yes-instances are exactly the structures satisfying PP; that equivalence is stated, problem by problem, beside each definition.

    Concept map
    2 concepts; 23 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 PP of
    11structures has as yes-instances the structures isomorphic to one satisfying
    12PP, which is invariant by construction. When PP is itself invariant, as
    13every property here is, this is the problem whose yes-instances are exactly
    14the structures satisfying PP; that equivalence is stated, problem by
    15problem, beside each definition.
    16-/
    17
    18namespace Lax624099.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 Lax624099.Problems
    31

    Discussion

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

    Loading discussion…