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.Clopen.Cycle |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Open.SupportTor |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Truncation |
| 4 | |
| 5 | /-! # Iff -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Clopen.Iff |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Restricting to an integral component preserves the exact native |
| 12 | intersection multiplicities, including all Tor degrees in ThomClass's definition. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Clopen.Cycle |
| 19 | |
| 20 | theorem image_point_mem_iff {V X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 21 | (i : V.toOver ⟶ X.toOver) [IsOpenImmersion i.left] |
| 22 | (A D : IrreducibleCloseds V.carrier) : |
| 23 | CycleClass.Thom.IntersectionGeometry.supportPoint (ProperCycleLinearity.imageSupport i D) ∈ (ProperCycleLinearity.imageSupport i A : Set X.carrier) ↔ |
| 24 | CycleClass.Thom.IntersectionGeometry.supportPoint D ∈ (A : Set V.carrier) := by |
| 25 | rw [Cycle.image_point, ProperCycleLinearity.imageSupport_eq_image] |
| 26 | constructor |
| 27 | · rintro ⟨y, hy, he⟩ |
| 28 | exact i.left.isOpenEmbedding.injective he ▸ hy |
| 29 | · intro h |
| 30 | exact ⟨_, h, rfl⟩ |
| 31 | |
| 32 | theorem multiplicity_image {V X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 33 | (i : V.toOver ⟶ X.toOver) [IsOpenImmersion i.left] (m : ℕ) |
| 34 | [SmoothOfRelativeDimension m V.structureMap] [SmoothOfRelativeDimension m X.structureMap] |
| 35 | (A B D : IrreducibleCloseds V.carrier) : |
| 36 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity V A B D = |
| 37 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X (ProperCycleLinearity.imageSupport i A) (ProperCycleLinearity.imageSupport i B) |
| 38 | (ProperCycleLinearity.imageSupport i D) := by |
| 39 | by_cases h : CycleClass.Thom.IntersectionGeometry.supportPoint D ∈ (A : Set V.carrier) ∩ (B : Set V.carrier) |
| 40 | · have hxA := (image_point_mem_iff i A D).mpr h.1 |
| 41 | have hxB := (image_point_mem_iff i B D).mpr h.2 |
| 42 | rw [Truncation.intersectionMultiplicity_eq_relative_sum V m A B D h.1 h.2, |
| 43 | Truncation.intersectionMultiplicity_eq_relative_sum X m _ _ _ hxA hxB] |
| 44 | apply Finset.sum_congr rfl |
| 45 | intro n _ |
| 46 | have ht := Open.SupportTor.localTorLength_eq i.left |
| 47 | A B (ProperCycleLinearity.imageSupport i A) (ProperCycleLinearity.imageSupport i B) |
| 48 | (Cycle.image_point i A).symm (Cycle.image_point i B).symm |
| 49 | (CycleClass.Thom.IntersectionGeometry.supportPoint D) h.1 h.2 (show i.left (CycleClass.Thom.IntersectionGeometry.supportPoint D) ∈ |
| 50 | (ProperCycleLinearity.imageSupport i A : Set X.carrier) from by rw [ProperCycleLinearity.imageSupport_eq_image]; exact ⟨_, h.1, rfl⟩) |
| 51 | (show i.left (CycleClass.Thom.IntersectionGeometry.supportPoint D) ∈ |
| 52 | (ProperCycleLinearity.imageSupport i B : Set X.carrier) from by rw [ProperCycleLinearity.imageSupport_eq_image]; exact ⟨_, h.2, rfl⟩) n |
| 53 | have hp : CycleClass.Thom.IntersectionGeometry.supportPoint (ProperCycleLinearity.imageSupport i D) = i.left (CycleClass.Thom.IntersectionGeometry.supportPoint D) := |
| 54 | Cycle.image_point i D |
| 55 | exact congrArg (fun a : ℕ∞ => (-1 : ℚ) ^ n * (a.toNat : ℚ)) |
| 56 | (ht.trans (Open.SupportTor.localTorLength_congr_point X.carrier _ _ hp.symm _ _ hxA hxB n)) |
| 57 | · have hnot : ¬ CycleClass.Thom.IntersectionGeometry.supportPoint (ProperCycleLinearity.imageSupport i D) ∈ |
| 58 | (ProperCycleLinearity.imageSupport i A : Set X.carrier) ∩ (ProperCycleLinearity.imageSupport i B : Set X.carrier) := by |
| 59 | intro hx |
| 60 | exact h ⟨(image_point_mem_iff i A D).mp hx.1, (image_point_mem_iff i B D).mp hx.2⟩ |
| 61 | rw [CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity, dite_eq_right h, CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity, dite_eq_right hnot] |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Clopen.Iff |