Documentation

Complexitylib.Metacomplexity.MCSP.Gap.Slice

Arity-indexed Gap MCSP slices #

This module exposes canonical GapMCSP[s_yes, s_no] promises. Its reduction theorem keeps the represented truth table fixed, writes the target yes threshold into the code, and exposes the two exact inequalities needed for side preservation.

Every threshold pair reduces to itself.

theorem Complexity.GapMCSP.SliceParameters.ReducesTo.trans {first second third : SliceParameters} (hfirst : first.ReducesTo second) (hsecond : second.ReducesTo third) :
first.ReducesTo third

Parameter order composes.

@[simp]

Membership in the encoded yes slice exposes its forced threshold and MCSP witness predicate.

@[simp]

Membership in the encoded no slice exposes both finite thresholds.

theorem Complexity.GapMCSP.disjoint_sliceLanguages (parameters : SliceParameters) (hgap : parameters.IsGap) :
Disjoint (sliceYesLanguage parameters) (sliceNoLanguage parameters)

A pointwise gap makes the two encoded slice languages disjoint.

Canonical arity-indexed Gap MCSP promise problem.

Equations
Instances For
    @[simp]
    theorem Complexity.GapMCSP.sliceProblem_yesInstances (parameters : SliceParameters) (hgap : parameters.IsGap) :
    (sliceProblem parameters hgap).yesInstances = sliceYesLanguage parameters
    @[simp]
    theorem Complexity.GapMCSP.sliceProblem_noInstances (parameters : SliceParameters) (hgap : parameters.IsGap) :
    (sliceProblem parameters hgap).noInstances = sliceNoLanguage parameters
    theorem Complexity.GapMCSP.sliceProblem_mapReducesVia_rethreshold {source target : SliceParameters} (hparameters : source.ReducesTo target) (hsource : source.IsGap) (htarget : target.IsGap) :
    (sliceProblem source hsource).MapReducesVia (sliceProblem target htarget) (MCSP.rethreshold target.yesThreshold)

    Exact table-preserving reduction between ordered threshold slices. The map re-encodes only the target yes threshold; MCSP.rethreshold_comp and MCSP.length_rethreshold_of_decode?_eq_some give its composition and precise output-length behavior.