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.Finite.StalkSections |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Regular.SequenceTailChange |
| 3 | |
| 4 | /-! # Stalk Tail Section -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.StalkTailSection.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An element of the ideal of tail germs is represented, on a smaller |
| 11 | open, by an element of the actual tail section ideal. Consequently an |
| 12 | elementary head change can be made before taking germs. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | open scoped BigOperators |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Finite.StalkSections.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Regular.SequenceTailChange.Constructions |
| 18 | |
| 19 | universe u |
| 20 | variable (X : Scheme.{u}) (x : X) (B : X.Opens) (hxB : x ∈ B) |
| 21 | |
| 22 | theorem exists_tail_section (rs : List Γ(X, B)) (t : X.presheaf.stalk x) |
| 23 | (ht : t ∈ Ideal.ofList (rs.map (X.presheaf.germ B x hxB))) : |
| 24 | ∃ C : X.Opens, ∃ hCB : C ≤ B, ∃ hxC : x ∈ C, ∃ u : Γ(X, C), |
| 25 | u ∈ Ideal.ofList (rs.map (X.presheaf.map (homOfLE hCB).op)) ∧ |
| 26 | X.presheaf.germ C x hxC u = t := by |
| 27 | classical |
| 28 | have hspan : Ideal.ofList (rs.map (X.presheaf.germ B x hxB)) = |
| 29 | Ideal.span (Set.range (fun i : Fin rs.length => X.presheaf.germ B x hxB (rs.get i))) := by |
| 30 | apply congrArg Ideal.span |
| 31 | ext y |
| 32 | constructor |
| 33 | · intro hy |
| 34 | obtain ⟨a, ha, hy⟩ := List.mem_map.mp hy |
| 35 | obtain ⟨i, rfl⟩ := List.mem_iff_get.mp ha |
| 36 | exact ⟨i, hy⟩ |
| 37 | · rintro ⟨i, rfl⟩ |
| 38 | exact List.mem_map.mpr ⟨rs.get i, List.get_mem rs i, rfl⟩ |
| 39 | rw [hspan] at ht |
| 40 | obtain ⟨c, hc⟩ := Ideal.mem_span_range_iff_exists_fun.mp ht |
| 41 | obtain ⟨C, hCB, hxC, a, ha⟩ := Finite.StalkSections.Constructions.exists_finite_sections X x B hxB c |
| 42 | let ρ := X.presheaf.map (homOfLE hCB).op |
| 43 | let u : Γ(X, C) := ∑ i, a i * ρ (rs.get i) |
| 44 | refine ⟨C, hCB, hxC, u, ?_, ?_⟩ |
| 45 | · apply Ideal.sum_mem |
| 46 | intro i _ |
| 47 | exact Ideal.mul_mem_left _ (a i) |
| 48 | (Ideal.subset_span (List.mem_map.mpr ⟨rs.get i, List.get_mem rs i, rfl⟩)) |
| 49 | · change X.presheaf.germ C x hxC (∑ i, a i * ρ (rs.get i)) = t |
| 50 | simp only [map_sum, map_mul, ha] |
| 51 | exact (Finset.sum_congr rfl (fun i _ => congrArg (fun z => c i * z) |
| 52 | (X.presheaf.germ_res_apply (homOfLE hCB) x hxC (rs.get i)))).trans hc |
| 53 | |
| 54 | theorem exists_head_adjustment (r : Γ(X, B)) (rs : List Γ(X, B)) (t : X.presheaf.stalk x) |
| 55 | (ht : t ∈ Ideal.ofList (rs.map (X.presheaf.germ B x hxB))) : |
| 56 | ∃ C : X.Opens, ∃ hCB : C ≤ B, ∃ hxC : x ∈ C, ∃ s : Γ(X, C), |
| 57 | Ideal.ofList (s :: rs.map (X.presheaf.map (homOfLE hCB).op)) = |
| 58 | Ideal.ofList ((r :: rs).map (X.presheaf.map (homOfLE hCB).op)) ∧ |
| 59 | X.presheaf.germ C x hxC s = X.presheaf.germ B x hxB r + t := by |
| 60 | obtain ⟨C, hCB, hxC, u, hu, hgu⟩ := exists_tail_section X x B hxB rs t ht |
| 61 | let ρ := X.presheaf.map (homOfLE hCB).op |
| 62 | refine ⟨C, hCB, hxC, ρ r + u, Regular.SequenceTailChange.Constructions.ofList_add_tail (ρ r) u (rs.map ρ) hu, ?_⟩ |
| 63 | rw [map_add, hgu] |
| 64 | exact congrArg (fun z => z + t) (X.presheaf.germ_res_apply (homOfLE hCB) x hxC r) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.CycleClass.Thom.StalkTailSection.Constructions |