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.CycleClass.Thom.Diagonal.Ambient |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ProperSupport |
| 3 | |
| 4 | /-! # Support -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Support.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Original irreducible supports on the diagonal and their exact |
| 11 | codimensions. Algebraic codimension bounds transfer to the actual |
| 12 | diagonal intersection in the smooth projective product. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Ambient.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Integral.ProductSupport.Constructions |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 22 | |
| 23 | local instance : IsIntegral V.toOver.left := inferInstanceAs (IsIntegral V.carrier) |
| 24 | |
| 25 | local notation "T" => OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Ambient.Constructions.productVariety V V |
| 26 | local notation "δ" => OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Ambient.Constructions.diagonal V |
| 27 | |
| 28 | local instance : IsIntegral (Ambient.Constructions.productVariety V V).carrier := (Ambient.Constructions.productVariety V V).property |
| 29 | |
| 30 | def diagonalClosedSupport : IrreducibleCloseds (T).carrier := Geometric.StratumClosure.integralImageClosure (Ambient.Constructions.diagonal V).left |
| 31 | |
| 32 | theorem diagonalClosedSupport_coe : (diagonalClosedSupport V : Set (T).carrier) = Set.range (δ).left := |
| 33 | (δ).left.isClosedEmbedding.isClosed_range.closure_eq |
| 34 | |
| 35 | theorem exists_diagonal_source (D : IrreducibleCloseds (T).carrier) |
| 36 | (hD : (D : Set (T).carrier) ⊆ Set.range (δ).left) : |
| 37 | ∃ A : IrreducibleCloseds V.carrier, Scheme.ProperSupport.Constructions.imageSupport δ A = D := by |
| 38 | obtain ⟨x, hx⟩ := hD (D.isIrreducible.isGenericPoint_genericPoint D.isClosed).mem |
| 39 | let A : IrreducibleCloseds V.carrier := irreducibleSetEquivPoints.symm x |
| 40 | refine ⟨A, irreducibleSetEquivPoints.injective ?_⟩ |
| 41 | rw [Scheme.ProperSupport.Constructions.imageSupport_genericPoint] |
| 42 | exact (congrArg (δ).left (irreducibleSetEquivPoints.apply_symm_apply x)).trans hx |
| 43 | |
| 44 | theorem diagonal_image_dimension (A : IrreducibleCloseds V.carrier) : |
| 45 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (Scheme.ProperSupport.Constructions.imageSupport δ A) (T).structureMap = |
| 46 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension A V.structureMap := by |
| 47 | let : IsClosedImmersion (ProperImage.SupportMap.Constructions.Construction.algebraicMap δ) := Ambient.Constructions.diagonal_closed V |
| 48 | have h := Geometric.StratumClosure.schemeTranscendenceDimension_eq_imageClosure |
| 49 | (Geometric.GenericPoint.reducedSupportι A ≫ ProperImage.SupportMap.Constructions.Construction.algebraicMap δ) (T).structureMap |
| 50 | rw [Category.assoc, ProperImage.SupportMap.Constructions.Construction.algebraicMap_over] at h |
| 51 | exact h.symm |
| 52 | |
| 53 | theorem diagonal_image_codimension (A : IrreducibleCloseds V.carrier) : |
| 54 | Geometric.DimensionCycles.dimensionCodimension T (Scheme.ProperSupport.Constructions.imageSupport δ A) = |
| 55 | Geometric.DimensionCycles.dimensionCodimension V A + V.complexDimension := by |
| 56 | have hdim : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (T).structureMap = |
| 57 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension V.structureMap + Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension V.structureMap := by |
| 58 | simpa only [Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.complexDimension_eq_transcendenceDimension] using Ambient.Constructions.product_dimension V V |
| 59 | have hA := Foundations.Scheme.SupportDimension.supportTranscendenceDimension_le A V.structureMap |
| 60 | unfold Geometric.DimensionCycles.dimensionCodimension |
| 61 | rw [diagonal_image_dimension, hdim, Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.complexDimension_eq_transcendenceDimension] |
| 62 | omega |
| 63 | |
| 64 | theorem diagonal_image_dimension_bound (F : Set V.carrier) (d : ℕ) |
| 65 | (hF : ∀ A : IrreducibleCloseds V.carrier, (A : Set V.carrier) ⊆ F → d ≤ Geometric.DimensionCycles.dimensionCodimension V A) |
| 66 | (D : IrreducibleCloseds (T).carrier) (hD : (D : Set (T).carrier) ⊆ (δ).left '' F) : |
| 67 | d + V.complexDimension ≤ Geometric.DimensionCycles.dimensionCodimension T D := by |
| 68 | obtain ⟨A, hA⟩ := exists_diagonal_source V D (hD.trans (Set.image_subset_range _ _)) |
| 69 | have hAF : (A : Set V.carrier) ⊆ F := by |
| 70 | intro x hx |
| 71 | have hxD : (δ).left x ∈ (D : Set (T).carrier) := by |
| 72 | rw [← hA, Scheme.ProperSupport.Constructions.imageSupport_eq_image] |
| 73 | exact ⟨x, hx, rfl⟩ |
| 74 | obtain ⟨y, hy, he⟩ := hD hxD |
| 75 | exact (δ).left.isClosedEmbedding.injective he ▸ hy |
| 76 | rw [← hA, diagonal_image_codimension] |
| 77 | exact Nat.add_le_add_right (hF A hAF) _ |
| 78 | |
| 79 | theorem diagonal_product_intersection (p q : ℕ) (A : Geometric.DimensionCycles.DimensionCycleSupport V p) (B : Geometric.DimensionCycles.DimensionCycleSupport V q) : |
| 80 | (diagonalClosedSupport V : Set (T).carrier) ∩ |
| 81 | ((Integral.ProductSupport.Constructions.integralProductSupport V V T (Ambient.Constructions.first V V) (Ambient.Constructions.second V V) (Ambient.Constructions.productLimit V V) p q A B).val : Set (T).carrier) = |
| 82 | (δ).left '' ((A.val : Set V.carrier) ∩ (B.val : Set V.carrier)) := by |
| 83 | rw [diagonalClosedSupport_coe, ← Ambient.Constructions.diagonal_product_preimage V p q A B] |
| 84 | exact (Set.inter_comm _ _).trans Set.image_preimage_eq_inter_range.symm |
| 85 | |
| 86 | theorem diagonal_product_dimension_bound (p q : ℕ) (A : Geometric.DimensionCycles.DimensionCycleSupport V p) (B : Geometric.DimensionCycles.DimensionCycleSupport V q) |
| 87 | (hproper : ∀ D : IrreducibleCloseds V.carrier, |
| 88 | (D : Set V.carrier) ⊆ (A.val : Set V.carrier) ∩ (B.val : Set V.carrier) → p + q ≤ Geometric.DimensionCycles.dimensionCodimension V D) |
| 89 | (D : IrreducibleCloseds (T).carrier) |
| 90 | (hD : (D : Set (T).carrier) ⊆ (diagonalClosedSupport V : Set (T).carrier) ∩ |
| 91 | ((Integral.ProductSupport.Constructions.integralProductSupport V V T (Ambient.Constructions.first V V) (Ambient.Constructions.second V V) (Ambient.Constructions.productLimit V V) p q A B).val : Set (T).carrier)) : |
| 92 | (p + q) + V.complexDimension ≤ Geometric.DimensionCycles.dimensionCodimension T D := by |
| 93 | rw [diagonal_product_intersection] at hD |
| 94 | exact diagonal_image_dimension_bound V _ (p + q) hproper D hD |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Support.Constructions |