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
23,974
lean_file_chunk
36f9b1fdbdcd9f57a84d7ffa1c9a300d4eac52c796d47be14619f358dbf79590
lean_source_file
lean_pool_source_file_chunks
have hmul : a p * x < a p * c := by simpa [hac] using hax nlinarith [hmul, ha_pos] have hy_pos : 0 < y := by have hax_pos : 0 < a p * x := mul_pos ha_pos hx exact lt_trans hax_pos hax have hboundary := horizontal_boundary_closureA1_closureA2 p y hp hy_pos have hcl_x : closureA1 p x y := ⟨hx.le, le_of_...
23,968
lean_file_chunk
391ab5447c4ad507e1607662c62d355e2f1c9a4e67c513a779edc61cc78a030e
lean_source_file
lean_pool_source_file_chunks
rw [hy_eq, hc_eq] simp [DyuA1] exact tangent_glue_two_backward (fun t => auxFunction1 p x t) (fun t => DyauxFunction1 p x t) hz_boundary hy_boundary h_yc h_cz hd private lemma auxFunction1_tangent_y_on_A2_segment (p : ℝ) (hp : 2 ≤ p) {x y z : ℝ} (hx : 0 < x) (hy_lower : -x < y) (hy_boundary : y ≤...
23,977
lean_file_chunk
4e0662dd3967689e425e8d5db7cdb6edf56d928c3f4a85ad5aba0385ef95efe6
lean_source_file
lean_pool_source_file_chunks
nlinarith [hmul, ha_pos] have hboundary := horizontal_boundary_closureA1_closureA2 p y hp hy_pos have hcl_x : closureA2 p x y := ⟨hx.le, by linarith [hx, hy_pos], le_of_lt hay⟩ have hderiv_x : HasDerivAt (fun t => vGeTwo p t y) (DxauxFunction1 p x y) x := by have hsum : 0 < (x + y) / 2 := by linarith ...
23,973
lean_file_chunk
b0219c2941054c65d390ded5ad481e5f1fc0f3f5b1b9d2f361dd7ecd2b49dd4d
lean_source_file
lean_pool_source_file_chunks
have hQz : QuarterPlane2 z y := ⟨le_of_lt hz_neg, le_of_lt hynegz, le_of_lt hzy⟩ have hnotQx : ¬ QuarterPlane x y := by intro hq exact not_le_of_gt hx_neg hq.1 have hnotQz : ¬ QuarterPlane z y := by intro hq exact not_le_of_gt hz_neg hq.1 have haux := auxFunction1_tangent_x_on_QuarterPlaneOpen_seg...
23,954
lean_file_chunk
d279a63c692a3311c904a53b68385cf954956c3c64e73a3fdbe7d28c582040c1
lean_source_file
lean_pool_source_file_chunks
have hsum : 0 < (x + t) / 2 := by linarith [htIoo.1] have hdiff : 0 < (x - t) / 2 := by linarith [htIoo.2, hc_lt_x] exact (differentiableAt_DyvGeTwo_y_of_pos p x t hsum hdiff).hasDerivAt.hasDerivWithinAt · intro t ht have htIoo : t ∈ Set.Ioo (-x) c := by simpa [interior_Icc] using ht ...
23,952
lean_file_chunk
8b827e335636ca3bdc4eed5bade9709525afb82c37cff36f0207ed1ffe4e133e
lean_source_file
lean_pool_source_file_chunks
_ = uCandidate p y y + DxuCandidate p y y * ((-y) - y) := by simp [uCandidate, hQd, hdx] /-- Derivative comparison from Q1 all the way to the antidiagonal. It is just the already proved Q1-to-diagonal comparison followed by the diagonal-to-antidiagonal comparison. -/ private lemma DxuCandidate_QuarterPlaneOpen_...
23,984
lean_file_chunk
725fea1ecd918e9ac92ce1663435c21e8955612057269eea057c2be0a86a87de
lean_source_file
lean_pool_source_file_chunks
(nhdsWithin 0 (Set.Ioi 0)) (nhds (uCandidate p (x + h) 0)) := by have hline : Continuous (fun yy : ℝ => ((x + h), yy)) := by continuity have hcomp : Continuous (fun yy : ℝ => uCandidate p (x + h) yy) := by simpa [Function.comp_def] using hcontU.comp hline exact (hcomp.tendsto 0).mono_left nhdsWithin_l...
23,966
lean_file_chunk
9af8b6f9987387e791a4a5baeff78067292c367f8cc36420ae462fff183dbe3d
lean_source_file
lean_pool_source_file_chunks
private lemma abs_auxFunction1_le_growth (p : ℝ) (hp : 2 ≤ p) {x y : ℝ} : |auxFunction1 p x y| ≤ auxGrowthConst p * (Real.rpow |x| p + Real.rpow |y| p) := by by_cases h1 : closureA1 p x y · have hx : 0 ≤ x := h1.1 have hx_abs : |x| = x := abs_of_nonneg hx have hlocal := abs_uA1_le_growth p hp h1 ...
23,965
lean_file_chunk
5c2423b6bc7156b595a051587e07d436b171872e500d0f06c32cd3abb7a65036
lean_source_file
lean_pool_source_file_chunks
0 ≤ Real.rpow |x| (p - 1) + Real.rpow |y| (p - 1) := add_nonneg (Real.rpow_nonneg (abs_nonneg x) _) (Real.rpow_nonneg (abs_nonneg y) _) rcases mem_some_QuarterPlane x y with hQ1 | hrest · have haux := abs_DxauxFunction1_le_growth p hp' (x := x) (y := y) calc |DxuCandidate p x y| = |DxauxFunction...
23,978
lean_file_chunk
df707ee476ad067a6e8a23d591fbe7383c7cd67fedd073f60c97cf7c85980f90
lean_source_file
lean_pool_source_file_chunks
hasDerivAt_auxFunction1_y_on_QuarterPlaneOpen p hp (-x) (-y) hQaux have hbase : HasDerivAt (fun s => auxFunction1 p (-x) (-s)) (-(DyauxFunction1 p (-x) (-y))) y := by have hcomp := haux.comp y (hasDerivAt_neg y) simp only [Function.comp_def] at hcomp refine hcomp.congr_deriv ?_ ring re...
23,984
lean_file_chunk
2b945300c4ceeed62d8f3d5e1d192dd99ae42cce4eaff8d02a2eba91f0209fdc
lean_source_file
lean_pool_source_file_chunks
(DyuCandidate p x (-x)) (Set.Ici (-x)) (-x) := by have hbase : HasDerivWithinAt (fun s => auxFunction1 p x s) (DyauxFunction1 p x (-x)) (Set.Ici (-x)) (-x) := by have hEq : (fun s => auxFunction1 p x s) =ᶠ[𝓝[Set.Ici (-x)] (-x)] fun s => vGeTwo p x s := by have ...
23,989
lean_file_chunk
21fce4c758f229405c6b386c578d4212f90bdc4013c68843c4df2b0dd090796b
lean_source_file
lean_pool_source_file_chunks
private lemma uCandidate_le_zero_of_mul_nonpos (p x y : ℝ) (hp : 2 ≤ p) (hxy : x * y ≤ 0) : uCandidate p x y ≤ 0 := by rcases mem_some_QuarterPlane x y with hQ1 | hrest · rw [uCandidate_eq_Q1 p hQ1] exact auxFunction1_le_zero_of_QuarterPlane_mul_nonpos p x y hp hQ1 hxy rcases hrest with hQ2 | hrest ...
7,230
lean_file_chunk
62952df736be716b325b0fb3e0262a79c77a35ecfe754cafa7fb1656a06969d4
lean_source_file
lean_pool_source_file_chunks
exact ⟨by linarith, by linarith, mul_nonneg ha_nonneg (by linarith : 0 ≤ -x)⟩ have hx_eq : DyuCandidate p x 0 = -DyvGeTwo p (-x) 0 := by rw [DyuCandidate_eq_Q2 p hQ] simpa using congrArg Neg.neg (auxFunction1_Dy_eq_DyvGeTwo p hp' (-x) 0 hcl) rw [hx_eq] linarith [D...
23,967
lean_file_chunk
f1c121569130fd4e0130580347705feee48ddeb2d6681492ab8fd7ca7789aa7d
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Daniel Smania. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Smania -/ import Mathlib.Analysis.Convex.Function import Mathlib.Analysis.Convex.Deriv import Mathlib.Analysis.Convex.SpecificFunctions.Basic import Mathlib.Analysis.Convex.Spec...
23,925
lean_file_chunk
7f0abf0c14fa3e1a04aaf76b778c40272a9ff8086a68af73087b666f919ccf72
lean_source_file
lean_pool_source_file_chunks
DxauxFunction1 p x x = DyauxFunction1 p x x := by rcases hx.lt_or_eq with hxpos | hxeq · have hlt : a p < 1 := a_lt_one_of_one_lt_of_lt_two p hp1 hp2 have hax : a p * x ≤ x := (mul_le_mul_of_nonneg_right hlt.le hx).trans_eq (one_mul x) have hcl2 : closureA2 p x x := ⟨hx, hax, le_rfl⟩ have hnot1 : ...
23,962
lean_file_chunk
0183af9114a3c751e60b332eb09e705b6906901f3a8c19e338fe5e43fdc52db3
lean_source_file
lean_pool_source_file_chunks
⟨by linarith [hQ4.1], by linarith [hQ4.2.1], by linarith [hQ4.2.2]⟩ have hv : vLeTwo p (-y) (-x) = vLeTwo p x y := by rw [vLeTwo_neg_neg_leTwo p y x, vLeTwo_swap_leTwo p y x] rw [uCandidate_eq_Q4_leTwo p hQ4, ← hv] exact vLeTwo_le_auxFunction1_on_QuarterPlane_of_A1_leTwo p hp1 hp2 hA1 hQ private lemm...
23,994
lean_file_chunk
242d5bdf92534a60f7e5069f4029abafda42506dcbc535e10648fd7ff92ed33a
lean_source_file
lean_pool_source_file_chunks
have hEq : (fun t => uA1 p t y) =ᶠ[nhds x] g := by filter_upwards [Ioi_mem_nhds hx] with t ht have ht0 : 0 < t := by simpa [Set.mem_Ioi] using ht have hpow : t ^ p = t ^ (p - 1) * t := by calc t ^ p = t ^ ((p - 1) + (1 : ℝ)) := by ring_nf _ = t ^ (p - 1) * t ^ (1 : ℝ) := by rw [Real.rp...
23,974
lean_file_chunk
ccd55bbca85d3beeefb115f8e79ecdaeb0f8859433ca5e647205aeadce925f1a
lean_source_file
lean_pool_source_file_chunks
have hmul : a p * t < a p * c := mul_lt_mul_of_pos_left htIoo.2 ha_pos simpa [hac] using hmul exact deriv_DxvLeTwo_x_nonpos_leTwo p hp1 hp2 t y ⟨lt_trans hx_pos htIoo.1, h_at, lt_trans hyx htIoo.1⟩ have hx_mem : x ∈ Set.Icc x c := ⟨le_rfl, hxc.le⟩ have hc_mem : c ∈ Set.Icc x c := ⟨hxc.le, le_r...
23,989
lean_file_chunk
ae5a08058c8b00e2655ef6b60c5cbf4ae5e20e1d1ad148ef2f29d857653e23f1
lean_source_file
lean_pool_source_file_chunks
DxuCandidate p (a p * y) y * (z - a p * y) := by rw [huc, hdc] private lemma uCandidate_tangent_x_cross_Q3_A1_to_A2_leTwo (p : ℝ) (hp1 : 1 < p) (hp2 : p < 2) {x z y : ℝ} (hy_pos : 0 < y) (hx_lower : -y < x) (hx_upper : x < a p * y) (hz_lower : a p * y < z) (hz_upper : z < y) : uCandidate p z y ≤ ...
23,971
lean_file_chunk
d2eb3305e833bbde98c355b43c7f9385a3c12cc03f2be787c3fc5a6aefb3f9d3
lean_source_file
lean_pool_source_file_chunks
have hayz : y < a p * z := by have hmul := mul_lt_mul_of_pos_left hz_lower ha_pos field_simp [ha_pos.ne'] at hmul simpa [mul_comm, mul_left_comm, mul_assoc] using hmul have hclx : closureA1 p x y := ⟨hQx.1, hQx.2.2, le_of_lt hayx⟩ have hclz : closureA1 p z y := ⟨hQz.1, hQz.2.2, le_of_lt hayz⟩ have hux...
23,960
lean_file_chunk
0911708437983941427376479ac5e7979d59e9191b71f8d62cf28fbbf453e60d
lean_source_file
lean_pool_source_file_chunks
have hQc : QuarterPlane3 (a p * y) y := ⟨hy_pos.le, by have hnonneg : 0 ≤ a p * y := mul_nonneg ha_nonneg hy_pos.le linarith, by have hc_le_y : a p * y ≤ y := by simpa using mul_le_mul_of_nonneg_right ha_lt.le hy_pos.le exact hc_le_y⟩ have hclc : closureA1 p y (a p * y) := ⟨hy_pos.le, by ...
23,958
lean_file_chunk
ff48838286bfa3dad5bac3c9c6f51184b8c138608516028def5d4b619c200ec6
lean_source_file
lean_pool_source_file_chunks
DxuCandidate p y y ≤ DxuCandidate p (a p * y) y := DxuCandidate_diag_le_Q3_A1_boundary_leTwo (p := p) (hp1 := hp1) (hp2 := hp2) (y := y) hy_pos _ = DxuCandidate p (-y) y := DxuCandidate_Q3_A1_boundary_eq_antidiag_leTwo (p := p) (hp1 := hp1) (hp2 := hp2) (y := y) hy_pos private lemma Dxu...
23,918
lean_file_chunk
4a88a8aac20b94dec7543b5247fd363fa8ab9e706b8e36184e93f8375d66f32d
lean_source_file
lean_pool_source_file_chunks
(p := p) (hp1 := hp1) (hp2 := hp2) (y := y) hy_pos · subst z exact uCandidate_tangent_x_Q3_A2_boundary_to_diag_leTwo (p := p) (hp1 := hp1) (hp2 := hp2) (y := y) hy_pos · subst x by_cases hz_c : z < a p * y · exact uCandidate_tangent_x_antidiag_to_Q3_A1_leTwo (p := p...
23,955
lean_file_chunk
92c96fae329978bb44643074065b7bf138d7c5033bf08911f3b798fb6c56148d
lean_source_file
lean_pool_source_file_chunks
simpa [sub_eq_add_neg, div_eq_mul_inv, mul_comm, mul_left_comm, mul_assoc] using ((((hasDerivAt_id y).neg).const_add y).const_mul (1 / 2 : ℝ)) have hpow_sum : HasDerivAt (fun t : ℝ => |((y + t) / 2)| ^ p) (p * (y ^ (p - 2) * y) * (1 / 2)) y := by have h : HasDerivAt (fun s ...
23,995
lean_file_chunk
aa13e75837a93ef2afa1f8a562242f38928c40a848f4bc83f765e75e66e1d58b
lean_source_file
lean_pool_source_file_chunks
have hderiv : HasDerivAt (fun t => vLeTwo p y t) (DyvLeTwo p y x) x := by have hsum : 0 < (y + x) / 2 := by linarith [hy_pos, hc_pos, hx_lower] have hdiff : 0 < (y - x) / 2 := by linarith exact hasDerivAt_vLeTwo_y_of_pos_leTwo p y x hsum hdiff have hmain : vLeTwo p y (a p * y) ≤ vLeTwo p y x...
23,961
lean_file_chunk
8083c3c1925472da1736322949bc412bed315e2e703a11ef5afe92c34efe5848
lean_source_file
lean_pool_source_file_chunks
(hy_pos : 0 < y) : uCandidate p (-y) y ≤ uCandidate p (y / a p) y + DxuCandidate p (y / a p) y * ((-y) - y / a p) := by have hbc := uCandidate_tangent_x_Q1_boundary_to_Q3_A2_boundary_leTwo (p := p) (hp1 := hp1) (hp2 := hp2) (y := y) hy_pos have hca := uCandidate_tangent_x_Q3_A2_boundary_to_ant...
23,977
lean_file_chunk
dba64eb3ef8f69ea78af20cefc7ecca746ca88a9ec565a70b48efe4e80a5bda1
lean_source_file
lean_pool_source_file_chunks
= (1 - p) * x ^ p + p * x ^ (p - 1) * z := by rw [← hshift] ring _ ≤ 0 := by have hfirst : (1 - p) * x ^ p ≤ 0 := by exact mul_nonpos_of_nonpos_of_nonneg (by linarith) hxpow_nonneg linarith have hzpow_nonneg : 0 ≤ |z| ^ p := Real....
23,929
lean_file_chunk
03e1459232d46e6abcb799cc1517f312acf07f158f7f29db1655d174e5f9b71d
lean_source_file
lean_pool_source_file_chunks
exact Real.rpow_nonneg (inv_nonneg.mpr (by linarith)) _ exact mul_nonneg hpcoef (add_nonneg hsum_pow (mul_nonneg hcoeff hdiff_pow)) private lemma DyuA1_mono_x_on_Icc_pos_leTwo (p : ℝ) (hp1 : 1 < p) (hp2 : p < 2) {lo hi y : ℝ} (hlo : 0 < lo) : MonotoneOn (fun t : ℝ => DyuA1 p t y) (Set.Icc lo hi) := by ...
23,978
lean_file_chunk
0ab0c591805f7b77aef0d07a70a7e953bbbd38d6771d41337cab5a9d93be6cf6
lean_source_file
lean_pool_source_file_chunks
have ha_lt : a p < 1 := a_lt_one_of_one_lt_of_lt_two p hp1 hp2 have hneg_le_boundary : -y ≤ a p * y := by have hnonneg : 0 ≤ a p * y := mul_nonneg ha_nonneg hy_pos.le linarith have hboundary_lt_diag : a p * y < y := by simpa using mul_lt_mul_of_pos_right ha_lt hy_pos have hdiag_lt_q1 : y < y / a p := ...
23,928
lean_file_chunk
23ece1c83199154486d803291fc7b153d1b05c4bcaedd961d2ef260197ac0a55
lean_source_file
lean_pool_source_file_chunks
(-(coeffLeTwo p * Real.rpow |(x - y) / 2| p)) _ = Real.rpow |(x + y) / 2| p + |coeffLeTwo p| * Real.rpow |(x - y) / 2| p := by have hA : |Real.rpow |(x + y) / 2| p| = Real.rpow |(x + y) / 2| p := abs_of_nonne...
23,941
lean_file_chunk
9822efb671a85b9f3199efbe0d307a1616cd88b1368c6aa77b2a474e95974e86
lean_source_file
lean_pool_source_file_chunks
(Real.rpow |(-x)| (p - 1) + Real.rpow |(-y)| (p - 1)) := haux _ = auxDerivativeGrowthConst p * (Real.rpow |x| (p - 1) + Real.rpow |y| (p - 1)) := by simp _ ≤ uCandidateDerivativeGrowthConst p * (Real.rpow |x| (p - 1) + Real.rpow |y| (p - 1)) := mul_le_mul_of_nonneg_right hC hsum_...
7,812
lean_file_chunk
413e44ed6a6d0471c6d122b8b4d2f8f659944d1683b7a4de4c158f9c08961200
lean_source_file
lean_pool_source_file_chunks
have hcl4 : IsClosed Q4 := by simpa [Q4] using isClosed_Q4_leTwo have hc12 := hc1.union_of_isClosed hc2 hcl1 hcl2 have hcl12 : IsClosed (Q1 ∪ Q2) := hcl1.union hcl2 have hc123 := hc12.union_of_isClosed hc3 hcl12 hcl3 have hcl123 : IsClosed (Q1 ∪ Q2 ∪ Q3) := hcl12.union hcl3 have hc1234 := hc123.union_of_isClo...
3,864
lean_file_chunk
6358523cf82c039794d500fe74d5c807a7f036792ebd9da88b8ec16809009e26
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Daniel Smania. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Smania -/ import Mathlib.Analysis.Convex.Function import Mathlib.Analysis.Convex.Deriv import Mathlib.Analysis.Convex.SpecificFunctions.Basic import Mathlib.Analysis.Convex.Spec...
23,954
lean_file_chunk
b1e5f10e27e9a6b3747612586183731d3d0ab4d0feeedc6bdae3a59bebec63d5
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Daniel Smania. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Smania -/ import Mathlib.Probability.Martingale.Basic import Mathlib.MeasureTheory.Function.LpSeminorm.Basic import Mathlib.MeasureTheory.Function.LpSeminorm.LpNorm import Mathl...
23,936
lean_file_chunk
7542a926e8a0f03798df97464fc67a2c805f5fd24673c5f40e7b5257612e67b2
lean_source_file
lean_pool_source_file_chunks
exact (ENNReal.ofReal_toReal h.hp_top).symm have hq_eq : ENNReal.ofReal q = p / ENNReal.ofReal r := by rw [hp_eq_ofReal] dsimp [q, r, Burkholder.q, Majorants.q] rw [if_neg (by linarith [h.hp_one])] rw [ENNReal.ofReal_div_of_pos] exact hr_pos have hX : MemLp (X_{n}[w, f]) p μ := burkhol...
11,726
lean_file_chunk
6a667893d0eddc6b895d04436f4a465263b721fcd9fbbc2e029c53f7b927ccc3
lean_source_file
lean_pool_source_file_chunks
have hdy := burkholder_du_dy_Xn_Yn_integrable_mul_diff h n have hlinear_int : Integrable linear μ := by dsimp [linear] exact hdx.1.add hdy.1 have hlinear_zero : ∫ ω, linear ω ∂μ = 0 := by dsimp [linear] rw [integral_add hdx.1 hdy.1, hdx.2, hdy.2, add_zero] have hbound : ∀ᵐ ω ∂μ, Burkholder.u...
718
lean_file_chunk
c7e46672c39e002c26baca8334712e761244ae4c57338d745b25ff0b2641ea67
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Daniel Smania. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Smania -/ import Mathlib.Probability.Martingale.Basic import Mathlib.MeasureTheory.Function.LpSeminorm.Basic import Mathlib.MeasureTheory.Function.LpSeminorm.LpNorm import Mathl...
320
lean_file_chunk
9dbd6cd6bf9124c5c080121cc82f0edc43605bed8c41311717fb2fa45c196b1b
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ /-! # CencovPetz.Basic Root namespace and shared foundation for the Čencov–Petz uniqueness theorem package. -/ namespace LeanPool.CencovPetz end LeanPool.CencovPetz
2,231
lean_file_chunk
0ee680fd77bc89c522f4d3fef690074f9fcf857ddc566635f7430c37554767b0
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.CencovPetz.CencovSplitPoint import LeanPool.CencovPetz.ContinuousExtension import LeanPool.CencovPetz.FisherContinuity import LeanPool.CencovPetz.Ration...
9,163
lean_file_chunk
1a8432c99add1e91ea78d8ce9ae15a4056df73aef12e0ee6fe6b9db27386fdec
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.CencovPetz.SplittingInvariance import LeanPool.CencovPetz.SplittingUniform import LeanPool.CencovPetz.RationalPoint import LeanPool.CencovPetz.UniformSc...
1,423
lean_file_chunk
2905ea3cf1ab82da197b7ebeb5897322dc4ddcbbc71ec1b232770dce11568a0c
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.CencovPetz.SimplexTopology /-! # `CencovPetz.ContinuousExtension` Reusable “extend equality from a dense set” lemmas for functions on the finite open...
1,738
lean_file_chunk
f4a8448f9eaec0353c5003ca075b8b4c7153c7cdfb8d590ff6efbd3fdcfabddb
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.CencovPetz.SimplexTopology /-! # `CencovPetz.FisherContinuity` Continuity of the finite Fisher bilinear form as a function of the simplex point. Thi...
3,337
lean_file_chunk
5826872d36739be5c7988fa1f9144da0c51011ed181a24acb6394e2046f232ed
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.CencovPetz.MarkovMorphism import LeanPool.CencovPetz.MonotoneMetric import Mathlib.LinearAlgebra.BilinearForm.Properties /-! # `CencovPetz.LeftInverse...
12,056
lean_file_chunk
07559cdd8a70d650601d98613ffc0da572a9066076e224f26a30473f03a0d79a
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.CencovPetz.Simplex /-! # `CencovPetz.MarkovMorphism` Finite/discrete Markov morphisms (row-stochastic matrices) and monotonicity of the Fisher quadra...
2,522
lean_file_chunk
6e3f7eea24d0c659d7448bbb385dde3c1663c6db195601921c404dfc25ef4446
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.CencovPetz.MarkovMorphism /-! # `CencovPetz.MonotoneMetric` An interface for **monotone Riemannian metrics** on the finite open probability simplex (...
9,008
lean_file_chunk
f2609ca3eb2a963c0a753a3532cfebf97f477e1fb3b7c60e14ab51af9f61074a
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.CencovPetz.LeftInverseIsometry import LeanPool.CencovPetz.SufficientStatistic /-! # `CencovPetz.PermutationInvariance` Bridge deterministic sufficien...
11,723
lean_file_chunk
1a20eda7be7fe61ea03313c2c6921c5f0e65a0907223831d81ea7c8fb9954aff
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.CencovPetz.PermutationInvariance import LeanPool.CencovPetz.UniformSimplex /-! # `CencovPetz.PermutationInvariantBilinForm` Lemmas about bilinear for...
10,813
lean_file_chunk
91cf4b81aee9d5e97fd65cef29ce6d43ea7444517efca07171ca4a4547956d86
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.CencovPetz.RationalPoint import LeanPool.CencovPetz.SimplexTopology import Mathlib.Analysis.SpecificLimits.Basic import Mathlib.Algebra.Order.Ring.Star ...
1,698
lean_file_chunk
859c4a5bb46f0b853e0bec99481737ed7c4d041d05cb6b897fe1c02c2c97cfe6
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.CencovPetz.SplittingUniform /-! # `CencovPetz.RationalPoint` Common-denominator (“rational”) points of the finite open simplex. The classical finite...
6,324
lean_file_chunk
022c36659fc008fc644cd4d5d8bf1c58c01d594076b932c962b6666493531f6f
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.CencovPetz.MarkovMorphism import LeanPool.CencovPetz.UniformSimplex /-! # `CencovPetz.Replication` Replication Markov morphisms `α → α × Fin m` that ...
2,477
lean_file_chunk
8ec2a6a530383e77f74e0012d500a1a1b11ee458796923e905dcbeb86bfa3653
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.CencovPetz.LeftInverseIsometry import LeanPool.CencovPetz.Replication /-! # `CencovPetz.ReplicationInvariance` For a monotone metric family (Čencov s...
5,671
lean_file_chunk
f752c25542cba2317bcc58e15e252b5333d38972fb961915f616020ac105f26b
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import Mathlib.Analysis.InnerProductSpace.Basic import Mathlib.Algebra.Order.Star.Real import Mathlib.Algebra.Order.Archimedean.Real.Hom /-! # `CencovPetz.Simplex` T...
1,014
lean_file_chunk
6daeea45d7cbfab3449c00387de9390abf20d00b3caed60f7a120e97d7a1de6a
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.CencovPetz.Simplex /-! # `CencovPetz.SimplexTopology` Topology on the finite open simplex. We use the topology induced by the coordinate map `p ↦ p....
7,228
lean_file_chunk
1cc41829893d600d5e23922108f48f59b0a06e7bbda34c129368ba39f57e8063
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.CencovPetz.MarkovMorphism /-! # `CencovPetz.Splitting` Fiberwise splitting (dependent replication) Markov morphisms in the finite/discrete setting. ...
2,643
lean_file_chunk
2fd6835d96992abfcdf49ebeb983c304196b39d2ff92183ccd118bc52a0debc3
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.CencovPetz.LeftInverseIsometry import LeanPool.CencovPetz.Splitting /-! # `CencovPetz.SplittingInvariance` For a monotone metric family (Čencov setti...
2,129
lean_file_chunk
567e68dab4d112c94817ecb11abd256268cf780a9e630d35e1bc9a771d71d979
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.CencovPetz.Splitting import LeanPool.CencovPetz.UniformSimplex /-! # `CencovPetz.SplittingUniform` If a simplex point `p` has coordinates proportiona...
5,848
lean_file_chunk
1cd838098994508b1fd51e96655816eaa82d242cd5bf7184ff87b07776168bc8
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.CencovPetz.Simplex /-! # `CencovPetz.SufficientStatistic` Deterministic “sufficient statistics” in the finite/discrete setting, and monotonicity of t...
1,391
lean_file_chunk
4f6abb3f0313004afda3bdcd61aa17d4dbbc0e8d858b05f463ab35d4423b30a1
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import Mathlib.Algebra.BigOperators.Group.Finset.Basic import Mathlib.Data.Fintype.Card import Mathlib.Data.Real.Basic /-! # `CencovPetz.Uniform` Minimal facts about...
10,517
lean_file_chunk
c7b245d80092253b37a9b5b12b83ec9b59549ffbff59967059696cd528c4ac14
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.CencovPetz.ReplicationInvariance import LeanPool.CencovPetz.UniformScalarMultiple /-! # `CencovPetz.UniformScalarConstant` Show that the **uniform-po...
17,209
lean_file_chunk
72b1d4fac19eb03252ef4d165790530edc4cc06d15facc93f916740acbc83164
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.CencovPetz.PermutationInvariantBilinForm /-! # `CencovPetz.UniformScalarMultiple` At the uniform point on a finite simplex, a monotone metric family'...
961
lean_file_chunk
9bbc6b1857d1e24bde041a7dd711d6d7fdb1e7898065f15c322b9debdd9bb5e4
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.CencovPetz.Simplex import LeanPool.CencovPetz.Uniform /-! # `CencovPetz.UniformSimplex` Package the uniform distribution on a finite type as a point ...
1,792
lean_file_chunk
38c9b69a9122f27ae6ab57dab316c505bfecd0786cff0294f547ad986eeffcdd
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.CencovPetz.Basic import LeanPool.CencovPetz.CencovFinite import LeanPool.CencovPetz.CencovSplitPoint import LeanPool.CencovPetz.ContinuousExtension imp...
4,684
lean_file_chunk
c62f93570ae60c3363d2905f19605765368bdfa950785bc53de8e6f35f139587
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import Mathlib.InformationTheory.KullbackLeibler.Basic import Mathlib.MeasureTheory.Measure.DiracProba import Mathlib.MeasureTheory.Measure.ProbabilityMeasure import Ma...
4,355
lean_file_chunk
bba52b713bd00a038ff221ccf9622bf1297c213ba12587ea2551038982612da8
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.ChannelCapacity.StrictConcavity import Mathlib.Topology.Semicontinuity.Basic /-! # ChannelCapacity.Capacity Capacity and generic existence/uniqueness ...
4,584
lean_file_chunk
33c1a19af21e1c369d3f6f69de351bcb06e64dfee71767c7cef11f3e622f522f
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.ChannelCapacity.Basic import LeanPool.ChannelCapacity.KernelCompositionKullbackLeibler import Mathlib.InformationTheory.KullbackLeibler.ChainRule impor...
12,821
lean_file_chunk
e9a51b1e647e3e62bd5f15266e34d0a3c0f7e83897884fe68826bc5ee62988fa
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.ChannelCapacity.Capacity import Mathlib.MeasureTheory.Measure.Dirac import Mathlib.Probability.ProbabilityMassFunction.Constructions /-! # ChannelCapac...
18,967
lean_file_chunk
7e08f3688a2a83ff4fd75e9b68ad042a4e79bdc2329e73a8eb8f929abcbd5eb8
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.ChannelCapacity.Capacity import LeanPool.ChannelCapacity.NonDegeneracy import LeanPool.ChannelCapacity.ChainRule import LeanPool.ChannelCapacity.KernelC...
4,783
lean_file_chunk
ac9ebe20ce0fb82ea1ee96ec49c81eb88cdc8310e5ecf61607127c8589445599
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.ChannelCapacity.Discharged import LeanPool.ChannelCapacity.Finite import Mathlib.MeasureTheory.Measure.Count import Mathlib.Probability.ProbabilityMass...
23,990
lean_file_chunk
d7286e71a0cd145f3af2430c1e8019c31afaa25702ac3528ad0afe5107c40501
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.ChannelCapacity.Capacity import Mathlib.MeasureTheory.Constructions.Polish.Basic import Mathlib.MeasureTheory.Integral.Bochner.SumMeasure import Mathlib...
7,251
lean_file_chunk
cfe85ede95d75066a01d445bc90917b5d295364d6154d202e0bb25e084d1bf3a
lean_source_file
lean_pool_source_file_chunks
noncomputable def singletonIndicatorContinuousMap (a : α) : C(α, ℝ) := ⟨({a} : Set α).indicator (fun _ => (1 : ℝ)), continuous_of_discreteTopology⟩ omit [Fintype α] in lemma continuous_toReal_apply_singleton (a : α) : Continuous fun p : ProbabilityMeasure α => (p.toMeasure {a}).toReal := by let f : C(α, ℝ) := ...
5,924
lean_file_chunk
10f3c20db4f34d8375a97bcffabfe05ce9dfc32c393421fbf38e58a2e47ebf03
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import Mathlib.InformationTheory.KullbackLeibler.Basic import Mathlib.Probability.Kernel.CompProdEqIff import Mathlib.MeasureTheory.Measure.Decomposition.RadonNikodym ...
4,946
lean_file_chunk
57d9fa370fc5f1e688383adc9b3f4ee0eeb06d10fd98e6f3a050f01aeb4306c2
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.ChannelCapacity.Basic /-! # ChannelCapacity.NonDegeneracy Correct non-degeneracy conditions for uniqueness in the prior variable. - `Kernel.priorPush...
15,855
lean_file_chunk
f0811981c2fa03d531f9ba4c16ff7485c56e54764d93467b3906b6d092f72cbc
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.ChannelCapacity.ChainRule import LeanPool.ChannelCapacity.NonDegeneracy import Mathlib.Order.Filter.Extr /-! # ChannelCapacity.StrictConcavity Strict ...
948
lean_file_chunk
7197184c7b7e915204289e3b4500d80aaf8bc622073c72ed6a718635e6163b26
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Adam Benenson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Benenson -/ import LeanPool.ChannelCapacity.Basic import LeanPool.ChannelCapacity.KernelCompositionKullbackLeibler import LeanPool.ChannelCapacity.ChainRule import LeanPool.Channe...
4,570
lean_file_chunk
0976521d0e75892359cee1fa5888cdb9b202e716eb62b24bff2d994fa5197dae
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Xuanji Li. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Xuanji Li -/ import Mathlib.Analysis.SpecialFunctions.Elliptic.Weierstrass import Mathlib.NumberTheory.ModularForms.EisensteinSeries.Basic import Mathlib.NumberTheory.ModularForms.Eisenste...
8,017
lean_file_chunk
612f2076f92fd6df618637e2c77e656bcf5404bb80feae63ab65b86c0aff976c
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Xuanji Li. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Xuanji Li -/ import LeanPool.Chudnovsky.Coefficients import Mathlib.Analysis.Real.Pi.Chudnovsky /-! # Glue: from Milla's `theohud` to Mathlib's `chudnovskySum = π⁻¹` Phase D3 of the PLAN...
23,971
lean_file_chunk
ad13754806e18f758f43a794b1011a1b3e68e139dd2b326255ee5f75dbbc5ae5
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Xuanji Li. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Xuanji Li -/ import LeanPool.Chudnovsky.Basic import Mathlib.Analysis.Analytic.OfScalars import Mathlib.Analysis.SpecialFunctions.OrdinaryHypergeometric /-! # Clausen's formula and the hy...
23,958
lean_file_chunk
aec2495964b5c9b4d5474aaa9a5afa3671d533f08d25b79a63e2c7c743e6ae78
lean_source_file
lean_pool_source_file_chunks
have sAlign : ∀ (g : ℕ → ℂ) (k : ℕ), (Summable fun n => g n * z ^ n) → Summable fun m => (if k ≤ m then g (m - k) else 0) * z ^ m := by intro g k hgs apply (summable_nat_add_iff k).1 refine (sShift g hgs k).congr (fun n => ?_) simp only [Nat.le_add_left, if_true, Nat.add_sub_cancel] have iA : (∑...
17,308
lean_file_chunk
88fb7e57b6c833dc66c7772babf56ff0cf14b2b331ffb811791a26a97b2b9e59
lean_source_file
lean_pool_source_file_chunks
ordinaryHypergeometricCoefficient a b (a + b + 1 / 2) k * z ^ k * (ordinaryHypergeometricCoefficient a b (a + b + 1 / 2) (n - k) * z ^ (n - k)) = ordinaryHypergeometricCoefficient a b (a + b + 1 / 2) k * ordinaryHypergeometricCoefficient a b (a + b + 1 / 2) (n - k) * z ^ n := by intro k hk...
23,961
lean_file_chunk
55655a5b0f65efa7ed63114c971286388d158fb48d36df0da8d4a6c60cb68856
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Xuanji Li. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Xuanji Li -/ import LeanPool.Chudnovsky.DivisionValues import LeanPool.Chudnovsky.Fourier import Mathlib.NumberTheory.ModularForms.DedekindEta /-! # Complex multiplication and the integra...
23,974
lean_file_chunk
ef658653a00eb7922f85a1e2e98702ed490cbdc45a558099ed3573475694e02f
lean_source_file
lean_pool_source_file_chunks
have hCne : (C : ℂ) ≠ 0 := by exact_mod_cast hC.ne' have hMne : (M : ℂ) ≠ 0 := by exact_mod_cast hM0.ne' have hv1C : ((v.1 : ℕ) : ℂ) = (x : ℂ) := by exact_mod_cast hv1 have hv2C : ((v.2 : ℕ) : ℂ) = (C : ℂ) * y := by exact_mod_cast hv2 have hMdiv : (M : ℂ) * (Lτ τ).divPt M v = (x : ℂ) + (C : ℂ) * (y : ℂ)...
4,814
lean_file_chunk
2f44776580015cf3a4c9eca3e8ab56e24e2c5eb75bdf310d92a5eeaa0fd017a3
lean_source_file
lean_pool_source_file_chunks
pow_two, zero_mul, add_zero, zero_add] at him have hre := (Complex.ext_iff.mp hCM).1 simp only [Complex.add_re, Complex.mul_im, Complex.mul_re, Complex.intCast_re, Complex.intCast_im, Complex.zero_re, UpperHalfPlane.coe_re, UpperHalfPlane.coe_im, pow_two, zero_mul, sub_zero] at hre have hyR : (τ.im : ℝ) ≠...
23,992
lean_file_chunk
29624a7329c89ecd85251371f59cea0c1dbac02cdb00091036d83e1d92cf9b5e
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Xuanji Li. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Xuanji Li -/ import LeanPool.Chudnovsky.Quasiperiods import Mathlib.Analysis.Meromorphic.TrailingCoefficient import Mathlib.RingTheory.MvPolynomial.Basic import Mathlib.NumberTheory.Real.I...
23,935
lean_file_chunk
1859abdf3c3fc0b1a1afdf32afb6cdbcfe574ba80652afbba04cb4239178eaa1
lean_source_file
lean_pool_source_file_chunks
intro z l simp only [mulDiff] congr 1 · refine Finset.sum_congr rfl fun v _ => ?_ rw [show z + (l : ℂ) + L.divPt m v = (z + L.divPt m v) + l by ring] exact L.weierstrassP_add_coe _ l · congr 1 rw [show (m : ℂ) * (z + l) = m * z + m * l by ring] have hml : (m : ℂ) * (l : ℂ) ∈ L.la...
23,980
lean_file_chunk
d6d4e7bd008f4e8bbe22734e63dc513c590c5342531efeffd2ea4eb5910a8cf6
lean_source_file
lean_pool_source_file_chunks
have hσa : ∀ x : ℂ, AnalyticAt ℂ L.weierstrassSigma x := fun x => L.differentiable_weierstrassSigma.analyticAt x have hm1 : MeromorphicAt (fun w => L.weierstrassSigma (w + v)) z := by have : AnalyticAt ℂ (fun w : ℂ => L.weierstrassSigma (w + v)) z := by have := hσa (z + v); fun_prop exact this.merom...
23,956
lean_file_chunk
182a645a5d505209f60d6198137a9a5b38c203ee99956a7bed79cb5fe863e86a
lean_source_file
lean_pool_source_file_chunks
meromorphicOrderAt (fun w => L.weierstrassP w - L.weierstrassP (L.divPt m v)) z = 0 := by intro v hv have hvne₁ : v ≠ v₁ := (Finset.mem_erase.mp hv).1 have hvne₀ : v ≠ v₀ := (Finset.mem_erase.mp (Finset.mem_erase.mp hv).2).1 have hvne0 : v ≠ 0 := (Finset...
23,949
lean_file_chunk
8d36ad62affa3cad12ce22e1a06db92f5c230102dabeb27ce8d444672fb6293e
lean_source_file
lean_pool_source_file_chunks
rw [show 4 * j + 7 = 4 * (j + 1) + 3 by ring, P_four_mul_add_three (by omega : 1 ≤ j + 1), show P (2 * (j + 1) + 3) = P (2 * (j + 2) + 1) by rw [show 2 * (j + 1) + 3 = 2 * (j + 2) + 1 by ring], show P (2 * (j + 1)) = P (2 * j + 2) by rw [show 2 * (j + 1) = 2 * j + 2 by ring]] obtain ⟨hd1, hc1⟩ := ho...
23,967
lean_file_chunk
87a0d2d1fa3b3f8b802e32017a75fdea21fd477c891e456e2d75f34d01f9ed96
lean_source_file
lean_pool_source_file_chunks
L.derivWeierstrassP (2 * z) * L.derivWeierstrassP z ^ 2 = L.weierstrassP z * L.derivWeierstrassP z * deriv L.derivWeierstrassP z - L.derivWeierstrassP z ^ 3 - L.weierstrassP (2 * z) * L.derivWeierstrassP z * deriv L.derivWeierstrassP z := by have hmem : {w : ℂ | w ∉ L.lattice ∧ 2 * w ∉...
10,976
lean_file_chunk
3e90e0fbc61f9386650a4060e5aaf0175eb1443a024c56639a831b6af17ce7fa
lean_source_file
lean_pool_source_file_chunks
(Polynomial.X - Polynomial.C (L.weierstrassP (L.divPt m v))) = L.Pc m ^ 2 := by apply Polynomial.eq_of_infinite_eval_eq refine L.infinite_wp_generic.mono ?_ rintro x ⟨z, hgen, rfl⟩ have hz1 : z ∉ L.lattice := by have := hgen 1 one_ne_zero rwa [Nat.cast_one, one_mul] at this have hprod := L.propf...
23,970
lean_file_chunk
848828bd3caaf68b02e0b76fa94fce6a80a2b2cab3aeef90daebebadd66f2ad9
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Xuanji Li. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Xuanji Li -/ import LeanPool.Chudnovsky.Basic import Mathlib.NumberTheory.ArithmeticFunction.Misc import Mathlib.Analysis.Real.Pi.Bounds import Mathlib.Analysis.Complex.ExponentialBounds ...
23,970
lean_file_chunk
871566b67f4227ee13576b035da9fc020e4aa3319fde83a9f4eee78f14fa2bd2
lean_source_file
lean_pool_source_file_chunks
nlinarith [habs, hqq, hQpos, hQ, pow_pos hQpos 2] /-- Paper: `|stilde₂| ≤ 1.3776`. -/ lemma norm_s₂tilde_le {τ : ℍ} (hτ : τ ∈ Region) : ‖s₂tilde τ‖ ≤ 1.3776 := by rw [s₂tilde_eq, norm_mul, norm_div] have hX := norm_E₄trunc_le hτ have hY := norm_E₆trunc_ge hτ have hZ := norm_E₂starTrunc_le hτ have hYpos : (0 ...
1,354
lean_file_chunk
2d82144ae8892fc98ee6fb81ac337a1dd573170ae40fb849edd17635bb8f0943
lean_source_file
lean_pool_source_file_chunks
have hbound : ‖E₄ τ - E₄trunc τ‖ * ‖E₂starTrunc τ‖ + ‖E₄trunc τ‖ * ‖E₂star τ - E₂starTrunc τ‖ + ‖E₄ τ - E₄trunc τ‖ * ‖E₂star τ - E₂starTrunc τ‖ + ‖s₂tilde τ‖ * ‖E₆ τ - E₆trunc τ‖ ≤ 177600 * Q ^ 3 := by have h1 : ‖E₄ τ - E₄trunc τ‖ * ‖E₂starTrunc τ‖ ≤ (6744 * Q ^ 3) * 1.0094 := mul_le_mul...
23,962
lean_file_chunk
27f8b9b364cb810d1b117044477192726cf9611743ab91ae04aa04ce74501b19
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Xuanji Li. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Xuanji Li -/ import LeanPool.Chudnovsky.Lattices import Mathlib.NumberTheory.ModularForms.EisensteinSeries.QExpansion import Mathlib.NumberTheory.LSeries.HurwitzZetaValues /-! # Fourier e...
18,204
lean_file_chunk
d397c42675f6f2324017641b2ee6844887d8f147b3ba84241b5c57dfae224859
lean_source_file
lean_pool_source_file_chunks
have h := qProd_functional hqlt ((q τ)⁻¹ * w⁻¹) rw [show q τ * ((q τ)⁻¹ * w⁻¹) = w⁻¹ from by rw [← mul_assoc, mul_inv_cancel₀ hqne, one_mul]] at h rw [mul_inv]; exact h simp only [gfun, Gfun, hqz, hnegexp] rw [F3, F1] field_simp ring /-! ### Entireness and non-vanishing of `φ` and `g` -/ private...
23,962
lean_file_chunk
f18e06281810b7e3a0c40ad2874f7371524c8d6ab9c9e2f33849959021427e18
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Xuanji Li. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Xuanji Li -/ import LeanPool.Chudnovsky.PicardFuchs import LeanPool.Chudnovsky.Estimates import LeanPool.Chudnovsky.Ramanujan import Mathlib.Analysis.InnerProductSpace.Calculus /-! # Kumm...
22,483
lean_file_chunk
1cb0a1962cec172e9e51a0cc14e978ea7ee9f15b4d07779ec758155df08e76c8
lean_source_file
lean_pool_source_file_chunks
· have h0 : ((kn + 1 : ℕ) : ℂ) = 0 := by push_cast; linear_combination h rw [Nat.cast_eq_zero] at h0; omega have hrad : (ordinaryHypergeometricSeries ℂ (1 / 12 : ℂ) (5 / 12) 1).radius = 1 := ordinaryHypergeometricSeries_radius_eq_one ℂ (a := 1 / 12) (b := 5 / 12) (c := 1) habc have hfps := (ordinaryHyperg...
8,957
lean_file_chunk
35a053aed2856f1cf396f7876965356f0b44fe8da7a124a55ab37a5afcf21047
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Xuanji Li. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Xuanji Li -/ import LeanPool.Chudnovsky.Quasiperiods /-! # Equivalent lattices and scaling laws Statements from chapter 3 of Milla (arXiv:1809.00533v6, file `080_Lattices.tex`): * `Peri...
23,949
lean_file_chunk
8acb16d26a3bf88b4ec0359a19ffcdb1031dae6d46a2099631f25927a0107581
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Xuanji Li. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Xuanji Li -/ import LeanPool.Chudnovsky.SigmaZeta import Mathlib.MeasureTheory.Integral.CircleIntegral import Mathlib.Analysis.Meromorphic.NormalForm import Mathlib.Analysis.Complex.Cauchy...
23,969
lean_file_chunk
a2b6f987e6e5f1bc50b46ba634b681937f3edae9f3c71923c24ef9d41f7fce64
lean_source_file
lean_pool_source_file_chunks
have key : ∀ (p ω : ℂ), (∀ t ∈ Set.Icc (0 : ℝ) 1, p + (t : ℂ) * ω ∈ L.boundarySet v) → (∫ t in (0 : ℝ)..1, (f (p + (t : ℂ) * ω) + g (p + (t : ℂ) * ω)) * ω) = (∫ t in (0 : ℝ)..1, f (p + (t : ℂ) * ω) * ω) + ∫ t in (0 : ℝ)..1, g (p + (t : ℂ) * ω) * ω := by intro p ω hmem have hif : Interval...
23,992
lean_file_chunk
b6fc0c337d35cd504eaa88df829eaf41e46859b690ffc2edb982d61a29789bc7
lean_source_file
lean_pool_source_file_chunks
`T` is not holomorphic the individual `∂/∂zbar`-terms do not vanish, but both are constant complex multiples of the single area integral `M = ∫∫ f'(T u)`, and the parallelogram boundary integral is the linear combination of the two identities in which `M` cancels. -/ private lemma boundaryIntegral_eq_zero_of_differenti...