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.BalancedChart.EvaluationNaturality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Normalized.BalancedChartIdentity |
| 3 | |
| 4 | /-! # Normalized Representatives -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BalancedChart.NormalizedRepresentatives |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every algebra-valued point of the balanced chart has an explicit |
| 11 | normalized vector configuration representing it. -/ |
| 12 | open scoped Classical |
| 13 | universe u v |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | variable (R : Type u) [CommRing R] {A : Type v} [CommRing A] [Algebra R A] {r m : ℕ} |
| 17 | |
| 18 | private theorem mappedBalancedFrame_normalizes |
| 19 | (i : Fin m) (σ : Fin r → Fin m) (e : Fin m) (c : Fin m → Fin r) |
| 20 | (a : (Fin r → Fin m) → ℕ) (C : Fin m → (Fin r → Fin m) → ℕ) |
| 21 | (ha : a ∈ Balanced.ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) |
| 22 | (hC : ∀ z, C z + Frame.CoordinateExponents.frameCoordinateExponent σ e z (c z) = a) |
| 23 | (hframe : Frame.ChartDenominators.frameDiscriminantExponent σ e ≤ a) |
| 24 | (ρ : Balanced.FrameChartCoordinates.balancedDeterminantChartRing R i a ha →ₐ[R] A) : |
| 25 | (∀ z, ρ (Balanced.FrameChartNormalization.balancedFrameChartVectors R i σ e c a C ha hC z (c z)) = 1) ∧ |
| 26 | (∀ k, ρ (Balanced.FrameChartNormalization.balancedFrameChartVectors R i σ e c a C ha hC e k) = 1) ∧ |
| 27 | ∀ j k, ρ (Balanced.FrameChartNormalization.balancedFrameChartVectors R i σ e c a C ha hC (σ j) k) = |
| 28 | if j = k then 1 else 0 := by |
| 29 | have hn := Balanced.FrameChartNormalization.balancedFrameChartVectors_normalizes R i σ e c a C ha hC hframe |
| 30 | refine ⟨?_, ?_, ?_⟩ |
| 31 | · intro z |
| 32 | exact (congrArg ρ.toRingHom |
| 33 | (Balanced.FrameChartNormalization.balancedFrameChartVectors_selected R i σ e c a C ha hC z)).trans ρ.toRingHom.map_one |
| 34 | · intro k |
| 35 | exact (congrArg ρ.toRingHom (hn.1 k)).trans ρ.toRingHom.map_one |
| 36 | · intro j k |
| 37 | rw [hn.2 j k] |
| 38 | split_ifs |
| 39 | · exact ρ.map_one |
| 40 | · exact ρ.map_zero |
| 41 | |
| 42 | private theorem map_configuration_evaluation {B : Type*} [CommRing B] [Algebra R B] |
| 43 | (i : Fin m) (v : Fin m → Fin r → B) |
| 44 | (a : (Fin r → Fin m) → ℕ) (ha : a ∈ Balanced.ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) |
| 45 | (hv : IsUnit (Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ v) a)) |
| 46 | (ρ : B →ₐ[R] A) : |
| 47 | ∃ hw : IsUnit (Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ (fun z k => ρ (v z k))) a), |
| 48 | Balanced.ConfigurationChartEvaluation.balancedConfigurationChartEvaluation (R := R) i (fun z k => ρ (v z k)) a ha hw = |
| 49 | ρ.toRingHom.comp (Balanced.ConfigurationChartEvaluation.balancedConfigurationChartEvaluation (R := R) i v a ha hv) := by |
| 50 | have hpoly : ρ (Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ v) a) = |
| 51 | Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ (fun z k => ρ (v z k))) a := by |
| 52 | change ρ.toRingHom (Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ v) a) = _ |
| 53 | rw [MonomialExponentExtension.exponentMonomial_map] |
| 54 | congr 1 |
| 55 | funext τ |
| 56 | exact LabeledDeterminantPolynomials.labeledDeterminant_map ρ.toRingHom τ v |
| 57 | have hw := hpoly ▸ hv.map ρ.toMonoidHom |
| 58 | exact ⟨hw, (EvaluationNaturality.balancedConfigurationChartEvaluation_comp i v a ha hv ρ hw).symm⟩ |
| 59 | |
| 60 | private theorem mappedBalancedFrame_evaluation (hr : 0 < r) |
| 61 | (i : Fin m) (σ : Fin r → Fin m) (e : Fin m) (c : Fin m → Fin r) |
| 62 | (a : (Fin r → Fin m) → ℕ) (C : Fin m → (Fin r → Fin m) → ℕ) |
| 63 | (ha : a ∈ Balanced.ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) |
| 64 | (hC : ∀ z, C z + Frame.CoordinateExponents.frameCoordinateExponent σ e z (c z) = a) |
| 65 | (hframe : Frame.ChartDenominators.frameDiscriminantExponent σ e ≤ a) |
| 66 | (ρ : Balanced.FrameChartCoordinates.balancedDeterminantChartRing R i a ha →ₐ[R] A) : |
| 67 | let w : Fin m → Fin r → A := fun z k => |
| 68 | ρ (Balanced.FrameChartNormalization.balancedFrameChartVectors R i σ e c a C ha hC z k) |
| 69 | ∃ hw : IsUnit (Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ w) a), |
| 70 | Balanced.ConfigurationChartEvaluation.balancedConfigurationChartEvaluation (R := R) i w a ha hw = ρ.toRingHom := by |
| 71 | |
| 72 | let u := Balanced.FrameChartNormalization.balancedFrameChartVectors R i σ e c a C ha hC |
| 73 | have hunit : IsUnit (Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ u) a) := |
| 74 | Normalized.BalancedDenominatorUnit.normalizedBalancedDenominator_isUnit R hr i σ e c a C ha hC hframe |
| 75 | have hid : Balanced.ConfigurationChartEvaluation.balancedConfigurationChartEvaluation (R := R) i u a ha hunit = RingHom.id _ := |
| 76 | Normalized.BalancedChartIdentity.normalizedBalancedChartEndomorphism_eq_id R hr i σ e c a C ha hC hframe |
| 77 | obtain ⟨hw, heq⟩ := map_configuration_evaluation R i u a ha hunit ρ |
| 78 | rw [hid, RingHom.comp_id] at heq |
| 79 | exact ⟨hw, heq⟩ |
| 80 | |
| 81 | theorem balancedChartPoint_has_normalized_configuration (hr : 0 < r) |
| 82 | (i : Fin m) (σ : Fin r → Fin m) (e : Fin m) (c : Fin m → Fin r) |
| 83 | (a : (Fin r → Fin m) → ℕ) (C : Fin m → (Fin r → Fin m) → ℕ) |
| 84 | (ha : a ∈ Balanced.ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) |
| 85 | (hC : ∀ z, C z + Frame.CoordinateExponents.frameCoordinateExponent σ e z (c z) = a) |
| 86 | (hframe : Frame.ChartDenominators.frameDiscriminantExponent σ e ≤ a) |
| 87 | (ρ : Balanced.FrameChartCoordinates.balancedDeterminantChartRing R i a ha →ₐ[R] A) : |
| 88 | ∃ (w : Fin m → Fin r → A) |
| 89 | (hw : IsUnit (Balanced.MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ w) a)), |
| 90 | Balanced.ConfigurationChartEvaluation.balancedConfigurationChartEvaluation (R := R) i w a ha hw = ρ.toRingHom ∧ |
| 91 | (∀ z, w z (c z) = 1) ∧ (∀ k, w e k = 1) ∧ |
| 92 | ∀ j k, w (σ j) k = if j = k then 1 else 0 := by |
| 93 | let w : Fin m → Fin r → A := fun z k => |
| 94 | ρ (Balanced.FrameChartNormalization.balancedFrameChartVectors R i σ e c a C ha hC z k) |
| 95 | obtain ⟨hw, heq⟩ := mappedBalancedFrame_evaluation R hr i σ e c a C ha hC hframe ρ |
| 96 | have hn := mappedBalancedFrame_normalizes R i σ e c a C ha hC hframe ρ |
| 97 | exact ⟨w, hw, heq, hn.1, hn.2.1, hn.2.2⟩ |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BalancedChart.NormalizedRepresentatives |