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.IntersectionTheory.ProjectionFormula.Symmetry |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.DegreeCast |
| 3 | |
| 4 | /-! # Chow Symmetry -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ChowSymmetry |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Symmetry of the native Tor intersection in arbitrary |
| 13 | codimensions, with explicit transport of the sum grading. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | open scoped Classical |
| 19 | |
| 20 | namespace Graded |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports.ProperCycle OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.DegreeCast |
| 23 | |
| 24 | theorem cycle_symm (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) {p q : ℕ} (h : p = q) |
| 25 | (a : X.RationalDimensionCycle p) : DegreeCast.cycle X h.symm (DegreeCast.cycle X h a) = a := by |
| 26 | subst q |
| 27 | rfl |
| 28 | |
| 29 | theorem rationallyEquivalent_cast (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) {p q : ℕ} (h : p = q) |
| 30 | (a b : X.RationalDimensionCycle p) : |
| 31 | CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X q (DegreeCast.cycle X h a) (DegreeCast.cycle X h b) ↔ CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X p a b := by |
| 32 | subst q |
| 33 | rfl |
| 34 | |
| 35 | theorem meetProperly_comm (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p q : ℕ) |
| 36 | (a : X.RationalDimensionCycle p) (b : X.RationalDimensionCycle q) : |
| 37 | CycleClass.Thom.IntersectionGeometry.MeetProperly X p q a b ↔ CycleClass.Thom.IntersectionGeometry.MeetProperly X q p b a := by |
| 38 | constructor <;> intro h A hA B hB C hC |
| 39 | · simpa only [Nat.add_comm] using h B hB A hA C (by simpa only [Set.inter_comm] using hC) |
| 40 | · simpa only [Nat.add_comm] using h B hB A hA C (by simpa only [Set.inter_comm] using hC) |
| 41 | |
| 42 | theorem proper_cycle_comm (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p q : ℕ) |
| 43 | (a : X.RationalDimensionCycle p) (b : X.RationalDimensionCycle q) |
| 44 | (c : X.RationalDimensionCycle (p + q)) (hc : CycleClass.Thom.IntersectionGeometry.IsProperIntersectionCycle X p q a b c) : |
| 45 | CycleClass.Thom.IntersectionGeometry.IsProperIntersectionCycle X q p b a (DegreeCast.cycle X (Nat.add_comm p q) c) := by |
| 46 | refine ⟨(meetProperly_comm X p q a b).mp hc.1, ?_⟩ |
| 47 | intro C |
| 48 | rw [DegreeCast.cycle_apply, hc.2] |
| 49 | simp only [Finsupp.sum] |
| 50 | rw [Finset.sum_comm] |
| 51 | apply Finset.sum_congr rfl |
| 52 | intro B _ |
| 53 | apply Finset.sum_congr rfl |
| 54 | intro A _ |
| 55 | change a A * b B * CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X A.val B.val C.val = |
| 56 | b B * a A * CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X B.val A.val C.val |
| 57 | rw [Symmetry.multiplicity_comm, mul_comm (a A) (b B)] |
| 58 | |
| 59 | theorem represents_comm (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p q : ℕ) |
| 60 | (a : X.RationalDimensionCycle p) (b : X.RationalDimensionCycle q) |
| 61 | (c : X.RationalDimensionCycle (p + q)) : |
| 62 | CycleClass.Thom.IntersectionGeometry.RepresentsIntersection X p q a b c ↔ |
| 63 | CycleClass.Thom.IntersectionGeometry.RepresentsIntersection X q p b a (DegreeCast.cycle X (Nat.add_comm p q) c) := by |
| 64 | have hf {r s : ℕ} (u : X.RationalDimensionCycle r) (v : X.RationalDimensionCycle s) |
| 65 | (w : X.RationalDimensionCycle (r + s)) (h : CycleClass.Thom.IntersectionGeometry.RepresentsIntersection X r s u v w) : |
| 66 | CycleClass.Thom.IntersectionGeometry.RepresentsIntersection X s r v u (DegreeCast.cycle X (Nat.add_comm r s) w) := by |
| 67 | obtain ⟨u', v', w', hu, hv, hp, hw⟩ := h |
| 68 | exact ⟨v', u', DegreeCast.cycle X (Nat.add_comm r s) w', hv, hu, |
| 69 | proper_cycle_comm X r s u' v' w' hp, |
| 70 | (rationallyEquivalent_cast X (Nat.add_comm r s) w w').mpr hw⟩ |
| 71 | constructor |
| 72 | · exact hf a b c |
| 73 | · intro h |
| 74 | have he := hf b a (DegreeCast.cycle X (Nat.add_comm p q) c) h |
| 75 | have hh : DegreeCast.cycle X (Nat.add_comm q p) (DegreeCast.cycle X (Nat.add_comm p q) c) = c := |
| 76 | cycle_symm X (Nat.add_comm p q) c |
| 77 | rwa [hh] at he |
| 78 | |
| 79 | theorem pair_comm (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p q : ℕ) |
| 80 | [SmoothOfRelativeDimension m X.structureMap] |
| 81 | (A : X.DimensionCycleSupport p) (B : X.DimensionCycleSupport q) : |
| 82 | DegreeCast.cycle X (Nat.add_comm p q) (Supports.ProperCycle.pairCycle X m p q A B) = Supports.ProperCycle.pairCycle X m q p B A := by |
| 83 | have hp : Supports.ProperCycle.pairMeetsProperly X p q A B ↔ Supports.ProperCycle.pairMeetsProperly X q p B A := by |
| 84 | simp only [Supports.ProperCycle.pairMeetsProperly, Set.inter_comm, Nat.add_comm] |
| 85 | by_cases h : Supports.ProperCycle.pairMeetsProperly X p q A B |
| 86 | · ext C |
| 87 | rw [DegreeCast.cycle_apply, Supports.ProperCycle.pairCycle_apply X m p q A B h, |
| 88 | Supports.ProperCycle.pairCycle_apply X m q p B A (hp.mp h)] |
| 89 | exact Symmetry.multiplicity_comm X A.val B.val C.val |
| 90 | · rw [Supports.ProperCycle.pairCycle, dite_eq_right h, map_zero, Supports.ProperCycle.pairCycle, dite_eq_right (fun h' => h (hp.mpr h'))] |
| 91 | |
| 92 | theorem bilinear_comm (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p q : ℕ) |
| 93 | [SmoothOfRelativeDimension m X.structureMap] |
| 94 | (a : X.RationalDimensionCycle p) (b : X.RationalDimensionCycle q) : |
| 95 | DegreeCast.cycle X (Nat.add_comm p q) (Supports.ProperCycle.intersectionBilinear X m p q a b) = |
| 96 | Supports.ProperCycle.intersectionBilinear X m q p b a := by |
| 97 | induction a using Finsupp.induction_linear with |
| 98 | | zero => simp |
| 99 | | add a a' ha ha' => simp only [map_add, LinearMap.add_apply, ha, ha'] |
| 100 | | single A r => |
| 101 | induction b using Finsupp.induction_linear with |
| 102 | | zero => simp |
| 103 | | add b b' hb hb' => simp only [map_add, LinearMap.add_apply, hb, hb'] |
| 104 | | single B s => |
| 105 | simp only [Supports.ProperCycle.intersectionBilinear, Finsupp.linearCombination_single, LinearMap.smul_apply, |
| 106 | map_smul, smul_smul] |
| 107 | rw [pair_comm X m p q A B, mul_comm] |
| 108 | |
| 109 | end Graded |
| 110 | |
| 111 | end |
| 112 | |
| 113 | /-! Native intersection relations and exact bilinear maps transport |
| 114 | under exchange of the two codimensions. -/ |
| 115 | |
| 116 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.DegreeCast |
| 117 | |
| 118 | theorem chow_symm (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) {p q : ℕ} (h : p = q) |
| 119 | (a : ProperCycleLinearity.ChowQ X p) : DegreeCast.chow X h.symm (DegreeCast.chow X h a) = a := by |
| 120 | subst q |
| 121 | rfl |
| 122 | |
| 123 | theorem mem_comm (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p q : ℕ) |
| 124 | (a : ProperCycleLinearity.ChowQ X p) (b : ProperCycleLinearity.ChowQ X q) (c : ProperCycleLinearity.ChowQ X (p + q)) : |
| 125 | c ∈ ProperCycleLinearity.chowIntersection X p q a b ↔ |
| 126 | DegreeCast.chow X (Nat.add_comm p q) c ∈ ProperCycleLinearity.chowIntersection X q p b a := by |
| 127 | obtain ⟨a, rfl⟩ := ProperCycleLinearity.cycleToChowQ_surjective X p a |
| 128 | obtain ⟨b, rfl⟩ := ProperCycleLinearity.cycleToChowQ_surjective X q b |
| 129 | obtain ⟨c, rfl⟩ := ProperCycleLinearity.cycleToChowQ_surjective X (p + q) c |
| 130 | rw [DegreeCast.chow_mk, ProperCycleLinearity.chowIntersection_mk_iff, ProperCycleLinearity.chowIntersection_mk_iff] |
| 131 | exact Graded.represents_comm X p q a b c |
| 132 | |
| 133 | theorem reverse_map_exists (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p q : ℕ) |
| 134 | (I : ProperCycleLinearity.ChowQ X p →ₗ[ℚ] ProperCycleLinearity.ChowQ X q →ₗ[ℚ] ProperCycleLinearity.ChowQ X (p + q)) |
| 135 | (hI : ∀ a b, ProperCycleLinearity.chowIntersection X p q a b = {I a b}) : |
| 136 | ∃ J : ProperCycleLinearity.ChowQ X q →ₗ[ℚ] ProperCycleLinearity.ChowQ X p →ₗ[ℚ] ProperCycleLinearity.ChowQ X (q + p), |
| 137 | ∀ b a, ProperCycleLinearity.chowIntersection X q p b a = {J b a} := by |
| 138 | refine ⟨I.flip.compr₂ (DegreeCast.chow X (Nat.add_comm p q)).toLinearMap, ?_⟩ |
| 139 | intro b a |
| 140 | ext c |
| 141 | rw [mem_comm X q p b a c, hI, Set.mem_singleton_iff, Set.mem_singleton_iff] |
| 142 | change DegreeCast.chow X (Nat.add_comm q p) c = I a b ↔ c = DegreeCast.chow X (Nat.add_comm p q) (I a b) |
| 143 | constructor |
| 144 | · intro h |
| 145 | have he := congrArg (DegreeCast.chow X (Nat.add_comm p q)) h |
| 146 | exact (chow_symm X (Nat.add_comm q p) c).symm.trans he |
| 147 | · intro h |
| 148 | rw [h] |
| 149 | exact chow_symm X (Nat.add_comm p q) (I a b) |
| 150 | |
| 151 | end |
| 152 | |
| 153 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ChowSymmetry |