Skip to content

Add non-erasing StructuredDistinguisher and uniform-index hybrid telescoping #471

Backlog

Description

@MarcIlunga

Background

Computational hybrid proofs and nonadaptive distinguisher bounds (#194, #195, #413) require a concrete distinguisher carrier that retains the underlying distribution over stopping DDDs (transcriptLaw, ProbDist.bind, and nonadaptivity predicates), together with 0-inclusive hybrid chains and uniform-index signed-gap telescoping on Distinguishers, AdmissibleDistinguishers, and Interface.

Proposed change

  • Add src/RandomSystems/Typed/StructuredDistinguisher.lean (building on Average the signed gap when sampling an observer once #452's RandomSystems.Distance.SignedObservation):
    • StructuredDistinguisher A := A.inputDomain.Distinguisher, reusing Domain.Distinguisher.{signedGap, probability_bind, signedGap_bind} directly.
    • Behavioral projection toTyped and concrete converter absorption absorb with toTyped_absorb.
    • Transcript-law mixing (transcriptLaw_bind), uniform-index selection (uniformChoice), and uniform-index telescoping signed-gap / advantage theorems.
    • Nonadaptivity predicate IsNonAdaptive (preserved under bind and uniformChoice) and fixed-query constructors fixedQuery and sampleFixedQuery.
  • Add src/ConstructiveCryptography/Substitution/StructuredHybrid.lean:
    • 0-inclusive finite hybrid chain SubstitutesWithin.chain.
    • Abstract Distinguishers.{signedGap, signedGap_telescoping, signedGap_average_expect, signedGap_uniform_telescoping, advantage_uniform_telescoping} and AdmissibleDistinguishers.substitutesWithin_uniform_telescoping.
    • Interface.structuredDistinguisherAdvantage with DominatedByDistance, converter-attachment transport, bidirectional bridges to TypedDistinguisher, and Interface.structuredSubstitutesWithin_uniform_telescoping.
  • Export from src/RandomSystems.lean and src/ConstructiveCryptography.lean, and add consumer tests (including cc_calc mixed) + #print axioms in src/Tests/StructuredHybrid.lean.

Acceptance criteria

Advances #194, #195, #413.

Activity

  1. added
    needs-format
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-format

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions