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
55
lean_file_chunk
63d610f12be88867d289d792cfb72de98d01ae179300afafa9b100eea9d86a28
lean_source_file
pkg_batteries_source_file_chunks
module public import Batteries.Data.Nat.Bitwise.Lemmas
399
lean_file_chunk
95c225b449d28ffe2df10d1b95c511cf6cbc6ebe8f4be71841a8ba42f652b726
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura, Mario Carneiro -/ module public import Batteries.Tactic.Alias @[expose] public section /-! # Definitions and properties of `coprime` -/ namespace N...
10,263
lean_file_chunk
ec5b22667b0cd53c462d58323531530e07c26141a9da1f8dd24c74aca7949574
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad, Mario Carneiro -/ module public import Batteries.Tactic.Alias public import Batteries.Data.Nat.Basic @[expose] public section /-! # Basic le...
3,488
lean_file_chunk
f48492858b19b45082d3085218b60d6d8b0678d76af19ab38affa7b07b6ce61b
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad, Mario Carneiro -/ module @[expose] public section namespace Nat /-- Recursor identical to `Nat.recOn` but uses notations `0` for `Nat.zero...
4,602
lean_file_chunk
1b88502fc083ef15f555f5d971c30aeeec1b8228e4f7f8979b87e86441ed780f
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2024 François G. Dorais. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: François G. Dorais -/ module public import Batteries.Tactic.Basic @[expose] public section namespace Nat /-- Average of two natural numbers rounded toward zero. -/ abbrev avg (...
863
lean_file_chunk
83bd5f7eb97467395db516891ed9b604afa9307f1f976c3f82e5553689fa128f
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2022 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ module public import Batteries.Lean.Float @[expose] public section /-! # Rational Numbers and Float -/ namespace Rat /-- Convert this rational number to a `Float...
6,696
lean_file_chunk
8f016b44af7c125b74f66e53473bf7cbfa31c31e21e8f8ba452eaf47112eb2f3
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2021 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, François G. Dorais -/ module public section namespace Batteries /-- A max-heap data structure. -/ structure BinaryHeap (α) (lt : α → α → Bool) where /-- `O(1)`. Ge...
9,920
lean_file_chunk
69ed174029644b7fdda84f6c437d519e758da697023f2ae59404cbd1b9b5a6a3
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Mario Carneiro -/ module public import Batteries.Lean.HashMap public import Batteries.Tactic.Alias @[expose] public section namespace Std.HashMap variable...
3,944
lean_file_chunk
280ac045090ff47cae46d90edc1b7b704dad0572817a0602f8709e5e9dfc45cd
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2014 Parikshit Khanna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Mario Carneiro -/ module public import Batteries.Data.List.Lemmas @[expose] public section /-! # Counting in l...
23,973
lean_file_chunk
d4f37d6130e9ba62e31c81d7658123b348c27a4548aafb8c779d5afb7354e60f
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2014 Parikshit Khanna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Mario Carneiro -/ module public import Batteries.Control.ForInStep.Lemmas public import Batteries.Data.List.Bas...
23,977
lean_file_chunk
8b202ae1dacd6cf27350a6ea97c70d2bddec3e056aedcccd05545120cbc889b7
lean_source_file
pkg_batteries_source_file_chunks
theorem findIdxNth_cons_of_neg {a : α} (h : p a = false) : (a :: xs).findIdxNth p n = xs.findIdxNth p n + 1 := by grind theorem findIdxNth_cons_of_pos {a : α} (h : p a) : (a :: xs).findIdxNth p n = if n = 0 then 0 else xs.findIdxNth p (n - 1) + 1 := by grind theorem findIdxNth_cons_zero_of_pos {a : α} (h ...
5,212
lean_file_chunk
b02db1796faa90ed4b7c7270bddea3501acf380a1d500cd1c5fb6be5dcb3ad28
lean_source_file
pkg_batteries_source_file_chunks
split <;> simp [*, isSome_isPrefixOf?_eq_isPrefixOf] @[simp] theorem isPrefixOf?_eq_some_iff_append_eq [BEq α] [LawfulBEq α] {xs ys zs : List α} : xs.isPrefixOf? ys = some zs ↔ xs ++ zs = ys := by induction xs generalizing ys with | nil => simp [isPrefixOf?, Eq.comm] | cons => cases ys <;> simp [isPrefixOf?,...
4,405
lean_file_chunk
88fcb0488f9b3437fa5ae3f91af2e7c1e5b324ad9d7b3c34863d7c02366c3393
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, James Gallicchio -/ module public import Batteries.Data.List.Basic @[expose] public section /-! # Pairwise relations on a list This file provides basic results abou...
1,495
lean_file_chunk
4759463cd340706d94a03b996dc3c5d88971f298f5d055ed27a39060707eb3ff
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2024 Michael Rothgang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Michael Rothgang -/ module @[expose] public section universe u v w variable {α : Type u} {β : Type v} namespace List /-- This function is provided as a more efficient runtime alt...
8,848
lean_file_chunk
61b0be36fe9e3b47fa28b18b20d3337970b1557c511c263b85efe3bbe4be7cc2
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2014 Parikshit Khanna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Mario Carneiro -/ module public import Batteries.Data.List.Basic public import Batteries.Data.List.Lemmas impor...
1,382
lean_file_chunk
68f4d4352fd73958f448f1699c09fc333e10452db0cea3ab813983981e7d2859
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2024 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kim Morrison -/ module public import Batteries.Classes.SatisfiesM @[expose] public section /-! # Results about monadic operations on `List`, in terms of `SatisfiesM`. -/ namespace ...
16,497
lean_file_chunk
3f452512d383dda98f73f544d8dc8d4725823e60706c111901fa9eda7e63bf6b
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad, Mario Carneiro -/ module public import Batteries.Tactic.Alias public import Batteries.Data.List.Count import Batteries.Util.ProofWanted @[exp...
3,043
lean_file_chunk
92eb39a9dfe37adb6c007038bf76133af1e868099802d6faa254512fe13a5a70
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2024 François G. Dorais. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: François G. Dorais -/ module public import Batteries.Data.Array.Match @[expose] public section namespace List /-- Knuth-Morris-Pratt matcher type This type is used to keep dat...
23,958
lean_file_chunk
06e3ddb28dfc1d30f07ae6eca9bf78efb7f2eb7d73561995bdd6aed161ea17b9
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ module public import Batteries.Tactic.Alias @[expose] public section namespace List /-! ## New definitions -/ /-- Computes the "bag intersection" of `l...
18,419
lean_file_chunk
782264ba3b518368136692c283e772262fee0f428e7c05784b8a646fbd90ac77
lean_source_file
pkg_batteries_source_file_chunks
abbrev eraseDup [BEq α] : List α → List α := pwFilter (· != ·) /-- `rotate l n` rotates the elements of `l` to the left by `n` ``` rotate [0, 1, 2, 3, 4, 5] 2 = [2, 3, 4, 5, 0, 1] ``` -/ @[inline] def rotate (l : List α) (n : Nat) : List α := let (l₁, l₂) := List.splitAt (n % l.length) l l₂ ++ l₁ /-- `rotate'` is...
23,997
lean_file_chunk
3fae1cc6270ab9c190729fefaa660c340be7f74b1badfd61eeacccd413d3f720
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2023 Bulhwi Cha. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bulhwi Cha, Mario Carneiro -/ module public import Batteries.Data.String.Basic public import Batteries.Tactic.Lint.Misc public import Batteries.Tactic.SeqFocus public import Batteries.Cla...
23,911
lean_file_chunk
4a51bdcf266498cc50bdf0d7423a7c9eb8fdb5d8c7508006fb0050a29861fea9
lean_source_file
pkg_batteries_source_file_chunks
funext it n; induction n generalizing it <;> simp [forward, nextn, *] theorem hasNext_cons_addChar (c : Char) (cs : List Char) (i : Pos.Raw) : hasNext ⟨String.ofList (c :: cs), i + c⟩ = hasNext ⟨String.ofList cs, i⟩ := by simp [hasNext, utf8ByteSize_ofList]; lia /-- Validity for a string iterator. -/ def Valid ...
5,943
lean_file_chunk
97c7996bf0c198031ba1038630e537e34e2f028e69790f00bb8884469e4119c6
lean_source_file
pkg_batteries_source_file_chunks
theorem get : ∀ {s}, Valid s → s.toString.toList = m₁ ++ c :: m₂ → s.get ⟨utf8Len m₁⟩ = c | _, h, e => by let ⟨l, m, r, h⟩ := h.validFor simp only [h.toString, String.toList_ofList] at e; subst e; simp [h.get] theorem next : ∀ {s}, Valid s → s.toString.toList = m₁ ++ c :: m₂ → s.next ⟨utf8Len m₁⟩ = ⟨utf8...
18,893
lean_file_chunk
e1925a2ee5e8fa8f7d73ef0519b4ad5b6027f6d0280aef848d8916ddc568acba
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura, Mario Carneiro -/ module /-! # Legacy implementations of `String` operations This file includes old definitions of `String` functions that were downstreamed ...
3,171
lean_file_chunk
652e4faeefd0e66e52d7908632c7d7d25015d1c149c60821e3adfa6efccdf296
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2025 Christopher Bailey. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Christopher Bailey, F. G. Dorais -/ module /- Failing on nightly-2025-12-18 public import Batteries.Data.Char public import Batteries.Data.Char.AsciiCasing @[expose] public sectio...
4,261
lean_file_chunk
c00e46d94853cf0f9e323aabfdb463216a7a0c94c4efc4f5c60afaf33e23fd91
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2023 F. G. Dorais. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: F. G. Dorais -/ module public import Batteries.Data.Array.Match public import Batteries.Data.String.Basic @[expose] public section namespace String /-- Knuth-Morris-Pratt matcher typ...
1,319
lean_file_chunk
ff27d703c570d8b9b78feac3f1bdc21128eaed601c03369284afb9a39d922235
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2022 Jannis Limperg. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jannis Limperg, James Gallicchio, F. G. Dorais -/ module @[expose] public section instance : Coe String Substring.Raw := ⟨String.toRawSubstring⟩ namespace String /-- Count the occu...
5,811
lean_file_chunk
fcba5989e676e32e70306307c58535a9a1de58ffdd7d062a8a05f9385b175942
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2024 François G. Dorais. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: François G. Dorais -/ module public section /-! # Mersenne Twister Generic implementation for the Mersenne Twister pseudorandom number generator. All choices of parameters from...
535
lean_file_chunk
7d5d6262444d872f8d1165c418fe22dd04fd2c1e7a22f2d38f848f358ff82917
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2022 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ module public import Batteries.Tactic.SeqFocus public import Batteries.Tactic.Alias @[expose] public section namespace Std.Legacy.Range theorem size_stop_le_start...
3,903
lean_file_chunk
a819dfc3e15e7545d34dd8817868995bda150258c6cfda96bc5b447ebdde20c8
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2024 Shreyas Srinivas. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Shreyas Srinivas, François G. Dorais, Eric Wieser -/ module @[expose] public section namespace Vector theorem toArray_injective : ∀ {v w : Vector α n}, v.toArray = w.toArray → v =...
1,455
lean_file_chunk
cb861cbe06e9b22b96168a66a84b98e9844ab8afae0afcdb056afcdd4d58389e
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2025 Lean FRO, LLC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kim Morrison -/ module public import Batteries.Classes.SatisfiesM public import Batteries.Data.Array.Monadic @[expose] public section namespace Vector theorem mapM_mk [Monad m] [Law...
508
lean_file_chunk
992b47bd3f334ebe5652f5d3b4b8f4b8b1f3dbe67e260c10b4deab68d1920fbb
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2024 Shreyas Srinivas. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Shreyas Srinivas, François G. Dorais -/ module @[expose] public section /-! # Vectors `Vector α n` is a thin wrapper around `Array α` for arrays of fixed size `n`. -/ namespace V...
3,086
lean_file_chunk
b6a5db28464f3f3c4ebb93a4642a743028014fcdd85560b1f588e98eb773de90
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2022 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ module public import Batteries.Data.RBMap.WF @[expose] public section /-! # RBNode depth bounds -/ namespace Batteries.RBNode open RBColor /-- `O(n)`. `depth t` ...
23,997
lean_file_chunk
9fc4bf14bb7e978fe3852e059da9ace4a94310a66b3b566a9df5d8510cb9fdc7
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2022 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ module public import Batteries.Tactic.Basic public import Batteries.Data.RBMap.Alter public import Batteries.Data.List.Lemmas @[expose] public section /-! # Additi...
23,993
lean_file_chunk
e013e6ad5ca48b32fe58e950ac4afb51a87f5e0a636053a1d7be3a855d1be256
lean_source_file
pkg_batteries_source_file_chunks
· cases ey.symm.trans <| ht.upperBound?_least hx hy (Std.OrientedCmp.gt_iff_lt.1 e) ex · rfl · cases upperBound?_ge hx ex theorem Ordered.memP_iff_lowerBound? [Std.TransCmp (α := α) cmp] [IsCut cmp cut] (ht : Ordered cmp t) : t.MemP cut ↔ ∃ x, t.lowerBound? cut = some x ∧ cut x = .eq := by refine memP_def.tr...
8,642
lean_file_chunk
0f94ccfd10e73cc725ac4d37a69002318917f04a82a54367ef67d7b945a32d56
lean_source_file
pkg_batteries_source_file_chunks
t.2.out.1.upperBound?_least H (mem_toList.1 h1) (Std.TransCmp.congr_left h2 ▸ xy) hx /-- A statement of the greatest-ness of the result of `lowerBoundP?`. If `x` is the return value of `lowerBoundP?` and it is strictly less than the cut, then any other `y > x` in the tree is in fact strictly greater than the cut (so t...
23,947
lean_file_chunk
cf3d73766f5547fb7f835e29bfbe4aa5f980669b6fe59a406a2bf8c25d978655
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Mario Carneiro -/ module public import Batteries.Classes.Order public import Batteries.Control.ForInStep.Basic public import Batteries.Tactic.Lint.Misc @[ex...
23,970
lean_file_chunk
a03ba85b54a020668b0e4e25d17fb5551c1943ab957e325b1958fa3c43541126
lean_source_file
pkg_batteries_source_file_chunks
inductive Balanced : RBNode α → RBColor → Nat → Prop where /-- A nil node is balanced with black-height 0, and it is considered black. -/ | protected nil : Balanced nil black 0 /-- A red node is balanced with black-height `n` if its children are both black with with black-height `n`. -/ | protected red : Bala...
358
lean_file_chunk
94c5584e1d55fd235df4a0a458e989c16a2dca0b1342e52b15142eeac3105c54
lean_source_file
pkg_batteries_source_file_chunks
`O(n₁ * (log n₁ + log n₂))`. Constructs the set of all elements of `t₁` that are not in `t₂`. -/ def sdiff (t₁ t₂ : RBMap α β cmp) : RBMap α β cmp := t₁.filter fun a _ => !t₂.contains a end RBMap end Batteries open Batteries @[inherit_doc RBMap.ofList] abbrev List.toRBMap (l : List (α × β)) (cmp : α → α → Ordering) :...
16,183
lean_file_chunk
feb95b3f468b47dc36b971a7cd2a0691f58d8a7494bd0303b04591bec9067547
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2022 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ module public import Batteries.Data.RBMap.WF @[expose] public section /-! # Path operations; `modify` and `alter` This develops the necessary theorems to construc...
23,953
lean_file_chunk
2b438849e6ad8631ba57fe7d7406a441b9aaa928713861f1a1aeade79630aa27
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2022 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ module public import Batteries.Data.RBMap.Basic public import Batteries.Tactic.SeqFocus @[expose] public section /-! # Lemmas for Red-black trees The main theorem...
2,396
lean_file_chunk
c1c874c8089f1dbb67a68fbb853660596f9bdc745e43ed553795580343edfe93
lean_source_file
pkg_batteries_source_file_chunks
protected theorem Balanced.map {t : RBNode α} : t.Balanced c n → (t.map f).Balanced c n | .nil => .nil | .red hl hr => .red hl.map hr.map | .black hl hr => .black hl.map hr.map /-- The property of a map function `f` which ensures the `map` operation is valid. -/ class IsMonotone (cmpα cmpβ) (f : α → β) : Prop wh...
371
lean_file_chunk
838ca96cf5154f1fe282a42e958a15025a91a46fa7c4784dbdd4d11f4f3acf2c
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2024 Kim Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kim Morrison -/ module @[expose] public section /-! While this file is currently empty, it is intended as a home for any lemmas which are required for definitions in `Batteries.Data.A...
3,781
lean_file_chunk
613eeae8318d6065b8e18fc0deb819f0b5fd4be7b8b6ffd46e92e7b0a4955ad4
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2025 François G. Dorais. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: François G. Dorais -/ module @[expose] public section /-! # Bitwise Lemmas This module defines properties of the bitwise operations on natural numbers. This file is complement...
370
lean_file_chunk
e3bd4bad7035cf848a49c126f977217cc74497a52b40d7ab786c8deccd1417ff
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2024 Kim Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kim Morrison -/ module @[expose] public section /-! While this file is currently empty, it is intended as a home for any lemmas which are required for definitions in `Batteries.Data.L...
7,150
lean_file_chunk
e3abc7df5e44f49ac53ac2b011b67dbada4eb466e2e87f45d32102b1ffd485dd
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2023 Kim Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kim Morrison -/ module public import Batteries.Tactic.Lint.Misc public import Batteries.Data.MLList.Basic import Lean.Util.MonadBacktrack @[expose] public section /-! # A nondetermini...
2,132
lean_file_chunk
c26e9bb70f91225ba9b45048c86b3446cea0c9ca9d8aeba41baa3d1ec00e8125
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2022 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ module public import Batteries.Control.ForInStep.Basic @[expose] public section /-! # Additional theorems on `ForInStep` -/ @[simp] theorem ForInStep.bind_done [M...
1,262
lean_file_chunk
41066961c0057d11128fd58fd56246fc777076caacf952e6db4d807428a8b913
lean_source_file
pkg_batteries_source_file_chunks
/- Copyright (c) 2022 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ module @[expose] public section /-! # Additional definitions on `ForInStep` -/ /-- This is similar to a monadic `bind` operator, except that the two type parameter...
60
lean_file_chunk
c8208f771cd6ec7dbab13254a4fba2fb2cd4f957bae0961a697333a505df7116
lean_source_file
pkg_cli_source_file_chunks
module public import Cli.Basic public import Cli.Extensions
5,730
lean_file_chunk
e904055562cd8192ef42765186c77067d69d0252a45219291745126d50d73fe2
lean_source_file
pkg_cli_source_file_chunks
module public import Cli.Basic public import Std.Data.TreeMap.Basic public import Std.Data.TreeSet.Basic section namespace Cli public section Utils namespace Array /-- Appends those elements of `right` to `left` whose `key` is not already contained in `left`. -/ def leftUnionBy [Ord α] (key : ...
23,991
lean_file_chunk
012f176adabe9e0c737d0bbe6af62eaf16c8e275b575af0befda83ca81882646
lean_source_file
pkg_cli_source_file_chunks
module public import Std.Data.TreeSet public section namespace Cli section Utils /-- Matches the lengths of lists `a` and `b` by filling the shorter one with `unit` elements at the tail end. The matched lists are returned in the same order as they were passed. -/ def List.matchLength (a : List α) (b : L...
23,920
lean_file_chunk
0ad0a5836b5bd1dd62b1899c398e4771bc30841e7907889a0b9f0ccf0a2725b1
lean_source_file
pkg_cli_source_file_chunks
instance : ToString Parsed where toString p := s!"cmd: {p.cmd.meta.fullName}; flags: {toString p.flags}; positionalArgs: {toString p.positionalArgs}; " ++ s!"variableArgs: {toString p.variableArgs}" end Parsed open Cmd in /-- Represents a view of `Cmd` that can be passed to `Extension`s, ...
23,441
lean_file_chunk
9697b72382bab55551ba73eb8ebc456dc143ebe9e55b236b6d2bad8c908ea367
lean_source_file
pkg_cli_source_file_chunks
(version? := $(quote (← version?.mapM expandNameableStringArg))) (description := $(← expandNameableStringArg description)) (flags := $(quote (← flags.getD #[] |>.mapM expandFlag))) (positionalArgs := $(quote (← positionalArgs.getD #[] |>.mapM expandPositionalArg))) ...
690
lean_file_chunk
a185b3446de05226f4224efbc49f6705b9224ea8aa8173bdad0886bed8521929
lean_source_file
pkg_importgraph_source_file_chunks
module public meta import ImportGraph.Lean.WithImportModules public meta import ImportGraph.Imports.Unused open Lean /-- `lake exe unused_transitive_imports m1 m2 ...` For each specified module `m`, prints those `n` from the argument list which are imported, but transitively unused by `m`. -/ public meta def main (...
848
lean_file_chunk
1471563a27811e71ebcec6ae34718fb77b2f1235b9aad07c524879ad28ffcc31
lean_source_file
pkg_importgraph_source_file_chunks
module public import ImportGraph.Export.DotFile public import ImportGraph.Export.Gexf public import ImportGraph.Graph.Filter public import ImportGraph.Graph.TransitiveClosure public import ImportGraph.Imports.FromSource public import ImportGraph.Imports.ImportGraph public import ImportGraph.Imports.Redundant public im...
9,420
lean_file_chunk
192cb698314a9e36dd48f7837b7ba1f447bd7c21987892f155d16e9bb91be1d2
lean_source_file
pkg_importgraph_source_file_chunks
module public import Cli.Basic import ImportGraph.Export.DotFile import ImportGraph.Export.Gexf import ImportGraph.Graph.Filter import ImportGraph.Imports.ImportGraph import ImportGraph.Imports.RequiredModules import ImportGraph.Lean.Name import ImportGraph.Util.CurrentModule import ImportGraph.Util.FindSorry import L...
218
lean_file_chunk
36ea5cb5bf32440168414454bf39d5ba5ec0f9b6f47fd656c989cb3be5eaf857
lean_source_file
pkg_importgraph_source_file_chunks
module public import ImportGraph.Imports.FromSource import Lean open Lean -- deprecated 2026-02-01 #eval do logWarning "`ImportGraph.FromSource` is deprecated! use `import ImportGraph.Imports.FromSource` instead."
233
lean_file_chunk
90c58cdf3d62c865b908c5777631d80202b1274bba8ee28fac1584ce3ea8709a
lean_source_file
pkg_importgraph_source_file_chunks
module public import ImportGraph.Imports.RequiredModules import Lean open Lean -- deprecated 2026-02-01 #eval do logWarning "`ImportGraph.RequiredModules` is deprecated! use `import ImportGraph.Imports.RequiredModules` instead."
1,354
lean_file_chunk
3dbfca66c742d8392202e5e8611d2bd71a03fa7d4c48a9a45d6d9a8ff7942de2
lean_source_file
pkg_importgraph_source_file_chunks
module public import ImportGraph.Export.DotFile public import ImportGraph.Export.Gexf public import ImportGraph.Graph.Filter public import ImportGraph.Graph.TransitiveClosure public import ImportGraph.Imports.FromSource public import ImportGraph.Imports.ImportGraph public import ImportGraph.Imports.Redundant public im...
194
lean_file_chunk
199ee4e3c9beb852422b8b71c5659c66bd5ff5f297bfbec87fa0cbf8b34e7776
lean_source_file
pkg_importgraph_source_file_chunks
module public meta import ImportGraph.Tools import Lean open Lean -- deprecated 2026-02-01 #eval do logWarning "`ImportGraph.Imports` is deprecated! use `import ImportGraph.Tools` instead."
998
lean_file_chunk
db68bc21a15430822525d62cd9ef02479118f5c259813769a35e4dbd153bb060
lean_source_file
pkg_importgraph_source_file_chunks
/- Copyright (c) 2023 Kim Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kim Morrison, Paul Lezeau -/ module public meta import ImportGraph.Tools.FindHome public meta import ImportGraph.Tools.ImportDiff public meta import ImportGraph.Tools.MinImports public ...
557
lean_file_chunk
82d47a42b00f52b1815630966fe51769b55db49bdb03c227b32a57228d263d7f
lean_source_file
pkg_importgraph_source_file_chunks
/- Copyright (c) 2023 Kim Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kim Morrison, Paul Lezeau -/ module public import Lean.CoreM open Lean public def Core.withImportModules (modules : Array Name) {α} (f : CoreM α) : IO α := do initSearchPath (← find...
583
lean_file_chunk
99e15642a6659b00220bf9312582e5447d751cfb53e84b3024ee0fde4811786e
lean_source_file
pkg_importgraph_source_file_chunks
/- Copyright (c) 2023 Kim Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kim Morrison -/ module public import Lean.Environment namespace Lean /-- Return the name of the module in which a declaration was defined. -/ public def Environment.getModuleFor? (env...
2,075
lean_file_chunk
d5dba5c1074ce0b600f61e68b4acce6c39c4f95b4800ed04e4fc51bdd51203a0
lean_source_file
pkg_importgraph_source_file_chunks
/- Copyright (c) 2023 Jon Eugster. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jon Eugster -/ module import Lean.Meta.Match.MatcherInfo public import Lean.CoreM /-! TODO: Some declarations in this file are duplicated from mathlib, but especially `isBlacklisted` is...
767
lean_file_chunk
6ec983dabe14951693001e8f1c29b25f8de9e2e79f744d8bacec7a114509d793
lean_source_file
pkg_importgraph_source_file_chunks
/- Copyright (c) 2023 Kim Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kim Morrison, Paul Lezeau -/ module public meta import Lean.Elab.Command public meta import Lean.Widget.UserWidget public meta import ImportGraph.Imports.Redundant public meta section ...
3,795
lean_file_chunk
4b49d5c11f7488d1a67a4b70934f647e0b23ca77b51292381dec6d1c61aa30f0
lean_source_file
pkg_importgraph_source_file_chunks
/- Copyright (c) 2023 Kim Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kim Morrison, Paul Lezeau -/ module public meta import Lean.Elab.Command public meta import Lean.Widget.UserWidget public meta import ImportGraph.Imports.RequiredModules public meta imp...
2,117
lean_file_chunk
3c405cbd10985d10fe1300de689d9ec7f336ab73d446e0a60fa6fc5f2e892a16
lean_source_file
pkg_importgraph_source_file_chunks
/- Copyright (c) 2023 Kim Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kim Morrison, Paul Lezeau -/ module public meta import Lean.Elab.Command public meta import Lean.Widget.UserWidget public meta import ImportGraph.Imports.ImportGraph public meta sectio...
1,570
lean_file_chunk
26ca87bef152ba02cfca5416204df70d5e3bf5a1c659e418c0e582c4c9c246cc
lean_source_file
pkg_importgraph_source_file_chunks
/- Copyright (c) 2023 Kim Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kim Morrison, Paul Lezeau -/ module public meta import Lean.Elab.Command public meta import Lean.Widget.UserWidget public meta import ImportGraph.Imports.RequiredModules public meta imp...
1,193
lean_file_chunk
3ef6cd4a95de94a739587a8eb6aea2c31ce7f3f03af0f8f8116440963b85ebcf
lean_source_file
pkg_importgraph_source_file_chunks
/- Copyright (c) 2026 Jon Eugster. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jon Eugster -/ module public import Lean.Environment import Lean.Util.Sorry import ImportGraph.Lean.Environment namespace ImportGraph open Lean /-- Array of all constant names which c...
793
lean_file_chunk
1b25b28060627dfa5011c1630e197881bcd320c2e1cea320ef5dbf59603af8b7
lean_source_file
pkg_importgraph_source_file_chunks
/- Copyright (c) 2023 Jon Eugster. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jon Eugster -/ module import Lake.Load.Manifest open Lean (Name) namespace ImportGraph /-- Read the name of the main module from the `lake-manifest`. -/ public def getCurrentModule : ...
854
lean_file_chunk
948d39b262f2275b001e17f846e40d0b993bf03f3d5be0bdc15506e6f44c6981
lean_source_file
pkg_importgraph_source_file_chunks
/- Copyright (c) 2023 Kim Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kim Morrison, Paul Lezeau -/ module public import Lean.Data.NameMap.Basic /-! # Transitive closure of a graph A "graph" in this context is a `NameMap (Array Name)`. -/ namespace Lean...
4,140
lean_file_chunk
243da6da65a45238a994ebb9284c30d79b6fc56704c9b991d5e6f737054b1c4e
lean_source_file
pkg_importgraph_source_file_chunks
/- Copyright (c) 2023 Kim Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kim Morrison, Paul Lezeau -/ module public import Lean.Data.NameMap.Basic import Lean.Data.NameMap.AdditionalOperations import ImportGraph.Graph.TransitiveClosure /-! # Filtering a gra...
1,053
lean_file_chunk
ac3259a76adf6d4fc4f9f22304f7122541d73da6ef0b23dcb52ad8e4a8d95028
lean_source_file
pkg_importgraph_source_file_chunks
/- Copyright (c) 2023 Kim Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kim Morrison, Paul Lezeau -/ module public import Lean.CoreM import ImportGraph.Graph.TransitiveClosure import ImportGraph.Imports.ImportGraph import ImportGraph.Imports.RequiredModules...
2,980
lean_file_chunk
e46efb39d98ac5656672f748529b0573b0969dccad3746f54471632d537ab496
lean_source_file
pkg_importgraph_source_file_chunks
/- Copyright (c) 2025 Kim Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kim Morrison -/ module public import Lean.Elab.ParseImportsFast /-! # Source-File-Based Import Analysis This module provides functions for analyzing imports by parsing source files di...
6,266
lean_file_chunk
bd3afc2b308641acf2b2d209e205aed24e55cf54a18c940b76c960786a8b86c4
lean_source_file
pkg_importgraph_source_file_chunks
/- Copyright (c) 2023 Kim Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kim Morrison -/ module public import Lean.CoreM public import Lean.Data.NameMap.Basic public import Lean.Environment import ImportGraph.Lean.Environment public section namespace Lean ...
1,458
lean_file_chunk
c82c2172f847649ccb3dd7f3bb1a2f1332f4d4af6705006ce5982841c1a360d8
lean_source_file
pkg_importgraph_source_file_chunks
/- Copyright (c) 2023 Kim Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kim Morrison, Paul Lezeau -/ module public import Lean.Environment public import Lean.Data.NameMap.Basic public import Lean.CoreM import ImportGraph.Imports.ImportGraph open Lean name...
1,390
lean_file_chunk
6ff7472a06c4ec8214e6fd072ff2b9d8ae0c75ced9dde6fd8060c508bb6324b1
lean_source_file
pkg_importgraph_source_file_chunks
/- Copyright (c) 2023 Kim Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kim Morrison, Paul Lezeau -/ module public import Lean.Environment public import Lean.Data.NameMap.Basic namespace Lean.Environment /-- Find the imports of a given module. -/ public d...
2,820
lean_file_chunk
c10fe50a79b9819ca43477d97ade3813a734d1b28d0c592cb6bf3292d5c617fa
lean_source_file
pkg_importgraph_source_file_chunks
/- Copyright (c) 2023 Kim Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kim Morrison, Jon Eugster -/ module public import Lean.Data.NameMap.Basic open Lean /-- Helper which only returns `true` if the `module` is provided and the name `n` lies inside it. ...
2,972
lean_file_chunk
6333f3acdee961b8ea261ed5bb48aa27d65df31e18697c517f61282116f50303
lean_source_file
pkg_importgraph_source_file_chunks
/- Copyright (c) 2024 Jon Eugster. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jon Eugster -/ module public import Lean.Data.NameMap.Basic public import Lean.Environment import Lean.Meta.Match.MatcherInfo open Lean namespace ImportGraph open Elab Meta in /-- Fil...
278
lean_file_chunk
4f72472cbdb692ac284376d29ed11501a5b4d624a1d87cfa9c356ed090ce2260
lean_source_file
pkg_leansearchclient_source_file_chunks
-- This module serves as the root of the `LeanSearchClient` library. -- Import modules here that should be built as part of the library. module public meta import LeanSearchClient.Basic public meta import LeanSearchClient.Syntax public meta import LeanSearchClient.LoogleSyntax
12,888
lean_file_chunk
ed3c7eae859d624aefe7e0124fa52c388a529614184f95badbedc7747110f573
lean_source_file
pkg_leansearchclient_source_file_chunks
/- Copyright (c) 2024 Siddhartha Gadgil. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Siddhartha Gadgil -/ module public meta import Lean.Elab.Tactic.Meta public meta import Lean.Parser.Basic public meta import Lean.Meta.Tactic.TryThis public meta import LeanSearchC...
17,478
lean_file_chunk
90c4feea28479aabbf3276ed10f3ca534b3ae39619aa32ba06d7b7d90fae91d1
lean_source_file
pkg_leansearchclient_source_file_chunks
/- Copyright (c) 2024 Siddhartha Gadgil. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Siddhartha Gadgil -/ module public meta import Lean.Elab.Tactic.Meta public meta import Lean.Meta.Tactic.TryThis public meta import LeanSearchClient.Basic public meta import Lean.S...
906
lean_file_chunk
8193fb86345933e3dbd527138646da6bca75f672c5a228468422b19cb4c75175
lean_source_file
pkg_leansearchclient_source_file_chunks
module public meta import Lean.Data.Options public meta section register_option leansearch.queries : Nat := { defValue := 6 descr := "Number of results requested from leansearch (default 6)" } register_option loogle.queries : Nat := { defValue := 6 descr := "Number of results requested from loogle (defa...
23,953
lean_file_chunk
70e8145d93851b19505b08907d937450ff48e661108b68a4ff822ca23036c8f4
lean_source_file
pkg_mathlib_source_file_chunks
module -- shake: keep-all public import Std public import Batteries public import Mathlib.Algebra.AddConstMap.Basic public import Mathlib.Algebra.AddConstMap.Equiv public import Mathlib.Algebra.AddTorsor.Basic public import Mathlib.Algebra.AddTorsor.Defs public import Mathlib.Algebra.AffineMonoid.Basic public import ...
23,972
lean_file_chunk
a5a54cf59c9e6ea62c18866e3872fe4c085deb6b5a5dfd78127f3c7f2101d1c0
lean_source_file
pkg_mathlib_source_file_chunks
public import Mathlib.Algebra.Group.Subgroup.MulOppositeLemmas public import Mathlib.Algebra.Group.Subgroup.Order public import Mathlib.Algebra.Group.Subgroup.Pointwise public import Mathlib.Algebra.Group.Subgroup.ZPowers.Basic public import Mathlib.Algebra.Group.Subgroup.ZPowers.Lemmas public import Mathlib.Algebra.Gr...
23,971
lean_file_chunk
ae8fe96faa205100b713232a16f0d11f4331dd9707e1d2c6a3fa52ea657252f2
lean_source_file
pkg_mathlib_source_file_chunks
public import Mathlib.Algebra.Notation.Support public import Mathlib.Algebra.Opposites public import Mathlib.Algebra.Order.AbsoluteValue.Basic public import Mathlib.Algebra.Order.AbsoluteValue.Euclidean public import Mathlib.Algebra.Order.AddGroupWithTop public import Mathlib.Algebra.Order.AddTorsor public import Mathl...
23,979
lean_file_chunk
54cf4ff5c95247a8b392e41bbc42bf7337a561c951700ae36dd2c82cd9092ac8
lean_source_file
pkg_mathlib_source_file_chunks
public import Mathlib.AlgebraicGeometry.Limits public import Mathlib.AlgebraicGeometry.LimitsOver public import Mathlib.AlgebraicGeometry.Modules.Presheaf public import Mathlib.AlgebraicGeometry.Modules.Sheaf public import Mathlib.AlgebraicGeometry.Modules.Tilde public import Mathlib.AlgebraicGeometry.Morphisms.Affine ...
23,964
lean_file_chunk
4446b2547171784059eff0863a2cf5aca4fb97f0db1742855c1d272e10070588
lean_source_file
pkg_mathlib_source_file_chunks
public import Mathlib.Analysis.Calculus.InverseFunctionTheorem.Analytic public import Mathlib.Analysis.Calculus.InverseFunctionTheorem.ApproximatesLinearOn public import Mathlib.Analysis.Calculus.InverseFunctionTheorem.ContDiff public import Mathlib.Analysis.Calculus.InverseFunctionTheorem.Deriv public import Mathlib.A...
23,970
lean_file_chunk
c55073216c1b86cc09862b98c5b4f3bf2a735782662bba1d8c3a3ea3c29f7f89
lean_source_file
pkg_mathlib_source_file_chunks
public import Mathlib.Analysis.Normed.Order.Hom.Basic public import Mathlib.Analysis.Normed.Order.Hom.Ultra public import Mathlib.Analysis.Normed.Order.Lattice public import Mathlib.Analysis.Normed.Order.UpperLower public import Mathlib.Analysis.Normed.Ring.Basic public import Mathlib.Analysis.Normed.Ring.Finite public...
23,964
lean_file_chunk
7f733589bfa2eeafce3f93aef88f061171aa84943e54ea8883a1507e7c897278
lean_source_file
pkg_mathlib_source_file_chunks
public import Mathlib.CategoryTheory.CopyDiscardCategory.Basic public import Mathlib.CategoryTheory.CopyDiscardCategory.Cartesian public import Mathlib.CategoryTheory.CopyDiscardCategory.Deterministic public import Mathlib.CategoryTheory.CopyDiscardCategory.Widesubcategory public import Mathlib.CategoryTheory.Core publ...
23,948
lean_file_chunk
6679ddefaae751b98b541dd6a32fdc5936cf7e567d21fed4e1de9ea13f8b11dd
lean_source_file
pkg_mathlib_source_file_chunks
public import Mathlib.CategoryTheory.Localization.FiniteProducts public import Mathlib.CategoryTheory.Localization.HasLocalization public import Mathlib.CategoryTheory.Localization.HomEquiv public import Mathlib.CategoryTheory.Localization.Linear public import Mathlib.CategoryTheory.Localization.LocalizerMorphism publi...
23,963
lean_file_chunk
0d6ee3067a53253605e3722daf3fdb6d8d19a73246d84cb3d1bcde5f2c478b8e
lean_source_file
pkg_mathlib_source_file_chunks
public import Mathlib.CategoryTheory.Subfunctor.Finite public import Mathlib.CategoryTheory.Subfunctor.Image public import Mathlib.CategoryTheory.Subfunctor.OfSection public import Mathlib.CategoryTheory.Subfunctor.Sieves public import Mathlib.CategoryTheory.Subfunctor.Subobject public import Mathlib.CategoryTheory.Sub...
23,975
lean_file_chunk
27331b1c312c1e880d68e4d60a4eceb80d91605b4d6a69dea56d8b6bc8e06994
lean_source_file
pkg_mathlib_source_file_chunks
public import Mathlib.Data.Finset.Slice public import Mathlib.Data.Finset.Sort public import Mathlib.Data.Finset.Sum public import Mathlib.Data.Finset.Sups public import Mathlib.Data.Finset.Sym public import Mathlib.Data.Finset.SymmDiff public import Mathlib.Data.Finset.Union public import Mathlib.Data.Finset.Update pu...
23,976
lean_file_chunk
c793cd45428b8a4b2cf5c19faa098dacd6fe7e27117269b160eede54fc57858b
lean_source_file
pkg_mathlib_source_file_chunks
public import Mathlib.FieldTheory.Galois.Infinite public import Mathlib.FieldTheory.Galois.IsGaloisGroup public import Mathlib.FieldTheory.Galois.NormalBasis public import Mathlib.FieldTheory.Galois.Notation public import Mathlib.FieldTheory.Galois.Profinite public import Mathlib.FieldTheory.IntermediateField.Adjoin.Al...
23,977
lean_file_chunk
e06f53a8e515c8e11e107456a27386e29839a4bbd06fa67fffab80371c4e6a07
lean_source_file
pkg_mathlib_source_file_chunks
public import Mathlib.LinearAlgebra.CliffordAlgebra.CategoryTheory public import Mathlib.LinearAlgebra.CliffordAlgebra.Conjugation public import Mathlib.LinearAlgebra.CliffordAlgebra.Contraction public import Mathlib.LinearAlgebra.CliffordAlgebra.Equivs public import Mathlib.LinearAlgebra.CliffordAlgebra.Even public im...
23,976
lean_file_chunk
8dda7d3320f7cc2e3ada93803ce422897b33f18a0434a0b048c238f8e033462d
lean_source_file
pkg_mathlib_source_file_chunks
public import Mathlib.MeasureTheory.Function.LpSeminorm.Indicator public import Mathlib.MeasureTheory.Function.LpSeminorm.LpNorm public import Mathlib.MeasureTheory.Function.LpSeminorm.Monotonicity public import Mathlib.MeasureTheory.Function.LpSeminorm.Prod public import Mathlib.MeasureTheory.Function.LpSeminorm.SMul ...
23,984
lean_file_chunk
259a1364c226904cad9c43633c171e4be360e7d177892a4c3e4af2c8b8962f72
lean_source_file
pkg_mathlib_source_file_chunks
public import Mathlib.NumberTheory.NumberField.CanonicalEmbedding.FundamentalCone public import Mathlib.NumberTheory.NumberField.CanonicalEmbedding.NormLeOne public import Mathlib.NumberTheory.NumberField.CanonicalEmbedding.PolarCoord public import Mathlib.NumberTheory.NumberField.ClassNumber public import Mathlib.Numb...
23,963
lean_file_chunk
ec014aec8600e2d81145e04724c179801f52db687f2a1c568e15c6e8914bce06
lean_source_file
pkg_mathlib_source_file_chunks
public import Mathlib.Probability.Kernel.Disintegration.MeasurableStieltjes public import Mathlib.Probability.Kernel.Disintegration.StandardBorel public import Mathlib.Probability.Kernel.Disintegration.Unique public import Mathlib.Probability.Kernel.Integral public import Mathlib.Probability.Kernel.Invariance public im...
23,966
lean_file_chunk
3b92d33cf68a9c7c78ea4d5a0389039092089673268f975601a8cd2d255d812c
lean_source_file
pkg_mathlib_source_file_chunks
public import Mathlib.RingTheory.Localization.Rat public import Mathlib.RingTheory.Localization.Submodule public import Mathlib.RingTheory.MatrixAlgebra public import Mathlib.RingTheory.MatrixPolynomialAlgebra public import Mathlib.RingTheory.Morita.Basic public import Mathlib.RingTheory.Morita.Matrix public import Mat...
23,969
lean_file_chunk
dfd95dbe721026b07e4c093af84d47daa2dd8bea2a55a82d7f900106040eb388
lean_source_file
pkg_mathlib_source_file_chunks
public import Mathlib.Tactic.Contrapose public import Mathlib.Tactic.Conv public import Mathlib.Tactic.Convert public import Mathlib.Tactic.Core public import Mathlib.Tactic.DSimpPercent public import Mathlib.Tactic.DeclarationNames public import Mathlib.Tactic.DefEqAbuse public import Mathlib.Tactic.DefEqTransformatio...