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.EtaleSectionIso |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.FlatRank |
| 3 | |
| 4 | /-! # Etale Degree One -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Finite.EtaleDegreeOne.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Completion: an isomorphic nonempty base change detects degree one |
| 12 | |
| 13 | The degree of a finite flat finitely presented morphism is locally |
| 14 | constant. On a connected base, degree one on any nonempty base change |
| 15 | therefore proves that the original morphism is an isomorphism. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 19 | |
| 20 | set_option backward.defeqAttrib.useBackward true |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | /-- One isomorphic nonempty base change forces a finite flat cover of a connected base |
| 26 | to have degree one everywhere. -/ |
| 27 | theorem finite_flat_isIso_of_baseChange_isIso {X Y Z : Scheme.{u}} |
| 28 | [PreconnectedSpace Y] [Nonempty Z] (f : X ⟶ Y) |
| 29 | [IsFinite f] [Flat f] [LocallyOfFinitePresentation f] (g : Z ⟶ Y) |
| 30 | [IsIso (pullback.snd f g)] : IsIso f := by |
| 31 | let z : Z := Nonempty.some inferInstance |
| 32 | apply f.isIso_iff_finrank_eq.mpr |
| 33 | ext y |
| 34 | calc |
| 35 | f.finrank y = f.finrank (g z) := |
| 36 | f.isLocallyConstant_finrank.apply_eq_of_preconnectedSpace y (g z) |
| 37 | _ = (pullback.snd f g).finrank z := (f.finrank_pullback_snd g z).symm |
| 38 | _ = 1 := congrFun (Scheme.Hom.finrank_eq_one_of_isIso (pullback.snd f g)) z |
| 39 | |
| 40 | /-- A connected sectioned base change proves that the original finite étale cover is trivial. -/ |
| 41 | theorem finite_etale_isIso_of_connected_sectioned_baseChange {X Y Z : Scheme.{u}} |
| 42 | [PreconnectedSpace Y] [Nonempty Z] (f : X ⟶ Y) [IsFinite f] [Etale f] (g : Z ⟶ Y) |
| 43 | [PreconnectedSpace (pullback f g : Scheme.{u})] (s : Z ⟶ pullback f g) |
| 44 | (hs : s ≫ pullback.snd f g = 𝟙 Z) : IsIso f := by |
| 45 | have := EtaleSectionIso.Construction.connected_etale_section_isIso (pullback.snd f g) s hs |
| 46 | exact finite_flat_isIso_of_baseChange_isIso f g |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Finite.EtaleDegreeOne.Construction |