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.Etale.Cycles |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Finite.Moving |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.DimensionDrop |
| 4 | |
| 5 | /-! # Moving -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.Moving |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every target cycle can be moved into a position where the native |
| 12 | smooth projection formula holds against a prescribed source support. -/ |
| 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 | namespace Projection |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports.ProperCycle |
| 23 | |
| 24 | theorem representatives {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (f : X.toOver ⟶ Y.toOver) [Smooth f.left] |
| 25 | [GeometricallyIntegral (show X.carrier ⟶ Y.carrier from f.left)] |
| 26 | (m n p q s : ℕ) [SmoothOfRelativeDimension m X.structureMap] [SmoothOfRelativeDimension n Y.structureMap] |
| 27 | (hd : q + n = s + m) (a : Y.RationalDimensionCycle p) (W : X.DimensionCycleSupport q) : |
| 28 | ∃ a' : Y.RationalDimensionCycle p, CycleClass.Thom.IntersectionGeometry.RationallyEquivalent Y p a a' ∧ |
| 29 | CycleClass.Thom.IntersectionGeometry.MeetProperly X p q (Cycle.flatMap f p a') (Finsupp.single W 1) ∧ |
| 30 | CycleClass.Thom.IntersectionGeometry.MeetProperly Y p s a' (ProperCycleLinearity.cyclePushforward f q s (Finsupp.single W 1)) ∧ |
| 31 | ProperCycleLinearity.cyclePushforward f (p + q) (p + s) |
| 32 | (Supports.ProperCycle.intersectionBilinear X m p q (Cycle.flatMap f p a') (Finsupp.single W 1)) = |
| 33 | Supports.ProperCycle.intersectionBilinear Y n p s a' (ProperCycleLinearity.cyclePushforward f q s (Finsupp.single W 1)) := by |
| 34 | by_cases hi : Y.supportCodimension (ProperCycleLinearity.imageSupport f W.val) = s |
| 35 | · have hdim := Grading.image_dimension_eq_of_grade f m n q s hd W hi |
| 36 | obtain ⟨a', ha, hp, hA, U, _, hU, hgood⟩ := Finite.Moving.Projection.representatives f m n p q a W hdim |
| 37 | let : Etale (U.ι ≫ Support.Map.supportImageMap f W.val) := hU |
| 38 | let B : Y.DimensionCycleSupport s := ⟨ProperCycleLinearity.imageSupport f W.val, hi⟩ |
| 39 | rw [hi] at hA hgood |
| 40 | have hY : ∀ A ∈ a'.support, Supports.ProperCycle.pairMeetsProperly Y p s A B := hA |
| 41 | refine ⟨a', ha, hp, ?_, ?_⟩ |
| 42 | · exact ProjectionFormula.Etale.Cycles.Projection.meets f p q s a' W B rfl hY |
| 43 | · exact ProjectionFormula.Etale.Cycles.Projection.cycle f m n p q s hd a' W B rfl hp hY U hgood |
| 44 | · have hdx := Grading.supportDimension_add_codimension X m W.val |
| 45 | have hdy := Grading.supportDimension_add_codimension Y n (ProperCycleLinearity.imageSupport f W.val) |
| 46 | have hle := Support.Fields.image_dimension_le f W.val |
| 47 | rw [W.property] at hdx |
| 48 | have hdrop : s < Y.supportCodimension (ProperCycleLinearity.imageSupport f W.val) := by omega |
| 49 | obtain ⟨a', ha, hA, hrel⟩ := Relative.Moving.with_images f m n p q a (Finsupp.single W 1) |
| 50 | have hp : CycleClass.Thom.IntersectionGeometry.MeetProperly X p q (Cycle.flatMap f p a') (Finsupp.single W 1) := by |
| 51 | intro L hL D hD C hC |
| 52 | obtain ⟨A, hAs, _, hLA⟩ := CycleSupport.origin f m n p a' L hL |
| 53 | exact hrel A hAs D hD C (fun x hx => ⟨(hC hx).2, hLA (hC hx).1⟩) |
| 54 | have hAW : ∀ A ∈ a'.support, ∀ C : IrreducibleCloseds Y.carrier, |
| 55 | (C : Set Y.carrier) ⊆ (A.val : Set Y.carrier) ∩ ProperCycleLinearity.imageSupport f W.val → |
| 56 | p + Y.supportCodimension (ProperCycleLinearity.imageSupport f W.val) ≤ Y.supportCodimension C := |
| 57 | fun A hAs => hA A hAs W (by simp) |
| 58 | refine ⟨a', ha, hp, ?_, DimensionDrop.Projection.cycle f m n p q s a' W hp hAW hdrop⟩ |
| 59 | rw [DimensionDrop.Projection.support_zero f q s W hdrop] |
| 60 | intro A _ B hB |
| 61 | simp at hB |
| 62 | |
| 63 | end Projection |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.Moving |