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.UniversalFrameOpen |
| 2 | |
| 3 | /-! # Universal Frame Scheme -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The universal frame locus is an actual open scheme. A test morphism |
| 10 | factors through it uniquely exactly when the pulled-back universal |
| 11 | section is an isomorphism of line bundles. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 16 | |
| 17 | universe u |
| 18 | variable {X S : Scheme.{u}} [IsAffine S] {π : X ⟶ S} [IsProper π] {L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X} |
| 19 | (D : Geometric.SectionAlgebra.Construction.GeometricSectionAlgebraRepresentation π L.sheaf) |
| 20 | |
| 21 | def Geometric.SectionAlgebra.Construction.GeometricSectionAlgebraRepresentation.frameScheme : Over D.scheme.left := Over.mk D.frameOpen.ι |
| 22 | |
| 23 | instance Geometric.SectionAlgebra.Construction.GeometricSectionAlgebraRepresentation.frameScheme_openImmersion : IsOpenImmersion D.frameScheme.hom := |
| 24 | inferInstanceAs (IsOpenImmersion D.frameOpen.ι) |
| 25 | |
| 26 | def Geometric.SectionAlgebra.Construction.GeometricSectionAlgebraRepresentation.frameSchemeOverBase : Over S := Over.mk (D.frameOpen.ι ≫ D.scheme.hom) |
| 27 | |
| 28 | instance Geometric.SectionAlgebra.Construction.GeometricSectionAlgebraRepresentation.frameScheme_locallyOfFiniteType : LocallyOfFiniteType D.frameSchemeOverBase.hom := |
| 29 | inferInstanceAs (LocallyOfFiniteType (D.frameOpen.ι ≫ D.scheme.hom)) |
| 30 | |
| 31 | theorem Geometric.SectionAlgebra.Construction.GeometricSectionAlgebraRepresentation.frameScheme_lift_unique {T : Scheme.{u}} (t : T ⟶ D.scheme.left) |
| 32 | (a b : Over.mk t ⟶ D.frameScheme) : a = b := by |
| 33 | apply Over.OverMorphism.ext |
| 34 | apply (cancel_mono D.frameScheme.hom).mp |
| 35 | exact a.w.trans b.w.symm |
| 36 | |
| 37 | theorem Geometric.SectionAlgebra.Construction.GeometricSectionAlgebraRepresentation.frameScheme_hasLift_iff {Z T : Scheme.{u}} |
| 38 | (j : Z ⟶ D.universalFamily) (τ : Z ⟶ T) (t : T ⟶ D.scheme.left) |
| 39 | (hp : IsPullback j τ (pullback.snd π D.scheme.hom) t) : |
| 40 | Nonempty (Over.mk t ⟶ D.frameScheme) ↔ IsIso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection j D.universalSectionHom) := by |
| 41 | rw [D.universalSectionHom_isIso_iff j τ t hp] |
| 42 | constructor |
| 43 | · rintro ⟨a⟩ y |
| 44 | have hy : D.frameOpen.ι (a.left y) = t y := congrArg (fun f : T ⟶ D.scheme.left => f y) a.w |
| 45 | exact hy ▸ (a.left y).property |
| 46 | · intro h |
| 47 | have hr : Set.range t ⊆ Set.range D.frameOpen.ι := by |
| 48 | rintro _ ⟨y, rfl⟩ |
| 49 | exact ⟨⟨t y, h y⟩, rfl⟩ |
| 50 | exact ⟨Over.homMk (IsOpenImmersion.lift D.frameOpen.ι t hr) |
| 51 | (IsOpenImmersion.lift_fac D.frameOpen.ι t hr)⟩ |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.FormalGeometry.Completion |