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.FunctionDivisor |
| 2 | |
| 3 | /-! # Rational Parameter Charts -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.RationalParameterCharts |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The two regular affine charts of a projective-line parameter |
| 10 | remain a covering after translating the parameter by a scalar. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | theorem shift (R K : Type*) [CommRing R] [IsLocalRing R] [Field K] [Algebra R K] |
| 15 | (g : K) (hg : g ≠ 0) (a : R) |
| 16 | (h : (∃ u : R, algebraMap R K u = g) ∨ (∃ u : R, algebraMap R K u = g⁻¹)) : |
| 17 | (∃ u : R, algebraMap R K u = g - algebraMap R K a) ∨ |
| 18 | (∃ u : R, algebraMap R K u = (g - algebraMap R K a)⁻¹) := by |
| 19 | rcases h with ⟨b, hb⟩ | ⟨b, hb⟩ |
| 20 | · exact Or.inl ⟨b - a, by rw [map_sub, hb]⟩ |
| 21 | · by_cases hu : IsUnit b |
| 22 | · obtain ⟨v, rfl⟩ := hu |
| 23 | left |
| 24 | refine ⟨(v⁻¹ : Rˣ) - a, ?_⟩ |
| 25 | rw [map_sub, map_units_inv, hb, inv_inv] |
| 26 | · have hnu : a * b ∈ nonunits R := fun hunit => hu (isUnit_of_mul_isUnit_right hunit) |
| 27 | obtain ⟨v, hv⟩ := IsLocalRing.isUnit_one_sub_self_of_mem_nonunits (a * b) hnu |
| 28 | right |
| 29 | refine ⟨b * (v⁻¹ : Rˣ), ?_⟩ |
| 30 | have hvK : algebraMap R K (v : R) = 1 - algebraMap R K a * g⁻¹ := by |
| 31 | rw [hv, map_sub, map_one, map_mul, hb] |
| 32 | have hprod : (g - algebraMap R K a) * algebraMap R K b = algebraMap R K (v : R) := by |
| 33 | rw [hb, hvK, sub_mul, mul_inv_cancel₀ hg] |
| 34 | have he : (g - algebraMap R K a) * algebraMap R K (b * (v⁻¹ : Rˣ)) = 1 := by |
| 35 | rw [map_mul, map_units_inv, ← mul_assoc, hprod, |
| 36 | mul_inv_cancel₀ ((v.isUnit.map (algebraMap R K)).ne_zero)] |
| 37 | exact (inv_eq_of_mul_eq_one_right he).symm |
| 38 | |
| 39 | theorem scalar_shift (Z : Scheme) [IsIntegral Z] (π : Z ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) |
| 40 | (g : Z.functionField) (hg : g ≠ 0) |
| 41 | (h : ∀ x : Z, |
| 42 | (∃ u : Z.presheaf.stalk x, algebraMap (Z.presheaf.stalk x) Z.functionField u = g) ∨ |
| 43 | (∃ u : Z.presheaf.stalk x, algebraMap (Z.presheaf.stalk x) Z.functionField u = g⁻¹)) (a : ℂ) : |
| 44 | letI := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra π |
| 45 | ∀ x : Z, |
| 46 | (∃ u : Z.presheaf.stalk x, algebraMap (Z.presheaf.stalk x) Z.functionField u = |
| 47 | g - algebraMap ℂ Z.functionField a) ∨ |
| 48 | (∃ u : Z.presheaf.stalk x, algebraMap (Z.presheaf.stalk x) Z.functionField u = |
| 49 | (g - algebraMap ℂ Z.functionField a)⁻¹) := by |
| 50 | let := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra π |
| 51 | intro x |
| 52 | let := FunctionDivisor.stalkScalarAlgebra π x |
| 53 | let := FunctionDivisor.stalkScalarTower π x |
| 54 | have hs := shift (Z.presheaf.stalk x) Z.functionField g hg (algebraMap ℂ (Z.presheaf.stalk x) a) (h x) |
| 55 | rwa [← IsScalarTower.algebraMap_apply] at hs |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.RationalParameterCharts |