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.ParameterInfinity |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Open.SupportClosure |
| 3 | |
| 4 | /-! # Parameter Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.ParameterRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A projective parameter restricts through the actual generic-stalk |
| 11 | field map, and its positive fiber coefficients agree on every open chart. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | variable {Y Z : Scheme} [IsIntegral Y] [IsIntegral Z] |
| 19 | (i : Y ⟶ Z) [IsOpenImmersion i] (t : Z ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace 1) |
| 20 | (hη : t (genericPoint Z) = genericPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpace 1)) |
| 21 | |
| 22 | include hη in |
| 23 | theorem generic : (i ≫ t) (genericPoint Y) = genericPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpace 1) := |
| 24 | (congrArg t (genericPoint_eq_of_isOpenImmersion i)).trans hη |
| 25 | |
| 26 | theorem field : Divisor.DivisorRestriction.openFieldMap i (LineParameter.pullback t hη) = |
| 27 | LineParameter.pullback (i ≫ t) (generic i t hη) := by |
| 28 | unfold LineParameter.pullback Divisor.DivisorRestriction.openFieldMap |
| 29 | rw [Generic.Fields.genericFieldMap_comp i t (genericPoint_eq_of_isOpenImmersion i) hη] |
| 30 | rfl |
| 31 | |
| 32 | theorem shifted_field (a : ℂ) : |
| 33 | letI := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra (t ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) |
| 34 | letI := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra ((i ≫ t) ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) |
| 35 | Divisor.DivisorRestriction.openFieldMap i |
| 36 | (LineParameter.pullback t hη - algebraMap ℂ Z.functionField a) = |
| 37 | LineParameter.pullback (i ≫ t) (generic i t hη) - |
| 38 | algebraMap ℂ Y.functionField a := by |
| 39 | let := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra (t ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) |
| 40 | let := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra ((i ≫ t) ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) |
| 41 | rw [map_sub, field] |
| 42 | congr 1 |
| 43 | change (Cycles.Functoriality.FunctionFields.Construction.genericFieldMap i (genericPoint_eq_of_isOpenImmersion i)).hom |
| 44 | (Foundations.Scheme.FunctionFieldScalar.functionFieldScalarMap (t ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) a) = |
| 45 | Foundations.Scheme.FunctionFieldScalar.functionFieldScalarMap ((i ≫ t) ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) a |
| 46 | rw [Category.assoc] |
| 47 | exact DFunLike.congr_fun (Cycles.Functoriality.FunctionFields.Construction.genericFieldMap_scalar i |
| 48 | (genericPoint_eq_of_isOpenImmersion i) (t ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1)) a |
| 49 | |
| 50 | theorem order [IsLocallyNoetherian Y] [IsLocallyNoetherian Z] (a : ℂ) (y : Y) : |
| 51 | letI := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra (t ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) |
| 52 | letI := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra ((i ≫ t) ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) |
| 53 | Y.ord (LineParameter.pullback (i ≫ t) (generic i t hη) - |
| 54 | algebraMap ℂ Y.functionField a) y = |
| 55 | Z.ord (LineParameter.pullback t hη - algebraMap ℂ Z.functionField a) (i y) := by |
| 56 | let := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra (t ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) |
| 57 | let := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra ((i ≫ t) ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) |
| 58 | rw [← shifted_field i t hη a] |
| 59 | exact Divisor.DivisorRestriction.ord_openImmersion i _ y |
| 60 | |
| 61 | theorem positive [AlgebraicGeometry.IsNoetherian Y] [AlgebraicGeometry.IsNoetherian Z] |
| 62 | (a : ℂ) (y : Y) : |
| 63 | letI := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra (t ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) |
| 64 | letI := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra ((i ≫ t) ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) |
| 65 | PositiveCycle.positivePart (Affine.DivisorNorm.rationalPrincipalDivisor Y |
| 66 | (LineParameter.pullback (i ≫ t) (generic i t hη) - |
| 67 | algebraMap ℂ Y.functionField a)) y = |
| 68 | PositiveCycle.positivePart (Affine.DivisorNorm.rationalPrincipalDivisor Z |
| 69 | (LineParameter.pullback t hη - algebraMap ℂ Z.functionField a)) (i y) := by |
| 70 | let := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra (t ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) |
| 71 | let := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra ((i ≫ t) ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) |
| 72 | simp only [PositiveCycle.positivePart_apply, Affine.DivisorNorm.rationalPrincipalDivisor_apply, |
| 73 | order i t hη a y] |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.ParameterRestriction |