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.Supported.ProjectiveSupportIsolation |
| 2 | |
| 3 | /-! # Intrinsic Irreducible Intersection -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicIrreducibleIntersection.Constructions.Intrinsic |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A one-component proper intersection in the native integral-variety |
| 10 | grading has precisely its genuine local Serre coefficient. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.CycleClass.Thom.Supported.ProjectiveSupportIsolation.Constructions.Intersection OAI.AlgebraicGeometry.CycleClass.Thom.Supported.Map.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Intersection.Supports |
| 15 | |
| 16 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p q : ℕ} |
| 17 | (A : Geometric.DimensionCycles.DimensionCycleSupport V p) (B : Geometric.DimensionCycles.DimensionCycleSupport V q) |
| 18 | (C : Geometric.DimensionCycles.DimensionCycleSupport V (p + q)) |
| 19 | (hC : (C.val : Set V.carrier) = (A.val : Set V.carrier) ∩ (B.val : Set V.carrier)) |
| 20 | |
| 21 | include hC in |
| 22 | theorem intersection_dimension_bound (Z : IrreducibleCloseds V.carrier) |
| 23 | (hZ : (Z : Set V.carrier) ⊆ Supported.ProjectiveSupportIsolation.Constructions.Intersection.intersectionClosed V p q A B) : |
| 24 | p + q ≤ Geometric.DimensionCycles.dimensionCodimension V Z := by |
| 25 | have hZC : Z ≤ C.val := by |
| 26 | change (Z : Set V.carrier) ⊆ (C.val : Set V.carrier) |
| 27 | rw [hC] |
| 28 | exact hZ |
| 29 | rw [← C.property] |
| 30 | exact Nat.sub_le_sub_left ((Foundations.Scheme.SupportDimensionDrop.supportTranscendenceDimension_strictMono V.structureMap).monotone hZC) _ |
| 31 | |
| 32 | include hC in |
| 33 | theorem multiplicity_eq_zero_of_ne (D : Geometric.DimensionCycles.DimensionCycleSupport V (p + q)) (hD : D ≠ C) : |
| 34 | IntersectionGeometry.intersectionMultiplicity V.presentation A.val B.val D.val = 0 := by |
| 35 | apply dite_eq_right |
| 36 | intro hx |
| 37 | have hDC : D.val ≤ C.val := by |
| 38 | apply (Intersection.Supports.supportPoint_mem_iff_subset (⟨C.val, C.val.isClosed⟩ : Closeds V.carrier) D.val).mp |
| 39 | change IntersectionGeometry.supportPoint D.val ∈ (C.val : Set V.carrier) |
| 40 | rwa [hC] |
| 41 | have hne : D.val ≠ C.val := fun h => hD (Subtype.ext h) |
| 42 | have ht := Foundations.Scheme.SupportDimensionDrop.supportTranscendenceDimension_lt_of_lt D.val C.val V.structureMap |
| 43 | (lt_of_le_of_ne hDC hne) |
| 44 | have h₁ := Geometric.DimensionCycles.supportDimension_add_dimensionCodimension V D.val |
| 45 | have h₂ := Geometric.DimensionCycles.supportDimension_add_dimensionCodimension V C.val |
| 46 | rw [D.property] at h₁ |
| 47 | rw [C.property] at h₂ |
| 48 | omega |
| 49 | |
| 50 | include hC in |
| 51 | theorem supportedPairCycle_forget_eq_single |
| 52 | (hproper : ∀ Z : IrreducibleCloseds V.carrier, |
| 53 | (Z : Set V.carrier) ⊆ Supported.ProjectiveSupportIsolation.Constructions.Intersection.intersectionClosed V p q A B → p + q ≤ Geometric.DimensionCycles.dimensionCodimension V Z) : |
| 54 | Supported.Map.Constructions.forgetCycle V (Supported.ProjectiveSupportIsolation.Constructions.Intersection.intersectionClosed V p q A B) (p + q) |
| 55 | (Supported.ProjectiveSupportIsolation.Constructions.Intersection.supportedPairCycle V p q A B hproper) = |
| 56 | Finsupp.single C (IntersectionGeometry.intersectionMultiplicity V.presentation A.val B.val C.val) := by |
| 57 | classical |
| 58 | ext D |
| 59 | rw [Supported.ProjectiveSupportIsolation.Constructions.Intersection.supportedPairCycle_forget_coefficient] |
| 60 | by_cases hD : D = C |
| 61 | · subst D |
| 62 | simp only [Finsupp.single_eq_same] |
| 63 | · rw [multiplicity_eq_zero_of_ne A B C hC D hD, Finsupp.single_eq_of_ne hD] |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicIrreducibleIntersection.Constructions.Intrinsic |