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.Balanced.FrameChartNormalization |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.CoordinateProjectivePoints |
| 3 | |
| 4 | /-! # Frame Chart Projective Points -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.FrameChartProjectivePoints |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every balanced frame chart carries actual projective sections. |
| 11 | Its selected frame is the standard frame as a family of scheme morphisms. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped Classical |
| 14 | universe u |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | theorem scalarCoordinateProjectivePoint_congr {S : Scheme.{u}} {n : ℕ} |
| 19 | {v w : Fin (n + 1) → Γ(S, ⊤)} (hv : ∀ x : S, ∃ i, x ∈ S.basicOpen (v i)) |
| 20 | (hw : ∀ x : S, ∃ i, x ∈ S.basicOpen (w i)) (h : v = w) : |
| 21 | Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint v hv = Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint w hw := by |
| 22 | subst w |
| 23 | rfl |
| 24 | |
| 25 | variable (R : Type u) [CommRing R] {n m : ℕ} |
| 26 | variable (i : Fin m) (σ : Fin (n + 1) → Fin m) (e : Fin m) (c : Fin m → Fin (n + 1)) |
| 27 | variable (a : (Fin (n + 1) → Fin m) → ℕ) (C : Fin m → (Fin (n + 1) → Fin m) → ℕ) |
| 28 | variable (ha : a ∈ ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) |
| 29 | variable (hC : ∀ z, C z + Frame.CoordinateExponents.frameCoordinateExponent σ e z (c z) = a) |
| 30 | |
| 31 | theorem balancedFrameChartProjectiveCoordinates_cover (S : Scheme.{u}) |
| 32 | (ρ : FrameChartCoordinates.balancedDeterminantChartRing R i a ha →+* Γ(S, ⊤)) (z : Fin m) : |
| 33 | ∀ x : S, ∃ k, x ∈ S.basicOpen (ρ (FrameChartNormalization.balancedFrameChartVectors R i σ e c a C ha hC z k)) := by |
| 34 | intro x |
| 35 | refine ⟨c z, ?_⟩ |
| 36 | rw [FrameChartNormalization.balancedFrameChartVectors_selected, map_one] |
| 37 | exact (S.basicOpen_of_isUnit (isUnit_one : IsUnit (1 : Γ(S, ⊤)))).symm ▸ trivial |
| 38 | |
| 39 | def balancedFrameChartProjectivePoint (S : Scheme.{u}) |
| 40 | (ρ : FrameChartCoordinates.balancedDeterminantChartRing R i a ha →+* Γ(S, ⊤)) (z : Fin m) : |
| 41 | Over.mk (𝟙 S) ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n := |
| 42 | Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint (fun k => ρ (FrameChartNormalization.balancedFrameChartVectors R i σ e c a C ha hC z k)) |
| 43 | (balancedFrameChartProjectiveCoordinates_cover R i σ e c a C ha hC S ρ z) |
| 44 | |
| 45 | theorem balancedFrameChartProjectivePoint_normalizes |
| 46 | (hframe : Frame.ChartDenominators.frameDiscriminantExponent σ e ≤ a) (S : Scheme.{u}) |
| 47 | (ρ : FrameChartCoordinates.balancedDeterminantChartRing R i a ha →+* Γ(S, ⊤)) : |
| 48 | balancedFrameChartProjectivePoint R i σ e c a C ha hC S ρ e = Scalar.CoordinateProjectivePoints.allOneProjectivePoint S n ∧ |
| 49 | ∀ j, balancedFrameChartProjectivePoint R i σ e c a C ha hC S ρ (σ j) = |
| 50 | Scalar.CoordinateProjectivePoints.standardBasisProjectivePoint S n j := by |
| 51 | have hn := FrameChartNormalization.balancedFrameChartVectors_normalizes R i σ e c a C ha hC hframe |
| 52 | constructor |
| 53 | · apply scalarCoordinateProjectivePoint_congr |
| 54 | funext k |
| 55 | rw [hn.1 k, map_one] |
| 56 | · intro j |
| 57 | apply scalarCoordinateProjectivePoint_congr |
| 58 | funext k |
| 59 | rw [hn.2 j k] |
| 60 | by_cases hjk : j = k <;> simp [hjk, Scalar.CoordinateProjectivePoints.standardBasisProjectiveCoordinates] |
| 61 | |
| 62 | abbrev balancedFrameChartScheme := Spec (.of (FrameChartCoordinates.balancedDeterminantChartRing R i a ha)) |
| 63 | |
| 64 | def balancedFrameChartUniversalPoint (z : Fin m) : |
| 65 | Over.mk (𝟙 (balancedFrameChartScheme R i a ha)) ⟶ |
| 66 | Projective.ProjectivePresentations.projectiveSpaceOver (balancedFrameChartScheme R i a ha) n := |
| 67 | balancedFrameChartProjectivePoint R i σ e c a C ha hC (balancedFrameChartScheme R i a ha) |
| 68 | (Scheme.ΓSpecIso (.of (FrameChartCoordinates.balancedDeterminantChartRing R i a ha))).inv.hom z |
| 69 | |
| 70 | theorem balancedFrameChartUniversalPoint_normalizes (hframe : Frame.ChartDenominators.frameDiscriminantExponent σ e ≤ a) : |
| 71 | balancedFrameChartUniversalPoint R i σ e c a C ha hC e = |
| 72 | Scalar.CoordinateProjectivePoints.allOneProjectivePoint (balancedFrameChartScheme R i a ha) n ∧ |
| 73 | ∀ j, balancedFrameChartUniversalPoint R i σ e c a C ha hC (σ j) = |
| 74 | Scalar.CoordinateProjectivePoints.standardBasisProjectivePoint (balancedFrameChartScheme R i a ha) n j := |
| 75 | balancedFrameChartProjectivePoint_normalizes R i σ e c a C ha hC hframe _ _ |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.FrameChartProjectivePoints |