blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
7
139
content_id
stringlengths
40
40
detected_licenses
listlengths
0
16
license_type
stringclasses
2 values
repo_name
stringlengths
7
55
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
6 values
visit_date
int64
1,471B
1,694B
revision_date
int64
1,378B
1,694B
committer_date
int64
1,378B
1,694B
github_id
float64
1.33M
604M
star_events_count
int64
0
43.5k
fork_events_count
int64
0
1.5k
gha_license_id
stringclasses
6 values
gha_event_created_at
int64
1,402B
1,695B
gha_created_at
int64
1,359B
1,637B
gha_language
stringclasses
19 values
src_encoding
stringclasses
2 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
1 class
length_bytes
int64
3
6.4M
extension
stringclasses
4 values
content
stringlengths
3
6.12M
3e80d8c0e82e6d4c9fdc71f1082cf604df5f8108
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/enat/lattice.lean
887e933c7a73ce42c0c715bd2de713b7e0297236
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
502
lean
/- Copyright (c) 2022 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import data.nat.lattice import data.enat.basic /-! # Extended natural numbers form a complete linear order > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any change...
80e0864c3775c2f8d65755e2b56c2e2e5fe3316a
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/natural_isomorphism.lean
c3f7d795d66638469cb2bfb65ca8b3f4162f4567
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
8,129
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tim Baumann, Stephen Morgan, Scott Morrison, Floris van Doorn -/ import category_theory.functor.category import category_theory.isomorphism /-! # Natural isomorphisms For the most pa...
c58084ed3b98307637e5173239370cd46e9f92b0
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/src/Lean/Parser/Extension.lean
83554712ef34a512c3c459eb892bed836ac555e6
[ "Apache-2.0" ]
permissive
williamdemeo/lean4
72161c58fe65c3ad955d6a3050bb7d37c04c0d54
6d00fcf1d6d873e195f9220c668ef9c58e9c4a35
refs/heads/master
1,678,305,356,877
1,614,708,995,000
1,614,708,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
26,249
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ import Lean.ScopedEnvExtension import Lean.Parser.Basic import Lean.Parser.StrInterpolation import Lean.KeyedDeclsAttribute /-! Extensib...
14b78163bd218c36599fe7183aece2a24c83e2ec
4727251e0cd73359b15b664c3170e5d754078599
/src/geometry/manifold/algebra/lie_group.lean
f9a3408b9f97e5a8e98f589d7c570f60f9ae1570
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
6,026
lean
/- Copyright © 2020 Nicolò Cavalleri. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nicolò Cavalleri -/ import geometry.manifold.algebra.monoid /-! # Lie groups A Lie group is a group that is also a smooth manifold, in which the group operations of multiplication a...
d871269c3ab73e12c6734eeaffba5453fe38c42e
12dabd587ce2621d9a4eff9f16e354d02e206c8e
/world10/level05.lean
96096f58bc7945654c4def5c866666859c1e4c53
[]
no_license
abdelq/natural-number-game
a1b5b8f1d52625a7addcefc97c966d3f06a48263
bbddadc6d2e78ece2e9acd40fa7702ecc2db75c2
refs/heads/master
1,668,606,478,691
1,594,175,058,000
1,594,175,058,000
278,673,209
0
1
null
null
null
null
UTF-8
Lean
false
false
175
lean
theorem le_trans (a b c : mynat) (hab : a ≤ b) (hbc : b ≤ c) : a ≤ c := begin cases hab, cases hbc, use (hab_w + hbc_w), rw ← add_assoc, rw hbc_h, rw hab_h, refl, end
060f1ec6be5b46b15338906b9ee5465d79b4b460
437dc96105f48409c3981d46fb48e57c9ac3a3e4
/src/tactic/norm_cast.lean
d891d9556febf826e3f6132b375c272445ae7ab4
[ "Apache-2.0" ]
permissive
dan-c-k/mathlib
08efec79bd7481ee6da9cc44c24a653bff4fbe0d
96efc220f6225bc7a5ed8349900391a33a38cc56
refs/heads/master
1,658,082,847,093
1,589,013,201,000
1,589,013,201,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
25,154
lean
/- Copyright (c) 2019 Paul-Nicolas Madelaine. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul-Nicolas Madelaine, Robert Y. Lewis Normalizing casts inside expressions. -/ import tactic.converter.interactive import tactic.hint /-! # A tactic for normalizing casts i...
db2fdcd9aafbec37b70df4d8308bfe9f423d2af7
a8c03ed21a1bd6fc45901943b79dd6574ea3f0c2
/splitting.lean
1eb50df74249831c6e3df61bd296fec17ab06632
[]
no_license
gebner/resolution.lean
716c355fbb5204e5c4d0c5a7f3f3cc825892a2bf
c6fafe06fba1cfad73db68f2aa474b29fe892a2b
refs/heads/master
1,601,111,444,528
1,475,256,701,000
1,475,256,701,000
67,711,151
0
0
null
null
null
null
UTF-8
Lean
false
false
1,744
lean
import prover_state open monad meta def extract_assertions : clause → resolution_prover (clause × list expr) | c := if c↣num_lits = 0 then return (c, []) else if c↣num_quants ≠ 0 then do qf : clause × list expr ← ↑(c↣open_constn c↣num_quants), qf_wo_as ← extract_assertions qf↣1, return (qf_wo_as↣1↣close_constn q...
3d8b28ba1a662eb8243051932b18bba76c2b8d50
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/08_Building_Theories_and_Proofs.org.6.lean
e993a16ef2b68304e96fe0ce6cf40ac1f9d06433
[]
no_license
cjmazey/lean-tutorial
ba559a49f82aa6c5848b9bf17b7389bf7f4ba645
381f61c9fcac56d01d959ae0fa6e376f2c4e3b34
refs/heads/master
1,610,286,098,832
1,447,124,923,000
1,447,124,923,000
43,082,433
0
0
null
null
null
null
UTF-8
Lean
false
false
630
lean
import standard structure Semigroup : Type := (carrier : Type) (mul : carrier → carrier → carrier) (mul_assoc : ∀ a b c : carrier, mul (mul a b) c = mul a (mul b c)) notation a `*` b := Semigroup.mul _ a b attribute Semigroup.carrier [coercion] structure morphism (S1 S2 : Semigroup) : Type := (mor : S1 → S2) (resp_m...
eb8fad0dc26c4c43729520117d05092af017ae95
618003631150032a5676f229d13a079ac875ff77
/src/category_theory/limits/types.lean
7d03057dbdfe2a1105ed8cd5d16113f020c72311
[ "Apache-2.0" ]
permissive
awainverse/mathlib
939b68c8486df66cfda64d327ad3d9165248c777
ea76bd8f3ca0a8bf0a166a06a475b10663dec44a
refs/heads/master
1,659,592,962,036
1,590,987,592,000
1,590,987,592,000
268,436,019
1
0
Apache-2.0
1,590,990,500,000
1,590,990,500,000
null
UTF-8
Lean
false
false
5,359
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Reid Barton -/ import category_theory.limits.shapes.images universes v u -- declare the `v`'s first; see `category_theory.category` for an explanation open category_t...
0ba4ae4e5ec033cdbf1c1b99b126b20e7469aeb8
6bbefddc5d215af92ee0f41cafc343d0802aa6c8
/02-hundred-squares.lean
9f10d10555b32d7cf169a51f0bf533414a75d55a
[ "Unlicense" ]
permissive
bradheintz/lean-ex
0dcfab24e31abd9394247353f4e7dfd06655b2e1
37419b8d014ba3ba416e2252809a89a1604a1330
refs/heads/master
1,645,696,373,325
1,503,243,879,000
1,503,243,879,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
347
lean
import system.io variable [io.interface] open io nat /- print square of every integer from n to 0 -/ def print_squares : ℕ → io unit | 0 := return () | (succ n) := print_squares n >> put_str (nat.to_string n ++ "^2 = " ++ nat.to_string (n * n) ++ "\n") #eval print_squares 32 #prin...
12cefe91c0c131b2c7aaef74a6946d9f07871034
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/measure_theory/function/ae_eq_of_integral.lean
b847808f2a0ceda7b7aec3119387c0b8ee72718e
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
29,195
lean
/- Copyright (c) 2021 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne -/ import analysis.normed_space.dual import measure_theory.function.strongly_measurable.lp import measure_theory.integral.set_integral /-! # From equality of integrals to ...
936ae998267a1a199e8cf84f4ab0db1dfd6ce1c3
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/bad_inaccessible2.lean
f288ddeb146837ed389e12d54b3a62547745e47f
[ "Apache-2.0" ]
permissive
soonhokong/lean-osx
4a954262c780e404c1369d6c06516161d07fcb40
3670278342d2f4faa49d95b46d86642d7875b47c
refs/heads/master
1,611,410,334,552
1,474,425,686,000
1,474,425,686,000
12,043,103
5
1
null
null
null
null
UTF-8
Lean
false
false
1,110
lean
universe variables u inductive vec (A : Type u) : nat → Type (max 1 u) | nil {} : vec 0 | cons : Π {n}, A → vec n → vec (n+1) open vec variables {A : Type u} variables f : A → A → A /- The following definition fails because the pattern variables are introduced in the following order: a va n b vb How...
6dc1231de1d10009dc1eb3eab2593e55b37428f6
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/02_Dependent_Type_Theory.org.15.lean
8e6c03020660a0453e4d03fb776687b6de539575
[]
no_license
cjmazey/lean-tutorial
ba559a49f82aa6c5848b9bf17b7389bf7f4ba645
381f61c9fcac56d01d959ae0fa6e376f2c4e3b34
refs/heads/master
1,610,286,098,832
1,447,124,923,000
1,447,124,923,000
43,082,433
0
0
null
null
null
null
UTF-8
Lean
false
false
386
lean
/- page 19 -/ import standard constants A B C : Type constants (a : A) (f : A → B) (g : B → C) (h : A → A) definition gfa : C := g (f a) check gfa -- C print gfa -- g (f a) -- We can omit the type when Lean can figure it out. definition gfa' := g (f a) print gfa' definition gfha := g (f (h a)) print gfha de...
1e271b2845b66510f4d81246b15a40424322afac
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/tests/lean/simp.lean
24819fa8c919c0ce03816047cf65320a77b6024a
[ "Apache-2.0" ]
permissive
codyroux/lean0.1
1ce92751d664aacff0529e139083304a7bbc8a71
0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef
refs/heads/master
1,610,830,535,062
1,402,150,480,000
1,402,150,480,000
19,588,851
2
0
null
null
null
null
UTF-8
Lean
false
false
613
lean
variable f : Nat → Nat variable g : Nat → Nat → Nat rewrite_set fgrules axiom Axf1 : ∀ x, f (f x) = x add_rewrite Axf1 : fgrules axiom Axfg : ∀ x, g x x = x add_rewrite Axfg : fgrules variables a b : Nat print rewrite_set fgrules (* local t = parse_lean('g a (f (f a))') print(simplify(t, {'fgrules'})) *) disable_...
d1e69728b58220ddc6f5ba6b969883b36f3422a4
63abd62053d479eae5abf4951554e1064a4c45b4
/src/control/uliftable.lean
93f557cd31b4d5fdfec46c771132690b45717b57
[ "Apache-2.0" ]
permissive
Lix0120/mathlib
0020745240315ed0e517cbf32e738d8f9811dd80
e14c37827456fc6707f31b4d1d16f1f3a3205e91
refs/heads/master
1,673,102,855,024
1,604,151,044,000
1,604,151,044,000
308,930,245
0
0
Apache-2.0
1,604,164,710,000
1,604,163,547,000
null
UTF-8
Lean
false
false
5,579
lean
/- Copyright (c) 2020 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author(s): Simon Hudon -/ import control.monad.basic import control.monad.cont import control.monad.writer import data.equiv.basic import tactic.interactive /-! # Universe lifting for type famili...
bc72283b592c7dfc3a49d1630a95243620f33c65
88fb7558b0636ec6b181f2a548ac11ad3919f8a5
/tests/lean/run/noncomputable_example.lean
fad39ea5009639498db757f19e5545bcd248210b
[ "Apache-2.0" ]
permissive
moritayasuaki/lean
9f666c323cb6fa1f31ac597d777914aed41e3b7a
ae96ebf6ee953088c235ff7ae0e8c95066ba8001
refs/heads/master
1,611,135,440,814
1,493,852,869,000
1,493,852,869,000
90,269,903
0
0
null
1,493,906,291,000
1,493,906,291,000
null
UTF-8
Lean
false
false
196
lean
open classical psum universe variable u noncomputable example (A : Type u) (h : (A → false) → false) : A := match type_decidable A with | (inl ha) := ha | (inr hna) := false.rec _ (h hna) end
2ee37b0beb574b3fc7d84202f7b91ec7201e6d21
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/linear_algebra/clifford_algebra/even_equiv.lean
c16e72cfe02b9dc339538eef332ac46665ddc85e
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
11,299
lean
/- Copyright (c) 2022 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import linear_algebra.clifford_algebra.conjugation import linear_algebra.clifford_algebra.even import linear_algebra.quadratic_form.prod /-! # Isomorphisms with the even su...
2124ad524bb7ab1a7d7ce8b198656e09b19798f1
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/topology/tactic.lean
fc9e47d7b13576ff253cd0a432d6b5fff97a585d
[ "Apache-2.0" ]
permissive
robertylewis/mathlib
3d16e3e6daf5ddde182473e03a1b601d2810952c
1d13f5b932f5e40a8308e3840f96fc882fae01f0
refs/heads/master
1,651,379,945,369
1,644,276,960,000
1,644,276,960,000
98,875,504
0
0
Apache-2.0
1,644,253,514,000
1,501,495,700,000
Lean
UTF-8
Lean
false
false
4,068
lean
/- Copyright (c) 2020 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton -/ import tactic.auto_cases import tactic.tidy import tactic.with_local_reducibility import tactic.show_term import topology.basic /-! # Tactics for topology Currently we hav...
308557b71861bf9cc6954b9203a7f6ae18143ae8
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/group_theory/group_action/option.lean
9afd75f5ee9cc3eaf2a18b6003ca5cec6dcf6b22
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
2,127
lean
/- Copyright (c) 2022 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import group_theory.group_action.defs /-! # Option instances for additive and multiplicative actions > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this fi...
59c49042a81ef5643e318a1e3dc12df097c7d1d7
60bf3fa4185ec5075eaea4384181bfbc7e1dc319
/src/game/sup_inf/lub_rationals.lean
4212ddd1b99b185909b13a3799a6deec28baa618
[ "Apache-2.0" ]
permissive
anrddh/real-number-game
660f1127d03a78fd35986c771d65c3132c5f4025
c708c4e02ec306c657e1ea67862177490db041b0
refs/heads/master
1,668,214,277,092
1,593,105,075,000
1,593,105,075,000
264,269,218
0
0
null
1,589,567,264,000
1,589,567,264,000
null
UTF-8
Lean
false
false
940
lean
import data.real.basic namespace xena -- hide /- # Chapter 3 : Sup and Inf ## Level 11 -/ definition is_upper_bound (S : set ℝ) (x : ℝ) := ∀ s ∈ S, s ≤ x definition is_lub' (S : set ℝ) (x : ℝ) := is_upper_bound S x ∧ ∀ y : ℝ, is_upper_bound S y → x ≤ y definition has_lub (S : set ℝ) := ∃ x, is_lub' S x def e...
c33d277f7a92fd4120e8786e1d30491c1fda88a6
64874bd1010548c7f5a6e3e8902efa63baaff785
/library/data/num.lean
01f68a9bb9e551a28f8950719abfcd330baa7a7b
[ "Apache-2.0" ]
permissive
tjiaqi/lean
4634d729795c164664d10d093f3545287c76628f
d0ce4cf62f4246b0600c07e074d86e51f2195e30
refs/heads/master
1,622,323,796,480
1,422,643,069,000
1,422,643,069,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,059
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: data.num Author: Leonardo de Moura -/ import logic.eq open bool namespace pos_num theorem succ_not_is_one (a : pos_num) : is_one (succ a) = ff := induction_on a rfl (take ...
91a0a1ef37d894c399e9896e2f7907d967ee7bb8
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/bicategory/coherence.lean
9cf7ea46cddf73fe2aee7f4540f02648b92918ca
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
9,235
lean
/- Copyright (c) 2022 Yuma Mizuno. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yuma Mizuno, Junyan Xu -/ import category_theory.path_category import category_theory.functor.fully_faithful import category_theory.bicategory.free import category_theory.bicategory.local...
7c572118623f44c5b76c5a6dbfdae75a411d3f53
11d98f23718b57e0a9dd4c0889d2c1e37ced2afa
/lean/effects.lean
c46a07f73e23c7c0d23d36d0df41addd0a0add07
[]
no_license
ulidtko/exe
401805a37bba87e16b78f1ff923fffef383e31fa
2a326f233895bc46ae48c559da3ded1b0481232f
refs/heads/master
1,611,519,189,455
1,452,174,370,000
1,452,174,409,000
49,207,131
0
0
null
1,452,174,448,000
1,452,174,447,000
null
UTF-8
Lean
false
false
626
lean
import data.nat data.bool data.prod data.list data.sum data.stream data.unit data.uprod data.tuple data.option namespace effects open nat bool prod sum list classical option stream record eff (x: Type) := (carrier : x) record io (x: Type) extends eff x :=...
88088c51a1ef6d17f1803cafbdff07b9be600c85
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/group_theory/perm/support.lean
f7a3eac9fe4dc17c82741a50cc1ae3f5947f2d86
[ "Apache-2.0" ]
permissive
AntoineChambert-Loir/mathlib
64aabb896129885f12296a799818061bc90da1ff
07be904260ab6e36a5769680b6012f03a4727134
refs/heads/master
1,693,187,631,771
1,636,719,886,000
1,636,719,886,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
20,231
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Aaron Anderson, Yakov Pechersky -/ import data.finset.sort import data.fintype.basic import group_theory.perm.basic /-! # Support of a permutation ## Main definitions In...
ea6e34956eafdf8c745bf8cb38b0b6ac5875ce40
36cfb52a5926b96dc8a44d3b71d2f14a21ef8574
/sort.lean
a2196b4ba2c96373d77d6568e3ac30ae53e5da98
[]
no_license
minchaowu/relevance_filter
b46e3cc166b8225b19fac61b8f9911eeecdd42d8
3ae59d297ed5a07bd14749112e520b74209f10fd
refs/heads/master
1,631,071,413,821
1,507,745,131,000
1,507,745,131,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,724
lean
/- Sorting on arrays. -/ section quicksort variables {α : Type} [inhabited α] (op : α → α → bool) local infix `<` := op variable [has_to_format α] meta def swap {n : ℕ} (A : array α n) (i j : ℕ) : array α n := let tmp_j := A.read' j, tmp_i := A.read' i in (A.write' j tmp_i).write' i tmp_j ...
176cee64a1affec74e5ff2b54a07b4a4975dcd86
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/module/ulift.lean
c75da83edbf521b417493bf70ae204db26423a66
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
4,372
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.ring.ulift import algebra.module.equiv /-! # `ulift` instances for module and multiplicative actions This file defines instances for module, mul_acti...
751891fde7e8846a07c4a7be128a3fa614efae9f
969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb
/src/topology/algebra/group.lean
8910c2c5a400793db0e0522548e9160660e9f90c
[ "Apache-2.0" ]
permissive
SAAluthwela/mathlib
62044349d72dd63983a8500214736aa7779634d3
83a4b8b990907291421de54a78988c024dc8a552
refs/heads/master
1,679,433,873,417
1,615,998,031,000
1,615,998,031,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
28,141
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Patrick Massot -/ import order.filter.pointwise import group_theory.quotient_group import topology.algebra.monoid import topology.homeomorph /-! # The...
eaa3484573558a044038b337f339414f7dcceaa0
3dc4623269159d02a444fe898d33e8c7e7e9461b
/.github/workflows/geo/src/limits.lean
71655057cd726af1fd2375d86d40e4b343f810ec
[]
no_license
Or7ando/lean
cc003e6c41048eae7c34aa6bada51c9e9add9e66
d41169cf4e416a0d42092fb6bdc14131cee9dd15
refs/heads/master
1,650,600,589,722
1,587,262,906,000
1,587,262,906,000
255,387,160
0
0
null
null
null
null
UTF-8
Lean
false
false
438
lean
import category_theory.limits.shapes open category_theory category_theory.category category_theory.limits universes u v variables {C : Type u} [𝒞 : category.{v} C] variables {J : Type v} [small_category J] include 𝒞 @[simp] lemma limit.lift_self_id (F : J ⥤ C) [has_limit F] : limit.lift F (limit.cone F) = 𝟙 (li...
c4c83a4edfaf032a4751b48b758eaf04ea3e1789
01f6b345a06ece970e589d4bbc68ee8b9b2cf58a
/src/ring_seminorm.lean
bd8d44e7bdffc9406a97fba20954f473a9ae9e41
[]
no_license
mariainesdff/norm_extensions_journal_submission
6077acb98a7200de4553e653d81d54fb5d2314c8
d396130660935464fbc683f9aaf37fff8a890baa
refs/heads/master
1,686,685,693,347
1,684,065,115,000
1,684,065,115,000
603,823,641
0
0
null
null
null
null
UTF-8
Lean
false
false
19,168
lean
/- Copyright (c) 2023 María Inés de Frutos-Fernández. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: María Inés de Frutos-Fernández -/ import analysis.normed.ring.seminorm import analysis.seminorm /-! # Nonarchimedean ring seminorms and algebra norms In this file, we...
58f1ef33b3502d38de22d1dd427f2bb09aa34f94
07c6143268cfb72beccd1cc35735d424ebcb187b
/src/data/zmod/basic.lean
643904952168dfc6c6d6f751239f41383179b359
[ "Apache-2.0" ]
permissive
khoek/mathlib
bc49a842910af13a3c372748310e86467d1dc766
aa55f8b50354b3e11ba64792dcb06cccb2d8ee28
refs/heads/master
1,588,232,063,837
1,587,304,803,000
1,587,304,803,000
176,688,517
0
0
Apache-2.0
1,553,070,585,000
1,553,070,585,000
null
UTF-8
Lean
false
false
21,640
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Chris Hughes -/ import data.int.modeq data.int.gcd data.fintype.basic data.pnat.basic tactic.ring /-! # Integers mod `n` Definition of the integers mod n, and the field structure on th...
39d905529bd3e4c78705075a6819b16a452f5750
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/category/fgModule/limits.lean
6c02caa86c10039dd142afa9c06105f5c80e32c2
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
3,031
lean
/- Copyright (c) 2022 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.category.fgModule.basic import algebra.category.Module.limits import algebra.category.Module.products import algebra.category.Module.epi_mono import ca...
f8d524d261703f6dcfb512da6431fec609f7feb8
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/run/isDefEqCheckAssignmentBug.lean
8d33cc220a5882993d2de9793e88871ab9a5870e
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
cipher1024/lean4
6e1f98bb58e7a92b28f5364eb38a14c8d0aae393
69114d3b50806264ef35b57394391c3e738a9822
refs/heads/master
1,642,227,983,603
1,642,011,696,000
1,642,011,696,000
228,607,691
0
0
Apache-2.0
1,576,584,269,000
1,576,584,268,000
null
UTF-8
Lean
false
false
828
lean
import Lean open Lean open Lean.Meta def f (x : Type) := x def tst : MetaM Unit := do let m1 ← mkFreshExprMVar none withLocalDeclD `x m1 fun x => do trace[Meta.debug] "{x} : {← inferType x}" trace[Meta.debug] "{m1} : {← inferType m1}" let m2 ← mkFreshExprMVar (mkSort levelOne) let t ← mkAppM ``f...
4f89c768fa4e359fbd2cc3ce2285c8fa48f160d6
9ad8d18fbe5f120c22b5e035bc240f711d2cbd7e
/src/combinatorics/fibonacci.lean
05e3e81b570885c1326784021f871e342c9f94fb
[]
no_license
agusakov/lean_lib
c0e9cc29fc7d2518004e224376adeb5e69b5cc1a
f88d162da2f990b87c4d34f5f46bbca2bbc5948e
refs/heads/master
1,642,141,461,087
1,557,395,798,000
1,557,395,798,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,151
lean
/- Copyright (c) 2019 Neil Strickland. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Neil Strickland This file defines Fibonacci numbers and their reductions mod `n`. It was intended to make computation efficient, but does not succeed very well. Some better approach...
0b4cd14c439bc500d53f0d4f4d03e4ff953690b6
b7f22e51856f4989b970961f794f1c435f9b8f78
/hott/hit/quotient.hlean
3f49a44b04f4a98a95d53a9833553e975611afe7
[ "Apache-2.0" ]
permissive
soonhokong/lean
cb8aa01055ffe2af0fb99a16b4cda8463b882cd1
38607e3eb57f57f77c0ac114ad169e9e4262e24f
refs/heads/master
1,611,187,284,081
1,450,766,737,000
1,476,122,547,000
11,513,992
2
0
null
1,401,763,102,000
1,374,182,235,000
C++
UTF-8
Lean
false
false
8,554
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn Quotients. This is a quotient without truncation for an arbitrary type-valued binary relation. See also .set_quotient -/ /- The hit quotient is primitive, declar...
c69392008608c630442537018ba3ae4a617cbac2
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/data/pnat/basic.lean
87856d143cd1b473d4712545bbf0f3ffb22957ac
[ "Apache-2.0" ]
permissive
hjvromen/lewis
40b035973df7c77ebf927afab7878c76d05ff758
105b675f73630f028ad5d890897a51b3c1146fb0
refs/heads/master
1,677,944,636,343
1,676,555,301,000
1,676,555,301,000
327,553,599
0
0
null
null
null
null
UTF-8
Lean
false
false
14,154
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro, Neil Strickland -/ import data.nat.basic /-! # The positive natural numbers This file defines the type `ℕ+` or `pnat`, the subtype of natural numbers that are p...
59d6aa16342cbd28d8a0807129f7cf0ea9b4db81
618003631150032a5676f229d13a079ac875ff77
/src/measure_theory/category/Meas.lean
168195aea5b831779af6391ed539347d0fb4d2a0
[ "Apache-2.0" ]
permissive
awainverse/mathlib
939b68c8486df66cfda64d327ad3d9165248c777
ea76bd8f3ca0a8bf0a166a06a475b10663dec44a
refs/heads/master
1,659,592,962,036
1,590,987,592,000
1,590,987,592,000
268,436,019
1
0
Apache-2.0
1,590,990,500,000
1,590,990,500,000
null
UTF-8
Lean
false
false
4,031
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import topology.category.Top.basic import measure_theory.giry_monad import category_theory.monad.algebra /- * Meas, the category of measurable spaces Measurable spa...
4a06466253610062da9b1c7ddf133a8f83eddda3
1446f520c1db37e157b631385707cc28a17a595e
/stage0/src/Init/Lean/Util.lean
3b439978df83f88de43dae1ea8531c24ef56cd29
[ "Apache-2.0" ]
permissive
bdbabiak/lean4
cab06b8a2606d99a168dd279efdd404edb4e825a
3f4d0d78b2ce3ef541cb643bbe21496bd6b057ac
refs/heads/master
1,615,045,275,530
1,583,793,696,000
1,583,793,696,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
640
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Lean.Util.CollectFVars import Init.Lean.Util.CollectLevelParams import Init.Lean.Util.CollectMVars import Init.Lean.Util.FindMVar import...
7263e9a7d146d3124bdcb4a39c328c4952d7dacc
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Elab/RecAppSyntax.lean
f482029aad75a39c99328460808a134c231da916
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
829
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Expr namespace Lean private def recAppKey := `_recApp /-- We store the syntax at recursive applications to be able to generate better error...
d3b66b8f81aad0457d28350858803efe72fda76c
2a73ce8bc0731b170b40e8c9faca9b49d34ba5c6
/weak_convergence_of_measures.lean
eed91da296b79134e79b19174882b2571de61572
[]
no_license
kkytola/lean-questions
f383016b7870432807d8f4ced256f7506a59b0ff
9a7ded8036534575b682e28ddfed4c2f1089959d
refs/heads/main
1,692,989,428,439
1,634,665,853,000
1,634,665,853,000
353,850,251
0
0
null
null
null
null
UTF-8
Lean
false
false
30,078
lean
/- Copyright (c) 2021 Kalle Kytölä. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kalle Kytölä -/ import tactic import weak_dual import measure_theory.integral.bochner noncomputable theory open measure_theory open set open filter open_locale topological_space bounde...
a0eb8a288f05ef2a65ffda5045ce9d312639c734
e5169dbb8b1bea3ec2a32737442bc91a4a94b46a
/library/data/set/basic.lean
3c2710ac4016cc1ddade9ad39bea4fce38a28b68
[ "Apache-2.0" ]
permissive
pazthor/lean
733b775e3123f6bbd2c4f7ccb5b560b467b76800
c923120db54276a22a75b12c69765765608a8e76
refs/heads/master
1,610,703,744,289
1,448,419,395,000
1,448,419,703,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
13,649
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad, Leonardo de Moura -/ import logic.connectives logic.identities algebra.binary open eq.ops binary definition set (X : Type) := X → Prop namespace set variable {X : Type}...
26534129cc0a64e99979b449320ba5122ffe4956
86f6f4f8d827a196a32bfc646234b73328aeb306
/examples/basics/unnamed_1037.lean
4d6cec6ded407368955885e5f55affa53d0ae181
[]
no_license
jamescheuk91/mathematics_in_lean
09f1f87d2b0dce53464ff0cbe592c568ff59cf5e
4452499264e2975bca2f42565c0925506ba5dda3
refs/heads/master
1,679,716,410,967
1,613,957,947,000
1,613,957,947,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
612
lean
import data.real.basic -- BEGIN example (x y z : ℝ) (h₀ : x ≤ y) (h₁ : y ≤ z) : x ≤ z := begin apply le_trans, { apply h₀ }, apply h₁ end example (x y z : ℝ) (h₀ : x ≤ y) (h₁ : y ≤ z) : x ≤ z := begin apply le_trans h₀, apply h₁ end example (x y z : ℝ) (h₀ : x ≤ y) (h₁ : y ≤ z) : x ≤ z := by exact le_trans...
c37834ed04b5bd5b5a054a07a4e7dce039025465
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/tests/lean/run/new_obtain4.lean
0af8bac43ef3a98de762f6af6e4511ac95277248
[ "Apache-2.0" ]
permissive
jroesch/lean
30ef0860fa905d35b9ad6f76de1a4f65c9af6871
3de4ec1a6ce9a960feb2a48eeea8b53246fa34f2
refs/heads/master
1,586,090,835,348
1,455,142,203,000
1,455,142,277,000
51,536,958
1
0
null
1,455,215,811,000
1,455,215,811,000
null
UTF-8
Lean
false
false
447
lean
import data.set open set function eq.ops variables {X Y Z : Type} lemma image_compose (f : Y → X) (g : X → Y) (a : set X) : (f ∘ g) ' a = f ' (g ' a) := ext (take z, iff.intro (assume Hz, obtain x Hx₁ Hx₂, from Hz, by repeat (apply mem_image | assumption | reflexivity)) (assume Hz, obtain ...
4f5403d341d85c87e990261c4e32ef274371e05b
d9ed0fce1c218297bcba93e046cb4e79c83c3af8
/library/init/category/functor.lean
d87680fc6d0ca9d9265ab114edb2e53d48395933
[ "Apache-2.0" ]
permissive
leodemoura/lean_clone
005c63aa892a6492f2d4741ee3c2cb07a6be9d7f
cc077554b584d39bab55c360bc12a6fe7957afe6
refs/heads/master
1,610,506,475,484
1,482,348,354,000
1,482,348,543,000
77,091,586
0
0
null
null
null
null
UTF-8
Lean
false
false
464
lean
/- Copyright (c) Luke Nelson and Jared Roesch. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Luke Nelson and Jared Roesch -/ prelude universe variables u v class functor (f : Type u → Type v) : Type (max u+1 v) := (map : Π {a b : Type u}, (a → b) → f a → f b) @[inli...
41db0b1640b5ef188e3ff1e0ad0dc9562227626c
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/topology/bases.lean
1eb02bb44a141c3dd80efa9b8850877559bbfdb1
[ "Apache-2.0" ]
permissive
lacker/mathlib
f2439c743c4f8eb413ec589430c82d0f73b2d539
ddf7563ac69d42cfa4a1bfe41db1fed521bd795f
refs/heads/master
1,671,948,326,773
1,601,479,268,000
1,601,479,268,000
298,686,743
0
0
Apache-2.0
1,601,070,794,000
1,601,070,794,000
null
UTF-8
Lean
false
false
13,344
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro Bases of topologies. Countability axioms. -/ import topology.continuous_on open set filter classical open_locale topological_space filter noncomputable...
89c2b9b19de256bff77bc302b3e81cedb7827ef3
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/DeclarationRange.lean
1a8e7e369ce5fb49608ef2030f424dc181c3c8e3
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
EdAyers/lean4
57ac632d6b0789cb91fab2170e8c9e40441221bd
37ba0df5841bde51dbc2329da81ac23d4f6a4de4
refs/heads/master
1,676,463,245,298
1,660,619,433,000
1,660,619,433,000
183,433,437
1
0
Apache-2.0
1,657,612,672,000
1,556,196,574,000
Lean
UTF-8
Lean
false
false
2,510
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.MonadEnv import Lean.AuxRecursor import Lean.ToExpr namespace Lean /-- Store position information for declarations. -/ structure DeclarationRa...
c99e3e5351b0840d2cce5a2e9fe63a70f4422a33
a975e2962782fb953969766cc7133ba18aaa60c9
/src/alc.lean
e5ce602f4a022379627d58fa9d08f12a79b37fb8
[]
no_license
leodemoura/alc-lean
f3d3efa0f11b0a663ea74c74c10085212ba52295
6e3fce980ec3bb95aeda667062da86a45036fce9
refs/heads/master
1,678,082,711,848
1,612,907,314,000
1,612,907,314,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,873
lean
import data.set open set namespace ALC inductive Role (AtomicRole : Type) : Type | Atomic : AtomicRole → Role inductive Concept (AtomicConcept AtomicRole : Type) : Type | TopConcept : Concept | BottomConcept : Concept | Atomic : AtomicConcept → Concept | Negation : Concept → ...
aaf3a33d2acad351c22765d984b2986e7cea8101
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/analysis/specific_limits.lean
72b1360fa1665d57d8b192794b6381753900ef59
[ "Apache-2.0" ]
permissive
agjftucker/mathlib
d634cd0d5256b6325e3c55bb7fb2403548371707
87fe50de17b00af533f72a102d0adefe4a2285e8
refs/heads/master
1,625,378,131,941
1,599,166,526,000
1,599,166,526,000
160,748,509
0
0
Apache-2.0
1,544,141,789,000
1,544,141,789,000
null
UTF-8
Lean
false
false
30,200
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl A collection of specific limit computations. -/ import analysis.normed_space.basic import algebra.geom_sum import topology.instances.ennreal import tactic.ring_exp non...
e21611189b05dff0e3a4d5ca5307d49e85cc5179
6329dd15b8fd567a4737f2dacd02bd0e8c4b3ae4
/src/game/world1/level9.lean
4fa87841f604bc69e6094ab2e6f984d0375cd581
[ "Apache-2.0" ]
permissive
agusakov/mathematics_in_lean_game
76e455a688a8826b05160c16c0490b9e3d39f071
ad45fd42148f2203b973537adec7e8a48677ba2a
refs/heads/master
1,666,147,402,274
1,592,119,137,000
1,592,119,137,000
272,111,226
0
0
null
null
null
null
UTF-8
Lean
false
false
564
lean
import data.real.basic --imports the real numbers import tactic.maths_in_lean_game -- hide namespace calculating -- hide /- Theorem : sub_self -/ /- #Calculating ## Level 9: Practice For this problem, you can use the theorem `sub_self`, where `sub_self a` is the identity `a - a = 0`. -/ /- Lemma : no-side-bar For...
a9ac52920d1f27304286b366babf2bd912d7e462
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/list/erase_dup.lean
38a4a9619905ca37ee78f27b4ffb0df379c825fc
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
2,545
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.list.nodup /-! # Erasure of duplicates in a list This file proves basic results about `list.erase_dup` (definition in `data.list.defs`). `erase_dup l` r...
26fbe08e304ff7637b68fd3c9ba53df5c0b27cdd
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/topology/homeomorph.lean
e9947077d9d8712b4c20225cfe7e0491f04672f6
[ "Apache-2.0" ]
permissive
anrddh/mathlib
6a374da53c7e3a35cb0298b0cd67824efef362b4
a4266a01d2dcb10de19369307c986d038c7bb6a6
refs/heads/master
1,656,710,827,909
1,589,560,456,000
1,589,560,456,000
264,271,800
0
0
Apache-2.0
1,589,568,062,000
1,589,568,061,000
null
UTF-8
Lean
false
false
7,203
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Patrick Massot, Sébastien Gouëzel, Zhouhang Zhou, Reid Barton -/ import topology.dense_embedding open set variables {α : Type*} {β : Type*} {γ : Type*} {δ : Type*} /-- ...
b3e1e449664e36b4460ea7c76b88cd84e72d8308
4950bf76e5ae40ba9f8491647d0b6f228ddce173
/src/measure_theory/lp_space.lean
96e32d70d2eb6a8f130aecb9b0fef2a3eccae5f7
[ "Apache-2.0" ]
permissive
ntzwq/mathlib
ca50b21079b0a7c6781c34b62199a396dd00cee2
36eec1a98f22df82eaccd354a758ef8576af2a7f
refs/heads/master
1,675,193,391,478
1,607,822,996,000
1,607,822,996,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,655
lean
/- Copyright (c) 2020 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Rémy Degenne. -/ import measure_theory.l1_space import analysis.mean_inequalities /-! # ℒp space This file describes properties of measurable functions with finite seminorm `(∫ ∥f a∥^p ...
a94697075d3896341e0a6eb3dc046dbe0948a87b
1437b3495ef9020d5413178aa33c0a625f15f15f
/data/equiv/algebra.lean
4ccd6ffa21e83b0cdf570e2c4165c9ed3b337f6c
[ "Apache-2.0" ]
permissive
jean002/mathlib
c66bbb2d9fdc9c03ae07f869acac7ddbfce67a30
dc6c38a765799c99c4d9c8d5207d9e6c9e0e2cfd
refs/heads/master
1,587,027,806,375
1,547,306,358,000
1,547,306,358,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,875
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import data.equiv.basic algebra.field universes u v w namespace equiv variables {α : Type u} [group α] protected def mul_left (a : α) : α ≃ α := { to_fun := λx,...
b88a12890c6ce171ba46d3f7b945c1fbe0877e5d
8e2026ac8a0660b5a490dfb895599fb445bb77a0
/library/init/algebra/group.lean
991816c2c7a88c4a2ae14546b689a3d1435040d4
[ "Apache-2.0" ]
permissive
pcmoritz/lean
6a8575115a724af933678d829b4f791a0cb55beb
35eba0107e4cc8a52778259bb5392300267bfc29
refs/heads/master
1,607,896,326,092
1,490,752,175,000
1,490,752,175,000
86,612,290
0
0
null
1,490,809,641,000
1,490,809,641,000
null
UTF-8
Lean
false
false
15,728
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura -/ prelude import init.logic init.algebra.ac init.meta init.meta.decl_cmds init.meta.smt.rsimp /- Make sure instances defined in this file have...
74ae6677c046db0857445f809051aece31f0e194
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/geometry/euclidean/circumcenter.lean
b44646ccc308e60e675e8aecf1d21c57d2a95401
[ "Apache-2.0" ]
permissive
robertylewis/mathlib
3d16e3e6daf5ddde182473e03a1b601d2810952c
1d13f5b932f5e40a8308e3840f96fc882fae01f0
refs/heads/master
1,651,379,945,369
1,644,276,960,000
1,644,276,960,000
98,875,504
0
0
Apache-2.0
1,644,253,514,000
1,501,495,700,000
Lean
UTF-8
Lean
false
false
38,244
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers -/ import geometry.euclidean.basic import linear_algebra.affine_space.finite_dimensional import tactic.derive_fintype /-! # Circumcenter and circumradius This file proves ...
6db79011d55b51b4401676284d716113bec1fb06
c777c32c8e484e195053731103c5e52af26a25d1
/src/measure_theory/integral/set_to_l1.lean
4b2fece04f2c5a72a2aa13cfc93f078aebaee408
[ "Apache-2.0" ]
permissive
kbuzzard/mathlib
2ff9e85dfe2a46f4b291927f983afec17e946eb8
58537299e922f9c77df76cb613910914a479c1f7
refs/heads/master
1,685,313,702,744
1,683,974,212,000
1,683,974,212,000
128,185,277
1
0
null
1,522,920,600,000
1,522,920,600,000
null
UTF-8
Lean
false
false
88,218
lean
/- Copyright (c) 2021 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou, Yury Kudryashov, Sébastien Gouëzel, Rémy Degenne -/ import measure_theory.function.simple_func_dense_lp /-! # Extension of a linear function from indicators to L1 Let `T...
3b6860a64868568e742f48c184d3e8c14fd12313
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/data/real/irrational.lean
006e0db47bdf84648acc18563f66d2329fef3c2c
[ "Apache-2.0" ]
permissive
fpvandoorn/mathlib
b21ab4068db079cbb8590b58fda9cc4bc1f35df4
b3433a51ea8bc07c4159c1073838fc0ee9b8f227
refs/heads/master
1,624,791,089,608
1,556,715,231,000
1,556,715,231,000
165,722,980
5
0
Apache-2.0
1,552,657,455,000
1,547,494,646,000
Lean
UTF-8
Lean
false
false
4,747
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne. Irrationality of real numbers. -/ import data.real.basic data.padics.padic_norm open rat real multiplicity def irrati...