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.ClopenNormalization |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.SmoothIntegralComponents |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.ComponentSection |
| 4 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.IntegralSectionIso |
| 5 | |
| 6 | /-! # Smooth To Normalization -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.SmoothToNormalization.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Completion: smoothness of the map to relative normalization |
| 14 | |
| 15 | For a proper smooth family with connected smooth proper total space over |
| 16 | a field, the component containing the diagonal of its self-base-change |
| 17 | normalizes to the total space. Its open immersion into the full |
| 18 | normalization realizes the graph of the normalization map as an open |
| 19 | immersion. The normalization map is therefore smooth. |
| 20 | -/ |
| 21 | |
| 22 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 23 | |
| 24 | set_option backward.defeqAttrib.useBackward true |
| 25 | set_option backward.isDefEq.respectTransparency false |
| 26 | |
| 27 | universe u |
| 28 | |
| 29 | variable (K : Type u) [Field K] {X Y : Scheme.{u}} |
| 30 | (p : X ⟶ Spec (CommRingCat.of K)) [IsProper p] [Smooth p] [ConnectedSpace X] |
| 31 | (f : X ⟶ Y) [IsProper f] [Smooth f] |
| 32 | |
| 33 | /-- The graph of the actual normalization map over the original base. -/ |
| 34 | def normalizationGraph : X ⟶ pullback f.fromNormalization f := |
| 35 | pullback.lift f.toNormalization (𝟙 X) (by simp) |
| 36 | |
| 37 | include K p |
| 38 | |
| 39 | /-- The graph of the actual normalization map is an open immersion after smooth self-base-change. -/ |
| 40 | theorem proper_smooth_normalizationGraph_isOpenImmersion : |
| 41 | IsOpenImmersion (normalizationGraph f) := by |
| 42 | let q := pullback.snd f f |
| 43 | let d := pullback.diagonal f |
| 44 | have : IsNoetherian (pullback f f) := Proper.FiberComponents.Construction.properField_isNoetherian K (q ≫ p) |
| 45 | let x : X := Nonempty.some inferInstance |
| 46 | let U := Proper.FiberComponents.Construction.noetherianComponentOpen (pullback f f) (d x) |
| 47 | have hU : IsClosed (U : Set (pullback f f : Scheme.{u})) := isClosed_connectedComponent |
| 48 | have : IsIntegral U.toScheme := SmoothIntegralComponents.Construction.smooth_noetherian_component_isIntegral K (q ≫ p) (d x) |
| 49 | let t := ComponentSection.Construction.schemeMapToComponent d x |
| 50 | have ht : t ≫ (U.ι ≫ q) = 𝟙 X := |
| 51 | ComponentSection.Construction.schemeMapToComponent_section d x q (pullback.diagonal_snd f) |
| 52 | have : IsIso (U.ι ≫ q).fromNormalization := |
| 53 | IntegralSectionIso.Construction.integralProperFamily_section_fromNormalization_isIso (U.ι ≫ q) t ht |
| 54 | let c := ClopenNormalization.Construction.clopenNormalizationMap q U hU |
| 55 | have : IsOpenImmersion c := ClopenNormalization.Construction.clopenNormalizationMap_isOpenImmersion q U hU |
| 56 | let a : X ⟶ pullback f.fromNormalization f := |
| 57 | inv (U.ι ≫ q).fromNormalization ≫ c ≫ f.normalizationPullback f |
| 58 | have : IsOpenImmersion a := by dsimp [a]; infer_instance |
| 59 | have hi : inv (U.ι ≫ q).fromNormalization = t ≫ (U.ι ≫ q).toNormalization := by |
| 60 | rw [← cancel_mono (U.ι ≫ q).fromNormalization] |
| 61 | simp only [IsIso.inv_hom_id, Category.assoc, Scheme.Hom.toNormalization_fromNormalization, ht] |
| 62 | have ha : a ≫ pullback.fst f.fromNormalization f = f.toNormalization := by |
| 63 | dsimp only [a, c] |
| 64 | rw [hi] |
| 65 | simp only [Category.assoc] |
| 66 | rw [ClopenNormalization.Construction.clopenNormalizationMap_toNormalization_assoc, ← Category.assoc, |
| 67 | ComponentSection.Construction.schemeMapToComponent_ι] |
| 68 | change d ≫ (pullback.snd f f).toNormalization ≫ f.normalizationPullback f ≫ |
| 69 | pullback.fst f.fromNormalization f = f.toNormalization |
| 70 | rw [Scheme.Hom.toNormalization_normalizationPullback_fst, ← Category.assoc, |
| 71 | pullback.diagonal_fst, Category.id_comp] |
| 72 | have has : a ≫ pullback.snd f.fromNormalization f = 𝟙 X := by |
| 73 | dsimp only [a, c] |
| 74 | simp only [Category.assoc, Scheme.Hom.normalizationPullback_snd] |
| 75 | rw [ClopenNormalization.Construction.clopenNormalizationMap_fromNormalization, IsIso.inv_hom_id] |
| 76 | have he : a = normalizationGraph f := by |
| 77 | apply pullback.hom_ext |
| 78 | · simpa only [normalizationGraph, pullback.lift_fst] using ha |
| 79 | · simpa only [normalizationGraph, pullback.lift_snd] using has |
| 80 | rw [← he] |
| 81 | infer_instance |
| 82 | |
| 83 | /-- The map to relative normalization of the actual proper smooth family is smooth. -/ |
| 84 | theorem proper_smooth_toNormalization_smooth : Smooth f.toNormalization := by |
| 85 | have := proper_smooth_normalizationGraph_isOpenImmersion K p f |
| 86 | have he : normalizationGraph f ≫ pullback.fst f.fromNormalization f = f.toNormalization := |
| 87 | pullback.lift_fst _ _ _ |
| 88 | rw [← he] |
| 89 | infer_instance |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.SmoothToNormalization.Construction |