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.Proper.ConnectedFunctions |
| 2 | import Mathlib.FieldTheory.IsAlgClosed.Basic |
| 3 | |
| 4 | /-! # Connected Field -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.ConnectedField.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Completion: the field of functions on a connected reduced proper fiber |
| 12 | |
| 13 | The global field is finite over the base field. Over an algebraically |
| 14 | closed field, the actual structural map is an isomorphism. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable (K : Type u) [Field K] {X : Scheme.{u}} |
| 25 | (f : X ⟶ Spec (CommRingCat.of K)) [IsProper f] [ConnectedSpace X] [IsReduced X] |
| 26 | |
| 27 | /-- The global functions of a connected reduced proper fiber form a finite field extension. -/ |
| 28 | theorem proper_connected_reduced_globalFunctions_finite : f.appTop.hom.Finite := by |
| 29 | have x : X := Nonempty.some inferInstance |
| 30 | obtain ⟨_, ⟨U, hU, rfl⟩, hxU, -⟩ := |
| 31 | X.isBasis_affineOpens.exists_subset_of_mem_open (Set.mem_univ x) isOpen_univ |
| 32 | let := ((Scheme.ΓSpecIso (CommRingCat.of K)).commRingCatIsoToRingEquiv.toMulEquiv.isField |
| 33 | (Field.toIsField K)).toField |
| 34 | let := (ConnectedFunctions.Construction.proper_connected_reduced_globalFunctions_isField K f).toField |
| 35 | have : Nonempty U := ⟨⟨x, hxU⟩⟩ |
| 36 | apply RingHom.finite_of_algHom_finiteType_of_isJacobsonRing (A := Γ(X, U)) |
| 37 | (g := (X.presheaf.map (homOfLE le_top).op).hom) |
| 38 | exact f.finiteType_appLE (isAffineOpen_top _) hU (by simp) |
| 39 | |
| 40 | /-- A connected reduced proper geometric fiber has only constant global functions. -/ |
| 41 | theorem proper_connected_reduced_appTop_isIso [IsAlgClosed K] : IsIso f.appTop := by |
| 42 | let := (ConnectedFunctions.Construction.proper_connected_reduced_globalFunctions_isField K f).toField |
| 43 | let F : CommRingCat.of K ⟶ Γ(X, ⊤) := (Scheme.ΓSpecIso _).inv ≫ f.appTop |
| 44 | have hF : F.hom.IsIntegral := by |
| 45 | apply RingHom.isIntegral_respectsIso.2 |
| 46 | (e := (Scheme.ΓSpecIso _).symm.commRingCatIsoToRingEquiv) |
| 47 | exact isIntegral_appTop_of_universallyClosed f |
| 48 | have : IsIso F := (ConcreteCategory.isIso_iff_bijective F).mpr |
| 49 | (IsAlgClosed.ringHom_bijective_of_isIntegral F.hom hF) |
| 50 | exact (isIso_comp_left_iff (Scheme.ΓSpecIso _).inv f.appTop).mp this |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.ConnectedField.Construction |