Cubic forms, smoothness, and lines over
Definitioncubic_surface_27_layerThis file fixes the concrete objects of the mission, over the complex numbers .
A cubic form is a homogeneous polynomial of degree in four variables, represented as an element of MvPolynomial (Fin 4) ℂ; the predicate IsCubicForm F asserts homogeneity of degree . Its zero locus is the cubic surface.
The surface is smooth (IsSmoothCubic F) when the Jacobian criterion holds: for every nonzero vector with , at least one partial derivative is nonzero at . Because is homogeneous, this condition is invariant under scaling , so it is exactly smoothness of the projective surface .
A line on is recorded as a -dimensional linear subspace on which vanishes identically; linesOf F is the set of all such subspaces. The projectivization of each such is a line contained in , and every line on arises uniquely this way, so the cardinality of linesOf F is the number of lines on the surface.
Formalization Note. Homogeneity uses MvPolynomial.IsHomogeneous, partial derivatives use MvPolynomial.pderiv, and dimension uses Module.finrank. These definitions carry no axioms beyond the standard meanings; in particular they do not assume any count of lines.
import Mathlib
namespace CubicSurface27
/-- A cubic form in four variables over ℂ: a homogeneous polynomial of degree 3. -/
def IsCubicForm (F : MvPolynomial (Fin 4) ℂ) : Prop :=
MvPolynomial.IsHomogeneous F 3
/-- Smoothness of the cubic surface V(F) ⊂ ℙ³, via the Jacobian criterion: at every nonzero
point of the affine cone over V(F), some partial derivative of F is nonzero. -/
def IsSmoothCubic (F : MvPolynomial (Fin 4) ℂ) : Prop :=
∀ x : Fin 4 → ℂ, x ≠ 0 → MvPolynomial.eval x F = 0 →
∃ i : Fin 4, MvPolynomial.eval x (MvPolynomial.pderiv i F) ≠ 0
/-- The lines on V(F): the 2-dimensional linear subspaces of ℂ⁴ on which F vanishes
identically. Their projectivizations are exactly the lines contained in the surface. -/
noncomputable def linesOf (F : MvPolynomial (Fin 4) ℂ) : Set (Submodule ℂ (Fin 4 → ℂ)) :=
{W | Module.finrank ℂ W = 2 ∧ ∀ x ∈ W, MvPolynomial.eval x F = 0}
end CubicSurface27Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.