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.SectionFunctions |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.SectionRestriction |
| 3 | |
| 4 | /-! # Integral Section Iso -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.IntegralSectionIso.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Completion: integral morphisms from integral schemes with a section |
| 12 | |
| 13 | The split integral algebra argument applies on every nonempty affine base |
| 14 | open. It proves that an integral morphism from an integral scheme is an |
| 15 | isomorphism whenever it has a section. |
| 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 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) [IsIntegral X] |
| 26 | (s : Y ⟶ X) (hs : s ≫ f = 𝟙 Y) |
| 27 | |
| 28 | include s hs |
| 29 | |
| 30 | /-- An integral morphism from an integral scheme with an actual section is an isomorphism. -/ |
| 31 | theorem integralMorphism_section_isIso [IsIntegralHom f] : IsIso f := by |
| 32 | apply IsZariskiLocalAtTarget.of_forall_exists_morphismRestrict |
| 33 | (P := MorphismProperty.isomorphisms Scheme) |
| 34 | intro y |
| 35 | obtain ⟨_, ⟨U₀, hU, rfl⟩, hy, -⟩ := |
| 36 | Y.isBasis_affineOpens.exists_subset_of_mem_open (Set.mem_univ y) isOpen_univ |
| 37 | let U : Y.Opens := U₀ |
| 38 | have : Nonempty U.toScheme := ⟨⟨y, hy⟩⟩ |
| 39 | have : Nonempty (f ⁻¹ᵁ U).toScheme := |
| 40 | Nonempty.map (SectionRestriction.Construction.schemeSectionRestrict f s hs U) inferInstance |
| 41 | have : IsIntegral (f ⁻¹ᵁ U).toScheme := isIntegral_of_isOpenImmersion (f ⁻¹ᵁ U).ι |
| 42 | have : IsAffine U.toScheme := hU |
| 43 | have : IsAffine (f ⁻¹ᵁ U).toScheme := isAffine_of_isAffineHom (f ∣_ U) |
| 44 | have := Proper.SectionFunctions.Construction.integralFamily_section_appTop_isIso (f ∣_ U) |
| 45 | (SectionRestriction.Construction.schemeSectionRestrict f s hs U) (SectionRestriction.Construction.schemeSectionRestrict_section f s hs U) |
| 46 | refine ⟨U, hy, ?_⟩ |
| 47 | apply (HasAffineProperty.iff_of_isAffine (P := MorphismProperty.isomorphisms Scheme)).mpr |
| 48 | exact ⟨inferInstance, inferInstance⟩ |
| 49 | |
| 50 | /-- The relative normalization of an integral proper family with a section is the entire base. -/ |
| 51 | theorem integralProperFamily_section_fromNormalization_isIso [IsProper f] : |
| 52 | IsIso f.fromNormalization := by |
| 53 | apply integralMorphism_section_isIso f.fromNormalization (s ≫ f.toNormalization) |
| 54 | rw [Category.assoc, Scheme.Hom.toNormalization_fromNormalization, hs] |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.IntegralSectionIso.Construction |