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.ResidualAvoidance |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Finite.ResidueDegree |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PushforwardComposition |
| 4 | |
| 5 | /-! # Codimension -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Finite.Codimension |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finite projections between smooth schemes of equal dimension |
| 12 | preserve support codimension, including the lower bound on residual 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 | |
| 19 | namespace Projection |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity |
| 22 | |
| 23 | variable {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 24 | (f : X.toOver ⟶ Y.toOver) [IsFinite f.left] (m : ℕ) |
| 25 | [SmoothOfRelativeDimension m X.structureMap] [SmoothOfRelativeDimension m Y.structureMap] |
| 26 | |
| 27 | abbrev map : X.carrier ⟶ Y.carrier := f.left |
| 28 | |
| 29 | include m in |
| 30 | theorem image (W : IrreducibleCloseds X.carrier) : |
| 31 | Y.supportCodimension (ProperCycleLinearity.imageSupport f W) = X.supportCodimension W := by |
| 32 | have hd := PushforwardComposition.Grading.support_dimension_eq_of_degree f W |
| 33 | (Nat.ne_of_gt (ResidueDegree.positive f.left (CycleClass.Thom.IntersectionGeometry.supportPoint W))) |
| 34 | have hx := Grading.supportDimension_add_codimension X m W |
| 35 | have hy := Grading.supportDimension_add_codimension Y m (ProperCycleLinearity.imageSupport f W) |
| 36 | omega |
| 37 | |
| 38 | include m in |
| 39 | theorem preimage (W C : IrreducibleCloseds X.carrier) |
| 40 | (hC : (C : Set X.carrier) ⊆ f.left ⁻¹' (f.left '' (W : Set X.carrier))) : |
| 41 | X.supportCodimension W ≤ X.supportCodimension C := by |
| 42 | have hi : ProperCycleLinearity.imageSupport f C ≤ ProperCycleLinearity.imageSupport f W := by |
| 43 | change (ProperCycleLinearity.imageSupport f C : Set Y.carrier) ⊆ ProperCycleLinearity.imageSupport f W |
| 44 | rw [ProperCycleLinearity.imageSupport_eq_image, ProperCycleLinearity.imageSupport_eq_image] |
| 45 | rintro y ⟨x, hx, rfl⟩ |
| 46 | exact hC hx |
| 47 | have hd := (Supports.codimension_strictAnti Y m).antitone hi |
| 48 | rwa [image f m, image f m] at hd |
| 49 | |
| 50 | theorem residual_subset (W : IrreducibleCloseds X.carrier) : |
| 51 | (ResidualAvoidance.Projection.residual (map f) W : Set X.carrier) ⊆ |
| 52 | f.left ⁻¹' (f.left '' (W : Set X.carrier)) := by |
| 53 | apply closure_minimal Set.sdiff_subset |
| 54 | exact (f.left.isClosedMap _ W.isClosed).preimage f.left.continuous |
| 55 | |
| 56 | include m in |
| 57 | theorem residual (W C : IrreducibleCloseds X.carrier) |
| 58 | (hC : (C : Set X.carrier) ⊆ ResidualAvoidance.Projection.residual (map f) W) : |
| 59 | X.supportCodimension W ≤ X.supportCodimension C := |
| 60 | Projection.preimage f m W C (hC.trans (residual_subset f W)) |
| 61 | |
| 62 | end Projection |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Finite.Codimension |