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.ReferenceFamily.GeneratedHolomorphicMorphismValues |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Holomorphic.LineMorphismCoefficients |
| 3 | |
| 4 | /-! # Generated Line Morphism Algebraization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every compatible native holomorphic coefficient family between |
| 11 | two generated algebraic line bundles comes from an actual algebraic |
| 12 | morphism, with agreement in every actual local frame. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | open OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates |
| 16 | |
| 17 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {L K : HilbertConstruction.Line.Bundles.LineBundle V.carrier} |
| 18 | (D : Holomorphic.LineMorphismCoefficients.HolomorphicLineMorphismCoefficients V K L) {n m : ℕ} |
| 19 | (s : Fin (n + 1) → (HilbertConstruction.Line.Bundles.structureModule V.carrier ⟶ L.sheaf)) |
| 20 | (t : Fin (m + 1) → (HilbertConstruction.Line.Bundles.structureModule V.carrier ⟶ K.sheaf)) |
| 21 | |
| 22 | def Holomorphic.LineMorphismCoefficients.HolomorphicLineMorphismCoefficients.sectionCoefficient (i : Fin (n + 1) × Fin (m + 1)) : |
| 23 | DivisorClass.Chern.Holomorphic.Exponential.HolomorphicFunction (E := V.analyticModel) (M := SectionComparisonGauges.sectionComparisonOpen V s t i) := |
| 24 | DivisorClass.Chern.HolomorphicSection.Data.holomorphicOpenRestriction |
| 25 | (show SectionComparisonGauges.sectionComparisonOpen V s t i ≤ |
| 26 | AnalyticFrameTransitions.frameAnalyticOpen V.presentation (SectionLocalFrames.sectionLocalFrame (t i.2)) ⊓ |
| 27 | AnalyticFrameTransitions.frameAnalyticOpen V.presentation (SectionLocalFrames.sectionLocalFrame (s i.1)) from fun _ hx => ⟨hx.2, hx.1⟩) |
| 28 | (D.coefficient (SectionLocalFrames.sectionLocalFrame (t i.2)) (SectionLocalFrames.sectionLocalFrame (s i.1))) |
| 29 | |
| 30 | theorem Holomorphic.LineMorphismCoefficients.HolomorphicLineMorphismCoefficients.sectionCoefficient_value (i : Fin (n + 1) × Fin (m + 1)) (x : V.analyticSpace) |
| 31 | (hi : x ∈ SectionComparisonGauges.sectionComparisonOpen V s t i) : |
| 32 | D.sectionCoefficient s t i ⟨x, hi⟩ = |
| 33 | D.coefficient (SectionLocalFrames.sectionLocalFrame (t i.2)) (SectionLocalFrames.sectionLocalFrame (s i.1)) ⟨x, hi.2, hi.1⟩ := rfl |
| 34 | |
| 35 | variable (hs : ∀ x : V.carrier, ∃ i, x ∈ HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)) |
| 36 | (ht : ∀ x : V.carrier, ∃ j, x ∈ HilbertConstruction.Ample.LineBundles.sectionNonvanishing (t j)) |
| 37 | |
| 38 | theorem Holomorphic.LineMorphismCoefficients.HolomorphicLineMorphismCoefficients.sectionCoefficient_compatible (i j : Fin (n + 1) × Fin (m + 1)) (x : V.analyticSpace) |
| 39 | (hi : x ∈ SectionComparisonGauges.sectionComparisonOpen V s t i) (hj : x ∈ SectionComparisonGauges.sectionComparisonOpen V s t j) : |
| 40 | Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.ratio i.1 j.1 (Intrinsic.SectionCoordinates.nativeSectionCoordinates V.toOver s hs x) * D.sectionCoefficient s t j ⟨x, hj⟩ = |
| 41 | Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.ratio i.2 j.2 (Intrinsic.SectionCoordinates.nativeSectionCoordinates V.toOver t ht x) * D.sectionCoefficient s t i ⟨x, hi⟩ := by |
| 42 | have hL := (Intrinsic.SectionCoordinates.nativeSectionCoordinates_ratio V.presentation s hs i.1 j.1 x hi.1).trans |
| 43 | (SectionFrameEvaluation.sectionFrame_pointTransition V.presentation (s i.1) (s j.1) x hi.1 hj.1).symm |
| 44 | have hK := (Intrinsic.SectionCoordinates.nativeSectionCoordinates_ratio V.presentation t ht i.2 j.2 x hi.2).trans |
| 45 | (SectionFrameEvaluation.sectionFrame_pointTransition V.presentation (t i.2) (t j.2) x hi.2 hj.2).symm |
| 46 | rw [hL, hK, D.sectionCoefficient_value s t i x hi, D.sectionCoefficient_value s t j x hj] |
| 47 | exact (mul_comm _ _).trans (D.frame_change (SectionLocalFrames.sectionLocalFrame (t i.2)) (SectionLocalFrames.sectionLocalFrame (t j.2)) |
| 48 | (SectionLocalFrames.sectionLocalFrame (s i.1)) (SectionLocalFrames.sectionLocalFrame (s j.1)) x ⟨hi.2, hi.1⟩ ⟨hj.2, hj.1⟩).symm |
| 49 | |
| 50 | include hs ht in |
| 51 | theorem Holomorphic.LineMorphismCoefficients.HolomorphicLineMorphismCoefficients.exists_algebraic_of_generated : |
| 52 | ∃ f : K.sheaf ⟶ L.sheaf, Holomorphic.LineMorphismCoefficients.holomorphicLineMorphismCoefficientsOfAlgebraic V K L f = D := by |
| 53 | obtain ⟨A, ⟨B⟩⟩ := GeneratedHolomorphicMorphisms.generated_holomorphicMorphism_algebraization V s t hs ht (D.sectionCoefficient s t) |
| 54 | (D.sectionCoefficient_compatible s t hs ht) |
| 55 | refine ⟨B.map, ?_⟩ |
| 56 | apply Holomorphic.LineMorphismCoefficients.HolomorphicLineMorphismCoefficients.ext V |
| 57 | intro r q |
| 58 | apply ContMDiffMap.ext |
| 59 | intro x |
| 60 | change LineMorphismHolomorphicCoefficients.lineMorphismHolomorphicCoefficient V B.map r q x = D.coefficient r q x |
| 61 | obtain ⟨i, hi⟩ := SectionComparisonGauges.sectionComparisonOpen_covers V s t hs ht x.val |
| 62 | have hlocal : LineMorphismHolomorphicCoefficients.lineMorphismHolomorphicCoefficient V B.map |
| 63 | (SectionLocalFrames.sectionLocalFrame (t i.2)) (SectionLocalFrames.sectionLocalFrame (s i.1)) ⟨x.val, hi.2, hi.1⟩ = |
| 64 | D.coefficient (SectionLocalFrames.sectionLocalFrame (t i.2)) (SectionLocalFrames.sectionLocalFrame (s i.1)) ⟨x.val, hi.2, hi.1⟩ := |
| 65 | (LineMorphismHolomorphicCoefficients.lineMorphismHolomorphicCoefficient_value_on_open V B.map |
| 66 | (SectionLocalFrames.sectionLocalFrame (t i.2)) (SectionLocalFrames.sectionLocalFrame (s i.1)) (A.regularOpen i) |
| 67 | inf_le_right inf_le_left x.val hi).trans |
| 68 | ((B.coefficient_value i x.val hi).trans (D.sectionCoefficient_value s t i x.val hi)) |
| 69 | have hB := LineMorphismHolomorphicCoefficients.lineMorphismHolomorphicCoefficient_frame_change V B.map r (SectionLocalFrames.sectionLocalFrame (t i.2)) |
| 70 | q (SectionLocalFrames.sectionLocalFrame (s i.1)) x.val x.property ⟨hi.2, hi.1⟩ |
| 71 | have hD := D.frame_change r (SectionLocalFrames.sectionLocalFrame (t i.2)) q (SectionLocalFrames.sectionLocalFrame (s i.1)) |
| 72 | x.val x.property ⟨hi.2, hi.1⟩ |
| 73 | apply mul_left_cancel₀ (AnalyticFrameTransitions.frameTransitionPair_ne_zero V.presentation r (SectionLocalFrames.sectionLocalFrame (t i.2)) |
| 74 | ⟨x.val, x.property.1, hi.2⟩) |
| 75 | exact hB.trans ((congrArg (fun a => a * AnalyticFrameTransitions.framePointTransition V.presentation q (SectionLocalFrames.sectionLocalFrame (s i.1)) |
| 76 | x.val x.property.2 hi.1) hlocal).trans hD.symm) |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily |