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,985 | lean_file_chunk | f702a5fb451221282f74388146815c1f440a65a329c2cae4799cf730acceac78 | lean_source_file | lean_pool_source_file_chunks | apply Finset.analyticAt_fun_sum
intro c hc
exact hPanalytic c z (fun hzc => hzS (hzc ▸ hc))
apply (hfz.sub hs_an).congr
have hev : ∀ᶠ w in nhds z, w ∉ S' :=
(S'.finite_toSet.isClosed.isOpen_compl).mem_nhds (by simpa using hzS)
filter_upwards [hev] with w hw
simp only [hG', if_neg hw, P... |
4,319 | lean_file_chunk | c8809000e5bf46694d766c981ea42c098e4c97d84da4143919cbc348cfb2b170 | lean_source_file | lean_pool_source_file_chunks | rw [meromorphicOrderAt_div (hf.1 z) (hg.1 z), h z]
rcases WithTop.ne_top_iff_exists.mp (hforall_g z) with ⟨n, hn⟩
rw [← hn]; simp
set H := toMeromorphicNFOn (f / g) Set.univ with hHdef
have hHorder : ∀ z, meromorphicOrderAt H z = 0 := by
intro z
rw [hHdef, meromorphicOrderAt_toMeromorphi... |
23,956 | lean_file_chunk | 49019be1dede6dd4e650dfd0089b9109720a495c806c7c147f3b8754793ef191 | 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 LeanPool.Chudnovsky.Estimates
import LeanPool.Chudnovsky.Clausen
import LeanPool.Chudnovsky.Ramanujan
import LeanPool.Chudnovsky.Kummer... |
13,110 | lean_file_chunk | 3a82d8ab2c1aab72f7b59c32cfaab89d731c4e6fc4dcda7287112cb4a9c7c5b1 | lean_source_file | lean_pool_source_file_chunks | refine ⟨fun h => ?_, fun h => ?_, fun h => ?_⟩
· have h0 : ((12 * kn + 1 : ℕ) : ℂ) = 0 := by push_cast; linear_combination 12 * h
rw [Nat.cast_eq_zero] at h0; omega
· have h0 : ((12 * kn + 5 : ℕ) : ℂ) = 0 := by push_cast; linear_combination 12 * h
rw [Nat.cast_eq_zero] at h0; omega
· have h0 : (... |
1,575 | lean_file_chunk | 44b23f5b5f1d794d3f01063cc3e188ff20436d7e0555014b7a3a867862081cde | 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.Clausen
/-!
# The Picard–Fuchs differential equation
This file covers chapter 7 of Milla's proof of the Chudnovsky formula (arXiv:1809.00533v6,
`1... |
23,961 | lean_file_chunk | 390da129aa7472a7a0782aafc1c35de14cf5056cbf3ea7a8f980ab772a1de3d7 | 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.WeierstrassMore
import Mathlib.NumberTheory.ModularForms.EisensteinSeries.E2.Transform
/-!
# Quasiperiods and the Legendre relation
Statements fro... |
644 | lean_file_chunk | 0c6202341f5c07dff31463d3f296f0bb8ed80a9a63dbc010010b9768cd62b192 | lean_source_file | lean_pool_source_file_chunks | (paper `legendre` with `ω₁ = 1`, `ω₂ = τ`). -/
theorem legendre_Lτ (τ : ℍ) :
(Lτ τ).eta₁ * τ - (Lτ τ).eta₂ = 2 * (π : ℂ) * Complex.I := by
have h := (Lτ τ).legendre_relation (by simpa using τ.im_pos)
simpa using h
/-- The first quasiperiod of `L_τ` is the weight-2 Eisenstein series `G₂` in its
Eisenstein summa... |
23,995 | lean_file_chunk | d21222b58d660039bf49657a84f66b29dd51b0ba6a7337a0c0923c690716cee7 | 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.Geometry.Manifold.Notation
import Mathlib.NumberTheory.ModularForms.Derivative
import Mathlib.NumberTheory.ModularForms.LevelOn... |
10,682 | lean_file_chunk | c18b30cf0eeed302e900b1773cdf8f0e1a000f0e4edf3e7863ae64474d71312d | lean_source_file | lean_pool_source_file_chunks | private lemma serre_E₆_slash_S :
serreDerivative 6 (⇑E₆) ∣[(8 : ℤ)] ModularGroup.S = serreDerivative 6 (⇑E₆) := by
ext τ
have hτ : (↑τ : ℂ) ≠ 0 := ne_zero τ
have hπ : (π : ℂ) ≠ 0 := pi_ne_zero'
have hI : (I : ℂ) ≠ 0 := I_ne_zero
have hE₆S : ∀ σ : ℍ, (⇑E₆ : ℍ → ℂ) (ModularGroup.S • σ) = ↑σ ^ (5 + 1 : ℕ) * ... |
23,984 | lean_file_chunk | 690e2265e453f87ad43cd0b5505c6938e4f4ae9ec17126e02f8ecfb755f6b0f4 | 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.Calculus.LogDeriv
/-!
# The Weierstrass σ- and ζ-functions
Statements from chapter 1 of Milla, *A detailed proof of ... |
12,790 | lean_file_chunk | e8de7133afe498297fd4d9688bb5e40658c871ec0479e2ac79b3ed3fd4144ddd | lean_source_file | lean_pool_source_file_chunks | · simp only [if_neg h]
refine weierstrassSigmaTerm_ne_zero (by simpa using n.2) (fun hcontra ↦ ?_)
exact h (Subtype.ext (Subtype.ext hcontra.symm))
have hsummable : Summable (fun n ↦ ‖g n w - 1‖) :=
Summable.of_nonneg_of_le (fun n ↦ norm_nonneg _) hle (L.summable_norm_sigma_sub_one w)
have... |
4,779 | lean_file_chunk | b53b2b78c7cb202aee7e9466dbf4b29004f14366eb11d9920118bc415f52558a | 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.SingularModuli.QuadraticPoints
import LeanPool.Chudnovsky.SingularModuli.FormReduction
/-!
# The CM relations at `τ₁₆₃`: explicit isogeny matrices ... |
17,192 | lean_file_chunk | 5294197f3b492b5717b952113d91c722b5de0602a4fd8ce529eba54b20f7e2a1 | 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.SingularModuli.JFunction
/-!
# The `m`-isogeny coset orbit of `j` (Phase C, chunk B2)
Second file of Track 1 of Phase C (see `Playground/Pi/PhaseC... |
16,279 | lean_file_chunk | edf47ab57fffd9ac286ea3040f176f065cd0ea0020de59c073625707c7da65a2 | 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.SingularModuli.QuadraticPoints
import LeanPool.Chudnovsky.Basic
/-!
# Reduction of binary quadratic forms of discriminant `−163` (Phase C, Track 3)... |
23,926 | lean_file_chunk | c88c45ae998783cbabc101eecda3a831e5fc1d86fc8db02d4e9ea84db5c6b601 | 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.NumberTheory.ModularForms.Discriminant
import Mathlib.NumberTheory.ModularForms.QExpansion
import Mathlib.NumberTheory.ModularForms.EisensteinSeries.QExpansion
... |
2,089 | lean_file_chunk | 197804d9a25bfc5262c8183cf3f95ff78cc403fda74a379a881570789f00c3e9 | lean_source_file | lean_pool_source_file_chunks | * PowerSeries.map (Int.castRingHom ℂ) (deltaTail.invOfUnit 1) := by rw [hcancel]
_ = PowerSeries.map (Int.castRingHom ℂ) jqInt := by rw [jqInt, map_mul]
/-- **(B1) headline, convergent-sum form**: for every `τ ∈ ℍ`,
`j(τ)·q(τ) = ∑ c(n)·q(τ)ⁿ` with the integer coefficients `c = jqInt.coeff`. -/
theorem hasSum_j_mul... |
18,013 | lean_file_chunk | 13653908f5db730ca635ce5dd97566a9508f42990a8510b6235b37278bdb601f | 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.SingularModuli.ModularPolynomialZ
/-!
# Kronecker's unit-leading-coefficient lemma for the diagonal modular polynomial (Phase C, B7)
This file dis... |
23,940 | lean_file_chunk | 72f9ccff2c40d9edb509cd0f3b4481d1d3d2141866c4768952f0a1c5bb5d1399 | 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.SingularModuli.Rationality
import LeanPool.Chudnovsky.SingularModuli.Kronecker
import LeanPool.Chudnovsky.Ramanujan
import LeanPool.Chudnovsky.Estim... |
18,342 | lean_file_chunk | 5ea51dc809ed4abc7848b4d4641a2daf0ec28861211de0f836ac7116d1140e1a | lean_source_file | lean_pool_source_file_chunks | private lemma specializeY_eval_sum (P : Polynomial (Polynomial ℚ)) (Y₀ x : ℂ) :
(specializeY Y₀ P).eval x
= ∑ n ∈ P.support, ((P.coeff n).map (algebraMap ℚ ℂ)).eval Y₀ * x ^ n := by
rw [specializeY, coe_mapRingHom, eval_map, eval₂_eq_sum, Polynomial.sum_def]
exact Finset.sum_congr rfl fun n _ ↦ by rw [Alg... |
23,977 | lean_file_chunk | f7917e35dd19fb7261c30846eeae976dce4bb8ee0440c22e140cc09a7e8b1f21 | 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.SingularModuli.CosetOrbit
import Mathlib.Algebra.Field.GeomSum
import Mathlib.Algebra.Polynomial.Roots
import Mathlib.LinearAlgebra.Matrix.FixedDetM... |
23,956 | lean_file_chunk | 0f8a9d92553890364d543613579c7120afb211f39e8b3a3c90446ccba69e6f12 | lean_source_file | lean_pool_source_file_chunks | set h' : ℍ → ℂ := fun τ ↦ h τ - c * (j τ) ^ (N + 1) with hh'_def
have hinv' : ∀ (γ : SL(2, ℤ)) (τ : ℍ), h' (γ • τ) = h' τ := by
intro γ τ
simp only [hh'_def, hinv γ τ, j_smul γ τ]
have hholo' : MDiff h' := by
have : MDiff (fun τ : ℍ ↦ c * (j τ) ^ (N + 1)) :=
mdifferentiable_const.mul (... |
19,805 | lean_file_chunk | 310d40349cc6089517d7ed6cca5bd8f4e07a8fc951927f121820ab6fe4b3523d | lean_source_file | lean_pool_source_file_chunks | Asymptotics.isBigO_of_le atImInfty (fun τ ↦ by simpa using hg τ)
/-- `(j·q)ᵏ` composed with an upper-triangular isogeny `A` (lower-left entry `0`) is bounded at
`i∞`, since the isogeny pushes towards the cusp. -/
lemma isBoundedAtImInfty_jqPow_comp (k : ℕ) (A : GL (Fin 2) ℝ) (hA : A 1 0 = 0) :
IsBoundedAtImInfty (... |
23,957 | lean_file_chunk | 9813fb0581e1313cab777bd4d549d96523c4214d71fd96d920a68c27da25abdd | 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.SingularModuli.ModularPolynomialQ
import Mathlib.RingTheory.IntegralClosure.IntegrallyClosed
import Mathlib.Algebra.GCDMonoid.IntegrallyClosed
/-!
... |
20,308 | lean_file_chunk | bbedd03a2d89e0e4bf87920e6ba10221adfe07cf0e54b5f497c0c58fb6eddec4 | lean_source_file | lean_pool_source_file_chunks | (fun τ ↦ ((P.coeff k : ℚ) : ℂ) * ((j τ * q τ) ^ k * q τ ^ (N - k))) := by
intro k
refine goodQ_smul one_pos ?_ (RingHom.mem_range.mpr ⟨P.coeff k, rfl⟩)
exact ((goodQ_jq RQ).pow one_pos k).mul one_pos ((goodQ_q RQ).pow one_pos (N - k))
have hgood : GoodQ 1 RQ (fun τ ↦ (orbitPoly m τ).coeff n * q τ ^ N) := ... |
12,893 | lean_file_chunk | 517a2da70715e13abe8d44c3e926e803293156ea94cb11bf988b2f69ef88c648 | 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.Complex.UpperHalfPlane.MoebiusAction
import Mathlib.NumberTheory.Modular
/-!
# Binary quadratic forms and CM points (Phase C, Track 3)
This file deve... |
23,993 | lean_file_chunk | b341e8cd0294150f4c3ca829827dde04aefc34dc24cf455a2809badf66c2c3c8 | 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.SingularModuli.ModularPolynomialZ
import LeanPool.Chudnovsky.SingularModuli.CMRelations
import LeanPool.Chudnovsky.SingularModuli.Valence
import Mat... |
601 | lean_file_chunk | db6772108c3f53a02edbc0a820878cc27ff3e3eac1300c8850b48fce6a59fbad | lean_source_file | lean_pool_source_file_chunks | rw [hrepl, Multiset.sum_replicate, hCdeg] at hnc1
-- combine: `φ(nextCoeff p) = -(d • j₀)`
have hkey : φ p.nextCoeff = -((p.natDegree : ℂ) * j₀) := by
rw [← hnc2, hnc1, nsmul_eq_mul]
-- solve for `j₀`
refine ⟨-p.nextCoeff / (p.natDegree : ℚ), ?_⟩
have hdQ : (p.natDegree : ℚ) ≠ 0 := by exact_mod_cast hdpos... |
23,940 | lean_file_chunk | d9c23eed923077266f5a8067ee8fe377aa703b1be772261ae1ddfa523321fb85 | 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.SingularModuli.JFunction
import LeanPool.Chudnovsky.Fourier
import LeanPool.Chudnovsky.DivisionValues
import Mathlib.NumberTheory.Modular
import Mat... |
23,960 | lean_file_chunk | 53b7a9d3cfc48c0a5d5104543290ff0ea271944ca81e9fbb8829581c272f5ce5 | lean_source_file | lean_pool_source_file_chunks | L₁.iteratedDeriv_weierstrassPExcept_self 0, L₂.iteratedDeriv_weierstrassPExcept_self 0,
L₁.sumInvPow_zero, L₂.sumInvPow_zero]
norm_num [hG6]
-- recursion branch: `m ≥ 2`, `m ≠ 4`
have hm2 : 2 ≤ m := by omega
have hkey := hident.iteratedDeriv_eq m
have hLHSval : iteratedDeriv ... |
87 | lean_file_chunk | 63d3f996c6ea2592f27f26096714c33a3f4596160d01e996eca78415b9a04c3b | lean_source_file | lean_pool_source_file_chunks | have hw : w ∈ Set.range (j : ℍ → ℂ) := hall ▸ Set.mem_univ w
exact hw
end Chudnovsky |
4,130 | lean_file_chunk | 6e003fbda69188a94cc01a89df0e924d6ca0ed9f82da83a28a4de9cda480d311 | 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.RingTheory.IntegralClosure.IsIntegral.Defs
import LeanPool.Chudnovsky.Basic
import LeanPool.Chudnovsky.SingularModuli.Kronecker
import LeanPool.Chudnovsky.Singu... |
21,901 | lean_file_chunk | b9582f67b0659f2cfa6267d8ee083737eec7d7ee3c4916e9ca25379731c23bcf | 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.Liouville
/-!
# The zeros of ℘′ and the factorization of ℘′²
Statements from chapter 1 of Milla (arXiv:1809.00533v6, file `060_ElliptFunct.tex`):
... |
1,134 | lean_file_chunk | 2aacdbe4d19a1b737178d4db1abd21e02528042d23e8f4d8b4fd85f86a09b214 | 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 LeanPool.Chudnovsky.Chudnovsky
import LeanPool.Chudnovsky.Clausen
import LeanPool.Chudnovsky.Coefficients
import LeanPool.Chudnovsky.Co... |
1,323 | lean_file_chunk | 613b2452dee11469469f07023d2ac2d6f16a132a05e8aa03f742010cf74f045f | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
import LeanPool.CircuitComplexity.AON.Defs
/-! # AC0 — Core Definitions
This module defines the AC0 circuit complexity class.
## Main definitions
* `InAC0... |
689 | lean_file_chunk | 08de230c08c45be7caa0613fe54778cfb162736c2288964b510d6ea030262b73 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
import LeanPool.CircuitComplexity.AC0.Defs
import LeanPool.CircuitComplexity.XOR
/-! # AC0 — The AC0 Complexity Class
This module re-exports the AC0 definit... |
2,744 | lean_file_chunk | 0381f03f9533759f7469d7c8a901690fed3be778358efac4316746cd66428176 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
import LeanPool.CircuitComplexity.Basic
/-! # AND/OR/NOT Basis — Definitions
This module defines the AND/OR operations and various basis configurations
used... |
896 | lean_file_chunk | 7620207648514966d29c038ea16a01d014bdca2b5219065924a3d86571ed474c | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
import LeanPool.CircuitComplexity.AON.Defs
import LeanPool.CircuitComplexity.Internal.AON
import LeanPool.CircuitComplexity.Internal.Simulation
/-! # AND/OR/... |
9,750 | lean_file_chunk | 098deb578e9cc4fd56ff6eb38be5f4e74c21c837e188b5ecd1169d88561d2817 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
import Mathlib.Order.Lattice.Nat
/-! # Boolean Circuit Complexity
This file defines Boolean circuits parameterized by a basis of operations and
establishes ... |
3,017 | lean_file_chunk | 4aae344a97380f67f7d9a570ebd8e739af2218ae5f412c6eacc9b01c31966e9e | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
import Mathlib.Combinatorics.Digraph.Basic
import Mathlib.Data.Fintype.Prod
import Mathlib.Order.Lattice.Nat
/-! # Basic digraph definitions
General-purpose... |
1,188 | lean_file_chunk | 25b104691ffcbddccd16dc0f1fb63b3d0e57375352d7ce84a7197178d5d3ecc9 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
import Mathlib.Data.Fintype.BigOperators
import LeanPool.CircuitComplexity.Basic
/-! # Essential Inputs
This module defines the notion of essential (non-red... |
18,116 | lean_file_chunk | a8e7bddc92696c3af74d4ea6a509d297373a59f6ca8e2987fbceaaf71021aaa7 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
import LeanPool.CircuitComplexity.AON.Defs
/-! # Internal: AND/OR/NOT Completeness Proof
This internal module proves functional completeness of `Basis.unbou... |
10,335 | lean_file_chunk | b15ba21bd03668e74dfd09e35902ec9ece078f9a41c7ab33fb41086819d28816 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
import LeanPool.CircuitComplexity.AON.Defs
import LeanPool.CircuitComplexity.Internal.CircDesc
import LeanPool.CircuitComplexity.Internal.Schnorr
/-! # Inter... |
6,995 | lean_file_chunk | f0dd74db61d1d029f44a1b69ba62e1ebc9ac2ab422f9767c4743249b8d31ed75 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
import Mathlib.Data.Fintype.BigOperators
import Mathlib.Data.Nat.Log
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.NormNum
import Mathlib.Tactic.Ring
i... |
7,385 | lean_file_chunk | 9e245b7e80301cbb7af108e98746c3151882884b6920b84c66202e25b48f5a97 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
import Mathlib.Algebra.Order.BigOperators.Group.Finset
import LeanPool.CircuitComplexity.EssentialInput
import LeanPool.CircuitComplexity.AON.Defs
/-! # Inte... |
16,803 | lean_file_chunk | 8528bb33bf764cd45ec6df066dc0c22c9758013a809095b74b62ff24a3ac0e89 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
import LeanPool.CircuitComplexity.NF.Defs
import LeanPool.CircuitComplexity.AON.Defs
import Mathlib.Data.Fintype.BigOperators
/-! # Internal: Normal Form Pro... |
12,456 | lean_file_chunk | 99975d4a69f3ed421d14a7f63d2ad9e3503b554cde96b4a5c487f6f757b3ffe8 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
import LeanPool.CircuitComplexity.Nondeterminism.Defs
import LeanPool.CircuitComplexity.Internal.ShannonUpper
/-! # Internal: Nondeterministic Quantification... |
23,990 | lean_file_chunk | 6bdf825cdf30023bc0f57ad05f6276da15ae12029a90632b4ab55cece2556520 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
import Mathlib.Algebra.Order.BigOperators.Group.Finset
import Mathlib.Tactic.IntervalCases
import LeanPool.CircuitComplexity.XOR
import LeanPool.CircuitComple... |
23,986 | lean_file_chunk | 016da30c8275ce15d45aa12e8be8f85b551d9a0c2dc291651dcb40a3192814c7 | lean_source_file | lean_pool_source_file_chunks | wireValD d x w = wireValD d (Function.update x a b) w := by
by_cases hw_lt : w.val < N
· conv_lhs => rw [wireValD]
conv_rhs => rw [wireValD]
simp only [hw_lt, dite_true]
exact (Function.update_of_ne (show (⟨w.val, hw_lt⟩ : Fin N) ≠ a from
fun h => hw1 (congrArg Fin.val h)) b x).symm
· have hi : ... |
23,936 | lean_file_chunk | 0313509f20cf87797d08a4b6dcf432299b6c935ce5eabed15c627e0f6b35cb96 | lean_source_file | lean_pool_source_file_chunks | fun w' flip h => by
simp only [GateRedirect.wire.injEq] at h; obtain ⟨rfl, _⟩ := h
exact hw2_back⟩⟩
· -- Second wire forward-ref after restriction (proof 3)
obtain ⟨_, _, _, hwv1, hwv2⟩ := restrictD_false_components d g
exact ⟨.const (if isAnd then n1 && n2 else n... |
2,227 | lean_file_chunk | 367641b02fab327f7e74d47ed1bcb5d9cd6294ac3522807ea2cd83f1603ae1bd | lean_source_file | lean_pool_source_file_chunks | intro b x; rw [evalD_restrictD, heval, xorBool_insertAt, Bool.xor_assoc]
-- Restrict input 0 to false
let d_r := restrictD d ⟨0, by omega⟩ false
have hd_r_eval : ∀ x : BitString n, evalD (by omega : 0 < t + 3) d_r x =
comp.xor (xorBool n x) := by
intro x; change evalD _ (restrictD d ⟨0, by omega⟩ false)... |
23,982 | lean_file_chunk | 55e989986cbc2221449b4a55cb18ecab44763ec4cbbc3f6e97ba1866a4d7745a | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
import LeanPool.CircuitComplexity.AON.Defs
import Mathlib.Data.Nat.Log
import Mathlib.Algebra.BigOperators.Fin
import Mathlib.Tactic.Linarith
import Mathlib.T... |
23,981 | lean_file_chunk | e521783f36e62045d9e9e306560a122c708c6c1544d4b6160e86752544fef0aa | lean_source_file | lean_pool_source_file_chunks | · exact Nat.le_log_of_pow_le (by omega) (by omega)
private lemma treePos_parent (l m : Nat) (_hl : 2 ≤ l) :
treePos (treeParentIdx l m) (l - 1) = m % 2 ^ l := by
unfold treePos treeParentIdx
omega
/-! ### Column pattern encoding -/
/-- Encode a column of truth-table bits as a natural number. -/
noncomputable... |
23,963 | lean_file_chunk | a82e88d085eb4d00e2dd15d8162f35242fd5f934f50547eba4c285804670a287 | lean_source_file | lean_pool_source_file_chunks | simp only [Fin.val_last, Fin.val_castSucc, ite_true, ite_false,
show ¬((1 : Nat) = 0) from by omega]
rw [Circuit.wireValue_lt _ _ _ (show (⟨addrBits N, _⟩ : Fin _).val < N from by
change addrBits N < N; have := addr_le_N N hN; omega)]
rw [Circuit.wireValue_lt _ _ _ (show (⟨addrBits N... |
15,202 | lean_file_chunk | 4f1b7e22f3dbd85cb09c307ed0d047a2329c6689451c757fea4977d58ab81f16 | lean_source_file | lean_pool_source_file_chunks | · simp only [htb, Bool.true_and]
exact colOutput_addrLeaf N f hN x _ (hbk ▸ (show _ < 2 ^ k by omega)) _
· simp only [Bool.eq_false_iff.mpr htb, Bool.false_and]; exact colOutput_constFalse N f hN x _
| succ r' ih =>
have h_ne0' : oD k q + p * (2 ^ k - 1) + (r' + 1) ≠ 0 := by
simp_all
... |
23,965 | lean_file_chunk | 9136388c503878ef8c976a279157d3d5a9a22fc29fc52411542c946d4b84617c | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
import LeanPool.CircuitComplexity.Internal.AON
/-! # Internal: Completeness of fan-in-2 AND/OR
This module proves `CompleteBasis Basis.andOr2` using the gen... |
16,378 | lean_file_chunk | cb413d1dc199750db02cdd45091d5d9c4326efa3ebb58e4e57cabf90a6758515 | lean_source_file | lean_pool_source_file_chunks | simp only [mkChainGate, Gate.eval, Basis.andOr2, mkChainOp, mkChainInputs, mkChainNeg]
simp only [show ¬(k = 0) from by omega, show ¬(k = 1) from by omega,
show ¬(j' + 1 = 0) from by omega, ite_false, dite_false]
rw [andOr2_eval]
simp_all
/-- The chain gate built from an original gate depends only o... |
23,956 | lean_file_chunk | df75ff50a701171675740db973bdc12c65dd59338cc6e8ca5f31433113f11dae | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
import LeanPool.CircuitComplexity.Digraph.Defs
import Mathlib.Algebra.BigOperators.Group.Finset.Basic
import Mathlib.Algebra.Order.BigOperators.Group.Finset
i... |
4,012 | lean_file_chunk | be61de0769a237e9b987f63ebe98e4b983ba558a5b5f981081e1596ba63aab62 | lean_source_file | lean_pool_source_file_chunks | have hmask_y := maskOutI_split_at_pivot hj_mem_D y
rw [hx_bit_false] at hmask_x
rw [hy_bit_true] at hmask_y
simp only [Bool.false_eq_true, if_false, add_zero, if_true] at hmask_x hmask_y
have hlow_x_lt := maskOutI_sum_below_lt I hj_le x
rw [hmask_x, hmask_y, ← hup_eq]
omega
omit [DecidableEq V] in
/-- **Im... |
1,640 | lean_file_chunk | b5f8dcc315ad58416f807340d25e8bead1ca4f9eb046570931b5ad60272e729a | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
import LeanPool.CircuitComplexity.EssentialInput
import LeanPool.CircuitComplexity.Internal.LowerBound
/-! # Gate Elimination Lower Bound
For any circuit ov... |
4,495 | lean_file_chunk | 2d947509f32bb13598b2753a77888ef5a2d454383bc662775035d2039bf6a1d3 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
import LeanPool.CircuitComplexity.Basic
/-! # Normal Forms — Core Definitions
This module defines Conjunctive Normal Form (CNF) and Disjunctive Normal Form ... |
2,090 | lean_file_chunk | e2b2e4fd860495912a3fdec85476d7d4197ae12a00b45940bead5c390793b681 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
import LeanPool.CircuitComplexity.NF.Defs
import LeanPool.CircuitComplexity.Internal.NF
import LeanPool.CircuitComplexity.XOR
/-! # Normal Forms: CNF/DNF Low... |
7,076 | lean_file_chunk | eca60d197378089ee656e8e81249f97dffaf4a56966f5bd863bd8a8483c74d4c | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
import LeanPool.CircuitComplexity.Basic
import Mathlib.Data.Fin.Tuple.Basic
import Mathlib.Data.Fintype.BigOperators
/-! # Nondeterministic Quantification of... |
9,697 | lean_file_chunk | 4610c0fbe4997f946e517efa2d31a805788bb2cf27f08e5b8673500290671fa8 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
import LeanPool.CircuitComplexity.Nondeterminism.Defs
import LeanPool.CircuitComplexity.Internal.Nondeterminism
import LeanPool.CircuitComplexity.Shannon
/-!... |
2,215 | lean_file_chunk | 35b270fe532dfc508a4625d08b2f20515c4009c942995139abab640a546927eb | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
import LeanPool.CircuitComplexity.XOR
import LeanPool.CircuitComplexity.Internal.Bridge
/-! # Schnorr's Lower Bound for XOR Circuits
Any fan-in-2 AND/OR cir... |
2,840 | lean_file_chunk | eba19bfd12149caa5b14525b76accdd2da465842bd886ab28dce66c63f2c7949 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
import LeanPool.CircuitComplexity.Internal.Bridge
import LeanPool.CircuitComplexity.Internal.ShannonUpper
/-! # Shannon Bounds
For `N ≥ 6`, there exists a B... |
3,272 | lean_file_chunk | f64a48c720c17649efd70a790052a659a0a97b375d67d35ef68c98f7d3d99d91 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
import LeanPool.CircuitComplexity.Internal.Valiant
/-! # Valiant's Depth Reduction Lemma
The **length** of a directed path is the number of nodes in it. The... |
2,313 | lean_file_chunk | 0c01d97620877602b9ba7d115dafb2f5092127d87558aba49562a65c0e505fd5 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
import LeanPool.CircuitComplexity.Basic
/-! # XOR (Parity) Function
This module defines the N-input XOR function and its key properties.
## Main definition... |
1,283 | lean_file_chunk | 787f64fa8600b01662ef2836529cee95f85511b6ea6a827777f988879daf61d0 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Samuel Schlesinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Samuel Schlesinger
-/
import LeanPool.CircuitComplexity.Basic
import LeanPool.CircuitComplexity.NF
import LeanPool.CircuitComplexity.AON
import LeanPool.CircuitComplexity.XOR
impor... |
1,244 | lean_file_chunk | db9c45a7d3225f57718526cd751eff8b620bcea854fdcef797f0ab96e25e965d | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Matt Hunzinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Matt Hunzinger
-/
import LeanPool.Circuitlib.Circuit.Category.Basic
import LeanPool.Circuitlib.Circuit.Belnap.Gate
import Mathlib.CategoryTheory.Monoidal.Category
/-! # Circuits
## ... |
2,093 | lean_file_chunk | 181cf7052eb5106fb4eb6cab6a9412681439b536ea2ef0520750cf588718814f | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Matt Hunzinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Matt Hunzinger
-/
import LeanPool.Circuitlib.Circuit.Belnap.Level
import LeanPool.Circuitlib.Circuit.Wires
/-! # Belnap circuits
## References
* [N. D. Belnap, *A Useful Four-Value... |
925 | lean_file_chunk | b28d344248abee7cb1651ec4fd2d1634a01be690818da687578c5f78ee9374fb | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Matt Hunzinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Matt Hunzinger
-/
import LeanPool.Circuitlib.Circuit.Belnap.Basic
import LeanPool.Circuitlib.Circuit.Gate
/-! # Belnap gates
## References
* [N. D. Belnap, *A Useful Four-Valued Lo... |
3,040 | lean_file_chunk | 6574eba0389a8eb78e706e3937af7213e7dad65e4daac98f05e247cef33d12f2 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Matt Hunzinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Matt Hunzinger
-/
import Mathlib.Order.WithBotTop
/-! # Belnap levels
## References
* [N. D. Belnap, *A Useful Four-Valued Logic*][Belnap1977]
* [Ghica, Kaye, and Sprunger, *A Comp... |
1,007 | lean_file_chunk | 5ec4460d03e149451a1c18bfb0992a8c8f2d564615f943982a51d781298e1e11 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Matt Hunzinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Matt Hunzinger
-/
import LeanPool.Circuitlib.Circuit.Gate
import Mathlib.CategoryTheory.Category.Basic
/-! # Circuit category
## References
* [Ghica, Kaye, and Sprunger, *A Complet... |
23,955 | lean_file_chunk | aa3ad85a5756d302ce19de73e188b51cdfa945040d3c2874266844d12648402c | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Matt Hunzinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Matt Hunzinger
-/
import LeanPool.Circuitlib.Circuit.Category.Basic
import Mathlib.CategoryTheory.Monoidal.Braided.Basic
/-! # Combinational circuit category
## References
* [Ghica... |
3,837 | lean_file_chunk | 6a5a87bad3c48f89cd94bd863ed33a9f7f10e3470c1cd5aadcf27401fb9f3142 | lean_source_file | lean_pool_source_file_chunks | {X Y : CombinationalCircuitCategory V G}
{j : Fin X.obj} :
¬Y.obj + ↑j < Y.obj := by omega
lemma braiding_get
(X Y : CombinationalCircuitCategory V G)
(v : Wires V (X ⊗ Y).obj)
(i : Fin (Y ⊗ X).obj) :
((X.braiding Y).hom.val v).get i =
if h : i.val < Y.obj
then v.get ⟨X.obj + i.val,... |
23,966 | lean_file_chunk | 0fcac500cdebf6a0c59354577f37de387f2c8f120c25663d6eb1f9d146144f32 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Matt Hunzinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Matt Hunzinger
-/
import LeanPool.Circuitlib.Circuit.Category.Combinational
import Mathlib.Data.Stream.Init
/-! # Sequential circuit category
## References
* [Ghica, Kaye, and Spru... |
6,283 | lean_file_chunk | 9ca98865d2a2838f5f29494bb035dade174ffd000dc684514e7fa51b708b4b8b | lean_source_file | lean_pool_source_file_chunks | monoidal_tensorObj_obj, CategoryStruct.id, id, idVal,
Stream.map, Stream'.map, Stream'.zip, Stream'.get,
Wires.get_cast_vector, Wires.get_append_vector,
Wires.get_append_wires_vector, Wires.get_append_vector_wires,
Wires.get_take, Wires.get_take_vector, Wires.get_drop, Wires.get_drop_vector]
split_ifs... |
3,809 | lean_file_chunk | c8fb3d7de25d1a6bd01cb5242ee98da232cd0f3c735ec78d645599924b54572a | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Matt Hunzinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Matt Hunzinger
-/
import LeanPool.Circuitlib.Circuit.Category.Combinational
import LeanPool.Circuitlib.Circuit.Basic
/-! # Combinational circuits
## References
* [N. D. Belnap, *A ... |
891 | lean_file_chunk | 1f4b91bf7799a597dd4498e73ad248f5a00c2a34c16242900d93ea2a86128dcd | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Matt Hunzinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Matt Hunzinger
-/
import LeanPool.Circuitlib.Circuit.Wires
import Mathlib.Tactic.TypeStar
import Mathlib.Order.Monotone.Defs
/-! # Gates
## References
* [Ghica, Kaye, and Sprunger,... |
4,153 | lean_file_chunk | 3edc9e25d732593dabe80f0eeb9b12ea8d1cc94bc26a67b9f926fa13046698b2 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Matt Hunzinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Matt Hunzinger
-/
import Mathlib.Data.Nat.Notation
import Mathlib.Order.Defs.PartialOrder
/-! # Wires
## References
* [Ghica, Kaye, and Sprunger, *A Complete Theory of Sequential D... |
604 | lean_file_chunk | e9986d5a0704fe1045a1f72ed6658e7fb33a1c7cf8ed02c297966ded225fe427 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Matt Hunzinger. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Matt Hunzinger
-/
import LeanPool.Circuitlib.Circuit.Combinational
import LeanPool.Circuitlib.Circuit.Category.Sequential
/-!
# circuitlib: a circuit verification library for Lean 4
... |
13,028 | lean_file_chunk | d69ae86aa09efdf06410e110bcb007b79ac42a77c422ba8db78d2e090503cd16 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin
-/
import LeanPool.Clawristotle.CoulombSpatialTransport
import LeanPool.Clawristotle.CoulombFluxBound
import LeanPool.Clawristotle.CoulombPSD
import LeanPool.Clawristotle.Coul... |
9,196 | lean_file_chunk | 3f61865a284ed3320d98e8b1a873fd0c3f1b200e9646204f4eb527612cc99ca1 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin
-/
import LeanPool.Clawristotle.NewtonianPotential
import Mathlib.MeasureTheory.SpecificCodomains.Pi
/-!
# Flux Integrability and Measurability Helpers for Coulomb
Proves in... |
23,456 | lean_file_chunk | dc755a26e45bbe2404e7d240849ae647647e6d1ad62e8e940b5facf6c02953e3 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin
-/
import LeanPool.Clawristotle.CoulombFlux
/-!
# Flux Component Bounds and Flux × Log Integrability for Coulomb
Proves:
- `flux_times_log_integrable_coulomb`: The flux × lo... |
23,968 | lean_file_chunk | 7c5884a371f57d5cbac6b82d44a093f3a07f5f3f920bbb217c8c0734d5c21872 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin
-/
import LeanPool.Clawristotle.CoulombFlux
import Mathlib.Analysis.Calculus.ParametricIntegral
/-!
# Coulomb Entry Convolution: Differentiability and Bounds
Establishes tha... |
2,346 | lean_file_chunk | b41f1e7a5a6c421aeaa3cf2f7ced3a51a1aecd3f6a4eccc94f3477814ded8c38 | lean_source_file | lean_pool_source_file_chunks | h_cont_diff_df.differentiable (by decide)
have h_f_diff : Differentiable ℝ f := hf_smooth.differentiable (by decide)
exact (h_df_diff.mul (hK_diff j)).sub (h_f_diff.mul (hL_diff j))
-- The flux equals the decomposed form at each point
-- Show the two functions are equal
have h_fn_eq : (fun v => (∫ w, mulV... |
18,156 | lean_file_chunk | 3ec804214935e8c0332d4e9b0c6d7877be09ee34197bdf9aa2d34d6c1cc3b0dd | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin
-/
import LeanPool.Clawristotle.CoulombFluxConv
/-!
# Flux Derivative Decay and IBP Integrability for Coulomb
Proves the Coulomb flux derivative has Schwartz-class decay (fr... |
16,131 | lean_file_chunk | c3a713ff0463f0c6cdcacd036aa543791e50f4596b24f9da43704a8c64726849 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin
-/
import LeanPool.Clawristotle.CoulombKernel
import LeanPool.Clawristotle.VelocityDecayInstance
/-!
# Force Transport and IBP Integrability for Coulomb
Proves integrability... |
5,232 | lean_file_chunk | 73a5cfcbb1969b92b3cc356405f17406392d9b09a8b12b3d58bdb84a47600bc2 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin
-/
import LeanPool.Clawristotle.SchwartzDecayDefs
/-!
# Coulomb Kernel Definition and Schwartz Helpers
Defines `coulombKernel` (Psi(r) = r^{-3} for r > 0) and proves basic p... |
23,989 | lean_file_chunk | 74697d77e6317cc65149d3148d38bd461b0ef888b0539f4850608311a20f1504 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin
-/
import LeanPool.Clawristotle.CoulombConcreteTheorem42
/-!
# Non-vacuousness of the Coulomb Concrete Theorem
Proves that the equilibrium Maxwellian satisfies all 13 hypoth... |
1,028 | lean_file_chunk | 1a98e3f3aa8d7d9065ef5a56e750773c78c19bf313e870d1616ba353db6524f5 | lean_source_file | lean_pool_source_file_chunks | actually holds for a concrete physical configuration. -/
theorem CoulombConcreteTheorem42_roundtrip (ν T ρIon : ℝ)
(hν : 0 < ν) (hT : 0 < T) (hρ_ion : 0 < ρIon) :
∃ (f : Torus3 → (Fin 3 → ℝ) → ℝ) (E B : Torus3 → Fin 3 → ℝ),
∃ (T_eq : ℝ) (B₀ : Fin 3 → ℝ), 0 < T_eq ∧
(∀ x v, f x v = equilibriumMaxwellian ... |
20,467 | lean_file_chunk | 27f3f1a3dc7b973398c9e6a6766677c79d702e11d3e4a0d46352de5e6d34bf65 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin
-/
import LeanPool.Clawristotle.CoulombPSDHelpers
/-!
# PSD Integrability and Fubini Symmetrization for Coulomb
Inner and outer integrability of the PSD integrand, and the F... |
23,020 | lean_file_chunk | 13b9324dd69249fe8a2e38a40bb22e18e45ff14e5f065063bf6cece9b5583fc6 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin
-/
import LeanPool.Clawristotle.CoulombFlux
/-!
# PSD Helpers: Continuity and Pointwise Bounds for Coulomb
Proves the Landau quadratic form bound, continuity of the PSD inte... |
18,185 | lean_file_chunk | c0602d1411bcc43828c694739bcb6de0e5b0610a3cee3a455a154eaa27f9eb76 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin
-/
import LeanPool.Clawristotle.CoulombForceTransport
/-!
# LeanPool.Clawristotle.CoulombSpatialTransport
-/
/-\!
# Spatial Transport: Measurability, Joint Integrability, an... |
23,960 | lean_file_chunk | c701caf5fc7eab067bba8dd1dadec8d2b668126f57e5cd9b3b0f79dda72107b5 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin
-/
import Mathlib.Algebra.Order.Star.Real
import Mathlib.Analysis.Calculus.LineDeriv.IntegrationByParts
/-!
# Core Definitions for the Vlasov-Maxwell-Landau System
Defines t... |
349 | lean_file_chunk | b28dda748b36561c8c58d207df5969727fe59ad9491439399c8e4e43951cb9b2 | lean_source_file | lean_pool_source_file_chunks | instance (priority := 100) instFirstCountableTopology : FirstCountableTopology X :=
FlatTorus3.instFirstCountable
/-- Compatibility wrapper: spatial integral as Mathlib's Bochner integral.
Defined as `abbrev` so it unfolds transparently in rewrites. -/
noncomputable abbrev spatialIntegral (g : X → ℝ) : ℝ := ∫ x,... |
9,382 | lean_file_chunk | 7b27ffd5615b6a1ae8f0295a8df9a2e6400f75140c19f6aa15c7cf15fc644e2a | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin
-/
import LeanPool.Clawristotle.Defs
/-!
# Derived Lemmas for the FlatTorus3 Typeclass
Lemmas derived from the `FlatTorus3` axioms: spatial multiplication, gradient vanishin... |
20,265 | lean_file_chunk | ca57ed93444fa4be7b4d474db94380f768c158d26b67d1265bdd9f315a185879 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin
-/
import LeanPool.Clawristotle.Defs
import Mathlib.MeasureTheory.Integral.Pi
import Mathlib.Analysis.SpecialFunctions.Gaussian.GaussianIntegral
import Mathlib.Analysis.Calcul... |
8,609 | lean_file_chunk | 47cba620e70edde37f1d573e8acbbfcdf61c75d9616a4edb7b619c7490d6dbee | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin
-/
import LeanPool.Clawristotle.Defs
import Mathlib.Analysis.Calculus.ContDiff.Bounds
/-!
# Iterated Derivative Helpers
Bounds on iterated derivatives of continuous linear m... |
7,935 | lean_file_chunk | ab1304482babb006549deae6f5ba467807f376b4d759b5fbe9dd3c3d45334d3c | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin
-/
import LeanPool.Clawristotle.Defs
import LeanPool.Clawristotle.TorusDefs
import LeanPool.Clawristotle.TorusInstance
import Mathlib.Analysis.Calculus.MeanValue
import Mathli... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.