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.Divisors.LineBundles.GenericFiberEss |
| 2 | |
| 3 | /-! # Function Unit -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.FunctionUnit.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Algebraic nonzero functions are units in the actual normal stalk. -/ |
| 10 | |
| 11 | theorem algebraic_isUnit_integer (k R L : Type*) [Field k] [CommRing R] [IsDomain R] |
| 12 | [IsIntegrallyClosed R] [Field L] [Algebra k R] [Algebra k L] [Algebra R L] |
| 13 | [IsScalarTower k R L] [IsFractionRing R L] (g : L) (hg : g ≠ 0) (ha : IsAlgebraic k g) : |
| 14 | ∃ a : R, IsUnit a ∧ algebraMap R L a = g := by |
| 15 | obtain ⟨a, ha'⟩ := (isIntegrallyClosed_iff L).mp ‹IsIntegrallyClosed R› ha.isIntegral.tower_top |
| 16 | obtain ⟨b, hb'⟩ := (isIntegrallyClosed_iff L).mp ‹IsIntegrallyClosed R› ha.inv.isIntegral.tower_top |
| 17 | refine ⟨a, IsUnit.of_mul_eq_one b ?_, ha'⟩ |
| 18 | apply IsFractionRing.injective R L |
| 19 | rw [map_mul, ha', hb', mul_inv_cancel₀ hg, map_one] |
| 20 | |
| 21 | end |
| 22 | |
| 23 | end OAI.AlgebraicGeometry.Divisors.LineBundles.FunctionUnit.BundleCycles |