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.Flat.ImageCodimension |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports |
| 3 | |
| 4 | /-! # Cycle -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.Cycle |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Reduced inverse-image cycles in every codimension. A coefficient is one |
| 11 | precisely when its generic point maps to the specified target generic point. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | open scoped Classical |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity |
| 19 | |
| 20 | variable {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (f : X.toOver ⟶ Y.toOver) (p : ℕ) |
| 21 | |
| 22 | def support (B : Y.DimensionCycleSupport p) : Closeds X.carrier := |
| 23 | ⟨f.left ⁻¹' (B.val : Set Y.carrier), B.val.isClosed.preimage f.left.continuous⟩ |
| 24 | |
| 25 | def cycle (B : Y.DimensionCycleSupport p) : X.RationalDimensionCycle p := |
| 26 | CycleClass.Thom.IntersectionGeometry.reducedClosedCycle X p (support f p B) |
| 27 | |
| 28 | def flatMap : Y.RationalDimensionCycle p →ₗ[ℚ] X.RationalDimensionCycle p := |
| 29 | Finsupp.linearCombination ℚ (cycle f p) |
| 30 | |
| 31 | variable (m n : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 32 | [SmoothOfRelativeDimension n Y.structureMap] [Smooth f.left] |
| 33 | |
| 34 | include m n |
| 35 | |
| 36 | theorem fiber_codimension (B : Y.DimensionCycleSupport p) (W : IrreducibleCloseds X.carrier) |
| 37 | (hW : (W : Set X.carrier) ⊆ support f p B) : p ≤ X.supportCodimension W := by |
| 38 | have him := Flat.ImageCodimension.image_codimension_le f m n |
| 39 | (X.supportCodimension W) ⟨W, rfl⟩ |
| 40 | have hWB : ProperCycleLinearity.imageSupport f W ≤ B.val := by |
| 41 | change (ProperCycleLinearity.imageSupport f W : Set Y.carrier) ⊆ B.val |
| 42 | rw [ProperCycleLinearity.imageSupport_eq_image] |
| 43 | rintro _ ⟨x, hx, rfl⟩ |
| 44 | exact hW hx |
| 45 | have hh := (Supports.codimension_strictAnti Y n).antitone hWB |
| 46 | rw [B.property] at hh |
| 47 | exact hh.trans him |
| 48 | |
| 49 | theorem point_mem_iff (A : X.DimensionCycleSupport p) (B : Y.DimensionCycleSupport p) : |
| 50 | f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) ∈ (B.val : Set Y.carrier) ↔ |
| 51 | f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = CycleClass.Thom.IntersectionGeometry.supportPoint B.val := by |
| 52 | constructor |
| 53 | · intro h |
| 54 | have hIB : ProperCycleLinearity.imageSupport f A.val ≤ B.val := by |
| 55 | change closure {f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val)} ⊆ (B.val : Set Y.carrier) |
| 56 | exact B.val.isClosed.closure_subset_iff.mpr (Set.singleton_subset_iff.mpr h) |
| 57 | have he : ProperCycleLinearity.imageSupport f A.val = B.val := by |
| 58 | by_contra hn |
| 59 | have hh := Supports.codimension_strictAnti Y n (lt_of_le_of_ne hIB hn) |
| 60 | rw [B.property] at hh |
| 61 | have hb := Flat.ImageCodimension.image_codimension_le f m n p A |
| 62 | omega |
| 63 | exact (irreducibleSetEquivPoints.apply_symm_apply _).symm.trans (congrArg CycleClass.Thom.IntersectionGeometry.supportPoint he) |
| 64 | · intro h |
| 65 | rw [h] |
| 66 | exact (B.val.isIrreducible.isGenericPoint_genericPoint B.val.isClosed).mem |
| 67 | |
| 68 | theorem cycle_apply (B : Y.DimensionCycleSupport p) (A : X.DimensionCycleSupport p) : |
| 69 | cycle f p B A = if f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = CycleClass.Thom.IntersectionGeometry.supportPoint B.val then 1 else 0 := by |
| 70 | rw [cycle, CycleClass.Thom.IntersectionGeometry.reducedClosedCycle_apply] |
| 71 | congr 1 |
| 72 | apply propext |
| 73 | have hp : CycleClass.Thom.IntersectionGeometry.supportPoint A.val ∈ support f p B ↔ |
| 74 | f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = CycleClass.Thom.IntersectionGeometry.supportPoint B.val := point_mem_iff f p m n A B |
| 75 | constructor |
| 76 | · rintro ⟨D, hD⟩ |
| 77 | apply hp.mp |
| 78 | have hs := Supports.closedComponentSupport_subset X.carrier (support f p B) D |
| 79 | rw [hD] at hs |
| 80 | exact hs ((A.val.isIrreducible.isGenericPoint_genericPoint A.val.isClosed).mem) |
| 81 | · intro h |
| 82 | exact Supports.support_eq_component X m p (support f p B) |
| 83 | (fiber_codimension f p m n B) A |
| 84 | ((Supports.supportPoint_mem_iff_subset (support f p B) A.val).mp (hp.mpr h)) |
| 85 | |
| 86 | theorem flatMap_apply (a : Y.RationalDimensionCycle p) (A : X.DimensionCycleSupport p) : |
| 87 | flatMap f p a A = a.sum |
| 88 | (fun B r => r * if f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = CycleClass.Thom.IntersectionGeometry.supportPoint B.val then 1 else 0) := by |
| 89 | simp only [flatMap, Finsupp.linearCombination_apply, Finsupp.sum, Finsupp.finsetSum_apply, |
| 90 | Finsupp.smul_apply, smul_eq_mul, cycle_apply f p m n] |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.Cycle |