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.Tor.Symmetry |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports |
| 3 | |
| 4 | /-! # Symmetry -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Symmetry |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The exact native local intersection multiplicities are symmetric. |
| 11 | Their finite bilinear extension to divisor cycles is symmetric as well. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | open scoped Classical |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports.ProperCycle |
| 19 | |
| 20 | theorem multiplicity_comm (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 21 | (A B C : IrreducibleCloseds X.carrier) : |
| 22 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X A B C = CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X B A C := by |
| 23 | by_cases h : CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (A : Set X.carrier) ∩ (B : Set X.carrier) |
| 24 | · rw [CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity, dite_eq_left h, CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity, dite_eq_left ⟨h.2, h.1⟩] |
| 25 | apply Finset.sum_congr rfl |
| 26 | intro i _ |
| 27 | exact congrArg (fun n : ℕ∞ => (-1 : ℚ) ^ i * (n.toNat : ℚ)) |
| 28 | (Tor.Symmetry.length_comm (X.carrier.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C)) |
| 29 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier A (CycleClass.Thom.IntersectionGeometry.supportPoint C) h.1) |
| 30 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier B (CycleClass.Thom.IntersectionGeometry.supportPoint C) h.2) i) |
| 31 | · rw [CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity, dite_eq_right h, CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity, |
| 32 | dite_eq_right (fun h' => h ⟨h'.2, h'.1⟩)] |
| 33 | |
| 34 | theorem pair_proper_comm (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (A B : X.DimensionCycleSupport 1) : |
| 35 | Supports.ProperCycle.pairMeetsProperly X 1 1 A B ↔ Supports.ProperCycle.pairMeetsProperly X 1 1 B A := by |
| 36 | simp only [Supports.ProperCycle.pairMeetsProperly, Set.inter_comm] |
| 37 | |
| 38 | theorem meetProperly_comm (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (a b : X.RationalDimensionCycle 1) : |
| 39 | CycleClass.Thom.IntersectionGeometry.MeetProperly X 1 1 a b ↔ CycleClass.Thom.IntersectionGeometry.MeetProperly X 1 1 b a := by |
| 40 | constructor <;> intro h A hA B hB C hC |
| 41 | · exact h B hB A hA C (by simpa only [Set.inter_comm] using hC) |
| 42 | · exact h B hB A hA C (by simpa only [Set.inter_comm] using hC) |
| 43 | |
| 44 | theorem pairCycle_comm (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 45 | [SmoothOfRelativeDimension m X.structureMap] (A B : X.DimensionCycleSupport 1) : |
| 46 | Supports.ProperCycle.pairCycle X m 1 1 A B = Supports.ProperCycle.pairCycle X m 1 1 B A := by |
| 47 | by_cases h : Supports.ProperCycle.pairMeetsProperly X 1 1 A B |
| 48 | · ext C |
| 49 | rw [Supports.ProperCycle.pairCycle_apply X m 1 1 A B h, |
| 50 | Supports.ProperCycle.pairCycle_apply X m 1 1 B A ((pair_proper_comm X A B).mp h), multiplicity_comm] |
| 51 | · rw [Supports.ProperCycle.pairCycle, dite_eq_right h, Supports.ProperCycle.pairCycle, |
| 52 | dite_eq_right (fun h' => h ((pair_proper_comm X A B).mpr h'))] |
| 53 | |
| 54 | theorem bilinear_comm (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 55 | [SmoothOfRelativeDimension m X.structureMap] (a b : X.RationalDimensionCycle 1) : |
| 56 | Supports.ProperCycle.intersectionBilinear X m 1 1 a b = Supports.ProperCycle.intersectionBilinear X m 1 1 b a := by |
| 57 | simp only [Supports.ProperCycle.intersectionBilinear, Finsupp.linearCombination_apply, Finsupp.sum, |
| 58 | LinearMap.sum_apply, LinearMap.smul_apply, Finset.smul_sum, smul_smul] |
| 59 | rw [Finset.sum_comm] |
| 60 | apply Finset.sum_congr rfl |
| 61 | intro B _ |
| 62 | apply Finset.sum_congr rfl |
| 63 | intro A _ |
| 64 | rw [pairCycle_comm X m A B, mul_comm] |
| 65 | |
| 66 | theorem proper_cycle_comm (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 67 | [SmoothOfRelativeDimension m X.structureMap] (a b : X.RationalDimensionCycle 1) |
| 68 | (c : X.RationalDimensionCycle 2) (hc : CycleClass.Thom.IntersectionGeometry.IsProperIntersectionCycle X 1 1 a b c) : |
| 69 | CycleClass.Thom.IntersectionGeometry.IsProperIntersectionCycle X 1 1 b a c := by |
| 70 | have he := CycleClass.Thom.IntersectionGeometry.isProperIntersectionCycle_unique X 1 1 hc |
| 71 | (Supports.ProperCycle.intersectionBilinear_isProper X m 1 1 a b hc.1) |
| 72 | rw [he, bilinear_comm X m a b] |
| 73 | exact Supports.ProperCycle.intersectionBilinear_isProper X m 1 1 b a ((meetProperly_comm X a b).mp hc.1) |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Symmetry |