chars
int64
40
24k
content_type
stringclasses
9 values
id
stringlengths
13
64
source
stringclasses
5 values
subset
stringclasses
31 values
text
stringlengths
40
24k
1,984
lean_file_chunk
2701e540e85e4638150937e7e5bfe55b28f5090e87827b04726d5a7de7805482
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ module public import Mathlib.Analysis.CStarAlgebra.Classes public import Mathlib.NumberTheory.ModularForms.SlashActions /-! # ForMathlibSlashActions -/ @[expose]...
619
lean_file_chunk
e57017ddee8ac1b53d47877525ae3ebb8c35d493827c6aac6663572af51d958c
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ module public import Mathlib.LinearAlgebra.Matrix.SpecialLinearGroup public import Mathlib.Data.Fintype.Parity /-! # ForMathlibUpperHalfPlane -/ @[expose] public...
10,470
lean_file_chunk
3cae9daf80c91ba0f9ec4199f06833cf574d1fa8e8957d4f4d619fb73c32db51
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ module public import LeanPool.LeanModularForms.Modularforms.DimensionFormulas public import Mathlib.RingTheory.MvPolynomial.WeightedHomogeneous /-! # Generators of...
23,978
lean_file_chunk
ca6ab8ef51e00d82bc7f0e01bc2ca0c1aae59ed5f2589ab5de1122a2e5bbfa04
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ module public import LeanPool.LeanModularForms.Modularforms.Generators.Surjectivity /-! # Generators of the graded ring of level 1 modular forms: Injectivity and m...
7,473
lean_file_chunk
b4ccc0c880f599c636b2a8764e69faf36ddd989866bd6bfa8c7d7648ef6ff239
lean_source_file
lean_pool_source_file_chunks
simp only [Nat.cast_ofNat] at hds have hcast : (12 : ℤ) + ↑(n - 12) = ↑n := by omega have hds2 : GradedMonoid.GMul.mul (D 12) (S (↑(n-12))) = 0 := by have h := hds rw [DirectSum.of_apply, dif_pos hcast] at h have : ∀ {k₁ k₂ : ℤ} (h : k₁ = k₂) (f : ModularForm Γ(1) k₁), h ▸ f = (0 : ModularForm Γ(1...
12,322
lean_file_chunk
31a1822de8eaa7eb059eff1b6cf17f702d7fe8740aa1376e03536212478e4eba
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ module public import LeanPool.LeanModularForms.Modularforms.Generators.Defs /-! # Generators of the graded ring of level 1 modular forms: Surjectivity We prove th...
384
lean_file_chunk
01924b8ee73bad2608415457324de700c0ce7d52a05cc1b5d46e76ec1eef03ee
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ module public import LeanPool.LeanModularForms.Modularforms.Generators.Defs public import LeanPool.LeanModularForms.Modularforms.Generators.Surjectivity public impo...
3,025
lean_file_chunk
02b6f546026614138d5a1d83658ff32d8d3d49b5077cbcc8087417351f7c4d03
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ module public import Mathlib.Algebra.Order.Group.Int public import Mathlib.Analysis.CStarAlgebra.Classes public import Mathlib.Data.Int.Star public import Mathlib.T...
7,065
lean_file_chunk
170c8713897b0afada9eefa5d882b9996616776a46a91a23ada73b497ed96feb
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ module public import Mathlib.Analysis.CStarAlgebra.Module.Defs public import Mathlib.Geometry.Manifold.Notation public import LeanPool.LeanModularForms.Modularforms...
5,393
lean_file_chunk
190f9f58b62c5619e56802e9db0c63ed63fbdebb6986ef88b6ff85ba1a6e906d
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ module public import Mathlib.Analysis.CStarAlgebra.Classes public import Mathlib.Analysis.Calculus.Deriv.Inv public import Mathlib.Analysis.Calculus.Deriv.Pow publi...
23,967
lean_file_chunk
9df0a7bf2702851e577f34dd2f7a59a14ed720d65d782ddf04ea3502e1b61a80
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ module public import LeanPool.LeanModularForms.Modularforms.ForMathlibFunctionsBoundedAtInfty public import LeanPool.LeanModularForms.Modularforms.MDifferentiableFu...
23,990
lean_file_chunk
8678a68c92f4ff3dc654ae8cf5436925b3a7567e664762730a2b63260977690d
lean_source_file
lean_pool_source_file_chunks
noncomputable def H₂MF : ModularForm (Γ 2) 2 := { H₂SIF with holo' := H₂_SIF_MDifferentiable bdd_at_cusps' hc := bounded_at_cusps_of_bounded_at_infty hc isBoundedAtImInfty_H₂_slash } /-- `H₃` as a modular form of weight 2 and level `Γ(2)`. -/ noncomputable def H₃MF : ModularForm (Γ 2) 2 := { H₃SIF with holo'...
2,205
lean_file_chunk
98be90fb69373a434945a2cbe8393310fd75b4b565dfbcd3371ebde950eab010
lean_source_file
lean_pool_source_file_chunks
norm_cast simp_all /-- `H₄(it)` is real for all `t > 0`. Blueprint: Corollary 6.43 - follows from Θ₄ being real on the imaginary axis. -/ @[fun_prop] theorem H₄_imag_axis_real : ResToImagAxis.Real H₄ := by intro t ht simp only [Function.resToImagAxis, ResToImagAxis, ht, ↓reduceDIte, H₄] exact Complex.im_pow_...
1,949
lean_file_chunk
3cabdabd5c316e3762e260d86164a4f33d26377e70c9d3e604215897b2ca7430
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ module public import Mathlib.Analysis.CStarAlgebra.Classes public import LeanPool.LeanModularForms.Modularforms.IccIcoLems /-! # LimunderLems -/ @[expose] public...
6,069
lean_file_chunk
9468de07f4501380575bc99a94bdd7e368404083609193ac4e8411665ed000f1
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.Modularforms.Tendstolems import Mathlib.Algebra.Lie.OfAssociative import Mathlib.Algebra.Order.Ring.Star import Mathlib.Analysis.Com...
1,196
lean_file_chunk
56b92bb9fb79bf0b3fdbf145a851bd23240b2280aae2111039684c9b5b6cbafd
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ module public import Mathlib.Geometry.Manifold.MFDeriv.Defs public import Mathlib.Geometry.Manifold.MFDeriv.SpecificFunctions public import Mathlib.Geometry.Manifol...
4,229
lean_file_chunk
5b9a481bb7afe7717fd4f88f7ac41c7ac03544101aa6bdd88dc53e85a092eb77
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ module public import LeanPool.LeanModularForms.Modularforms.SummableLems /-! # MultipliableLems -/ @[expose] public section open ModularForm EisensteinSeries Up...
3,483
lean_file_chunk
7128acbe29928452d14d9670928759e09a807f9e0ca9b5adff3460505c8dab83
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ module public import LeanPool.LeanModularForms.Modularforms.Eisenstein public import LeanPool.LeanModularForms.Modularforms.E2 public import LeanPool.LeanModularFor...
3,536
lean_file_chunk
bdf13643113ea3e073339032ed7e93af774099783067cfc751ed4cc1dde6a25b
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ module public import Mathlib.Analysis.Normed.Group.Tannery public import Mathlib.NumberTheory.ModularForms.JacobiTheta.Bounds public import LeanPool.LeanModularForm...
7,447
lean_file_chunk
b6f45c4650937cfefd27ebff04977463fefdec6d2d6c1365b5010f544db51e26
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ module public import Mathlib.Analysis.CStarAlgebra.Classes public import Mathlib.Algebra.Order.Star.Real public import Mathlib.NumberTheory.ModularForms.QExpansion ...
6,273
lean_file_chunk
d3b4ed82ce4f16c9e95d906aec119bd9c0d946713ed69cdc7aeca2143598bcd4
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ module public import LeanPool.LeanModularForms.Modularforms.EisensteinAsymptotics /-! # RamanujanIdentities -/ @[expose] public section /-! # Ramanujan Identiti...
20,651
lean_file_chunk
c5b758ed594275f9805e97d53f916507a9408f230fbadb2e2202d15741ef4e86
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ module public import Mathlib.Geometry.Manifold.Notation public import Mathlib.NumberTheory.ModularForms.QExpansion public import LeanPool.LeanModularForms.Modularf...
1,504
lean_file_chunk
c46a3c3f5baf0216e31af6e606b4710d16d6a03b288066655c938cd5e28738ce
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ module public import Mathlib.Analysis.CStarAlgebra.Classes public import Mathlib.Algebra.Order.Star.Real public import Mathlib.NumberTheory.LSeries.RiemannZeta /-!...
4,887
lean_file_chunk
02b33b8eda1389e14ece612f3cfecf49eaf8e0ea96445bd271cfb190e940bca2
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ module public import LeanPool.LeanModularForms.Modularforms.Derivative /-! # SerreDerivativeSlash -/ @[expose] public section /-! # Slash Invariance of Serre De...
15,569
lean_file_chunk
842610250f28abca8abef04a576b482f29ee95dbf60836da88724c35dda8c63c
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ module public import Mathlib.Algebra.Field.ZMod public import Mathlib.Analysis.CStarAlgebra.Classes public import Mathlib.LinearAlgebra.Matrix.FixedDetMatrices publ...
23,944
lean_file_chunk
75fcf7ece6faf16ef6c52dea6d7687e794a867071f3e74a010cfae4ebe4cface
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ module public import Mathlib.Algebra.Lie.OfAssociative public import Mathlib.Algebra.Order.Ring.Star public import Mathlib.Analysis.CStarAlgebra.Classes public impo...
23,960
lean_file_chunk
51d70e0debf07b80ca5ee06db30f85b83a54a05c5c0559107c5354dad6916d88
lean_source_file
lean_pool_source_file_chunks
have : 1 ≤ m := by apply Nat.one_le_iff_ne_zero.mpr hm; linarith simp_rw [← mul_add] rw [summable_mul_left_iff] · apply Summable.add · have h0 := summable_1 m (⟨y, y.2⟩ : ℍ) (by linarith) simp only [Nat.reduceLeDiff, one_div] at * apply h0.subtype have h1 := summable_2 m (⟨y, y.2⟩ : ℍ) (by...
12,113
lean_file_chunk
4414ab575a9ffcb86962221777667735d2fbdd8294d12f95586ec42129e70c9d
lean_source_file
lean_pool_source_file_chunks
π * Complex.I - 2 * π * Complex.I * ∑' n : ℕ, Complex.exp (2 * π * Complex.I * z) ^ n := by have h1 := cot_series_repr z rw [pi_mul_cot_pi_q_exp z] at h1 rw [← h1] ring theorem q_exp_iden'' (k : ℕ) (hk : 2 ≤ k) : EqOn (fun z : ℂ => (-1 : ℂ) ^ (k - 1) * (k - 1)! * ∑' d : ℤ, 1 / ((z : ℂ) + d) ^ k) (fu...
1,391
lean_file_chunk
106a428042c9741120493855186074d79a5f9f9bde1d1f20c7af09849519a4d8
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ module public import Mathlib.Analysis.CStarAlgebra.Classes public import Mathlib.Analysis.SpecificLimits.Normed public import Mathlib.Topology.EMetricSpace.Paracomp...
23,963
lean_file_chunk
e6e8503764e89cabf75bb2dcb7e13f01d35fcb80436feab74640949b323f2cda
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ module public import LeanPool.LeanModularForms.Modularforms.JacobiTheta public import LeanPool.LeanModularForms.Modularforms.Derivative public import LeanPool.LeanM...
10,206
lean_file_chunk
ce23f914f1a9f67a080b9b34ddeba41e1b4357b75d6bbe682d1dfefcbcb53112
lean_source_file
lean_pool_source_file_chunks
lemma theta_h_eq_zero : thetaH = 0 := congr_arg (·.toFun) (rank_zero_iff_forall_zero.mp (cuspform_weight_lt_12_zero 8 (by norm_num)) theta_h_CF) /-! ## HSumSq: H₂² + H₂H₄ + H₄² -/ /-- H₂² + H₂H₄ + H₄² -/ noncomputable def HSumSq : ℍ → ℂ := fun z => H₂ z ^ 2 + H₂ z * H₄ z + H₄ z ^ 2 /-- HSumSq is MDifferentiabl...
9,914
lean_file_chunk
b8e28e28a46ac27c6988a8dd54a453b11cfa52ba655250ab7bb9bc3e32b322a7
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ module public import Mathlib.Analysis.Calculus.UniformLimitsDeriv public import Mathlib.Analysis.Normed.Group.FunctionSeries public import Mathlib.Topology.Algebra....
915
lean_file_chunk
647922c34eff57900f92d60f8d9f5824d24114942858d20f81776a4fb41f394f
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ module public import Mathlib.Analysis.Complex.ReImTopology public import Mathlib.Analysis.SpecialFunctions.Complex.LogBounds public import Mathlib.Analysis.SpecialF...
904
lean_file_chunk
ea29db23d6e7d39583f5f2a6ac8f489a8ff6cb431f8e5173f618cbac14ed2e45
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ module public import Mathlib.Analysis.Complex.UpperHalfPlane.Basic public import Mathlib.Algebra.Order.Star.Real /-! # Upperhalfplane -/ @[expose] public section...
19,484
lean_file_chunk
ebef9361ff5b7572ee390d78e69109a02d1c43a0d7d85c034b8d99441567496a
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.Modularforms.AtImInfty import LeanPool.LeanModularForms.Modularforms.Eisenstein import LeanPool.LeanModularForms.ForMathlib.QExpansi...
2,023
lean_file_chunk
0613b4187642ac0db7b5f94444c4dac0289c459021269beb95779077f60a6876
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.Modularforms.EtaCleanup /-! # Holomorphicity of E₂ and φ₀ on the upper half-plane E₂ is holomorphic because `E₂ = (πI/12)⁻¹ · logD...
23,993
lean_file_chunk
9dc3a5983feb450e793e8d64d110e5126d083a04c3e8a00a0c6c65334045c5a7
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.GeneralizedResidueTheory.GeneralizedResidueTheorem import LeanPool.LeanModularForms.GeneralizedResidueTheory.Cycle import LeanPool.L...
23,993
lean_file_chunk
8cf4df697cf2832c57146ae1999edba1e704c7fdf8ccc53ab5c66edc32564c5c
lean_source_file
lean_pool_source_file_chunks
‖Complex.exp (↑Real.pi * I * ↑r * ((-1 : ℂ) + I * ↑t))‖ ≤ Real.exp (Real.pi * |r|) := by rw [Complex.norm_exp]; apply Real.exp_le_exp_of_le simp [Complex.mul_im, Complex.I_re, Complex.I_im, Complex.add_im, Complex.ofReal_re, Complex.ofReal_im] nlinarith [Real.pi_pos, neg_abs_le r, abs_nonneg r, ht1, ...
5,420
lean_file_chunk
678f69ac846ee6063d76a12b19cedf04216d089a6f51ed56cf7df64ee01bdb54
lean_source_file
lean_pool_source_file_chunks
have hneg_norm : ‖dir‖ = δ := by change ‖(-(↑δ : ℂ))‖ = δ rw [norm_neg, Complex.norm_real, Real.norm_eq_abs, abs_of_pos hδ_pos] calc ‖viazovskaIntegrandLeft r z₀ * dir‖ ≤ ‖viazovskaIntegrandLeft r z₀‖ * ‖dir‖ := norm_mul_le _ _ _ ≤ 1 * δ := by rw [hneg_norm]; exact mul_le_mul_of_nonneg_right hFb hδ_...
13,714
lean_file_chunk
2fc390f41da4307a9d930259b4bf96c32b3a3b2b40300dc26ce067d62360c739
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.GeneralizedResidueTheory.Basic import LeanPool.LeanModularForms.ValenceFormula.Definitions /-! # Fundamental Domain Boundary – Basi...
13,510
lean_file_chunk
cc09686f0f2ebbda07089f676d041f7ce8d82b3fe244bd1cd30d178673d75256
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.Boundary.Basic import LeanPool.LeanModularForms.GeneralizedResidueTheory.PiecewiseCurveAPI import LeanPool.LeanModula...
23,991
lean_file_chunk
e18c3c6675a07a356909351730a80916325bcb16b44e25837d70fa2fb1b23810
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.Boundary.Bounds /-! # Fundamental Domain Boundary – Smoothness Differentiability, derivatives, limits, and curve/im...
16,416
lean_file_chunk
d6f634cd5d6ecc120cb91eefdb11d1d7b8b6556e2765de37c25e61083a45e07e
lean_source_file
lean_pool_source_file_chunks
have hsin : Real.sin (Real.pi * 4 / 6) = Real.sqrt 3 / 2 := by rw [show Real.pi * 4 / 6 = Real.pi - Real.pi / 3 from by ring, Real.sin_pi_sub, Real.sin_pi_div_three] simp_all private lemma seg1_eventuallyEq_left_1 (H : ℝ) : fdBoundarySeg1H H =ᶠ[𝓝[≤] 1] fdBoundaryH H := eventuallyEq_nhdsLE_of_Ioo 0 2...
6,521
lean_file_chunk
d439755f100c8b1b74b639b4e27b08b93b8a47560138d343f71adaf638e7fa8a
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ContourIntegral.CrossingLimit import LeanPool.LeanModularForms.ContourIntegral.WindingNumber /-! # Single-Crossing Winding Number F...
23,975
lean_file_chunk
6e2951d247edc9fb7fcda1e11a9f7697312c7be99110dc4bf20e4edae086ba67
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.Boundary.Winding.RightEdge import LeanPool.LeanModularForms.ContourIntegral.WindingNumber import LeanPool.LeanModular...
13,644
lean_file_chunk
2b4845e4d29433d3d310dd41a009a20e0f9d64ba2770ebc3082dcc811e2f4054
lean_source_file
lean_pool_source_file_chunks
(hasDerivAt_fdBoundary_seg5_H H t).sub (hasDerivAt_const t s) |>.congr_deriv (by simp only [sub_zero]) have hg_h₀ : ∀ t, t ≤ 1 → g t = h₀ t := fun t ht => by simp only [hg_def, h₀]; rw [fdBoundary_H_eq_seg1_H ht] have hg_arc : ∀ t, 1 < t → t < 3 → g t = h_arc t := fun t ht1 ht3 => by simp only [hg_def...
23,972
lean_file_chunk
4b0b261cf8a6e2de6c1ab964018a9c67efddcc29295cd565261a764ce73e5493
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.Boundary.Smooth import LeanPool.LeanModularForms.GeneralizedResidueTheory.PrincipalValue import LeanPool.LeanModularF...
23,981
lean_file_chunk
ad1353fc5d87e0b025487fdf200ba5f7caa412d9b8cbeefbbc1cca6e2b4c38b3
lean_source_file
lean_pool_source_file_chunks
filter_upwards [Ioo_mem_nhdsGT hthresh_pos] with ε hε exact (rightEdge_final_log H s hs_re α hα_def (ε / α) (div_pos hε.1 hα_pos) hα_pos t₀ ht₀_mul).symm) private lemma rightEdge_seg1_eq_arc_at_one (H : ℝ) (s : ℂ) : fdBoundarySeg1H H 1 - s = exp (↑(Real.pi * (1 + (1 : ℝ)) / 6) * I) - s := by simp only ...
5,841
lean_file_chunk
750c9695a279fe76a7e9c02a7b485eb5ca8f7ea79c9f54db0d8d34b5b70e42a0
lean_source_file
lean_pool_source_file_chunks
let d := min (min (‖s‖ - 1) 1) (H - s.im) min d (min (t₀ * α) ((1 - t₀) * α)) hthresh := by set α := H - Real.sqrt 3 / 2 with hα_def have hα_pos : 0 < α := by change 0 < H - Real.sqrt 3 / 2; linarith set t₀ := (H - s.im) / α have ht₀_pos : 0 < t₀ := div_pos (by linarith) hα_pos have ht₀_lt : t...
23,989
lean_file_chunk
0f116f994d1f5d268761be1d5a65a8ca94db06f8ce4a9963f2e78541cdd08fdb
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.Boundary.Winding.UnitArcHelpers import LeanPool.LeanModularForms.ContourIntegral.WindingNumber import LeanPool.LeanMo...
3,407
lean_file_chunk
b1ccab3ca810f1a139f2fde9ae59cc91824a22c36a681882b31611ef0cdb9392
lean_source_file
lean_pool_source_file_chunks
rcases lt_or_ge t (t₀ - δ_fn ε) with ht_left | ht_right · exact unitArc_norm_gt_left s H hH t₀ (δ_fn ε) ε ht₀_Ioo h_s_arc hs_re hδ_pos' hδ_left hδ_right hδ_eq hε_lt_d t ⟨ht_mem.1, le_of_lt ht_left⟩ ht_left · have ht_right' : t₀ + δ_fn ε < t := by rcases le_or_gt t₀ t with h_t_ge | h_t_lt ...
23,987
lean_file_chunk
8f9379cc219fc97e3f40e2bcf2230362be55a049267fb2da212faa1094222ef8
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.Boundary.Winding.RightEdge /-! # Unit Arc Winding Number Helpers Helper lemmas for proving `generalizedWindingNumbe...
6,383
lean_file_chunk
3ad1a2a729302963f8955f1b60230fe892d95cfb0cfcf0d62f3b24170e2e01ae
lean_source_file
lean_pool_source_file_chunks
h_arc_cont.continuousOn (fun t _ => (hd_arc t).differentiableAt) (by rw [show deriv h_arc = fun t => ↑(Real.pi / 6) * I * exp (↑(Real.pi * (1 + t) / 6) * I) from funext fun t => (hd_arc t).deriv] exact (Continuous.mul continuous_const (Continuous.cexp (by fun_prop))).continuousOn) hslit_arc_af...
23,960
lean_file_chunk
3d6f18d0b38c07bd3f9cb80626e3f53eaf026cf570da255231c469538641a723
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.Boundary.Winding.LeftEdge import LeanPool.LeanModularForms.ValenceFormula.Boundary.Winding.RightEdge import LeanPool....
2,860
lean_file_chunk
577bbd6f9c5a2a3e4e993d90ecd06c411f64b5dbb8227edf4418c0b6e8da5d50
lean_source_file
lean_pool_source_file_chunks
p ≠ ellipticPointRhoPlusOne') with hS_NE_def set INT := S.filter (fun p => p ≠ ellipticPointI' ∧ p ≠ ellipticPointRho' ∧ p ≠ ellipticPointRhoPlusOne' ∧ ‖(p : ℂ)‖ > 1 ∧ |(p : ℂ).re| < 1/2) suffices h_eq : ∑ s ∈ S_NE, (-generalizedWindingNumber' (fdBoundaryH H) 0 5 (↑s : ℂ)) * ↑(orderO...
4,426
lean_file_chunk
44542fa495db3bae7ddfac0dde34cf0fcbda0d22e7925cc55986b3515b52d0ca
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import Mathlib.Analysis.Meromorphic.Order import Mathlib.NumberTheory.Modular import Mathlib.NumberTheory.ModularForms.Basic import Mathlib.NumberTheory.ModularForms...
21,523
lean_file_chunk
485ed7b6616e2eff76aa4d720cd837e46cc951057c9a73f1cf60a65f0bab1ad1
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.Boundary.Smooth import LeanPool.LeanModularForms.GeneralizedResidueTheory.Homotopy.Invariance import LeanPool.LeanMod...
19,844
lean_file_chunk
cb494a740f6f877e6ec52c22a6bcec97d9fb3ceac888c8f016175e90d088cf91
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.Definitions import Mathlib.Analysis.Complex.Convex import Mathlib.NumberTheory.ModularForms.Identities /-! # Modular...
9,276
lean_file_chunk
4eafde352a6265511b32e2d92ac708c83a1d7e92378a05dbb349a0c15ea7aa1b
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.Boundary.Smooth import LeanPool.LeanModularForms.GeneralizedResidueTheory.PVInfrastructure.UniformStepBound import Le...
23,934
lean_file_chunk
f0d9d39d21cf062bc21af9783c9045defc7f033d512d51a5d4ca29c533994f6e
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.OnCurvePV.Basic /-! # On-Curve PV: Endpoint and Corner CPV Cauchy principal value existence at the endpoint `1/2 + ...
7,439
lean_file_chunk
716c83ef4d74aa4f5dd32ea21ff953e7d54925824a78edbca393e470b0b1724e
lean_source_file
lean_pool_source_file_chunks
have hrw1 : (↑H - ↑(Real.sqrt 3) / 2 : ℂ) * I = (↑c : ℂ) * I := by rw [hc_eq] have hrw2 : (↑((t - 4) * c) : ℂ) * I = ↑(t - 4) * (↑c * I) := by push_cast; ring rw [hrw1, hrw2] exact inv_mul_mul_cancel ↑(t - 4) _ (mul_ne_zero (Complex.ofReal_ne_zero.mpr hc.ne') I_ne_zero) have h_integrand_se...
23,976
lean_file_chunk
8e9c26bff326a66d818b0174d40c0f2a542300a9dd47511d95eb2795dea5fef4
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.OnCurvePV.EndpointCorner /-! # On-Curve PV: Main Theorem For any point `s` on `fdBoundaryH H`, the CPV integral of ...
22,887
lean_file_chunk
6385d877a2f57850b88a9844f25e5321d1b36e4727cf12cde1acb68751a38ef4
lean_source_file
lean_pool_source_file_chunks
apply ContDiffAt.congr_of_eventuallyEq _ heq exact contDiffAt_const.add ((Complex.ofRealCLM.contDiff.contDiffAt.comp t₀ (contDiffAt_const.add ((contDiffAt_id.sub contDiffAt_const).mul contDiffAt_const))).mul contDiffAt_const) · erw [(fdBoundary_H_hasDerivAt_seg4 H ht₀_gt_3 ht₀_lt_4).deri...
13,810
lean_file_chunk
e39d9497cb5479a4620a654e8c5d869e66814b28ff51f0cf9853e5f64562bec5
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.Definitions import LeanPool.LeanModularForms.ValenceFormula.ModularInvariance /-! # Orbit Pairing Lemmas for the Val...
11,022
lean_file_chunk
b24cb2de1d9e77a5ae99f73a2b7aacb9265a52f5895ff98c7ac8d9c992aa0d62
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.OrbitPairing import Mathlib.Analysis.Meromorphic.NormalForm import Mathlib.LinearAlgebra.Matrix.FixedDetMatrices /-!...
23,973
lean_file_chunk
7d6b78c57551e7c488ca4745cdfd4b21f49fca5caf8b9a6b5ff8aa6a01053c71
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.PVChain.Helpers import LeanPool.LeanModularForms.ValenceFormula.ModularInvariance import LeanPool.LeanModularForms.Va...
6,573
lean_file_chunk
d1aa24594ddf7f8032d9e3b1acdee29bc57e6795a82434caa42e9fe85df31dce
lean_source_file
lean_pool_source_file_chunks
simp only [g_fun]; push_cast; ring rw [h_target] exact Filter.Tendsto.congr' h_id.symm (h_g_cont.comp h_m) /-! ### Bridge: sArcOfS S ∪ sVertOfS S → sArcOfS S on arc interval -/ omit f hf in private lemma arc_re_strictly_between (H : ℝ) (t : ℝ) (ht : t ∈ Set.Ioo (1 : ℝ) 3) : -1/2 < (fdBoundaryH H t).re ∧ (fdBo...
18,872
lean_file_chunk
5e1bd44576d2df14c3d355acdf1257e70441a84edbd250ca74e9be1bcb64fdb3
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.PVChain.OnCurveCapture import LeanPool.LeanModularForms.ValenceFormula.PVChain.ResidueSideInfra import LeanPool.LeanM...
23,944
lean_file_chunk
79d348d742b14623108e5ad8170a18c8bc0840f70f34b2e43490fd035f1f75b4
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.PVChain.OnCurveCapture import LeanPool.LeanModularForms.ValenceFormula.PVChain.Seg5CuspIntegral import LeanPool.LeanM...
12,625
lean_file_chunk
11467d71a2eb12c8a2ceadd23d4bb73846b3166481afc2bd9a3c9eba9bceed82
lean_source_file
lean_pool_source_file_chunks
have h_near : ∃ s ∈ (S₀ : Set ℂ), ‖γ t - s‖ ≤ ε := by by_contra h_far; exact h_not_K ⟨ht_uioc, h_far⟩ simp only [Finset.mem_coe] at h_near exact if_pos h_near have h_int_K' := integrableOn_logDeriv_mul_deriv_farSet f S hH h_capture hε have hK_meas : MeasurableSet K := by apply measurableSet_uIoc.i...
17,958
lean_file_chunk
0cdb6b5df8a1c96e9a469df616873a54e0712c4f582096c157eb123036ec765b
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.Boundary.Basic import LeanPool.LeanModularForms.ValenceFormula.Definitions import LeanPool.LeanModularForms.ValenceFo...
13,057
lean_file_chunk
6cf1a8e8edaa65219d512faaab775660b038fcbb843df8db4cf873dd61a1be69
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.PVChain.Helpers import LeanPool.LeanModularForms.ValenceFormula.OrbitSum /-! # On-Curve Capture Lemmas If `f` vanis...
23,959
lean_file_chunk
663589ef8299096837b09a22336b6c5a4c6dd0c76431f5cb3a3ddaef7d304a20
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.PVChain.OnCurveCapture import LeanPool.LeanModularForms.GeneralizedResidueTheory.Residue.GeneralizedTheoremBase impor...
9,323
lean_file_chunk
a507be4ea12d0b03cd96c6bb81a20530fb242770be6c721d1f5b5c57381fff65
lean_source_file
lean_pool_source_file_chunks
have h_nsq : normSq (fdBoundarySeg5H H t) ≥ 1 := by rw [normSq_apply] nlinarith [mul_self_nonneg (fdBoundarySeg5H H t).re, mul_self_le_mul_self (by linarith : (0 : ℝ) ≤ 1) (hH.trans him.ge)] exact norm_ge_one_of_normSq_ge_one h_nsq omit f hf in /-- The boundary `fdBoundaryH H` a...
21,828
lean_file_chunk
c0daeb6074d4ee4bf5d5b271671c0a4af13156d728076886683fb956d7773a9d
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.PVChain.Helpers import LeanPool.LeanModularForms.ValenceFormula.ModularInvariance import LeanPool.LeanModularForms.Va...
2,294
lean_file_chunk
b9ab0d4576258e7d96aca167fcfe695848f142145113568d2f984da21874e8be
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.PVChain.Assembly import LeanPool.LeanModularForms.ValenceFormula.PVChain.Assembly.ResidueSide /-! # PV Chain: Residu...
23,986
lean_file_chunk
00625f680c4c140f5b3ae52098e39053c1ef3c87685a4670915522e44a02711b
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.RectHomotopy.RadialHomotopy /-! # Angle analysis and winding number invariance Defines angle functions for fdPolygo...
211
lean_file_chunk
3939862cb9508b7dec482c9f015470fbfa5fffe95a3bf4608ea311e95ebf2a73
lean_source_file
lean_pool_source_file_chunks
exact ⟨M, fun t ht _s _hs => by rw [show (fun t' => H (t', _s)) = fun t' => fdPolygon t' - ((1 - ↑_s) * p₁ + ↑_s * p₂) from rfl, deriv_sub_const] exact hM t ht⟩ end RectHomotopyProof
8,687
lean_file_chunk
5d22bc86c560f972b6f0bbb54b7ac8ef77be6bdfa96d4ec9a688d8b7ad8cb742
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.RectHomotopy.HomotopyDef /-! # Derivative norm bounds for the homotopy segments Proves that the derivative norm of ...
5,764
lean_file_chunk
acde0b3a40e9d6bea01ee7db487948ce7d7d732b164a3fc7d56911e1080016c7
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.RectHomotopy.HomotopyDef /-! # Segment differentiability for the homotopy Proves that each segment of `fdBoundaryTo...
21,181
lean_file_chunk
95a955c6e128aa423d732e16f01e340a968577a303f5948a4158d500d8db69fb
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.RectHomotopy.HomotopyDef /-! # Non-differentiability at partition points and derivative continuity Proves the homot...
11,581
lean_file_chunk
3edec31b641311e42f12373f48db01395921c44a544f4f6f58e50655013e9564
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.GeneralizedResidueTheory.Homotopy.CircleParam import LeanPool.LeanModularForms.ValenceFormula.Boundary.Basic import Mathlib.Analysis...
14,525
lean_file_chunk
e49cf09447017ea021ab9dae6207a4d2c35068653fb885419269d802805f53b4
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.RectHomotopy.Geometry import LeanPool.LeanModularForms.ValenceFormula.TrigLemmas /-! # Homotopy infrastructure for F...
6,482
lean_file_chunk
441ad6876c458907c41cf9b7d5e06953f4fa25776f08c531a4131c3fd6a0ee5c
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.GeneralizedResidueTheory.Homotopy.CircleParam import LeanPool.LeanModularForms.ValenceFormula.RectHomotopy.BoundaryHomotopyDiff impo...
12,734
lean_file_chunk
0ee071844642c62c4e9cb35a80fdb30934b892689893273b73e67c7e34a4d1aa
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.RectHomotopy.BoundaryHomotopyDerivBounds import LeanPool.LeanModularForms.ValenceFormula.RectHomotopy.BoundaryHomotop...
12,799
lean_file_chunk
b517b86fa26c0abbc5424e7edf88a8f19963dc8ea8ae65b4be4513ea1395bef5
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.RectHomotopy.BoundaryHomotopySmooth /-! # Derivative continuity for the homotopy on partition pieces Proves that th...
13,749
lean_file_chunk
8d343593aafa788d328fe3c28f1f0ecc860bbcbdbe5322e9b8d9289f47bd9a15
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.RectHomotopy.HomotopyDef /-! # Polygon properties: values, segment functions, derivatives, differentiability Define...
23,930
lean_file_chunk
ebd47ddaca5f34780b64cb850d371cdd829e57c03e9725c6a0bf888c8562e07b
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.RectHomotopy.PolygonProps /-! # Polygon slope analysis and derivative bounds Proves slope identities for `fdPolygon...
480
lean_file_chunk
e267575d2fd0a150ffd95612d04963b0890c949ad349aa0cdf9d25339f81f7c7
lean_source_file
lean_pool_source_file_chunks
· right; left; exact le_antisymm (h_seg3 ht3) ht2 · push Not at ht3 by_cases ht4 : t < 4 · right; right; left; exact le_antisymm (h_seg4 ht4) ht3 · push Not at ht4; right; right; right; exact le_antisymm ht_le4 ht4 ...
23,985
lean_file_chunk
62e11fe5fa1df0e05f5c51ac7d2b1940596a51cb616cb2650b489b50d0d77ff1
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.GeneralizedResidueTheory.Homotopy.Invariance import LeanPool.LeanModularForms.ValenceFormula.RectHomotopy.PolygonSlope import Mathli...
7,439
lean_file_chunk
e4f141ad57a466a70e767e80a98464c5a3fb223ad4f486917f49904379f5944b
lean_source_file
lean_pool_source_file_chunks
· linarith · have : x = 4 := le_antisymm h'₄ h4; subst this simp [HHeight]; ring · rfl) /-- fdPolygon is Lipschitz with constant 3. -/ lemma fdPolygon_norm_sub_le (a b : ℝ) : ‖fdPolygon b - fdPolygon a‖ ≤ 3 * |b - a| := by wlog h : a ≤ b with H · rw [norm_sub_rev, abs_sub_comm];...
23,454
lean_file_chunk
8fad4e1a71db6e758b6cf029f41c946e0fc63c2b4d6c060bfe7c7b93826783f4
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.RectHomotopy.AngleAnalysis import LeanPool.LeanModularForms.GeneralizedResidueTheory.CurveAvoidance /-! # Winding nu...
20,611
lean_file_chunk
3dc9ce4810f4bc99b979c9c2a62b9831e5a8b56716631434eaee250c7bd594b2
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.GeneralizedResidueTheory.Homotopy.CircleParam import LeanPool.LeanModularForms.ValenceFormula.RectHomotopy.WindingBase /-! # Windin...
8,137
lean_file_chunk
34b361bb76c9247a3426d40cb5862dfc3852b2cba221c33db98bf22c88454fae
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.OrbitSum /-! # Canonical Representatives for Non-Elliptic Orbits Every non-elliptic orbit with nonzero order of van...
23,969
lean_file_chunk
b0541cfd00e8d55cf3d913e159a37bbc2c6203e7efd898a7ae12ca15045e3ba9
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.CoreIdentity import LeanPool.LeanModularForms.ValenceFormula.TextbookExistence import Mathlib.Algebra.BigOperators.Fi...
1,918
lean_file_chunk
687a6870edab9ef4b4a4228cae87f5a605e250f34981a1494e520c7d12429364
lean_source_file
lean_pool_source_file_chunks
(fun _ h₁ _ h₂ heq => orb_injOn_repCanon f hf h₁ h₂ (congr_arg Subtype.val heq)) h_surj (fun p hp => by simp only [ordOrbitQ, hφ_def]; exact_mod_cast (ordOrbit_mk f p).symm)).symm private lemma disjoint_repStrict_repLeftVert : Disjoint (repStrict f hf) (repLeftVert f hf) := by apply Finset.disjoint_lef...
999
lean_file_chunk
80b1d93156b52fef439b5d99828ac2c4e61ae6b9c8588eb6155ade76d3e269a7
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import Mathlib.Analysis.SpecialFunctions.Complex.CircleAddChar /-! # Shared Trigonometric Identities Euler-formula expansion of `exp(θ * I)` and exact values at `2...
14,948
lean_file_chunk
7b6c0d3ae9aeceaedd0418d713a8b730bbf4523321bbb9eddfaab8f8080a9c8e
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.Boundary.Smooth import LeanPool.LeanModularForms.GeneralizedResidueTheory.LogDerivFTC import Mathlib.Analysis.Special...
23,983
lean_file_chunk
54acc1e8efff1667f004b42c17949b5476f911cec5dc8346541e39384cb45fe6
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import LeanPool.LeanModularForms.ValenceFormula.WindingWeights.Common import LeanPool.LeanModularForms.ContourIntegral.WindingNumber import LeanPool.LeanModularForms...
23,987
lean_file_chunk
ad15f8e0a27ef2c777ef20b6492993352715daa7f36e1ea32dfcea2aa1d09688
lean_source_file
lean_pool_source_file_chunks
have hg1_1 : g 1 = h₁ 1 := fdBoundary_sub_I_at_one H have hg2mδ : g (2 - δ) = h₁ (2 - δ) := hg_eq_h₁ (2 - δ) (by linarith) (by linarith) have hg2pδ : g (2 + δ) = h₁ (2 + δ) := hg_eq_h₁ (2 + δ) (by linarith) (by linarith) have hg3_1 : g 3 = h₁ 3 := fdBoundary_sub_I_at_three H have hg3_2 : g 3 = h₂ 3 := by ch...