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

PARITY is in L and not first-order definable

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

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

    PARITY is in L, by one deterministic walk along the order that carries a bit and flips it at each marked element. It is not FO(≤\le) definable: EVEN reduces to it by a first-order reduction that marks every element, and FO(≤\le) definability is closed under such reductions. That PARITY is not AC⁰ definable is the switching lemma, which is not proved here.

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

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

    1 even_fo_reduction_parity proven

    3 parity_not_foDefinable proven

    Lean source view on GitHub

    1import Mathlib.ModelTheory.Order
    2import Mathlib.Order.Defs.LinearOrder
    3import Lax904597.Problems
    4import Lax904597.Interpretations
    5import Lax904597.Relativized
    6import Lax904597.SecondOrder
    7import Lax904597.Classes
    8import Lax485149.Problems
    9import Lax485149.FirstOrderDefinability
    10import Lax485149.TransitiveClosure
    11import Lax485149.DeterministicTransitiveClosure
    12import Lax485149.ClassNL
    13import Lax485149.ClassL
    14import Lax535992.InflationaryFixedPoint
    15import Lax535992.ClassPTIME
    16import Lax134656.PartialFixedPoint
    17import Lax895169.ArithmeticLogic
    18import Lax945089.OrderFreeFirstOrder
    19import Lax945089.EhrenfeuchtGames
    20import Lax945089.PebbleGames
    21import Lax945089.Even
    22import Lax945089.Parity
    23import Lax945089.TransitiveClosureReductions
    24
    25/-!
    26---
    27title: PARITY is in L and not first-order definable
    28type: theorem
    29---
    30PARITY is in L, by one deterministic walk along the order that carries a
    31bit and flips it at each marked element. It is not FO(≤\le) definable:
    32EVEN reduces to it by a first-order reduction that marks every element, and
    33FO(≤\le) definability is closed under such reductions. That PARITY is not
    34AC⁰ definable is the switching lemma, which is not proved here.
    35-/
    36
    37namespace Lax945089.ParityInLogSpace
    38
    39open FirstOrder FirstOrder.Language
    40open Lax904597.Problems Lax904597.Interpretations Lax904597.Relativized Lax904597.SecondOrder
    41open Lax904597.Classes
    42open Lax485149.Problems Lax485149.FirstOrderDefinability Lax485149.TransitiveClosure
    43open Lax485149.DeterministicTransitiveClosure Lax485149.ClassNL Lax485149.ClassL
    44open Lax535992.InflationaryFixedPoint Lax535992.ClassPTIME
    45open Lax134656.PartialFixedPoint Lax895169.ArithmeticLogic
    46open Lax945089.OrderFreeFirstOrder Lax945089.EhrenfeuchtGames Lax945089.PebbleGames
    47open Lax945089.Even Lax945089.Parity
    48open Lax945089.TransitiveClosureReductions
    49
    50/-- PARITY is in L. -/
    51axiom parity_mem_LOGSPACE : LOGSPACE.Mem PARITY
    52
    53/-- EVEN reduces to PARITY by a first-order reduction. -/
    54axiom even_fo_reduction_parity : Nonempty (FOReduction EVEN PARITY)
    55
    56/-- PARITY is not FO(≤) definable. -/
    57axiom parity_not_foDefinable : ¬FODefinable PARITY
    58
    59end Lax945089.ParityInLogSpace
    60
    Show ProofShow ProofShow Proof

    Discussion

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

    Loading discussion…