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.Albanese.Construction.EtaleGeneric |
| 2 | import Mathlib.AlgebraicGeometry.ZariskisMainTheorem |
| 3 | |
| 4 | /-! # Etale Mono -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Albanese.Construction.EtaleMono |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false in |
| 13 | /-- For an étale map from a smooth separated complex scheme, injectivity on |
| 14 | complex points implies categorical monomorphism. The pullback is reduced, |
| 15 | so its two projections can be compared on complex points. -/ |
| 16 | theorem etale_mono_of_point_injective (X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase) |
| 17 | [Smooth X.hom] [IsSeparated X.hom] (f : X ⟶ Y) [Etale f.left] |
| 18 | (hinj : Function.Injective (fun p : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ X => p ≫ f)) : |
| 19 | Mono f.left := by |
| 20 | let P : Over Foundations.Scheme.ProjectiveSpace.complexBase := Over.mk (pullback.fst f.left f.left ≫ X.hom) |
| 21 | have hbase : pullback.snd f.left f.left ≫ X.hom = pullback.fst f.left f.left ≫ X.hom := by |
| 22 | rw [← f.w, ← Category.assoc, ← Category.assoc, pullback.condition] |
| 23 | let p₁ : P ⟶ X := Over.homMk (pullback.fst f.left f.left) rfl |
| 24 | let p₂ : P ⟶ X := Over.homMk (pullback.snd f.left f.left) hbase |
| 25 | have : Smooth P.hom := by dsimp [P]; infer_instance |
| 26 | have : IsReduced P.left := Foundations.Scheme.SmoothProjectiveDecomposition.smoothScheme_isReduced P.hom |
| 27 | have hproj : p₁ ≫ f = p₂ ≫ f := by |
| 28 | apply Over.OverMorphism.ext |
| 29 | exact pullback.condition |
| 30 | have hp : p₁ = p₂ := by |
| 31 | apply ClosedPoints.hom_ext_of_points P X p₁ p₂ |
| 32 | intro p |
| 33 | apply hinj |
| 34 | simpa only [Category.assoc] using congrArg (fun k => p ≫ k) hproj |
| 35 | have hp' : pullback.fst f.left f.left = pullback.snd f.left f.left := congrArg Over.Hom.left hp |
| 36 | refine ⟨fun {Z} g h heq => ?_⟩ |
| 37 | calc |
| 38 | g = pullback.lift g h heq ≫ pullback.fst f.left f.left := by simp |
| 39 | _ = pullback.lift g h heq ≫ pullback.snd f.left f.left := by rw [hp'] |
| 40 | _ = h := by simp |
| 41 | |
| 42 | /-- An étale surjection between complex abelian varieties which is injective |
| 43 | on complex points is an isomorphism of the actual schemes over the base. -/ |
| 44 | theorem abelian_etale_isIso_of_point_injective (A B : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 45 | (f : A.toOver ⟶ B.toOver) [Etale f.left] [Surjective f.left] |
| 46 | (hinj : Function.Injective (fun p : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ A.toOver => p ≫ f)) : |
| 47 | IsIso f := by |
| 48 | have : Smooth A.toOver.hom := A.variety.presentation.smooth |
| 49 | have : IsProper A.toOver.hom := A.variety.presentation.projective.isProper |
| 50 | have : IsProper B.toOver.hom := B.variety.presentation.projective.isProper |
| 51 | have : IsProper (f.left ≫ B.toOver.hom) := by rw [f.w]; infer_instance |
| 52 | have : IsProper f.left := IsProper.of_comp _ B.toOver.hom |
| 53 | have : Mono f.left := etale_mono_of_point_injective A.toOver B.toOver f hinj |
| 54 | have : IsClosedImmersion f.left := |
| 55 | (IsClosedImmersion.iff_isProper_and_mono f.left).mpr ⟨inferInstance, inferInstance⟩ |
| 56 | have : IsReduced B.toOver.left := inferInstanceAs (IsReduced B.carrier) |
| 57 | have : IsIso f.left := isIso_of_isClosedImmersion_of_surjective f.left |
| 58 | have : IsIso ((Over.forget Foundations.Scheme.ProjectiveSpace.complexBase).map f) := inferInstanceAs (IsIso f.left) |
| 59 | exact isIso_of_reflects_iso f (Over.forget _) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.Albanese.Construction.EtaleMono |