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 | |
| 3 | /-! # Domain Functions -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.DomainFunctions.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Completion: proper global function domains are finite fields |
| 11 | |
| 12 | Only the domain property of the actual global section ring is needed; |
| 13 | the whole scheme need not already have been proved integral. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable (K : Type u) [Field K] {X : Scheme.{u}} |
| 24 | (f : X ⟶ Spec (CommRingCat.of K)) [IsProper f] [IsDomain Γ(X, ⊤)] |
| 25 | |
| 26 | include f |
| 27 | |
| 28 | /-- A proper scheme whose actual global sections form a domain has a global function field. -/ |
| 29 | theorem proper_globalFunctionDomain_isField : IsField Γ(X, ⊤) := by |
| 30 | have := ConnectedFunctions.Construction.proper_globalFunctions_krullDimLE_zero K f |
| 31 | exact Ring.KrullDimLE.isField_of_isDomain |
| 32 | |
| 33 | /-- That actual global function field is finite over the structural base field. -/ |
| 34 | theorem proper_globalFunctionDomain_finite : f.appTop.hom.Finite := by |
| 35 | have : Surjective X.toSpecΓ := Affinization.Construction.proper_toSpecΓ_surjective f |
| 36 | let z : Spec Γ(X, ⊤) := Nonempty.some inferInstance |
| 37 | obtain ⟨x, _⟩ := X.toSpecΓ.surjective z |
| 38 | obtain ⟨_, ⟨U, hU, rfl⟩, hxU, -⟩ := |
| 39 | X.isBasis_affineOpens.exists_subset_of_mem_open (Set.mem_univ x) isOpen_univ |
| 40 | let := ((Scheme.ΓSpecIso (CommRingCat.of K)).commRingCatIsoToRingEquiv.toMulEquiv.isField |
| 41 | (Field.toIsField K)).toField |
| 42 | let := (proper_globalFunctionDomain_isField K f).toField |
| 43 | have : Nonempty U := ⟨⟨x, hxU⟩⟩ |
| 44 | apply RingHom.finite_of_algHom_finiteType_of_isJacobsonRing (A := Γ(X, U)) |
| 45 | (g := (X.presheaf.map (homOfLE le_top).op).hom) |
| 46 | exact f.finiteType_appLE (isAffineOpen_top _) hU (by simp) |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.DomainFunctions.Construction |