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.Divisors.LineBundles.Point.CycleChow |
| 2 | |
| 3 | /-! # Cycle Partition -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Point.CyclePartition.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! A finite partition into injectively parametrized subsets decomposes |
| 12 | actual point cycles by restriction and extension by zero. -/ |
| 13 | |
| 14 | theorem pointCycle_map_comap_apply_of_mem {X U : Type*} (i : U → X) (hi : Function.Injective i) |
| 15 | (z : X →₀ ℚ) (x : X) (hx : x ∈ Set.range i) : |
| 16 | Finsupp.mapDomain i (Finsupp.comapDomain i z hi.injOn) x = z x := by |
| 17 | obtain ⟨u, rfl⟩ := hx |
| 18 | rw [Finsupp.mapDomain_apply_of_injective hi, Finsupp.comapDomain_apply] |
| 19 | |
| 20 | theorem pointCycle_finitePartition {X ι : Type*} [Fintype ι] (U : ι → Type*) |
| 21 | (i : ∀ k, U k → X) (hi : ∀ k, Function.Injective (i k)) |
| 22 | (hcover : ∀ x : X, ∃! k, x ∈ Set.range (i k)) (z : X →₀ ℚ) : |
| 23 | ∑ k, Finsupp.mapDomain (i k) (Finsupp.comapDomain (i k) z (hi k).injOn) = z := by |
| 24 | classical |
| 25 | ext x |
| 26 | simp only [Finsupp.finsetSum_apply] |
| 27 | obtain ⟨k, hk, huniq⟩ := hcover x |
| 28 | rw [Finset.sum_eq_single k] |
| 29 | · exact pointCycle_map_comap_apply_of_mem (i k) (hi k) z x hk |
| 30 | · intro b _ hbk |
| 31 | exact Finsupp.mapDomain_of_notMem_range _ _ (fun hb => hbk (huniq b hb)) |
| 32 | · simp |
| 33 | |
| 34 | end |
| 35 | |
| 36 | /-! Finite point-cycle decomposition only needs a partition on the |
| 37 | finite support of the cycle itself. -/ |
| 38 | |
| 39 | theorem pointCycle_map_comap_apply_zero {X U : Type*} (i : U → X) (hi : Function.Injective i) |
| 40 | (z : X →₀ ℚ) (x : X) (hx : z x = 0) : |
| 41 | Finsupp.mapDomain i (Finsupp.comapDomain i z hi.injOn) x = 0 := by |
| 42 | by_cases h : x ∈ Set.range i |
| 43 | · exact (pointCycle_map_comap_apply_of_mem i hi z x h).trans hx |
| 44 | · exact Finsupp.mapDomain_of_notMem_range _ _ h |
| 45 | |
| 46 | theorem pointCycle_finitePartition_of_support {X ι : Type*} [Fintype ι] (U : ι → Type*) |
| 47 | (i : ∀ k, U k → X) (hi : ∀ k, Function.Injective (i k)) (z : X →₀ ℚ) |
| 48 | (hcover : ∀ x ∈ z.support, ∃! k, x ∈ Set.range (i k)) : |
| 49 | ∑ k, Finsupp.mapDomain (i k) (Finsupp.comapDomain (i k) z (hi k).injOn) = z := by |
| 50 | classical |
| 51 | ext x |
| 52 | simp only [Finsupp.finsetSum_apply] |
| 53 | by_cases hx : x ∈ z.support |
| 54 | · obtain ⟨k, hk, huniq⟩ := hcover x hx |
| 55 | rw [Finset.sum_eq_single k] |
| 56 | · exact pointCycle_map_comap_apply_of_mem (i k) (hi k) z x hk |
| 57 | · intro b _ hbk |
| 58 | exact Finsupp.mapDomain_of_notMem_range _ _ (fun hb => hbk (huniq b hb)) |
| 59 | · simp |
| 60 | · have hz : z x = 0 := by simpa only [Finsupp.mem_support_iff, not_not] using hx |
| 61 | rw [hz] |
| 62 | exact Finset.sum_eq_zero (fun k _ => pointCycle_map_comap_apply_zero (i k) (hi k) z x hz) |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Point.CyclePartition.BundleCycles |