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

Repeated squaring of fortified projection tests

Lax253009.FortifiedSquaring · concepts/Lax253009/FortifiedSquaring.lean · lax-253009

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

    A projection test compares two locally valid answers after mapping them to a common alphabet B. Suppose its value is at most s, and every rectangular restriction has unnormalized winning probability at most v times the rectangle's probability plus eta. Two parallel copies then have value at most v*s + |B|*eta.

    The error depends on the common projection alphabet, which remains fixed when tuple questions enlarge the prover-answer alphabet. This is the squaring step in the fortification approach to soundness amplification.

    Concept map
    2 concepts; 5 descendants hidden
    100%
    Proven claimThis conceptRelated conceptA → B: B builds on A
    Evidence

    Each proof establishes this claim relative to its assumptions.

    Lean source view on GitHub

    1import Lax253009.FiniteProbability
    2import Mathlib.Data.Fintype.Prod
    3
    4/-!
    5---
    6title: Repeated squaring of fortified projection tests
    7type: theorem
    8---
    9A projection test compares two locally valid answers after mapping them
    10to a common alphabet B. Suppose its value is at most s, and every
    11rectangular restriction has unnormalized winning probability at most
    12v times the rectangle's probability plus eta. Two parallel copies then
    13have value at most v*s + |B|*eta.
    14
    15The error depends on the common projection alphabet, which remains fixed
    16when tuple questions enlarge the prover-answer alphabet. This is the
    17squaring step in the fortification approach to soundness amplification.
    18-/
    19
    20namespace Lax253009.FortifiedSquaring
    21
    22open FiniteProbability
    23
    24structure Game (Z W A B : Type) where
    25 left : Z → W
    26 right : Z → W
    27 validLeft : Z → A → Bool
    28 validRight : Z → A → Bool
    29 projectLeft : Z → A → B
    30 projectRight : Z → A → B
    31
    32namespace Game
    33
    34variable {Z W A B : Type} (G : Game Z W A B)
    35
    36def Test (z : Z) (a b : A) : Prop :=
    37 G.validLeft z a = true ∧ G.validRight z b = true ∧
    38 G.projectLeft z a = G.projectRight z b
    39
    40def Wins (P Q : W → A) (z : Z) : Prop := G.Test z (P (G.left z)) (Q (G.right z))
    41
    42def Sound [Fintype Z] (s : ℝ) : Prop :=
    43 ∀ P Q : W → A, probability (G.Wins P Q) ≤ s
    44
    45def Fortified [Fintype Z] (v η : ℝ) : Prop :=
    46 ∀ (P Q : W → A) (S T : W → Prop),
    47 probability (fun z ↦ G.Wins P Q z ∧ S (G.left z) ∧ T (G.right z)) ≤
    48 v * probability (fun z ↦ S (G.left z) ∧ T (G.right z)) + η
    49
    50def DoubleWins (P Q : W × W → A × A) (z : Z × Z) : Prop :=
    51 let a := P (G.left z.1, G.left z.2)
    52 let b := Q (G.right z.1, G.right z.2)
    53 G.Test z.1 a.1 b.1 ∧ G.Test z.2 a.2 b.2
    54
    55end Game
    56
    57axiom soundness {Z W A B : Type} [Fintype Z] [Nonempty Z] [Fintype B]
    58 (G : Game Z W A B) (s v η : ℝ) (hv : 0 ≤ v)
    59 (hs : G.Sound s) (hfort : G.Fortified v η)
    60 (P Q : W × W → A × A) :
    61 probability (G.DoubleWins P Q) ≤ v * s + (Fintype.card B : ℝ) * η
    62
    63end Lax253009.FortifiedSquaring
    64
    Show Proof

    Discussion

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

    Loading discussion…