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 | /- |
| 2 | Copyright 2026 The Formal Conjectures Authors. |
| 3 | Released under Apache 2.0 license as described in the file LICENSE. |
| 4 | |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | |
| 8 | import HodgeConjecture.Definitions.AlgebraicGeometry.Cycle.Component.SmoothClosedLift |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.Cycle.ComponentSmoothCoe |
| 11 | |
| 12 | open _root_.AlgebraicGeometry |
| 13 | |
| 14 | /-! |
| 15 | # The smooth-locus closed lift of an integral cycle component |
| 16 | |
| 17 | Lemmas about the definitions in |
| 18 | `HodgeConjecture.Definitions.AlgebraicGeometry.Cycle.Component.SmoothClosedLift`. |
| 19 | -/ |
| 20 | |
| 21 | noncomputable section |
| 22 | |
| 23 | open _root_.CategoryTheory _root_.Topology _root_.TopologicalSpace |
| 24 | |
| 25 | section |
| 26 | |
| 27 | variable (X : Over (Spec ↧ℂ)) |
| 28 | [IsIntegral X.left] [Smooth X.hom] [_root_.OAI.AlgebraicGeometry.Foundations.ProjectiveSpaceIs.IsProjective X.hom] (x : X.left) |
| 29 | |
| 30 | omit [IsIntegral X.left] [Smooth X.hom] in |
| 31 | /-- `X ∖ Z_sing` is the complement of the image of the component's singular locus: the |
| 32 | filtration index `0` in the definition contributes nothing. -/ |
| 33 | @[simp] theorem coe_cycleComponentSmoothLocusAmbientOpen : |
| 34 | (_root_.OAI.AlgebraicGeometry.Cycle.ComponentSmoothClosedLift.cycleComponentSmoothLocusAmbientOpen X x : Set X.left) = |
| 35 | (_root_.OAI.AlgebraicGeometry.Cycle.Support.cycleComponentι X.left x '' |
| 36 | (_root_.OAI.AlgebraicGeometry.Stratification.Basic.singularLocusClosed (_root_.OAI.AlgebraicGeometry.Cycle.Support.cycleComponentι X.left x ≫ X.hom) : Set _))ᶜ := rfl |
| 37 | |
| 38 | omit [IsIntegral X.left] [Smooth X.hom] in |
| 39 | /-- The image of the lift is the restriction of the full component support. -/ |
| 40 | theorem range_cycleComponentSmoothLocusClosedLift : |
| 41 | Set.range (_root_.OAI.AlgebraicGeometry.Cycle.ComponentSmoothClosedLift.cycleComponentSmoothLocusClosedLift X x) = |
| 42 | (_root_.OAI.AlgebraicGeometry.Cycle.ComponentSmoothClosedLift.cycleComponentSmoothLocusAmbientOpen X x).ι ⁻¹' closure ({x} : Set X.left) := by |
| 43 | rw [← _root_.OAI.AlgebraicGeometry.Cycle.SupportEq.range_cycleComponentι X.left x] |
| 44 | exact _root_.OAI.AlgebraicGeometry.ClosedImmersion.SourceOpen.range_closedImmersionSourceOpenLift _ _ |
| 45 | |
| 46 | variable {p : ℕ} |
| 47 | |
| 48 | /-- The smooth locus has the relative dimension of the integral component, constantly. -/ |
| 49 | theorem cycleComponentSmoothLocus_smoothOfRelativeDimension (hx : Order.coheight x = p) : |
| 50 | SmoothOfRelativeDimension (_root_.OAI.Topology.Dimension.Basic.TopologicalSpace.dim X.left - p) |
| 51 | ((_root_.OAI.AlgebraicGeometry.Cycle.Support.cycleComponentι X.left x ≫ X.hom).smoothLocus.ι ≫ _root_.OAI.AlgebraicGeometry.Cycle.Support.cycleComponentι X.left x ≫ X.hom) := by |
| 52 | let A := (_root_.OAI.AlgebraicGeometry.Cycle.Support.cycleComponentι X.left x ≫ X.hom).smoothLocus |
| 53 | let g := A.ι ≫ _root_.OAI.AlgebraicGeometry.Cycle.Support.cycleComponentι X.left x ≫ X.hom |
| 54 | let : Smooth g := _root_.OAI.AlgebraicGeometry.Cycle.SupportEq.cycleComponent_smoothLocus_smooth X x |
| 55 | obtain ⟨m, hm⟩ := _root_.OAI.AlgebraicGeometry.Smooth.Equidimensional.exists_smoothOfRelativeDimension g |
| 56 | obtain ⟨z, hzA, hzClosed⟩ := (_root_.OAI.AlgebraicGeometry.Cycle.ComponentNormal.dense_cycleComponent_smooth_closedPoints X x).nonempty |
| 57 | let zA : A.toScheme := ⟨z, hzA⟩ |
| 58 | have hzAClosed : IsClosed ({zA} : Set A) := by |
| 59 | have he : A.ι ⁻¹' ({z} : Set (_root_.OAI.AlgebraicGeometry.Cycle.Support.cycleComponent X.left x)) = {zA} := by |
| 60 | ext a |
| 61 | exact ⟨fun h => Subtype.ext h, fun h => congrArg Subtype.val h⟩ |
| 62 | exact he ▸ hzClosed.preimage A.ι.continuous |
| 63 | have hmEq : m = _root_.OAI.Topology.Dimension.Basic.TopologicalSpace.dim X.left - p := by |
| 64 | exact_mod_cast calc |
| 65 | (m : ℕ∞) = Order.coheight zA := |
| 66 | (_root_.OAI.AlgebraicGeometry.Cycle.ComponentNormalCoordinates.SmoothOfRelativeDimension.coheight_eq_dimension_of_isClosed |
| 67 | (f := g) (d := m) zA hzAClosed).symm |
| 68 | _ = Order.coheight z := (coheight_eq_of_isOpenImmersion (x := zA) A.ι).symm |
| 69 | _ = _root_.OAI.Topology.Dimension.Basic.TopologicalSpace.dim X.left - p := _root_.OAI.AlgebraicGeometry.Cycle.ComponentClosedPointDimension.cycleComponent_closedPoint_coheight_eq_sub X x z hx hzClosed |
| 70 | subst m |
| 71 | exact hm |
| 72 | |
| 73 | namespace ComplexPoint |
| 74 | |
| 75 | omit [IsIntegral X.left] [Smooth X.hom] in |
| 76 | /-- The analytic image of the algebraic boundary complement is the open used by the original |
| 77 | ambient supported resolution. -/ |
| 78 | theorem _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSmoothLocusAmbientOpen_analytic_image : |
| 79 | Set.range (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.openInclusion X (_root_.OAI.AlgebraicGeometry.Cycle.ComponentSmoothClosedLift.cycleComponentSmoothLocusAmbientOpen X x))) = |
| 80 | ((_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSingularAnalyticClosedFiltration X x 0).compl : Set (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) := by |
| 81 | rw [_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.range_map_of_isImmersion X] |
| 82 | change (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.underlying : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X → X.left) ⁻¹' |
| 83 | Set.range (_root_.OAI.AlgebraicGeometry.Cycle.ComponentSmoothClosedLift.cycleComponentSmoothLocusAmbientOpen X x).ι = _ |
| 84 | rw [Scheme.Opens.range_ι] |
| 85 | rfl |
| 86 | |
| 87 | /-- The complex-point image of the closed lift is precisely the restricted full support. -/ |
| 88 | theorem _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.cycleComponentSmoothLocusClosedLift_complexPoints_range : |
| 89 | Set.range (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map (_root_.OAI.AlgebraicGeometry.Cycle.ComponentSmoothClosedLift.cycleComponentSmoothLocusClosedLiftOver X x)) = |
| 90 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.map (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.openInclusion X (_root_.OAI.AlgebraicGeometry.Cycle.ComponentSmoothClosedLift.cycleComponentSmoothLocusAmbientOpen X x)) ⁻¹' |
| 91 | (_root_.OAI.AlgebraicGeometry.Cycle.Support.cycleComponentSupport X x) := by |
| 92 | rw [_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.range_map_of_isImmersion] |
| 93 | change (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point.underlying : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint (_root_.OAI.AlgebraicGeometry.Cycle.ComponentSmoothClosedLift.cycleComponentSmoothLocusAmbientOpenOver X x) → |
| 94 | (_root_.OAI.AlgebraicGeometry.Cycle.ComponentSmoothClosedLift.cycleComponentSmoothLocusAmbientOpenOver X x).left) ⁻¹' |
| 95 | Set.range (_root_.OAI.AlgebraicGeometry.Cycle.ComponentSmoothClosedLift.cycleComponentSmoothLocusClosedLift X x) = _ |
| 96 | rw [_root_.OAI.AlgebraicGeometry.Cycle.ComponentSmoothCoe.range_cycleComponentSmoothLocusClosedLift] |
| 97 | rfl |
| 98 | |
| 99 | end ComplexPoint |
| 100 | end |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.AlgebraicGeometry.Cycle.ComponentSmoothCoe |