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.ArithmeticGeometry.Models.CoefficientSystem |
| 2 | |
| 3 | /-! # Integer Base -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.Models.IntegerBase.Constructions.Foundations |
| 6 | |
| 7 | /-! Passage from finite coefficient rings to localized rings of integers. -/ |
| 8 | |
| 9 | open scoped _root_.NumberField nonZeroDivisors |
| 10 | |
| 11 | universe u |
| 12 | |
| 13 | variable (K : Type u) [Field K] [NumberField K] |
| 14 | |
| 15 | theorem integersAwayToField_injective (N : ℕ) (hN : N ≠ 0) : |
| 16 | Function.Injective (Models.Algebra.Constructions.Foundations.integersAwayToField K N hN) := by |
| 17 | apply IsLocalization.injective_of_map_algebraMap_zero |
| 18 | (M := Submonoid.powers (N : 𝓞 K)) |
| 19 | intro a ha |
| 20 | rw [Models.Algebra.Constructions.Foundations.integersAwayToField_algebraMap] at ha |
| 21 | have ha0 : a = 0 := (IsFractionRing.injective (𝓞 K) K) (ha.trans (map_zero _).symm) |
| 22 | rw [ha0, map_zero] |
| 23 | |
| 24 | noncomputable def integersAwayAlgHom (N : ℕ) (hN : N ≠ 0) : |
| 25 | Localization.Away (N : 𝓞 K) →ₐ[𝓞 K] K where |
| 26 | toRingHom := Models.Algebra.Constructions.Foundations.integersAwayToField K N hN |
| 27 | commutes' := Models.Algebra.Constructions.Foundations.integersAwayToField_algebraMap K N hN |
| 28 | |
| 29 | /-- Every finite coefficient ring maps compatibly into a localization of the |
| 30 | ring of integers, with any previously specified denominators also inverted. -/ |
| 31 | theorem finite_coefficient_ring_factors_through_integers |
| 32 | (s : Finset K) (N₀ : ℕ) (hN₀ : N₀ ≠ 0) : |
| 33 | ∃ (N : ℕ) (hN : N ≠ 0), N₀ ∣ N ∧ |
| 34 | ∃ φ : CoefficientSystem.Constructions.Foundations.coefficientRing (𝓞 K) K s →ₐ[𝓞 K] Localization.Away (N : 𝓞 K), |
| 35 | (Models.Algebra.Constructions.Foundations.integersAwayToField K N hN).comp φ.toRingHom = |
| 36 | (CoefficientSystem.Constructions.Foundations.coefficientRing (𝓞 K) K s).val.toRingHom := by |
| 37 | classical |
| 38 | obtain ⟨N, hN, hd, hcoeff⟩ := Models.Algebra.Constructions.Foundations.finite_coefficients_in_localized_integers K |
| 39 | (fun c : s ↦ (c : K)) N₀ hN₀ |
| 40 | let F := integersAwayAlgHom K N hN |
| 41 | have hs : CoefficientSystem.Constructions.Foundations.coefficientRing (𝓞 K) K s ≤ F.range := by |
| 42 | apply Algebra.adjoin_le |
| 43 | intro c hc |
| 44 | exact hcoeff ⟨c, hc⟩ |
| 45 | let e := AlgEquiv.ofInjective F (integersAwayToField_injective K N hN) |
| 46 | let φ := e.symm.toAlgHom.comp (Subalgebra.inclusion hs) |
| 47 | refine ⟨N, hN, hd, φ, ?_⟩ |
| 48 | ext a |
| 49 | change ((e (e.symm (Subalgebra.inclusion hs a))) : K) = (a : K) |
| 50 | rw [e.apply_symm_apply] |
| 51 | rfl |
| 52 | |
| 53 | end OAI.ArithmeticGeometry.Models.IntegerBase.Constructions.Foundations |