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.AbelianModuli.HilbertConstruction.SubterminalRelativeChart |
| 2 | import Mathlib.CategoryTheory.Limits.Types.Pullbacks |
| 3 | |
| 4 | /-! # Subterminal Open Chart Representation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SubterminalOpenChartRepresentation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A representation of the restriction of a subterminal presheaf to an open base chart defines a relatively representable open immersion into that presheaf. Its pullback to each test is the actual open base change. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | variable {S U : Scheme.{u}} (F : (Over S)ᵒᵖ ⥤ Type u) (i : U ⟶ S) (M : Over U) |
| 15 | variable (e : (Over.map i).op ⋙ F ≅ yoneda.obj M) |
| 16 | |
| 17 | def restrictedRepresentedChartMap : yoneda.obj ((Over.map i).obj M) ⟶ F := |
| 18 | yonedaEquiv.symm (e.inv.app (.op M) (𝟙 M)) |
| 19 | |
| 20 | def restrictedRepresentedChartPullbackArrow (T : Over S) (β : yoneda.obj T ⟶ F) : |
| 21 | SubterminalRelativeChart.baseChartTest i T ⟶ (Over.map i).obj M := |
| 22 | (Over.map i).map (e.hom.app (.op ((Over.pullback i).obj T)) |
| 23 | (F.map (SubterminalRelativeChart.baseChartProjection i T).op (yonedaEquiv β))) |
| 24 | |
| 25 | theorem restrictedRepresentedChart_isOpenImmersion [IsOpenImmersion i] [Mono M.hom] |
| 26 | (hs : ∀ T : Over S, Subsingleton (F.obj (.op T))) : |
| 27 | (Relative.RepresentableOpenGlueData.relativeOpenImmersions S).presheaf (restrictedRepresentedChartMap F i M e) := by |
| 28 | have : (Relative.RepresentableOpenGlueData.relativeOpenImmersions S).RespectsIso := |
| 29 | inferInstanceAs (((IsOpenImmersion : MorphismProperty Scheme.{u}).inverseImage |
| 30 | (Over.forget S)).RespectsIso) |
| 31 | apply MorphismProperty.relative.of_exists |
| 32 | intro T β |
| 33 | let L := SubterminalRelativeChart.baseChartTest i T |
| 34 | let r := SubterminalRelativeChart.baseChartProjection i T |
| 35 | let a := restrictedRepresentedChartPullbackArrow F i M e T β |
| 36 | have hr : Mono r := SubterminalRelativeChart.baseChartProjection_mono i T |
| 37 | refine ⟨L, yoneda.map a, r, ?_, SubterminalRelativeChart.baseChartProjection_open i T⟩ |
| 38 | apply IsPullback.of_forall_isPullback_app |
| 39 | intro V |
| 40 | apply (Types.isPullback_iff _ _ _ _).mpr |
| 41 | refine ⟨?_, ?_, ?_⟩ |
| 42 | · apply ConcreteCategory.hom_ext |
| 43 | intro x |
| 44 | exact @Subsingleton.elim _ (hs V.unop) _ _ |
| 45 | · intro x y hxy |
| 46 | exact (cancel_mono r).mp hxy.2 |
| 47 | · intro x y _ |
| 48 | exact ⟨SubterminalRelativeChart.baseChartTestLift i T M x y, |
| 49 | SubterminalRelativeChart.baseChartTestLift_toChart i T M x y a, SubterminalRelativeChart.baseChartTestLift_projection i T M x y⟩ |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SubterminalOpenChartRepresentation |