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.AbelianModuli.ReferenceFamily.Affine.PointChartCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.GroupCoefficientConormal |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Section.ConormalMaps |
| 4 | |
| 5 | /-! # Identity Conormal -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Constructed.IdentityConormal |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A smooth group over a field supplies its actual affine identity |
| 12 | neighborhood and finite conormal space. Arbitrary-coefficient group lifts |
| 13 | then have coordinates in the coefficient dual of this constructed space. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | attribute [local implicit_reducible] EtaleSplittingAt.EtaleSplitting.affineOver PELModuli.IntegralModel.Section.ConormalMaps.SectionConormal.module |
| 19 | |
| 20 | variable (k : Type) [Field k] (A : Over (Spec (.of k))) [GrpObj A] |
| 21 | |
| 22 | def selectedAffineIdentityChart : Affine.RationalPointChart.AffineOverPointChart k A (1 : EtaleSplittingAt.EtaleSplitting.affineOver k k ⟶ A) := |
| 23 | Classical.choice (Affine.RationalPointChart.exists_affineOverPointChart k A (1 : EtaleSplittingAt.EtaleSplitting.affineOver k k ⟶ A)) |
| 24 | |
| 25 | abbrev constructedIdentityAlgebra : CommAlgCat k := |
| 26 | Affine.PointChartCoordinates.affinePointChartAlgebra k A 1 (selectedAffineIdentityChart k A) |
| 27 | |
| 28 | def constructedIdentityAugmentation : constructedIdentityAlgebra k A →ₐ[k] k := |
| 29 | Affine.PointChartCoordinates.affinePointChartAugmentation k A 1 (selectedAffineIdentityChart k A) |
| 30 | |
| 31 | abbrev constructedIdentityConormal := PELModuli.IntegralModel.Section.ConormalMaps.SectionConormal.module (constructedIdentityAugmentation k A) |
| 32 | |
| 33 | instance constructedIdentityAlgebra_smooth [Smooth A.hom] : Algebra.Smooth k (constructedIdentityAlgebra k A) := |
| 34 | Affine.PointChartCoordinates.affinePointChartAlgebra_smooth k A 1 (selectedAffineIdentityChart k A) |
| 35 | |
| 36 | instance constructedIdentityConormal_finite [Smooth A.hom] : Module.Finite k (constructedIdentityConormal k A) := |
| 37 | (PELModuli.IntegralModel.Section.ConormalMaps.SectionConormal.finite_projective (constructedIdentityAugmentation k A)).1 |
| 38 | |
| 39 | variable [Smooth A.hom] (C : Type) [CommRing C] [Algebra k C] |
| 40 | |
| 41 | def constructedIdentityLiftConormalEquiv (c : EtaleSplittingAt.EtaleSplitting.affineOver k (DualNumber C) ⟶ A) : |
| 42 | {f : EtaleSplittingAt.EtaleSplitting.affineOver k (DualNumber C) ⟶ A // Dual.CoefficientSchemeTests.dualCoefficientOrigin k C ≫ f = Dual.CoefficientSchemeTests.dualCoefficientOrigin k C ≫ c} ≃ |
| 43 | (constructedIdentityConormal k A →ₗ[k] C) := by |
| 44 | let B := constructedIdentityAlgebra k A |
| 45 | let e : B →ₐ[k] k := constructedIdentityAugmentation k A |
| 46 | let : Algebra B k := e.toRingHom.toAlgebra |
| 47 | let : IsScalarTower k B k := IsScalarTower.of_algebraMap_eq (fun r => (e.commutes r).symm) |
| 48 | let : Algebra B C := ((algebraMap k C).comp e.toRingHom).toAlgebra |
| 49 | let : IsScalarTower B k C := IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 50 | let : IsScalarTower k B C := IsScalarTower.of_algebraMap_eq (fun r => by |
| 51 | change algebraMap k C r = algebraMap k C (e (algebraMap k B r)) |
| 52 | rw [e.commutes] |
| 53 | rfl) |
| 54 | let i : EtaleSplittingAt.EtaleSplitting.affineOver k B ⟶ A := Affine.PointChartCoordinates.affinePointChartInclusion k A 1 (selectedAffineIdentityChart k A) |
| 55 | have hopen : IsOpenImmersion i.left := |
| 56 | Affine.PointChartCoordinates.affinePointChartInclusion_open k A 1 (selectedAffineIdentityChart k A) |
| 57 | have hi : Affine.AlgebraAutomorphismNaturality.affineOverAlgHom k B k (IsScalarTower.toAlgHom k B k) ≫ i = 1 := |
| 58 | Affine.PointChartCoordinates.affinePointChartAugmentation_fac k A 1 (selectedAffineIdentityChart k A) |
| 59 | exact GroupCoefficientConormal.groupCoefficientConormalEquiv k B C i hi c |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Constructed.IdentityConormal |