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.PELModuli.IntegralModel.Finite.PartitionGroupHom |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.EndomorphismEquationBridge |
| 3 | |
| 4 | /-! # Partition Endomorphisms -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Finite.PartitionEndomorphisms |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual endomorphism rings on a finite disjoint partition of the |
| 11 | parameter base assemble by their geometric restriction maps. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | namespace FiniteBasePartition |
| 18 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.EndomorphismEquationBridge.EndomorphismFamilies |
| 19 | variable {S : Scheme.{0}} {I : Type} [Finite I] |
| 20 | (U : I → Over S) (T : Over S) (j : ∀ i, U i ⟶ T) |
| 21 | (H : IsColimit (Cofan.mk T.left (fun i => (j i).left))) |
| 22 | {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 23 | |
| 24 | def restrictionRingHom : Actions.GroupEndRing (A.pullback T.hom) →+* |
| 25 | ∀ i, Actions.GroupEndRing (A.pullback (U i).hom) := RingHom.pi (fun i => EndomorphismFamiliesId.EndomorphismFamilies.restrict A (j i)) |
| 26 | |
| 27 | include H in |
| 28 | theorem restrictionRingHom_bijective : Function.Bijective (restrictionRingHom U T j A) := by |
| 29 | constructor |
| 30 | · intro r q h |
| 31 | apply Actions.GroupEndRing.ext |
| 32 | apply (EndomorphismHom.EndomorphismFamilies.relativeHomEquiv A T).injective |
| 33 | apply PartitionBaseMaps.FiniteBasePartition.product_hom_ext U T j H A.scheme A.scheme |
| 34 | intro i |
| 35 | rw [← EndomorphismHom.EndomorphismFamilies.relativeHom_restrict, ← EndomorphismHom.EndomorphismFamilies.relativeHom_restrict] |
| 36 | exact congrArg (fun z : Actions.GroupEndRing (A.pullback (U i).hom) => |
| 37 | EndomorphismHom.EndomorphismFamilies.relativeHomEquiv A (U i) (z.hom (A.pullback (U i).hom))) (congrFun h i) |
| 38 | · intro r |
| 39 | let f (i : I) := EndomorphismHom.EndomorphismFamilies.relativeHomEquiv A (U i) ((r i).hom (A.pullback (U i).hom)) |
| 40 | let q := PartitionBaseMaps.FiniteBasePartition.glue U T j H A.scheme A.scheme f |
| 41 | have hq := PartitionGroupHom.FiniteBasePartition.glue_respectsGroup U T j H A.scheme f (fun i => EndomorphismEquationBridge.EndomorphismFamilies.relativeHom_group_equations A (U i) (r i)) |
| 42 | let z := EndomorphismEquationBridge.EndomorphismFamilies.groupEndOfFamily A T q hq |
| 43 | refine ⟨z, funext (fun i => ?_)⟩ |
| 44 | apply Actions.GroupEndRing.ext |
| 45 | apply (EndomorphismHom.EndomorphismFamilies.relativeHomEquiv A (U i)).injective |
| 46 | change EndomorphismHom.EndomorphismFamilies.relativeHomEquiv A (U i) ((EndomorphismFamiliesId.EndomorphismFamilies.restrict A (j i) z).hom (A.pullback (U i).hom)) = f i |
| 47 | rw [EndomorphismHom.EndomorphismFamilies.relativeHom_restrict] |
| 48 | have hz : EndomorphismHom.EndomorphismFamilies.relativeHomEquiv A T (z.hom (A.pullback T.hom)) = q := EndomorphismEquationBridge.EndomorphismFamilies.groupEndOfFamily_spec A T q hq |
| 49 | rw [hz] |
| 50 | exact PartitionBaseMaps.FiniteBasePartition.glue_restrict U T j H A.scheme A.scheme f i |
| 51 | |
| 52 | def restrictionRingEquiv : Actions.GroupEndRing (A.pullback T.hom) ≃+* |
| 53 | ∀ i, Actions.GroupEndRing (A.pullback (U i).hom) := |
| 54 | RingEquiv.ofBijective (restrictionRingHom U T j A) (restrictionRingHom_bijective U T j H A) |
| 55 | |
| 56 | end FiniteBasePartition |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Finite.PartitionEndomorphisms |