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.IntersectionTheory.ProjectionFormula.Projective.ParameterGerms |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.FormStalkComparison |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.NonunitParameterShift |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.InverseDivisorSupport |
| 5 | |
| 6 | /-! # Parameter Infinity -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.ParameterInfinity |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Scalar translates of a dominant projective-line parameter have |
| 13 | no positive divisor at points outside its finite coordinate chart. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | |
| 20 | variable {Z : Scheme} [IsIntegral Z] (t : Z ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace 1) |
| 21 | (hη : t (genericPoint Z) = genericPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpace 1)) |
| 22 | |
| 23 | omit [IsIntegral Z] in |
| 24 | theorem other_chart (x : Z) (hx : t x ∉ Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen 1 0) : |
| 25 | t x ∈ Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen 1 1 := by |
| 26 | obtain ⟨i, hi⟩ := Foundations.Scheme.ProjectiveCoordinateCover.exists_mem_projectiveCoordinateOpen 1 (t x) |
| 27 | fin_cases i |
| 28 | · exact (hx hi).elim |
| 29 | · exact hi |
| 30 | |
| 31 | def inverseGerm (x : Z) (hx : t x ∉ Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen 1 0) : Z.presheaf.stalk x := |
| 32 | t.stalkMap x (PointJets.StalkFractions.fraction 1 (t x) |
| 33 | (LineParameter.RationalFractions.coordinate 1 0) |
| 34 | (LineParameter.RationalFractions.coordinate 1 1) (other_chart t x hx)) |
| 35 | |
| 36 | theorem inverseGerm_field (x : Z) (hx : t x ∉ Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen 1 0) : |
| 37 | algebraMap (Z.presheaf.stalk x) Z.functionField (inverseGerm t x hx) = |
| 38 | (LineParameter.pullback t hη)⁻¹ := by |
| 39 | rw [inverseGerm, ← Divisor.DivisorRestriction.genericFieldMap_stalk t hη x, |
| 40 | LineParameter.RationalFractions.fraction_field] |
| 41 | change Cycles.Functoriality.FunctionFields.Construction.genericFieldMap t hη (LineParameter.RationalFractions.ratio 1 0 1) = _ |
| 42 | rw [LineParameter.RationalFractions.ratio_reverse 1 1 0, map_inv₀] |
| 43 | rfl |
| 44 | |
| 45 | omit [IsIntegral Z] in |
| 46 | theorem inverseGerm_nonunit (x : Z) (hx : t x ∉ Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen 1 0) : |
| 47 | ¬ IsUnit (inverseGerm t x hx) := by |
| 48 | rw [inverseGerm, isUnit_map_iff (t.stalkMap x).hom, FormStalkComparison.ProjectiveFractionUnits.fraction] |
| 49 | exact hx |
| 50 | |
| 51 | theorem shifted_inverse (x : Z) (hx : t x ∉ Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen 1 0) (a : ℂ) : |
| 52 | letI := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra (t ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) |
| 53 | ∃ u : Z.presheaf.stalk x, algebraMap (Z.presheaf.stalk x) Z.functionField u = |
| 54 | (LineParameter.pullback t hη - algebraMap ℂ Z.functionField a)⁻¹ := by |
| 55 | let := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra (t ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) |
| 56 | let := FunctionDivisor.stalkScalarAlgebra (t ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) x |
| 57 | let := FunctionDivisor.stalkScalarTower (t ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) x |
| 58 | have hg : LineParameter.pullback t hη ≠ 0 := by |
| 59 | intro he |
| 60 | have ht := ParameterGerms.Pencil.transcendental t hη |
| 61 | rw [he] at ht |
| 62 | exact ht isAlgebraic_zero |
| 63 | have h := NonunitParameterShift.inverse (Z.presheaf.stalk x) Z.functionField |
| 64 | (LineParameter.pullback t hη) hg (algebraMap ℂ (Z.presheaf.stalk x) a) |
| 65 | (inverseGerm t x hx) (inverseGerm_field t hη x hx) (inverseGerm_nonunit t x hx) |
| 66 | rwa [← IsScalarTower.algebraMap_apply] at h |
| 67 | |
| 68 | theorem positive_zero [AlgebraicGeometry.IsNoetherian Z] |
| 69 | (x : Z) (hx : t x ∉ Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen 1 0) (a : ℂ) : |
| 70 | letI := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra (t ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) |
| 71 | PositiveCycle.positivePart (Affine.DivisorNorm.rationalPrincipalDivisor Z |
| 72 | (LineParameter.pullback t hη - algebraMap ℂ Z.functionField a)) x = 0 := by |
| 73 | let := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra (t ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) |
| 74 | obtain ⟨u, hu⟩ := shifted_inverse t hη x hx a |
| 75 | by_contra hn |
| 76 | exact InverseDivisorSupport.positive_avoids Z x u _ hu x |
| 77 | (Finsupp.mem_support_iff.mpr hn) (specializes_refl x) |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.ParameterInfinity |