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 |
|---|---|---|---|---|---|
16,888 | lean_file_chunk | ac4715b27c0513e3485819e18a86a5585b2d44045a8de6fd7ecb5e85861cefef | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 ruplet. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: ruplet
-/
import Lean.Elab.Command
import Mathlib.ModelTheory.Semantics
import LeanPool.FormalizationOfBoundedArithmetic.Syntax
import LeanPool.FormalizationOfBoundedArithmetic.DisplayedVar... |
401 | lean_file_chunk | a40e12c879e39b9c134bbdcd07ec45c0617f7eed0e64bc12787b0a23f6149ba4 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 ruplet. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: ruplet
-/
import LeanPool.FormalizationOfBoundedArithmetic.MathlibSimps
/-!
# LeanPool.FormalizationOfBoundedArithmetic.SimpRules
-/
attribute [delta0_simps]
Sum.elim_inl
Sum.elim_inr
... |
9,400 | lean_file_chunk | f4e33c0eacbbbe177b72a0a6a93eff920ec1fbbf0663e35e0f3b2615578b4f7d | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 ruplet. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: ruplet
-/
import Mathlib.ModelTheory.Syntax
import LeanPool.FormalizationOfBoundedArithmetic.IsEnum
/-!
# LeanPool.FormalizationOfBoundedArithmetic.Syntax
-/
namespace FirstOrder
namespace... |
23,641 | lean_file_chunk | 409cc6d16e2cf1b77ec0df674b3643ee5b3e9297cc84010ac12946bdc9856c09 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 ruplet. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: ruplet
-/
-- Note: there are 3 approaches to formalize two-sorted first-order logic:
-- a) add symbols isStr(x), isNum(x) to vocabulary and encode
-- two-sorted logic as first-order logic.... |
4,899 | lean_file_chunk | 1a64f9453336be594a9ca1f8b72fc237cd44f9a15b30ec882cd17309daea3366 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 ruplet. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: ruplet
-/
-- This file proves:
-- ∀ {X Y Z : str}, (X + Y) + Z = X + (Y + Z)
-- However, the proof was done using leanstral and is very verbose
-- Please see V0.lean for the manually written ... |
2,254 | lean_file_chunk | 8ecd3cdec614c9bcdbed8b8166b71b8d8f361f2a4d7937e28321d16622cef36d | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 ruplet. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: ruplet
-/
-- This file proves:
-- ∀ {X Y : str}, X + Y = Y + X
-- However, the proof was done using leanstral and is very verbose
-- Please see V0.lean for the manually written foundations.
i... |
23,987 | lean_file_chunk | fb4fe8ca56c01f4ccd5d21b83c33696733a929c1b8c69ea20c9b83e71b45f15f | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 ruplet. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: ruplet
-/
import LeanPool.FormalizationOfBoundedArithmetic.V0
/-!
# LeanPool.FormalizationOfBoundedArithmetic.V0StrSuccAssoc
-/
-- This file proves:
-- ∀ {X Y : str}, X + succ Y = succ (X + ... |
13,774 | lean_file_chunk | b95253749ee308b8278476171b29cf353f3afc332693086ce1eadfb6a46a7f89 | lean_source_file | lean_pool_source_file_chunks | constructor
· apply carry_rec.1
assumption
· rw [not_not]
rw [@xor_iff_iff_not]
rw [ax_add] at hy_not
simp only [not_and, not_xor] at hy_not
rw [iff_false_right (carry_rec (i := y)).1] at hy_not
constructor
· intro X0
have h_not_xor :=
... |
1,638 | lean_file_chunk | 0053e6cf79d190161b7bf9d493aaf91590ea21561c68bdb6059fbc2e96e2240b | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 ruplet. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: ruplet
-/
import LeanPool.FormalizationOfBoundedArithmetic.Algebra
import LeanPool.FormalizationOfBoundedArithmetic.AxiomSchemes
import LeanPool.FormalizationOfBoundedArithmetic.BasicSingleSo... |
10,568 | lean_file_chunk | 3f8ec35877fbfd996521f8305ac941320c2091727d433a215e08ee4c182d6861 | 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, Aristotle
-/
import Mathlib.Analysis.ODE.Gronwall
/-!
# Forward Euler Method
We implement the explicit Euler method for ODEs and prove its
convergence.
## Generic infrast... |
1,254 | lean_file_chunk | c0e557088e1015f328d3c68602e13eb0410ef4083d941794f6521c9a8b21dc27 | 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, Aristotle
-/
import LeanPool.ForwardEuler.Main
/-!
# Forward Euler Method
Source: url:https://github.com/Vilin97/forward_euler
Authors: Vasily Ilin, Aristotle
Status: veri... |
13,331 | lean_file_chunk | 9df1d7872b55f97ef2d33b352668cae07ab2dde534b1bae77ff74eab6a56d2bb | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Antoine de Saint-Germain. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Antoine de Saint-Germain, Akselai, Jon Cheah, Bockman Cheung, Eaton Liu
-/
import Mathlib.Algebra.Field.Basic
import Mathlib.Data.Finite.Prod
import Mathlib.Data.Nat.Basic
i... |
23,993 | lean_file_chunk | 2a1037cada002f8e52ce3ea3da04d267f0177e46677af242778e118c89100ae3 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Antoine de Saint-Germain. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Antoine de Saint-Germain, Akselai, Jon Cheah, Bockman Cheung, Eaton Liu
-/
import LeanPool.FriezePatterns.Chapter1
import Mathlib.Data.Nat.Fib.Basic
import Mathlib.Tactic.No... |
11,693 | lean_file_chunk | 6aebf4d7f5494f28ed35ce14c38fe1870a43e302069c8981c592b5ef385aba7e | lean_source_file | lean_pool_source_file_chunks | by_cases hn₄ : n ≤ j
· have hn₅ : j = n := by omega
simp only [hn₅, Std.le_refl, ↓reduceIte, le_add_iff_nonneg_right, zero_le]
have key := f.div (n-1)
have hn₆ : n-1+2 = n+1 := by omega
simp only [hn₂, hn₆] at key
simp only [hn₅ ▸ hj.2] a... |
23,977 | lean_file_chunk | 89cc2d3761d48620761a25a2e8aa200441963779248e2461bd2a8eb9fb55e8b9 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Antoine de Saint-Germain. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Antoine de Saint-Germain, Akselai, Jon Cheah, Bockman Cheung, Eaton Liu
-/
import LeanPool.FriezePatterns.Chapter1
import LeanPool.FriezePatterns.Chapter2
import Mathlib.Dat... |
151 | lean_file_chunk | 469b2d861be4a1e0c490734afa0ed53efb1f7f50ca5a0f407c791a7f2919cf5d | lean_source_file | lean_pool_source_file_chunks | have h : f (i,m) ≤ g b := by
calc f (i,m) ≤ Nat.fib n := main1 n hn f hf (i,m)
_ = g b := by rw [hb]
intro h'
linarith
· exact hb |
729 | lean_file_chunk | b0c53c0a44d5b51c95935a823f7234d82ed0b600ff05e3876a08684aa8535660 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Antoine de Saint-Germain. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Antoine de Saint-Germain, Akselai, Jon Cheah, Bockman Cheung, Eaton Liu
-/
import LeanPool.FriezePatterns.Chapter1
import LeanPool.FriezePatterns.Chapter2
import LeanPool.Fr... |
2,547 | lean_file_chunk | b927155c0f97d9539aeedd1b5de0ab26c329d3fe5dbab6d376ecfea37257c438 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Dean Cureton. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Dean Cureton
-/
import Mathlib.Data.Finset.Basic
import Mathlib.Data.Finset.Card
import Mathlib.Data.Finset.Union
import Mathlib.Data.Nat.Basic
import Mathlib.Order.Lattice.Nat
/-!
# B... |
23,972 | lean_file_chunk | 82b09773f20116d70c304dd331e75b9058b100028bb1c61bb81fbe2ce356f645 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Dean Cureton. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Dean Cureton
-/
import Batteries.Tactic.OpenPrivate
import Mathlib.Algebra.GCDMonoid.Finset
import Mathlib.Algebra.Order.Group.Multiset
import Mathlib.Analysis.Convex.Jensen
import Math... |
23,974 | lean_file_chunk | 8d2ba1f91fcf1e0628afe1bd8d849dc48d267a1dedf00a69cccbed9ffc60b71b | lean_source_file | lean_pool_source_file_chunks | -- Reindex: (Icc 2 (z+1)).sum (fun j => f(j-1)) = (range z).sum (fun i => f(i+1))
-- Use Finset.sum_map with embedding (· + 2)
have h_map : Finset.Icc 2 (z + 1) =
(Finset.range z).map shiftTwoEmbedding := by
ext j
simp only [Finset.mem_map, Finset.mem_range, Finset.mem_Icc, shiftTw... |
23,995 | lean_file_chunk | 226ba1fe2cb35a09fbd1cc3357e0d114cc88831151666c1ad3d39bd6086d8044 | lean_source_file | lean_pool_source_file_chunks | let N : ℕ := t * M t
let B : ℝ := (((lubellFrame t).card : ℕ) : ℝ)
let C : ℝ := fixedTCoeff t * (N : ℝ) * Real.logb 2 (N : ℝ) + B + 1
have hcoeff_nonneg : 0 ≤ fixedTCoeff t := fixedTCoeff_nonneg t ht
have hN_two : 2 ≤ N := by
have hM_one : 1 ≤ M t := Nat.succ_le_of_lt (M_pos t ht)
exact le_mul_of_le_of_... |
18,968 | lean_file_chunk | 3c256213d88a926619ae50df01f4745a93a37ae4e262aadfb04bd23de69c9abb | lean_source_file | lean_pool_source_file_chunks | have hrm : r ≤ m := (mem_Icc.mp hr).2
have hrden_nat : 0 < Nat.choose (m - 1) (r - 1) := Nat.choose_pos (by omega : r - 1 ≤ m - 1)
have hrden : (Nat.choose (m - 1) (r - 1) : ℚ) ≠ 0 := by exact_mod_cast hrden_nat.ne'
have hcross := choose_cross_identity m k r hk hkm hr1 hrm
field_simp [hden, hrden]
r... |
23,954 | lean_file_chunk | 48383e04277a29b26635ca3c35df9451701c76c52c058cedac69335619e8a4cf | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Dean Cureton. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Dean Cureton
-/
import Mathlib.Algebra.BigOperators.Group.Finset.Basic
import Mathlib.Algebra.Order.BigOperators.Group.Finset
import Mathlib.Data.Fin.Basic
import Mathlib.Data.Finset.Ba... |
8,400 | lean_file_chunk | 0143b262b87d00a6730c4326493aeb7ffd356a87c2fef907f21768443f8812dd | lean_source_file | lean_pool_source_file_chunks | Disjoint (oldUniqueVertexUnion F blocks P) (newUniqueVertexUnion F P) := by
refine Finset.disjoint_left.mpr ?_
intro x hx hy
cases x with
| old i v =>
rcases Finset.mem_image.mp hy with ⟨s, hs, hEq⟩
cases hEq
| new s =>
rcases Finset.mem_biUnion.mp hx with ⟨i, -, hEi⟩
... |
14,781 | lean_file_chunk | efe79f1c7e21ab6892ebe5771f66eab69e72c5e8aec5503fcb9c345f2a193c47 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Dean Cureton. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Dean Cureton
-/
import LeanPool.FrontierMathOpenHypergraphs.Uniform.FrameDefs
/-!
# Booster-frame validations
-/
namespace HypergraphLowerBound
private theorem booster_0_valid :
... |
23,978 | lean_file_chunk | 9330fe76b37a72cadd8f6d5ac779492326514f8e756c0463686d80bb4b6711d4 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Dean Cureton. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Dean Cureton
-/
import Mathlib.Algebra.BigOperators.Fin
import Mathlib.Data.Fin.VecNotation
import Mathlib.Data.Fintype.Fin
import Mathlib.Data.Nat.Basic
import Mathlib.Data.Nat.Bitwise... |
23,994 | lean_file_chunk | 2632bf8b2bdc1748771aa37f51e6b48a11a7e8c97e55adcb737676c4c9d53acc | lean_source_file | lean_pool_source_file_chunks | | 1 => A m + A m + A m + A (m + 1) + eBonus 1 m
| 2 => A m + A m + A (m + 1) + A (m + 1) + eBonus 2 m
| _ => A m + A (m + 1) + A (m + 1) + A (m + 1) + eBonus 3 m
termination_by n
decreasing_by all_goals omega
local macro "eval_A_small" : tactic =>
`(tactic| (
first
| rw [Fin.sum_univ_two]
| rw [F... |
1,425 | lean_file_chunk | 4a8fc916aedb96d5f3cc0eaab0c848276a34ef5e8b0445e1ca0bb046f7e13b63 | lean_source_file | lean_pool_source_file_chunks | theorem FrameSpec.rawCheckValid_sound (spec : FrameSpec)
(h : spec.rawCheckValid = true) : spec.IsValid := by
intro T I hIT
have hzero : ∀ i < spec.t, (0 : Nat).testBit i = false ∧ (0 : Nat).testBit i = false := by
simp_all
have hTrep : ∀ i : Fin spec.t, spec.t ≤ i.1 → (0 : Nat).testBit i.1 = decide (i ∈ ... |
4,771 | lean_file_chunk | 163bb58cf1db7233831f2415778e54553fdbb3123d0fb34d64b50846a8357489 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Dean Cureton. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Dean Cureton
-/
import LeanPool.FrontierMathOpenHypergraphs.Uniform.FrameDefs
/-!
# Exact small-frame validations
-/
namespace HypergraphLowerBound
private theorem exactSmallFrame_0_... |
2,806 | lean_file_chunk | f14d0b921a7798befbbfcbb4e796550fa0f5b0ea5e2a969497c66c5df9d426fb | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Dean Cureton. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Dean Cureton
-/
import LeanPool.FrontierMathOpenHypergraphs.Uniform.FrameDefs
/-!
# Residue-gadget validations
-/
namespace HypergraphLowerBound
private theorem residueGadget_0_valid... |
799 | lean_file_chunk | 65e36fa852e218815a866c407ea1c1363bf8ae0b7c5a1b13eb6656801c3bf845 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Dean Cureton. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Dean Cureton
-/
import LeanPool.FrontierMathOpenHypergraphs.Uniform.FrameExact
import LeanPool.FrontierMathOpenHypergraphs.Uniform.FrameBoosters
import LeanPool.FrontierMathOpenHypergra... |
23,998 | lean_file_chunk | 5ac9a46e39bf4dcc49a5fa926666d61e3f31dc07d8175e84d096d8a286c6e6aa | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Dean Cureton. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Dean Cureton
-/
import LeanPool.FrontierMathOpenHypergraphs.Uniform.Frames
/-!
# The uniform 26/25 factor and the finite bootstrap
-/
namespace HypergraphLowerBound
local macro "eval... |
23,988 | lean_file_chunk | 70279faef033dc725b3aed5ec845284d4e0dc16074f108ff062bb4dbdefb9481 | lean_source_file | lean_pool_source_file_chunks | rw [← hq2]
omega
simp_all
private lemma eBonus2_mod0 (m q : ℕ) (hq : q = m / 3) (hs : m % 3 = 0) :
eBonus 2 m = q * 13 + 1 := by
have hq0 : q * 3 = m := by
simpa [hs] using q_mul_three_add_mod m q hq
simp only [eBonus]
have hnum : 13 * m + 5 = 2 + 3 * (q * 13 + 1) := by
rw [← hq0]
omega
r... |
23,994 | lean_file_chunk | f03633196f805eb4a8fb250cb3f554e9b58257f426ba63b1043c504b373f888b | lean_source_file | lean_pool_source_file_chunks | have hValid := finite_bank_valid.1 spec (List.get_mem _ _)
have hFrame := spec.isValid_iff_isFrame.mp hValid
have h := apply_frameData spec.supports spec.cap
(fun _ : Fin spec.t => (8 : ℕ)) spec.bonus
spec.supports_card hFrame
(fun i => by
have : spec.t = 5 := by decide
fin_cas... |
23,986 | lean_file_chunk | 8e7ecd106f4e4e6645e3ce25360a04df24bdbda9ad6603d418be6173ca694d18 | lean_source_file | lean_pool_source_file_chunks | (fun i : Fin 4 =>
q * core4Spec.cap i + (residueGadgets.get ⟨0, by decide⟩).cap i) =
![m, m, m, m] := by
funext i
fin_cases i <;> change q * 3 + 0 = m <;> simp [hqm]
have h := apply_frameData
((replicateList sc q ++ sr : List _) : Multiset _)
(fun i : Fin 4 =>
q *... |
4,282 | lean_file_chunk | c0b1e67e66a510aba9a856465eb885113f97f3a905abf78f5c59ffe8e9fef15c | lean_source_file | lean_pool_source_file_chunks | exact ⟨w.edges, w.edgeCard, w.vertexCard, w.noLargePartition⟩
/-- A_witness for n ≥ 60: the recursive four-way construction. -/
private theorem A_witness_recursive (n : ℕ) (hn : 60 ≤ n)
(_ih : ∀ m, m < n → 1 ≤ m → ∃ (edges : Finset (Finset ℕ)),
edges.card = m ∧ (vertexSet edges).card = A m ∧ NoLargePartition... |
674 | lean_file_chunk | 465ded41825bf0cb7ba00f125203b4c6e3a4c6b05b243983a5f2be76302cf8a7 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Dean Cureton. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Dean Cureton
-/
import LeanPool.FrontierMathOpenHypergraphs.Basic
import LeanPool.FrontierMathOpenHypergraphs.Substitution
import LeanPool.FrontierMathOpenHypergraphs.Uniform
import Lea... |
23,996 | lean_file_chunk | 8f1b155bf2ca35caba479cb9d37303b55b5d78be7e48c7515c137658a8b14d66 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Alessandro Linzi. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Alessandro Linzi
-/
import Mathlib.RingTheory.Valuation.Basic
import Mathlib.RingTheory.Valuation.ValuationRing
import Mathlib.RingTheory.Valuation.Extension
import Mathlib.RingTheo... |
4,068 | lean_file_chunk | 7f393ee27be74bb5dfb9e202e36e76200489176a7b431c4e31fe5c94fbbef16d | lean_source_file | lean_pool_source_file_chunks | exact hc_alg_nz (vL.zero_iff.mp h)
have h_vd : vL (algebraMap K L d) ≠ 0 := by
intro h
exact hd_alg_nz (vL.zero_iff.mp h)
have h_c_unit : IsUnit (vL (algebraMap K L c)) := IsUnit.mk0 _ h_vc
have h_d_unit : IsUnit (vL (algebraMap K L d)) := IsUnit.mk0 _ h_vd
have h_eq_unit : h_c_unit.unit * (... |
5,788 | lean_file_chunk | 4cb78df2e69ddf5e2bd46db7064168abb8f9324ea1aab8a88023d7d02c2b11e8 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Egor Lyfar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Egor Lyfar
-/
import LeanPool.GKPCarry.BadCarryLanguage
import Lean.Elab.Tactic.Omega
import Mathlib.Algebra.BigOperators.Fin
import Mathlib.Data.Fintype.BigOperators
import Mathlib.Data.F... |
12,099 | lean_file_chunk | 6f1f2e66c8b9f2930b397681a837d6c3f53b2a1daa6b327592cd96a72867f882 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Egor Lyfar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Egor Lyfar
-/
import LeanPool.GKPCarry.CarryArithmetic
import Lean.Elab.Tactic.Omega
import Mathlib.Tactic.IntervalCases
/-!
# The regular language of deficient ternary carries
A four-st... |
6,391 | lean_file_chunk | 60bed1d8222196d7fc25506f6670a79682739496c1087ac602c2ad645b1c8c6d | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Egor Lyfar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Egor Lyfar
-/
import LeanPool.GKPCarry.Kummer
import Lean.Elab.Tactic.Omega
import Mathlib.Tactic.IntervalCases
import Mathlib.Tactic.NormNum
import Mathlib.Tactic.Push
import Mathlib.Tact... |
7,381 | lean_file_chunk | 5644a7b644ec6839f8fea89bae57520b968c2ce37df198b97e913911d09e37f5 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Egor Lyfar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Egor Lyfar
-/
import LeanPool.GKPCarry.BinaryReduction
import LeanPool.GKPCarry.Definitions
import Lean.Elab.Tactic.Omega
import Mathlib.Data.Nat.Digits.Lemmas
import Mathlib.Tactic.Interv... |
3,605 | lean_file_chunk | a817ad024c8030d6cae16dc20e16f36b942f9862448ba73d4efb9167e988a180 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Egor Lyfar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Egor Lyfar
-/
import Lean.Elab.Tactic.Omega
import Mathlib.Data.List.Count
import Mathlib.Data.Nat.Digits.Defs
/-!
# Ternary prefixes and doubling carries
This file gives the definitions... |
10,705 | lean_file_chunk | d6c6e61c03aca66934757bc47c547ae34751839eb6a4c6518fbc902a9b996276 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Egor Lyfar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Egor Lyfar
-/
import LeanPool.GKPCarry.InfiniteSieve
import Mathlib.Data.Nat.Cast.Order.Field
/-!
# A density-one theorem for the GKP power-of-two condition
The exact modular sieve bound... |
22,536 | lean_file_chunk | 09075110ebb51a776b47ba63620af9eff34270f80ed1e29eb478bd1a881e6b79 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Egor Lyfar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Egor Lyfar
-/
import LeanPool.GKPCarry.ModularPrefix
/-!
# Kernel-checked bounded C3 certificate
The Boolean certificates cover `27 ≤ m ≤ 6560` in 64-value chunks. Their
soundness is tra... |
1,443 | lean_file_chunk | 057acfaed0237d502a4814c84b00a50c0abd6892b34ea7783e4fd66e5ca42c38 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Egor Lyfar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Egor Lyfar
-/
import LeanPool.GKPCarry.CarryArithmetic
import LeanPool.GKPCarry.FiniteRange
/-!
# Central-binomial consequence of the bounded C3 certificate
The bounded prefix computatio... |
5,954 | lean_file_chunk | 7030b7718debe733faa60b6d2dc0d4b826a648b05a825385f72f9f1112f96824 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Egor Lyfar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Egor Lyfar
-/
import LeanPool.GKPCarry.BadCarryLanguage
/-!
# A regular-language characterization of the GKP conjecture
For every `n`, the deficient-carry automaton on the canonical tern... |
9,778 | lean_file_chunk | 970c8aab798e1820338be5e9d3561db98cad7bee4e155a97f2daf7589af86a0f | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Egor Lyfar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Egor Lyfar
-/
import LeanPool.GKPCarry.InfiniteSlices
import LeanPool.GKPCarry.UnitCarryCounting
import Mathlib.Analysis.SpecificLimits.Normed
import Mathlib.Data.Fintype.Card
/-!
# An ex... |
6,471 | lean_file_chunk | 7804467f41c56e791e6ddf47a46b038d584c7ee907d97c9e8bb848a6b9bd42ab | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Egor Lyfar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Egor Lyfar
-/
import LeanPool.GKPCarry.GKPCharacterization
import LeanPool.GKPCarry.ModularPrefix
import Mathlib.Data.Finset.Card
import Mathlib.Tactic.IntervalCases
/-!
# Infinite period... |
2,028 | lean_file_chunk | 450f1815b4e78b45464f3c2ca6a8cf78ec065b218ed5dc5e437ec6e9511ef939 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Egor Lyfar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Egor Lyfar
-/
import LeanPool.GKPCarry.Statement
import Lean.Elab.Tactic.Omega
import Mathlib.NumberTheory.Padics.PadicVal.Basic
import Mathlib.Tactic.Ring
/-!
# Kummer formulas for centr... |
5,053 | lean_file_chunk | 76319a50f47d99931ffd7090fdd9d23eed352e4da93b4e6a8992f8a984b225f7 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Egor Lyfar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Egor Lyfar
-/
import LeanPool.GKPCarry.Definitions
import Mathlib.Data.Nat.Digits.Lemmas
import Mathlib.Tactic.NormNum
import Mathlib.Tactic.Positivity
import Mathlib.Tactic.Ring
/-!
# Mo... |
5,567 | lean_file_chunk | 577e7851bb1803f7fcd2ff56fd6d03f5d58c6e9a0773c2b575e0f22b5a8321ee | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Egor Lyfar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Egor Lyfar
-/
import Mathlib.Data.Fintype.EquivFin
import Mathlib.RingTheory.ZMod.UnitsCyclic
/-!
# Powers of two modulo powers of three
This file proves that `2` generates the unit grou... |
864 | lean_file_chunk | c974f1c4b63a431e6ccddd828cd0143bfa9390c907df76c2970dd7b7ddc1e012 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Egor Lyfar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Egor Lyfar
-/
import Mathlib.Data.Nat.Choose.Central
/-!
# The Graham--Knuth--Patashnik central-binomial conjecture
This file records the conjecture from Exercise 5.112 of *Concrete Math... |
11,298 | lean_file_chunk | a28c504b4597b7f624c80183a81d999cffa18356c820dc7ff59d0a7054a6844a | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Egor Lyfar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Egor Lyfar
-/
import LeanPool.GKPCarry.BadCarryCounting
import LeanPool.GKPCarry.PowerResidues
/-!
# Counting deficient-carry ternary units
Powers of two modulo a power of three range ov... |
542 | lean_file_chunk | eaaffa12990c8923370e527f627902ee2b5769ae95ce2fbdd3c78f9ef06baec1 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Egor Lyfar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Egor Lyfar
-/
import LeanPool.GKPCarry.DensityOne
import LeanPool.GKPCarry.FiniteRangeCorollary
/-!
# Density-One GKP Divisibility and Its Carry-Language Characterization
Source: url:ht... |
23,969 | lean_file_chunk | 5c569473e1b4c183c99c3a3d94cee7d31847f82ba490a9d6f1e3f38eba05b170 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin, Brian Nugent. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin, Brian Nugent
-/
import Mathlib.Algebra.Category.Grp.AB
import Mathlib.Algebra.Category.Grp.EpiMono
import Mathlib.Algebra.Category.Grp.FilteredColimits
import ... |
1,811 | lean_file_chunk | 2a47c66cf4adbe2e15856c31ba0cc3ede4ba1aa7fab6b19ff2a7b1d93406ff7c | lean_source_file | lean_pool_source_file_chunks | · have : IsIso ((TopCat.Presheaf.stalkFunctor AddCommGrpCat.{u}
((TopCat.closedIncl hZ) ⟨x, hxZ⟩)).map (adj.unit.app F).hom) := by
simpa using
(TopCat.closedIncl_unit_stalk_isIso (C := AddCommGrpCat.{u})
(hs := hZ) F ⟨x, hxZ⟩)
exact (ConcreteCategory.bijective_of_isIso
((TopCat... |
6,556 | lean_file_chunk | 9be5a32238a34744776c12c0c029d50ede4e13cf1209776dd0a6a14da87a77ec | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin, Brian Nugent. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin, Brian Nugent
-/
import LeanPool.GrothendieckVanishing.ClosedImmersion
import LeanPool.GrothendieckVanishing.CohomologyAPI
import LeanPool.GrothendieckVanishing... |
23,980 | lean_file_chunk | e388dbb48a8fcfa5d3dc511bbeeb0e4085f5cb813bd0b432bb62a19b297915df | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin, Brian Nugent. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin, Brian Nugent
-/
import Mathlib.Algebra.Homology.DerivedCategory.Ext.ExactSequences
import Mathlib.Algebra.Homology.DerivedCategory.Ext.EnoughInjectives
import ... |
14,411 | lean_file_chunk | c96328a3c47cf953ff4511875fd1809f548f53d1e8682db861b3d414a2e99da5 | lean_source_file | lean_pool_source_file_chunks | obtain ⟨s, hs⟩ := (AddCommGrpCat.epi_iff_surjective _).mp hf
(sheafH0EquivSections G y)
refine ⟨(sheafH0EquivSections F).symm s, ?_⟩
apply (sheafH0EquivSections G).injective
rw [sheafH0EquivSections_natural (f := f), AddEquiv.apply_symm_apply, hs]
/-- Internal helper for `H^1` vanishing via degree-zero surje... |
12,891 | lean_file_chunk | 98a8d58234c11f83dc6785f67053e346ab455e4f26b6a37f221ad15d2f29640f | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin, Brian Nugent. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin, Brian Nugent
-/
import LeanPool.GrothendieckVanishing.ClosedImmersionCohomology
import LeanPool.GrothendieckVanishing.TopologicalKrullDim
import LeanPool.Groth... |
12,796 | lean_file_chunk | 58800445332413e773089652454b5947c863785b41492474ec9986a87c57de33 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin, Brian Nugent. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin, Brian Nugent
-/
import LeanPool.GrothendieckVanishing.PresheafFilteredColimit
import LeanPool.GrothendieckVanishing.ClosedImmersionCohomology
import LeanPool.G... |
19,601 | lean_file_chunk | e8ac8b4eb3f01595010c53e42e3a6a31734557e331c20d7d87b6ba19c34514e0 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin, Brian Nugent. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin, Brian Nugent
-/
import Mathlib.CategoryTheory.Abelian.Injective.Resolution
import LeanPool.GrothendieckVanishing.CohomologyAPI
import LeanPool.GrothendieckVani... |
9,657 | lean_file_chunk | 28ecbd93282bb3a1a8a0627a2dece2efcfacb98ac0f51d8a42a6cff96eaf34fa | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin, Brian Nugent. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin, Brian Nugent
-/
import LeanPool.GrothendieckVanishing.ZeroOutside
/-!
# Generated subsheaves via coproduct images
Generic coproduct-image API used to express... |
6,746 | lean_file_chunk | 480513ec215950ae2b8af4cf21282de71dca296b71f992574fc210ea75c76a4c | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin, Brian Nugent. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin, Brian Nugent
-/
import LeanPool.GrothendieckVanishing.IrreducibleStep
/-!
# Grothendieck's vanishing theorem
Grothendieck's vanishing theorem (Hartshorne III... |
609 | lean_file_chunk | 5ac1d79b1c8968e40a62ea3ba951dca8d9ec1cd117fff3524afc68feb1dc29d8 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin, Brian Nugent. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin, Brian Nugent
-/
import LeanPool.GrothendieckVanishing.ClosedImmersion
import LeanPool.GrothendieckVanishing.ZeroOutside
import LeanPool.GrothendieckVanishing.G... |
23,937 | lean_file_chunk | 8f3967d1cc31d77724ba91c6d60f94850fbd315716559a0ee1dc3fdccf820fa9 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin, Brian Nugent. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin, Brian Nugent
-/
import LeanPool.GrothendieckVanishing.ClosedImmersionCohomology
import LeanPool.GrothendieckVanishing.ConstantSheafFlasque
import LeanPool.Grot... |
8,205 | lean_file_chunk | 92dfcb759d2794d06c414c3af5250a9e12a6507f0fac31d6e8cd894c62c89bcc | lean_source_file | lean_pool_source_file_chunks | have hVcompl_lt_top : topologicalKrullDim (Set.compl (V : Set X)) < ⊤ :=
topologicalKrullDim_lt_top_of_lt_nat hVcompl_lt_succ
have hVcompl_lt_X : topologicalKrullDim (Set.compl (V : Set X)) < topologicalKrullDim X :=
topologicalKrullDim_lt_of_isIrreducible_of_isClosed
V.2.isClosed_compl
(Set.compl... |
23,992 | lean_file_chunk | 53b5c3525fc69e672078af83763e6ce51d627ab6287a724521f115e11bde135f | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin, Brian Nugent. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin, Brian Nugent
-/
import LeanPool.GrothendieckVanishing.PresheafFilteredColimitCore
/-!
# Degree-one and higher filtered-colimit comparisons
The degree-`1` and... |
12,556 | lean_file_chunk | f0f3400e96c1fc7345a404016cfd4e03cd26da7be3b2fb4e9fb94487c29d0487 | lean_source_file | lean_pool_source_file_chunks | (PreservesCokernel.iso (colim (C := AddCommGrpCat.{u})) α).hom ≫
mapIso.hom =
colimit.ι (sheafHFilteredColimitSuccQuotient Ysh ⋙ sectionsFunctor) j ≫
colim.map (cokernel.π α) ≫
(PreservesCokernel.iso (colim (C := AddCommGrpCat.{u})) α).hom ≫
mapIso.hom :... |
23,954 | lean_file_chunk | 5ae03b5bd535c4f5bfc4f5033c32fb3cb3f791c4fbd77672f95b70ff59282a6c | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin, Brian Nugent. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin, Brian Nugent
-/
import Mathlib.Topology.NoetherianSpace
import LeanPool.GrothendieckVanishing.PresheafFilteredColimitGeneral
import LeanPool.GrothendieckVanish... |
4,768 | lean_file_chunk | f6dd68950d4f99b2d2602f6074bb56f5c56e7e47ace1910452c6d4a5ad10ddbe | lean_source_file | lean_pool_source_file_chunks | let : Injective (Inj.obj j) := hInj j
exact fun {_ _} i ↦ (isFlasque_of_injective (Inj.obj j)) i)
(c := injCocone)
(hc := colimit.isColimit Inj)) i
simpa [injCocone] using
(sheafH_subsingleton_of_flasque X injCocone.pt hFlasque n)
end SheafHFilteredColimitSucc
/-- The canonical compari... |
20,771 | lean_file_chunk | 44d495b05c951f3a5859e15470fe4c7e963524aa2abc8c84a2ae6335758ffdf4 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin, Brian Nugent. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin, Brian Nugent
-/
import LeanPool.GrothendieckVanishing.CohomologyAPI
/-!
# General filtered-colimit infrastructure for presheaves
Presheaf-level filtered-coli... |
13,695 | lean_file_chunk | d0543d500901766eaeafa31368baf9279dc6ad635b874217810b6c4fd1a1a784 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin, Brian Nugent. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin, Brian Nugent
-/
import Mathlib.Topology.KrullDimension
import Mathlib.Topology.Category.TopCat.Basic
import Mathlib.Topology.Sets.Opens
import Mathlib.Tactic.C... |
23,725 | lean_file_chunk | c6071816e8025353b3b903cee6cecf0f62a19d35027d98f4e14430ebd2d9898f | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin, Brian Nugent. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin, Brian Nugent
-/
import LeanPool.GrothendieckVanishing.CohomologyAPI
/-!
# Extension-by-zero presheaf and sheaf machinery
The "extension by zero" of a preshea... |
561 | lean_file_chunk | 04ece578ada875f89ffc6f05aab5ea042377e3e83ddb62476f6d9074b0eaa1dd | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Vasily Ilin, Brian Nugent. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin, Brian Nugent
-/
import LeanPool.GrothendieckVanishing.GrothendieckVanishingOverview
/-!
# Grothendieck's Vanishing Theorem
Source: doi:10.1007/978-1-4757-384... |
23,954 | lean_file_chunk | fdfb39ced52eb11b2fee36fae09d69213f60d926ed6db8c2cda80d65b6b40a24 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Makoto Yamashita. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Makoto Yamashita
-/
import LeanPool.HSDInteriorPointLP.LocalNeighborhoodEstimates
/-!
# Fixed YTM convergence ingredients
This file is the fixed part obtained after merging the ol... |
23,954 | lean_file_chunk | f18744dedf0d5a52a26d6ad9801db66523afe28b5f49bfed67b0d1fcfeabec51 | lean_source_file | lean_pool_source_file_chunks | _ = 2 * a ^ 2 * ((∑ i : Fin n, (r i) ^ 2) + ρ ^ 2) +
2 * b ^ 2 * ((∑ i : Fin n, (q i) ^ 2) + η ^ 2) := by
calc
(∑ i : Fin n, (2 * (a * r i) ^ 2 + 2 * (b * q i) ^ 2)) +
(2 * (a * ρ) ^ 2 + 2 * (b * η) ^ 2)
= ((∑ i : Fin n, 2 * a ^ 2 * (r i) ^ 2) +
... |
7,668 | lean_file_chunk | 3544ee330a9ec83a180cabff4b241917dc50f342b214fc529173ce1c74e9b15e | lean_source_file | lean_pool_source_file_chunks | (w : HSState n) (hw : Interior w) (γ : ℝ) :
HSDStepDirection w (HSDNewtonDirection P std w hw γ) γ := by
unfold HSDNewtonDirection
exact chosen_step_direction w γ _
/-- Fixed predictor step size used in the YTM estimate. -/
def ytmPredictorAlpha (n : Nat) : ℝ :=
ytmStepConstant / Real.sqrt (hdim n)
/-- Pre... |
14,235 | lean_file_chunk | a3cfe8c837e360cd51fbf0cbd6620a50ef4a22a9bb834f82b6f198e7a46e1346 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Makoto Yamashita. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Makoto Yamashita
-/
import LeanPool.HSDInteriorPointLP.FixedYTMTheory
/-!
# Generated predictor-corrector algorithm and final convergence theorem
This is the main file to edit whe... |
23,995 | lean_file_chunk | 4feebeaa6209631fb7553b16aadab68635942eccf89fa3d161339e4d730beff2 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Makoto Yamashita. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Makoto Yamashita
-/
import LeanPool.HSDInteriorPointLP.NewtonSystem
/-!
# Fixed local neighborhood estimates
This file contains the local predictor/corrector estimates that are co... |
23,964 | lean_file_chunk | 15055885497426dd637b8056f9086ff2a1f6155179cf3137f425b4cb5417dacd | lean_source_file | lean_pool_source_file_chunks | (hmul : 0 < a * b)
(hsum : 0 < wb * a + wa * b) :
0 < a ∧ 0 < b := by
rcases (mul_pos_iff.mp hmul) with hpos | hneg
· exact hpos
· rcases hneg with ⟨ha, hb⟩
have hterm1 : wb * a < 0 := mul_neg_of_pos_of_neg hwb ha
have hterm2 : wa * b < 0 := mul_neg_of_pos_of_neg hwa hb
have hsum_neg : wb * a ... |
9,522 | lean_file_chunk | 221c038a7a66e0aa6314b66e468f41a8823d7676f4d58ef0f03b4b678db76791 | lean_source_file | lean_pool_source_file_chunks | 0 < (addStep w d (ytmStepConstant / Real.sqrt (hdim n))).tau *
(addStep w d (ytmStepConstant / Real.sqrt (hdim n))).kappa) :
-((1 - ytmStepConstant / Real.sqrt (hdim n)) *
(w.tau * w.kappa)) <
(ytmStepConstant / Real.sqrt (hdim n)) ^ 2 *
(d.dtau * d.dkappa) := by
rw [predicto... |
23,978 | lean_file_chunk | 01f0d874b7adadf59867a3b53800821076b0ec3cb45676ece26d283776c5dc38 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Makoto Yamashita. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Makoto Yamashita
-/
import LeanPool.HSDInteriorPointLP.PrimalDualData
/-!
# Newton-system layer
This file connects the HSDE/HLP equations with the Newton direction used in the
int... |
23,980 | lean_file_chunk | a50d473b0c81a7dbf8dc0923cd1212b7d8b5d03e12ff51fa73b88dcbe1425b11 | lean_source_file | lean_pool_source_file_chunks | rw [hcross_reduced]
ring
/-- A finite-dimensional positivity lemma for the reduced complementarity form.
If all diagonal Schur weights are strictly positive and `eta > 0`, then the identity
`∑ᵢ thetaᵢ rᵢ² + eta t² = 0` forces every residual component `rᵢ` and the scalar
`t` to vanish. This is the positiv... |
1,843 | lean_file_chunk | cb5342cc0e6030b7b127e6378f45c28c61c25c436599b374a80ac097b8e55598 | lean_source_file | lean_pool_source_file_chunks | alpha_le_one : α ≤ 1
interior_next : Interior (addStep w d α)
neighborhood_next : HSDNeighborhood βwide (addStep w d α)
gap_decrease : gap (addStep w d α) ≤ (1 - c / Real.sqrt (hdim n)) * gap w
/-- Corrector step guarantee from the Mizuno--Todd--Ye local analysis. -/
structure CorrectorStepGuarantee {n : Nat}
... |
17,710 | lean_file_chunk | 4ac2ea88bfee69206c0917062d3b1b858d9197ed582a135306731882e5e49777 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Makoto Yamashita. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Makoto Yamashita
-/
import Lean.Elab.Tactic.Omega
import Mathlib.Algebra.BigOperators.Field
import Mathlib.Algebra.BigOperators.Fin
import Mathlib.Analysis.SpecialFunctions.Log.Basi... |
747 | lean_file_chunk | 9b47079baf7115f365415d84c5121bb462b31508410dd1bcbcf403f819e30d02 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Makoto Yamashita. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Makoto Yamashita
-/
import LeanPool.HSDInteriorPointLP.GeneratedConvergence
/-!
# Homogeneous self-dual interior-point method for linear programming
Source: doi:10.1287/moor.19.1.... |
5,484 | lean_file_chunk | d28f520bbfb4468158e3ee6e1eb47b10db1c4b4dbb922708fc74c3138f73f0ba | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Egor Lyfar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Egor Lyfar
-/
import Mathlib.Analysis.InnerProductSpace.PiL2
import Mathlib.Combinatorics.SimpleGraph.Basic
import Mathlib.Data.ZMod.Basic
/-!
# Plane unit-distance graph and triangular ... |
8,883 | lean_file_chunk | 0ee3333613feb72e0bedf30029992ef8f374c5dcd5b24b181a879732b4b40233 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Egor Lyfar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Egor Lyfar
-/
import LeanPool.HadwigerNelsonBounds.LatticeSeparation
import Mathlib.Combinatorics.SimpleGraph.Coloring.Vertex
/-!
# Isbell's seven-coloring
This module proves the numeri... |
7,600 | lean_file_chunk | 8bd2033158521cc55dcccfec8d636c8f2edba37454c11e02a1bf64d23bac213d | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Egor Lyfar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Egor Lyfar
-/
import LeanPool.HadwigerNelsonBounds.Voronoi
/-!
# Separation of equally colored lattice points
This module proves the modular quadratic-form estimate that separates disti... |
3,051 | lean_file_chunk | f887f9d99165af4af139fef77f734734dcec0bb96a4053962cc99be10248cea4 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Egor Lyfar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Egor Lyfar
-/
import LeanPool.HadwigerNelsonBounds.PartsRootDecision
import Mathlib.Combinatorics.SimpleGraph.Coloring.Vertex
/-!
# The canonical non-monochromatic sqrt-three triangle
T... |
9,067 | lean_file_chunk | f4de1d593e21035e292f60a5ab4f658c21a0c21caa0f4a1c89d648b728e4f403 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Egor Lyfar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Egor Lyfar
-/
import LeanPool.HadwigerNelsonBounds.PartsCoordinates
/-!
# A sound checker for Parts coloring trees
Unary stretches of a coloring tree are stored as forced-color stems. A... |
1,927 | lean_file_chunk | 0a29c6dd49737d716c724b89f66ad9632795e0c7ed3a9a4b753cb6a424dc0b49 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Egor Lyfar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Egor Lyfar
-/
import LeanPool.HadwigerNelsonBounds.PartsCertificateData0
import LeanPool.HadwigerNelsonBounds.PartsCertificateData1
import LeanPool.HadwigerNelsonBounds.PartsCertificateDa... |
23,967 | lean_file_chunk | 7cbf7c09fe7b8d69901a104c525b7c4796de80c83a251699a0a3e65eabe19dba | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Egor Lyfar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Egor Lyfar
-/
import LeanPool.HadwigerNelsonBounds.PartsCertificateData
import LeanPool.HadwigerNelsonBounds.PartsPermutations
/-!
# The Parts obstruction to a monochromatic sqrt-three t... |
313 | lean_file_chunk | 5800c1054cc8acfc9e7262b810b49fc98b01d1d8dd373a899dfe3adc6902415e | lean_source_file | lean_pool_source_file_chunks | · exact partsCertificateVariants31_verify symmetry swap
· exact partsCertificateVariants32_verify symmetry swap
· exact partsCertificateVariants33_verify symmetry swap
· exact partsCertificateVariants34_verify symmetry swap
· exact partsCertificateVariants35_verify symmetry swap
end HadwigerNelsonBounds |
5,552 | lean_file_chunk | fd15eaed529bfbc4634ee62651512a9087aa597de25311b000ce4922c6496f50 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Egor Lyfar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Egor Lyfar
-/
import LeanPool.HadwigerNelsonBounds.PartsGadgetCertificate
/-!
# Routing between independently checked gadget certificates
Large coloring trees are split into small, defa... |
12,421 | lean_file_chunk | 1ee7cea2e88862e2283570caeb169ccd062e5b7f103e8287caa669cfa84de7ad | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Egor Lyfar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Egor Lyfar
-/
import LeanPool.HadwigerNelsonBounds.PartsGadgetData
/-!
# A sound checker for the second-stage Parts gadget
The finite constraint system has unit-edge inequalities and no... |
3,396 | lean_file_chunk | 3b51a3045f315c9f415b97f5fc909810a10e899469e0041e0e94c4f7c9c0a359 | lean_source_file | lean_pool_source_file_chunks | /-
Copyright (c) 2026 Egor Lyfar. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Egor Lyfar
-/
import LeanPool.HadwigerNelsonBounds.PartsGadgetEdgeVerification0
import LeanPool.HadwigerNelsonBounds.PartsGadgetEdgeVerification1
import LeanPool.HadwigerNelsonBounds.Part... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.