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.AlgebraicGeometry.AbelianScheme.TorsionQuotient.Power |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterTorsionFactor |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Etale |
| 4 | |
| 5 | /-! # Killed Group Etale -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.KilledGroupEtale.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A flat group of finite presentation killed by an invertible integer |
| 12 | is etale. This applies to the actual Cartier representative over arbitrary |
| 13 | bases, with no reducedness or Noetherian hypothesis. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterTorsionFactor.Construction.Schemes |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | theorem flatGroup_etale_of_killed {S : Scheme.{u}} (G : Over S) |
| 23 | [GrpObj G] [IsCommMonObj G] [Flat G.hom] [LocallyOfFinitePresentation G.hom] |
| 24 | (n : ℕ) (hn : ∀ s : S, IsUnit (n : S.presheaf.stalk s)) |
| 25 | (hkill : (𝟙 G : G ⟶ G) ^ n = 1) : Etale G.hom := by |
| 26 | have hp := TorsionQuotient.Power.PowerGeometry.power_formallyUnramified G n hn |
| 27 | have he : ((𝟙 G : G ⟶ G) ^ n).left = G.hom ≫ η[G].left := |
| 28 | congrArg (fun a : G ⟶ G => a.left) hkill |
| 29 | have : FormallyUnramified (G.hom ≫ η[G].left) := he ▸ hp |
| 30 | have : FormallyUnramified G.hom := FormallyUnramified.of_comp G.hom η[G].left |
| 31 | exact Etale.of_formallyUnramified_of_flat G.hom |
| 32 | |
| 33 | theorem cartierRepresentative_etale_of_killed {S : Scheme.{u}} (G : Grp (Over S)) |
| 34 | (C : CartierDuality.GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation S G) (n : ℕ) |
| 35 | (hn : ∀ s : S, IsUnit (n : S.presheaf.stalk s)) |
| 36 | (hkill : ∀ (T : Over S) (x : T ⟶ G.X), x ^ n = 1) : Etale C.dual.X.hom := by |
| 37 | have : IsCommMonObj C.dual.X := C.commutative |
| 38 | have : Flat C.dual.X.hom := C.flat |
| 39 | have : LocallyOfFinitePresentation C.dual.X.hom := C.finitelyPresented |
| 40 | apply flatGroup_etale_of_killed C.dual.X n hn |
| 41 | apply (C.sectionEquiv C.dual.X).injective |
| 42 | rw [map_pow, map_one] |
| 43 | exact CartierDuality.CharacterTorsionFactor.Construction.Schemes.characterSection_pow_eq_one G n hkill C.dual.X _ |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.KilledGroupEtale.Construction |