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.Isogenies.NeighborCounting.TupleKernelPoints |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ChoiceKernel |
| 3 | |
| 4 | /-! # Tuple Kernel Reindex -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.TupleKernelReindex |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The complete chosen/opposite product is independent of its finite |
| 11 | index ordering. This compares IsogenyQuotient's disjoint-sum enumeration with the |
| 12 | paired product used by NeighborCounting on every test scheme. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ChoiceKernel.Construction OAI.AlgebraicGeometry.Isogenies.NeighborCounting.TupleKernelPoints |
| 20 | |
| 21 | variable {S : Scheme.{u}} {A P : Over S} [GrpObj A] [IsCommMonObj A] |
| 22 | |
| 23 | theorem reindexed_tuple_mem {I : Type*} [Fintype I] (n : ℕ) (e : Fin n ≃ I) |
| 24 | (F : I → AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) (T : Over S) (t : T ⟶ P) (a : T ⟶ A) : |
| 25 | a ∈ (AbelianScheme.IsogenyQuotient.Kernel.Tuples.Construction.tupleKernel n (fun v => F (e v))).points T t ↔ |
| 26 | ∃ b : I → (T ⟶ A), (∀ v, b v ∈ (F v).points T t) ∧ ∏ v, b v = a := by |
| 27 | rw [TupleKernelPoints.tupleKernel_mem_iff] |
| 28 | constructor |
| 29 | · rintro ⟨b, hb, ha⟩ |
| 30 | refine ⟨fun v => b (e.symm v), ?_, ?_⟩ |
| 31 | · intro v |
| 32 | simpa only [e.apply_symm_apply] using hb (e.symm v) |
| 33 | · exact (Fintype.prod_equiv e b (fun v => b (e.symm v)) |
| 34 | (fun v => congrArg b (e.symm_apply_apply v).symm)).symm.trans ha |
| 35 | · rintro ⟨b, hb, ha⟩ |
| 36 | exact ⟨fun v => b (e v), fun v => hb (e v), |
| 37 | (Fintype.prod_equiv e (fun v => b (e v)) b (fun _ => rfl)).trans ha⟩ |
| 38 | |
| 39 | theorem tuple_sum_pairs (s : ℕ) (F G : Fin s → AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) : |
| 40 | AbelianScheme.IsogenyQuotient.Kernel.Tuples.Construction.tupleKernel (Fintype.card (AbelianScheme.IsogenyQuotient.ChoiceKernel.Construction.KernelIndex s)) (fun v => |
| 41 | Sum.elim F G ((Fintype.equivFin (AbelianScheme.IsogenyQuotient.ChoiceKernel.Construction.KernelIndex s)).symm v)) = |
| 42 | AbelianScheme.IsogenyQuotient.Kernel.Tuples.Construction.tupleKernel s (fun v => AbelianScheme.IsogenyQuotient.Kernel.Product.Construction.relativeKernelProduct (F v) (G v)) := by |
| 43 | ext T t a |
| 44 | rw [reindexed_tuple_mem _ (Fintype.equivFin (AbelianScheme.IsogenyQuotient.ChoiceKernel.Construction.KernelIndex s)).symm, |
| 45 | TupleKernelPoints.tupleKernel_mem_iff] |
| 46 | constructor |
| 47 | · rintro ⟨b, hb, ha⟩ |
| 48 | refine ⟨fun v => b (.inl v) * b (.inr v), ?_, ?_⟩ |
| 49 | · intro v |
| 50 | exact ⟨_, hb (.inl v), _, hb (.inr v), rfl⟩ |
| 51 | · simpa only [Fintype.prod_sum_type, ← Finset.prod_mul_distrib] using ha |
| 52 | · rintro ⟨b, hb, ha⟩ |
| 53 | choose x hx y hy he using hb |
| 54 | refine ⟨Sum.elim x y, ?_, ?_⟩ |
| 55 | · intro v |
| 56 | cases v with |
| 57 | | inl v => exact hx v |
| 58 | | inr v => exact hy v |
| 59 | · rw [Fintype.prod_sum_type, ← Finset.prod_mul_distrib] |
| 60 | exact (Finset.prod_congr rfl (fun v _ => (he v).symm)).trans ha |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.TupleKernelReindex |