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.Projective.BlockSupports |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CoordinateBlockForms |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projection.Generic |
| 4 | |
| 5 | /-! # Disjoint Block Forms -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.DisjointBlockForms |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! One generic projection on the disjoint blocks is defined on |
| 12 | the whole source and base, has independent restrictions to both blocks, |
| 13 | and satisfies all the required source/base incidence bounds. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 19 | |
| 20 | namespace Projection |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.BlockSupports |
| 23 | |
| 24 | theorem exists_forms (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) [IsIntegral X.carrier] |
| 25 | (m : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 26 | (S : IrreducibleCloseds (Projective.Dimension.SpacePresentation.presentation m).carrier) |
| 27 | {τ : Type} [Finite τ] (Z : τ → IrreducibleCloseds X.carrier) : |
| 28 | ∃ L : Fin (m + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading (X.ambientDimension + m + 1) 1, |
| 29 | (∀ x : X.carrier, ∃ a, (L a).val ∉ ((Projective.BlockSupports.source X m).left x).asHomogeneousIdeal) ∧ |
| 30 | (∀ y : (Projective.Dimension.SpacePresentation.presentation m).carrier, |
| 31 | ∃ a, (L a).val ∉ ((Projective.BlockSupports.target X m).left y).asHomogeneousIdeal) ∧ |
| 32 | LinearIndependent ℂ (fun a => CoordinateBlockForms.restrict (DisjointProjectiveBlocks.leftIndex X.ambientDimension m) (L a)) ∧ |
| 33 | LinearIndependent ℂ (fun a => CoordinateBlockForms.restrict (DisjointProjectiveBlocks.rightIndex X.ambientDimension m) (L a)) ∧ |
| 34 | ∀ t, Projection.Generic.InductionBounds.incidence (Projective.BlockSupports.ambient X m) |
| 35 | (ProperCycleLinearity.imageSupport (Projective.BlockSupports.target X m) S) (ProperCycleLinearity.imageSupport (Projective.BlockSupports.source X m) (Z t)) L := by |
| 36 | have hm := EmbeddedFundamentalSupport.dimension_le X m |
| 37 | let e : Foundations.Scheme.ProjectiveSpace.projectiveGrading m 1 ≃ₗ[ℂ] (Fin (m + 1) → ℂ) := |
| 38 | LinearEquiv.ofFinrankEq _ _ (by rw [LinearFormBasis.dimension, Module.finrank_fin_fun]) |
| 39 | let j := Fin.castLE (Nat.add_le_add_right hm 1) |
| 40 | let Q := e.toLinearMap.comp (CoordinateBlockForms.restrict j) |
| 41 | have hQ : Function.Surjective Q := e.surjective.comp |
| 42 | (CoordinateBlockForms.surjective j (Fin.castLE_injective _)) |
| 43 | let F := CoordinateBlockForms.restrict (DisjointProjectiveBlocks.leftIndex X.ambientDimension m) |
| 44 | let G := CoordinateBlockForms.restrict (DisjointProjectiveBlocks.rightIndex X.ambientDimension m) |
| 45 | let D : Bool → Foundations.Scheme.ProjectiveSpace.projectiveGrading (X.ambientDimension + m + 1) 1 →ₗ[ℂ] (Fin (m + 1) → ℂ) := |
| 46 | fun b => if b then e.toLinearMap.comp G else Q.comp F |
| 47 | have hD : ∀ b, Function.Surjective (D b) := by |
| 48 | intro b |
| 49 | cases b |
| 50 | · exact hQ.comp (CoordinateBlockForms.surjective _ (DisjointProjectiveBlocks.left_injective _ _)) |
| 51 | · exact e.surjective.comp (CoordinateBlockForms.surjective _ (DisjointProjectiveBlocks.right_injective _ _)) |
| 52 | let H : Bool → IrreducibleCloseds (Projective.BlockSupports.ambient X m).carrier := fun b => if b then Projective.BlockSupports.targetWhole X m else Projective.BlockSupports.sourceWhole X m |
| 53 | have hH : ∀ b, Foundations.Scheme.SupportDimension.supportTranscendenceDimension (H b) (Projective.BlockSupports.ambient X m).structureMap ≤ m := by |
| 54 | intro b |
| 55 | cases b |
| 56 | · exact (Projective.BlockSupports.sourceWhole_dimension X m m).le |
| 57 | · exact (Projective.BlockSupports.targetWhole_dimension X m).le |
| 58 | obtain ⟨L, _, _, hI, hbase, hLI⟩ := Projection.Generic.OnSupports.exists_forms (Projective.BlockSupports.ambient X m) m |
| 59 | (fun _ : τ => ProperCycleLinearity.imageSupport (Projective.BlockSupports.target X m) S) (fun t => ProperCycleLinearity.imageSupport (Projective.BlockSupports.source X m) (Z t)) D hD H hH |
| 60 | refine ⟨L, ?_, ?_, LinearIndependent.of_comp Q (hLI false), |
| 61 | LinearIndependent.of_comp e.toLinearMap (hLI true), hI⟩ |
| 62 | · intro x |
| 63 | have hx : (Projective.BlockSupports.source X m).left x ∈ (H false : Set (Projective.BlockSupports.ambient X m).carrier) := by |
| 64 | change (Projective.BlockSupports.source X m).left x ∈ (ProperCycleLinearity.imageSupport (Projective.BlockSupports.source X m) (Integral.Fundamental.whole X) : Set (Projective.BlockSupports.ambient X m).carrier) |
| 65 | rw [ProperCycleLinearity.imageSupport_eq_image] |
| 66 | exact ⟨x, trivial, rfl⟩ |
| 67 | exact hbase false _ hx |
| 68 | · intro y |
| 69 | have hy : (Projective.BlockSupports.target X m).left y ∈ (H true : Set (Projective.BlockSupports.ambient X m).carrier) := by |
| 70 | change (Projective.BlockSupports.target X m).left y ∈ (ProperCycleLinearity.imageSupport (Projective.BlockSupports.target X m) |
| 71 | (Integral.Fundamental.whole (Projective.Dimension.SpacePresentation.presentation m)) : Set (Projective.BlockSupports.ambient X m).carrier) |
| 72 | rw [ProperCycleLinearity.imageSupport_eq_image] |
| 73 | exact ⟨y, trivial, rfl⟩ |
| 74 | exact hbase true _ hy |
| 75 | |
| 76 | end Projection |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.DisjointBlockForms |