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.AbelianScheme.IsogenyQuotient.Parameter.Products |
| 2 | |
| 3 | /-! # Choices -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Universal.Choices.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | Extract the universal chosen subgroups from the actual finite-product |
| 11 | parameter functor. The coordinate equivalence and its naturality identify |
| 12 | every family with the pullback of those universal subgroups. |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {S : Scheme.{u}} |
| 20 | |
| 21 | def blockTupleCoordinates : (s : ℕ) → (F : Fin s → (Over S)ᵒᵖ ⥤ Type (u + 1)) → |
| 22 | (T : (Over S)ᵒᵖ) → (Parameter.Products.Construction.blockTupleFunctor s F).obj T ≃ (∀ i, (F i).obj T) |
| 23 | | 0, _, _ => { |
| 24 | toFun _ i := Fin.elim0 i |
| 25 | invFun _ := PUnit.unit |
| 26 | left_inv x := by |
| 27 | change (PUnit.unit : PUnit.{u + 2}) = x |
| 28 | cases x |
| 29 | rfl |
| 30 | right_inv _ := funext (fun i => Fin.elim0 i) } |
| 31 | | s + 1, F, T => { |
| 32 | toFun x := Fin.cons x.1 (blockTupleCoordinates s (fun i => F i.succ) T x.2) |
| 33 | invFun x := (x 0, (blockTupleCoordinates s (fun i => F i.succ) T).symm (fun i => x i.succ)) |
| 34 | left_inv x := by |
| 35 | cases x |
| 36 | simp only [Fin.cons_zero, Fin.cons_succ, Equiv.symm_apply_apply] |
| 37 | rfl |
| 38 | right_inv x := by |
| 39 | funext i |
| 40 | refine Fin.cases ?_ (fun j => ?_) i |
| 41 | · rfl |
| 42 | · exact congrFun ((blockTupleCoordinates s (fun i => F i.succ) T).apply_symm_apply |
| 43 | (fun i => x i.succ)) j } |
| 44 | |
| 45 | theorem blockTupleCoordinates_natural |
| 46 | (s : ℕ) (F : Fin s → (Over S)ᵒᵖ ⥤ Type (u + 1)) |
| 47 | {X Y : (Over S)ᵒᵖ} (f : X ⟶ Y) (x : (Parameter.Products.Construction.blockTupleFunctor s F).obj X) (i : Fin s) : |
| 48 | Construction.blockTupleCoordinates s F Y ((Parameter.Products.Construction.blockTupleFunctor s F).map f x) i = |
| 49 | (F i).map f (Construction.blockTupleCoordinates s F X x i) := by |
| 50 | induction s with |
| 51 | | zero => exact Fin.elim0 i |
| 52 | | succ s ih => |
| 53 | refine Fin.cases ?_ (fun j => ?_) i |
| 54 | · rfl |
| 55 | · exact ih (fun i => F i.succ) x.2 j |
| 56 | |
| 57 | /-- The universal tuple's coordinates pull back to each classified |
| 58 | family, via the supplied TorsionQuotient representation and its proved product. -/ |
| 59 | theorem represented_block_coordinates |
| 60 | (s : ℕ) (F : Fin s → (Over S)ᵒᵖ ⥤ Type (u + 1)) |
| 61 | {P T : Over S} (e : (Parameter.Products.Construction.blockTupleFunctor s F).RepresentableBy P) (b : T ⟶ P) (i : Fin s) : |
| 62 | Construction.blockTupleCoordinates s F (.op T) (e.homEquiv b) i = |
| 63 | (F i).map b.op (Construction.blockTupleCoordinates s F (.op P) (e.homEquiv (𝟙 P)) i) := by |
| 64 | rw [e.homEquiv_eq] |
| 65 | exact blockTupleCoordinates_natural s F b.op _ i |
| 66 | |
| 67 | variable {A : Over S} [GrpObj A] |
| 68 | variable (n s : ℕ) (M : Fin s → Type u) |
| 69 | variable [∀ i, AddCommGroup (M i)] [∀ i, Module (ZMod n) (M i)] [∀ i, Finite (M i)] |
| 70 | variable (p : Fin s → (A ⟶ A)) |
| 71 | |
| 72 | def universalBlockChoice {P : Over S} |
| 73 | (e : (Parameter.Products.Construction.blockTupleFunctor s (fun i => SubgroupFunctor.Construction.supportedSubgroupFunctor A n (M i) (p i))).RepresentableBy P) |
| 74 | (i : Fin s) : SubgroupFunctor.Construction.SupportedChoice A n (M i) (p i) P := |
| 75 | Construction.blockTupleCoordinates s (fun i => SubgroupFunctor.Construction.supportedSubgroupFunctor A n (M i) (p i)) (.op P) |
| 76 | (e.homEquiv (𝟙 P)) i |
| 77 | |
| 78 | theorem universalBlockChoice_pullback {P T : Over S} |
| 79 | (e : (Parameter.Products.Construction.blockTupleFunctor s (fun i => SubgroupFunctor.Construction.supportedSubgroupFunctor A n (M i) (p i))).RepresentableBy P) |
| 80 | (b : T ⟶ P) (i : Fin s) : |
| 81 | (Construction.blockTupleCoordinates s (fun i => SubgroupFunctor.Construction.supportedSubgroupFunctor A n (M i) (p i)) (.op T) |
| 82 | (e.homEquiv b) i).val.subgroup = |
| 83 | ((universalBlockChoice n s M p e i).val.subgroup).baseChange b := by |
| 84 | have h := represented_block_coordinates s |
| 85 | (fun i => SubgroupFunctor.Construction.supportedSubgroupFunctor A n (M i) (p i)) e b i |
| 86 | exact congrArg (fun c : SubgroupFunctor.Construction.SupportedChoice A n (M i) (p i) T => c.val.subgroup) h |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Universal.Choices.Construction |