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.NumberTheory.PadicHodge.IntegralComparison.DifferentialBasisNeighborhood |
| 2 | |
| 3 | /-! # Differential Basis Localization -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.DifferentialBasisLocalization.Neighborhood |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The prescribed differential basis on any actual ring of sections |
| 10 | that is the principal determinant localization. -/ |
| 11 | |
| 12 | open _root_.Module |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | universe u v w t |
| 16 | variable {R : Type u} [CommRing R] |
| 17 | {A : Type v} [CommRing A] [Algebra R A] |
| 18 | {ι : Type w} [Fintype ι] [DecidableEq ι] |
| 19 | (b : Basis ι A Ω[A⁄R]) (x : ι → A) |
| 20 | (S : Type t) [CommRing S] [Algebra A S] [Algebra R S] [IsScalarTower R A S] |
| 21 | [IsLocalization.Away (DifferentialBasisNeighborhood.determinant b x) S] |
| 22 | |
| 23 | def differentialEquivAt : S ⊗[A] Ω[A⁄R] ≃ₗ[S] Ω[S⁄R] := by |
| 24 | letI : Algebra.FormallyEtale A S := |
| 25 | Algebra.FormallyEtale.of_isLocalization (Submonoid.powers (DifferentialBasisNeighborhood.determinant b x)) |
| 26 | exact KaehlerDifferential.tensorKaehlerEquivOfFormallyEtale R A S |
| 27 | |
| 28 | def basisAt : Basis ι S Ω[S⁄R] := |
| 29 | (DeterminantBasisNeighborhood.basisOfIsUnitImage b |
| 30 | (fun i => KaehlerDifferential.D R A (x i)) S |
| 31 | (IsLocalization.Away.algebraMap_isUnit (DifferentialBasisNeighborhood.determinant b x))).map |
| 32 | (differentialEquivAt b x S) |
| 33 | |
| 34 | theorem basisAt_apply (i : ι) : |
| 35 | basisAt b x S i = KaehlerDifferential.D R S (algebraMap A S (x i)) := by |
| 36 | rw [basisAt, Basis.map_apply, DeterminantBasisNeighborhood.basisOfIsUnitImage_apply] |
| 37 | change KaehlerDifferential.mapBaseChange R A S |
| 38 | ((1 : S) ⊗ₜ[A] KaehlerDifferential.D R A (x i)) = _ |
| 39 | rw [KaehlerDifferential.mapBaseChange_tmul, one_smul, KaehlerDifferential.map_D] |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.NumberTheory.PadicHodge.IntegralComparison.DifferentialBasisLocalization.Neighborhood |