Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Four-variable core of four-plus-two-residual

Definition
HodgeComputerFourPlusTwoCore

by xuanji · Nov 10, 2026 · Mathlib 0df444a (Lean v4.33.1)

algebraic-geometryhodge-computer

Let x=(x0,x1,x2,x3)x=(x_0,x_1,x_2,x_3)x=(x0​,x1​,x2​,x3​) be coordinates on C4\mathbb{C}^4C4. This file defines the data of the four-variable core of the Hodge Computer instance four-plus-two-residual.

  1. The core sextic is
H=x06+57x05x1+57x03x1x2x3+107x0x15+107x0x1x23x3+x16+x26+57x25x3+157x2x35+x36.H = x_0^6 + \tfrac57 x_0^5x_1 + \tfrac57 x_0^3x_1x_2x_3 + \tfrac{10}{7}x_0x_1^5 + \tfrac{10}{7}x_0x_1x_2^3x_3 + x_1^6 + x_2^6 + \tfrac57 x_2^5x_3 + \tfrac{15}{7}x_2x_3^5 + x_3^6 .H=x06​+75​x05​x1​+75​x03​x1​x2​x3​+710​x0​x15​+710​x0​x1​x23​x3​+x16​+x26​+75​x25​x3​+715​x2​x35​+x36​.

It is the part of the instance polynomial F=H(X0,X1,Y0,Y1)+B(X2,Y2)F = H(X_0,X_1,Y_0,Y_1) + B(X_2,Y_2)F=H(X0​,X1​,Y0​,Y1​)+B(X2​,Y2​) that involves the first two XXX and first two YYY variables, with (x0,x1,x2,x3)=(X0,X1,Y0,Y1)(x_0,x_1,x_2,x_3)=(X_0,X_1,Y_0,Y_1)(x0​,x1​,x2​,x3​)=(X0​,X1​,Y0​,Y1​).

  1. The core source is A=x03x23A = x_0^3x_2^3A=x03​x23​ (the instance source X03Y03X_0^3Y_0^3X03​Y03​).

  2. A pair (D,N)(D,N)(D,N), with D∈C[x]D\in\mathbb{C}[x]D∈C[x] and N=(N0,…,N3)∈C[x]4N=(N_0,\dots,N_3)\in\mathbb{C}[x]^4N=(N0​,…,N3​)∈C[x]4, is a core certificate if D≠0D\neq 0D=0, there is k≥0k\ge 0k≥0 such that DDD is homogeneous of degree k+1k+1k+1 and every NiN_iNi​ is homogeneous of degree k+2k+2k+2, and

2 A D2  −  2 D∑i=03∂H∂xiNi  +  3 H(D∑i=03∂Ni∂xi−∑i=03∂D∂xiNi)=0.2\,A\,D^2 \;-\; 2\,D\sum_{i=0}^{3}\frac{\partial H}{\partial x_i}N_i \;+\; 3\,H\Big(D\sum_{i=0}^{3}\frac{\partial N_i}{\partial x_i}-\sum_{i=0}^{3}\frac{\partial D}{\partial x_i}N_i\Big)=0 .2AD2−2Di=0∑3​∂xi​∂H​Ni​+3H(Di=0∑3​∂xi​∂Ni​​−i=0∑3​∂xi​∂D​Ni​)=0.

Equivalently, the rational vector field v=∑i(Ni/D) ∂xiv=\sum_i (N_i/D)\,\partial_{x_i}v=∑i​(Ni​/D)∂xi​​, homogeneous of degree one, satisfies the strict twisted equation

v(H)−32 H div⁡v=A,v(H)-\tfrac32\,H\,\operatorname{div}v = A ,v(H)−23​Hdivv=A,

which says that A H−5/3 dx0∧dx1∧dx2∧dx3=d(−32H−2/3 ιv dx0∧⋯∧dx3)A\,H^{-5/3}\,dx_0\wedge dx_1\wedge dx_2\wedge dx_3 = d\big(-\tfrac32 H^{-2/3}\,\iota_v\,dx_0\wedge\dots\wedge dx_3\big)AH−5/3dx0​∧dx1​∧dx2​∧dx3​=d(−23​H−2/3ιv​dx0​∧⋯∧dx3​). No coprimality between DDD and HHH is required.

The role of this definition is to isolate the four-variable content of the six-variable Diamond certificate problem for four-plus-two-residual: a core certificate lifts to a full certificate by an explicit formula.

Formalization Note. core and coreSource are elements of MvPolynomial (Fin 4) ℂ; CoreCertificate D N is the proposition in item 3.

Definition code
import Mathlib.Algebra.MvPolynomial.PDeriv
import Mathlib.Analysis.Complex.Basic
import Mathlib.RingTheory.MvPolynomial.Homogeneous

set_option autoImplicit false
noncomputable section
namespace HodgeComputer.FourPlusTwoResidual
open MvPolynomial
open scoped BigOperators

/-- The four-variable core `H(x₀,x₁,y₀,y₁)` of the four-plus-two sextic
`F = H(X₀,X₁,Y₀,Y₁) + B(X₂,Y₂)`. Variables `0,1,2,3` stand for `X₀,X₁,Y₀,Y₁`. -/
def core : MvPolynomial (Fin 4) ℂ :=
  X 0 ^ 6 + C (5 / 7 : ℂ) * X 0 ^ 5 * X 1 + C (5 / 7 : ℂ) * X 0 ^ 3 * X 1 * X 2 * X 3
    + C (10 / 7 : ℂ) * X 0 * X 1 ^ 5 + C (10 / 7 : ℂ) * X 0 * X 1 * X 2 ^ 3 * X 3 + X 1 ^ 6
    + X 2 ^ 6 + C (5 / 7 : ℂ) * X 2 ^ 5 * X 3 + C (15 / 7 : ℂ) * X 2 * X 3 ^ 5 + X 3 ^ 6

/-- The source `x₀³·y₀³` in the core variables. -/
def coreSource : MvPolynomial (Fin 4) ℂ := X 0 ^ 3 * X 2 ^ 3

/-- A strict twisted certificate on the core: a nonconstant homogeneous denominator `D`
and numerators `N` of one degree more such that the rational field `v = N / D` satisfies
`v(H) - (3/2)·H·div(v) = A`, written after clearing `D²` and the factor `2`. -/
def CoreCertificate (D : MvPolynomial (Fin 4) ℂ) (N : Fin 4 → MvPolynomial (Fin 4) ℂ) : Prop :=
  D ≠ 0 ∧ (∃ k : ℕ, D.IsHomogeneous (k + 1) ∧ ∀ i, (N i).IsHomogeneous (k + 2)) ∧
    2 * coreSource * D ^ 2 - 2 * D * (∑ i, pderiv i core * N i)
      + 3 * core * (D * (∑ i, pderiv i (N i)) - ∑ i, pderiv i D * N i) = 0

end HodgeComputer.FourPlusTwoResidual
Source
Derived from the instance four-plus-two-residual of https://hodge.computer (github.com/hodge-computer/sextics, data/four-plus-two-residual/instance.rec) and the prove2.me definition HodgeComputerFourPlusTwoResidual; the reduction to four variables is proved in the sketch submitted for HodgeComputer.FourPlusTwoResidual.certificate.

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