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.NormalizedLocalFunctions |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Infinitesimal.Neighborhoods |
| 3 | import Mathlib.AlgebraicGeometry.Fiber |
| 4 | import Mathlib.CategoryTheory.Limits.Shapes.Pullback.Pasting |
| 5 | |
| 6 | /-! # Normalized Local Fiber -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.NormalizedLocalFiber.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The initial infinitesimal neighborhood of the actual local normalization family is its actual scheme fiber. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) [IsProper f] (n : f.normalization) |
| 22 | |
| 23 | /-- The zeroth infinitesimal scheme is literally the residue-field fiber, up to the canonical |
| 24 | pullback-pasting isomorphism and the equality m^1 = m. -/ |
| 25 | def normalizedLocalInitialFiberIso : |
| 26 | Infinitesimal.Neighborhoods.Construction.infinitesimalNeighborhood (IsLocalRing.maximalIdeal (f.normalization.presheaf.stalk n)) |
| 27 | (NormalizedLocalFunctions.Construction.normalizedLocalFamily f n) 0 ≅ f.toNormalization.fiber n := by |
| 28 | let R := f.normalization.presheaf.stalk n |
| 29 | let I := IsLocalRing.maximalIdeal R |
| 30 | let e : CommRingCat.of (R ⧸ I ^ (0 + 1)) ≅ f.normalization.residueField n := |
| 31 | (Ideal.quotEquivOfEq (show I ^ (0 + 1) = I by simp)).toCommRingCatIso |
| 32 | let h : Infinitesimal.Neighborhoods.Construction.infinitesimalBase I 0 ⟶ Spec (f.normalization.residueField n) := Spec.map e.inv |
| 33 | have hh : h ≫ Spec.map (f.normalization.residue n) = Infinitesimal.Neighborhoods.Construction.infinitesimalBaseToSpec I 0 := by |
| 34 | change Spec.map e.inv ≫ Spec.map (f.normalization.residue n) = _ |
| 35 | rw [← Spec.map_comp] |
| 36 | congr 1 |
| 37 | have : IsIso h := inferInstanceAs (IsIso (Spec.map e.inv)) |
| 38 | let a : Infinitesimal.Neighborhoods.Construction.infinitesimalNeighborhood I (NormalizedLocalFunctions.Construction.normalizedLocalFamily f n) 0 ⟶ |
| 39 | pullback (NormalizedLocalFunctions.Construction.normalizedLocalFamily f n) (Spec.map (f.normalization.residue n)) := |
| 40 | pullback.map _ _ _ _ (𝟙 _) h (𝟙 _) (by simp) (by simp [hh]) |
| 41 | have : IsIso a := by dsimp [a]; infer_instance |
| 42 | exact asIso a ≪≫ pullbackLeftPullbackSndIso f.toNormalization |
| 43 | (f.normalization.fromSpecStalk n) (Spec.map (f.normalization.residue n)) |
| 44 | |
| 45 | /-- Connectedness of the actual initial infinitesimal scheme gives connectedness of the |
| 46 | actual fiber of the normalization map. -/ |
| 47 | theorem normalized_fiber_connected_of_local_initial_connected |
| 48 | [ConnectedSpace (Infinitesimal.Neighborhoods.Construction.infinitesimalNeighborhood |
| 49 | (IsLocalRing.maximalIdeal (f.normalization.presheaf.stalk n)) (NormalizedLocalFunctions.Construction.normalizedLocalFamily f n) 0)] : |
| 50 | ConnectedSpace (f.toNormalization.fiber n) := by |
| 51 | let e := TopCat.homeoOfIso (Scheme.forgetToTop.mapIso (normalizedLocalInitialFiberIso f n)) |
| 52 | exact e.connectedSpace_iff.mp inferInstance |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.NormalizedLocalFiber.Construction |