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.ConeDimension |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Finite.Codimension |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.Dimension |
| 4 | |
| 5 | /-! # Cone Codimension -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.ConeCodimension |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The cone preserves base-support codimension. For a finite |
| 12 | projection of X its codimension is the original cycle-support codimension. -/ |
| 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 | theorem codimension {m n : ℕ} (L : Fin (m + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1) |
| 20 | (hL : LinearIndependent ℂ L) (η : Foundations.Scheme.ProjectiveSpace.projectiveSpace m) : |
| 21 | (Dimension.SpacePresentation.presentation n).supportCodimension (ConeSupport.support L hL η) = |
| 22 | (Dimension.SpacePresentation.presentation m).supportCodimension (Cone.SmoothPullback.baseSupport η) := by |
| 23 | have hm := hL.fintype_card_le_finrank |
| 24 | rw [Fintype.card_fin, LinearFormBasis.dimension] at hm |
| 25 | have hd := ConeDimension.dimension L hL η |
| 26 | have hn := Grading.supportDimension_add_codimension (Dimension.SpacePresentation.presentation n) n |
| 27 | (ConeSupport.support L hL η) |
| 28 | have hm' := Grading.supportDimension_add_codimension (Dimension.SpacePresentation.presentation m) m |
| 29 | (Cone.SmoothPullback.baseSupport η) |
| 30 | change Foundations.Scheme.SupportDimension.supportTranscendenceDimension (ConeSupport.support L hL η) (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n) + _ = n at hn |
| 31 | change Foundations.Scheme.SupportDimension.supportTranscendenceDimension (Cone.SmoothPullback.baseSupport η) (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m) + _ = m at hm' |
| 32 | omega |
| 33 | |
| 34 | theorem of_projection (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 35 | [SmoothOfRelativeDimension m X.structureMap] |
| 36 | (L : Fin (m + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1) (hL : LinearIndependent ℂ L) |
| 37 | (h : ∀ x : X.carrier, ∃ a, (L a).val ∉ (X.embedding x).asHomogeneousIdeal) |
| 38 | (W : IrreducibleCloseds X.carrier) : |
| 39 | (Dimension.SpacePresentation.presentation X.ambientDimension).supportCodimension |
| 40 | (ConeSupport.support L hL (Projection.FiniteProjective.FromForms.map X m L h (CycleClass.Thom.IntersectionGeometry.supportPoint W))) = |
| 41 | X.supportCodimension W := by |
| 42 | let f : X.toOver ⟶ (Dimension.SpacePresentation.presentation m).toOver := |
| 43 | Over.homMk (Projection.FiniteProjective.FromForms.map X m L h) (Projection.FiniteProjective.FromForms.over_base X m L h) |
| 44 | let : IsFinite f.left := inferInstanceAs (IsFinite (Projection.FiniteProjective.FromForms.map X m L h)) |
| 45 | exact (codimension L hL (Projection.FiniteProjective.FromForms.map X m L h (CycleClass.Thom.IntersectionGeometry.supportPoint W))).trans |
| 46 | (Finite.Codimension.Projection.image f m W) |
| 47 | |
| 48 | theorem intersection_bound (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 49 | [SmoothOfRelativeDimension m X.structureMap] |
| 50 | (L : Fin (m + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1) (hL : LinearIndependent ℂ L) |
| 51 | (h : ∀ x : X.carrier, ∃ a, (L a).val ∉ (X.embedding x).asHomogeneousIdeal) |
| 52 | (W C : IrreducibleCloseds X.carrier) |
| 53 | (hC : (C : Set X.carrier) ⊆ X.embedding ⁻¹' |
| 54 | (ConeSupport.support L hL (Projection.FiniteProjective.FromForms.map X m L h (CycleClass.Thom.IntersectionGeometry.supportPoint W)) : |
| 55 | Set (Foundations.Scheme.ProjectiveSpace.projectiveSpace X.ambientDimension))) : X.supportCodimension W ≤ X.supportCodimension C := by |
| 56 | let f : X.toOver ⟶ (Dimension.SpacePresentation.presentation m).toOver := |
| 57 | Over.homMk (Projection.FiniteProjective.FromForms.map X m L h) (Projection.FiniteProjective.FromForms.over_base X m L h) |
| 58 | let : IsFinite f.left := inferInstanceAs (IsFinite (Projection.FiniteProjective.FromForms.map X m L h)) |
| 59 | apply Finite.Codimension.Projection.preimage f m W C |
| 60 | rw [ConePreimage.intersection X m L hL h W] at hC |
| 61 | exact hC |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.ConeCodimension |