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.PELModuli.CMPoints.ArithmeticBaseMaps |
| 2 | |
| 3 | /-! # Arithmetic Coefficient Enlargement -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.ArithmeticCoefficientEnlargement |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Every finite coefficient enlargement of an existing arithmetic ring |
| 10 | maps into a larger localization of the same ring of integers. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | theorem arithmetic_coefficients_localize |
| 15 | {K : Type} [Field K] [NumberField K] {κ : K →+* ℂ} |
| 16 | (B : IntegralModel.Base.ArithmeticBaseExtension K κ) (s : Finset B.extension.carrier) : |
| 17 | letI : Algebra B.R B.extension.carrier := B.toField.toAlgebra |
| 18 | ∃ (D : ℕ) (hD : D ≠ 0) (hdiv : B.denominator ∣ D), |
| 19 | ∃ φ : ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing B.R B.extension.carrier s →+* (B.withDenominator D hD).R, |
| 20 | (B.withDenominator D hD).toField.comp φ = |
| 21 | (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing B.R B.extension.carrier s).val.toRingHom ∧ |
| 22 | φ.comp (algebraMap B.R (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing B.R B.extension.carrier s)) = |
| 23 | ArithmeticBaseMaps.arithmeticEnlargementRingHom B D hD hdiv := by |
| 24 | classical |
| 25 | let : Algebra B.R B.extension.carrier := B.toField.toAlgebra |
| 26 | obtain ⟨D, hD, hdiv, hcoeff⟩ := ArithmeticGeometry.Models.Algebra.Constructions.Foundations.finite_coefficients_in_localized_integers |
| 27 | B.extension.carrier (fun a : s => (a : B.extension.carrier)) B.denominator B.denominator_ne_zero |
| 28 | let B' := B.withDenominator D hD |
| 29 | let r := ArithmeticBaseMaps.arithmeticEnlargementRingHom B D hD hdiv |
| 30 | let : Algebra B.R B'.R := r.toAlgebra |
| 31 | let F : B'.R →ₐ[B.R] B.extension.carrier := { |
| 32 | toRingHom := B'.toField |
| 33 | commutes' a := RingHom.congr_fun (ArithmeticBaseMaps.arithmeticEnlargementRingHom_field B D hD hdiv) a } |
| 34 | have hs : ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing B.R B.extension.carrier s ≤ F.range := by |
| 35 | apply Algebra.adjoin_le |
| 36 | intro a ha |
| 37 | exact hcoeff ⟨a, ha⟩ |
| 38 | let e := AlgEquiv.ofInjective F B'.toField_injective |
| 39 | let φ := e.symm.toAlgHom.comp (Subalgebra.inclusion hs) |
| 40 | refine ⟨D, hD, hdiv, φ.toRingHom, ?_, ?_⟩ |
| 41 | · ext a |
| 42 | change ((e (e.symm (Subalgebra.inclusion hs a))) : B.extension.carrier) = (a : B.extension.carrier) |
| 43 | rw [e.apply_symm_apply] |
| 44 | rfl |
| 45 | · ext a |
| 46 | exact φ.commutes a |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.ArithmeticCoefficientEnlargement |