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.CycleClass.Thom.DivisorDescent |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.PrincipalZero |
| 3 | |
| 4 | /-! # Principal Descent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.PrincipalDescent |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every genuine principal-divisor relation has zero independently defined |
| 11 | geometric cycle class, in every codimension and on every presentation. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | |
| 18 | namespace Constructions |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.DivisorDescent.Constructions.PrincipalComponentRestriction OAI.AlgebraicGeometry.CycleClass.Thom.RationalOrderTransport.Constructions |
| 20 | Normalization.Principal.Constructions Normalization.PrincipalZero.Constructions.Class |
| 21 | |
| 22 | theorem integralPrincipalDivisor_geometricClass_zero (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 23 | (W : IrreducibleCloseds V.carrier) (p : ℕ) (hp : Geometric.DimensionCycles.dimensionCodimension V W + 1 = p) |
| 24 | (g : (Geometric.GenericPoint.reducedSupportScheme W).functionField) (hg : g ≠ 0) |
| 25 | (d : Geometric.DimensionCycles.RationalDimensionCycle V p) |
| 26 | (hd : ∀ C, d C = IntersectionGeometry.principalDivisorCoefficient V.presentation W g C.val) : |
| 27 | V.geometricCycleClassMap p d = 0 := by |
| 28 | subst p |
| 29 | have he : d = Normalization.Principal.Constructions.normalizedPrincipalCycle V W g hg := by |
| 30 | ext C |
| 31 | exact (hd C).trans (Normalization.Principal.Constructions.normalizedPrincipalCycle_coefficient V W g hg C).symm |
| 32 | rw [he] |
| 33 | exact Normalization.PrincipalZero.Constructions.Class.normalizedPrincipalCycle_geometricClass_zero V W g hg |
| 34 | |
| 35 | theorem principalDivisor_geometricClass_zero (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) |
| 36 | (W : IrreducibleCloseds X.carrier) (hW : X.supportCodimension W + 1 = p) |
| 37 | (g : (Geometric.GenericPoint.reducedSupportScheme W).functionField) (hg : g ≠ 0) |
| 38 | (d : X.RationalDimensionCycle p) |
| 39 | (hd : ∀ Z, d Z = IntersectionGeometry.principalDivisorCoefficient X W g Z.val) : |
| 40 | X.geometricCycleClassMap p d = 0 := by |
| 41 | obtain ⟨⟨C, B⟩, rfl⟩ := X.componentSupportEquiv.symm.surjective W |
| 42 | change X.supportCodimension (X.componentSupportImage C B) + 1 = p at hW |
| 43 | rw [X.supportCodimension_componentSupportImage] at hW |
| 44 | let gB := RationalOrderTransport.Constructions.openFunctionFieldMap (X.componentSupportSchemeIso C B).hom g |
| 45 | have hgB : gB ≠ 0 := (map_ne_zero_iff _ (RationalOrderTransport.Constructions.openFunctionFieldMap |
| 46 | (X.componentSupportSchemeIso C B).hom).hom.injective).mpr hg |
| 47 | apply (X.componentBettiEquiv (ModuleCat.of ℚ ℚ) (p + p)).injective |
| 48 | funext D |
| 49 | rw [X.componentBettiEquiv_geometricCycleClassMap, map_zero, Pi.zero_apply] |
| 50 | by_cases hDC : D = C |
| 51 | · subst D |
| 52 | apply integralPrincipalDivisor_geometricClass_zero (X.componentVariety C) B p hW gB hgB |
| 53 | intro Z |
| 54 | rw [X.componentDimensionCycleEquiv_apply, hd] |
| 55 | exact DivisorDescent.Constructions.PrincipalComponentRestriction.principalDivisorCoefficient_componentImage X C B g Z.val |
| 56 | · have hz : X.componentDimensionCycleEquiv p d D = 0 := by |
| 57 | ext Z |
| 58 | rw [X.componentDimensionCycleEquiv_apply, hd, Finsupp.zero_apply] |
| 59 | apply DivisorDescent.Constructions.principalDivisorCoefficient_other_component X |
| 60 | (X.componentSupportImage C B) g D |
| 61 | rw [X.supportComponent_image] |
| 62 | exact hDC |
| 63 | rw [hz, map_zero] |
| 64 | |
| 65 | theorem isPrincipalDivisor_geometricClass_zero (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) |
| 66 | (d : X.RationalDimensionCycle p) (hd : IntersectionGeometry.IsPrincipalDivisor X p d) : |
| 67 | X.geometricCycleClassMap p d = 0 := by |
| 68 | obtain ⟨W, hW, g, hg, hd⟩ := hd |
| 69 | exact principalDivisor_geometricClass_zero X p W hW g hg d hd |
| 70 | |
| 71 | theorem rationalEquivalences_le_geometricClass_ker (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) : |
| 72 | IntersectionGeometry.rationalEquivalences X p ≤ LinearMap.ker (X.geometricCycleClassMap p) := by |
| 73 | apply Submodule.span_le.mpr |
| 74 | intro d hd |
| 75 | exact isPrincipalDivisor_geometricClass_zero X p d hd |
| 76 | |
| 77 | theorem geometricClass_eq_of_rationallyEquivalent (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) |
| 78 | {a b : X.RationalDimensionCycle p} (h : IntersectionGeometry.RationallyEquivalent X p a b) : |
| 79 | X.geometricCycleClassMap p a = X.geometricCycleClassMap p b := by |
| 80 | have hz := rationalEquivalences_le_geometricClass_ker X p h |
| 81 | change X.geometricCycleClassMap p (a - b) = 0 at hz |
| 82 | rw [map_sub, sub_eq_zero] at hz |
| 83 | exact hz |
| 84 | |
| 85 | end Constructions |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.CycleClass.Thom.PrincipalDescent |