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.PrincipalDivisorComparison |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.GeometricTrace |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Ord |
| 4 | |
| 5 | /-! # Principal Divisor -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.PrincipalDivisor |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The principal divisor indexed by every genuine codimension-one support |
| 12 | has its exact scheme-theoretic order as coefficient and zero geometric class. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | |
| 19 | namespace Constructions |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.PrincipalDivisorComparison.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Supported.PrincipalDivisor.Constructions |
| 21 | Thom.Finite.DivisorDetection.Constructions |
| 22 | |
| 23 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 24 | |
| 25 | def divisorSupportPointEmbedding : Geometric.DimensionCycles.DimensionCycleSupport V 1 ↪ V.carrier where |
| 26 | toFun C := IntersectionGeometry.supportPoint C.val |
| 27 | inj' := by |
| 28 | intro C D h |
| 29 | apply Subtype.ext |
| 30 | exact irreducibleSetEquivPoints.injective h |
| 31 | |
| 32 | theorem finite_support_divisor_order (g : V.carrier.functionField) : |
| 33 | (Function.support (fun C : Geometric.DimensionCycles.DimensionCycleSupport V 1 => |
| 34 | (V.carrier.ord g (IntersectionGeometry.supportPoint C.val) : ℚ))).Finite := by |
| 35 | apply (Set.Finite.preimage_embedding (divisorSupportPointEmbedding V) |
| 36 | (Divisors.LineBundles.Ord.BundleCycles.finite_support_ord V.carrier g)).subset |
| 37 | intro C hC |
| 38 | change V.carrier.ord g (IntersectionGeometry.supportPoint C.val) ≠ 0 |
| 39 | intro hzero |
| 40 | apply hC |
| 41 | change (V.carrier.ord g (IntersectionGeometry.supportPoint C.val) : ℚ) = 0 |
| 42 | rw [hzero, Int.cast_zero] |
| 43 | |
| 44 | /-- Every coefficient is the actual local order, with genuine finite support. -/ |
| 45 | def rationalFunctionDivisor (g : V.carrier.functionField) : Geometric.DimensionCycles.RationalDimensionCycle V 1 := |
| 46 | Finsupp.ofSupportFinite |
| 47 | (fun C => (V.carrier.ord g (IntersectionGeometry.supportPoint C.val) : ℚ)) |
| 48 | (finite_support_divisor_order V g) |
| 49 | |
| 50 | @[simp] |
| 51 | theorem rationalFunctionDivisor_apply (g : V.carrier.functionField) (C : Geometric.DimensionCycles.DimensionCycleSupport V 1) : |
| 52 | rationalFunctionDivisor V g C = (V.carrier.ord g (IntersectionGeometry.supportPoint C.val) : ℚ) := rfl |
| 53 | |
| 54 | theorem complementDivisorSupport_point (R : V.carrier.Opens) |
| 55 | (z : Thom.Finite.DivisorDetection.Constructions.ComplementDivisorPoint V.presentation R) : |
| 56 | IntersectionGeometry.supportPoint (Supported.PrincipalDivisor.Constructions.complementDivisorSupport V.presentation R z).val = z.val := |
| 57 | irreducibleSetEquivPoints.apply_symm_apply z.val |
| 58 | |
| 59 | theorem principalDivisorCycle_eq_rationalFunctionDivisor {g : V.carrier.functionField} |
| 60 | (D : RationalFunctionBoundary.Constructions.Principal.RationalUnitRepresentative V.carrier g) : |
| 61 | Supported.PrincipalDivisor.Constructions.principalDivisorCycle V.presentation D.domain g = rationalFunctionDivisor V g := by |
| 62 | classical |
| 63 | let : Fintype (Thom.Finite.DivisorDetection.Constructions.ComplementDivisorPoint V.presentation D.domain) := Fintype.ofFinite _ |
| 64 | ext C |
| 65 | change Supported.PrincipalDivisor.Constructions.principalDivisorCycle V.presentation D.domain g C = |
| 66 | (V.carrier.ord g (IntersectionGeometry.supportPoint C.val) : ℚ) |
| 67 | by_cases hC : C ∈ Set.range (Supported.PrincipalDivisor.Constructions.complementDivisorSupport V.presentation D.domain) |
| 68 | · obtain ⟨z, rfl⟩ := hC |
| 69 | rw [Supported.PrincipalDivisor.Constructions.principalDivisorCycle_apply, complementDivisorSupport_point] |
| 70 | · have hsum : Supported.PrincipalDivisor.Constructions.principalDivisorCycle V.presentation D.domain g C = 0 := by |
| 71 | unfold Supported.PrincipalDivisor.Constructions.principalDivisorCycle |
| 72 | rw [Finsupp.finsetSum_apply] |
| 73 | apply Finset.sum_eq_zero |
| 74 | intro z _ |
| 75 | exact Finsupp.single_eq_of_ne' (fun he => hC ⟨z, he⟩) |
| 76 | rw [hsum] |
| 77 | symm |
| 78 | suffices V.carrier.ord g (IntersectionGeometry.supportPoint C.val) = 0 by exact_mod_cast this |
| 79 | by_contra hm |
| 80 | have hz : Order.coheight (IntersectionGeometry.supportPoint C.val) = 1 := by |
| 81 | by_contra hn |
| 82 | exact hm (Scheme.ord_eq_zero_of_coheight_neq_one hn g) |
| 83 | have hR : IntersectionGeometry.supportPoint C.val ∉ D.domain := by |
| 84 | intro h |
| 85 | exact hm (D.ord_eq_zero _ h) |
| 86 | let z : Thom.Finite.DivisorDetection.Constructions.ComplementDivisorPoint V.presentation D.domain := |
| 87 | ⟨IntersectionGeometry.supportPoint C.val, hz, hR⟩ |
| 88 | apply hC |
| 89 | refine ⟨z, ?_⟩ |
| 90 | apply Subtype.ext |
| 91 | exact irreducibleSetEquivPoints.symm_apply_apply C.val |
| 92 | |
| 93 | theorem rationalFunctionDivisor_geometricClass_zero (g : V.carrier.functionField) (hg : g ≠ 0) : |
| 94 | V.geometricCycleClassMap 1 (rationalFunctionDivisor V g) = 0 := by |
| 95 | let D := RationalFunctionBoundary.Constructions.Principal.rationalUnitRepresentative V.carrier g hg |
| 96 | have h := PrincipalDivisorComparison.Constructions.principalDivisorCycle_rationalCycleClass_zero V D hg |
| 97 | rw [principalDivisorCycle_eq_rationalFunctionDivisor V D, |
| 98 | GeometricTrace.Constructions.HigherThom.rationalCycleClassMap_eq_geometric V 1] at h |
| 99 | exact h |
| 100 | |
| 101 | theorem geometricClass_zero_of_principal_orders |
| 102 | (g : V.carrier.functionField) (hg : g ≠ 0) (d : Geometric.DimensionCycles.RationalDimensionCycle V 1) |
| 103 | (hd : ∀ C, d C = (V.carrier.ord g (IntersectionGeometry.supportPoint C.val) : ℚ)) : |
| 104 | V.geometricCycleClassMap 1 d = 0 := by |
| 105 | have he : d = rationalFunctionDivisor V g := Finsupp.ext hd |
| 106 | rw [he] |
| 107 | exact rationalFunctionDivisor_geometricClass_zero V g hg |
| 108 | |
| 109 | end Constructions |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicGeometry.CycleClass.Thom.PrincipalDivisor |