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.GroundNumericalPresentation |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Endomorphism.HilbertSimilitude |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Endomorphism.PolynomialHeight |
| 4 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Geometric.FrobeniusUnit |
| 5 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Geometric.FrobeniusLineBundle |
| 6 | |
| 7 | /-! # Intrinsic Frobenius Polynomial Height -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The actual polynomial height on ground-field endomorphisms has |
| 14 | Frobenius-stable degree and q-scaling on every highest coefficient. -/ |
| 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 TensorProduct |
| 21 | |
| 22 | universe u v |
| 23 | |
| 24 | def PolynomialQuadratic.Construction.PolynomialQuadraticHeight.comap {G : Type u} {H : Type v} [AddCommGroup G] [AddCommGroup H] |
| 25 | (q : PolynomialQuadratic.Construction.PolynomialQuadraticHeight H) (f : G →+ H) (hf : Function.Injective f) : |
| 26 | PolynomialQuadratic.Construction.PolynomialQuadraticHeight G where |
| 27 | value x := q.value (f x) |
| 28 | zero := by rw [map_zero, q.zero] |
| 29 | detectsZero x hx := hf (by rw [q.detectsZero (f x) hx, map_zero]) |
| 30 | positive x hx := q.positive (f x) (fun h => hx (hf (h.trans f.map_zero.symm))) |
| 31 | integer_values x := q.integer_values (f x) |
| 32 | coeff_parallelogram d x y hx hy hxy := by |
| 33 | simpa only [map_add, map_sub] using q.coeff_parallelogram d (f x) (f y) hx hy |
| 34 | (by simpa only [map_add] using hxy) |
| 35 | |
| 36 | variable (k : Type u) [Field k] [Fintype k] |
| 37 | (A : Over (Spec (CommRingCat.of k))) [GrpObj A] [IsCommMonObj A] |
| 38 | [Smooth A.hom] [IsProper A.hom] [GeometricallyIntegral A.hom] |
| 39 | |
| 40 | attribute [local instance] Geometric.FrobeniusUnit.Construction.geometricEndRing Geometric.FrobeniusUnit.Construction.geometricEndAddCommGroup |
| 41 | |
| 42 | local instance IntrinsicFrobeniusPolynomialHeight.Construction.nativeHeightGeometricProper : IsProper (Geometric.Frobenius.Construction.geometricFiberOver k A).hom := |
| 43 | inferInstanceAs (IsProper (pullback.snd A.hom (Geometric.Frobenius.Construction.algebraicClosureBase k))) |
| 44 | |
| 45 | local instance IntrinsicFrobeniusPolynomialHeight.Construction.nativeHeightGeometricSmooth : Smooth (Geometric.Frobenius.Construction.geometricFiberOver k A).hom := |
| 46 | inferInstanceAs (Smooth (pullback.snd A.hom (Geometric.Frobenius.Construction.algebraicClosureBase k))) |
| 47 | |
| 48 | local instance IntrinsicFrobeniusPolynomialHeight.Construction.nativeHeightGeometricIntegral : GeometricallyIntegral (Geometric.Frobenius.Construction.geometricFiberOver k A).hom := |
| 49 | inferInstanceAs (GeometricallyIntegral (pullback.snd A.hom (Geometric.Frobenius.Construction.algebraicClosureBase k))) |
| 50 | |
| 51 | def IntrinsicFrobeniusPolynomialHeight.Construction.nativeEndomorphismPolynomialHeight : PolynomialQuadratic.Construction.PolynomialQuadraticHeight (Endomorphisms.Construction.AlgebraicEnd A) := |
| 52 | (Endomorphism.PolynomialHeight.Construction.endomorphismPolynomialQuadraticHeight (Geometric.Frobenius.Construction.geometricFiberOver k A) (GroundNumericalPresentation.Construction.groundGeometricNumericalPresentation k A)).comap |
| 53 | (Endomorphism.GeometricEmbedding.Construction.algebraicEndGeometricBaseChange k A).toAddMonoidHom (Endomorphism.GeometricEmbedding.Construction.algebraicEndGeometricBaseChange_injective k A) |
| 54 | |
| 55 | def IntrinsicFrobeniusPolynomialHeight.Construction.groundNumericalFrobeniusLineIso : |
| 56 | (((GroundNumericalPresentation.Construction.groundGeometricNumericalPresentation k A).bundle).pullback |
| 57 | (Endomorphism.GeometricEmbedding.Construction.algebraicEndGeometricBaseChange k A (Endomorphisms.Construction.algebraicFrobenius k A)).toMul.hom.hom.left).sheaf ≅ |
| 58 | ((GroundNumericalPresentation.Construction.groundGeometricNumericalPresentation k A).bundle.tensorPower (Fintype.card k)).sheaf := |
| 59 | Geometric.FrobeniusLineBundle.Construction.geometricFrobeniusLineBundleIso k A (GroundNumericalPresentation.Construction.groundGeometricAmpleBundle k A).bundle |
| 60 | |
| 61 | theorem IntrinsicFrobeniusPolynomialHeight.Construction.nativeEndomorphismPolynomialHeight_frobenius_coeff |
| 62 | (g : Endomorphisms.Construction.AlgebraicEnd A) (d : ℕ) |
| 63 | (hd : ((IntrinsicFrobeniusPolynomialHeight.Construction.nativeEndomorphismPolynomialHeight k A).value g).natDegree ≤ d) : |
| 64 | ((IntrinsicFrobeniusPolynomialHeight.Construction.nativeEndomorphismPolynomialHeight k A).value (Endomorphisms.Construction.algebraicFrobenius k A * g)).coeff d = |
| 65 | (Fintype.card k : ℚ) * ((IntrinsicFrobeniusPolynomialHeight.Construction.nativeEndomorphismPolynomialHeight k A).value g).coeff d := by |
| 66 | change (Endomorphism.HilbertDifference.Construction.endomorphismHilbertDifference (Geometric.Frobenius.Construction.geometricFiberOver k A) (GroundNumericalPresentation.Construction.groundGeometricNumericalPresentation k A) |
| 67 | (Endomorphism.GeometricEmbedding.Construction.algebraicEndGeometricBaseChange k A (Endomorphisms.Construction.algebraicFrobenius k A * g))).coeff d = _ |
| 68 | rw [map_mul] |
| 69 | exact Endomorphism.HilbertSimilitude.Construction.endomorphismHilbertDifference_mul_coeff (Geometric.Frobenius.Construction.geometricFiberOver k A) |
| 70 | (GroundNumericalPresentation.Construction.groundGeometricNumericalPresentation k A) _ (Fintype.card k) (IntrinsicFrobeniusPolynomialHeight.Construction.groundNumericalFrobeniusLineIso k A) |
| 71 | (Endomorphism.GeometricEmbedding.Construction.algebraicEndGeometricBaseChange k A g) d hd |
| 72 | |
| 73 | theorem IntrinsicFrobeniusPolynomialHeight.Construction.nativeEndomorphismPolynomialHeight_frobenius_degree_le (g : Endomorphisms.Construction.AlgebraicEnd A) : |
| 74 | ((IntrinsicFrobeniusPolynomialHeight.Construction.nativeEndomorphismPolynomialHeight k A).value (Endomorphisms.Construction.algebraicFrobenius k A * g)).natDegree ≤ |
| 75 | ((IntrinsicFrobeniusPolynomialHeight.Construction.nativeEndomorphismPolynomialHeight k A).value g).natDegree := by |
| 76 | apply Polynomial.natDegree_le_iff_coeff_eq_zero.mpr |
| 77 | intro d hd |
| 78 | rw [IntrinsicFrobeniusPolynomialHeight.Construction.nativeEndomorphismPolynomialHeight_frobenius_coeff k A g d hd.le, |
| 79 | Polynomial.coeff_eq_zero_of_natDegree_lt hd, mul_zero] |
| 80 | |
| 81 | omit [Fintype k] in |
| 82 | theorem IntrinsicFrobeniusPolynomialHeight.Construction.nativeEndomorphismPolynomialHeight_degree_bounded : |
| 83 | ∃ d : ℕ, ∀ g, ((IntrinsicFrobeniusPolynomialHeight.Construction.nativeEndomorphismPolynomialHeight k A).value g).natDegree ≤ d := by |
| 84 | let B := Geometric.Frobenius.Construction.geometricFiberOver k A |
| 85 | let D := GroundNumericalPresentation.Construction.groundGeometricNumericalPresentation k A |
| 86 | let : Field Γ(Spec (CommRingCat.of (AlgebraicClosure k)), ⊤) := Quotients.FiniteDescent.FieldPoint.Construction.FieldPointPrime.sectionsField _ |
| 87 | have : IsIntegral B.left := GeometricallyIntegral.isIntegral_of_subsingleton B.hom |
| 88 | let e := Affine.ProjectiveEmbedding.Construction.projectiveAffineEmbedding B D.projective |
| 89 | refine ⟨(EffectiveHilbertDifference.Construction.lineBundleHilbertPolynomial e (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial B.left) 0).natDegree - 1, fun g => ?_⟩ |
| 90 | exact PicardNumericalDegree.Construction.lineBundleHilbertDifference_natDegree_le e |
| 91 | (D.bundle.pullback (Endomorphism.GeometricEmbedding.Construction.algebraicEndGeometricBaseChange k A g).toMul.hom.hom.left) 0 |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.FormalGeometry.Completion |