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.Clopen.Bilinear |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.DivisorCycle |
| 3 | |
| 4 | /-! # Smooth Target -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Clopen.SmoothTarget |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Smooth divisor pullback through a map factoring through an open |
| 11 | and closed target part uses exactly the restricted divisor cycle. -/ |
| 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.CurveFiberCycle OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Clopen.Cycle OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Clopen.CycleMaps OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Clopen.Bilinear |
| 19 | |
| 20 | theorem factor {X V Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 21 | (i : V.toOver ⟶ Y.toOver) [IsOpenImmersion i.left] [IsClosedImmersion i.left] |
| 22 | (f : X.toOver ⟶ V.toOver) [Smooth f.left] |
| 23 | (m n : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 24 | [SmoothOfRelativeDimension n V.structureMap] [SmoothOfRelativeDimension n Y.structureMap] |
| 25 | (a : Y.RationalDimensionCycle 1) : |
| 26 | CurveFiberCycle.flatMap (f ≫ i) a = CurveFiberCycle.flatMap f (CycleMaps.restrict i n 1 a) := by |
| 27 | let : Smooth (f ≫ i).left := by |
| 28 | change Smooth (f.left ≫ i.left) |
| 29 | infer_instance |
| 30 | induction a using Finsupp.induction_linear with |
| 31 | | zero => simp |
| 32 | | add a b ha hb => simp only [map_add, ha, hb] |
| 33 | | single B r => |
| 34 | by_cases hB : (B.val : Set Y.carrier) ⊆ Set.range i.left |
| 35 | · obtain ⟨B', rfl⟩ : ∃ B', Cycle.supportImage i n 1 B' = B := |
| 36 | ⟨Cycle.supportPreimage i n 1 B hB, Cycle.supportImage_preimage i n 1 B hB⟩ |
| 37 | rw [Bilinear.restrict_single_image] |
| 38 | change (Finsupp.linearCombination ℚ (CurveFiberCycle.cycle (f ≫ i))) (Finsupp.single _ r) = |
| 39 | (Finsupp.linearCombination ℚ (CurveFiberCycle.cycle f)) (Finsupp.single B' r) |
| 40 | rw [Finsupp.linearCombination_single, Finsupp.linearCombination_single] |
| 41 | ext A |
| 42 | rw [Finsupp.smul_apply, Finsupp.smul_apply, |
| 43 | ProjectionFormula.Smooth.DivisorCycle.cycle_apply (f ≫ i) m n, ProjectionFormula.Smooth.DivisorCycle.cycle_apply f m n] |
| 44 | have he : (f ≫ i).left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = CycleClass.Thom.IntersectionGeometry.supportPoint (Cycle.supportImage i n 1 B').val ↔ |
| 45 | f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = CycleClass.Thom.IntersectionGeometry.supportPoint B'.val := by |
| 46 | change i.left (f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val)) = |
| 47 | CycleClass.Thom.IntersectionGeometry.supportPoint (ProperCycleLinearity.imageSupport i B'.val) ↔ _ |
| 48 | rw [Cycle.image_point] |
| 49 | exact i.left.isOpenEmbedding.injective.eq_iff |
| 50 | simp only [he] |
| 51 | · rw [Bilinear.restrict_single_outside i n 1 B r hB, map_zero] |
| 52 | change (Finsupp.linearCombination ℚ (CurveFiberCycle.cycle (f ≫ i))) (Finsupp.single B r) = 0 |
| 53 | rw [Finsupp.linearCombination_single] |
| 54 | ext A |
| 55 | rw [Finsupp.smul_apply, ProjectionFormula.Smooth.DivisorCycle.cycle_apply (f ≫ i) m n, Finsupp.zero_apply] |
| 56 | have hn : (f ≫ i).left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) ≠ CycleClass.Thom.IntersectionGeometry.supportPoint B.val := by |
| 57 | intro he |
| 58 | have hr : CycleClass.Thom.IntersectionGeometry.supportPoint B.val ∈ Set.range i.left := by |
| 59 | rw [← he] |
| 60 | exact Set.mem_range_self _ |
| 61 | exact hB (Cycle.subset_range_of_mem i B.val (CycleClass.Thom.IntersectionGeometry.supportPoint B.val) |
| 62 | (B.val.isIrreducible.isGenericPoint_genericPoint B.val.isClosed).mem hr) |
| 63 | rw [ite_eq_right hn, smul_zero] |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Clopen.SmoothTarget |