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.Normalization.Scheme |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Affine.FractionField |
| 3 | import Mathlib.AlgebraicGeometry.ValuativeCriterion |
| 4 | |
| 5 | /-! # Valuative Center Point -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.ValuativeCenterPoint.BundleCycles.ValuativeCenter |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Valuations of the actual function field have centers on a proper |
| 12 | scheme. The lifting diagram uses the given structure morphism and the |
| 13 | literal inclusion of the valuation ring in the function field. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Normalization.Scheme |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {k : Type u} [Field k] {X : Scheme.{u}} [IsIntegral X] |
| 22 | |
| 23 | theorem genericMap_scalar (f : X ⟶ Spec (.of k)) : |
| 24 | Spec.map (CommRingCat.ofHom (Foundations.Scheme.FunctionFieldScalar.functionFieldScalarMap f)) = IntersectionTheory.ProjectionFormula.Normalization.Scheme.genericMap X ≫ f := by |
| 25 | obtain ⟨U, hU, hηU, _⟩ := exists_isAffineOpen_mem_and_subset (TopologicalSpace.Opens.mem_top (genericPoint X)) |
| 26 | let : Nonempty U := ⟨⟨genericPoint X, hηU⟩⟩ |
| 27 | rw [← Foundations.Scheme.FunctionFieldScalar.specSectionScalarMap_germ f U, CommRingCat.ofHom_comp, Spec.map_comp, |
| 28 | Foundations.Scheme.SpecScalarTransport.specSectionScalarMap_fromSpec f U hU, ← Category.assoc] |
| 29 | congr 1 |
| 30 | exact hU.fromSpecStalk_eq_fromSpecStalk hηU |
| 31 | |
| 32 | theorem exists_generic_lift (f : X ⟶ Spec (.of k)) [IsProper f] |
| 33 | (R : Type u) [CommRing R] [IsDomain R] [ValuationRing R] |
| 34 | [Algebra k R] [Algebra R X.functionField] [IsFractionRing R X.functionField] |
| 35 | (hscalar : (algebraMap R X.functionField).comp (algebraMap k R) = Foundations.Scheme.FunctionFieldScalar.functionFieldScalarMap f) : |
| 36 | ∃ i : Spec (.of R) ⟶ X, |
| 37 | Spec.map (CommRingCat.ofHom (algebraMap R X.functionField)) ≫ i = IntersectionTheory.ProjectionFormula.Normalization.Scheme.genericMap X ∧ |
| 38 | i ≫ f = Spec.map (CommRingCat.ofHom (algebraMap k R)) := by |
| 39 | have hp : ValuativeCriterion f := by |
| 40 | have h : IsProper f := inferInstance |
| 41 | rw [IsProper.eq_valuativeCriterion] at h |
| 42 | exact h.1.1.1 |
| 43 | let sq : ValuativeCommSq f := |
| 44 | { R := R |
| 45 | K := X.functionField |
| 46 | i₁ := IntersectionTheory.ProjectionFormula.Normalization.Scheme.genericMap X |
| 47 | i₂ := Spec.map (CommRingCat.ofHom (algebraMap k R)) |
| 48 | commSq := ⟨by |
| 49 | rw [← genericMap_scalar, ← Spec.map_comp] |
| 50 | exact congrArg (fun h : k →+* X.functionField => Spec.map (CommRingCat.ofHom h)) hscalar.symm⟩ } |
| 51 | obtain ⟨i, hi₁, hi₂⟩ := (hp.existence sq).exists_lift |
| 52 | exact ⟨i, hi₁, hi₂⟩ |
| 53 | |
| 54 | theorem lift_genericPoint (R : Type u) [CommRing R] [IsDomain R] |
| 55 | [Algebra R X.functionField] [IsFractionRing R X.functionField] |
| 56 | (i : Spec (.of R) ⟶ X) |
| 57 | (hi : Spec.map (CommRingCat.ofHom (algebraMap R X.functionField)) ≫ i = IntersectionTheory.ProjectionFormula.Normalization.Scheme.genericMap X) : |
| 58 | i (genericPoint (Spec (.of R))) = genericPoint X := by |
| 59 | rw [← Affine.FractionField.BundleCycles.AffineFractionField.genericMap_genericPoint R X.functionField] |
| 60 | change (Spec.map (CommRingCat.ofHom (algebraMap R X.functionField)) ≫ i) _ = _ |
| 61 | rw [hi] |
| 62 | exact IntersectionTheory.ProjectionFormula.Normalization.Scheme.genericMap_apply X _ |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.Divisors.LineBundles.ValuativeCenterPoint.BundleCycles.ValuativeCenter |