Cayley–Salmon: a smooth cubic surface has exactly lines
OpenCubicSurface27.twenty_seven_linesThe Cayley–Salmon theorem, the capstone of the source: every smooth cubic surface over contains exactly lines.
Precisely, let be a homogeneous cubic form in four variables over whose zero locus is smooth (the Jacobian criterion: at every nonzero point of the affine cone over some partial derivative of is nonzero). Then the set of lines on — the -dimensional linear subspaces of on which vanishes identically — is finite of cardinality :
This is the basic discrete invariant of a cubic surface, anchoring its description as the blowup of at six points and the Weyl-group action on the lines.
Formalization Note. The count is Set.ncard (linesOf F). The theorem quantifies over all smooth cubic forms, with no genericity hypothesis beyond smoothness; it is the source's final Theorem ("If is smooth, then has transverse zeroes. Therefore contains exactly 27 lines").
import Mathlib import Definitions.Def_cubic_surface_27_layer
namespace CubicSurface27
theorem twenty_seven_lines (F : MvPolynomial (Fin 4) ℂ)
(hF : IsCubicForm F) (hsm : IsSmoothCubic F) :
(linesOf F).ncard = 27 := by sorry
end CubicSurface27Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.