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.DivisorClass.Chern.Open.OpenRestriction |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Geometric |
| 3 | |
| 4 | /-! # Component -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # ChernClass: geometric divisor classes for every smooth projective line bundle |
| 12 | |
| 13 | Restrict to the actual finitely many integral components, construct their |
| 14 | rational-section divisors, and assemble through the existing component cycle |
| 15 | equivalence. The resulting class uses the existing geometric cycle-class map |
| 16 | on the original possibly disconnected scheme, without a pure-dimension assumption. |
| 17 | |
| 18 | Equality with the independently constructed logarithmic first Chern class |
| 19 | is not assumed here and remains the outstanding comparison theorem. |
| 20 | -/ |
| 21 | |
| 22 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 23 | |
| 24 | namespace Component.Construction |
| 25 | |
| 26 | /-- On an integral carrier, the component-based codimension is the usual dimension difference. -/ |
| 27 | theorem supportCodimension_of_integral (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) [IsIntegral X.carrier] |
| 28 | (Z : IrreducibleCloseds X.carrier) : |
| 29 | X.supportCodimension Z = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.structureMap - |
| 30 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z X.structureMap := by |
| 31 | have h := Foundations.Scheme.OpenFunctionField.schemeTranscendenceDimension_openImmersion |
| 32 | (X.componentInclusion (X.supportComponent Z)) X.structureMap |
| 33 | rw [X.componentInclusion_over] at h |
| 34 | exact congrArg (fun d => d - Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z X.structureMap) h |
| 35 | |
| 36 | /-- Identify the two existing support gradings on an integral presentation. -/ |
| 37 | def integralSupportToVariety (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p : ℕ) |
| 38 | (Z : V.presentation.DimensionCycleSupport p) : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p := |
| 39 | ⟨Z.val, (supportCodimension_of_integral V.presentation Z.val).symm.trans Z.property⟩ |
| 40 | |
| 41 | theorem integralSupportToVariety_injective (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p : ℕ) : |
| 42 | Function.Injective (integralSupportToVariety V p) := by |
| 43 | intro Z W h |
| 44 | exact Subtype.ext (congrArg (fun z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p => z.val) h) |
| 45 | |
| 46 | end Component.Construction |
| 47 | |
| 48 | variable {X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (L : Line.Bundles.AlgebraicLineBundle X) |
| 49 | |
| 50 | /-- The actual integral divisor on each genuine integral component. -/ |
| 51 | def Line.Bundles.AlgebraicLineBundle.componentIntegralDivisor (C : irreducibleComponents X.carrier) : |
| 52 | CycleClass.Geometric.DimensionCycles.DimensionCycleSupport (X.componentVariety C) 1 →₀ ℤ := |
| 53 | Finsupp.mapDomain (Component.Construction.integralSupportToVariety (X.componentVariety C) 1) |
| 54 | (L.componentLineBundle C).rationalSectionIntegralDivisor |
| 55 | |
| 56 | /-- Changing the support representation preserves every integral multiplicity. -/ |
| 57 | theorem Line.Bundles.AlgebraicLineBundle.componentIntegralDivisor_apply (C : irreducibleComponents X.carrier) |
| 58 | (Z : (X.componentVariety C).presentation.DimensionCycleSupport 1) : |
| 59 | L.componentIntegralDivisor C (Component.Construction.integralSupportToVariety (X.componentVariety C) 1 Z) = |
| 60 | (L.componentLineBundle C).rationalSectionIntegralDivisor Z := |
| 61 | Finsupp.mapDomain_apply_of_injective (Component.Construction.integralSupportToVariety_injective (X.componentVariety C) 1) _ Z |
| 62 | |
| 63 | /-- Rationalize precisely the integer multiplicities of the component divisor. -/ |
| 64 | def Line.Bundles.AlgebraicLineBundle.componentRationalDivisor (C : irreducibleComponents X.carrier) : |
| 65 | CycleClass.Geometric.DimensionCycles.RationalDimensionCycle (X.componentVariety C) 1 := |
| 66 | Finsupp.mapRange (fun n : ℤ => (n : ℚ)) (Int.cast_zero) (L.componentIntegralDivisor C) |
| 67 | |
| 68 | /-- A finite divisor cycle on the original scheme, assembled from its actual component divisors. -/ |
| 69 | def Line.Bundles.AlgebraicLineBundle.algebraicDivisorCycle : X.RationalDimensionCycle 1 := |
| 70 | (X.componentDimensionCycleEquiv 1).symm L.componentRationalDivisor |
| 71 | |
| 72 | theorem Line.Bundles.AlgebraicLineBundle.algebraicDivisorCycle_components : |
| 73 | X.componentDimensionCycleEquiv 1 L.algebraicDivisorCycle = L.componentRationalDivisor := |
| 74 | (X.componentDimensionCycleEquiv 1).apply_symm_apply _ |
| 75 | |
| 76 | /-- The geometric class of the actual line-bundle divisor, on any smooth projective scheme. -/ |
| 77 | def Line.Bundles.AlgebraicLineBundle.algebraicDivisorClass : X.rationalCohomology 2 := |
| 78 | X.geometricCycleClassMap 1 L.algebraicDivisorCycle |
| 79 | |
| 80 | theorem Line.Bundles.AlgebraicLineBundle.algebraicDivisorClass_eq : |
| 81 | L.algebraicDivisorClass = X.geometricCycleClassMap 1 L.algebraicDivisorCycle := rfl |
| 82 | |
| 83 | /-- Each component of this class is the existing geometric class of that component's actual divisor. -/ |
| 84 | theorem Line.Bundles.AlgebraicLineBundle.algebraicDivisorClass_components (C : irreducibleComponents X.carrier) : |
| 85 | X.componentBettiEquiv (ModuleCat.of ℚ ℚ) 2 L.algebraicDivisorClass C = |
| 86 | (X.componentVariety C).geometricCycleClassMap 1 (L.componentRationalDivisor C) := by |
| 87 | have h := X.componentBettiEquiv_geometricCycleClassMap 1 L.algebraicDivisorCycle C |
| 88 | rw [L.algebraicDivisorCycle_components] at h |
| 89 | exact h |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.DivisorClass.Chern |