Advantage le module SIS
ArkLib.Lattices.Ajtai.InnerOuter.WeakBinding.advantage_le_moduleSIS
Plain-language statement
Weak binding reduces to Module-SIS. The Hachi/Greyhound weak-binding advantage (over 𝓜(q, α)) is bounded by the sum of the inner and outer extracted Module-SIS advantages.
Exact Lean statement
theorem advantage_le_moduleSIS (base : ZMod q)
(hq5 : q % 8 = 5) (βSq γ κ : Nat) (hκ : κ ^ 2 < q)
(adv :
Adversary 𝓜(q, α) innerRows messageRows messageDigits outerRows blocks innerDigits) :
advantage 𝓜(q, α) base βSq γ κ adv ≤
ModuleSIS.advantage 𝓜(q, α) innerRows (messageRows * messageDigits)
(innerShort 𝓜(q, α) κ βSq)
(innerAdvToModuleSIS 𝓜(q, α) (innerShort 𝓜(q, α) κ βSq) adv) +
ModuleSIS.advantage 𝓜(q, α) outerRows (blocks * (innerRows * innerDigits))
(outerShort 𝓜(q, α) γ)
(outerAdvToModuleSIS 𝓜(q, α) (outerShort 𝓜(q, α) γ) adv)Formal artifact
Lean source
theorem advantage_le_moduleSIS (base : ZMod q) (hq5 : q % 8 = 5) (βSq γ κ : Nat) (hκ : κ ^ 2 < q) (adv : Adversary 𝓜(q, α) innerRows messageRows messageDigits outerRows blocks innerDigits) : advantage 𝓜(q, α) base βSq γ κ adv ≤ ModuleSIS.advantage 𝓜(q, α) innerRows (messageRows * messageDigits) (innerShort 𝓜(q, α) κ βSq) (innerAdvToModuleSIS 𝓜(q, α) (innerShort 𝓜(q, α) κ βSq) adv) + ModuleSIS.advantage 𝓜(q, α) outerRows (blocks * (innerRows * innerDigits)) (outerShort 𝓜(q, α) γ) (outerAdvToModuleSIS 𝓜(q, α) (outerShort 𝓜(q, α) γ) adv) := by unfold advantage experiment ModuleSIS.advantage SIS.advantage SIS.experiment ModuleSIS.problem innerAdvToModuleSIS outerAdvToModuleSIS simp only [monad_norm] rw [← probOutput_bind_bind_swap ($ᵗ (Simple.PublicParams 𝓜(q, α) innerRows (messageRows * messageDigits))) ($ᵗ (Simple.PublicParams 𝓜(q, α) outerRows (blocks * (innerRows * innerDigits)))) _ true] refine probOutput_bind_congr_le_add (mx := $ᵗ (Simple.PublicParams 𝓜(q, α) innerRows (messageRows * messageDigits))) (y := true) (z₁ := true) (z₂ := true) (fun A _ => ?_) refine probOutput_bind_congr_le_add (mx := $ᵗ (Simple.PublicParams 𝓜(q, α) outerRows (blocks * (innerRows * innerDigits)))) (y := true) (z₁ := true) (z₂ := true) (fun B _ => ?_) refine probOutput_bind_congr_le_add (mx := adv { innerMatrix := A, outerMatrix := B }) (y := true) (z₁ := true) (z₂ := true) (fun x _ => ?_) obtain ⟨u, opening₁, opening₂⟩ := x have hs := sample_advantage_le_moduleSIS α base hq5 βSq γ κ hκ A B u opening₁ opening₂ cases hsol : outputToModuleSIS 𝓜(q, α) opening₁ opening₂ with | inl z => rw [hsol] at hs; simpa using hs | inr z => rw [hsol] at hs; simpa using hs- Project
- ArkLib
- License
- Apache-2.0
- Commit
- fad5cbf80877
- Source
- ArkLib/Commitments/Functional/Hachi/InnerOuter/Security.lean:492-523
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
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...
Source project: ArkLib
Person-level attribution pending.
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.
Source project: ArkLib
Person-level attribution pending.
Gadget Decompose lawful
ArkLib.Lattices.Ajtai.gadgetDecompose_lawful
Plain-language statement
The base-b gadget decomposition is a lawful gadget decomposition.
Source project: ArkLib
Person-level attribution pending.