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
5397beec0b85c08fc2cb5164efe472596d3e5d46
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/order/filter/at_top_bot.lean
e0cc32ed65b4bcd2722acbf2b46fb096ccc77135
[ "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
80,831
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, Jeremy Avigad, Yury Kudryashov, Patrick Massot -/ import algebra.order.field.basic import data.finset.preimage import data.set.intervals.disjoint import data.set.interv...
48b0e762bc6d04b5c78ab4e08e1883d37e5d034b
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/dfinsupp.lean
35810fb2c7b790ce6b646bf4275ec81105419136
[ "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
42,025
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Kenny Lau -/ import algebra.module.linear_map import algebra.module.pi import algebra.big_operators.basic import data.set.finite import linear_algebra.basic /-! # Dependent...
1b7231f39f3cfc3c1b37a62b122d12939c979d53
957a80ea22c5abb4f4670b250d55534d9db99108
/library/init/category/state.lean
0d879655224c8aaedb040fefd091d4c208533617
[ "Apache-2.0" ]
permissive
GaloisInc/lean
aa1e64d604051e602fcf4610061314b9a37ab8cd
f1ec117a24459b59c6ff9e56a1d09d9e9e60a6c0
refs/heads/master
1,592,202,909,807
1,504,624,387,000
1,504,624,387,000
75,319,626
2
1
Apache-2.0
1,539,290,164,000
1,480,616,104,000
C++
UTF-8
Lean
false
false
3,648
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.meta.interactive universes u v def state (σ α : Type u) : Type u := σ → α × σ section variables {σ α β : Type u} @[inline] def state_...
4908d662b49d48499d3a3c0a98a91d0925e32df7
367134ba5a65885e863bdc4507601606690974c1
/archive/imo/imo1964_q1.lean
4e98e810eccb32fe0a96c9ffc9bf1bab403a7862
[ "Apache-2.0" ]
permissive
kodyvajjha/mathlib
9bead00e90f68269a313f45f5561766cfd8d5cad
b98af5dd79e13a38d84438b850a2e8858ec21284
refs/heads/master
1,624,350,366,310
1,615,563,062,000
1,615,563,062,000
162,666,963
0
0
Apache-2.0
1,545,367,651,000
1,545,367,651,000
null
UTF-8
Lean
false
false
2,877
lean
/- Copyright (c) 2020 Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard -/ import tactic import data.nat.modeq /-! # IMO 1964 Q1 (a) Find all positive integers $n$ for which $2^n-1$ is divisible by $7$. (b) Prove that there is no positive ...
7b97631f1bf648ee2559328307fabbedef090c76
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/topology/metric_space/basic.lean
614e336e1644e2bca19492b7d5a3249aca82f4f6
[ "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
103,831
lean
/- Copyright (c) 2015, 2017 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis, Johannes Hölzl, Mario Carneiro, Sébastien Gouëzel -/ import data.int.interval import topology.algebra.ordered.compact import topology.metric_space...
427b8dd508a70ca3b0289e8c9696d04a1e605eff
ff5230333a701471f46c57e8c115a073ebaaa448
/library/init/algebra/order.lean
ab3f8320ab324a3e02cc88fe974e7bab664fa26f
[ "Apache-2.0" ]
permissive
stanford-cs242/lean
f81721d2b5d00bc175f2e58c57b710d465e6c858
7bd861261f4a37326dcf8d7a17f1f1f330e4548c
refs/heads/master
1,600,957,431,849
1,576,465,093,000
1,576,465,093,000
225,779,423
0
3
Apache-2.0
1,575,433,936,000
1,575,433,935,000
null
UTF-8
Lean
false
false
9,253
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.logic init.classical init.meta.name init.algebra.classes /- Make sure instances defined in this file have lower priority than the ones ...
3148cf9c5c69af97808a40225d510042f1c3231e
9bb72db9297f7837f673785604fb89b3184e13f8
/tests/lean/json.lean
8a5974327565568d00a4e1ed590bae8069b45ace
[ "Apache-2.0" ]
permissive
dselsam/lean
ec83d7592199faa85687d884bbaaa570b62c1652
6b0bd5bc2e07e13880d332c89093fe3032bb2469
refs/heads/master
1,621,807,064,966
1,611,454,685,000
1,611,975,642,000
42,734,348
3
3
null
1,498,748,560,000
1,442,594,289,000
C++
UTF-8
Lean
false
false
1,537
lean
#eval to_string $ json.parse $ "[0.7]" run_cmd tactic.success_if_fail $ json.parse "spurgles" meta def ball : list bool → bool := λ xs, xs.foldl band tt meta instance : decidable_eq native.float := by apply_instance meta def json.compare : Π (x y : json), bool | (json.of_string s) (json.of_string s') := s = s' | (js...
7fe2a43b787cecf162c68eb39da4b8b4112234bd
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/interactive/goal_info.lean
96bbbbd758c310dfb02172d624c89e9653c9d526
[ "Apache-2.0" ]
permissive
bre7k30/lean
de893411bcfa7b3c5572e61b9e1c52951b310aa4
5a924699d076dab1bd5af23a8f910b433e598d7a
refs/heads/master
1,610,900,145,817
1,488,006,845,000
1,488,006,845,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
925
lean
constant addc {a b : nat} : a + b = b + a constant addassoc {a b c : nat} : (a + b) + c = a + (b + c) constant zadd (a : nat) : 0 + a = a open nat example : ∀ n m : ℕ, n + m = m + n := begin intros n m, induction m with m' ih, --^ "command": "info" { change n + 0 = 0 + n, simp [zadd] }, ...
fe4cc74d89dcf4d39929730eb265b0be51f8b5a1
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/fully_faithful.lean
678eb927e4c37939304ffb7bb76ad00088de9d66
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
11,038
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.natural_isomorphism import Mathlib.data.equiv.basic import Mathlib.PostPort...
0cb8e846f27b3f999f4fcad94274337f476d563b
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/measure_theory/measure/ae_disjoint.lean
6b740e0197ffc5d10ba353156405b738802fee5f
[ "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
5,560
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 measure_theory.measure.measure_space_def /-! # Almost everywhere disjoint sets > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file requir...
a2e7e2b21964b5cf0b774e62c7f3dd4c98beb616
a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7
/src/algebra/pi_instances.lean
d516f73c1df9ca6214ce6715f4fd425b885c3d29
[ "Apache-2.0" ]
permissive
kmill/mathlib
ea5a007b67ae4e9e18dd50d31d8aa60f650425ee
1a419a9fea7b959317eddd556e1bb9639f4dcc05
refs/heads/master
1,668,578,197,719
1,593,629,163,000
1,593,629,163,000
276,482,939
0
0
null
1,593,637,960,000
1,593,637,959,000
null
UTF-8
Lean
false
false
19,229
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Patrick Massot -/ import algebra.module import ring_theory.subring import ring_theory.prod open_locale big_operators /-! # Pi instances for algebraic structures ## Impleme...
b5bcdcba94c4ab6b1c611748d838248a389f1a49
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/do_const_pat.lean
6fcf9604a86a8e3d6171d0b7435f84156f0dbcbc
[ "Apache-2.0" ]
permissive
leanprover-community/lean
12b87f69d92e614daea8bcc9d4de9a9ace089d0e
cce7990ea86a78bdb383e38ed7f9b5ba93c60ce0
refs/heads/master
1,687,508,156,644
1,684,951,104,000
1,684,951,104,000
169,960,991
457
107
Apache-2.0
1,686,744,372,000
1,549,790,268,000
C++
UTF-8
Lean
false
false
59
lean
run_cmd do tt ← pure ff | tactic.skip, tactic.failed
8d29a24822195420e1fe8b4fd2044039b8d92ac2
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/group_theory/perm/cycle_type.lean
efb6b818ee83e24aef6cb7d21a4ba3e95f3409ef
[ "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
18,882
lean
/- Copyright (c) 2020 Thomas Browning. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Thomas Browning -/ import combinatorics.partition import algebra.gcd_monoid.multiset import tactic.linarith import group_theory.perm.cycles import group_theory.sylow /-! # Cycle Typ...
2a5a572dff6b33058b1db4768e6153709a706e66
63abd62053d479eae5abf4951554e1064a4c45b4
/src/category_theory/simple.lean
02ffe82a9f44edbbdd9f18ce464a3086101b2471
[ "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
3,994
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel, Scott Morrison -/ import category_theory.limits.shapes.zero import category_theory.limits.shapes.kernels import category_theory.abelian.basic noncomputable theory open...
b8db17bfe6b726f676483fab389e9b5832ed9d12
8b9f17008684d796c8022dab552e42f0cb6fb347
/tests/lean/run/tactic17.lean
b8f0ebe99bf93112c3444ba23cf8e418c417c196
[ "Apache-2.0" ]
permissive
chubbymaggie/lean
0d06ae25f9dd396306fb02190e89422ea94afd7b
d2c7b5c31928c98f545b16420d37842c43b4ae9a
refs/heads/master
1,611,313,622,901
1,430,266,839,000
1,430,267,083,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
243
lean
import logic open tactic constant A : Type.{1} constant f : A → A → A theorem tst {a b c : A} (H1 : a = b) (H2 : b = c) : f a b = f b c := begin apply (@congr A A _ _ (f a) (f b)), assumption, apply (congr_arg f), assumption end
e8c98596475c56fe3e9460a391e5e5a8f80585b8
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/ring_theory/derivation.lean
81ea1dd99b7ea92d22d50460f39f566f7be044f4
[ "Apache-2.0" ]
permissive
abentkamp/mathlib
d9a75d291ec09f4637b0f30cc3880ffb07549ee5
5360e476391508e092b5a1e5210bd0ed22dc0755
refs/heads/master
1,682,382,954,948
1,622,106,077,000
1,622,106,077,000
149,285,665
0
0
null
null
null
null
UTF-8
Lean
false
false
9,838
lean
/- Copyright © 2020 Nicolò Cavalleri. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nicolò Cavalleri -/ import algebra.lie.of_associative import ring_theory.algebra_tower /-! # Derivations This file defines derivation. A derivation `D` from the `R`-algebra `A` to t...
a09be8d7a88fbb235a69d56f6ebdbf2f10b52e05
b00eb947a9c4141624aa8919e94ce6dcd249ed70
/src/Lean/LocalContext.lean
9b50d7252eacd328251e718a7c75332ef07d142c
[ "Apache-2.0" ]
permissive
gebner/lean4-old
a4129a041af2d4d12afb3a8d4deedabde727719b
ee51cdfaf63ee313c914d83264f91f414a0e3b6e
refs/heads/master
1,683,628,606,745
1,622,651,300,000
1,622,654,405,000
142,608,821
1
0
null
null
null
null
UTF-8
Lean
false
false
15,089
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Std.Data.PersistentArray import Lean.Expr import Lean.Hygiene namespace Lean inductive LocalDecl where | cdecl (index : Nat) (fvarId : FVarId) (u...
be20b92216460beafcada4afab96c5a249e91287
1b8f093752ba748c5ca0083afef2959aaa7dace5
/src/category_theory/equivalence/default.lean
176dcda2b1d567261adfc51d474ba6bbec3c4599
[]
no_license
khoek/lean-category-theory
7ec4cda9cc64a5a4ffeb84712ac7d020dbbba386
63dcb598e9270a3e8b56d1769eb4f825a177cd95
refs/heads/master
1,585,251,725,759
1,539,344,445,000
1,539,344,445,000
145,281,070
0
0
null
1,534,662,376,000
1,534,662,376,000
null
UTF-8
Lean
false
false
6,482
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 import category_theory.embedding import category_theory.tactics.obviously import category_theory.follow_your_nose namespace category...
c066f94f13f523d66cfbd2687885ff7a67c431dc
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/data/equiv/transfer_instance.lean
e7808c3644b3f47314660fa46c4f1e82d950f8fe
[ "Apache-2.0" ]
permissive
abentkamp/mathlib
d9a75d291ec09f4637b0f30cc3880ffb07549ee5
5360e476391508e092b5a1e5210bd0ed22dc0755
refs/heads/master
1,682,382,954,948
1,622,106,077,000
1,622,106,077,000
149,285,665
0
0
null
null
null
null
UTF-8
Lean
false
false
12,575
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 import algebra.field import algebra.module import algebra.algebra.basic import algebra.group.type_tags import ring_theory.ideal.basic /-! # T...
44034637a0b90dcb22c2d14ecbb2e961febe7e4b
4b846d8dabdc64e7ea03552bad8f7fa74763fc67
/tests/lean/run/smt_rsimp.lean
43794ddaefc62cb659c2807466209273319fac2c
[ "Apache-2.0" ]
permissive
pacchiano/lean
9324b33f3ac3b5c5647285160f9f6ea8d0d767dc
fdadada3a970377a6df8afcd629a6f2eab6e84e8
refs/heads/master
1,611,357,380,399
1,489,870,101,000
1,489,870,101,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
412
lean
constant p {α} : α → α → Prop axiom pax {α} : ∀ n : α, p n n open tactic meta def check_expr (p : pexpr) (t : expr) : tactic unit := do e ← to_expr p, guard (t = e) meta def check_target (p : pexpr) : tactic unit := target >>= check_expr p example (s t : list nat) (h : t = s) : p (s ++ []) ([] ++ t) := begin [smt] ...
39bb995d4e7a87911671d92c2a689b55deb5c677
680b0d1592ce164979dab866b232f6fa743f2cc8
/hott/types/equiv.hlean
c9ca55f39461f8321c29da4d3e62c441cf8a608f
[ "Apache-2.0" ]
permissive
syohex/lean
657428ab520f8277fc18cf04bea2ad200dbae782
081ad1212b686780f3ff8a6d0e5f8a1d29a7d8bc
refs/heads/master
1,611,274,838,635
1,452,668,188,000
1,452,668,188,000
49,562,028
0
0
null
1,452,675,604,000
1,452,675,602,000
null
UTF-8
Lean
false
false
7,541
hlean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn Ported from Coq HoTT Theorems about the types equiv and is_equiv -/ import .fiber .arrow arity ..hprop_trunc open eq is_trunc sigma sigma.ops pi fiber function equ...
6418378dc615cdd220cad6878f924326e8eb84b9
7565ffb53cc64430691ce89265da0f944ee43051
/hott/homotopy/homotopy_group.hlean
3c56158d2e572e82de9cd3800ac1f3d710f4812f
[ "Apache-2.0" ]
permissive
EgbertRijke/lean2
cacddba3d150f8b38688e044960a208bf851f90e
519dcee739fbca5a4ab77d66db7652097b4604cd
refs/heads/master
1,606,936,954,854
1,498,836,083,000
1,498,910,882,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
12,535
hlean
/- Copyright (c) 2016 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Clive Newstead -/ import .LES_of_homotopy_groups .sphere .complex_hopf open eq is_trunc trunc_index pointed algebra trunc nat is_conn fiber pointed unit group n...
2c872e0b3b99e34ff3ef12017af4ab4a0f66fea5
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/08_Building_Theories_and_Proofs.org.19.lean
ae14473f2e7f58991989868f4a578cddb547ab79
[]
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
190
lean
import standard set_option pp.implicit true set_option pp.universes true set_option pp.notation false set_option pp.coercions true set_option pp.numerals false set_option pp.full_names true
9169715258087f77f3524367a80fd02c4a4e4321
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/bor_lazy.lean
d3350a6f8a9ee54356075ff3e7458d31b3591c48
[ "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
84
lean
open bool vm_eval (timeit "branch1:" (λ x, tt)) || (timeit "branch2:" (λ x, tt))
c10dc94c3e2e609c42bb5711a14f47dd008300d5
969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb
/src/measure_theory/lp_space.lean
6c709420a4f52ae21ac56616cab7a94ba7f0050b
[ "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
71,221
lean
/- Copyright (c) 2020 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne, Sébastien Gouëzel -/ import measure_theory.ess_sup import measure_theory.ae_eq_fun import analysis.mean_inequalities /-! # ℒp space and Lp space This file describes prope...
614adc01617360b3783f053c9c599a3f79ba2a57
4727251e0cd73359b15b664c3170e5d754078599
/src/data/polynomial/ring_division.lean
8943000d89706c0d34de513d616f946382877587
[ "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
30,240
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker, Johan Commelin -/ import data.polynomial.algebra_map import data.polynomial.degree.lemmas import data.polynomial.div /-! # ...
0a4bc5688e6486be95c1419ea5d0d70e473bfb78
205f0fc16279a69ea36e9fd158e3a97b06834ce2
/src/08_Bi_implication/01_exercise_chain.lean
b5a4e077918eca76d32cfb3b4433a149015f0521
[]
no_license
kevinsullivan/cs-dm-lean
b21d3ca1a9b2a0751ba13fcb4e7b258010a5d124
a06a94e98be77170ca1df486c8189338b16cf6c6
refs/heads/master
1,585,948,743,595
1,544,339,346,000
1,544,339,346,000
155,570,767
1
3
null
1,541,540,372,000
1,540,995,993,000
Lean
UTF-8
Lean
false
false
5,196
lean
/- Warmup: Function composition. -/ /- If we know that P implies Q and that Q implies R, we can conclude that P → R. The name, "hypothetical syllogism", or "chain rule" is given to this reasoning principle. Here's an example. Suppose P → Q express the idea that "if it's raining then the streets are wet, and Q → R,...
7aae2b5278ab45997395bc4a7422de168de2cca4
a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7
/src/ring_theory/free_comm_ring.lean
5dba6dffeb0cf6518c8e3dc9e333e9bf99555e11
[ "Apache-2.0" ]
permissive
kmill/mathlib
ea5a007b67ae4e9e18dd50d31d8aa60f650425ee
1a419a9fea7b959317eddd556e1bb9639f4dcc05
refs/heads/master
1,668,578,197,719
1,593,629,163,000
1,593,629,163,000
276,482,939
0
0
null
1,593,637,960,000
1,593,637,959,000
null
UTF-8
Lean
false
false
15,984
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Johan Commelin -/ import data.equiv.functor import data.mv_polynomial import ring_theory.ideal_operations import ring_theory.free_ring noncomputable theory local attribute [inst...
2cf06f953874bc0907996c13fcb1d72fcb1a2707
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/measure_theory/group/add_circle.lean
67d2fc9588ddf1aa0fe8797405d04145f1636b2d
[ "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
5,458
lean
/- Copyright (c) 2022 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import measure_theory.integral.periodic import data.zmod.quotient /-! # Measure-theoretic results about the additive circle > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > A...
811b21e64e6570f0431bc06d02a3b2b2161c83d2
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/order/filter/lift.lean
557a75fbebb8e89547c76cf470980954c82335d0
[ "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
21,327
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import order.filter.bases /-! # Lift filters along filter and set functions -/ open set open_locale classical filter namespace filter variables {α : Type*} {β : T...
e231bfc18512fe7d159c2b3743998ba023b3a73b
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/data/fin/basic.lean
14abcaf67191a16eb87e15fb65e496594c587709
[ "Apache-2.0" ]
permissive
jumpy4/mathlib
d3829e75173012833e9f15ac16e481e17596de0f
af36f1a35f279f0e5b3c2a77647c6bf2cfd51a13
refs/heads/master
1,693,508,842,818
1,636,203,271,000
1,636,203,271,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
78,574
lean
/- Copyright (c) 2017 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis, Keeley Hoek -/ import data.nat.cast import data.int.basic import tactic.localized import tactic.apply_fun import order.rel_iso /-! # The finite type with `n` element...
f954606e1506f1684f0868877f2d925879476ed7
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/tests/lean/StxQuot.lean
9051e32695e4265c0a981b57360beef95ffb395a
[ "Apache-2.0" ]
permissive
collares/lean4
861a9269c4592bce49b71059e232ff0bfe4594cc
52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee
refs/heads/master
1,691,419,031,324
1,618,678,138,000
1,618,678,138,000
358,989,750
0
0
Apache-2.0
1,618,696,333,000
1,618,696,333,000
null
UTF-8
Lean
false
false
4,125
lean
import Lean open Lean open Lean.Elab def run {α} [ToString α] : Unhygienic α → String := toString ∘ Unhygienic.run #eval run `() #eval run `(Nat.one) #eval run `($Syntax.missing) namespace Lean.Syntax #eval run `($missing) #eval run `($(missing)) #eval run `($(id Syntax.missing) + 1) #eval run $ let id := Syntax.mis...
3aa3e55c3736c59f9d8e70d99374145692872624
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/06_Inductive_Types.org.45.lean
5b7a8de01700362f176c63c241aa10d5c30791b9
[]
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
530
lean
/- page 92 -/ import standard namespace hide inductive eq {A : Type} (a : A) : A → Prop := refl : eq a a theorem subst {A : Type} {a b : A} {P : A → Prop} (H₁ : eq a b) (H₂ : P a) : P b := eq.rec H₂ H₁ -- BEGIN theorem symm {A : Type} {a b : A} (H : eq a b) : eq b a := subst H (eq.refl a) theorem trans {A : Type} ...
75acdd5d3317188a7e0ff1a12e33bc62a96a2a93
8b9f17008684d796c8022dab552e42f0cb6fb347
/hott/algebra/precategory/functor.hlean
7413458bfbd522c1b886fd6ac89fe09c14d75a9a
[ "Apache-2.0" ]
permissive
chubbymaggie/lean
0d06ae25f9dd396306fb02190e89422ea94afd7b
d2c7b5c31928c98f545b16420d37842c43b4ae9a
refs/heads/master
1,611,313,622,901
1,430,266,839,000
1,430,267,083,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,596
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: algebra.precategory.functor Authors: Floris van Doorn, Jakob von Raumer -/ import .basic types.pi .iso open function category eq prod equiv is_equiv sigma sigma.ops is_trunc funext...
e84b9c71c12b5e630f0c1828ad2d900061069c28
bb31430994044506fa42fd667e2d556327e18dfe
/src/ring_theory/ring_hom/surjective.lean
a2687a5774905350636dca2df630116991e7b9db
[ "Apache-2.0" ]
permissive
sgouezel/mathlib
0cb4e5335a2ba189fa7af96d83a377f83270e503
00638177efd1b2534fc5269363ebf42a7871df9a
refs/heads/master
1,674,527,483,042
1,673,665,568,000
1,673,665,568,000
119,598,202
0
0
null
1,517,348,647,000
1,517,348,646,000
null
UTF-8
Lean
false
false
2,476
lean
/- Copyright (c) 2022 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import ring_theory.local_properties /-! # The meta properties of surjective ring homomorphisms. -/ namespace ring_hom open_locale tensor_product open tensor_product a...
8ec14e9787bfad6067b8f3fb83a8eaf17dc4e596
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/topology/algebra/floor_ring.lean
bf9f481ca3b0c9cf1345881d8efc95a811317ca3
[ "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
9,346
lean
/- Copyright (c) 2020 Anatole Dedecker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anatole Dedecker Basic topological facts (limits and continuity) about `floor`, `ceil` and `fract` in a `floor_ring`. -/ import topology.algebra.ordered import algebra.floor open s...
4e888e09f32ba9dcd16b7e72ff4531d9b8c80aaa
b70031c8e2c5337b91d7e70f1e0c5f528f7b0e77
/src/group_theory/perm/sign.lean
5c916e06e984a47f6c0bafd88a4d49a1c5ca218e
[ "Apache-2.0" ]
permissive
molodiuc/mathlib
cae2ba3ef1601c1f42ca0b625c79b061b63fef5b
98ebe5a6739fbe254f9ee9d401882d4388f91035
refs/heads/master
1,674,237,127,059
1,606,353,533,000
1,606,353,533,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
38,892
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import data.fintype.basic import data.finset.sort import algebra.group.conj import algebra.big_operators.basic universes u v open equiv function fintype finset open_loca...
823858fe41fff2aaf8473092bd0ef3f0c9028ca1
4727251e0cd73359b15b664c3170e5d754078599
/src/data/set/intervals/basic.lean
2db4ebb1c677c53370008e0f1faed894f9e24a89
[ "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
57,798
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, Yury Kudryashov, Rémy Degenne -/ import algebra.order.group import order.rel_iso /-! # Intervals In any preorder `α`, we define interv...
d543d1e6e46cdea5679d5209e9fff473d861d958
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/algebra/graded_monoid.lean
17cc1345ad14c889abedf2a8fcfecf91c42e196f
[ "Apache-2.0" ]
permissive
ayush1801/mathlib
78949b9f789f488148142221606bf15c02b960d2
ce164e28f262acbb3de6281b3b03660a9f744e3c
refs/heads/master
1,692,886,907,941
1,635,270,866,000
1,635,270,866,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
12,401
lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import algebra.group.inj_surj import algebra.group_power.basic import data.set_like.basic import data.sigma.basic import group_theory.group_action.defs /-! # Additively-gr...
60b2b767f832d5084b9248757affc76d98db64f9
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Linter/UnusedVariables.lean
cec35d72bdc94db782df85d4690f3b3cdad86901
[ "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
10,303
lean
import Lean.Elab.Command import Lean.Linter.Util import Lean.Elab.InfoTree import Lean.Server.InfoUtils import Lean.Server.References import Std.Data.HashMap namespace Lean.Linter open Lean.Elab.Command Lean.Server Std register_builtin_option linter.unusedVariables : Bool := { defValue := true, descr := "enable t...
384b48793050abd632add146558dce53b3778158
c86b74188c4b7a462728b1abd659ab4e5828dd61
/stage0/src/Lean/Elab/Do.lean
e4c7a2a9f3f9a377d22db74d8f964c375c23c625
[ "Apache-2.0" ]
permissive
cwb96/lean4
75e1f92f1ba98bbaa6b34da644b3dfab2ce7bf89
b48831cda76e64f13dd1c0edde7ba5fb172ed57a
refs/heads/master
1,686,347,881,407
1,624,483,842,000
1,624,483,842,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
69,700
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 -/ import Lean.Elab.Term import Lean.Elab.Binders import Lean.Elab.Match import Lean.Elab.Quotation.Util import Lean.Parser.Do -- HACK: avoid code explosion u...
b717d9b7c13a103a2fe63b6c8ecfb8845dceae85
bdb33f8b7ea65f7705fc342a178508e2722eb851
/data/quot.lean
6d879f039b222d68575aa2690046a7eb086714a7
[ "Apache-2.0" ]
permissive
rwbarton/mathlib
939ae09bf8d6eb1331fc2f7e067d39567e10e33d
c13c5ea701bb1eec057e0a242d9f480a079105e9
refs/heads/master
1,584,015,335,862
1,524,142,167,000
1,524,142,167,000
130,614,171
0
0
Apache-2.0
1,548,902,667,000
1,524,437,371,000
Lean
UTF-8
Lean
false
false
4,417
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 Quotients -- extends the core library -/ variables {α : Sort*} {β : Sort*} @[simp] theorem quotient.eq [r : setoid α] {x y : α} : ⟦x⟧ = ⟦y⟧ ↔ x ≈ y := ⟨quotient.exact,...
cf8037d7bf4f6fcfdd30754361a4f8b02da014ac
32317185abf7e7c963f4c67c190aec61af6b3628
/library/theories/analysis/real_limit.lean
9f7c9bf0c70bd3f607ed59da7e02a4af26577e37
[ "Apache-2.0" ]
permissive
Andrew-Zipperer-unorganized/lean
198a2317f21198cd8d26e7085e484b86277f17f7
dcb35008e1474a0abebe632b1dced120e5f8c009
refs/heads/master
1,622,526,520,945
1,453,576,559,000
1,454,612,842,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
25,106
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis Instantiates the reals as a Banach space. -/ import .metric_space data.real.complete data.set .normed_space open real classical analysis nat noncomputabl...
d336de320d073326351534cbcb919db3b03bc7a8
439bc6c3e74a118aa51df633b8e1f24415804d86
/psh_as_func.lean
90a5bd65387b8663b95c1b58673da89f495ceef7
[]
no_license
jcommelin/lt2019_slides
4ca498db02b5187c5778c21b985126d52d260696
3234cd92920d3d4321cc2cef78b48e5fa55be413
refs/heads/master
1,586,718,101,957
1,546,930,855,000
1,546,930,855,000
162,697,592
1
0
null
null
null
null
UTF-8
Lean
false
false
50
lean
def presheaf (X : Top) := opens(X)ᵒᵖ ⥤ Type
c9e98561f80804fa4c79dea55a694f9ba3b48e8f
46125763b4dbf50619e8846a1371029346f4c3db
/src/geometry/manifold/smooth_manifold_with_corners.lean
1879e9e87456790feb96ede212a6112d3f9a051e
[ "Apache-2.0" ]
permissive
thjread/mathlib
a9d97612cedc2c3101060737233df15abcdb9eb1
7cffe2520a5518bba19227a107078d83fa725ddc
refs/heads/master
1,615,637,696,376
1,583,953,063,000
1,583,953,063,000
246,680,271
0
0
Apache-2.0
1,583,960,875,000
1,583,960,875,000
null
UTF-8
Lean
false
false
25,415
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import analysis.calculus.times_cont_diff geometry.manifold.manifold /-! # Smooth manifolds (possibly with boundary or corners) A smooth manifold is a manifol...
8faec14a48cc5771847537ff6dbdae6f7cea6413
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/typeclass_append.lean
0cf95002d88ba24f620eea778f394e146acba34c
[ "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
814
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Selsam Performance test to ensure quadratic blowup is avoided. -/ class AppendList {α : Type} (xs₁ xs₂ : List α) (out : outParam $ List α) : Type := (u : Unit := ()) ...
6773465b354f4cc2a58f98e66d3d8e6e78e10315
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/theories/number_theory/bezout.lean
a313696322ca7b04fcf6440dd4675ec407ec97ba
[ "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
3,903
lean
/- Copyright (c) 2015 William Peterson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: William Peterson, Jeremy Avigad Extended gcd, Bezout's theorem, chinese remainder theorem. -/ import data.nat.div data.int .primes /- Bezout's theorem -/ section Bezout open nat ...
b03169f768dcc942cf0586b3413535d09adf4d6d
9b9a16fa2cb737daee6b2785474678b6fa91d6d4
/src/field_theory/perfect_closure.lean
b69c055f3e72b3d5f8e87f005e158a44fb20958b
[ "Apache-2.0" ]
permissive
johoelzl/mathlib
253f46daa30b644d011e8e119025b01ad69735c4
592e3c7a2dfbd5826919b4605559d35d4d75938f
refs/heads/master
1,625,657,216,488
1,551,374,946,000
1,551,374,946,000
98,915,829
0
0
Apache-2.0
1,522,917,267,000
1,501,524,499,000
Lean
UTF-8
Lean
false
false
17,187
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Kenny Lau The perfect closure of a field. -/ import algebra.char_p universes u v /-- A perfect field is a field of characteristic p that has p-th root. -/ class perfect_field (α : Type u...
566bdaea81ad1e99a5b903063eaccfcdde9b3b99
f083c4ed5d443659f3ed9b43b1ca5bb037ddeb58
/algebra/field_power.lean
d6f640a5b88e5f62211f9281d23549cc4483019b
[ "Apache-2.0" ]
permissive
semorrison/mathlib
1be6f11086e0d24180fec4b9696d3ec58b439d10
20b4143976dad48e664c4847b75a85237dca0a89
refs/heads/master
1,583,799,212,170
1,535,634,130,000
1,535,730,505,000
129,076,205
0
0
Apache-2.0
1,551,697,998,000
1,523,442,265,000
Lean
UTF-8
Lean
false
false
3,313
lean
/- Copyright (c) 2018 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis Integer power operation on fields. -/ import algebra.group_power tactic.wlog universe u section field_power open int nat variables {α : Type u} [division_ring α] ...
18c01638fb47db523229690ade2ff1ece98b92a2
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/topology/compact_open.lean
566c6ddcc13a20b3bd5d293fc690144399504529
[ "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
14,685
lean
/- Copyright (c) 2018 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton -/ import tactic.tidy import topology.continuous_function.basic import topology.homeomorph import topology.subset_properties /-! # The compact-open topology In this file, we...
fb1c1695eb1981bb970500b47f0353f402449d59
737dc4b96c97368cb66b925eeea3ab633ec3d702
/stage0/src/Lean/Environment.lean
6653f9a48388c0726320a17c58dcbfecb04794b8
[ "Apache-2.0" ]
permissive
Bioye97/lean4
1ace34638efd9913dc5991443777b01a08983289
bc3900cbb9adda83eed7e6affeaade7cfd07716d
refs/heads/master
1,690,589,820,211
1,631,051,000,000
1,631,067,598,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
34,277
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Std.Data.HashMap import Lean.ImportingFlag import Lean.Data.SMap import Lean.Declaration import Lean.LocalContext import Lean.Util.Path import Lean.U...
4de0287555c32bb7416f8db25390188ed0905a0c
82e44445c70db0f03e30d7be725775f122d72f3e
/src/order/lattice.lean
380a83bf5a967083da96158d9705a014d1c0f27d
[ "Apache-2.0" ]
permissive
stjordanis/mathlib
51e286d19140e3788ef2c470bc7b953e4991f0c9
2568d41bca08f5d6bf39d915434c8447e21f42ee
refs/heads/master
1,631,748,053,501
1,627,938,886,000
1,627,938,886,000
228,728,358
0
0
Apache-2.0
1,576,630,588,000
1,576,630,587,000
null
UTF-8
Lean
false
false
26,891
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 -/ import order.rel_classes import tactic.simps /-! # (Semi-)lattices Semilattices are partially ordered sets with join (greatest lower bound, or `sup`) or meet (least...
9b05a5d8f6db203dd5595e2287d8e77d493263fb
94637389e03c919023691dcd05bd4411b1034aa5
/src/assignments/assignment_2/assignment_2_help.lean
c7b70616599b7536973e77d2a54c441bca4b3d20
[]
no_license
kevinsullivan/complogic-s21
7c4eef2105abad899e46502270d9829d913e8afc
99039501b770248c8ceb39890be5dfe129dc1082
refs/heads/master
1,682,985,669,944
1,621,126,241,000
1,621,126,241,000
335,706,272
0
38
null
1,618,325,669,000
1,612,374,118,000
Lean
UTF-8
Lean
false
false
739
lean
inductive ST : Type | empty | salmon (e : ST) | trout (e: ST) open ST def e1 := ST.empty def e2 := ST.salmon ST.empty def e3 := salmon (trout (trout e1 ) ) /-salmon empty salmon trout trout empty -/ def fishEvalHelper : ST → prod nat...
1979913c74864edf6aefc584dd33ec424e3a5166
367134ba5a65885e863bdc4507601606690974c1
/src/order/filter/germ.lean
48169a5137bedbc5cf99343a8508e248cd53ae2d
[ "Apache-2.0" ]
permissive
kodyvajjha/mathlib
9bead00e90f68269a313f45f5561766cfd8d5cad
b98af5dd79e13a38d84438b850a2e8858ec21284
refs/heads/master
1,624,350,366,310
1,615,563,062,000
1,615,563,062,000
162,666,963
0
0
Apache-2.0
1,545,367,651,000
1,545,367,651,000
null
UTF-8
Lean
false
false
21,662
lean
/- Copyright (c) 2020 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov, Abhimanyu Pallavi Sudhir -/ import order.filter.basic import algebra.module.pi /-! # Germ of a function at a filter The germ of a function `f : α → β` at a fi...
4cb9b47c2c924128ea3f411bc8c503b0b4e00499
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/number_theory/liouville/liouville_with.lean
f202e4554a99c97c20c56a0ff9f69f15b51774f8
[ "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
14,930
lean
/- Copyright (c) 2021 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import analysis.special_functions.pow.asymptotics import number_theory.liouville.basic import topology.instances.irrational /-! # Liouville numbers with a gi...
427848fb415bdfd576465df1277ecfaced01367d
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/number_theory/bernoulli_polynomials.lean
3e7801f402ce0695f2e02e25f409cc1905700f76
[ "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
9,972
lean
/- Copyright (c) 2021 Ashvni Narayanan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ashvni Narayanan, David Loeffler -/ import data.polynomial.algebra_map import data.polynomial.derivative import data.nat.choose.cast import number_theory.bernoulli /-! # Bernoulli p...
472924306b5166f7eacb24857ad3367a8d4bc3e3
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/meta/mk_inhabited_instance_auto.lean
da1a8166a07d62d2f1ad838707439edf1fec9be8
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
632
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura Helper tactic for showing that a type is inhabited. -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.meta.interactive_base import Mathlib.Lean3Lib.init....
cb13eb64f1b0a5055fd7cb7156855349474aacd8
b7f22e51856f4989b970961f794f1c435f9b8f78
/hott/hit/trunc.hlean
f5730c1101c54b23fd28a654beb3a3e100be97c8
[ "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
5,678
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 n-truncation of types. Ported from Coq HoTT -/ /- The hit n-truncation is primitive, declared in init.hit. -/ import types.sigma types.pointed open is_trunc eq ...
d5e4acc45eee56dba55bfee296aa82b4714223bb
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/witt_vector/truncated.lean
28a88b8f8070b24b5f70ec2dae137e819889e8fd
[ "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
15,803
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Robert Y. Lewis -/ import ring_theory.witt_vector.init_tail /-! # Truncated Witt vectors > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file requi...
244c4463cc390f6fb7d7d27c348415aa41dad43b
1dd482be3f611941db7801003235dc84147ec60a
/src/ring_theory/polynomial.lean
f59d0f4fcddc2b6e3b0bdd8894b4d7a2799fce20
[ "Apache-2.0" ]
permissive
sanderdahmen/mathlib
479039302bd66434bb5672c2a4cecf8d69981458
8f0eae75cd2d8b7a083cf935666fcce4565df076
refs/heads/master
1,587,491,322,775
1,549,672,060,000
1,549,672,060,000
169,748,224
0
0
Apache-2.0
1,549,636,694,000
1,549,636,694,000
null
UTF-8
Lean
false
false
9,143
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau Hilbert basis theorem: if a ring is noetherian then so is its polynomial ring. -/ import linear_algebra.multivariate_polynomial import data.polynomial import ring_theory.princip...
5e0696d8c82299ce51eae100991f30891c0f0d57
9dc8cecdf3c4634764a18254e94d43da07142918
/src/deprecated/subfield.lean
e6029b971b9a0e242dc6ee1195889dc25c990ce7
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
6,158
lean
/- Copyright (c) 2018 Andreas Swerdlow. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andreas Swerdlow -/ import deprecated.subring import algebra.group_with_zero.power /-! # Unbundled subfields (deprecated) This file is deprecated, and is no longer imported by anyt...
023ed16cc8232db463dfa0b1c86d0cc88b5d3546
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/polynomial/cyclotomic/roots.lean
41e73830f5ffc9d853f89f3ddc83f043e4a6e735
[ "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
10,542
lean
/- Copyright (c) 2020 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca -/ import ring_theory.polynomial.cyclotomic.basic import ring_theory.roots_of_unity.minpoly /-! # Roots of cyclotomic polynomials. > THIS FILE IS SYNCHRONIZED WITH ...
a8fea3d22b21cee61874130b7f43f5188b03b6b5
cf39355caa609c0f33405126beee2739aa3cb77e
/library/init/control/alternative.lean
9847396fd26fae1b09ec8d8b329a84ecd11d9b5b
[ "Apache-2.0" ]
permissive
leanprover-community/lean
12b87f69d92e614daea8bcc9d4de9a9ace089d0e
cce7990ea86a78bdb383e38ed7f9b5ba93c60ce0
refs/heads/master
1,687,508,156,644
1,684,951,104,000
1,684,951,104,000
169,960,991
457
107
Apache-2.0
1,686,744,372,000
1,549,790,268,000
C++
UTF-8
Lean
false
false
1,348
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import init.logic init.control.applicative universes u v class has_orelse (f : Type u → Type v) : Type (max (u+1) v) := (orelse : Π {α : Type u}, f...
4aa584346924c95ddf450f0820efb973965cc1f0
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/linear_algebra/finsupp.lean
6bcfe09e38ec4a671f64835dffe50a9d7efb6b47
[ "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
17,023
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl Linear structures on function with finite support `α →₀ M`. -/ import data.monoid_algebra noncomputable theory open set linear_map submodule open_locale classical na...
a100a31c5014f6c9c61c462c0c05eadd42788689
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/tactic/tidy.lean
e1c5f505f64d3abaf35cb0f770ec764d5a687205
[ "Apache-2.0" ]
permissive
waynemunro/mathlib
e3fd4ff49f4cb43d4a8ded59d17be407bc5ee552
065a70810b5480d584033f7bbf8e0409480c2118
refs/heads/master
1,693,417,182,397
1,634,644,781,000
1,634,644,781,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,367
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import tactic.auto_cases import tactic.chain import tactic.norm_cast namespace tactic namespace tidy /-- Tag interactive tactics (locally) with `[tidy]` to add them...
7554ec632ad1a5a31189334d836f63be6497dd9f
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/algebra/affine.lean
547ef38792c526213675f03da44a89884028447c
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
1,498
lean
/- Copyright (c) 2020 Frédéric Dupuis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Frédéric Dupuis -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.algebra.continuous_functions import Mathlib.linear_algebra.affine_space.affine_m...
87a7ac1fd2ea44b5b477bbdbc04b0f1eaef1c18a
94e33a31faa76775069b071adea97e86e218a8ee
/src/measure_theory/measure/ae_measurable.lean
23d39122c84a1ef224770cbc0fce96dd73de5917
[ "Apache-2.0" ]
permissive
urkud/mathlib
eab80095e1b9f1513bfb7f25b4fa82fa4fd02989
6379d39e6b5b279df9715f8011369a301b634e41
refs/heads/master
1,658,425,342,662
1,658,078,703,000
1,658,078,703,000
186,910,338
0
0
Apache-2.0
1,568,512,083,000
1,557,958,709,000
Lean
UTF-8
Lean
false
false
15,104
lean
/- Copyright (c) 2021 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import measure_theory.measure.measure_space /-! # Almost everywhere measurable functions A function is almost everywhere measurable if it coincides almost eve...
a4136dd9f34104a92270fad94da9a2f8b2bbc768
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/idempotents/biproducts.lean
88c8757c3259c95e847febec138e0b9621c629e4
[ "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
6,016
lean
/- Copyright (c) 2022 Joël Riou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joël Riou -/ import category_theory.idempotents.karoubi /-! # Biproducts in the idempotent completion of a preadditive category > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes ...
9168329b0e74828a404ef2b2a3c55a0a3b216b64
6d50885e7b3f72447a03f21d5268d6af87c0a404
/instructor-notes/2019.10.14.prop_logic/myreverse.lean
871d514acac20666611d0e05b769cf9ba5f8dde8
[]
no_license
kevinsullivan/uva-cs-dm-s20-old
583c756cded281fcee7f1afc42cb3e08f89c2493
797672cb0ffae6a42a3518c9225d5807191fd113
refs/heads/master
1,607,500,914,982
1,578,752,991,000
1,578,752,991,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
290
lean
def app {α : Type} : list α → list α → list α | list.nil l := l | (list.cons h t) l := list.cons h (app t l) def rev {α : Type} : list α → list α | list.nil := list.nil | (list.cons h t) := app (rev t) (list.cons h list.nil) --list.cons (rev t) h #reduce rev [1,2,3,4,5,6]
7081d7d50ddaa23496152135d945b5e0b2f5b194
7cef822f3b952965621309e88eadf618da0c8ae9
/src/topology/algebra/module.lean
32c01063d79c3e6979558a1f84e665df8a83c130
[ "Apache-2.0" ]
permissive
rmitta/mathlib
8d90aee30b4db2b013e01f62c33f297d7e64a43d
883d974b608845bad30ae19e27e33c285200bf84
refs/heads/master
1,585,776,832,544
1,576,874,096,000
1,576,874,096,000
153,663,165
0
2
Apache-2.0
1,544,806,490,000
1,539,884,365,000
Lean
UTF-8
Lean
false
false
13,917
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jan-David Salchow, Sébastien Gouëzel, Jean Lo -/ import topology.algebra.ring linear_algebra.basic ring_theory.algebra /-! # Theory of topological modules and continuous linear m...
df23d68bc1c0b5c871467e693860b82002cbd565
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/periodic.lean
987bef4bdd16bcf6c1cd67da481e4d65ab7f518f
[ "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
18,169
lean
/- Copyright (c) 2021 Benjamin Davidson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Benjamin Davidson -/ import algebra.field.opposite import algebra.module.basic import algebra.order.archimedean import data.int.parity import group_theory.coset /-! # Periodicity ...
81c618073afedfa0a0497875a5d87912ecdee9e8
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/stage0/src/Lean/Parser/Transform.lean
ac076594741643d543d8c6f0dcaf60ef7a285ffc
[ "Apache-2.0" ]
permissive
dupuisf/lean4
d082d13b01243e1de29ae680eefb476961221eef
6a39c65bd28eb0e28c3870188f348c8914502718
refs/heads/master
1,676,948,755,391
1,610,665,114,000
1,610,665,114,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,686
lean
/- Copyright (c) 2019 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.Parser.Basic namespace Lean namespace Syntax def manyToSepBy (stx : Syntax) (sepTk : String) : Syntax := do match stx wit...
910ab14ad4f68f44cd2cd3d79acc9b966757ddb1
cc060cf567f81c404a13ee79bf21f2e720fa6db0
/lean/20170310-extracting-lemmas.lean
14cf537f00872e093fe963b3e4e7d57900914f45
[ "Apache-2.0" ]
permissive
semorrison/proof
cf0a8c6957153bdb206fd5d5a762a75958a82bca
5ee398aa239a379a431190edbb6022b1a0aa2c70
refs/heads/master
1,610,414,502,842
1,518,696,851,000
1,518,696,851,000
78,375,937
2
1
null
null
null
null
UTF-8
Lean
false
false
3,892
lean
open tactic open smt_tactic meta def blast : tactic unit := using_smt $ intros >> try simp >> try eblast notation `♮` := by abstract { blast } universe variables u v structure Category := (Obj : Type u) (Hom : Obj → Obj → Type v) (identity : Π X : Obj, Hom X X) (compose : Π { X Y Z : Obj }, Hom X Y → Hom ...
3456203ea7889047a1442431087e0380e35fbd65
f4bff2062c030df03d65e8b69c88f79b63a359d8
/kb_solns/sets_level06.lean
9ad4045db461d5b798f887d9f998364e8cda8683
[ "Apache-2.0" ]
permissive
adastra7470/real-number-game
776606961f52db0eb824555ed2f8e16f92216ea3
f9dcb7d9255a79b57e62038228a23346c2dc301b
refs/heads/master
1,669,221,575,893
1,594,669,800,000
1,594,669,800,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,235
lean
import game.sets.sets_level05 -- hide import tactic -- hide namespace xena -- hide variable X : Type /- # Chapter 1 : Sets ## Level 6 -/ /- See if you can prove the identity below using the `ext` tactic. Applying `ext,` with no arguments will apply as many *extensionality* lemmas as Lean can find. The following ...
89a3fc5613f2b9cdb529bcd6f0d2ebd95bf21351
abd677583c7e4d55daf9487b82da11b7c5498d8d
/src/fol.lean
ade9390c9296f6e70396d72f091c8d9300079351
[ "Apache-2.0" ]
permissive
jesse-michael-han/embed
e9c346918ad58e03933bdaa057a571c0cc4a7641
c2fc188328e871e18e0dcb8258c6d0462c70a8c9
refs/heads/master
1,584,677,705,005
1,528,451,877,000
1,528,451,877,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,390
lean
import .prop namespace fol variable {α : Type} class is_symb (α : Type) extends prop.is_symb α := (fa : α) (ex : α) inductive symb : Type | fn : string → symb | prd : string → symb | true : symb | false : symb | not : symb | and : symb | or : symb | imp : symb | fa : symb | ex : symb instance : decidable_eq ...
b148bc688e6fe51753b1729e0122c29e9f46bd3c
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/fintype/sigma.lean
17ca0c138b29750e6a50241aed5de84a4b916830
[ "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
867
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.fintype.basic import data.finset.sigma /-! # fintype instances for sigma types -/ open function open_locale nat universes u v variables {α β γ : Type...
86fa8324dce5ef8f4908344fe8cdaf8b4ae4abad
86f6f4f8d827a196a32bfc646234b73328aeb306
/examples/logic/unnamed_2016.lean
7afb204c4662517e0b967634030fa3a0a17ce1b6
[]
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
247
lean
import tactic -- BEGIN example {m n k : ℕ} (h : m ∣ n ∨ m ∣ k) : m ∣ n * k := begin rcases h with ⟨a, rfl⟩ | ⟨b, rfl⟩, { rw [mul_assoc], apply dvd_mul_right }, rw [mul_comm, mul_assoc], apply dvd_mul_right end -- END
a490468ee4af5d9f4690722b53e6ff0fab953c38
82e44445c70db0f03e30d7be725775f122d72f3e
/src/measure_theory/prod_group.lean
7f553a4158b93317765e6a670977cca600f633d1
[ "Apache-2.0" ]
permissive
stjordanis/mathlib
51e286d19140e3788ef2c470bc7b953e4991f0c9
2568d41bca08f5d6bf39d915434c8447e21f42ee
refs/heads/master
1,631,748,053,501
1,627,938,886,000
1,627,938,886,000
228,728,358
0
0
Apache-2.0
1,576,630,588,000
1,576,630,587,000
null
UTF-8
Lean
false
false
11,092
lean
/- Copyright (c) 2021 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import measure_theory.prod import measure_theory.group /-! # Measure theory in the product of groups In this file we show properties about measure theory in pro...
727b9a8049c0caf874a190262646480b5b5adbaf
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/data/set/lattice.lean
28812007955e520394a143b7b3318f2d82c7230c
[ "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
45,254
lean
/- 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, Johannes Hölzl, Mario Carneiro -- QUESTION: can make the first argument in ∀ x ∈ a, ... implicit? -/ import order.complete_boolean_algebra import data...
5b335a351d7316e40aca0ab1600d54167401c7cf
94e33a31faa76775069b071adea97e86e218a8ee
/src/measure_theory/measure/null_measurable.lean
5fac6e285d8ab8e1fc5fb8efe1d003e062e359ba
[ "Apache-2.0" ]
permissive
urkud/mathlib
eab80095e1b9f1513bfb7f25b4fa82fa4fd02989
6379d39e6b5b279df9715f8011369a301b634e41
refs/heads/master
1,658,425,342,662
1,658,078,703,000
1,658,078,703,000
186,910,338
0
0
Apache-2.0
1,568,512,083,000
1,557,958,709,000
Lean
UTF-8
Lean
false
false
19,221
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, Yury Kudryashov -/ import measure_theory.measure.ae_disjoint /-! # Null measurable sets and complete measures ## Main definitions ### Null measurable...
83a233e792126d32ebaf70c614a0307865cf35c9
a11f4536efad51bc2b648123619720f3b9318c0f
/src/not_not_not.lean
03b1c0f0ffb9924b11d2713080c969635ea61949
[]
no_license
ezrasitorus/codewars_lean
909471d43f5130669a90b8e11afc37aec2f21d8f
6d1abcc1253403511f4cfd767c645596175e4fd3
refs/heads/master
1,672,659,589,352
1,603,281,507,000
1,603,281,507,000
288,579,451
0
0
null
null
null
null
UTF-8
Lean
false
false
163
lean
theorem not_not_not (P : Prop) : ¬ ¬ ¬ P → ¬ P := λ h p, h $ not_not_intro p theorem not_not_not' (P : Prop) : ¬ P → ¬ ¬ ¬ P := λ x y, y x
919bc5b5224c708b433f82e2ac049efecd250721
54d7e71c3616d331b2ec3845d31deb08f3ff1dea
/tests/lean/run/tick_id.lean
5443e46a226120fb7a4d5c963a6aa1c923713385
[ "Apache-2.0" ]
permissive
pachugupta/lean
6f3305c4292288311cc4ab4550060b17d49ffb1d
0d02136a09ac4cf27b5c88361750e38e1f485a1a
refs/heads/master
1,611,110,653,606
1,493,130,117,000
1,493,167,649,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
237
lean
def id₁ {'a : Type} (x : 'a) : 'a := x def id₂ {α : Type} (a : α) : α := a def id₃ {β : Type} (b : β) : β := b #check λ (α β : Type) (f : α → β) (a : α), f a #check λ ('a 'b : Type) (f : 'a → 'b) (a : 'a), f a
871447ba2bb40413caac255b77c3d3f43a59e9d3
cf39355caa609c0f33405126beee2739aa3cb77e
/tmp/mini_crush.lean
e2c0fdd3a16b22642bb7d909bb8cb99fb110d4b4
[ "Apache-2.0" ]
permissive
leanprover-community/lean
12b87f69d92e614daea8bcc9d4de9a9ace089d0e
cce7990ea86a78bdb383e38ed7f9b5ba93c60ce0
refs/heads/master
1,687,508,156,644
1,684,951,104,000
1,684,951,104,000
169,960,991
457
107
Apache-2.0
1,686,744,372,000
1,549,790,268,000
C++
UTF-8
Lean
false
false
12,913
lean
declare_trace mini_crush namespace mini_crush open smt_tactic tactic /- Collect relevant functions -/ meta def is_auto_construction : name → bool | (name.mk_string "brec_on" p) := tt | (name.mk_string "cases_on" p) := tt | (name.mk_string "rec_on" p) := tt | (name.mk_string "no_confusion" p) := tt | (n...
462201f5046c593b69114653ab2fad74ca0c7368
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/tests/lean/run/match1.lean
ad67f5d62632429c13b226447c61dfdfcb76f123
[ "Apache-2.0" ]
permissive
walterhu1015/lean4
b2c71b688975177402758924eaa513475ed6ce72
2214d81e84646a905d0b20b032c89caf89c737ad
refs/heads/master
1,671,342,096,906
1,599,695,985,000
1,599,695,985,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,103
lean
new_frontend def f (xs : List Nat) : List Bool := xs.map fun | 0 => true | _ => false #eval f [1, 2, 0, 2] theorem ex1 : f [1, 0, 2] = [false, true, false] := rfl #check f def g (xs : List Nat) : List Bool := xs.map $ by { intro | 0 => exact true | _ => exact false } theorem ex2 : g [1, 0, 2] = [fal...
1434ab873e19a9327ec9ea2a2e14e73cd02110e7
c777c32c8e484e195053731103c5e52af26a25d1
/src/data/set/Union_lift.lean
80b88373cbbede0c806cfcc5279f84dc341167db
[ "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
7,117
lean
/- Copyright (c) 2021 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import data.set.lattice import order.directed /-! # Union lift > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to mathli...
ba3c4a966bc5753433c6b97324c0eeee86cae265
8e381650eb2c1c5361be64ff97e47d956bf2ab9f
/src/Kenny/projective_line.lean
e07eced3cbc1424b2c4a527352c1d9ee8e5daba0
[]
no_license
alreadydone/lean-scheme
04c51ab08eca7ccf6c21344d45d202780fa667af
52d7624f57415eea27ed4dfa916cd94189221a1c
refs/heads/master
1,599,418,221,423
1,562,248,559,000
1,562,248,559,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
19,824
lean
import Kenny.sheaf_of_rings_on_opens instances.affine_scheme data.polynomial universes u v w open topological_space namespace localization variables {R : Type u} [comm_ring R] theorem away.inv_self_mul_of (x : R) : away.inv_self x * of x = 1 := show mk (1 * x) (⟨x, _⟩ * 1) = 1, by rw [one_mul, mul_one, mk_self] ...
a45089409aaf016deff9ea0d8a54bcab626e0cdd
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/tests/lean/run/n1.lean
7ec581b0ebf4bce30aa0091869d417bb38f26ba2
[ "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
843
lean
constant A : Type.{1} constant a : A constant g : A → A constant f : A → A → A (* local f = Const("f") local g = Const("g") local comma = name(",") function parse_pair() local p1 = parser.parse_expr() parser.check_token_next(comma, "invalid pair, ',' expected") print("line: " .. tostring(parser.pos())) ...
d20642c6ea4425ee1a8bf945c92d1dda97b2ba55
9dc8cecdf3c4634764a18254e94d43da07142918
/src/order/modular_lattice.lean
278327a0625cfb74908d1c4df7b9d6ed4751a0c9
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
14,784
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson, Yaël Dillies -/ import order.cover import order.lattice_intervals /-! # Modular Lattices This file defines (semi)modular lattices, a kind of lattice useful in algebra...
c7c271c2560747790d0abb799f79d92ec41381cb
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/field_theory/ratfunc.lean
a7966a588eebc2b1b5c871a0065b39a58bb3f5cf
[ "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
59,856
lean
/- Copyright (c) 2021 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import ring_theory.euclidean_domain import ring_theory.laurent_series import ring_theory.localization.fraction_ring import ring_theory.polynomial.content /-! # The field ...
c7d123b09f1f83777ae0ae4186d4d2dc45d625e1
7cef822f3b952965621309e88eadf618da0c8ae9
/src/tactic/find.lean
f4f4b5119ada1328e0412175753feca248d469c8
[ "Apache-2.0" ]
permissive
rmitta/mathlib
8d90aee30b4db2b013e01f62c33f297d7e64a43d
883d974b608845bad30ae19e27e33c285200bf84
refs/heads/master
1,585,776,832,544
1,576,874,096,000
1,576,874,096,000
153,663,165
0
2
Apache-2.0
1,544,806,490,000
1,539,884,365,000
Lean
UTF-8
Lean
false
false
2,484
lean
/- Copyright (c) 2017 Sebastian Ullrich. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ import tactic.core open expr open interactive open lean.parser open tactic private meta def match_subexpr (p : pattern) : expr → tactic (list expr) | e := pro...
ff90718f472a1a027cf5e9afbcc7d4f31b9ad5ec
37aad7bb98943e11b08c81f7d485a6fc6af1bc08
/src/dev.lean
267616b369908fbd7bb4a57609f9341dc23905e4
[]
no_license
tomhoule/migrate-dev-lean
6f5aae79a4420c960a51b126052bdd199f2e3445
910b62d1bea1d4534560e449ed82aa59100e2e75
refs/heads/main
1,675,289,840,202
1,608,732,095,000
1,608,732,095,000
322,549,132
0
0
null
null
null
null
UTF-8
Lean
false
false
6,297
lean
import data.option.basic /-! # Model of the Prisma migration engine `devDiagnostic` command The `devDiagnostic` RPC command acts as a wrapper around `diagnoseMigrationHistory`. Its role is to interpret the diagnostic output, and translate it to a concrete action to be performed by the CLI. The corresponding control...
34f7e1f93677dc6267eb72595f0bbdd39483b6bb
302b541ac2e998a523ae04da7673fd0932ded126
/tests/bench/const_folding.lean
956be8ae2a847ae979f3480ae4fa0eb43669a226
[]
no_license
mattweingarten/lambdapure
4aeff69e8e3b8e78ea3c0a2b9b61770ef5a689b1
f920a4ad78e6b1e3651f30bf8445c9105dfa03a8
refs/heads/master
1,680,665,168,790
1,618,420,180,000
1,618,420,180,000
310,816,264
2
1
null
null
null
null
UTF-8
Lean
false
false
180
lean
set_option trace.compiler.ir.init true inductive Expr | Var : Nat → Expr | Val : Nat → Expr | Add : Expr → Expr → Expr | Mul : Expr → Expr → Expr open Expr Nat
273a7a14263edada24b432b9dc1600a1ccdee676
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/field_theory/adjoin.lean
650537e0402a8b116cd320edf78111ab64857fed
[ "Apache-2.0" ]
permissive
ilitzroth/mathlib
ea647e67f1fdfd19a0f7bdc5504e8acec6180011
5254ef14e3465f6504306132fe3ba9cec9ffff16
refs/heads/master
1,680,086,661,182
1,617,715,647,000
1,617,715,647,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
33,305
lean
/- Copyright (c) 2020 Thomas Browning, Patrick Lutz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Thomas Browning, Patrick Lutz -/ import field_theory.intermediate_field import field_theory.splitting_field import field_theory.separable import ring_theory.adjoin_root...
d4d9b2e4c84820ce5e16f4213ee350f19fa219ec
90edd5cdcf93124fe15627f7304069fdce3442dd
/src/Lean/Aesop/RuleBuilder.lean
201f2621726fddad67663fb51cd86023bd06ca00
[ "Apache-2.0" ]
permissive
JLimperg/lean4-aesop
8a9d9cd3ee484a8e67fda2dd9822d76708098712
5c4b9a3e05c32f69a4357c3047c274f4b94f9c71
refs/heads/master
1,689,415,944,104
1,627,383,284,000
1,627,383,284,000
377,536,770
0
0
null
null
null
null
UTF-8
Lean
false
false
4,747
lean
/- Copyright (c) 2021 Jannis Limperg. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jannis Limperg -/ import Lean.Aesop.Rule import Lean.Aesop.RuleTac open Lean.Meta namespace Lean.Aesop structure RegularRuleBuilderResult where builderName : Name tac : RuleTac...
5d9753610bd03b88077a53f33532079df2c7dc48
a4673261e60b025e2c8c825dfa4ab9108246c32e
/stage0/src/Init/Data/Array/Basic.lean
0aa19fa240a87247010ffec41fb5ebe918586170
[ "Apache-2.0" ]
permissive
jcommelin/lean4
c02dec0cc32c4bccab009285475f265f17d73228
2909313475588cc20ac0436e55548a4502050d0a
refs/heads/master
1,674,129,550,893
1,606,415,348,000
1,606,415,348,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
26,936
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Data.Nat.Basic import Init.Data.Fin.Basic import Init.Data.UInt import Init.Data.Repr import Init.Data.ToString.Basic import Init.Util u...
90e87977496e7b77949fd50bbe33bbb88586cb4f
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/category_theory/limits/shapes/strict_initial.lean
8e78962313e962bb2ced535bc6b5e9b026894b46
[ "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
8,303
lean
/- Copyright (c) 2021 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta -/ import category_theory.limits.shapes.terminal import category_theory.limits.shapes.binary_products import category_theory.epi_mono /-! # Strict initial objects This fi...
c2fe9200a394920a2098573f23439f3b3fd9d777
12ba6fe891179eac82e287c24c8812a046221563
/src/to_mathlib.lean
8acbdc859d37e9139baba74b33c817943f68ca8a
[]
no_license
b-mehta/combinatorics
eca586b4cb7b5e1fd22ec3288f5a2cb4ed6ce4dd
2a8b30709d35f124f3fc9baa5652d231389e9f63
refs/heads/master
1,653,708,057,336
1,626,885,184,000
1,626,885,184,000
228,850,404
19
0
null
null
null
null
UTF-8
Lean
false
false
10,076
lean
/- A collection of useful lemmas that might be useful in mathlib, approximately sorted by where they belong -/ import data.finset import algebra.big_operators import tactic open finset section finset variables {α : Type*} [decidable_eq α] -- lemma sdiff_inter_inter (A B : finset α) : disjoint (A \ B) (A ∩ B) :=...
7c6a9066c7062c7800bbec5411162af1eb8a0af2
82e44445c70db0f03e30d7be725775f122d72f3e
/src/analysis/convex/basic.lean
eef7c1989cbcadd07821120e0e8a399f5af89e7b
[ "Apache-2.0" ]
permissive
stjordanis/mathlib
51e286d19140e3788ef2c470bc7b953e4991f0c9
2568d41bca08f5d6bf39d915434c8447e21f42ee
refs/heads/master
1,631,748,053,501
1,627,938,886,000
1,627,938,886,000
228,728,358
0
0
Apache-2.0
1,576,630,588,000
1,576,630,587,000
null
UTF-8
Lean
false
false
69,074
lean
/- Copyright (c) 2019 Alexander Bentkamp. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp, Yury Kudriashov -/ import data.complex.module import data.set.intervals.image_preimage import linear_algebra.affine_space.affine_map import order.closure /-! #...
22f35edfa049bc27b3c22a65ed4a8efa515d1c29
cf39355caa609c0f33405126beee2739aa3cb77e
/library/init/meta/contradiction_tactic.lean
cb4c422f149011f128d0d27876947e8cf2fb2533
[ "Apache-2.0" ]
permissive
leanprover-community/lean
12b87f69d92e614daea8bcc9d4de9a9ace089d0e
cce7990ea86a78bdb383e38ed7f9b5ba93c60ce0
refs/heads/master
1,687,508,156,644
1,684,951,104,000
1,684,951,104,000
169,960,991
457
107
Apache-2.0
1,686,744,372,000
1,549,790,268,000
C++
UTF-8
Lean
false
false
2,741
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.meta.tactic init.function namespace tactic open expr tactic decidable environment private meta def contra_p_not_p : list expr → list ...
8aaaf69e3cb96f30aec89e2abe7c02cd51b9c58c
2731214ea32f2a1a985300e281fb3117640a16c3
/portmanteau_open_equiv_closed.lean
d89536bd5ff359157bc0681ac6a91a8b03a8cca3
[ "Apache-2.0" ]
permissive
kkytola/lean_portmanteau
5d6a156db959974ebc4f5bed9118a7a2438a33fa
ac55eb4e24be43032cbc082e2b68d8fb8bd63f22
refs/heads/main
1,686,107,117,334
1,625,177,052,000
1,625,177,052,000
381,514,032
1
0
null
null
null
null
UTF-8
Lean
false
false
3,330
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 portmanteau_definitions import portmanteau_topological_lemmas import portmanteau_proba_lemmas noncomputable theory open measure_theory open filter namespace ...