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.Smooth.StandardSmoothCotangent |
| 2 | import Mathlib.RingTheory.Smooth.Flat |
| 3 | import Mathlib.RingTheory.Etale.Kaehler |
| 4 | |
| 5 | /-! # Standard Smooth Localization -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.StandardSmoothLocalization |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Localizing an actual standard smooth chart preserves its formal |
| 12 | smoothness, flatness, and finite free relative differential rank. -/ |
| 13 | |
| 14 | open KaehlerDifferential |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | variable {R P S : Type*} [CommRing R] [CommRing P] [CommRing S] |
| 18 | [Algebra R P] [Algebra R S] [Algebra P S] [IsScalarTower R P S] |
| 19 | [Nontrivial S] (W : Submonoid P) [IsLocalization W S] |
| 20 | (n : ℕ) [Algebra.IsStandardSmoothOfRelativeDimension n R P] |
| 21 | |
| 22 | include W in |
| 23 | theorem standardSmooth_localization_properties : |
| 24 | Algebra.FormallySmooth R S ∧ Module.Flat R S ∧ |
| 25 | Module.Free S Ω[S⁄R] ∧ Module.Finite S Ω[S⁄R] ∧ Module.finrank S Ω[S⁄R] = n := by |
| 26 | have : Nontrivial P := RingHom.domain_nontrivial (algebraMap P S) |
| 27 | have : Algebra.IsStandardSmooth R P := Algebra.IsStandardSmoothOfRelativeDimension.isStandardSmooth n |
| 28 | have : Algebra.FormallyEtale P S := Algebra.FormallyEtale.of_isLocalization W |
| 29 | have : Algebra.FormallySmooth R S := Algebra.FormallySmooth.comp R P S |
| 30 | have : Module.Flat P S := IsLocalization.flat S W |
| 31 | have : Module.Flat R S := Module.Flat.trans R P S |
| 32 | let e := tensorKaehlerEquivOfFormallyEtale R P S |
| 33 | have : Module.Free S Ω[S⁄R] := Module.Free.of_equiv e |
| 34 | have : Module.Finite S Ω[S⁄R] := Module.Finite.of_surjective e.toLinearMap e.surjective |
| 35 | refine ⟨inferInstance, inferInstance, inferInstance, inferInstance, ?_⟩ |
| 36 | have h := e.finrank_eq |
| 37 | rw [Module.finrank_baseChange] at h |
| 38 | exact h.symm.trans (Module.finrank_eq_of_rank_eq |
| 39 | (Algebra.IsStandardSmoothOfRelativeDimension.rank_kaehlerDifferential (R := R) (S := P) n)) |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.RepresentationTheory.Theta.Geometric.StandardSmoothLocalization |