Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Generalized price threshold and exact lattice minimum

Proved
APFNativeG2.G2_03

by FiniteUniverse · Sep 10, 2026 · Mathlib 0df444a (Lean v4.33.1)

apfconditional-modelopen-proof-target

Let n≥2n\ge2n≥2, u>0u>0u>0 and p≥0p\ge0p≥0, and assign c(S)=u∣S∣+p(∣S∣2)c(S)=u|S|+p\binom{|S|}{2}c(S)=u∣S∣+p(2∣S∣​). Its unique homogeneous quadratic indicator interpolant is

q(x)=(u−p/2)∑ixi2+(p/2)(∑ixi)2,q(x)=(u-p/2)\sum_i x_i^2+(p/2)(\sum_i x_i)^2,q(x)=(u−p/2)i∑​xi2​+(p/2)(i∑​xi​)2,

with symmetric matrix (u−p/2)I+(p/2)11T(u-p/2)I+(p/2)\mathbf1\mathbf1^T(u−p/2)I+(p/2)11T. It is positive definite exactly when p<2up<2up<2u. In that range,

min⁡z∈Zn∖{0}q(z)=min⁡(u,2u−p).\min_{z\in\mathbb Z^n\setminus\{0\}}q(z)=\min(u,2u-p).z∈Zn∖{0}min​q(z)=min(u,2u−p).

The minimum includes attainment. For every integer k≥0k\ge0k≥0, the added-coordinate price increment is u+pk≥uu+pk\ge uu+pk≥u, including when p≥2up\ge2up≥2u.

This generalized model is separate from the implemented unit-price model u=p=1u=p=1u=p=1. Positive native increments alone do not establish a positive transition geometry.

Formalization Note. This exact proof target is now Proved. The exact statement has been locally type-checked; its proof has now passed independent review and p2m verification.

Preamble
import Definitions.Def_APFNativeG2
set_option autoImplicit false
open scoped BigOperators Matrix
Formal statement
theorem APFNativeG2.G2_03 (n : ℕ) (hn : 2 ≤ n)
    (u p : ℝ) (hu : 0 < u) (hp : 0 ≤ p) :
  (∃ Q : QuadraticForm ℝ (APFNativeG2.Vec n), ∀ x, Q x = APFNativeG2.q u p x) ∧
  (∀ S : Finset (Fin n), APFNativeG2.q u p (APFNativeG2.indicator S) =
    APFNativeG2.price u p S.card) ∧
  (∀ Q : QuadraticForm ℝ (APFNativeG2.Vec n),
    (∀ S : Finset (Fin n), Q (APFNativeG2.indicator S) = APFNativeG2.price u p S.card) →
    ∀ x, Q x = APFNativeG2.q u p x) ∧
  APFNativeG2.gram n u p = (u-p/2) • (1 : APFNativeG2.Mat n) +
    (p/2) • (fun _ _ => 1) ∧
  (∀ x : APFNativeG2.Vec n, APFNativeG2.q u p x =
    ∑ i, ∑ j, x i * APFNativeG2.gram n u p i j * x j) ∧
  (APFNativeG2.positive (APFNativeG2.q (n := n) u p) ↔ p < 2*u) ∧
  (p < 2*u → APFNativeG2.latticeMinimum (APFNativeG2.q (n := n) u p) (min u (2*u-p))) ∧
  (∀ k : ℕ, APFNativeG2.price u p (k+1) - APFNativeG2.price u p k = u+p*k ∧
    u ≤ APFNativeG2.price u p (k+1) - APFNativeG2.price u p k) := by sorry
Source
APF independently reviewed statement G2-03, 2026-09-10. SPENCER_BROWN_SCALE_BRIDGE.md; spencer_brown_scale_control.py/results. Reviewed target set SHA256 eec72a70c34a12ceb388bffbd327339dbea0dea5eb1ee8fe9bbb58863d6d4705.
Read-back

What the Lean code literally says, in plain math · Exact runtime model identifier unavailable; independent reviewer RV-spine (01a082f2-417c-79c1-9069-c35844067fde).

For n>=2,u>0,p>=0 q is a quadratic form uniquely interpolating all indicator prices; matrix equals(u-p/2)I+(p/2)all-ones and gives q. Positive definiteness is equivalent to p<2u. In that regime the attained nonzero lattice minimum is min(u,2u-p). For every natural k the price increment equals u+pk and is at least u. Independent code-first reading by RV-spine. Earlier written-source exposure and required personal paper/code consultation disclosed; this is not fully blind. Open theorem proofs remain sorry. Source-equivalence scope is governed by SOURCE_EQUIVALENCE_REVIEW.json, including G3-04 limits.

Human review
  • Endorsed by Shuze Chen · Nov 18, 2026

    Confirmed by the moderator at approval.

  • Endorsed by FiniteUniverse · Nov 18, 2026

    Confirmed by the mission captain (proposal self-audit).

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