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.HilbertConstruction.Configuration.FamilyTransport |
| 2 | |
| 3 | /-! # Family Cocycle -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Configuration.FamilyCocycle |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The uniquely restricted projective transports satisfy the |
| 10 | cocycle and identity laws as actual projective-family isomorphisms. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | universe u v |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} {P : Polynomial ℚ} {ι : Type v} |
| 16 | |
| 17 | theorem configurationHilbertFamilyTransport_cocycle |
| 18 | (I J K : SaturatedFlatIdeals.SaturatedFlatHilbertIdeal R n P) (v w z : ι → Fin (n + 1) → R) |
| 19 | (D : ℕ) (hD : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ D) |
| 20 | (hI : (Homogeneous.ConfigurationEvaluation.homogeneousConfigurationEvaluation v D).ker = HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.degreeRelations I.ideal.toIdeal D) |
| 21 | (hJ : (Homogeneous.ConfigurationEvaluation.homogeneousConfigurationEvaluation w D).ker = HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.degreeRelations J.ideal.toIdeal D) |
| 22 | (hK : (Homogeneous.ConfigurationEvaluation.homogeneousConfigurationEvaluation z D).ker = HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.degreeRelations K.ideal.toIdeal D) |
| 23 | (hvw : ProjectiveTransport.ConfigurationFrameRelated v w) (hwz : ProjectiveTransport.ConfigurationFrameRelated w z) (hvz : ProjectiveTransport.ConfigurationFrameRelated v z) |
| 24 | (σv σw : Fin (n + 1) → ι) (bv bw : ι) |
| 25 | (hv : IsUnit (ProjectiveFrame.Discriminant.projectiveFrameDiscriminant (Pi.basisFun R (Fin (n + 1))) (fun k => v (σv k)) (v bv))) |
| 26 | (hw : IsUnit (ProjectiveFrame.Discriminant.projectiveFrameDiscriminant (Pi.basisFun R (Fin (n + 1))) (fun k => w (σw k)) (w bw))) : |
| 27 | FamilyTransport.configurationHilbertFamilyTransport I J v w D hD hI hJ hvw ≪≫ |
| 28 | FamilyTransport.configurationHilbertFamilyTransport J K w z D hD hJ hK hwz = |
| 29 | FamilyTransport.configurationHilbertFamilyTransport I K v z D hD hI hK hvz := by |
| 30 | apply Iso.ext |
| 31 | apply Over.OverMorphism.ext |
| 32 | apply (cancel_mono (HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion K.ideal)).mp |
| 33 | change ((FamilyTransport.configurationHilbertFamilyTransport I J v w D hD hI hJ hvw).hom.left ≫ |
| 34 | (FamilyTransport.configurationHilbertFamilyTransport J K w z D hD hJ hK hwz).hom.left) ≫ _ = _ |
| 35 | rw [Category.assoc, FamilyTransport.configurationHilbertFamilyTransport_ambient J K w z D hD hJ hK hwz, |
| 36 | ← Category.assoc, FamilyTransport.configurationHilbertFamilyTransport_ambient I J v w D hD hI hJ hvw, |
| 37 | Category.assoc, FamilyTransport.configurationHilbertFamilyTransport_ambient I K v z D hD hI hK hvz] |
| 38 | exact congrArg (fun f => HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I.ideal ≫ f) |
| 39 | (congrArg Over.Hom.left (ProjectiveTransport.configurationProjectiveTransport_cocycle v w z hvw hwz hvz σv σw bv bw hv hw)) |
| 40 | |
| 41 | theorem configurationHilbertFamilyTransport_self |
| 42 | (I : SaturatedFlatIdeals.SaturatedFlatHilbertIdeal R n P) (v : ι → Fin (n + 1) → R) |
| 43 | (D : ℕ) (hD : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ D) |
| 44 | (hI : (Homogeneous.ConfigurationEvaluation.homogeneousConfigurationEvaluation v D).ker = HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.degreeRelations I.ideal.toIdeal D) |
| 45 | (h : ProjectiveTransport.ConfigurationFrameRelated v v) (σ : Fin (n + 1) → ι) (b : ι) |
| 46 | (hv : IsUnit (ProjectiveFrame.Discriminant.projectiveFrameDiscriminant (Pi.basisFun R (Fin (n + 1))) (fun k => v (σ k)) (v b))) : |
| 47 | FamilyTransport.configurationHilbertFamilyTransport I I v v D hD hI hI h = Iso.refl _ := by |
| 48 | apply Iso.ext |
| 49 | apply Over.OverMorphism.ext |
| 50 | apply (cancel_mono (HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I.ideal)).mp |
| 51 | rw [FamilyTransport.configurationHilbertFamilyTransport_ambient] |
| 52 | have he := congrArg Over.Hom.left (ProjectiveTransport.configurationProjectiveTransport_self v h σ b hv) |
| 53 | rw [he] |
| 54 | change HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I.ideal ≫ 𝟙 _ = HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I.ideal |
| 55 | exact Category.comp_id _ |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Configuration.FamilyCocycle |