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.Open.SupportedLift |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.MeetingOpen |
| 3 | |
| 4 | /-! # At Point -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.AtPoint.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Near a scheme point, components of a finite cycle which do not |
| 11 | contain that point can be removed without changing its relative class. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | open scoped Classical |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.Open.SupportedLift.Constructions.Map OAI.AlgebraicGeometry.CycleClass.Thom.Open.SupportedLift.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (p : ℕ) (x : V.carrier) |
| 22 | (c : Geometric.DimensionCycles.RationalDimensionCycle V p) |
| 23 | |
| 24 | def cycleAtPoint : Geometric.DimensionCycles.RationalDimensionCycle V p := c.filter (fun D => x ∈ (D.val : Set V.carrier)) |
| 25 | |
| 26 | def discardedOpen (D : Geometric.DimensionCycles.DimensionCycleSupport V p) : V.carrier.Opens := |
| 27 | if x ∈ (D.val : Set V.carrier) then ⊤ else ⟨(D.val : Set V.carrier)ᶜ, D.val.isClosed.isOpen_compl⟩ |
| 28 | |
| 29 | def pointNeighborhood (B : V.carrier.Opens) : V.carrier.Opens := |
| 30 | B ⊓ iInf (fun D : c.support => discardedOpen V p x D.val) |
| 31 | |
| 32 | theorem pointNeighborhood_le (B : V.carrier.Opens) : pointNeighborhood V p x c B ≤ B := inf_le_left |
| 33 | |
| 34 | theorem mem_pointNeighborhood (B : V.carrier.Opens) (hxB : x ∈ B) : x ∈ pointNeighborhood V p x c B := by |
| 35 | classical |
| 36 | refine ⟨hxB, ?_⟩ |
| 37 | change x ∈ ((iInf (fun D : c.support => discardedOpen V p x D.val) : V.carrier.Opens) : Set V.carrier) |
| 38 | rw [Opens.coe_iInf] |
| 39 | apply Set.mem_iInter.mpr |
| 40 | intro D |
| 41 | by_cases h : x ∈ (D.val.val : Set V.carrier) |
| 42 | · rw [discardedOpen, ite_eq_left h] |
| 43 | trivial |
| 44 | · rw [discardedOpen, ite_eq_right h] |
| 45 | exact h |
| 46 | |
| 47 | theorem cycleAtPoint_ne_zero (D : Geometric.DimensionCycles.DimensionCycleSupport V p) (hD : cycleAtPoint V p x c D ≠ 0) : |
| 48 | c D ≠ 0 ∧ x ∈ (D.val : Set V.carrier) := by |
| 49 | classical |
| 50 | change (if x ∈ (D.val : Set V.carrier) then c D else 0) ≠ 0 at hD |
| 51 | split_ifs at hD with hx |
| 52 | · exact ⟨hD, hx⟩ |
| 53 | · exact (hD rfl).elim |
| 54 | |
| 55 | theorem coefficient_eq_on_neighborhood (B : V.carrier.Opens) (U : Opens V.analyticSpace) |
| 56 | (hU : (U : Set V.analyticSpace) ⊆ Scheme.SectionEvaluation.Constructions.analyticOpen V.toOver (pointNeighborhood V p x c B)) |
| 57 | (D : Geometric.DimensionCycles.DimensionCycleSupport V p) (hD : ∃ y : U, y.val ∈ Set.range D.analyticInclusion) : |
| 58 | cycleAtPoint V p x c D = c D := by |
| 59 | classical |
| 60 | by_cases hxD : x ∈ (D.val : Set V.carrier) |
| 61 | · exact Finsupp.filter_apply_pos _ _ hxD |
| 62 | · have hc : c D = 0 := by |
| 63 | by_contra hc |
| 64 | obtain ⟨y, hyD⟩ := hD |
| 65 | have hCD : pointNeighborhood V p x c B ≤ discardedOpen V p x D := |
| 66 | inf_le_right.trans (iInf_le (fun E : c.support => discardedOpen V p x E.val) |
| 67 | ⟨D, Finsupp.mem_support_iff.mpr hc⟩) |
| 68 | have hyC := hCD (hU y.property) |
| 69 | change V.analyticUnderlying y.val ∈ discardedOpen V p x D at hyC |
| 70 | rw [discardedOpen, ite_eq_right hxD] at hyC |
| 71 | apply hyC |
| 72 | rwa [D.range_analyticInclusion] at hyD |
| 73 | exact (Finsupp.filter_apply_neg (fun E : Geometric.DimensionCycles.DimensionCycleSupport V p => x ∈ (E.val : Set V.carrier)) c hxD).trans hc.symm |
| 74 | |
| 75 | theorem relativeClass_eq_cycleAtPoint (B : V.carrier.Opens) (U : Opens V.analyticSpace) |
| 76 | (hU : (U : Set V.analyticSpace) ⊆ Scheme.SectionEvaluation.Constructions.analyticOpen V.toOver (pointNeighborhood V p x c B)) |
| 77 | (S : Set U) |
| 78 | (hc : ∀ D : Geometric.DimensionCycles.DimensionCycleSupport V p, c D ≠ 0 → |
| 79 | (Subtype.val : U → V.analyticSpace) ⁻¹' Set.range D.analyticInclusion ⊆ S) : |
| 80 | Open.SupportedLift.Constructions.Map.relativeClassMap V U S p (Open.SupportedLift.Constructions.restrictCycle V U S p c) = |
| 81 | Open.SupportedLift.Constructions.Map.relativeClassMap V U S p (Open.SupportedLift.Constructions.restrictCycle V U S p (cycleAtPoint V p x c)) := by |
| 82 | apply Open.SupportedLift.Constructions.supportedClass_eq_of_local_coefficients V U S p c (cycleAtPoint V p x c) hc |
| 83 | · intro D hD |
| 84 | exact hc D (cycleAtPoint_ne_zero V p x c D hD).1 |
| 85 | · intro D hD |
| 86 | exact (coefficient_eq_on_neighborhood V p x c B U hU D hD).symm |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.AtPoint.Constructions |