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.SubspaceCounts |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Parameter.MultisetEnumeration |
| 3 | |
| 4 | /-! # Three Parameter Counts -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ThreeParameterCounts |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Count exactly three original finite parameter sets using their |
| 11 | proved subspace bijections. Repeated target values retain multiplicity. -/ |
| 12 | |
| 13 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.SubspaceCounts.Construction OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Parameter.MultisetEnumeration |
| 14 | |
| 15 | variable {F V X : Type} [Field F] [Fintype F] [AddCommGroup V] [Module F V] [Fintype V] |
| 16 | (A : Fin 3 → Type) [∀ i, Fintype (A i)] |
| 17 | (e : ∀ i : Fin 3, A i ≃ {J : Submodule F (V × F) // Module.finrank F J = i.val + 1}) |
| 18 | (target : Fin 3 → Submodule F V → Bool → X) |
| 19 | |
| 20 | local instance : Fintype (Submodule F V) := Fintype.ofFinite _ |
| 21 | local instance : Fintype (Submodule F (V × F)) := Fintype.ofFinite _ |
| 22 | |
| 23 | open Classical in |
| 24 | def originalLabeledParameters (i : Fin 3) : Multiset X := |
| 25 | Finset.univ.val.map (fun a : A i => target i ((e i a).val.map (LinearMap.fst F V F)) |
| 26 | (decide (SubspaceCounts.Construction.identityLine ≤ (e i a).val))) |
| 27 | |
| 28 | theorem originalLabeledParameters_eq (i : Fin 3) : |
| 29 | originalLabeledParameters A e target i = |
| 30 | SubspaceCounts.Construction.labeledReduction (i.val + 1) (fun U flag => ({target i U flag} : Multiset X)) := by |
| 31 | classical |
| 32 | rw [originalLabeledParameters, Parameter.MultisetEnumeration.parameter_multiset_subtype _ (e i)] |
| 33 | unfold SubspaceCounts.Construction.labeledReduction |
| 34 | apply Finset.sum_congr rfl |
| 35 | intro J _ |
| 36 | by_cases h : Module.finrank F J = i.val + 1 |
| 37 | · rw [dite_eq_left h, ite_eq_left h, (e i).apply_symm_apply] |
| 38 | · rw [dite_eq_right h, ite_eq_right h] |
| 39 | |
| 40 | theorem original_three_parameter_counts (hV : Module.finrank F V = 2) : |
| 41 | originalLabeledParameters A e target 0 = {target 0 ⊥ true} + |
| 42 | Nat.card F • (∑ U : Submodule F V, if Module.finrank F U = 1 then {target 0 U false} else 0) ∧ |
| 43 | originalLabeledParameters A e target 1 = |
| 44 | (∑ U : Submodule F V, if Module.finrank F U = 1 then {target 1 U true} else 0) + |
| 45 | Nat.card F ^ 2 • {target 1 ⊤ false} ∧ |
| 46 | originalLabeledParameters A e target 2 = {target 2 ⊤ true} := by |
| 47 | classical |
| 48 | rw [originalLabeledParameters_eq, originalLabeledParameters_eq, originalLabeledParameters_eq] |
| 49 | exact ⟨SubspaceCounts.Construction.labeledReduction_one _, SubspaceCounts.Construction.labeledReduction_two hV _, SubspaceCounts.Construction.labeledReduction_three hV _⟩ |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ThreeParameterCounts |