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.QuotientGraphs |
| 3 | |
| 4 | /-! # Neighbors -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.Neighbors |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Reduced neighbors constructed from actual graph and product kernel maps. |
| 12 | Every index is an actual subspace of the generic active q-torsion. The |
| 13 | proved subspace equivalence selects its graph/product presentation; no |
| 14 | enumeration identity or reduced-target identity is a field of the data. |
| 15 | |
| 16 | This bridge is for quotient sheaves of a supplied split integral block. |
| 17 | The input consists of actual schemes and morphisms. Identifying that split |
| 18 | block with every evaluated PEL lift and retaining polarization and marking |
| 19 | are separate from this quotient-sheaf theorem. |
| 20 | -/ |
| 21 | |
| 22 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 23 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 24 | open scoped _root_.CategoryTheory.MonObj |
| 25 | |
| 26 | universe u |
| 27 | |
| 28 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.SubspaceCounts.Construction |
| 29 | |
| 30 | attribute [local instance] AbelianScheme.FrobeniusKernel.BaseChange.Construction.pulledBackGroup |
| 31 | attribute [local instance] Classical.propDecidable |
| 32 | |
| 33 | /-- A literal scheme map presenting a subgroup action on the ambient scheme. |
| 34 | In the graph construction the domain is H_U; in the mixed construction it |
| 35 | is M x H_U. No specialization or counting assertion is stored here. -/ |
| 36 | structure KernelPresentation {S : Scheme.{u}} (A : Over S) where |
| 37 | carrier : Over S |
| 38 | inclusion : carrier ⟶ A |
| 39 | |
| 40 | variable {F V : Type} [Field F] [AddCommGroup V] [Module F V] |
| 41 | variable {S T : Scheme.{u}} {A M E : Over S} [GrpObj A] [GrpObj M] |
| 42 | variable (H : Submodule F V → Over S) |
| 43 | variable (b : M ⊗ E ⟶ A) (e : ∀ U, H U ⟶ E) |
| 44 | variable (χ : ∀ U : Submodule F V, (U →ₗ[F] F) → (H U ⟶ M)) |
| 45 | |
| 46 | def kernelOfLiftData : SubspaceCounts.Construction.LiftData F V → KernelPresentation A |
| 47 | | ⟨U, Sum.inl L⟩ => |
| 48 | ⟨H U, QuotientGraphs.graphKernel b (e U) (χ U ((SubspaceCounts.Construction.disjointLiftEquiv U).symm L))⟩ |
| 49 | | ⟨U, Sum.inr _⟩ => ⟨M ⊗ H U, QuotientGraphs.mixedKernel b (e U)⟩ |
| 50 | |
| 51 | /-- The integral kernel associated to an actual generic active subspace. -/ |
| 52 | def subspaceKernel (L : Submodule F (V × F)) : KernelPresentation A := |
| 53 | kernelOfLiftData H b e χ (SubspaceCounts.Construction.allSubspacesEquiv.symm L) |
| 54 | |
| 55 | omit [GrpObj A] [GrpObj M] in |
| 56 | lemma subspaceKernel_equiv (d : SubspaceCounts.Construction.LiftData F V) : |
| 57 | subspaceKernel H b e χ (SubspaceCounts.Construction.allSubspacesEquiv d) = kernelOfLiftData H b e χ d := by |
| 58 | unfold subspaceKernel |
| 59 | rw [Equiv.symm_apply_apply] |
| 60 | |
| 61 | /-- The characteristic-zero target is the generic fiber of the integral |
| 62 | kernel quotient. The definition uses genuine sheaf base change. -/ |
| 63 | def genericNeighborTarget {G : Scheme.{u}} (genericMap : G ⟶ S) |
| 64 | (L : Submodule F (V × F)) : QuotientGraphs.QuotientTarget G := |
| 65 | QuotientGraphs.reducedQuotientTarget genericMap (subspaceKernel H b e χ L).inclusion |
| 66 | |
| 67 | def reducedNeighborTarget (f : T ⟶ S) |
| 68 | (L : Submodule F (V × F)) : QuotientGraphs.QuotientTarget T := |
| 69 | QuotientGraphs.reducedQuotientTarget f (subspaceKernel H b e χ L).inclusion |
| 70 | |
| 71 | /-- Quotient target of the literal special etale or mixed kernel. -/ |
| 72 | def specialKernelTarget (f : T ⟶ S) (U : Submodule F V) : Bool → QuotientGraphs.QuotientTarget T |
| 73 | | false => QuotientGraphs.quotientTarget ((Over.pullback f).map (QuotientGraphs.graphKernel b (e U) 1)) |
| 74 | | true => QuotientGraphs.quotientTarget ((Over.pullback f).map (QuotientGraphs.mixedKernel b (e U))) |
| 75 | |
| 76 | theorem reducedNeighborTarget_computed |
| 77 | (f : T ⟶ S) (q : ℕ) (hq : q.Prime) (hT : (q : Γ(T, ⊤)) = 0) |
| 78 | [IsIso (Picard.Homomorphisms.Frobenius.Construction.absoluteFrobenius q hq T hT)] |
| 79 | [∀ U, Etale ((Over.pullback f).obj (H U)).hom] |
| 80 | (hM : Picard.Homomorphisms.Frobenius.Construction.relativeFrobenius q hq hT ((Over.pullback f).obj M) = 1) |
| 81 | (L : Submodule F (V × F)) : |
| 82 | reducedNeighborTarget H b e χ f L = |
| 83 | specialKernelTarget H b e f (L.map (LinearMap.fst F V F)) |
| 84 | (decide (SubspaceCounts.Construction.identityLine ≤ L)) := by |
| 85 | classical |
| 86 | obtain ⟨⟨U, L | L⟩, rfl⟩ := (SubspaceCounts.Construction.allSubspacesEquiv (F := F) (V := V)).surjective L |
| 87 | · unfold reducedNeighborTarget |
| 88 | rw [subspaceKernel_equiv] |
| 89 | change QuotientGraphs.reducedQuotientTarget f |
| 90 | (QuotientGraphs.graphKernel b (e U) (χ U ((SubspaceCounts.Construction.disjointLiftEquiv U).symm L))) = _ |
| 91 | change _ = specialKernelTarget H b e f (L.val.map (LinearMap.fst F V F)) |
| 92 | (decide (SubspaceCounts.Construction.identityLine ≤ L.val)) |
| 93 | rw [L.property.2, |
| 94 | decide_eq_false (SubspaceCounts.Construction.identityLine_not_le_of_disjoint _ L.property.1)] |
| 95 | exact QuotientGraphs.reduced_graph_quotient_eq f q hq hT hM b (e U) _ |
| 96 | · unfold reducedNeighborTarget |
| 97 | rw [subspaceKernel_equiv] |
| 98 | change QuotientGraphs.reducedQuotientTarget f (QuotientGraphs.mixedKernel b (e U)) = _ |
| 99 | change _ = specialKernelTarget H b e f (L.val.map (LinearMap.fst F V F)) |
| 100 | (decide (SubspaceCounts.Construction.identityLine ≤ L.val)) |
| 101 | rw [L.property.2, decide_eq_true L.property.1] |
| 102 | exact QuotientGraphs.reducedQuotientTarget_eq f (QuotientGraphs.mixedKernel b (e U)) |
| 103 | |
| 104 | variable [Fintype F] [Fintype V] |
| 105 | |
| 106 | local instance : Fintype (Submodule F V) := Fintype.ofFinite _ |
| 107 | local instance : Fintype (Submodule F (V × F)) := Fintype.ofFinite _ |
| 108 | |
| 109 | /-- Enumerate all dimension-i generic kernels once, then reduce their |
| 110 | integral quotient targets. Repeated special targets remain in the multiset. -/ |
| 111 | def reducedNeighbors (f : T ⟶ S) (i : ℕ) : Multiset (QuotientGraphs.QuotientTarget T) := |
| 112 | ∑ L : Submodule F (V × F), |
| 113 | if Module.finrank F L = i then {reducedNeighborTarget H b e χ f L} else 0 |
| 114 | |
| 115 | /-- The geometric-to-counting bridge: it is proved kernel by kernel from |
| 116 | native quotient specialization and the Frobenius vanishing argument. -/ |
| 117 | theorem reducedNeighbors_eq_labeledReduction |
| 118 | (f : T ⟶ S) (q : ℕ) (hq : q.Prime) (hT : (q : Γ(T, ⊤)) = 0) |
| 119 | [IsIso (Picard.Homomorphisms.Frobenius.Construction.absoluteFrobenius q hq T hT)] |
| 120 | [∀ U, Etale ((Over.pullback f).obj (H U)).hom] |
| 121 | (hM : Picard.Homomorphisms.Frobenius.Construction.relativeFrobenius q hq hT ((Over.pullback f).obj M) = 1) |
| 122 | (i : ℕ) : |
| 123 | reducedNeighbors H b e χ f i = |
| 124 | SubspaceCounts.Construction.labeledReduction i (fun U flag => ({specialKernelTarget H b e f U flag} : |
| 125 | Multiset (QuotientGraphs.QuotientTarget T))) := by |
| 126 | classical |
| 127 | unfold reducedNeighbors SubspaceCounts.Construction.labeledReduction |
| 128 | apply Finset.sum_congr rfl |
| 129 | intro L _ |
| 130 | rw [reducedNeighborTarget_computed H b e χ f q hq hT hM L] |
| 131 | |
| 132 | /-- All three NeighborCounting multiplicities for native split-block quotient targets. -/ |
| 133 | theorem native_quotient_reduction_multiplicities |
| 134 | (f : T ⟶ S) (q : ℕ) (hq : q.Prime) |
| 135 | (hcard : Nat.card F = q) (hV : Module.finrank F V = 2) |
| 136 | (hT : (q : Γ(T, ⊤)) = 0) |
| 137 | [IsIso (Picard.Homomorphisms.Frobenius.Construction.absoluteFrobenius q hq T hT)] |
| 138 | [∀ U, Etale ((Over.pullback f).obj (H U)).hom] |
| 139 | (hM : Picard.Homomorphisms.Frobenius.Construction.relativeFrobenius q hq hT ((Over.pullback f).obj M) = 1) : |
| 140 | reducedNeighbors H b e χ f 1 = |
| 141 | {specialKernelTarget H b e f ⊥ true} + |
| 142 | q • (∑ U : Submodule F V, |
| 143 | if Module.finrank F U = 1 then {specialKernelTarget H b e f U false} else 0) ∧ |
| 144 | reducedNeighbors H b e χ f 2 = |
| 145 | (∑ U : Submodule F V, |
| 146 | if Module.finrank F U = 1 then {specialKernelTarget H b e f U true} else 0) + |
| 147 | q ^ 2 • ({specialKernelTarget H b e f ⊤ false} : Multiset (QuotientGraphs.QuotientTarget T)) ∧ |
| 148 | reducedNeighbors H b e χ f 3 = {specialKernelTarget H b e f ⊤ true} := by |
| 149 | rw [reducedNeighbors_eq_labeledReduction H b e χ f q hq hT hM 1, |
| 150 | reducedNeighbors_eq_labeledReduction H b e χ f q hq hT hM 2, |
| 151 | reducedNeighbors_eq_labeledReduction H b e χ f q hq hT hM 3, |
| 152 | SubspaceCounts.Construction.labeledReduction_one, SubspaceCounts.Construction.labeledReduction_two hV, SubspaceCounts.Construction.labeledReduction_three hV, hcard] |
| 153 | exact ⟨rfl, rfl, rfl⟩ |
| 154 | |
| 155 | end |
| 156 | |
| 157 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.Neighbors |