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.FormalGeometry.Completion.Finite.GroupHomFlat |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Geometric.MapBaseChange |
| 3 | |
| 4 | /-! # Frobenius Flat -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Geometric.FrobeniusFlat.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Flatness of the actual geometric Frobenius follows from its group law and finiteness. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.Obj |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable (k : Type u) [Field k] [Fintype k] |
| 21 | (A : Over (Spec (CommRingCat.of k))) [GrpObj A] [Smooth A.hom] |
| 22 | |
| 23 | /-- The literal geometric Frobenius is flat, proved by generic freeness and actual translations. -/ |
| 24 | theorem geometricSchemeFrobenius_flat : Flat (Frobenius.Construction.geometricSchemeFrobenius k A) := by |
| 25 | let B := Frobenius.Construction.geometricFiberOver k A |
| 26 | let f : B ⟶ B := (Over.pullback (Frobenius.Construction.algebraicClosureBase k)).map (Frobenius.Construction.finiteFieldSchemeFrobenius k A) |
| 27 | have : Smooth B.hom := inferInstanceAs (Smooth (pullback.snd A.hom (Frobenius.Construction.algebraicClosureBase k))) |
| 28 | have : IsFinite f.left := MapBaseChange.Construction.geometricSchemeFrobenius_finite k A |
| 29 | have : Surjective f.left := MapBaseChange.Construction.geometricSchemeFrobenius_surjective k A |
| 30 | exact Finite.GroupHomFlat.Construction.finite_surjective_groupHom_flat f |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Geometric.FrobeniusFlat.Construction |