All proofs
Project-declaredLean 4.31.0 · mathlib@fabf563a7c95

Verifier seq Compose tree Special Sound

Verifier.seqCompose_treeSpecialSound

Plain-language statement

n-ary generic tree-soundness composition. If each factor verifier is pure (IsPure) and tree-special-sound for the seam relations rel i.castSucc ↦ rel i.succ, then the sequential composition Verifier.seqCompose is tree-special-sound for the sequentially-composed shape from rel 0 to rel (Fin.last m). The induction's base case is `Verifier.id...

Exact Lean statement

theorem Verifier.seqCompose_treeSpecialSound
    (S : ∀ i, ChallengeTreeShape (pSpec i))
    (rel : ∀ i, Set (Stmt i × Wit i))
    (hWit : Nonempty (Wit (Fin.last m)))
    (V : ∀ i, Verifier oSpec (Stmt i.castSucc) (Stmt i.succ) (pSpec i))
    (hV : ∀ i, (V i).IsPure)
    (h : ∀ i, (V i).treeSpecialSound init impl (S i) (rel i.castSucc) (rel i.succ)) :
      (Verifier.seqCompose Stmt V).treeSpecialSound init impl
        (ChallengeTreeShape.seqCompose S) (rel 0) (rel (Fin.last m))

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
theorem Verifier.seqCompose_treeSpecialSound    (S :  i, ChallengeTreeShape (pSpec i))    (rel :  i, Set (Stmt i × Wit i))    (hWit : Nonempty (Wit (Fin.last m)))    (V :  i, Verifier oSpec (Stmt i.castSucc) (Stmt i.succ) (pSpec i))    (hV :  i, (V i).IsPure)    (h :  i, (V i).treeSpecialSound init impl (S i) (rel i.castSucc) (rel i.succ)) :      (Verifier.seqCompose Stmt V).treeSpecialSound init impl        (ChallengeTreeShape.seqCompose S) (rel 0) (rel (Fin.last m)) := by  induction m with  | zero =>    haveI : Nonempty (Wit 0) := hWit    rw [Verifier.seqCompose_zero]    exact Verifier.id_treeSpecialSound init impl (ChallengeTreeShape.seqCompose S) (rel 0)  | succ m ih =>    rw [Verifier.seqCompose_succ, ChallengeTreeShape.seqCompose_succ]    obtain f₀, hf₀ := (hV 0).is_pure    have htail := ih (fun i => S i.succ) (fun i => rel i.succ) hWit      (fun i => V i.succ) (fun i => hV i.succ) (fun i => h i.succ)    refine Verifier.append_treeSpecialSound init impl (V 0)      (Verifier.seqCompose (StmtFin.succ) (fun i => V i.succ))      (S 0) (ChallengeTreeShape.seqCompose (fun i => S i.succ)) f₀ hf₀ (h 0) ?_    simpa [Function.comp_def] using htail
Project
ArkLib
License
Apache-2.0
Commit
fad5cbf80877
Source
ArkLib/OracleReduction/Security/CoordinateWiseSpecialSoundness/SeqCompose.lean:368-390

Reuse this declaration

Bring the exact result into your workflow

The import identifies the source module. Your project still needs the pinned package dependency shown on this page.

What this badge means

This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.

Continue in this project

Related declarations

Project-declaredLean 4.31.0

Affine gaps lifted to interleaved codes

affine_gaps_lifted_to_interleaved_codes

Project documentation

This lemma proves the final algebraic step in the DG25 Theorem 3.1 proof. It shows that if R > e + 1, then e * (R / (R - 1)) < e + 1. The intuition is that the fraction R / (R - 1) is always greater than 1, but as R gets larger, it gets closer to 1. The hypothesis R > e + 1 provides a strong enough bound to ensure the product e * (fraction) do...

cryptographyproof systemscoding theory

Source project: ArkLib

Person-level attribution pending.

View proof record
Project-declaredLean 4.31.0

Gadget Decompose coeff

ArkLib.Lattices.Ajtai.gadgetDecompose_coeff

Plain-language statement

The k-th coefficient (k < deg φ) of a gadget-decomposition block is exactly the corresponding digit of the corresponding input coefficient.

cryptographyproof systemscoding theory

Source project: ArkLib

Person-level attribution pending.

View proof record
Project-declaredLean 4.31.0

Gadget Decompose lawful

ArkLib.Lattices.Ajtai.gadgetDecompose_lawful

Plain-language statement

The base-b gadget decomposition is a lawful gadget decomposition.

cryptographyproof systemscoding theory

Source project: ArkLib

Person-level attribution pending.

View proof record