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.Free |
| 2 | |
| 3 | /-! # Module Freeness Transfer -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Localized.ModuleFreenessTransfer |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Freeness transfers from the standard localized module to any actual |
| 10 | localization of the same module, with its native localized-ring action. -/ |
| 11 | |
| 12 | universe u v w |
| 13 | |
| 14 | theorem free_of_isLocalizedModule_of_free_canonical |
| 15 | {R : Type u} [CommRing R] (S : Submonoid R) |
| 16 | {M : Type v} [AddCommGroup M] [Module R M] |
| 17 | (A : Type w) [CommRing A] [Algebra R A] [IsLocalization S A] |
| 18 | {N : Type*} [AddCommGroup N] [Module R N] [Module A N] [IsScalarTower R A N] |
| 19 | (g : M →ₗ[R] N) [IsLocalizedModule S g] |
| 20 | [Module.Free (Localization S) (LocalizedModule S M)] : Module.Free A N := by |
| 21 | let eA : Localization S ≃ₐ[R] A := IsLocalization.algEquiv S (Localization S) A |
| 22 | let eR : LocalizedModule S M ≃ₗ[R] N := IsLocalizedModule.iso S g |
| 23 | let : RingHomInvPair eA.toRingHom eA.symm.toRingHom := |
| 24 | ⟨by ext r; exact eA.symm_apply_apply r, by ext r; exact eA.apply_symm_apply r⟩ |
| 25 | let : RingHomInvPair eA.symm.toRingHom eA.toRingHom := |
| 26 | ⟨by ext r; exact eA.apply_symm_apply r, by ext r; exact eA.symm_apply_apply r⟩ |
| 27 | let : Module (Localization S) N := Module.compHom N eA.toRingHom |
| 28 | have : IsScalarTower R (Localization S) N := .of_algebraMap_smul fun r n => by |
| 29 | change eA (algebraMap R (Localization S) r) • n = r • n |
| 30 | rw [eA.commutes, IsScalarTower.algebraMap_smul] |
| 31 | let l := eR.toLinearMap.extendScalarsOfIsLocalization S (Localization S) |
| 32 | let e : LocalizedModule S M ≃ₛₗ[eA.toRingHom] N := |
| 33 | { eR.toEquiv with |
| 34 | map_add' := eR.map_add |
| 35 | map_smul' := fun r m => l.map_smul r m } |
| 36 | exact Module.Free.of_equiv (σ' := eA.symm.toRingHom) e |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Localized.ModuleFreenessTransfer |