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.NumberTheory.PadicHodge.IntegralComparison.Projective.AmbientChartRestriction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AmbientLineBaseChange |
| 3 | |
| 4 | /-! # Ambient Principal Restriction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.AmbientPrincipalRestriction.Adjunction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Ambient projective adjunction after quotient scalar extension |
| 11 | commutes with literal restriction to a principal affine subopen. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite _root_.MvPolynomial |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Sections |
| 17 | |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | universe u |
| 23 | variable {R : Type u} [CommRing R] {n : ℕ} |
| 24 | attribute [local instance] MvPolynomial.gradedAlgebra AmbientAdjunction.sectionAlgebra |
| 25 | |
| 26 | variable (i : Fin (n + 1)) (U : (IntrinsicOverlap.Intrinsic.space R n).Opens) (hU : IsAffineOpen U) |
| 27 | (hUi : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) (r : Γ(IntrinsicOverlap.Intrinsic.space R n, U)) |
| 28 | (k : Fin (n + 1)) (hVk : AffinePrincipal.Sections.openSubset U r ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) k) |
| 29 | (j : Fin (n + 1)) |
| 30 | |
| 31 | local instance principalBaseTower : |
| 32 | IsScalarTower R Γ(IntrinsicOverlap.Intrinsic.space R n, U) Γ(IntrinsicOverlap.Intrinsic.space R n, AffinePrincipal.Sections.openSubset U r) := |
| 33 | IsScalarTower.of_algebraMap_eq (fun a => |
| 34 | (((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R (IntrinsicOverlap.Intrinsic.model R n)).map (AffinePrincipal.Sections.inclusion U r).op).hom.commutes a).symm) |
| 35 | |
| 36 | theorem ambientIso_restriction |
| 37 | (I : Ideal Γ(IntrinsicOverlap.Intrinsic.space R n, U)) (J : Ideal Γ(IntrinsicOverlap.Intrinsic.space R n, AffinePrincipal.Sections.openSubset U r)) |
| 38 | (hJ : I.map (algebraMap Γ(IntrinsicOverlap.Intrinsic.space R n, U) Γ(IntrinsicOverlap.Intrinsic.space R n, AffinePrincipal.Sections.openSubset U r)) = J) |
| 39 | (hIJ : I ≤ J.comap (algebraMap Γ(IntrinsicOverlap.Intrinsic.space R n, U) Γ(IntrinsicOverlap.Intrinsic.space R n, AffinePrincipal.Sections.openSubset U r))) |
| 40 | (x : (Γ(IntrinsicOverlap.Intrinsic.space R n, U) ⧸ I) ⊗[Γ(IntrinsicOverlap.Intrinsic.space R n, U)] |
| 41 | (AffineOpen.InternalHom.sections U hU).obj |
| 42 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (n + 1))) : |
| 43 | letI : IsLocalization.Away r Γ(IntrinsicOverlap.Intrinsic.space R n, AffinePrincipal.Sections.openSubset U r) := hU.isLocalization_basicOpen r |
| 44 | LocalizedResidueRestriction.Conormal.exteriorRestrictionOfEq r I J hJ n |
| 45 | (AmbientAdjunction.ambientIso i U hU hUi j I x) = |
| 46 | AmbientAdjunction.ambientIso k (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r) hVk j J |
| 47 | (AffinePrincipal.LineFrame.lineMap U hU r |
| 48 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (n + 1)) I J hIJ x) := by |
| 49 | let : IsLocalization.Away r Γ(IntrinsicOverlap.Intrinsic.space R n, AffinePrincipal.Sections.openSubset U r) := hU.isLocalization_basicOpen r |
| 50 | exact AmbientLineBaseChange.restriction r I J hJ hIJ |
| 51 | ((AffineOpen.InternalHom.sections U hU).obj |
| 52 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (n + 1))) |
| 53 | ((AffineOpen.InternalHom.sections (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r)).obj |
| 54 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (n + 1))) |
| 55 | (AffinePrincipal.LineFrame.restriction U hU r |
| 56 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (n + 1))) n |
| 57 | (AmbientAdjunction.chartLineExterior i U hU hUi j) |
| 58 | (AmbientAdjunction.chartLineExterior k (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r) hVk j) |
| 59 | (AmbientAdjunction.ambientIso i U hU hUi j I) |
| 60 | (AmbientAdjunction.ambientIso k (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r) hVk j J) |
| 61 | (AmbientAdjunction.ambientIso_tmul i U hU hUi j I) |
| 62 | (AmbientAdjunction.ambientIso_tmul k (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r) hVk j J) |
| 63 | (AmbientChartRestriction.Adjunction.chartLineExterior_restriction i U hU hUi r k hVk j) x |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.AmbientPrincipalRestriction.Adjunction |