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.DVRPencilPoles |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PositiveCycle |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.FunctionDivisor |
| 4 | |
| 5 | /-! # Scheme Pencil Poles -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SchemePencilPoles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The polar cycle of a rational pencil is unchanged by subtracting |
| 12 | a regular function, in particular any scalar parameter. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PositiveCycle OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.DivisorNorm |
| 19 | |
| 20 | theorem poles_sub (Z : Scheme) [IsIntegral Z] [AlgebraicGeometry.IsNoetherian Z] |
| 21 | (hNormal : ∀ x : Z, IsIntegrallyClosed (Z.presheaf.stalk x)) |
| 22 | (g a : Z.functionField) (hg : g ≠ 0) (hga : g - a ≠ 0) |
| 23 | (ha : ∀ x : Z, Order.coheight x = 1 → |
| 24 | ∃ u : Z.presheaf.stalk x, algebraMap (Z.presheaf.stalk x) Z.functionField u = a) : |
| 25 | PositiveCycle.positivePart (Affine.DivisorNorm.rationalPrincipalDivisor Z (g - a)⁻¹) = PositiveCycle.positivePart (Affine.DivisorNorm.rationalPrincipalDivisor Z g⁻¹) := by |
| 26 | apply Finsupp.ext |
| 27 | intro x |
| 28 | rw [PositiveCycle.positivePart_apply, PositiveCycle.positivePart_apply, Affine.DivisorNorm.rationalPrincipalDivisor_apply, Affine.DivisorNorm.rationalPrincipalDivisor_apply, |
| 29 | Principal.DivisorInverse.ord_inv, Principal.DivisorInverse.ord_inv, Int.cast_neg, Int.cast_neg] |
| 30 | by_cases hx : Order.coheight x = 1 |
| 31 | · let := hNormal x |
| 32 | let := PositiveOrder.stalk_isDVR x hx |
| 33 | obtain ⟨u, hu⟩ := ha x hx |
| 34 | have hgu : g - algebraMap (Z.presheaf.stalk x) Z.functionField u ≠ 0 := by rwa [hu] |
| 35 | have h := DVRPencilPoles.negative_part_sub (Z.presheaf.stalk x) Z.functionField g hg u hgu |
| 36 | rw [hu] at h |
| 37 | rw [Scheme.ord_eq_ordHom_of_coheight_eq_one hx, Scheme.ord_eq_ordHom_of_coheight_eq_one hx] |
| 38 | change max (-((WithZero.log (Ring.ordFrac (Z.presheaf.stalk x) (g - a)) : ℤ) : ℚ)) 0 = |
| 39 | max (-((WithZero.log (Ring.ordFrac (Z.presheaf.stalk x) g) : ℤ) : ℚ)) 0 |
| 40 | exact_mod_cast h |
| 41 | · rw [Scheme.ord_eq_zero_of_coheight_neq_one hx, Scheme.ord_eq_zero_of_coheight_neq_one hx] |
| 42 | |
| 43 | theorem poles_sub_scalar (Z : Scheme) [IsIntegral Z] [AlgebraicGeometry.IsNoetherian Z] |
| 44 | (π : Z ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (hNormal : ∀ x : Z, IsIntegrallyClosed (Z.presheaf.stalk x)) |
| 45 | (g : Z.functionField) (hg : g ≠ 0) (a : ℂ) : |
| 46 | letI := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra π |
| 47 | g - algebraMap ℂ Z.functionField a ≠ 0 → |
| 48 | PositiveCycle.positivePart (Affine.DivisorNorm.rationalPrincipalDivisor Z (g - algebraMap ℂ Z.functionField a)⁻¹) = |
| 49 | PositiveCycle.positivePart (Affine.DivisorNorm.rationalPrincipalDivisor Z g⁻¹) := by |
| 50 | let := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra π |
| 51 | intro hga |
| 52 | apply poles_sub Z hNormal g _ hg hga |
| 53 | intro x _ |
| 54 | let := FunctionDivisor.stalkScalarAlgebra π x |
| 55 | let := FunctionDivisor.stalkScalarTower π x |
| 56 | exact ⟨algebraMap ℂ (Z.presheaf.stalk x) a, |
| 57 | (IsScalarTower.algebraMap_apply ℂ (Z.presheaf.stalk x) Z.functionField a).symm⟩ |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SchemePencilPoles |