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.IsogenyQuotient.Field.PointGroupDetection |
| 2 | |
| 3 | /-! # Function Rigidity -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Geometric.FunctionRigidity |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Geometric point comparisons and actual function rigidity detect a |
| 10 | pointed morphism even when its source or base is nonreduced. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | theorem overHom_fieldPoint_eq_of_baseChange |
| 17 | {S : Scheme.{0}} {X Y : Over S} (f g : X ⟶ Y) |
| 18 | {K : Type} [Field K] (s : Spec (.of K) ⟶ S) |
| 19 | (h : (Over.pullback s).map f = (Over.pullback s).map g) |
| 20 | (x : Over.mk s ⟶ X) : x ≫ f = x ≫ g := by |
| 21 | let l : Spec (.of K) ⟶ pullback X.hom s := |
| 22 | pullback.lift x.left (𝟙 _) (by rw [Category.id_comp]; exact Over.w x) |
| 23 | have H := congrArg (fun z => l ≫ z.left ≫ pullback.fst Y.hom s) h |
| 24 | apply Over.OverMorphism.ext |
| 25 | change x.left ≫ f.left = x.left ≫ g.left |
| 26 | simpa only [Over.pullback_map_left, ← Category.assoc, l, pullback.lift_fst] using H |
| 27 | |
| 28 | theorem overHom_eq_one_of_geometricPoints |
| 29 | {S : Scheme.{0}} (X Y : Over S) [GrpObj X] [GrpObj Y] [UniversallyClosed X.hom] |
| 30 | (hΓ : ∀ V : S.Opens, IsIso (X.hom ∣_ V).appTop) |
| 31 | (f : X ⟶ Y) (hzero : η[X] ≫ f = η[Y]) |
| 32 | (hfield : ∀ (K : Type) [Field K] [IsAlgClosed K] |
| 33 | (s : Spec (.of K) ⟶ S) (x : Over.mk s ⟶ X), x ≫ f = 1) : f = 1 := by |
| 34 | apply AbelianScheme.IsogenyQuotient.Field.PointGroupDetection.Construction.overHom_eq_one_of_fieldPoints X Y hΓ f hzero |
| 35 | intro K _ s x |
| 36 | let u := Spec.map (CommRingCat.ofHom (algebraMap K (AlgebraicClosure K))) |
| 37 | have : Surjective u := ⟨Function.surjective_to_subsingleton _⟩ |
| 38 | have : Flat u := inferInstanceAs |
| 39 | (Flat (Spec.map (CommRingCat.ofHom (algebraMap K (AlgebraicClosure K))))) |
| 40 | have : QuasiCompact u := inferInstanceAs |
| 41 | (QuasiCompact (Spec.map (CommRingCat.ofHom (algebraMap K (AlgebraicClosure K))))) |
| 42 | have : Epi u := inferInstance |
| 43 | let x' : Over.mk (u ≫ s) ⟶ X := Over.homMk (u ≫ x.left) (by |
| 44 | rw [Category.assoc, x.w] |
| 45 | rfl) |
| 46 | have h := congrArg Over.Hom.left (hfield (AlgebraicClosure K) (u ≫ s) x') |
| 47 | change (u ≫ x.left) ≫ f.left = (u ≫ s) ≫ η[Y].left at h |
| 48 | apply Over.OverMorphism.ext |
| 49 | change x.left ≫ f.left = s ≫ η[Y].left |
| 50 | apply (cancel_epi u).mp |
| 51 | simpa only [Category.assoc] using h |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Geometric.FunctionRigidity |