Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Endomorphism.PolynomialHeight |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.PolynomialHeightDescent |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Endomorphism.HeightDescent |
| 4 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Endomorphism.GeometricEmbedding |
| 5 | |
| 6 | /-! # Finite Generation -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Endomorphism.FiniteGeneration |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual endomorphism group is finitely generated, and its genuine |
| 13 | rational endomorphism algebra is finite-dimensional. Polynomial-height |
| 14 | descent supplies the geometric bound; faithful base change descends it. -/ |
| 15 | |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 20 | open scoped _root_.CategoryTheory.Obj |
| 21 | |
| 22 | namespace Construction |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | variable {K : Type u} [Field K] |
| 27 | (A : Over (Spec (CommRingCat.of K))) [GrpObj A] [IsCommMonObj A] |
| 28 | [GeometricallyIntegral A.hom] [IsProper A.hom] [Smooth A.hom] |
| 29 | |
| 30 | theorem algebraicEnd_finiteGenerated_of_isAlgClosed [IsAlgClosed K] : AddGroup.FG (Endomorphisms.Construction.AlgebraicEnd A) := by |
| 31 | let D := HilbertDifference.Construction.endomorphismNumericalPresentation A |
| 32 | let H := PolynomialHeight.Construction.endomorphismPolynomialQuadraticHeight A D |
| 33 | let : Field Γ(Spec (CommRingCat.of K), ⊤) := Quotients.FiniteDescent.FieldPoint.Construction.FieldPointPrime.sectionsField K |
| 34 | have : IsIntegral A.left := GeometricallyIntegral.isIntegral_of_subsingleton A.hom |
| 35 | let e := Affine.ProjectiveEmbedding.Construction.projectiveAffineEmbedding A D.projective |
| 36 | let d := (EffectiveHilbertDifference.Construction.lineBundleHilbertPolynomial e (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial A.left) 0).natDegree - 1 |
| 37 | have hd : ∀ f : Endomorphisms.Construction.AlgebraicEnd A, (H.value f).natDegree ≤ d := by |
| 38 | intro f |
| 39 | exact PicardNumericalDegree.Construction.lineBundleHilbertDifference_natDegree_le e (D.bundle.pullback f.toMul.hom.hom.left) 0 |
| 40 | obtain ⟨n, hn, hnK⟩ := HeightDescent.Construction.exists_nonzero_natCast_ge_two K |
| 41 | apply PolynomialQuadratic.Construction.PolynomialQuadraticHeight.finiteGenerated_of_degree_bound d H hd n hn |
| 42 | intro r |
| 43 | exact FiniteReduction.Construction.algebraicEnd_quotient_nsmul_finite A (n ^ r) (by |
| 44 | rw [Nat.cast_pow] |
| 45 | exact pow_ne_zero _ hnK) |
| 46 | |
| 47 | theorem algebraicEnd_finiteGenerated : AddGroup.FG (Endomorphisms.Construction.AlgebraicEnd A) := by |
| 48 | let B := Geometric.Frobenius.Construction.geometricFiberOver K A |
| 49 | have : IsProper B.hom := inferInstanceAs (IsProper (pullback.snd A.hom (Geometric.Frobenius.Construction.algebraicClosureBase K))) |
| 50 | have : Smooth B.hom := inferInstanceAs (Smooth (pullback.snd A.hom (Geometric.Frobenius.Construction.algebraicClosureBase K))) |
| 51 | have : GeometricallyIntegral B.hom := |
| 52 | inferInstanceAs (GeometricallyIntegral (pullback.snd A.hom (Geometric.Frobenius.Construction.algebraicClosureBase K))) |
| 53 | let : Ring (Endomorphisms.Construction.AlgebraicEnd (Geometric.Frobenius.Construction.geometricFiberOver K A)) := Endomorphisms.Construction.algebraicEndRing _ |
| 54 | let : AddMonoid (Endomorphisms.Construction.AlgebraicEnd B) := (Endomorphisms.Construction.algebraicEndRing B).toAddMonoid |
| 55 | have : Module.Finite ℤ (Endomorphisms.Construction.AlgebraicEnd B) := |
| 56 | Module.Finite.iff_addGroup_fg.mpr (algebraicEnd_finiteGenerated_of_isAlgClosed B) |
| 57 | let φ : Endomorphisms.Construction.AlgebraicEnd A →+* Endomorphisms.Construction.AlgebraicEnd B := GeometricEmbedding.Construction.algebraicEndGeometricBaseChange K A |
| 58 | have : Module.Finite ℤ (Endomorphisms.Construction.AlgebraicEnd A) := Module.Finite.of_injective |
| 59 | φ.toIntAlgHom.toLinearMap (GeometricEmbedding.Construction.algebraicEndGeometricBaseChange_injective K A) |
| 60 | exact Module.Finite.iff_addGroup_fg.mp inferInstance |
| 61 | |
| 62 | theorem rationalAlgebraicEnd_finiteDimensional : FiniteDimensional ℚ (Endomorphisms.Construction.RationalAlgebraicEnd A) := by |
| 63 | have : Module.Finite ℤ (Endomorphisms.Construction.AlgebraicEnd A) := Module.Finite.iff_addGroup_fg.mpr (algebraicEnd_finiteGenerated A) |
| 64 | infer_instance |
| 65 | |
| 66 | end Construction |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Endomorphism.FiniteGeneration |