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.HilbertScheme.Presentations.GroupLawFiniteIdentities |
| 2 | |
| 3 | /-! # Group Law Morphism Equation -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.GroupLawMorphismEquation.Core |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An actual natural morphism equation for group-law preservation. |
| 10 | Its source is the product of the given proper flat finitely presented family. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} (A : Over S) [GrpObj A] |
| 17 | |
| 18 | def groupProductTransformation : HomFunctor.Hom.morphismFunctor A A ⟶ HomFunctor.Hom.morphismFunctor (A ⨯ A) A where |
| 19 | app _T := ↾fun f => GroupLawFiniteIdentities.Core.groupProductValue A f |
| 20 | naturality _T _U a := by |
| 21 | ext f |
| 22 | exact GroupLawFiniteIdentities.Core.groupProductValue_baseChange A f a.unop |
| 23 | |
| 24 | def productGroupTransformation : HomFunctor.Hom.morphismFunctor A A ⟶ HomFunctor.Hom.morphismFunctor (A ⨯ A) A where |
| 25 | app _T := ↾fun f => GroupLawFiniteIdentities.Core.productGroupValues A f |
| 26 | naturality _T _U a := by |
| 27 | ext f |
| 28 | exact GroupLawFiniteIdentities.Core.productGroupValues_baseChange A f a.unop |
| 29 | |
| 30 | variable [Flat A.hom] [IsProper A.hom] [LocallyOfFinitePresentation A.hom] |
| 31 | |
| 32 | def groupLawMorphismEquation : Endomorphisms.Core.FamilyMorphismEquation (HomFunctor.Hom.morphismFunctor A A) where |
| 33 | source := A ⨯ A |
| 34 | target := A |
| 35 | flat := by |
| 36 | have : Flat (prod.fst : A ⨯ A ⟶ A).left := by |
| 37 | rw [← Over.prodLeftIsoPullback_hom_fst] |
| 38 | infer_instance |
| 39 | rw [← (prod.fst : A ⨯ A ⟶ A).w] |
| 40 | infer_instance |
| 41 | proper := by |
| 42 | have : IsProper (prod.fst : A ⨯ A ⟶ A).left := by |
| 43 | rw [← Over.prodLeftIsoPullback_hom_fst] |
| 44 | infer_instance |
| 45 | rw [← (prod.fst : A ⨯ A ⟶ A).w] |
| 46 | infer_instance |
| 47 | finitelyPresented := by |
| 48 | have : LocallyOfFinitePresentation (prod.fst : A ⨯ A ⟶ A).left := by |
| 49 | rw [← Over.prodLeftIsoPullback_hom_fst] |
| 50 | infer_instance |
| 51 | rw [← (prod.fst : A ⨯ A ⟶ A).w] |
| 52 | infer_instance |
| 53 | separated := inferInstance |
| 54 | lhs := groupProductTransformation A |
| 55 | rhs := productGroupTransformation A |
| 56 | |
| 57 | theorem groupLawMorphismEquation_iff {T : Over S} (f : T ⨯ A ⟶ A) : |
| 58 | (groupLawMorphismEquation A).lhs.app (.op T) f = |
| 59 | (groupLawMorphismEquation A).rhs.app (.op T) f ↔ Endomorphisms.Core.PreservesGroupLaw A f := |
| 60 | (GroupLawFiniteIdentities.Core.preservesGroupLaw_iff_product_identity A f).symm |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.GroupLawMorphismEquation.Core |