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.BlockSupport |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.ConeCodimension |
| 3 | |
| 4 | /-! # Moved Cone Support -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.MovedConeSupport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The cone defined by the new source coordinates over the projected |
| 11 | auxiliary base has the original codimension and the expected inverse-image set. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.BlockSupports OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.BlockData.Projection |
| 19 | |
| 20 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 21 | (L : Fin (m + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading (X.ambientDimension + m + 1) 1) |
| 22 | (hS : ∀ x : X.carrier, ∃ a, (L a).val ∉ ((Projective.BlockSupports.source X m).left x).asHomogeneousIdeal) |
| 23 | (hT : ∀ y : (Projective.Dimension.SpacePresentation.presentation m).carrier, |
| 24 | ∃ a, (L a).val ∉ ((Projective.BlockSupports.target X m).left y).asHomogeneousIdeal) |
| 25 | |
| 26 | include hS in |
| 27 | theorem source_no_base (Z : IrreducibleCloseds X.carrier) : |
| 28 | Projection.PointCongruence.SupportData.NoBase (Projective.BlockSupports.ambient X m) m L (ProperCycleLinearity.imageSupport (Projective.BlockSupports.source X m) Z) := by |
| 29 | intro y hy |
| 30 | rw [ProperCycleLinearity.imageSupport_eq_image] at hy |
| 31 | obtain ⟨x, _, rfl⟩ := hy |
| 32 | exact hS x |
| 33 | |
| 34 | include hT in |
| 35 | theorem target_no_base (S : IrreducibleCloseds (Projective.Dimension.SpacePresentation.presentation m).carrier) : |
| 36 | Projection.PointCongruence.SupportData.NoBase (Projective.BlockSupports.ambient X m) m L (ProperCycleLinearity.imageSupport (Projective.BlockSupports.target X m) S) := by |
| 37 | intro y hy |
| 38 | rw [ProperCycleLinearity.imageSupport_eq_image] at hy |
| 39 | obtain ⟨x, _, rfl⟩ := hy |
| 40 | exact hT x |
| 41 | |
| 42 | variable (hLI : LinearIndependent ℂ (BlockData.Projection.sourceForms X m L)) |
| 43 | (S : IrreducibleCloseds (Projective.Dimension.SpacePresentation.presentation m).carrier) |
| 44 | |
| 45 | def cone : IrreducibleCloseds (Foundations.Scheme.ProjectiveSpace.projectiveSpace X.ambientDimension) := |
| 46 | Projective.ConeSupport.support (BlockData.Projection.sourceForms X m L) hLI (BlockData.Projection.targetProjection X m L hT (CycleClass.Thom.IntersectionGeometry.supportPoint S)) |
| 47 | |
| 48 | theorem codimension : |
| 49 | (Projective.Dimension.SpacePresentation.presentation X.ambientDimension).supportCodimension (cone X m L hT hLI S) = |
| 50 | (Projective.Dimension.SpacePresentation.presentation m).supportCodimension S := by |
| 51 | let σ : (Projective.Dimension.SpacePresentation.presentation m).toOver ⟶ |
| 52 | (Projective.Dimension.SpacePresentation.presentation m).toOver := |
| 53 | Over.homMk (BlockData.Projection.targetProjection X m L hT) (BlockData.Projection.target_over X m L hT) |
| 54 | let : IsFinite σ.left := inferInstanceAs (IsFinite (BlockData.Projection.targetProjection X m L hT)) |
| 55 | exact (Projective.ConeCodimension.codimension (BlockData.Projection.sourceForms X m L) hLI |
| 56 | (BlockData.Projection.targetProjection X m L hT (CycleClass.Thom.IntersectionGeometry.supportPoint S))).trans (Finite.Codimension.Projection.image σ m S) |
| 57 | |
| 58 | theorem preimage : X.embedding ⁻¹' (cone X m L hT hLI S : Set (Foundations.Scheme.ProjectiveSpace.projectiveSpace X.ambientDimension)) = |
| 59 | BlockData.Projection.sourceProjection X m L hS ⁻¹' (BlockData.Projection.targetProjection X m L hT '' (S : Set (Projective.Dimension.SpacePresentation.presentation m).carrier)) := by |
| 60 | have he := Projective.ConePreimage.finite_image (BlockData.Projection.targetProjection X m L hT) S |
| 61 | ext x |
| 62 | have hm := Projective.ConePreimage.mem_iff (BlockData.Projection.sourceForms X m L) hLI |
| 63 | (BlockData.Projection.targetProjection X m L hT (CycleClass.Thom.IntersectionGeometry.supportPoint S)) X.embedding |
| 64 | (Projection.FiniteProjective.FromForms.in_domain X m (BlockData.Projection.sourceForms X m L) (BlockData.Projection.source_no_base X m L hS)) x |
| 65 | exact hm.trans ((congrArg (fun A : Set (Foundations.Scheme.ProjectiveSpace.projectiveSpace m) => BlockData.Projection.sourceProjection X m L hS x ∈ A) he).to_iff) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.MovedConeSupport |