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.IntersectionTheory.ProjectionFormula.DisjointBlockForms |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CoordinateBlock |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SquareIso |
| 4 | |
| 5 | /-! # Block Data -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.BlockData |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The projection on the source block is finite, and its restriction |
| 12 | to the auxiliary square block is an isomorphism. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | namespace Projection |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.BlockSupports |
| 22 | |
| 23 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 24 | (L : Fin (m + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading (X.ambientDimension + m + 1) 1) |
| 25 | |
| 26 | def sourceForms : Fin (m + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1 := |
| 27 | fun a => CoordinateBlockForms.restrict (DisjointProjectiveBlocks.leftIndex X.ambientDimension m) (L a) |
| 28 | |
| 29 | def targetForms : Fin (m + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading m 1 := |
| 30 | fun a => CoordinateBlockForms.restrict (DisjointProjectiveBlocks.rightIndex X.ambientDimension m) (L a) |
| 31 | |
| 32 | variable (hS : ∀ x : X.carrier, ∃ a, (L a).val ∉ ((Projective.BlockSupports.source X m).left x).asHomogeneousIdeal) |
| 33 | (hT : ∀ y : (Projective.Dimension.SpacePresentation.presentation m).carrier, |
| 34 | ∃ a, (L a).val ∉ ((Projective.BlockSupports.target X m).left y).asHomogeneousIdeal) |
| 35 | |
| 36 | include hS in |
| 37 | theorem source_no_base (x : X.carrier) : |
| 38 | ∃ a, (sourceForms X m L a).val ∉ (X.embedding x).asHomogeneousIdeal := by |
| 39 | obtain ⟨a, ha⟩ := hS x |
| 40 | exact ⟨a, ha⟩ |
| 41 | |
| 42 | include hT in |
| 43 | theorem target_no_base (x : (Projective.Dimension.SpacePresentation.presentation m).carrier) : |
| 44 | ∃ a, (targetForms X m L a).val ∉ ((Projective.Dimension.SpacePresentation.presentation m).embedding x).asHomogeneousIdeal := by |
| 45 | obtain ⟨a, ha⟩ := hT x |
| 46 | exact ⟨a, ha⟩ |
| 47 | |
| 48 | def sourceProjection : X.carrier ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace m := |
| 49 | Projection.FiniteProjective.FromForms.map X m (sourceForms X m L) (source_no_base X m L hS) |
| 50 | |
| 51 | def targetProjection : (Projective.Dimension.SpacePresentation.presentation m).carrier ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace m := |
| 52 | Projection.FiniteProjective.FromForms.map (Projective.Dimension.SpacePresentation.presentation m) m (targetForms X m L) (target_no_base X m L hT) |
| 53 | |
| 54 | instance source_finite : IsFinite (sourceProjection X m L hS) := |
| 55 | inferInstanceAs (IsFinite (Projection.FiniteProjective.FromForms.map X m (sourceForms X m L) (source_no_base X m L hS))) |
| 56 | |
| 57 | instance target_finite : IsFinite (targetProjection X m L hT) := |
| 58 | inferInstanceAs (IsFinite (Projection.FiniteProjective.FromForms.map (Projective.Dimension.SpacePresentation.presentation m) m |
| 59 | (targetForms X m L) (target_no_base X m L hT))) |
| 60 | |
| 61 | theorem target_isIso (hLI : LinearIndependent ℂ (targetForms X m L)) : IsIso (targetProjection X m L hT) := |
| 62 | SquareIso.Projection.isIso (targetForms X m L) hLI |
| 63 | (Projection.FiniteProjective.FromForms.in_domain (Projective.Dimension.SpacePresentation.presentation m) m |
| 64 | (targetForms X m L) (target_no_base X m L hT)) |
| 65 | |
| 66 | theorem source_over : sourceProjection X m L hS ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m = X.structureMap := |
| 67 | Projection.FiniteProjective.FromForms.over_base X m (sourceForms X m L) (source_no_base X m L hS) |
| 68 | |
| 69 | theorem target_over : targetProjection X m L hT ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m = |
| 70 | (Projective.Dimension.SpacePresentation.presentation m).structureMap := |
| 71 | Projection.FiniteProjective.FromForms.over_base (Projective.Dimension.SpacePresentation.presentation m) m |
| 72 | (targetForms X m L) (target_no_base X m L hT) |
| 73 | |
| 74 | include hS in |
| 75 | theorem source_domain (x : X.carrier) : |
| 76 | (X.embedding ≫ DisjointProjectiveBlocks.left X.ambientDimension m) x ∈ |
| 77 | Projective.BasicOpen.RationalProjection.domain (Projective.ConeSupport.coordinates L) := |
| 78 | (CoordinateBlock.Projection.mem_domain _ (DisjointProjectiveBlocks.left_injective _ _) L (X.embedding x)).mpr |
| 79 | (Projection.FiniteProjective.FromForms.in_domain X m (sourceForms X m L) (source_no_base X m L hS) x) |
| 80 | |
| 81 | include hT in |
| 82 | theorem target_domain (x : Foundations.Scheme.ProjectiveSpace.projectiveSpace m) : |
| 83 | (𝟙 (Foundations.Scheme.ProjectiveSpace.projectiveSpace m) ≫ DisjointProjectiveBlocks.right X.ambientDimension m) x ∈ |
| 84 | Projective.BasicOpen.RationalProjection.domain (Projective.ConeSupport.coordinates L) := |
| 85 | (CoordinateBlock.Projection.mem_domain _ (DisjointProjectiveBlocks.right_injective _ _) L x).mpr |
| 86 | (Projection.FiniteProjective.FromForms.in_domain (Projective.Dimension.SpacePresentation.presentation m) m |
| 87 | (targetForms X m L) (target_no_base X m L hT) x) |
| 88 | |
| 89 | end Projection |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.BlockData |