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.DeterminantBasisNeighborhood |
| 2 | import Mathlib.RingTheory.Etale.Kaehler |
| 3 | |
| 4 | /-! # Differential Basis Neighborhood -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.DifferentialBasisNeighborhood |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Prescribed exact differentials form the literal Kähler basis on their |
| 11 | principal determinant neighborhood. A quotient basis ensures that this |
| 12 | neighborhood contains the entire quotient. -/ |
| 13 | |
| 14 | open _root_.Module |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | universe u v w t |
| 18 | variable {R : Type u} [CommRing R] |
| 19 | {A : Type v} [CommRing A] [Algebra R A] |
| 20 | {ι : Type w} [Fintype ι] [DecidableEq ι] |
| 21 | (b : Basis ι A Ω[A⁄R]) (x : ι → A) |
| 22 | |
| 23 | abbrev determinant : A := b.det (fun i => KaehlerDifferential.D R A (x i)) |
| 24 | |
| 25 | abbrev Ring := Localization.Away (determinant b x) |
| 26 | |
| 27 | def differentialEquiv : |
| 28 | Ring b x ⊗[A] Ω[A⁄R] ≃ₗ[Ring b x] Ω[Ring b x⁄R] := by |
| 29 | letI : Algebra.FormallyEtale A (Ring b x) := |
| 30 | Algebra.FormallyEtale.of_isLocalization (Submonoid.powers (determinant b x)) |
| 31 | exact KaehlerDifferential.tensorKaehlerEquivOfFormallyEtale R A (Ring b x) |
| 32 | |
| 33 | def basis : Basis ι (Ring b x) Ω[Ring b x⁄R] := |
| 34 | (DeterminantBasisNeighborhood.localizedBasis b |
| 35 | (fun i => KaehlerDifferential.D R A (x i))).map (differentialEquiv b x) |
| 36 | |
| 37 | theorem basis_apply (i : ι) : |
| 38 | basis b x i = KaehlerDifferential.D R (Ring b x) (algebraMap A (Ring b x) (x i)) := by |
| 39 | rw [basis, Basis.map_apply, DeterminantBasisNeighborhood.localizedBasis_apply] |
| 40 | change KaehlerDifferential.mapBaseChange R A (Ring b x) |
| 41 | ((1 : Ring b x) ⊗ₜ[A] KaehlerDifferential.D R A (x i)) = _ |
| 42 | rw [KaehlerDifferential.mapBaseChange_tmul, one_smul, KaehlerDifferential.map_D] |
| 43 | |
| 44 | variable (Q : Type t) [CommRing Q] [Algebra A Q] |
| 45 | |
| 46 | theorem image_isUnit (c : Basis ι Q (Q ⊗[A] Ω[A⁄R])) |
| 47 | (hc : ∀ i, c i = (1 : Q) ⊗ₜ[A] KaehlerDifferential.D R A (x i)) : |
| 48 | IsUnit (algebraMap A Q (determinant b x)) := |
| 49 | DeterminantBasisNeighborhood.image_isUnit b |
| 50 | (fun i => KaehlerDifferential.D R A (x i)) Q c hc |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.NumberTheory.PadicHodge.IntegralComparison.DifferentialBasisNeighborhood |