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.SheafCohomology.Projective.CanonicalAffineFrame |
| 2 | |
| 3 | /-! # Restrict Free Sections -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.RestrictFreeSections |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Freeness of sections over an open is preserved by the actual |
| 10 | top-section comparison for restriction, including its native ring action. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.CanonicalAffineFrame |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem restrict_globalSections_free |
| 18 | {X : Scheme.{u}} (M : X.Modules) (U : X.Opens) |
| 19 | [Module.Free Γ(X, U) Γ(M, U)] : |
| 20 | Module.Free Γ(U.toScheme, ⊤) Γ(M.restrict U.ι, ⊤) := by |
| 21 | let eR := U.topIso.commRingCatIsoToRingEquiv |
| 22 | let : RingHomInvPair eR.toRingHom eR.symm.toRingHom := RingHomInvPair.of_ringEquiv eR |
| 23 | let : RingHomInvPair eR.symm.toRingHom eR.toRingHom := RingHomInvPair.of_ringEquiv eR.symm |
| 24 | let l : Γ(M.restrict U.ι, ⊤) →ₛₗ[eR.toRingHom] Γ(M, U) := |
| 25 | { toFun := (SheafCohomology.Projective.CanonicalAffineFrame.restrictionTopIso M U).hom |
| 26 | map_add' := (SheafCohomology.Projective.CanonicalAffineFrame.restrictionTopIso M U).hom.hom.map_add |
| 27 | map_smul' := SheafCohomology.Projective.CanonicalAffineFrame.restrictionTopIso_smul M U } |
| 28 | let e := LinearEquiv.ofBijective l (ConcreteCategory.bijective_of_isIso (SheafCohomology.Projective.CanonicalAffineFrame.restrictionTopIso M U).hom) |
| 29 | exact Module.Free.of_equiv e.symm |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.RestrictFreeSections |