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 Mathlib.RingTheory.Localization.Away.Basic |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Tower |
| 3 | import Mathlib.LinearAlgebra.TensorProduct.Basis |
| 4 | |
| 5 | /-! # Localization Free Refinement -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Principal.LocalizationFreeRefinement |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A free base change remains free after refining its principal open. -/ |
| 12 | |
| 13 | open TensorProduct |
| 14 | |
| 15 | universe u v |
| 16 | variable {R : Type u} [CommRing R] |
| 17 | variable (M : Type v) [AddCommGroup M] [Module R M] |
| 18 | |
| 19 | theorem free_baseChange_along_tower |
| 20 | (A C : Type*) [CommRing A] [CommRing C] [Algebra R A] [Algebra R C] |
| 21 | [Algebra A C] [IsScalarTower R A C] [Module.Free A (A ⊗[R] M)] : |
| 22 | Module.Free C (C ⊗[R] M) := by |
| 23 | let : Module.Free C (C ⊗[A] (A ⊗[R] M)) := inferInstance |
| 24 | exact Module.Free.of_equiv (AlgebraTensorModule.cancelBaseChange R A C C M) |
| 25 | |
| 26 | theorem principalLocalization_free_refinement (s t : R) (hst : s ∣ t) |
| 27 | [Module.Free (Localization.Away s) (Localization.Away s ⊗[R] M)] : |
| 28 | Module.Free (Localization.Away t) (Localization.Away t ⊗[R] M) := by |
| 29 | let A := Localization.Away s |
| 30 | let C := Localization.Away t |
| 31 | have ht : IsUnit (algebraMap R C s) := IsLocalization.Away.isUnit_of_dvd t hst |
| 32 | let φ : A →+* C := IsLocalization.Away.lift s ht |
| 33 | let : Algebra A C := φ.toAlgebra |
| 34 | let : IsScalarTower R A C := IsScalarTower.of_algebraMap_eq |
| 35 | (fun r => (IsLocalization.Away.lift_eq s ht r).symm) |
| 36 | exact free_baseChange_along_tower M A C |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Principal.LocalizationFreeRefinement |