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

EVEN, the parity of the universe

Lax945089.Even · concepts/Lax945089/Even.lean · lax-945089

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

    An instance is a bare finite set, a structure over the empty vocabulary. It is a yes-instance of EVEN when its number of elements is even; EVEN is the decision problem of the structures isomorphic to such an instance, that is, of the sets of even size.

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

    Lean source view on GitHub

    1import Mathlib.ModelTheory.Basic
    2import Mathlib.SetTheory.Cardinal.Finite
    3import Mathlib.Algebra.Group.Even
    4import Lax904597.Problems
    5import Lax485149.Problems
    6
    7/-!
    8---
    9title: EVEN, the parity of the universe
    10type: definition
    11---
    12An instance is a bare finite set, a structure over the empty vocabulary. It
    13is a yes-instance of EVEN when its number of elements is even; EVEN is the
    14decision problem of the structures isomorphic to such an instance, that is,
    15of the sets of even size.
    16-/
    17
    18namespace Lax945089.Even
    19
    20open FirstOrder FirstOrder.Language
    21open Lax904597.Problems Lax485149.Problems
    22
    23/-- EVEN: does the universe have an even number of elements? -/
    24def EVEN : DecisionProblem Language.empty :=
    25 DecisionProblem.ofPred fun A _ => Even (Nat.card A)
    26
    27end Lax945089.Even
    28

    Discussion

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

    Loading discussion…