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.Quotients.FiniteDescent.RigidityRestrictionOn |
| 2 | |
| 3 | /-! # Relative Functions Is -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.RelativeFunctionsIs.Construction.RelativeFunctions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Global functions descend along a proper smooth morphism with connected |
| 10 | geometric fibers and a section, when its source is reduced. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X S : Scheme.{u}} (f : X ⟶ S) [IsProper f] [Smooth f] |
| 17 | variable [GeometricallyConnected f] [IsReduced X] |
| 18 | variable (e : S ⟶ X) (he : e ≫ f = 𝟙 S) |
| 19 | |
| 20 | include he |
| 21 | |
| 22 | theorem section_appTop_comp : e.appTop ≫ f.appTop = 𝟙 Γ(X, ⊤) := by |
| 23 | have h := congrArg Scheme.Hom.appTop |
| 24 | (RelativeAffine.Construction.RelativeAffineRigidity.factor f e he X.toSpecΓ) |
| 25 | rw [Scheme.Hom.comp_appTop, Scheme.Hom.comp_appTop, Scheme.toSpecΓ_appTop] at h |
| 26 | apply (cancel_epi (Scheme.ΓSpecIso Γ(X, ⊤)).hom).mp |
| 27 | simpa only [Category.comp_id, Category.assoc] using h.symm |
| 28 | |
| 29 | /-- Restriction to the section is inverse to pullback on global functions. -/ |
| 30 | def iso : Γ(S, ⊤) ≅ Γ(X, ⊤) where |
| 31 | hom := f.appTop |
| 32 | inv := e.appTop |
| 33 | hom_inv_id := by rw [← Scheme.Hom.comp_appTop, he, Scheme.Hom.id_appTop] |
| 34 | inv_hom_id := section_appTop_comp f e he |
| 35 | |
| 36 | theorem isIso_appTop : IsIso f.appTop := (iso f e he).isIso_hom |
| 37 | |
| 38 | theorem section_appTop_injective : Function.Injective e.appTop := by |
| 39 | have : IsIso e.appTop := (iso f e he).isIso_inv |
| 40 | exact (ConcreteCategory.isIso_iff_bijective e.appTop).mp this |>.injective |
| 41 | |
| 42 | /-- The same descent holds over every open of the base. -/ |
| 43 | theorem isIso_restrict_appTop (V : S.Opens) : IsIso (f ∣_ V).appTop := |
| 44 | isIso_appTop (f ∣_ V) (RigidityRestrictionOn.Construction.RigidityRestriction.section_restrict f e he V) |
| 45 | (RigidityRestrictionOn.Construction.RigidityRestriction.section_restrict_comp_base f e he V) |
| 46 | |
| 47 | theorem isIso_app (V : S.Opens) : IsIso (f.app V) := by |
| 48 | let t := X.presheaf.map (eqToHom (image_morphismRestrict_preimage f V ⊤)).op |
| 49 | have ht : IsIso t := |
| 50 | X.presheaf.map_isIso _ |
| 51 | have h : IsIso (f.app (V.ι ''ᵁ ⊤) ≫ t) := by |
| 52 | rw [← morphismRestrict_appTop] |
| 53 | exact isIso_restrict_appTop f e he V |
| 54 | have h' : IsIso (f.app (V.ι ''ᵁ ⊤)) := |
| 55 | (isIso_comp_right_iff (f.app (V.ι ''ᵁ ⊤)) t).mp h |
| 56 | exact (congrArg (fun W : S.Opens => IsIso (f.app W)) V.ι_image_top).mp h' |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.RelativeFunctionsIs.Construction.RelativeFunctions |