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.DisjointProjectiveBlocks |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.EmbeddedFundamentalSupport |
| 3 | |
| 4 | /-! # Block Supports -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.BlockSupports |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Supports from a projective presentation and from a projective |
| 11 | base can be placed in disjoint blocks without changing their dimensions. -/ |
| 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 |
| 19 | |
| 20 | def ambient (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (r : ℕ) : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation := |
| 21 | Dimension.SpacePresentation.presentation (X.ambientDimension + r + 1) |
| 22 | |
| 23 | def source (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (r : ℕ) : X.toOver ⟶ (ambient X r).toOver := |
| 24 | Over.homMk (X.embedding ≫ DisjointProjectiveBlocks.left X.ambientDimension r) (by |
| 25 | change (X.embedding ≫ DisjointProjectiveBlocks.left X.ambientDimension r) ≫ |
| 26 | Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase (X.ambientDimension + r + 1) = X.structureMap |
| 27 | rw [Category.assoc, DisjointProjectiveBlocks.left_over, X.embedding_over]) |
| 28 | |
| 29 | def target (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (r : ℕ) : |
| 30 | (Dimension.SpacePresentation.presentation r).toOver ⟶ (ambient X r).toOver := |
| 31 | Over.homMk (DisjointProjectiveBlocks.right X.ambientDimension r) |
| 32 | (DisjointProjectiveBlocks.right_over X.ambientDimension r) |
| 33 | |
| 34 | instance (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (r : ℕ) : IsClosedImmersion (source X r).left := by |
| 35 | change IsClosedImmersion (X.embedding ≫ DisjointProjectiveBlocks.left X.ambientDimension r) |
| 36 | infer_instance |
| 37 | |
| 38 | instance (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (r : ℕ) : IsClosedImmersion (target X r).left := |
| 39 | inferInstanceAs (IsClosedImmersion (DisjointProjectiveBlocks.right X.ambientDimension r)) |
| 40 | |
| 41 | theorem source_dimension (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (r : ℕ) (W : IrreducibleCloseds X.carrier) : |
| 42 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (ProperCycleLinearity.imageSupport (source X r) W) (ambient X r).structureMap = |
| 43 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension W X.structureMap := |
| 44 | PushforwardComposition.Grading.support_dimension_eq_of_degree (source X r) W (by |
| 45 | rw [Principal.ClosedSectionCycle.residueDegree_immersion]; exact Nat.one_ne_zero) |
| 46 | |
| 47 | theorem target_dimension (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (r : ℕ) |
| 48 | (S : IrreducibleCloseds (Dimension.SpacePresentation.presentation r).carrier) : |
| 49 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (ProperCycleLinearity.imageSupport (target X r) S) (ambient X r).structureMap = |
| 50 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension S (Dimension.SpacePresentation.presentation r).structureMap := |
| 51 | PushforwardComposition.Grading.support_dimension_eq_of_degree (target X r) S (by |
| 52 | rw [Principal.ClosedSectionCycle.residueDegree_immersion]; exact Nat.one_ne_zero) |
| 53 | |
| 54 | theorem disjoint (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (r : ℕ) (W : IrreducibleCloseds X.carrier) |
| 55 | (S : IrreducibleCloseds (Dimension.SpacePresentation.presentation r).carrier) : |
| 56 | Disjoint (ProperCycleLinearity.imageSupport (source X r) W : Set (ambient X r).carrier) |
| 57 | (ProperCycleLinearity.imageSupport (target X r) S : Set (ambient X r).carrier) := by |
| 58 | rw [ProperCycleLinearity.imageSupport_eq_image, ProperCycleLinearity.imageSupport_eq_image, Set.disjoint_left] |
| 59 | rintro _ ⟨x, _, rfl⟩ ⟨y, _, he⟩ |
| 60 | have hd := DisjointProjectiveBlocks.ranges_disjoint X.ambientDimension r |
| 61 | rw [Set.disjoint_left] at hd |
| 62 | exact hd (Set.mem_range_self (X.embedding x)) ⟨y, he⟩ |
| 63 | |
| 64 | def sourceWhole (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) [IsIntegral X.carrier] (r : ℕ) : |
| 65 | IrreducibleCloseds (ambient X r).carrier := ProperCycleLinearity.imageSupport (source X r) (Integral.Fundamental.whole X) |
| 66 | |
| 67 | def targetWhole (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (r : ℕ) : |
| 68 | IrreducibleCloseds (ambient X r).carrier := |
| 69 | ProperCycleLinearity.imageSupport (target X r) (Integral.Fundamental.whole (Dimension.SpacePresentation.presentation r)) |
| 70 | |
| 71 | theorem sourceWhole_dimension (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) [IsIntegral X.carrier] |
| 72 | (m r : ℕ) [SmoothOfRelativeDimension m X.structureMap] : |
| 73 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (sourceWhole X r) (ambient X r).structureMap = m := by |
| 74 | rw [sourceWhole, source_dimension] |
| 75 | have he := Grading.supportDimension_add_codimension X m (Integral.Fundamental.whole X) |
| 76 | rw [Integral.Fundamental.whole_codimension X m, add_zero] at he |
| 77 | exact he |
| 78 | |
| 79 | theorem targetWhole_dimension (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (r : ℕ) : |
| 80 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (targetWhole X r) (ambient X r).structureMap = r := by |
| 81 | rw [targetWhole, target_dimension] |
| 82 | have he := Grading.supportDimension_add_codimension (Dimension.SpacePresentation.presentation r) r |
| 83 | (Integral.Fundamental.whole (Dimension.SpacePresentation.presentation r)) |
| 84 | rw [Integral.Fundamental.whole_codimension _ r, add_zero] at he |
| 85 | exact he |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.BlockSupports |