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.AdjunctionCharts |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.AdjunctionIndependence |
| 3 | |
| 4 | /-! # Chart Independence -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The local adjunction map is canonical on each good affine open, |
| 11 | including opens where both sheaves vanish. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} |
| 24 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 25 | |
| 26 | variable (X : Over (Spec (CommRingCat.of R))) (f : X ⟶ IntrinsicOverlap.Intrinsic.model R n) |
| 27 | [IsClosedImmersion f.left] [Smooth X.hom] (g : ℕ) |
| 28 | {U : (IntrinsicOverlap.Intrinsic.space R n).Opens} {hU : IsAffineOpen U} |
| 29 | |
| 30 | theorem AdjunctionCharts.Data.sectionIso_eq (D E : AdjunctionCharts.Data X f g U hU) |
| 31 | (i k : Fin (n + 1)) (hi : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) (hk : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) k) |
| 32 | (j : Fin (n + 1)) (B : ℕ) (hB : n + 1 ≤ B) (hg : g ≤ n) : |
| 33 | D.sectionIso X f g i hi j B hB hg = E.sectionIso X f g k hk j B hB hg := by |
| 34 | let := D.finiteVariables |
| 35 | let := E.finiteVariables |
| 36 | let : LinearOrder D.coordinateIndex := |
| 37 | LinearOrder.lift' (Fintype.equivFin D.coordinateIndex) (Fintype.equivFin D.coordinateIndex).injective |
| 38 | let : LinearOrder E.coordinateIndex := |
| 39 | LinearOrder.lift' (Fintype.equivFin E.coordinateIndex) (Fintype.equivFin E.coordinateIndex).injective |
| 40 | let := D.coordinates |
| 41 | let := E.coordinates |
| 42 | let := D.coordinateTower |
| 43 | let := E.coordinateTower |
| 44 | let := D.coordinateEtale |
| 45 | let := E.coordinateEtale |
| 46 | exact AdjunctionIndependence.same_open X f j B hB U hU i k hi hk |
| 47 | (Nat.sub_add_cancel hg) D.equations D.generates D.regular D.conormalBasis D.conormalBasis_apply |
| 48 | E.equations E.generates E.regular E.conormalBasis E.conormalBasis_apply |
| 49 | D.quotientBasis E.quotientBasis D.coordinateIndex E.coordinateIndex |
| 50 | |
| 51 | theorem AdjunctionCharts.Chart.sectionIso_eq (C D : AdjunctionCharts.Chart X f g U) |
| 52 | (j : Fin (n + 1)) (B : ℕ) (hB : n + 1 ≤ B) (hg : g ≤ n) : |
| 53 | C.sectionIso X f g j B hB hg = D.sectionIso X f g j B hB hg := by |
| 54 | cases C with |
| 55 | | mk hC i hi c => |
| 56 | cases D with |
| 57 | | mk hD k hk d => |
| 58 | cases c with |
| 59 | | inl hc => |
| 60 | apply Iso.ext |
| 61 | exact (ComplementAdjunction.dual_sections_zero f.left j B (n + 1) hB |
| 62 | U hC i hi hc.down (n - g)).eq_of_src _ _ |
| 63 | | inr C => |
| 64 | cases d with |
| 65 | | inl hd => |
| 66 | apply Iso.ext |
| 67 | exact (ComplementAdjunction.dual_sections_zero f.left j B (n + 1) hB |
| 68 | U hD k hk hd.down (n - g)).eq_of_src _ _ |
| 69 | | inr D => |
| 70 | exact C.sectionIso_eq X f g D i k hi hk j B hB hg |
| 71 | |
| 72 | def ChartIndependence.AdjunctionCharts.chosenSectionIso (h : AdjunctionCharts.Good X f g U) |
| 73 | (j : Fin (n + 1)) (B : ℕ) (hB : n + 1 ≤ B) (hg : g ≤ n) : |
| 74 | (Affine.ModuleExactSections.sections U).obj ((LocalAdjunction.dual X f j B).homology (n - g)) ≅ |
| 75 | (Affine.ModuleExactSections.sections U).obj |
| 76 | (Intrinsic.ClosedFormSections.directImage R X (IntrinsicOverlap.Intrinsic.model R n) f g) := |
| 77 | (Classical.choice h).sectionIso X f g j B hB hg |
| 78 | |
| 79 | theorem ChartIndependence.AdjunctionCharts.chosenSectionIso_eq (h : AdjunctionCharts.Good X f g U) (C : AdjunctionCharts.Chart X f g U) |
| 80 | (j : Fin (n + 1)) (B : ℕ) (hB : n + 1 ≤ B) (hg : g ≤ n) : |
| 81 | ChartIndependence.AdjunctionCharts.chosenSectionIso X f g h j B hB hg = C.sectionIso X f g j B hB hg := |
| 82 | AdjunctionCharts.Chart.sectionIso_eq X f g (Classical.choice h) C j B hB hg |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective |