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.PushforwardComposition |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.SupportDimension |
| 3 | |
| 4 | /-! # Embedding Cycle -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.EmbeddingCycle |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Native cycle supports under a closed embedding, with the actual |
| 13 | change of codimension and a support inverse on its image. -/ |
| 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 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity |
| 21 | |
| 22 | variable {V X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (i : V.toOver ⟶ X.toOver) [IsClosedImmersion i.left] |
| 23 | (m n : ℕ) [SmoothOfRelativeDimension m V.structureMap] [SmoothOfRelativeDimension n X.structureMap] |
| 24 | |
| 25 | theorem image_codimension (A : IrreducibleCloseds V.carrier) : |
| 26 | X.supportCodimension (ProperCycleLinearity.imageSupport i A) + m = V.supportCodimension A + n := by |
| 27 | have hd := PushforwardComposition.Grading.support_dimension_eq_of_degree i A (by |
| 28 | rw [Principal.ClosedSectionCycle.residueDegree_immersion] |
| 29 | exact Nat.one_ne_zero) |
| 30 | have hv := Grading.supportDimension_add_codimension V m A |
| 31 | have hx := Grading.supportDimension_add_codimension X n (ProperCycleLinearity.imageSupport i A) |
| 32 | omega |
| 33 | |
| 34 | def supportImage (p q : ℕ) (hdeg : p + n = q + m) (A : V.DimensionCycleSupport p) : X.DimensionCycleSupport q := |
| 35 | ⟨ProperCycleLinearity.imageSupport i A.val, by |
| 36 | have he := image_codimension i m n A.val |
| 37 | rw [A.property] at he |
| 38 | omega⟩ |
| 39 | |
| 40 | theorem supportImage_injective (p q : ℕ) (hdeg : p + n = q + m) : |
| 41 | Function.Injective (supportImage i m n p q hdeg) := by |
| 42 | intro A B he |
| 43 | apply Subtype.ext |
| 44 | apply irreducibleSetEquivPoints.injective |
| 45 | apply i.left.isClosedEmbedding.injective |
| 46 | have hpoints := congrArg (fun D : X.DimensionCycleSupport q => CycleClass.Thom.IntersectionGeometry.supportPoint D.val) he |
| 47 | exact (irreducibleSetEquivPoints.apply_symm_apply _).symm.trans |
| 48 | (hpoints.trans (irreducibleSetEquivPoints.apply_symm_apply _)) |
| 49 | |
| 50 | def preimage (B : IrreducibleCloseds X.carrier) (hB : (B : Set X.carrier) ⊆ Set.range i.left) : |
| 51 | IrreducibleCloseds V.carrier := SupportDimension.preimage i.left B hB |
| 52 | |
| 53 | omit [SmoothOfRelativeDimension m V.structureMap] [SmoothOfRelativeDimension n X.structureMap] in |
| 54 | theorem image_preimage (B : IrreducibleCloseds X.carrier) (hB : (B : Set X.carrier) ⊆ Set.range i.left) : |
| 55 | ProperCycleLinearity.imageSupport i (preimage i B hB) = B := |
| 56 | (Support.Map.imageClosure_eq i (preimage i B hB)).symm.trans |
| 57 | (SupportDimension.imageClosure i.left B hB) |
| 58 | |
| 59 | def supportPreimage (p q : ℕ) (hdeg : p + n = q + m) (B : X.DimensionCycleSupport q) |
| 60 | (hB : (B.val : Set X.carrier) ⊆ Set.range i.left) : V.DimensionCycleSupport p := |
| 61 | ⟨preimage i B.val hB, by |
| 62 | have he := image_codimension i m n (preimage i B.val hB) |
| 63 | rw [image_preimage, B.property] at he |
| 64 | omega⟩ |
| 65 | |
| 66 | theorem supportImage_preimage (p q : ℕ) (hdeg : p + n = q + m) (B : X.DimensionCycleSupport q) |
| 67 | (hB : (B.val : Set X.carrier) ⊆ Set.range i.left) : |
| 68 | supportImage i m n p q hdeg (supportPreimage i m n p q hdeg B hB) = B := |
| 69 | Subtype.ext (image_preimage i B.val hB) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | /-! Closed embedding pushforward is the injective renaming of native |
| 74 | cycle supports. Its coefficient restriction is inverse on supported cycles. -/ |
| 75 | |
| 76 | set_option backward.isDefEq.respectTransparency false |
| 77 | set_option backward.isDefEq.respectTransparency.types false |
| 78 | |
| 79 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 80 | open scoped Classical |
| 81 | |
| 82 | namespace Maps |
| 83 | |
| 84 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.EmbeddingCycle |
| 85 | |
| 86 | variable {V X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (i : V.toOver ⟶ X.toOver) [IsClosedImmersion i.left] |
| 87 | (m n : ℕ) [SmoothOfRelativeDimension m V.structureMap] [SmoothOfRelativeDimension n X.structureMap] |
| 88 | (p q : ℕ) (hdeg : p + n = q + m) |
| 89 | |
| 90 | def embed : V.RationalDimensionCycle p →ₗ[ℚ] X.RationalDimensionCycle q := |
| 91 | Finsupp.lmapDomain ℚ ℚ (supportImage i m n p q hdeg) |
| 92 | |
| 93 | def restrict : X.RationalDimensionCycle q →ₗ[ℚ] V.RationalDimensionCycle p := |
| 94 | Finsupp.lcomapDomain (supportImage i m n p q hdeg) (supportImage_injective i m n p q hdeg) |
| 95 | |
| 96 | theorem restrict_apply (a : X.RationalDimensionCycle q) (A : V.DimensionCycleSupport p) : |
| 97 | restrict i m n p q hdeg a A = a (supportImage i m n p q hdeg A) := rfl |
| 98 | |
| 99 | theorem embed_single (A : V.DimensionCycleSupport p) (r : ℚ) : |
| 100 | embed i m n p q hdeg (Finsupp.single A r) = Finsupp.single (supportImage i m n p q hdeg A) r := |
| 101 | Finsupp.mapDomain_single |
| 102 | |
| 103 | theorem restrict_embed (a : V.RationalDimensionCycle p) : |
| 104 | restrict i m n p q hdeg (embed i m n p q hdeg a) = a := |
| 105 | Finsupp.leftInverse_lcomapDomain_mapDomain _ (supportImage_injective i m n p q hdeg) a |
| 106 | |
| 107 | theorem embed_eq_pushforward : embed i m n p q hdeg = ProperCycleLinearity.cyclePushforward i p q := by |
| 108 | apply Finsupp.lhom_ext |
| 109 | intro A r |
| 110 | have hc : X.supportCodimension (ProperCycleLinearity.imageSupport i A.val) = q := (supportImage i m n p q hdeg A).property |
| 111 | rw [embed_single, ProperCycleLinearity.cyclePushforward_single, ProperCycleLinearity.cyclePushforwardGenerator, |
| 112 | Principal.ClosedSectionCycle.residueDegree_immersion, Nat.cast_one, one_smul, |
| 113 | CycleClass.Thom.IntersectionGeometry.supportInDegree, dite_eq_left hc] |
| 114 | simp only [Finsupp.smul_single, smul_eq_mul, mul_one] |
| 115 | rfl |
| 116 | |
| 117 | theorem embed_restrict (a : X.RationalDimensionCycle q) |
| 118 | (ha : ∀ A ∈ a.support, (A.val : Set X.carrier) ⊆ Set.range i.left) : |
| 119 | embed i m n p q hdeg (restrict i m n p q hdeg a) = a := by |
| 120 | apply Finsupp.mapDomain_comapDomain _ (supportImage_injective i m n p q hdeg) |
| 121 | intro A hA |
| 122 | exact ⟨supportPreimage i m n p q hdeg A (ha A hA), supportImage_preimage i m n p q hdeg A (ha A hA)⟩ |
| 123 | |
| 124 | include hdeg in |
| 125 | theorem pushforward_injective : Function.Injective (ProperCycleLinearity.cyclePushforward i p q) := by |
| 126 | rw [← embed_eq_pushforward i m n p q hdeg] |
| 127 | exact (show Function.LeftInverse (restrict i m n p q hdeg) (embed i m n p q hdeg) from |
| 128 | restrict_embed i m n p q hdeg).injective |
| 129 | |
| 130 | end Maps |
| 131 | |
| 132 | end |
| 133 | |
| 134 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.EmbeddingCycle |