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