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.General.ClopenCycles |
| 2 | |
| 3 | /-! # Clopen Target -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.General.ClopenTarget |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Smooth inverse image through an open and closed target part uses |
| 10 | the restricted target cycle, in every codimension. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | open scoped Classical |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.Cycle 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 p : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 24 | [SmoothOfRelativeDimension n V.structureMap] [SmoothOfRelativeDimension n Y.structureMap] |
| 25 | (a : Y.RationalDimensionCycle p) : ProjectionFormula.Smooth.Cycle.flatMap (f ≫ i) p a = ProjectionFormula.Smooth.Cycle.flatMap f p (Clopen.CycleMaps.restrict i n p a) := by |
| 26 | let : Smooth (f ≫ i).left := by change Smooth (f.left ≫ i.left); infer_instance |
| 27 | induction a using Finsupp.induction_linear with |
| 28 | | zero => simp |
| 29 | | add a b ha hb => simp only [map_add, ha, hb] |
| 30 | | single B r => |
| 31 | by_cases hB : (B.val : Set Y.carrier) ⊆ Set.range i.left |
| 32 | · obtain ⟨B', rfl⟩ : ∃ B', Clopen.Cycle.supportImage i n p B' = B := |
| 33 | ⟨Clopen.Cycle.supportPreimage i n p B hB, Clopen.Cycle.supportImage_preimage i n p B hB⟩ |
| 34 | rw [Clopen.Bilinear.restrict_single_image] |
| 35 | change (Finsupp.linearCombination ℚ (ProjectionFormula.Smooth.Cycle.cycle (f ≫ i) p)) (Finsupp.single _ r) = |
| 36 | (Finsupp.linearCombination ℚ (ProjectionFormula.Smooth.Cycle.cycle f p)) (Finsupp.single B' r) |
| 37 | rw [Finsupp.linearCombination_single, Finsupp.linearCombination_single] |
| 38 | ext A |
| 39 | rw [Finsupp.smul_apply, Finsupp.smul_apply, |
| 40 | ProjectionFormula.Smooth.Cycle.cycle_apply (f ≫ i) p m n, ProjectionFormula.Smooth.Cycle.cycle_apply f p m n] |
| 41 | have he : (f ≫ i).left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = CycleClass.Thom.IntersectionGeometry.supportPoint (Clopen.Cycle.supportImage i n p B').val ↔ |
| 42 | f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = CycleClass.Thom.IntersectionGeometry.supportPoint B'.val := by |
| 43 | change i.left (f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val)) = CycleClass.Thom.IntersectionGeometry.supportPoint (ProperCycleLinearity.imageSupport i B'.val) ↔ _ |
| 44 | rw [Clopen.Cycle.image_point] |
| 45 | exact i.left.isOpenEmbedding.injective.eq_iff |
| 46 | simp only [he] |
| 47 | · rw [Clopen.Bilinear.restrict_single_outside i n p B r hB, map_zero] |
| 48 | change (Finsupp.linearCombination ℚ (ProjectionFormula.Smooth.Cycle.cycle (f ≫ i) p)) (Finsupp.single B r) = 0 |
| 49 | rw [Finsupp.linearCombination_single] |
| 50 | ext A |
| 51 | rw [Finsupp.smul_apply, ProjectionFormula.Smooth.Cycle.cycle_apply (f ≫ i) p m n, Finsupp.zero_apply] |
| 52 | have hn : (f ≫ i).left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) ≠ CycleClass.Thom.IntersectionGeometry.supportPoint B.val := by |
| 53 | intro he |
| 54 | have hr : CycleClass.Thom.IntersectionGeometry.supportPoint B.val ∈ Set.range i.left := by rw [← he]; exact Set.mem_range_self _ |
| 55 | exact hB (Clopen.Cycle.subset_range_of_mem i B.val (CycleClass.Thom.IntersectionGeometry.supportPoint B.val) |
| 56 | (B.val.isIrreducible.isGenericPoint_genericPoint B.val.isClosed).mem hr) |
| 57 | rw [ite_eq_right hn, smul_zero] |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.General.ClopenTarget |