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 | import Mathlib.RingTheory.Localization.Module |
| 3 | import Mathlib.RingTheory.LocalProperties.Projective |
| 4 | |
| 5 | /-! # Localized Module Free Transport -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.LocalizedModuleFreeTransport.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A local module basis transports to any actual ring and module localization. -/ |
| 12 | |
| 13 | theorem free_of_actual_localization |
| 14 | {R A M N : Type*} [CommRing R] [CommRing A] [Algebra R A] |
| 15 | [AddCommGroup M] [Module R M] [AddCommGroup N] [Module R N] [Module A N] [IsScalarTower R A N] |
| 16 | (S : Submonoid R) [IsLocalization S A] (f : M →ₗ[R] N) [IsLocalizedModule S f] |
| 17 | [Module.Free (Localization S) (LocalizedModule S M)] : Module.Free A N := by |
| 18 | let b := Module.Free.chooseBasis (Localization S) (LocalizedModule S M) |
| 19 | let e := IsLocalization.algEquiv S (Localization S) A |
| 20 | let E : N ≃ₗ[R] (Module.Free.ChooseBasisIndex (Localization S) (LocalizedModule S M) →₀ A) := |
| 21 | (IsLocalizedModule.iso S f).symm.trans |
| 22 | ((b.repr.restrictScalars R).trans (Finsupp.mapRange.linearEquiv e.toLinearEquiv)) |
| 23 | exact Module.Free.of_basis (Module.Basis.ofRepr (E.extendScalarsOfIsLocalization S A)) |
| 24 | |
| 25 | end |
| 26 | |
| 27 | end OAI.AlgebraicGeometry.Resolution.Blowups.LocalizedModuleFreeTransport.Construction |