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.Smooth.Cycle |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Component.Principal |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Integral.ComponentFactor |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Component.Bilinear |
| 5 | |
| 6 | /-! # Cycle Components -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.CycleComponents |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Component restriction and target factorization of smooth inverse-image cycles |
| 13 | in every codimension. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | open scoped Classical |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Component.Image OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Component.CycleMaps OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.Cycle OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Integral.ComponentFactor |
| 21 | |
| 22 | theorem restrict_flatMap {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 23 | (f : X.toOver ⟶ Y.toOver) [Smooth f.left] |
| 24 | (m n p : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 25 | [SmoothOfRelativeDimension n Y.structureMap] |
| 26 | (C : irreducibleComponents X.carrier) (a : Y.RationalDimensionCycle p) : |
| 27 | Component.CycleMaps.restrict X C p (Cycle.flatMap f p a) = Cycle.flatMap (Component.Image.inclusion X C ≫ f) p a := by |
| 28 | let : SmoothOfRelativeDimension m (X.componentVariety C).structureMap := Component.Image.component_relativeDimension X m C |
| 29 | let : Smooth (Component.Image.inclusion X C ≫ f).left := by |
| 30 | change Smooth (X.componentInclusion C ≫ f.left) |
| 31 | infer_instance |
| 32 | ext A |
| 33 | rw [Component.CycleMaps.restrict_apply, Cycle.flatMap_apply f p m n, Cycle.flatMap_apply (Component.Image.inclusion X C ≫ f) p m n] |
| 34 | have he : f.left (CycleClass.Thom.IntersectionGeometry.supportPoint (Component.Image.supportImage X C p A).val) = |
| 35 | (Component.Image.inclusion X C ≫ f).left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) := by |
| 36 | rw [Component.Image.supportImage_point] |
| 37 | rfl |
| 38 | exact congrArg (fun y : Y.carrier => a.sum (fun B r => r * if y = CycleClass.Thom.IntersectionGeometry.supportPoint B.val then 1 else 0)) he |
| 39 | |
| 40 | theorem flatMap_factor {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} [IsIntegral X.carrier] |
| 41 | (g : X.toOver ⟶ Y.toOver) [Smooth g.left] |
| 42 | (m n p : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 43 | [SmoothOfRelativeDimension n Y.structureMap] (a : Y.RationalDimensionCycle p) : |
| 44 | Cycle.flatMap g p a = Cycle.flatMap (Integral.ComponentFactor.overMap Y g) p (Component.CycleMaps.restrict Y (Integral.ComponentFactor.component (Z := X.carrier) Y g.left) p a) := by |
| 45 | let D := Integral.ComponentFactor.component (Z := X.carrier) Y g.left |
| 46 | let : SmoothOfRelativeDimension n (Y.componentVariety D).structureMap := Component.Image.component_relativeDimension Y n D |
| 47 | induction a using Finsupp.induction_linear with |
| 48 | | zero => simp |
| 49 | | add a b ha hb => simp only [map_add, ha, hb] |
| 50 | | single B r => |
| 51 | by_cases hB : (B.val : Set Y.carrier) ⊆ D.val |
| 52 | · obtain ⟨B', rfl⟩ : ∃ B', Component.Image.supportImage Y D p B' = B := |
| 53 | ⟨Component.Image.supportPreimage Y D p B hB, Component.Image.supportImage_preimage Y D p B hB⟩ |
| 54 | rw [Component.Bilinear.restrict_single_image] |
| 55 | change (Finsupp.linearCombination ℚ (Cycle.cycle g p)) (Finsupp.single _ r) = |
| 56 | (Finsupp.linearCombination ℚ (Cycle.cycle (Integral.ComponentFactor.overMap Y g) p)) (Finsupp.single B' r) |
| 57 | rw [Finsupp.linearCombination_single, Finsupp.linearCombination_single] |
| 58 | ext A |
| 59 | rw [Finsupp.smul_apply, Finsupp.smul_apply, Cycle.cycle_apply g p m n, Cycle.cycle_apply (Integral.ComponentFactor.overMap Y g) p m n] |
| 60 | have hf : g.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = Y.componentInclusion D ((Integral.ComponentFactor.overMap Y g).left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val)) := |
| 61 | (congrArg (fun h : X.carrier ⟶ Y.carrier => h (CycleClass.Thom.IntersectionGeometry.supportPoint A.val)) (Integral.ComponentFactor.fac (Z := X.carrier) Y g.left)).symm |
| 62 | have hb := Component.Image.supportImage_point Y D p B' |
| 63 | have he : g.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = CycleClass.Thom.IntersectionGeometry.supportPoint (Component.Image.supportImage Y D p B').val ↔ |
| 64 | (Integral.ComponentFactor.overMap Y g).left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = CycleClass.Thom.IntersectionGeometry.supportPoint B'.val := by |
| 65 | rw [hf, hb] |
| 66 | exact (Y.componentInclusion D).isOpenEmbedding.injective.eq_iff |
| 67 | simp only [he] |
| 68 | · rw [Component.Bilinear.restrict_single_outside Y D p B r hB, map_zero] |
| 69 | change (Finsupp.linearCombination ℚ (Cycle.cycle g p)) (Finsupp.single B r) = 0 |
| 70 | rw [Finsupp.linearCombination_single] |
| 71 | ext A |
| 72 | rw [Finsupp.smul_apply, Cycle.cycle_apply g p m n, Finsupp.zero_apply] |
| 73 | have hn : g.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) ≠ CycleClass.Thom.IntersectionGeometry.supportPoint B.val := by |
| 74 | intro he |
| 75 | have hd : g.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) ∈ D.val := |
| 76 | Y.support_subset_component (CycleClass.Geometric.StratumClosure.integralImageClosure (Y := X.carrier) (X := Y.carrier) g.left) |
| 77 | (subset_closure (Set.mem_range_self _)) |
| 78 | exact hB (Component.Principal.subset_of_mem Y D B.val (CycleClass.Thom.IntersectionGeometry.supportPoint B.val) |
| 79 | ((B.val.isIrreducible.isGenericPoint_genericPoint B.val.isClosed).mem) (he ▸ hd)) |
| 80 | rw [ite_eq_right hn, smul_zero] |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.CycleComponents |