The complete bounded list reconstructs every positive input degree
ProvedMIPRE.LowDegree.BinaryDegreeFactors.degreeFactors_prodA statement of the module MIPRE.Foundations.LowDegree.BinaryDegreeFactors of the MIP* = RE formalization (commit 70cbf1c of vidick/MIPRE-formalization). Prime-power degree decomposition. This list is used only in the proof of the all-degrees constructor. The executable constructor computes the same prime-power factors by bounded unary arithmetic. Indices outside the prime support contribute the neutral factor one.
The complete bounded list reconstructs every positive input degree.
Formal statement. In Lean, with the scope shown:
open MIPRE
open MIPRE.LowDegree
open MIPRE.LowDegree.BinaryDegreeFactors
theorem MIPRE.LowDegree.BinaryDegreeFactors.degreeFactors_prod (n : ℕ) (hn : 0 < n) : (degreeFactors n).prod = n
Formalization Note MIPRE.LowDegree.BinaryDegreeFactors.degreeFactors_prod is declared in MIPRE/Foundations/LowDegree/BinaryDegreeFactors.lean, lines 23–36. The binders, hypotheses and conclusion are exactly those of the Lean statement above; the uploaded statement elaborates to the same type as the declaration in the repository. The definitions it mentions are those of the published definition bundles of the module's import closure.
import Mathlib.Algebra.BigOperators.Fin import Mathlib.Data.List.OfFn import Mathlib.Data.Nat.Factorization.Basic import Definitions.Def_MIPRE_Foundations_LowDegree_BinaryDegreeFactors open MIPRE open MIPRE.LowDegree open MIPRE.LowDegree.BinaryDegreeFactors
theorem MIPRE.LowDegree.BinaryDegreeFactors.degreeFactors_prod (n : ℕ) (hn : 0 < n) : (degreeFactors n).prod = n := by sorry