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.AdjunctionRestriction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ComplementRestriction |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.BasisGluingNormalization |
| 4 | |
| 5 | /-! # Adjunction Gluing -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.AdjunctionGluing |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Principal compatibility on regular charts suffices to glue the |
| 12 | actual projective adjunction maps. The complement charts contribute |
| 13 | the unique maps between zero modules. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | set_option backward.defeqAttrib.useBackward true |
| 22 | |
| 23 | attribute [local irreducible] AdjunctionCharts.Data.sectionIso ComplementAdjunction.sectionIso |
| 24 | |
| 25 | universe u |
| 26 | |
| 27 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} |
| 28 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 29 | |
| 30 | variable (X : Over (Spec (CommRingCat.of R))) (f : X ⟶ IntrinsicOverlap.Intrinsic.model R n) |
| 31 | [IsClosedImmersion f.left] [Smooth X.hom] (g : ℕ) |
| 32 | (j : Fin (n + 1)) (B : ℕ) (hB : n + 1 ≤ B) (hg : g ≤ n) |
| 33 | |
| 34 | abbrev sourceSheaf := (LocalAdjunction.dual X f j B).homology (n - g) |
| 35 | abbrev targetSheaf := Intrinsic.ClosedFormSections.directImage R X (IntrinsicOverlap.Intrinsic.model R n) f g |
| 36 | |
| 37 | variable (hregular : ∀ (U : (IntrinsicOverlap.Intrinsic.space R n).Opens) (hU : IsAffineOpen U) |
| 38 | (D : AdjunctionCharts.Data X f g U hU) (i : Fin (n + 1)) (hi : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) |
| 39 | (r : Γ(IntrinsicOverlap.Intrinsic.space R n, U)) (s : Γ(sourceSheaf X f g j B, U)), |
| 40 | ((AdjunctionRestriction.data X f g D r).sectionIso X f g i |
| 41 | (((IntrinsicOverlap.Intrinsic.space R n).basicOpen_le r).trans hi) j B hB hg).hom |
| 42 | ((sourceSheaf X f g j B).presheaf.map (homOfLE ((IntrinsicOverlap.Intrinsic.space R n).basicOpen_le r)).op s) = |
| 43 | (targetSheaf X f g).presheaf.map (homOfLE ((IntrinsicOverlap.Intrinsic.space R n).basicOpen_le r)).op |
| 44 | ((D.sectionIso X f g i hi j B hB hg).hom s)) |
| 45 | |
| 46 | include hregular in |
| 47 | theorem chart_principal {U : (IntrinsicOverlap.Intrinsic.space R n).Opens} (C : AdjunctionCharts.Chart X f g U) |
| 48 | (r : Γ(IntrinsicOverlap.Intrinsic.space R n, U)) (s : Γ(sourceSheaf X f g j B, U)) : |
| 49 | ((AdjunctionRestriction.chart X f g C r).sectionIso X f g j B hB hg).hom |
| 50 | ((sourceSheaf X f g j B).presheaf.map (homOfLE ((IntrinsicOverlap.Intrinsic.space R n).basicOpen_le r)).op s) = |
| 51 | (targetSheaf X f g).presheaf.map (homOfLE ((IntrinsicOverlap.Intrinsic.space R n).basicOpen_le r)).op |
| 52 | ((C.sectionIso X f g j B hB hg).hom s) := by |
| 53 | cases C with |
| 54 | | mk hU i hi d => |
| 55 | cases d with |
| 56 | | inl h => |
| 57 | exact AdjunctionCharts.Chart.complement_restriction X f g ⟨hU, i, hi, Sum.inl h⟩ |
| 58 | (AdjunctionRestriction.chart X f g ⟨hU, i, hi, Sum.inl h⟩ r) |
| 59 | h.down ((IntrinsicOverlap.Intrinsic.space R n).basicOpen_le r) j B hB hg s |
| 60 | | inr D => exact hregular U hU D i hi r s |
| 61 | |
| 62 | include hregular in |
| 63 | theorem chosen_principal {U : (IntrinsicOverlap.Intrinsic.space R n).Opens} (h : AdjunctionCharts.Good X f g U) |
| 64 | (r : Γ(IntrinsicOverlap.Intrinsic.space R n, U)) (s : Γ(sourceSheaf X f g j B, U)) : |
| 65 | (ChartIndependence.AdjunctionCharts.chosenSectionIso X f g (AdjunctionRestriction.good_principal X f g h r) |
| 66 | j B hB hg).hom |
| 67 | ((sourceSheaf X f g j B).presheaf.map (homOfLE ((IntrinsicOverlap.Intrinsic.space R n).basicOpen_le r)).op s) = |
| 68 | (targetSheaf X f g).presheaf.map (homOfLE ((IntrinsicOverlap.Intrinsic.space R n).basicOpen_le r)).op |
| 69 | ((ChartIndependence.AdjunctionCharts.chosenSectionIso X f g h j B hB hg).hom s) := by |
| 70 | let C := Classical.choice h |
| 71 | rw [ChartIndependence.AdjunctionCharts.chosenSectionIso_eq X f g _ (AdjunctionRestriction.chart X f g C r), |
| 72 | ChartIndependence.AdjunctionCharts.chosenSectionIso_eq X f g h C] |
| 73 | exact chart_principal X f g j B hB hg hregular C r s |
| 74 | |
| 75 | variable [IsProper X.hom] [SmoothOfRelativeDimension g X.hom] |
| 76 | |
| 77 | def iso : sourceSheaf X f g j B ≅ targetSheaf X f g := |
| 78 | Principal.BasisGluing.iso (sourceSheaf X f g j B) (targetSheaf X f g) (AdjunctionCharts.Good X f g) |
| 79 | (fun _ _ h => (ChartIndependence.AdjunctionCharts.chosenSectionIso X f g h j B hB hg).hom.hom) |
| 80 | (fun _ _ h r => AdjunctionRestriction.good_principal X f g h r) |
| 81 | (fun _ _ h r s => chosen_principal X f g j B hB hg hregular h r s) |
| 82 | (AdjunctionCharts.exists_neighborhood X f g) |
| 83 | (fun _ _ h => ConcreteCategory.bijective_of_isIso (ChartIndependence.AdjunctionCharts.chosenSectionIso X f g h j B hB hg).hom) |
| 84 | |
| 85 | theorem iso_app {U : (IntrinsicOverlap.Intrinsic.space R n).Opens} (hU : IsAffineOpen U) (h : AdjunctionCharts.Good X f g U) |
| 86 | (s : Γ(sourceSheaf X f g j B, U)) : |
| 87 | (iso X f g j B hB hg hregular).hom.app U s = |
| 88 | (ChartIndependence.AdjunctionCharts.chosenSectionIso X f g h j B hB hg).hom s := |
| 89 | Principal.BasisGluingNormalization.iso_app (sourceSheaf X f g j B) (targetSheaf X f g) (AdjunctionCharts.Good X f g) |
| 90 | (fun _ _ h => (ChartIndependence.AdjunctionCharts.chosenSectionIso X f g h j B hB hg).hom.hom) |
| 91 | (fun _ _ h r => AdjunctionRestriction.good_principal X f g h r) |
| 92 | (fun _ _ h r s => chosen_principal X f g j B hB hg hregular h r s) |
| 93 | (AdjunctionCharts.exists_neighborhood X f g) |
| 94 | (fun _ _ h => ConcreteCategory.bijective_of_isIso (ChartIndependence.AdjunctionCharts.chosenSectionIso X f g h j B hB hg).hom) |
| 95 | U hU h s |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.AdjunctionGluing |