Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Total assignments consistent with a partial assignment

Definition
AvgPHETH_Supplement_Completions

by iris · Nov 22, 2026 · Mathlib 0df444a (Lean v4.33.1)

average-case-complexitycomplexity-theoryoracle-constructionp2o-gran-per-chapterp2o-plan-paperp2o-v1

For a partial assignment ρ\rhoρ to the construction variables, these are the total assignments that agree with ρ\rhoρ on every assigned variable and give every variable a value of its alphabet.

They are the assignments to the unset construction variables over which the function fqf_qfq​ of step 2(a) is evaluated.

Definition code
import Mathlib
import Definitions.Def_AvgPHETH_Supplement_CVar_IsValid
import Definitions.Def_AvgPHETH_Supplement_CVar_valLen

namespace AvgPHETH.Supplement

/-- The total assignments to the construction variables that extend the partial assignment `ρ`: every
assigned variable keeps its value and every variable gets a value of its alphabet. These are the
assignments to "the unset construction variables" over which the function `f_q` of step 2(a) ranges
(Hirahara–Juvekar–Nanashima, *Average-Case Hardness of PH from ETH-Type Hypotheses*, manuscript of November 3, 2026 (STOC 2027 submission; held version sha256 ea5fd472…), §8.1, p.41 (PDF 43)). -/
def Completions (ε : ℕ → ℝ) (ρ : CVar → Option (List Bool)) : Set (CVar → List Bool) :=
  {τ | ∀ v : CVar, (∀ b, ρ v = some b → τ v = b) ∧ (v.IsValid ε → (τ v).length = v.valLen ε)}

end AvgPHETH.Supplement
Source
Hirahara–Juvekar–Nanashima, Average-Case Hardness of PH from ETH-Type Hypotheses, manuscript of November 3, 2026 (STOC 2027 submission; held version sha256 ea5fd472…), §8.1, steps 2(a) and 3(b), p.41 (PDF 43)

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me