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
d53e29254a9355b80913edd02f607ef37fe484c2
4fa118f6209450d4e8d058790e2967337811b2b5
/src/sheaves/stalk.lean
796e0141d3bf85d020e2dbc8e3e85ff676affb0c
[ "Apache-2.0" ]
permissive
leanprover-community/lean-perfectoid-spaces
16ab697a220ed3669bf76311daa8c466382207f7
95a6520ce578b30a80b4c36e36ab2d559a842690
refs/heads/master
1,639,557,829,139
1,638,797,866,000
1,638,797,866,000
135,769,296
96
10
Apache-2.0
1,638,797,866,000
1,527,892,754,000
Lean
UTF-8
Lean
false
false
2,497
lean
/- Stalk (of types). https://stacks.math.columbia.edu/tag/0078 Author: Ramon Fernandez Mir -/ import topology.basic import sheaves.opens import sheaves.presheaf universe u section stalk variables {α : Type u} [topological_space α] variables (F : presheaf α) (x : α) open topological_space -- An eleme...
a3eb7a8f70cea81254e00bebe2b51c519ed507a9
e2fc96178628c7451e998a0db2b73877d0648be5
/src/classes/unrestricted/closure_properties/concatenation_bonus.lean
21e8233ba0c8e59673a52f36cac028602844c82f
[ "BSD-2-Clause" ]
permissive
madvorak/grammars
cd324ae19b28f7b8be9c3ad010ef7bf0fabe5df2
1447343a45fcb7821070f1e20b57288d437323a6
refs/heads/main
1,692,383,644,884
1,692,032,429,000
1,692,032,429,000
453,948,141
7
0
null
null
null
null
UTF-8
Lean
false
false
3,298
lean
import classes.context_free.basics.inclusion import classes.unrestricted.closure_properties.concatenation import utilities.written_by_others.trim_assoc import utilities.written_by_others.print_sorries variables {T : Type} private def wrap_CF_rule₁ {N₁ : Type} (N₂ : Type) (r : (N₁ × list (symbol T N₁))) : ((nnn T N...
72b73b3b61a7f72be6fa28c32d195c2cd3a47d51
f083c4ed5d443659f3ed9b43b1ca5bb037ddeb58
/tests/replacer.lean
4db03d2b04679b8b2dabe6169cc5f1dcf487f412
[ "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
456
lean
import tactic.replacer open tactic def_replacer sneaky example : true := begin success_if_fail { sneaky }, trivial end @[sneaky] meta def sneaky' : tactic unit := `[skip] example : true := begin sneaky, guard_target true, trivial end @[sneaky] meta def sneaky'' := `[trivial] example : true := begin s...
3b65c61b28fd9040a81473f6022bee1a5ead7d63
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/algebra/char_p/basic.lean
a66b93baf0c6752a3f5524c5045a4c5addfcc6f0
[ "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
16,327
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Joey van Langen, Casper Putz -/ import algebra.iterate_hom import data.int.modeq import data.nat.choose import group_theory.order_of_element /-! # Characteristic of semirings -/...
d0e41d991edc4b359e34f83ad21a4a3e21992b36
217bb195841a8be2d1b4edd2084d6b69ccd62f50
/library/init/lean/parser/trie.lean
1703ffa9fd9035c88932e84b9e3e35b5d4ac1646
[ "Apache-2.0" ]
permissive
frank-lesser/lean4
717f56c9bacd5bf3a67542d2f5cea721d4743a30
79e2abe33f73162f773ea731265e456dbfe822f9
refs/heads/master
1,589,741,267,933
1,556,424,200,000
1,556,424,281,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,509
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Sebastian Ullrich, Leonardo de Moura Trie for tokenizing the Lean language -/ prelude import init.data.rbmap import init.lean.format init.lean.parser.parsec namespace Lean name...
786601a8cc7c3ad1a4e0af15f274ea7a0fffc7ab
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/term_app2.lean
79be44992422ece5ed8c5a01ede31f9d4fa87a47
[ "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,267
lean
local attribute [simp] nat.add_comm nat.add_left_comm lemma nat.lt_add_of_lt {a b c : nat} : a < b → a < c + b := begin intro h, have aux₁ := nat.le_add_right b c, have aux₂ := lt_of_lt_of_le h aux₁, rwa [nat.add_comm] at aux₂ end lemma nat.lt_one_add_of_lt {a b : nat} : a < b → a < 1 + b := begin intro h, ...
a4879cd58459b2ce74cd5589b45cb3fc6ff53e17
4fa161becb8ce7378a709f5992a594764699e268
/src/logic/function/basic.lean
ad886daac8a1812ad33fca790e7598b0cf2641be
[ "Apache-2.0" ]
permissive
laughinggas/mathlib
e4aa4565ae34e46e834434284cb26bd9d67bc373
86dcd5cda7a5017c8b3c8876c89a510a19d49aad
refs/heads/master
1,669,496,232,688
1,592,831,995,000
1,592,831,995,000
274,155,979
0
0
Apache-2.0
1,592,835,190,000
1,592,835,189,000
null
UTF-8
Lean
false
false
13,564
lean
/- Copyright (c) 2016 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import logic.basic import data.option.defs /-! # Miscellaneous function constructions and lemmas -/ universes u v w namespace function section var...
9d2faf92295f929c202cc76050387287c0f889bb
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/category_theory/limits/shapes/constructions/binary_products.lean
f2c952666d5e1343918b18891e0e1d1952c5726a
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
1,688
lean
/- Copyright (c) 2020 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.pullbacks import category_theory.limits.shapes.binary_products universes v u /-! # C...
33aedac9d6d201f6121eddd2948c86215fb51acf
94e33a31faa76775069b071adea97e86e218a8ee
/src/analysis/normed/group/hom_completion.lean
912a430f67e0f152e47ca02f5807a69621446dfa
[ "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
10,727
lean
/- Copyright (c) 2021 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot -/ import analysis.normed.group.hom import analysis.normed.group.completion /-! # Completion of normed group homs Given two (semi) normed groups `G` and `H` and a norm...
19d3ecb4916ee242512c15f8e59a41f689ae4420
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/run/syntaxWF.lean
6fc341917f7ff7acce9a87a957bf6ce041ae2df4
[ "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
1,634
lean
namespace Lean.Syntax theorem sizeOf_getArg_of_not_missing (h : stx ≠ missing) : sizeOf (stx.getArg i) < sizeOf stx := by cases stx with | missing => simp at h | atom _ val => cases val; simp_arith [getArg] | ident _ _ val _ => cases val <;> simp_arith [getArg] | node _ kind args => simp [getArg,...
04d90b06a6757162abd7887b0e5172de3356b150
8a8d9c511db749b9c0205ee48d6df1e2c6dd1e6f
/library/init/logic.lean
c708dbabe328317e0c088ae2637e776a5100e9ec
[ "Apache-2.0" ]
permissive
rpglover64/lean
4d92db4b316b543b8a49797e2109532ed5eb88bb
cbac8d13006782c71a2281c3dd76854ccf8623a7
refs/heads/master
1,582,731,391,459
1,427,585,012,000
1,427,585,012,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
13,173
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: init.logic Authors: Leonardo de Moura, Jeremy Avigad, Floris van Doorn -/ prelude import init.datatypes init.reserved_notation /- implication -/ definition trivial := true.int...
155f4f487d5204f512bd0c92b7c5fc583290376f
ff5230333a701471f46c57e8c115a073ebaaa448
/tests/lean/run/1804b.lean
532d2fc442cc00dae144688d81732f9155ed6e41
[ "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
656
lean
namespace bla private def foo (x : nat) : nat := match x with | 0 := 1 | _ := 2 end example (a : nat) (h : a = foo 0) : a = 1 := begin simp [foo] at h, guard_hyp h := a = 1, exact h end example (a b : nat) (p : b = 0) (h : a = foo b) : a = 1 := begin simp [foo] at h, simp [p] at h, simp [foo._match_1] at...
9b432d6be3437bc8430717665c7149697cc5a551
491068d2ad28831e7dade8d6dff871c3e49d9431
/tests/lean/run/group.lean
02323593b76d0183b1661fdb860dda60895e9989
[ "Apache-2.0" ]
permissive
davidmueller13/lean
65a3ed141b4088cd0a268e4de80eb6778b21a0e9
c626e2e3c6f3771e07c32e82ee5b9e030de5b050
refs/heads/master
1,611,278,313,401
1,444,021,177,000
1,444,021,177,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,092
lean
import logic section variable {A : Type} variable f : A → A → A variable one : A variable inv : A → A local infixl `*` := f local postfix `^-1`:100 := inv definition is_assoc := ∀ a b c, (a*b)*c = a*b*c definition is_id := ∀ a, a*one = a definition is_inv := ∀ a, a*a^-1 = one end inductive...
9fc67447d62247be973747047b017e5d8f7a4b1c
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/autoIssue.lean
a400028baacb7c1bfb4b74f2880b700327517574
[ "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
1,103
lean
import Lean structure A := x : Nat a' : x = 1 := by trivial #check A.a' example (z : A) : z.x = 1 := by have := z.a' trace_state exact this example (z : A) : z.x = 1 := by have := z.2 trace_state exact this #check A.rec example (z : A) : z.x = 1 := by have ⟨x, a'⟩ := z trace_state subst a' ...
b4bb1e206ad4b45e5a0158b538dee9bfff66efb7
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/simpperf/simp2000.lean
bb1b0895b6bf3d06433dbc4771b3876a581d74d6
[ "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
173,598
lean
axiom f (x : Prop) : Prop axiom g0 (x : Prop) : Prop axiom g1 (x : Prop) : Prop axiom g2 (x : Prop) : Prop axiom g3 (x : Prop) : Prop axiom g4 (x : Prop) : Prop axiom g5 (x : Prop) : Prop axiom g6 (x : Prop) : Prop axiom g7 (x : Prop) : Prop axiom g8 (x : Prop) : Prop axiom g9 (x : Prop) : Prop axiom g10 (x : Prop) : P...
044b1d49730a7d201fe488a752b0fe9de98d7d21
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/test/norm_swap.lean
b89621b1b9ce5ed4dc710414f305048b5d43552f
[ "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
4,286
lean
import logic.equiv.defs import tactic.norm_swap open equiv tactic /-- To properly test that norm_swap works without the help of the simplifier, we turn off the simp lemmas that simplify swaps of the form `swap x y x = y` and `swap x y y = x`. -/ local attribute [-simp] swap_apply_left local attribute [-simp] swap_ap...
2128266d99b6b5af773924eb91b1be1744d2a02f
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/set/intervals/proj_Icc.lean
952f545d539b19c7fbcb60abbe6c13c6aa359966
[ "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
3,761
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, Patrick Massot -/ import data.set.intervals.basic /-! # Projection of a line onto a closed interval Given a linearly ordered type `α`, in this file we define ...
2a8701907fad41be8852c4da2e13d178ce94e182
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/library/algebra/relation.lean
c8b55d5393a65d5ea6fd8ea05fc2fd9a820bb02d
[ "Apache-2.0" ]
permissive
codyroux/lean
7f8dff750722c5382bdd0a9a9275dc4bb2c58dd3
0cca265db19f7296531e339192e9b9bae4a31f8b
refs/heads/master
1,610,909,964,159
1,407,084,399,000
1,416,857,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,715
lean
-- Copyright (c) 2014 Microsoft Corporation. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Author: Jeremy Avigad -- algebra.relation -- ============== import logic.prop -- General properties of relations -- ------------------------------- namespace relation definit...
f0423076375c15f62ec233add0540a537029d31e
30b012bb72d640ec30c8fdd4c45fdfa67beb012c
/meta/rb_map.lean
3bda8c12a6356a965c237e7de3dfe9a9f0277812
[ "Apache-2.0" ]
permissive
kckennylau/mathlib
21fb810b701b10d6606d9002a4004f7672262e83
47b3477e20ffb5a06588dd3abb01fe0fe3205646
refs/heads/master
1,634,976,409,281
1,542,042,832,000
1,542,319,733,000
109,560,458
0
0
Apache-2.0
1,542,369,208,000
1,509,867,494,000
Lean
UTF-8
Lean
false
false
1,756
lean
/- Copyright (c) 2018 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Robert Y. Lewis Additional operations on native rb_maps and rb_sets. -/ import data.option namespace native namespace rb_set meta def filter {key} (s : rb_set key) (P : ...
c74c6ed6bec64af1e5b6eaab7704d6a8000f6365
4f9ca1935adf84f1bae9c5740ec1f2ad406716fa
/src/analysis/calculus/deriv.lean
4ef391d1c33d2a933e8867091dd83e5bb0c9b927
[ "Apache-2.0" ]
permissive
matthew-hilty/mathlib
36fd7db866365e9ee4a0ba1d6f8ad34d068cec6c
585e107f9811719832c6656f49e1263a8eef5380
refs/heads/master
1,607,100,509,178
1,578,151,707,000
1,578,151,707,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
46,372
lean
/- Copyright (c) 2019 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner, Sébastien Gouëzel -/ import analysis.calculus.fderiv /-! # One-dimensional derivatives This file defines the derivative of a function `f : 𝕜 → F` where `𝕜` is a norm...
cd7cb377221da9ceb2c3e92f3a0e27f13de39c3e
64874bd1010548c7f5a6e3e8902efa63baaff785
/tests/lean/run/eq20.lean
1ca5a107f54938fa8ef21842beab5fc57b869ed7
[ "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
773
lean
import data.list open nat list context parameter {A : Type} parameter (p : A → Prop) parameter [H : decidable_pred p] include H definition filter : list A → list A, filter nil := nil, filter (a :: l) := if p a then a :: filter l else filter l theorem filter_nil : filter nil = nil := rfl the...
8555e5b849a3f6158f860f0ae04306eface1dcf8
75bd9c50a345718d735a7533c007cf45f9da9a83
/src/measure_theory/borel_space.lean
2fc94674bb2d7ccf0bfdd3322734da184644d269
[ "Apache-2.0" ]
permissive
jtbarker/mathlib
a1a3b1ddc16179826260578410746756ef18032c
392d3e376b44265ef2dedbd92231d3177acc1fd0
refs/heads/master
1,671,246,411,096
1,600,801,712,000
1,600,801,712,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
35,534
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, Yury Kudryashov -/ import measure_theory.measure_space import topology.instances.ennreal import analysis.normed_space.basic /-! # Borel (measurable) space ## Main def...
8ceffbade8eba3a9ed180dfb2a18610d5a9e9b82
e61a235b8468b03aee0120bf26ec615c045005d2
/stage0/src/Init/Lean/Data/LOption.lean
10928e92f6fc5b45b4342051f39d4a1a867e8a5c
[ "Apache-2.0" ]
permissive
SCKelemen/lean4
140dc63a80539f7c61c8e43e1c174d8500ec3230
e10507e6615ddbef73d67b0b6c7f1e4cecdd82bc
refs/heads/master
1,660,973,595,917
1,590,278,033,000
1,590,278,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,085
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 -/ prelude import Init.Data.ToString universes u namespace Lean inductive LOption (α : Type u) | none : LOption | some : α → LOption | undef : LOption nam...
ac6c9942712aaa1891b220215c44499806ed467f
b2fe74b11b57d362c13326bc5651244f111fa6f4
/src/order/filter/at_top_bot.lean
919c3b94c425d69cbb809b8e234fb999b4f12ec1
[ "Apache-2.0" ]
permissive
midfield/mathlib
c4db5fa898b5ac8f2f80ae0d00c95eb6f745f4c7
775edc615ecec631d65b6180dbcc7bc26c3abc26
refs/heads/master
1,675,330,551,921
1,608,304,514,000
1,608,304,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
55,156
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 order.filter.bases import data.finset.preimage /-! # `at_top` and `at_bot` filters on preorded sets, monoids a...
054b6b2aceb5c0ae35ff676aea7ea87e4e8953b8
d65db56b17d72b62013ed1f438f74457ad25b140
/src/lambda.lean
e850bf2e9271c3edeb3a32dc5848bb7e2a9040be
[]
no_license
swgillespie/proofs
cfa65722fdb4bb7d7910a0856d0cbea8e8b9a3f9
168ef7ef33d372ae0ed6ee4ca336137a52b89f8f
refs/heads/master
1,585,700,692,028
1,540,162,775,000
1,540,162,775,000
152,695,805
0
0
null
null
null
null
UTF-8
Lean
false
false
407
lean
import data.finset namespace lambda inductive term : Type | var : ℕ → term | abs : ℕ → term → term | app : term → term → term def free_variables : term → finset ℕ | (term.var v) := {v} | (term.abs v e) := (free_variables e) \ {v} | (term.app e₁ e₂) := (free_variables e₁) ∪ (free_variables e₂) definition close...
43184d08fe26a757119103d923d857f2c9994c4a
0bd6c950c82dcba3e46dc8d8acb5ecc60b917520
/cantor.lean
c8fad1d9bc118eb2cc2ac4efe6aba0f2f3772fa9
[]
no_license
truonghoangle/formalabstracts
976dbbdede5c71346a3c534a8f319456248d4610
b889ec60143315053a51b1829a5dc4d82ba503b3
refs/heads/master
1,584,899,948,798
1,537,184,894,000
1,537,184,894,000
140,428,980
0
0
null
null
null
null
UTF-8
Lean
false
false
436
lean
import data.set.function set_theory.cardinal open set function universes u variable α : Type u theorem Cantor0 (s :set α): ¬ (∃ f, maps_to f s (powerset s) ∧ surj_on f s (powerset s) ) ∧ (∃ f:α → set α, inj_on f s) := sorry theorem Cantor: ¬ (∃ f:α → set α, surjective f ) ∧ (∃ f:α → set α, injective f...
12514182aa874e33a85c4efd747aa4e04d17e4cd
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/algebra/group/to_additive.lean
d56b44a52183bf4cec716cf364475f9d70f03ac4
[ "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
12,076
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Yury Kudryashov. -/ import tactic.transform_decl import tactic.algebra /-! # Transport multiplicative to additive This file defines an attribute `to_additive` that ca...
b55fb9bb3580dd799ced36b842853d78fd5490fa
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/category/traversable/equiv.lean
10516775f4e0135a288f4a29744d0364c924383e
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
4,793
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon Transferring `traversable` instances using isomorphisms. -/ import data.equiv.basic category.traversable.lemmas universes u namespace equiv section functor parameters {t t...
5b6ba8a4da39747609bbc37c605415da747db6bf
98beff2e97d91a54bdcee52f922c4e1866a6c9b9
/src/applications/topologies.lean
37e1fb5d97a60e45abb83245174b0087388443ba
[]
no_license
b-mehta/topos
c3fc43fb04ba16bae1965ce5c26c6461172e5bc6
c9032b11789e36038bc841a1e2b486972421b983
refs/heads/master
1,629,609,492,867
1,609,907,263,000
1,609,907,263,000
240,943,034
43
3
null
1,598,210,062,000
1,581,877,668,000
Lean
UTF-8
Lean
false
false
14,561
lean
import applications.functor_category import grothendieck import sheaf import category.element import tactic.equiv_rw import data.quot import pullback_colimit import category.colimits namespace category_theory universes v u variables {C : Type u} [small_category C] (J : sieve_set C) [grothendieck J] open classifier ...
3cc192c9f6dfdfcd37148ce6d2bde291b1234bc2
82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7
/src/Lean/Util/FindExpr.lean
d7b153b0a958cb8373c26b0ffac6b3aef9be2b35
[ "Apache-2.0" ]
permissive
banksonian/lean4
3a2e6b0f1eb63aa56ff95b8d07b2f851072d54dc
78da6b3aa2840693eea354a41e89fc5b212a5011
refs/heads/master
1,673,703,624,165
1,605,123,551,000
1,605,123,551,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,270
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.Expr namespace Lean namespace Expr namespace FindImpl abbrev cacheSize : USize := 8192 structure State := (keys : Array Expr) -- Remark: o...
df52973d9da67ca39ebcfc0bddb7d49b6f5fd8d4
94e33a31faa76775069b071adea97e86e218a8ee
/src/category_theory/closed/ideal.lean
50ba92dc0dbc453164bbe7ed04c6e426b9d605e8
[ "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
11,879
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.preserves.shapes.binary_products import category_theory.limits.constructions.finite_products_of_binary_products import category_theory.monad...
9fc01a6be0c6ed107e092336044b338f1ee4f6b7
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/monoidal/linear.lean
75d95bead92ff48b2d131cccf2db8f4b4cd50abd
[ "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
2,421
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 category_theory.linear.linear_functor import category_theory.monoidal.preadditive /-! # Linear monoidal categories A monoidal category is `monoidal_linear R`...
fd06e0f47eb22e022f14985db8e006f7bfe01240
94e33a31faa76775069b071adea97e86e218a8ee
/src/algebra/module/submodule/lattice.lean
9edf95ad147fbb100a3d5039bda26d3e7198a720
[ "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
11,634
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, Kevin Buzzard, Yury Kudryashov -/ import algebra.module.submodule.basic import algebra.punit_instances /-! # The lattice structure on `submodule`s Thi...
2562ca86d04cfc1e5944282dce3f80ffee340266
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/data/prod.lean
7d4bec9c3839d0de558698ffcea936367b2719e4
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
4,097
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 tactic.ext /-! # Extra facts about `prod` This file defines `prod.swap : α × β → β × α` and proves various simple lemmas about `prod`. -/ variables {α : Ty...
8e1b1e319d0b703b02ba084c859bf6396c137243
63abd62053d479eae5abf4951554e1064a4c45b4
/src/analysis/special_functions/arsinh.lean
b043d9eb756108945a1197b05d4498a7816d2bb2
[ "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,035
lean
/- Copyright (c) 2020 James Arthur. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: James Arthur, Chris Hughes, Shing Tak Lam -/ import analysis.special_functions.trigonometric noncomputable theory /-! # Inverse of the sinh function In this file we prove that sinh is ...
9d53b7af6e111f92c64d94ce597f988cc5966e94
e9dbaaae490bc072444e3021634bf73664003760
/src/Problems/2001/IMO_2001_P5.lean
ad07e0719ee03d749bd1d3ea00589f287d05300c
[ "Apache-2.0" ]
permissive
liaofei1128/geometry
566d8bfe095ce0c0113d36df90635306c60e975b
3dd128e4eec8008764bb94e18b932f9ffd66e6b3
refs/heads/master
1,678,996,510,399
1,581,454,543,000
1,583,337,839,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
781
lean
/- IMO 2001 P5 is a "determine" problem. The problem statement is as follows: "What are the possible angles of triangle ABC?" This problem statement is replaced by the last two witnesses in this formalization. Solution: https://web.evanchen.cc/exams/IMO-2001-notes.pdf -/ import Geo.Geo.Core namespace Geo open Ana...
f5453c11fbcbbcc79963e1dda41f694371ed436a
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/1968.lean
1d4b53e6f1e1da29c2a2aae032b910b85d953ca7
[ "Apache-2.0" ]
permissive
shyamalschandra/lean4
27044812be8698f0c79147615b1d5090b9f4b037
6e7a883b21eaf62831e8111b251dc9b18f40e604
refs/heads/master
1,671,417,126,371
1,601,859,995,000
1,601,860,020,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,338
lean
new_frontend inductive type | bv : Nat → type | bit : type open type -- This is a "parameterized List" where `plist f types` contains -- an element of Type `f tp` for each corresponding element `tp ∈ types`. inductive plist (f : type → Type) : List type → Type | nil {} : plist f [] | cons {h:type} {r:List type} : f...
5075c84a73f6cabb8f506449d3c67bde04c59b4e
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/algebra/group_power.lean
29c89aff857a97aa7f6a01f15115c45b300c88db
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
26,891
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 -/ import data.int.basic /-! # Power operations on monoids and groups The power operation on monoids and groups. We separate this from group, because i...
8aad49800c563812658cc13bb78403faa142952a
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/measure_theory/ae_eq_fun.lean
2ca0a1ff82c7d6bbf6e0022ce6fa952f1fce2575
[]
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
34,800
lean
/- Copyright (c) 2019 Johannes Hölzl, Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Zhouhang Zhou -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.measure_theory.integration import Mathlib.order.filter.germ i...
a0c4c11862b4bb8ba24a793143b1b0f58155a1b3
9dc8cecdf3c4634764a18254e94d43da07142918
/src/number_theory/liouville/basic.lean
5594d84b482cb2db852222e8d56165095b8e3ef8
[ "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
12,399
lean
/- Copyright (c) 2020 Jujian Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Damiano Testa, Jujian Zhang -/ import analysis.calculus.mean_value import data.polynomial.denoms_clearable import data.real.irrational /-! # Liouville's theorem This file contains a pr...
8f82c143df8285340bd7c89770dd05273cc5ccc5
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/tests/lean/run/rc_tests.lean
e5ccb3e9ee68f7f60b6edd6b6053189ec98a3269
[ "Apache-2.0" ]
permissive
WojciechKarpiel/lean4
7f89706b8e3c1f942b83a2c91a3a00b05da0e65b
f6e1314fa08293dea66a329e05b6c196a0189163
refs/heads/master
1,686,633,402,214
1,625,821,189,000
1,625,821,258,000
384,640,886
0
0
Apache-2.0
1,625,903,617,000
1,625,903,026,000
null
UTF-8
Lean
false
false
1,128
lean
universe u v -- set_option pp.binder_types false set_option pp.explicit true set_option trace.compiler.llnf true -- set_option trace.compiler.boxed true namespace x1 def f (x : Bool) (y z : Nat) : Nat := match x with | true => y | false => z + y + y end x1 namespace x2 def f (x : Nat) : Nat := x end x2 names...
e9b3340f1c2dcba6fc508e793ed5276b4f375665
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/continuous_on.lean
8cb6fabef4bbac0f3c4754bea7973164b71468ca
[ "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
56,491
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import topology.constructions /-! # Neighborhoods and continuity relative to a subset > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require ...
7121e998c827da98c55962b27ce114c19569c551
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/eq_to_hom.lean
4bdeaed440d40be282d730c920deb1f64b98700a
[ "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,964
lean
/- Copyright (c) 2018 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import category_theory.opposites /-! # Morphisms from equations between objects. When working categorically, sometimes one encounters an equation `h : X =...
d190a5bfe8e0402560267427b57bbd911ccf379e
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/src/Lean/Server/FileSource.lean
d64a14c69461b76a7b5b942b8c81f9151f3616f1
[ "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
2,434
lean
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga -/ import Lean.Data.Lsp namespace Lean namespace Lsp class FileSource (α : Type) where fileSource : α → DocumentUri export FileSource (fileSource) instance Location....
fdf1a60a64c9d2adb2767aa2c7e9f7fcfd27978a
bb31430994044506fa42fd667e2d556327e18dfe
/src/analysis/box_integral/partition/basic.lean
e9ff3fb379ac2399abbebb241321e233c8b56aa2
[ "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
29,255
lean
/- Copyright (c) 2021 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import analysis.box_integral.box.basic /-! # Partitions of rectangular boxes in `ℝⁿ` In this file we define (pre)partitions of rectangular boxes in `ℝⁿ`. A parti...
b6e46282ef3f9ba4b2ddfc111549d1ac05e9bf87
54d7e71c3616d331b2ec3845d31deb08f3ff1dea
/library/init/meta/expr.lean
240c92ba0c2cfe6ede5df9f8991dd28bcc270c1f
[ "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
11,332
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.level init.category.monad structure pos := (line : nat) (column : nat) instance : decidable_eq pos | ⟨l₁, c₁⟩ ⟨l₂, c₂⟩ := if h₁...
72ae0c354d58007009025730c1cad97d17c41ec7
4727251e0cd73359b15b664c3170e5d754078599
/src/data/list/rotate.lean
b1ba189819b284313a4f959677ff68f200257fa4
[ "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
21,637
lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Yakov Pechersky -/ import data.list.perm import data.list.range /-! # List rotation This file proves basic results about `list.rotate`, the list rotation. ## Main declar...
462b5fd741e7409047be5920ccdf4e8c5bb82371
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/stage0/src/Lean/Compiler/LCNF/Simp.lean
8450c03ea59a868fc686e067a7527e888af55352
[ "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
tobiasgrosser/lean4
ce0fd9cca0feba1100656679bf41f0bffdbabb71
ebdbdc10436a4d9d6b66acf78aae7a23f5bd073f
refs/heads/master
1,673,103,412,948
1,664,930,501,000
1,664,930,501,000
186,870,185
0
0
Apache-2.0
1,665,129,237,000
1,557,939,901,000
Lean
UTF-8
Lean
false
false
2,594
lean
/- Copyright (c) 2022 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Compiler.LCNF.ReduceJpArity import Lean.Compiler.LCNF.Renaming import Lean.Compiler.LCNF.Simp.Basic import Lean.Compiler.LCNF.Simp.FunDeclInfo i...
a68c475cb2fd758b6747e6bde8a0137847bf92c2
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/limits/filtered_colimit_commutes_finite_limit.lean
4a68a0a2bda049e980e921925792f0a2b0daf0f3
[ "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
17,039
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 category_theory.limits.colimit_limit import category_theory.limits.preserves.functor_category import category_theory.limits.preserves.finite import category_th...
0fa75106efbaa42403d37239dc5d8f999a9848f4
e953c38599905267210b87fb5d82dcc3e52a4214
/hott/algebra/category/functor.hlean
d1c40587da1c91d9a642e13aadcadce88dc55708
[ "Apache-2.0" ]
permissive
c-cube/lean
563c1020bff98441c4f8ba60111fef6f6b46e31b
0fb52a9a139f720be418dafac35104468e293b66
refs/heads/master
1,610,753,294,113
1,440,451,356,000
1,440,499,588,000
41,748,334
0
0
null
1,441,122,656,000
1,441,122,656,000
null
UTF-8
Lean
false
false
10,266
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, Jakob von Raumer -/ import .iso types.pi open function category eq prod prod.ops equiv is_equiv sigma sigma.ops is_trunc funext iso open pi structure functor (C ...
3e7d53314cfc88bd707c5cdfab29775d5e2ccd7b
d406927ab5617694ec9ea7001f101b7c9e3d9702
/archive/100-theorems-list/16_abel_ruffini.lean
8504650903498afa65b29a9b67ee21b61e824b43
[ "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,261
lean
/- Copyright (c) 2021 Thomas Browning. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Thomas Browning -/ import field_theory.abel_ruffini import analysis.calculus.local_extr import ring_theory.eisenstein_criterion /-! Construction of an algebraic number that is not sol...
0a8dbde9a9658c83c67d7601164717cd1f308152
9bb72db9297f7837f673785604fb89b3184e13f8
/library/init/data/fin/ops.lean
a2a6c20256f3d502262a4613a292f83310abf7f7
[ "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
3,341
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import init.data.nat init.data.fin.basic namespace fin open nat variable {n : nat} protected def succ : fin n → fin (succ n) | ⟨a, h⟩ := ⟨nat.succ ...
f0cccc3f56482405408bb57fb85a116a48b4ec41
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Lean/Meta/RecursorInfo.lean
8b4aa850bd4bea8cb7877a4bd92d9e52519ad151
[ "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
13,509
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.AuxRecursor import Lean.Util.FindExpr import Lean.Meta.Basic namespace Lean.Meta inductive RecursorUnivLevelPos where | motive ...
a567160c8ec18119f0ae3f6096764842a68dcf18
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/set/equitable.lean
5ce093570a4d5f2ec98717056761bb9d78e1ca49
[ "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
3,760
lean
/- Copyright (c) 2021 Yaël Dillies, Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies, Bhavik Mehta -/ import algebra.big_operators.order import data.nat.basic /-! # Equitable functions This file defines equitable functions. A function `f` is...
527ef3bcb9c3ba8111d85fb329a1ca9904e2d05a
4727251e0cd73359b15b664c3170e5d754078599
/src/dynamics/periodic_pts.lean
004ee9f03663ac6357ac6c5f882b98b24e18c267
[ "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
16,828
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 -/ import algebra.hom.iterate import data.nat.prime import dynamics.fixed_points.basic import data.pnat.basic import data.set.lattice /-! # Periodic points A p...
c125da00865525df6e9b6b70fe7b5f1154c43b27
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/data/seq/seq.lean
308dbb0e7505961b5e2c857594f2e76c450bca9a
[ "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
28,461
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.list.basic import data.stream import data.lazy_list import data.seq.computation universes u v w /- coinductive seq (α : Type u) : Type u | nil : seq α |...
827a2de3c5d3b6762996c4e7c9f76de0cfa64f7d
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/prec_max.lean
6ea07728b5aab20c6817e06e0787a4c11147a424
[ "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
384
lean
open nat reserve postfix ⁻¹:(max + 1) postfix (name := symm) ⁻¹ := eq.symm constant foo (a b : nat) : a + b = 0 theorem tst1 (a b : nat) : 0 = a + b := (foo _ _)⁻¹ constant f {a b : nat} (h1 : 0 = a + b) (h2 : a = b) : a = 0 ∧ b = 0 example (a b : nat) : a = 0 ∧ b = 0 := f (foo _ _)⁻¹ sorry example (a b : nat) :...
f94c83b591f664979b1328495ba20cd88e7c0f50
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/order/filter/at_top_bot.lean
f5a72c2c263a12e889e4857273d165c17c2ca75f
[ "Apache-2.0" ]
permissive
ramonfmir/mathlib
c5dc8b33155473fab97c38bd3aa6723dc289beaa
14c52e990c17f5a00c0cc9e09847af16fabbed25
refs/heads/master
1,661,979,343,526
1,660,830,384,000
1,660,830,384,000
182,072,989
0
0
null
1,555,585,876,000
1,555,585,876,000
null
UTF-8
Lean
false
false
72,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 import data.finset.preimage import data.set.intervals.disjoint import order.filter.bases /...
a2e74f2f8314d8c64648e58adeec26dec6e14ceb
94e33a31faa76775069b071adea97e86e218a8ee
/src/ring_theory/graded_algebra/homogeneous_localization.lean
dd142a9b8d47cf9b83bbc748be9059417dee7e89
[ "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
20,327
lean
/- Copyright (c) 2022 Jujian Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jujian Zhang, Eric Wieser -/ import ring_theory.localization.at_prime import ring_theory.graded_algebra.basic /-! # Homogeneous Localization ## Notation - `ι` is a commutative monoid; ...
ee9d06c4c8e07970c52639369c84fc874a54d877
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/ring_theory/unique_factorization_domain.lean
4fb19e47bef2eaf4d169d8f658cdbbc0430ffe8d
[ "Apache-2.0" ]
permissive
troyjlee/mathlib
e18d4b8026e32062ab9e89bc3b003a5d1cfec3f5
45e7eb8447555247246e3fe91c87066506c14875
refs/heads/master
1,689,248,035,046
1,629,470,528,000
1,629,470,528,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
49,938
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, Jens Wagemaker, Aaron Anderson -/ import algebra.gcd_monoid import ring_theory.integral_domain import ring_theory.noetherian /-! # Unique factorization ## Main Defi...
b2dbb0b7d4a8c33c27b461580b3732466a3fb564
86f6f4f8d827a196a32bfc646234b73328aeb306
/examples/basics/unnamed_823.lean
e685b41dc603d359f2b0c2abfa283ba5a2dde96f
[]
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
139
lean
import data.real.basic -- BEGIN example (a b : ℝ) : a - b = a + -b := rfl example (a b : ℝ) : a - b = a + -b := by reflexivity -- END
da98802f08cccc8395662a889afc4625b06a99d4
efce24474b28579aba3272fdb77177dc2b11d7aa
/src/homotopy_theory/formal/cofibrations/gluing.lean
3332992499c020618100159d31dffde07a29208e
[ "Apache-2.0" ]
permissive
rwbarton/lean-homotopy-theory
cff499f24268d60e1c546e7c86c33f58c62888ed
39e1b4ea1ed1b0eca2f68bc64162dde6a6396dee
refs/heads/lean-3.4.2
1,622,711,883,224
1,598,550,958,000
1,598,550,958,000
136,023,667
12
6
Apache-2.0
1,573,187,573,000
1,528,116,262,000
Lean
UTF-8
Lean
false
false
5,043
lean
import .brown universes v u open category_theory local notation f ` ∘ `:80 g:80 := g ≫ f namespace homotopy_theory.cofibrations open precofibration_category cofibration_category open homotopy_theory.weak_equivalences variables {C : Type u} [category.{v} C] [cofibration_category.{v} C] [has_initial_object.{v} C] ...
5b42f24df1c9bb44430b976b313e5edc27325b47
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/test/monotonicity.lean
411625aed3dc94fcadc3332a2c06ac233be93bb3
[ "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,054
lean
/- Copyright (c) 2019 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import tactic.monotonicity import tactic.norm_num import algebra.order.ring.defs import measure_theory.function.locally_integrable import measure_theory.integral.bochner im...
d27397b61adee0d7f5a112342fb0c54ac7d970ba
94e33a31faa76775069b071adea97e86e218a8ee
/src/topology/sets/compacts.lean
196399df39db62fd1490bc330471f9243e576262
[ "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
14,529
lean
/- Copyright (c) 2020 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Yaël Dillies -/ import topology.sets.closeds /-! # Compact sets We define a few types of compact sets in a topological space. ## Main Definitions For a topologi...
0f929998e3cc5c0f0b6a2733bbce442b01bdde1c
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/order/filter/at_top_bot.lean
55c77e6830e442ec0ed37c4c2cc3b249a80baa47
[]
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
56,000
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.order.filter.bases import Mathlib.data.fins...
fd8c74e833e18f732e4916c082a58f34a1143a24
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/order/rel_iso.lean
9dd1ba844454afffb649c5cae270b6d556aeb746
[]
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
40,481
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.logic.embedding import Mathlib.order.rel_classes import Mathlib.data.set.intervals.basic im...
e7764f72166495e3414d2bf6d3eae00011c37191
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/category_theory/adjunction.lean
74ffabb218399ea8e31ea1bcb99d252672e4b33a
[ "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
14,488
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Johan Commelin -/ import category_theory.limits.preserves import category_theory.whiskering namespace category_theory open category open category_theory.limits universes v...
718a3ad2a8e397cb13ecb370dfd5fed65b137e41
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/rbtree/main.lean
8c49c3943b5a8138f109ec1557ef6b4373b0ee21
[ "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
8,315
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import data.rbtree.find import data.rbtree.insert import data.rbtree.min_max import order.rel_classes universes u namespace rbnode variables {α : Type u} ...
8c9e418f5179efcb1c3dd617de2f3d00909fe250
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/int_eq_num.lean
fcc01cafe0a0afe3f189aeb238a49d61c8655c85
[ "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
114
lean
def f : int → nat | -100 := 0 | 0 := 1 | 3 := 2 | _ := 4 #eval f (-100) #eval f 0 #eval f 3 #eval f 5
b356c9bdffbb72d4ee8b7f48c279618af70cfec8
d8820d2c92be8052d13f9c8f8c483a6e15c5f566
/src/Exercises/Exercies2.lean
e6cbdeb363522a980e86eb3f2e200a313a46ddef
[]
no_license
JasonKYi/M4000x_LEAN_formalisation
4a19b84f6d0fe2e214485b8532e21cd34996c4b1
6e99793f2fcbe88596e27644f430e46aa2a464df
refs/heads/master
1,599,755,414,708
1,589,494,604,000
1,589,494,604,000
221,759,483
8
1
null
1,589,494,605,000
1,573,755,201,000
Lean
UTF-8
Lean
false
false
485
lean
/- Exercise 2. What is the contrapositive of ¬ Q → ¬ P -I am suggesting P → Q is the contrapositive of ¬ Q → ¬ P. Is this correct? Prove that it is correct if you agree with me, otherwise change P → Q into what ever your heart desires! Here are some basic tactics that might help : http://wwwf.imperial.ac.uk/~buzzard/...
c793a18db5d694ef4fd7da587e29e2a8b9a2f1ca
c09f5945267fd905e23a77be83d9a78580e04a4a
/src/topology/uniform_space/separation.lean
eb51fd6966865b02a6c93d12e93a94f5d40f0537
[ "Apache-2.0" ]
permissive
OHIHIYA20/mathlib
023a6df35355b5b6eb931c404f7dd7535dccfa89
1ec0a1f49db97d45e8666a3bf33217ff79ca1d87
refs/heads/master
1,587,964,529,965
1,551,819,319,000
1,551,819,319,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
13,628
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, Patrick Massot Hausdorff properties of uniform spaces. Separation quotient. -/ import topology.uniform_space.basic open filter topological_space lattice set classica...
a7b232f182a3cd6639cb540ddaae2be4fe48ab90
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/calcErrors.lean
7bd0b4e6dab2eb2a4282807c4bec228c48812156
[ "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
1,560
lean
theorem ex1 (a b c : Nat) (h₁ : a = b) (h₂ : b = c) : a + b = 0 + c + b := calc a + b = b + b := by rw [h₁] _ = 0 + c + b := rfl theorem ex2 (a b c : Nat) (h₁ : a = b) (h₂ : b = c) : a + b = 0 + c + b := calc a + b = b + b := by rw [h₁] 0 + c + b = 0 + c + b := rfl theorem ex3 ...
a0b3a96473f0e524327f262f8d00d23c4ea999e1
46125763b4dbf50619e8846a1371029346f4c3db
/src/data/rat/order.lean
362ce6378b298607587b38364283820c0e53e7a3
[ "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
9,544
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, Mario Carneiro -/ import data.rat.basic /-! # Order for Rational Numbers ## Summary We define the order on `ℚ`, prove that `ℚ` is a discrete, linearly ordered field, ...
109df56a1109b49804ea4cb4cff3606bff16385c
82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7
/stage0/src/Lean/HeadIndex.lean
f9dec6a569f2e9d3b95e81d6339d7c9abc4e2ec1
[ "Apache-2.0" ]
permissive
banksonian/lean4
3a2e6b0f1eb63aa56ff95b8d07b2f851072d54dc
78da6b3aa2840693eea354a41e89fc5b212a5011
refs/heads/master
1,673,703,624,165
1,605,123,551,000
1,605,123,551,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,576
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ import Lean.Expr namespace Lean inductive HeadIndex | fvar (fvarId : FVarId) | mvar (mvarId : MVarId) | const (constName : Name) | proj (structName...
26eb00938726c4eebf558ebda9c274ef5051f590
4727251e0cd73359b15b664c3170e5d754078599
/src/linear_algebra/affine_space/basis.lean
f599bb429dfeb485555b0ee917cbf7492dfa7d61
[ "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
16,204
lean
/- Copyright (c) 2021 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import linear_algebra.affine_space.independent import linear_algebra.affine_space.finite_dimensional import linear_algebra.determinant /-! # Affine bases and barycentric c...
840cce137f09a36d54a65e1e51dad27938c43ce1
626e312b5c1cb2d88fca108f5933076012633192
/src/algebra/associated.lean
a6440796c6146da128fc71b4387f61064f401c03
[ "Apache-2.0" ]
permissive
Bioye97/mathlib
9db2f9ee54418d29dd06996279ba9dc874fd6beb
782a20a27ee83b523f801ff34efb1a9557085019
refs/heads/master
1,690,305,956,488
1,631,067,774,000
1,631,067,774,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
29,158
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, Jens Wagemaker -/ import algebra.big_operators.basic import algebra.divisibility import algebra.invertible /-! # Associated, prime, and irreducible elements. -/ varia...
7ec27261a50c5ba237f2c2d948a6d8eb08d1bf86
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/fin/tuple/nat_antidiagonal.lean
dadbc86d134b858c8de56e8f5f0b236c96c04ea6
[ "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,915
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 algebra.big_operators.fin import data.finset.nat_antidiagonal import data.fin.vec_notation import logic.equiv.fin /-! # Collections of tuples of naturals with the s...
e8df8997786f220d8f026fccd0d4078e62eb558e
f10d66a159ce037d07005bd6021cee6bbd6d5ff0
/to_field.lean
17e409df84691b5e078e1ff05578d8dfa84e5dd8
[]
no_license
johoelzl/mason-stother
0c78bca183eb729d7f0f93e87ce073bc8cd8808d
573ecfaada288176462c03c87b80ad05bdab4644
refs/heads/master
1,631,751,973,492
1,528,923,934,000
1,528,923,934,000
109,133,224
0
1
null
null
null
null
UTF-8
Lean
false
false
2,442
lean
import data.finsupp import algebra.ring import .to_finset import .to_multiset import associated_quotient import unique_factorization_domain noncomputable theory local infix ^ := monoid.pow open classical multiset local attribute [instance] prop_decidable universe u variable {α : Type u} --Would it have been smart ...
0616df20fda607ea906674f9cd18c5644cb18ce5
56e5b79a7ab4f2c52e6eb94f76d8100a25273cf3
/src/tests/test_evaluation.lean
75236254246c08204cf3f6dab5ff234ae56474e1
[ "Apache-2.0" ]
permissive
DyeKuu/lean-tpe-public
3a9968f286ca182723ef7e7d97e155d8cb6b1e70
750ade767ab28037e80b7a80360d213a875038f8
refs/heads/master
1,682,842,633,115
1,621,330,793,000
1,621,330,793,000
368,475,816
0
0
Apache-2.0
1,621,330,745,000
1,621,330,744,000
null
UTF-8
Lean
false
false
829
lean
import ..tactic_state import ..evaluation import tactic.auto_cases import linear_algebra.tensor_algebra import data.pfun section playground -- TODO(jesse): WARNING: without conjugating by `get/set_env`, -- this has mysterious side effects which cause future invocations to `run_evaluation` to fail run_cmd do { env ←...
277c425914446e75566ba31faafa92dca0ae7bae
8e6cad62ec62c6c348e5faaa3c3f2079012bdd69
/src/data/equiv/basic.lean
09fe0d52d2fa8d2dcb48b347fa7ed1d39a867fdd
[ "Apache-2.0" ]
permissive
benjamindavidson/mathlib
8cc81c865aa8e7cf4462245f58d35ae9a56b150d
fad44b9f670670d87c8e25ff9cdf63af87ad731e
refs/heads/master
1,679,545,578,362
1,615,343,014,000
1,615,343,014,000
312,926,983
0
0
Apache-2.0
1,615,360,301,000
1,605,399,418,000
Lean
UTF-8
Lean
false
false
93,950
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Mario Carneiro -/ import data.set.function /-! # Equivalence between types In this file we define two types: * `equiv α β` a.k.a. `α ≃ β`: a bijective map ...
bb1270d15937d01623d14dbf70e8a44a5fbd6293
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Elab/PreDefinition/WF.lean
5e4a5b98182e1c127b3d57ced4f61db99f92839d
[ "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
203
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.PreDefinition.WF.Main
5783beb5af3adfcc156f9c77435499bb5e366a26
c09f5945267fd905e23a77be83d9a78580e04a4a
/src/data/analysis/topology.lean
4296ceeb4157e7fb7e4d2b844f6d022bf65eeab3
[ "Apache-2.0" ]
permissive
OHIHIYA20/mathlib
023a6df35355b5b6eb931c404f7dd7535dccfa89
1ec0a1f49db97d45e8666a3bf33217ff79ca1d87
refs/heads/master
1,587,964,529,965
1,551,819,319,000
1,551,819,319,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,420
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro Computational realization of topological spaces (experimental). -/ import topology.bases data.analysis.filter open set open filter (hiding realizer) /-- A `ctop α σ` i...
45380f37dbc9a21a95f2b4bef70fb1c8ef34fc62
e0d5cc416b0cf9011f9706e3b89ad18e34595c44
/src/cayden/prop.lean
94d8233e5f17e1a71045f1ef549ed893f50c83a4
[]
no_license
avigad/verified-encodings
c90701b68636c0bae2127b9eb7bcc53e71d06bc8
2b8c3b07a7cfcdad3b13cf01685eabe395f35c17
refs/heads/master
1,687,237,025,852
1,626,625,618,000
1,626,625,618,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,706
lean
import init import data.bool --import init.data.bool.basic --import init.data.bool.lemmas inductive PropForm : Type -- Atoms of propositional formulas | T : PropForm | F : PropForm | Var : nat → PropForm -- Identified by ID number -- Basic connectives for propositional formulas | Conj : Pro...
69098509684ab10c9b62c811549c340609ba2c3f
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/elab11.lean
ae334479c123fadf6ca60231c2b59bef4d3b04d9
[ "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
212
lean
constant boo.f : nat → bool constant bla.f : nat → nat open boo bla #check f 1 set_option pp.full_names true #check (f 1 : nat) #check (f 1 : bool) set_option pp.full_names false #check (f 1 : string)
aa2e6187815c86ab3dd8d65c075f412c090cdfaa
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/module/ulift.lean
30f010e5c1d8d5bbca6ba7880b12133f541b4928
[ "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
4,757
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...
7f6e77defd9e31bb25315180094d073c52f9bf1c
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/algebra/category/Mon/colimits.lean
8d42c688a4abeaabfaa31901ba4a3b5a2361907b
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
7,751
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.category.Mon.basic import category_theory.limits.limits /-! # The category of monoids has all colimits. We do this construction knowing nothing about...
f9b4826cca09b2690b02aa3777d1de821a80fdd6
12dabd587ce2621d9a4eff9f16e354d02e206c8e
/world10/level07.lean
c3fccbedc2caac38ab12fe38ff6eeb0e32c20a81
[]
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
124
lean
lemma le_zero (a : mynat) (h : a ≤ 0) : a = 0 := begin cases h with d hd, symmetry at hd, exact add_right_eq_zero hd, end
1d46f552386925e4384b17dd1a9d9bf234a0b239
f3a5af2927397cf346ec0e24312bfff077f00425
/src/game/world10/level6.lean
c8fcd0d63e89bb5f017fd4ecd46ebeb24bd9d572
[ "Apache-2.0" ]
permissive
ImperialCollegeLondon/natural_number_game
05c39e1586408cfb563d1a12e1085a90726ab655
f29b6c2884299fc63fdfc81ae5d7daaa3219f9fd
refs/heads/master
1,688,570,964,990
1,636,908,242,000
1,636,908,242,000
195,403,790
277
84
Apache-2.0
1,694,547,955,000
1,562,328,792,000
Lean
UTF-8
Lean
false
false
1,096
lean
import game.world10.level5 -- hide namespace mynat -- hide /- # Inequality world. ## Level 6: `le_antisymm` In Advanced Addition World you proved `eq_zero_of_add_right_eq_self (a b : mynat) : a + b = a → b = 0`. This might be useful in this level. Another tip: if you want to create a new hypothesis, you can use...
5209804b8b1d25e24e75d442d4d0cbad7bc65182
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/number_theory/l_series.lean
6ce1a7e608658316654a704f6855275af9f74bcd
[ "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
4,842
lean
/- Copyright (c) 2021 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import analysis.p_series import number_theory.arithmetic_function import topology.algebra.infinite_sum /-! # L-series Given an arithmetic function, we define the co...
b24288c839829139607a7408a85c72ac316fe4db
19cc34575500ee2e3d4586c15544632aa07a8e66
/src/dynamics/circle/rotation_number/translation_number.lean
918b0a443710b26a8def43b2dd9643d055c4e1cd
[ "Apache-2.0" ]
permissive
LibertasSpZ/mathlib
b9fcd46625eb940611adb5e719a4b554138dade6
33f7870a49d7cc06d2f3036e22543e6ec5046e68
refs/heads/master
1,672,066,539,347
1,602,429,158,000
1,602,429,158,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
28,249
lean
/- Copyright (c) 2020 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Yury G. Kudryashov -/ import analysis.specific_limits import order.iterate import algebra.iterate_hom /-! # Translation number of a monotone real map that commutes with `x ↦ x + 1`...
ad809d59975acce407421665b1d45ead14728865
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/playground/termParserAttr.lean
648e585fd423aa2c5471f5fdeb45f22536565c6c
[ "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
1,039
lean
import Lean open Lean open Lean.Elab def run (input : String) (failIff : Bool := true) : MetaIO Unit := do env ← MetaIO.getEnv; opts ← MetaIO.getOptions; let (env, messages) := process input env opts; messages.toList.forM $ fun msg => IO.println msg; when (failIff && messages.hasErrors) $ throw (IO.userEr...
e765b6f3e38b9fa4de2df4e12f721fc4be278fb1
367134ba5a65885e863bdc4507601606690974c1
/src/analysis/calculus/specific_functions.lean
c04213c66b69e80e17c7facfe63cb93113141b70
[ "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
15,177
lean
/- Copyright (c) 2020 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.extend_deriv import analysis.calculus.iterated_deriv import analysis.special_functions.exp_log import analysis.normed_space.inner_produ...
70757d4cca6375891795d3b8a75b0e31d6acb80c
c777c32c8e484e195053731103c5e52af26a25d1
/src/analysis/fourier/fourier_transform.lean
c3dd53ccf025c9a47f8fa9d85c895d178506d957
[ "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
11,637
lean
/- Copyright (c) 2023 David Loeffler. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: David Loeffler -/ import measure_theory.group.integration import measure_theory.measure.haar_of_basis /-! # The Fourier transform We set up the Fourier transform for complex-valued ...
ff74cd2a2994486dfc85fa1baaf0c28ced924ef4
ce89339993655da64b6ccb555c837ce6c10f9ef4
/bluejam/topprover/40.lean
6cf877e876891a3421d2ea7eef8e431e412457c4
[]
no_license
zeptometer/LearnLean
ef32dc36a22119f18d843f548d0bb42f907bff5d
bb84d5dbe521127ba134d4dbf9559b294a80b9f7
refs/heads/master
1,625,710,824,322
1,601,382,570,000
1,601,382,570,000
195,228,870
2
0
null
null
null
null
UTF-8
Lean
false
false
1,435
lean
variable f : nat -> bool. def downward_closed := forall m n, m <= n -> f n = tt -> f m = tt. lemma l1: downward_closed f → ∀ (r n: ℕ), f r = ff → f n = tt → n < r := begin intros h r n h1 h2, have: ¬ n ≥ r, intro, have: f r = tt, apply h, apply a, assumpti...
ff2e59bd283919de04bde741cdca96f57e752bbf
9b9a16fa2cb737daee6b2785474678b6fa91d6d4
/src/data/real/nnreal.lean
73e3c0e715da2db6cdac3223aab00d7aa0d9a46c
[ "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
15,714
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin Nonnegative real numbers. -/ import data.real.basic order.lattice section discrete_field @[simp] lemma inv_eq_zero {α} [discrete_field α] (a : α) : a⁻¹ = 0 ↔ a = 0 :=...
b54270e49b40ff171c9ef6f2ed44a1ce943a5b4f
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/vector3.lean
ac86ca9953c38245eed2bcd92fef154a9a347a43
[ "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
8,135
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.fin.fin2 import tactic.localized /-! # Alternate definition of `vector` in terms of `fin2` > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to t...
62a1df10d3ee20fead8557d3402fca6a08fd548c
491068d2ad28831e7dade8d6dff871c3e49d9431
/tests/lean/run/atomic_notation.lean
a75c96abb8703013a2e2342f18952b04e4c9a710
[ "Apache-2.0" ]
permissive
davidmueller13/lean
65a3ed141b4088cd0a268e4de80eb6778b21a0e9
c626e2e3c6f3771e07c32e82ee5b9e030de5b050
refs/heads/master
1,611,278,313,401
1,444,021,177,000
1,444,021,177,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
107
lean
import logic data.num open num constant f : num → num notation `o`:1 := 10 check o + 1 check f o + o + o
dd730530d9b40be981d78af4a9bfd32c8f4a1523
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/finset/nat_antidiagonal.lean
f5037e150821b6233a76cdf0f9c03dc3745f7d20
[ "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
4,799
lean
/- Copyright (c) 2019 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import data.finset.card import data.multiset.nat_antidiagonal /-! # Antidiagonals in ℕ × ℕ as finsets This file defines the antidiagonals of ℕ × ℕ as finsets: the `...
e8ced62acf642f3b64e91b822c8b6365db1c5896
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/1525.lean
ca3ea2dbe1087b451235ef99d77cefcaa5c1febe
[ "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
124
lean
section t parameter t : Type inductive eqt : t -> t -> Prop | refl : forall x : t, eqt x x #check eqt end t #check eqt
1404a107f23f2b043730a6d874e6279720227a31
c777c32c8e484e195053731103c5e52af26a25d1
/test/norm_num_ext.lean
d33578ed6e43105852eb1908ab8f95c56886be88
[ "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
13,483
lean
/- Copyright (c) 2021 Mario Carneiro All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import algebra.big_operators.norm_num import data.nat.squarefree import data.int.gcd import data.nat.fib import data.nat.prime import data.nat.sqrt_norm_num import ana...