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.Picard.PoincareBundle.SchemeCocycleSplitting |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.SchemeCocycleTransport |
| 3 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.FiniteHopfPresentation |
| 4 | |
| 5 | /-! # Group Cocycle Splitting -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Finite.GroupCocycleSplitting |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Split a regular cocycle on a finite commutative group scheme without supplied coordinates. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (k : Type u) [Field k] [IsAlgClosed k] (H : Over (Spec (.of k))) |
| 19 | [GrpObj H] [IsCommMonObj H] [IsFinite H.hom] |
| 20 | (C : NaturalSchemeCocycle.NaturalCocycle H) |
| 21 | |
| 22 | /-- A natural regular splitting exists on the original group, including all infinitesimal tests. -/ |
| 23 | theorem exists_splitting : |
| 24 | ∃ v : ∀ T : Over (Spec (.of k)), (T ⟶ H) → Γ(T.left, ⊤)ˣ, |
| 25 | (∀ T : Over (Spec (.of k)), v T 1 = 1) ∧ |
| 26 | (∀ {T U : Over (Spec (.of k))} (g : U ⟶ T) (a : T ⟶ H), |
| 27 | Units.map g.left.appTop.hom (v T a) = v U (g ≫ a)) ∧ |
| 28 | ∀ (T : Over (Spec (.of k))) (a b : T ⟶ H), |
| 29 | C.value a b * v T (a * b) = v T a * v T b := by |
| 30 | obtain ⟨R, hf, hc, ⟨e⟩⟩ := Homomorphisms.FiniteHopfPresentation.Construction.finite_commutative_hopfPresentation k (Grp.mk H) |
| 31 | have : Module.Finite k R := hf |
| 32 | have : Coalgebra.IsCocomm k R := hc |
| 33 | let i : ((Spec (.of R)).asOver (Spec (.of k))) ≅ H := (Grp.forget _).mapIso e |
| 34 | have : IsMonHom i.hom := inferInstanceAs (IsMonHom e.hom.hom.hom) |
| 35 | have : IsMonHom i.inv := inferInstanceAs (IsMonHom e.inv.hom.hom) |
| 36 | let C' := SchemeCocycleTransport.pullback i.hom C |
| 37 | obtain ⟨a, haone, hamul⟩ := SchemeCocycleSplitting.exists_regular_splitting k R C' |
| 38 | let v (T : Over (Spec (.of k))) (x : T ⟶ H) := |
| 39 | CocycleSchemeValues.solution k R a T (x ≫ i.inv) |
| 40 | refine ⟨v, ?_, ?_, ?_⟩ |
| 41 | · intro T |
| 42 | change CocycleSchemeValues.solution k R a T ((1 : T ⟶ H) ≫ i.inv) = 1 |
| 43 | rw [MonObj.one_comp] |
| 44 | exact haone T |
| 45 | · intro T U g x |
| 46 | exact (CocycleSchemeValues.solution_natural k R a g (x ≫ i.inv)).trans |
| 47 | (congrArg (CocycleSchemeValues.solution k R a U) (Category.assoc g x i.inv).symm) |
| 48 | · intro T x y |
| 49 | have h := hamul T (x ≫ i.inv) (y ≫ i.inv) |
| 50 | have hx : (x ≫ i.inv) ≫ i.hom = x := by simp only [Category.assoc, i.inv_hom_id, Category.comp_id] |
| 51 | have hy : (y ≫ i.inv) ≫ i.hom = y := by simp only [Category.assoc, i.inv_hom_id, Category.comp_id] |
| 52 | have hv : C'.value (x ≫ i.inv) (y ≫ i.inv) = C.value x y := |
| 53 | (SchemeCocycleTransport.value i.hom C (x ≫ i.inv) (y ≫ i.inv)).trans |
| 54 | (congrArg₂ (fun p q : T ⟶ H => C.value p q) hx hy) |
| 55 | have hp : (x * y) ≫ i.inv = (x ≫ i.inv) * (y ≫ i.inv) := MonObj.mul_comp x y i.inv |
| 56 | exact (congrArg₂ (fun c z => c * CocycleSchemeValues.solution k R a T z) hv.symm hp).trans h |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Finite.GroupCocycleSplitting |