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.Component.Image |
| 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.Component.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 | theorem image_point_mem_iff (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (C : irreducibleComponents X.carrier) |
| 19 | (A D : IrreducibleCloseds (X.componentVariety C).carrier) : |
| 20 | CycleClass.Thom.IntersectionGeometry.supportPoint (X.componentSupportImage C D) ∈ (X.componentSupportImage C A : Set X.carrier) ↔ |
| 21 | CycleClass.Thom.IntersectionGeometry.supportPoint D ∈ (A : Set (X.componentVariety C).carrier) := by |
| 22 | rw [show CycleClass.Thom.IntersectionGeometry.supportPoint (X.componentSupportImage C D) = X.componentInclusion C (CycleClass.Thom.IntersectionGeometry.supportPoint D) |
| 23 | from X.componentSupportImage_genericPoint C D] |
| 24 | change X.componentInclusion C (CycleClass.Thom.IntersectionGeometry.supportPoint D) ∈ |
| 25 | X.componentInclusion C '' (A : Set (X.componentVariety C).carrier) ↔ _ |
| 26 | constructor |
| 27 | · rintro ⟨y, hy, he⟩ |
| 28 | have he' := (X.componentInclusion C).isOpenEmbedding.injective he |
| 29 | exact he' ▸ hy |
| 30 | · intro h |
| 31 | exact ⟨_, h, rfl⟩ |
| 32 | |
| 33 | theorem multiplicity_image (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 34 | [SmoothOfRelativeDimension m X.structureMap] (C : irreducibleComponents X.carrier) |
| 35 | (A B D : IrreducibleCloseds (X.componentVariety C).carrier) : |
| 36 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity (X.componentVariety C).presentation A B D = |
| 37 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X (X.componentSupportImage C A) (X.componentSupportImage C B) |
| 38 | (X.componentSupportImage C D) := by |
| 39 | let V := (X.componentVariety C).presentation |
| 40 | let : SmoothOfRelativeDimension m V.structureMap := Image.component_relativeDimension X m C |
| 41 | by_cases h : CycleClass.Thom.IntersectionGeometry.supportPoint D ∈ (A : Set V.carrier) ∩ (B : Set V.carrier) |
| 42 | · have hxA := (image_point_mem_iff X C A D).mpr h.1 |
| 43 | have hxB := (image_point_mem_iff X C B D).mpr h.2 |
| 44 | rw [Truncation.intersectionMultiplicity_eq_relative_sum V m A B D h.1 h.2, |
| 45 | Truncation.intersectionMultiplicity_eq_relative_sum X m _ _ _ hxA hxB] |
| 46 | apply Finset.sum_congr rfl |
| 47 | intro n _ |
| 48 | have ht := Open.SupportTor.localTorLength_eq (X.componentInclusion C) |
| 49 | A B (X.componentSupportImage C A) (X.componentSupportImage C B) |
| 50 | (X.componentSupportImage_genericPoint C A).symm (X.componentSupportImage_genericPoint C B).symm |
| 51 | (CycleClass.Thom.IntersectionGeometry.supportPoint D) h.1 h.2 (show X.componentInclusion C (CycleClass.Thom.IntersectionGeometry.supportPoint D) ∈ |
| 52 | (X.componentSupportImage C A : Set X.carrier) from ⟨_, h.1, rfl⟩) |
| 53 | (show X.componentInclusion C (CycleClass.Thom.IntersectionGeometry.supportPoint D) ∈ |
| 54 | (X.componentSupportImage C B : Set X.carrier) from ⟨_, h.2, rfl⟩) n |
| 55 | have hp : CycleClass.Thom.IntersectionGeometry.supportPoint (X.componentSupportImage C D) = X.componentInclusion C (CycleClass.Thom.IntersectionGeometry.supportPoint D) := |
| 56 | X.componentSupportImage_genericPoint C D |
| 57 | exact congrArg (fun a : ℕ∞ => (-1 : ℚ) ^ n * (a.toNat : ℚ)) |
| 58 | (ht.trans (Open.SupportTor.localTorLength_congr_point X.carrier _ _ hp.symm _ _ hxA hxB n)) |
| 59 | · have hnot : ¬ CycleClass.Thom.IntersectionGeometry.supportPoint (X.componentSupportImage C D) ∈ |
| 60 | (X.componentSupportImage C A : Set X.carrier) ∩ (X.componentSupportImage C B : Set X.carrier) := by |
| 61 | intro hx |
| 62 | exact h ⟨(image_point_mem_iff X C A D).mp hx.1, (image_point_mem_iff X C B D).mp hx.2⟩ |
| 63 | rw [CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity, dite_eq_right h, CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity, dite_eq_right hnot] |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Component.Iff |