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.SectionPair |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CycleLinearExpansion |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.CycleSupport |
| 4 | |
| 5 | /-! # Section Cycles -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.SectionCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The section intersection identity extends bilinearly to all |
| 12 | properly meeting rational cycles while retaining their original supports. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | open scoped Classical |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports.ProperCycle OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.EmbeddingCycle OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.EmbeddingCycle.Maps |
| 21 | |
| 22 | variable {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (s : Y.toOver ⟶ X.toOver) [IsClosedImmersion s.left] |
| 23 | (f : X.toOver ⟶ Y.toOver) [Smooth f.left] |
| 24 | [GeometricallyIntegral (show X.carrier ⟶ Y.carrier from f.left)] (hs : s ≫ f = 𝟙 Y.toOver) |
| 25 | (m n r : ℕ) [SmoothOfRelativeDimension m X.structureMap] [SmoothOfRelativeDimension n Y.structureMap] |
| 26 | (hd : n + r = m) (p q : ℕ) (b : Y.RationalDimensionCycle p) (d : Y.RationalDimensionCycle q) |
| 27 | (hbd : CycleClass.Thom.IntersectionGeometry.MeetProperly Y p q b d) |
| 28 | |
| 29 | omit [IsClosedImmersion s.left] in |
| 30 | theorem flatMap_eq_mapDomain : Cycle.flatMap f p b = |
| 31 | Finsupp.mapDomain (Integral.FiberCycles.support f m n p) b := by |
| 32 | induction b using Finsupp.induction_linear with |
| 33 | | zero => simp |
| 34 | | add a b ha hb => simp only [map_add, Finsupp.mapDomain_add, ha, hb] |
| 35 | | single B c => |
| 36 | rw [Cycle.flatMap, Finsupp.linearCombination_single, |
| 37 | Integral.FiberCycles.cycle_single f m n p B, Finsupp.smul_single, |
| 38 | smul_eq_mul, mul_one, Finsupp.mapDomain_single] |
| 39 | |
| 40 | include hs hd hbd in |
| 41 | theorem meets : CycleClass.Thom.IntersectionGeometry.MeetProperly X p (q + r) (Cycle.flatMap f p b) |
| 42 | (ProperCycleLinearity.cyclePushforward s q (q + r) d) := by |
| 43 | rw [flatMap_eq_mapDomain f m n p b, ← Closed.EmbeddingCycle.Maps.embed_eq_pushforward s n m q (q + r) (by omega)] |
| 44 | intro A hA E hE |
| 45 | obtain ⟨B, hB, rfl⟩ := Finset.mem_image.mp (Finsupp.mapDomain_support hA) |
| 46 | obtain ⟨D, hD, rfl⟩ := Finset.mem_image.mp (Finsupp.mapDomain_support hE) |
| 47 | exact SectionPair.proper s f hs m n r hd p q B D (hbd B hB D hD) |
| 48 | |
| 49 | include hs hd hbd in |
| 50 | theorem cycle : Supports.ProperCycle.intersectionBilinear X m p (q + r) (Cycle.flatMap f p b) |
| 51 | (ProperCycleLinearity.cyclePushforward s q (q + r) d) = |
| 52 | ProperCycleLinearity.cyclePushforward s (p + q) (p + (q + r)) (Supports.ProperCycle.intersectionBilinear Y n p q b d) := by |
| 53 | rw [← Closed.EmbeddingCycle.Maps.embed_eq_pushforward s n m q (q + r) (by omega), |
| 54 | ← Closed.EmbeddingCycle.Maps.embed_eq_pushforward s n m (p + q) (p + (q + r)) (by omega)] |
| 55 | let F := (Supports.ProperCycle.intersectionBilinear X m p (q + r)).compl₁₂ (Cycle.flatMap f p) |
| 56 | (Closed.EmbeddingCycle.Maps.embed s n m q (q + r) (by omega)) |
| 57 | change F b d = _ |
| 58 | rw [CycleLinearExpansion.bilinear_sum F b d, CycleLinearExpansion.intersection Y n p q b d] |
| 59 | simp only [map_sum, map_smul] |
| 60 | apply Finset.sum_congr rfl |
| 61 | intro B hB |
| 62 | apply Finset.sum_congr rfl |
| 63 | intro D hD |
| 64 | congr 1 |
| 65 | change Supports.ProperCycle.intersectionBilinear X m p (q + r) (Cycle.flatMap f p (Finsupp.single B 1)) |
| 66 | (Closed.EmbeddingCycle.Maps.embed s n m q (q + r) (by omega) (Finsupp.single D 1)) = _ |
| 67 | rw [Cycle.flatMap, Finsupp.linearCombination_single, |
| 68 | Integral.FiberCycles.cycle_single f m n p B, one_smul, Closed.EmbeddingCycle.Maps.embed_single] |
| 69 | simp only [Supports.ProperCycle.intersectionBilinear, Finsupp.linearCombination_single, one_smul] |
| 70 | exact SectionPair.pair s f hs m n r hd p q B D (hbd B hB D hD) |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.SectionCycles |