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
176dfddedc07d8f467b294f57ca52d6177acf0b5
4727251e0cd73359b15b664c3170e5d754078599
/src/topology/G_delta.lean
76a6e6206bae18eb392c1c3bd9fd3af8fe80fbb0
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
6,859
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, Yury Kudryashov -/ import topology.uniform_space.basic import topology.separation /-! # `Gδ` sets In this file we define `Gδ` sets and prove their basic propert...
d5edf82866dd002c8eb958ff40af3289dc37069e
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/order/priestley.lean
6a4688db360a15536d4835be01c1e343d2431857
[ "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,677
lean
/- Copyright (c) 2022 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import order.upper_lower import topology.separation /-! # Priestley spaces This file defines Priestley spaces. A Priestley space is an ordered compact topological space...
02f651e04121be6b2db04a6791e435ac82d8a768
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/hott/algebra/category/constructions/opposite.hlean
a1994060bce37ef4708a42044ebe2d9f958169f2
[ "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
5,224
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 Opposite precategory and (TODO) category -/ import ..nat_trans ..category open eq functor iso equiv is_equiv nat_trans namespace category de...
9ee01877c96555f6eb8c8d70dd7ff767acf10d07
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/calculus/mean_value.lean
1fcb04ffbf97d4ff377313b3a2a67ebd01366e4b
[ "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
76,075
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, Yury Kudryashov -/ import analysis.calculus.deriv.slope import analysis.calculus.local_extr import analysis.convex.slope import analysis.convex.normed import data...
1a14d58d968c45ef634420d1dd3f247bf9fb7e64
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/scripts/lint_mathlib.lean
1acd62261c7189b2c86dfd2855486f6595b10226
[ "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,232
lean
/- Copyright (c) 2020 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis, Gabriel Ebner -/ import tactic.lint import system.io -- these are required import all -- then import everything, to parse the library for failing linters /-! # l...
3de7a9552d5a7b596842753a875e860e8e8eecfc
56e5b79a7ab4f2c52e6eb94f76d8100a25273cf3
/src/backends/greedy/fairseq.lean
b114e4f6b77662d99fe817bf76cceda217b20588
[ "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
6,413
lean
import evaluation import utils namespace fairseq section fairseq_api meta structure CompletionRequest : Type := (prompt : string) (max_tokens : int := 16) (temperature : native.float := 1.0) (nbest : int := 1) (beam: int := 10) meta def default_partial_req : CompletionRequest := { prompt := "", max_tokens := 60...
ff9058051e7c051a2de5e2afb9b65caf5b2f07ab
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/floor.lean
77d45dd16d24537f5bb1d3e2caa9526177c9b4ce
[]
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,857
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Kevin Kappelmann -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.linarith.default import Mathlib.tactic.abel import Mathlib.algebra...
e9ead88822c803ab4d5f7c93595abeee82ff98f4
95dcf8dea2baf2b4b0a60d438f27c35ae3dd3990
/src/category_theory/limits/limits.lean
7dcb819350cda01e18f2e19c8472cce02a1f990c
[ "Apache-2.0" ]
permissive
uniformity1/mathlib
829341bad9dfa6d6be9adaacb8086a8a492e85a4
dd0e9bd8f2e5ec267f68e72336f6973311909105
refs/heads/master
1,588,592,015,670
1,554,219,842,000
1,554,219,842,000
179,110,702
0
0
Apache-2.0
1,554,220,076,000
1,554,220,076,000
null
UTF-8
Lean
false
false
26,507
lean
-- Copyright (c) 2018 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Reid Barton, Mario Carneiro, Scott Morrison import category_theory.whiskering import category_theory.yoneda import category_theory.limits.cones open category_theory category_th...
a840f0f5ef689a6d6de23afdff59e0b59096be96
63abd62053d479eae5abf4951554e1064a4c45b4
/src/topology/category/TopCommRing.lean
fb9734d18dea30a9637de1b5601dc2e1a36b8a08
[ "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,345
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.CommRing.basic import topology.category.Top.basic import topology.algebra.ring universes u open category_theory /-- A bundled topological c...
b13300dd1ae6376427e8980dfa6a164cc5812c86
e61a235b8468b03aee0120bf26ec615c045005d2
/stage0/src/Init/Data/FloatArray/Basic.lean
5056e9f54e6e8366a8b2f8ebe86dbd8e72b7a20c
[ "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
2,088
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 -/ prelude import Init.Data.Array.Basic import Init.Data.Float import Init.Data.Option.Basic universes u structure FloatArray := (data : Array Float) attribut...
4e0de01157f84d283438e3f1c374e4fa21f0ba2d
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/category_theory/category/default.lean
dab2df494787eb7bd9862f7e84696caba1619276
[ "Apache-2.0" ]
permissive
vaibhavkarve/mathlib
a574aaf68c0a431a47fa82ce0637f0f769826bfe
17f8340912468f49bdc30acdb9a9fa02eeb0473a
refs/heads/master
1,621,263,802,637
1,585,399,588,000
1,585,399,588,000
250,833,447
0
0
Apache-2.0
1,585,410,341,000
1,585,410,341,000
null
UTF-8
Lean
false
false
7,597
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Stephen Morgan, Scott Morrison, Johannes Hölzl, Reid Barton -/ import tactic.basic import tactic.tidy /-! # Categories Defines a category, as a type class parametrised by the type o...
2632e10b777358ece0485d2e4fe01f19c28f9d63
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/additive/basic.lean
0a8dbe2dba74d586ab1852ebed3ca5836c2e65e5
[ "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
1,013
lean
/- Copyright (c) 2021 Luke Kershaw. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Luke Kershaw -/ import category_theory.preadditive.basic import category_theory.limits.shapes.biproducts /-! # Additive Categories This file contains the definition of additive categor...
d1ca0a48420381502ac910c5d20ca35f9daa89aa
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/init/meta/mk_inhabited_instance.lean
68d4502f665628d6485ea968738a83947190f3ec
[ "Apache-2.0" ]
permissive
soonhokong/lean-osx
4a954262c780e404c1369d6c06516161d07fcb40
3670278342d2f4faa49d95b46d86642d7875b47c
refs/heads/master
1,611,410,334,552
1,474,425,686,000
1,474,425,686,000
12,043,103
5
1
null
null
null
null
UTF-8
Lean
false
false
1,731
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 has decidable equality. -/ prelude import init.meta.contradiction_tactic init.meta.constructor_tactic import init.meta.i...
fa90a9d66020092dab5ab7dd572aa3e7e78706a8
5fbbd711f9bfc21ee168f46a4be146603ece8835
/lean/natural_number_game/function/7.lean
cbc20b0eae333642ab990724b3283b94c7ae7dd1
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
goedel-gang/maths
22596f71e3fde9c088e59931f128a3b5efb73a2c
a20a6f6a8ce800427afd595c598a5ad43da1408d
refs/heads/master
1,623,055,941,960
1,621,599,441,000
1,621,599,441,000
169,335,840
0
0
null
null
null
null
UTF-8
Lean
false
false
111
lean
example (P Q F : Type) : (P → Q) → ((Q → F) → (P → F)) := begin intros f g p, exact g (f p), end
0a07921f3341f17e5e0f63a4a49c0174762d48d5
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/idempotents/simplicial_object.lean
cd18779b827eecd165f0dfeddae615454ec21f42
[ "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
978
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 algebraic_topology.simplicial_object import category_theory.idempotents.functor_categories /-! # Idempotent completeness of categories of simplicial objects > THIS F...
a5bb2e47075431f8c597cea4407ba17b46ae0754
3dc4623269159d02a444fe898d33e8c7e7e9461b
/.github/workflows/project_1_a_decrire/foncteur/foncteur_affine_line/AGL_1_new.lean
5e167039eddfe04188ae9a9c740419b8eb97afd3
[]
no_license
Or7ando/lean
cc003e6c41048eae7c34aa6bada51c9e9add9e66
d41169cf4e416a0d42092fb6bdc14131cee9dd15
refs/heads/master
1,650,600,589,722
1,587,262,906,000
1,587,262,906,000
255,387,160
0
0
null
null
null
null
UTF-8
Lean
false
false
4,567
lean
import algebra.category.CommRing.basic import algebra.ring import tactic /-- ## This is the groupe AGL_1(R) : x ↦ ax + b invertible i.e with a inveritible ! The goal is to make ## into a groupe for composition ! -/ structure AGL_1 ( R : Type) [comm_ring R] := (a b : R) (y : R) (certif : a * y = 1) namespace AGL_1 ...
b7024b37aede31c1d668844603ceba3cc2609896
e030b0259b777fedcdf73dd966f3f1556d392178
/library/data/list.lean
e8e547189b2a2a18a502b6175dd94f318a544540
[ "Apache-2.0" ]
permissive
fgdorais/lean
17b46a095b70b21fa0790ce74876658dc5faca06
c3b7c54d7cca7aaa25328f0a5660b6b75fe26055
refs/heads/master
1,611,523,590,686
1,484,412,902,000
1,484,412,902,000
38,489,734
0
0
null
1,435,923,380,000
1,435,923,379,000
null
UTF-8
Lean
false
false
4,814
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad This is a minimal port of functions from the lean2 list library. -/ import init.data.list.basic universe variables u v w namespace list open nat variables {α :...
468aa00888cb2476bc58177bcfe6133da2ebed8d
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/linear_algebra/sesquilinear_form.lean
e153250425dd02c96122eb96b42cd8669f657f94
[ "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
12,164
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 ring_theory.ring_invo import algebra.module.linear_map /-! # Sesquilinear form This file defines a sesquilinear form over a module. The definition requir...
a91b665cdb25d19735571bf2d6a23c07449843ed
36938939954e91f23dec66a02728db08a7acfcf9
/lean/deps/x86_semantics/src/x86_semantics/machine_memory.lean
6c2b644e906c62bdf7d0e42db85c2f3a025fb3f7
[ "Apache-2.0" ]
permissive
pnwamk/reopt-vcg
f8b56dd0279392a5e1c6aee721be8138e6b558d3
c9f9f185fbefc25c36c4b506bbc85fd1a03c3b6d
refs/heads/master
1,631,145,017,772
1,593,549,019,000
1,593,549,143,000
254,191,418
0
0
null
1,586,377,077,000
1,586,377,077,000
null
UTF-8
Lean
false
false
3,756
lean
import galois.data.bitvec import data.buffer import .buffer_map @[reducible] def memaddr := bitvec 64 @[reducible] def byte := bitvec 8 -- -- FIXME: maybe ℕ is more efficient here? -- inductive region -- | has_contents : buffer byte -> region -- | all_zeroes : ℕ -> region @[reducible] def init_memory := bu...
dfb42128720b910556f8f9605e11c4de7f39fe32
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/sites/sheaf_of_types_auto.lean
845ab22098a24eefe60a310f8bc51ec12e8bc255
[]
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
38,297
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.sites.pretopology import Mathlib.category_theory.limits.shapes.types import Mat...
d3954b2a0369eef1394291ba0572d28ee2a7893c
5e42295de7f5bcdf224b94603a8ec29b17c2d367
/proof_trace.lean
03636cafaba465c5405b2e5e99c4a8dfd9a029a0
[]
no_license
pnmadelaine/lean_polya
9369e0d87dce773f91383bb58ac6fde0a00a1a40
1c62b0b3fa71044b0225ce28030627d251b08ebc
refs/heads/master
1,590,161,172,243
1,515,010,019,000
1,515,010,019,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,699
lean
import .datatypes .proof_reconstruction namespace polya open tactic open proof_sketch private meta def proof_sketch.trace_aux : string → proof_sketch → tactic string | tab ⟨fact, reason, justifications⟩ := let line := tab ++ fact ++ " : " ++ reason ++ "\n" in do js' ← justifications.mmap (proof_sketch.trace_au...
4e010044018f54b187f7f88be3426d726b0fd940
07c76fbd96ea1786cc6392fa834be62643cea420
/tests/lean/hott/rewriter1.hlean
2bd9ab6d9ae917cea4dff01a20ad48aebdd3df41
[ "Apache-2.0" ]
permissive
fpvandoorn/lean2
5a430a153b570bf70dc8526d06f18fc000a60ad9
0889cf65b7b3cebfb8831b8731d89c2453dd1e9f
refs/heads/master
1,592,036,508,364
1,545,093,958,000
1,545,093,958,000
75,436,854
0
0
null
1,480,718,780,000
1,480,718,780,000
null
UTF-8
Lean
false
false
654
hlean
import algebra.group open algebra constant f {A : Type} : A → A → A theorem test1 {A : Type} [s : add_ab_group A] (a b c : A) : f (a + 0) (f (a + 0) (a + 0)) = f a (f (0 + a) a) := begin rewrite [ add_zero at {1, 3}, -- rewrite 1st and 3rd occurrences {0 + _}add.comm] -- apply commutativity to (0 + _) end...
f4c7e2a97f8c18808630a2d281f99051a12e9002
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/rewriter2.lean
2ab8b6cec8c61f70056e86e658565c19fe70f101
[ "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
1,402
lean
import data.nat open algebra constant f {A : Type} : A → A → A theorem test1 {A : Type} [s : comm_ring A] (a b c : A) : f (a + 0) (f (a + 0) (a + 0)) = f a (f (0 + a) a) := begin rewrite [add_zero at {1, 3}, -- rewrite 1st and 3rd occurrences {0 + _}add.comm] -- apply commutativity to (0 + _) end chec...
a10aa74c7a6577e2fd154cc1ee3114ca25d97ed6
94637389e03c919023691dcd05bd4411b1034aa5
/src/inClassNotes/final/var_test.lean
e9f6e754b8d03bdfe377589985f2ef3a7b0e9f29
[]
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
335
lean
import .var -- some arithmetic variables def X : var nat := var.mk 0 def Y : var nat := var.mk 1 def Z : var nat := var.mk 2 -- some Boolean variables def P : var bool := var.mk 0 def Q : var bool := var.mk 1 def R : var bool := var.mk 2 -- test our var_eq function example : var_eq X X = tt := rfl example : var_eq ...
df3759983811a8601abd46f732adff2d7d5b6c76
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/compiler/bytearray_bug.lean
69cace51193b8872f6be092f0fa701db953c79a6
[ "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
151
lean
def main (xs : List String) : IO Unit := let arr := (let e := ByteArray.empty; e.push (UInt8.ofNat 10)); let v := arr.data.get! 0; IO.println v
698eb5b21f4cbdda9fd6a45c4befb739ec25eac0
37da0369b6c03e380e057bf680d81e6c9fdf9219
/hott/homotopy/homotopy_group.hlean
9d1acd6a401fd679ee1d57958af5481a3e9e9c90
[ "Apache-2.0" ]
permissive
kodyvajjha/lean2
72b120d95c3a1d77f54433fa90c9810e14a931a4
227fcad22ab2bc27bb7471be7911075d101ba3f9
refs/heads/master
1,627,157,512,295
1,501,855,676,000
1,504,809,427,000
109,317,326
0
0
null
1,509,839,253,000
1,509,655,713,000
C++
UTF-8
Lean
false
false
12,542
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...
48335bdf2071a1ac92c7d9a71aeaab1da6426240
fecda8e6b848337561d6467a1e30cf23176d6ad0
/src/algebra/category/Algebra/limits.lean
4503f7594b1421047d28e6c2fe49b812c3905c57
[ "Apache-2.0" ]
permissive
spolu/mathlib
bacf18c3d2a561d00ecdc9413187729dd1f705ed
480c92cdfe1cf3c2d083abded87e82162e8814f4
refs/heads/master
1,671,684,094,325
1,600,736,045,000
1,600,736,045,000
297,564,749
1
0
null
1,600,758,368,000
1,600,758,367,000
null
UTF-8
Lean
false
false
5,273
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.category.Algebra.basic import algebra.category.Module.limits import algebra.category.CommRing.limits /-! # The category of R-algebras has all limits ...
0646b698fd1beb86ed78c2dddc7cf33f322ae5c5
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/localNotationPP.lean
1e0b3fd805e1927692817d8c4e648af564e57832
[ "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
115
lean
axiom n : Type → Type section local notation "ℕ" x => n x end #check n Nat -- should *not* be `ℕ Nat : Type`
6a9135b0d6d7a37fbab6c8fc33e0062ed8dc37f4
94e33a31faa76775069b071adea97e86e218a8ee
/src/topology/sheaves/sheaf_condition/equalizer_products.lean
d4df2d1c2df4637e443fccb8f36a686a3fe6f5d9
[ "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
8,608
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.full_subcategory import category_theory.limits.shapes.equalizers import category_theory.limits.shapes.products import topology.sheaves.presheaf...
a6ee6efbca035b0e68ba45f5b8944439d36a8988
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/ring_theory/polynomial/gauss_lemma.lean
1e2e1462c40d5cacc9c18a375430c929c9e6409f
[ "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
7,634
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import ring_theory.int.basic import ring_theory.localization /-! # Gauss's Lemma Gauss's Lemma is one of a few results pertaining to irreducibility of primitive pol...
cf131f03e58fec95d662dfb5df468ca8eae7830b
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/stage0/src/Lean/Compiler/IR/ElimDeadBranches.lean
0848c0547c91cb26e70d2aabfc34066f46c2bb68
[ "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
11,561
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 Lean.Compiler.IR.Format import Lean.Compiler.IR.Basic import Lean.Compiler.IR.CompilerM namespace Lean.IR.UnreachableBranches /-- Value used in the...
73ee2ed2005e77845fc3c26b232e760503210383
968e2f50b755d3048175f176376eff7139e9df70
/examples/pred_logic/unnamed_792.lean
c0071b0785fe07e17fdd7782dfd0f2925669377a
[]
no_license
gihanmarasingha/mth1001_sphinx
190a003269ba5e54717b448302a27ca26e31d491
05126586cbf5786e521be1ea2ef5b4ba3c44e74a
refs/heads/master
1,672,913,933,677
1,604,516,583,000
1,604,516,583,000
309,245,750
1
0
null
null
null
null
UTF-8
Lean
false
false
731
lean
import tactic namespace hidden def even (a : ℕ) := ∃ b, a = 2 * b -- BEGIN example (n : ℕ) (h : even n) : even (5*n) := begin unfold even at h, -- Using the definition of even, `h : ∃ b, n = 2 * b` unfold even, -- Using the definition of even, the goal is `∃ b, 5n = 2b` cases h with c k, -- By exists elimination ...
16ed664683ac38b6998d2f3c4fb32dd9b291219b
c777c32c8e484e195053731103c5e52af26a25d1
/src/data/prod/basic.lean
240beda2eb6e20d573ff9f9fe79478000d3e42d9
[ "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
12,874
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.basic import logic.function.basic /-! # Extra facts about `prod` > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corre...
17c33bffbc78e8f33efec96d9c87981a9bc1d175
c1cc0e0109964c513d82364865617b077fbbca41
/src/homs.lean
252acafee37497c8b4678b028f50b129855d0711
[]
no_license
loganrjmurphy/lean-algebra
314f12a28459d8734200207b4304ce036b0c886d
474ac0c2714b7c0ad544a90c0d0807b92a0da227
refs/heads/master
1,675,055,520,716
1,607,564,600,000
1,607,564,600,000
316,637,587
1
0
null
null
null
null
UTF-8
Lean
false
false
1,125
lean
import definitions subgroups basic tactic open function tactic universe u namespace Algebra variables (G H : Type u) [group G] [group H] structure hom := (f : G → H) (prsv : ∀ a b : G, f(a + b) = f a + f b) def iso : Type* := {φ : hom G H // bijective φ.f} def image (φ : hom G H) : set H:= set.range φ.f lemma...
3c5196c4051e376fe9c574097758d68d7530a2cd
bb31430994044506fa42fd667e2d556327e18dfe
/src/probability/variance.lean
2e539b0e9810e10a99725ee155f42f5a5f111f1e
[ "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
17,310
lean
/- Copyright (c) 2022 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel, Kexing Ying -/ import probability.notation import probability.integration /-! # Variance of random variables We define the variance of a real-valued random vari...
998f53404a6718fddc4e43746e9e0f68cc5c3d90
ebf7140a9ea507409ff4c994124fa36e79b4ae35
/src/solutions/thursday/category_theory/exercise9.lean
8f0c6e0746f36466132480364345897c1c86e0a2
[]
no_license
fundou/lftcm2020
3e88d58a92755ea5dd49f19c36239c35286ecf5e
99d11bf3bcd71ffeaef0250caa08ecc46e69b55b
refs/heads/master
1,685,610,799,304
1,624,070,416,000
1,624,070,416,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,722
lean
import category_theory.limits.shapes.biproducts /-! Let's show that every preadditive category embeds into a preadditive category with biproducts, and identify a good universal property. This is a more advanced exercise, for which I've indicated a suggested structure, but not written a full solution. I hope this stru...
ecc3275ad784e6a7c794013e777de5c8d358db24
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/set/intervals/surj_on.lean
3cdfd9294483e24563c3e0f55d6567ddc66b37e0
[ "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,983
lean
/- Copyright (c) 2020 Heather Macbeth. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Heather Macbeth -/ import data.set.intervals.basic import data.set.function /-! # Monotone surjective functions are surjective on intervals A monotone surjective function sends any i...
28401e6882f88208f246c3b5d33f9f9761b073a1
3618c6e11aa822fd542440674dfb9a7b9921dba0
/scratch/for_mathlib/coprod/bicoprod.lean
c5cc6317d88691427cbf31c5d2a52e743d513a27
[]
no_license
ChrisHughes24/single_relation
99ceedcc02d236ce46d6c65d72caa669857533c5
057e157a59de6d0e43b50fcb537d66792ec20450
refs/heads/master
1,683,652,062,698
1,683,360,089,000
1,683,360,089,000
279,346,432
0
0
null
null
null
null
UTF-8
Lean
false
false
2,488
lean
import .basic universes u v variables (M N : Type u) [monoid M] [monoid N] variables (G H : Type u) [group G] [group H] variables {K : Type v} [monoid K] def bicoprod_monoid_aux (b : bool) : monoid (cond b M N) := { mul := bool.cases_on b ((*) : N → N → N) ((*) : M → M → M), one := bool.cases_on b (1 : N) (1 : M),...
c1dd8cedfc65d2a029dd26d0bce6f87166e2b00f
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch4/ex0205.lean
0006d3a51d4cb9998e303d7e6aa20347e65a4e44
[]
no_license
Ailrun/Theorem_Proving_in_Lean
ae6a23f3c54d62d401314d6a771e8ff8b4132db2
2eb1b5caf93c6a5a555c79e9097cf2ba5a66cf68
refs/heads/master
1,609,838,270,467
1,586,846,743,000
1,586,846,743,000
240,967,761
1
0
null
null
null
null
UTF-8
Lean
false
false
195
lean
universe u variables (α β : Type u) example (f : α → β) (a : α) : (λ x, f x) a = f a := eq.refl _ example (a : α) (b : α) : (a, b).1 = a := eq.refl _ example : 2 + 3 = 5 := eq.refl _
1d1d8e44dcbc8b6a1f0a78c5f2b17e54614be686
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/order/well_founded_set.lean
317c480413b0d5f4950c12ce9eaba1d7370eeaf2
[ "Apache-2.0" ]
permissive
dexmagic/mathlib
ff48eefc56e2412429b31d4fddd41a976eb287ce
7a5d15a955a92a90e1d398b2281916b9c41270b2
refs/heads/master
1,693,481,322,046
1,633,360,193,000
1,633,360,193,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
32,986
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 data.set.finite import order.well_founded import order.order_iso_nat import algebra.pointwise /-! # Well-founded sets A well-founded subset of an ordered typ...
2f4d7c7068a8b7e03fc1c6fadc2b1feeb5279bf4
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/algebra/group_completion.lean
58687dd2595e647100691a7b57e2a0150a162509
[ "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
10,445
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Johannes Hölzl -/ import topology.algebra.uniform_group import topology.algebra.uniform_mul_action import topology.uniform_space.completion /-! # Completion of topolog...
e8e960976eaf295e44d59c41589e00689d92da5b
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/1587.lean
fc91d620f3e0db42c77c8066edf85478be6e3374
[ "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
438
lean
def f (x : ℕ) := x theorem foo : ∀ (x : ℕ), f x = x := by simp [f] set_option pp.instantiate_mvars false example (x : ℕ) : f x = x := begin transitivity, { refl, }, rw [foo], end example (x : ℕ) : f x = x := begin transitivity, { refl, }, simp [foo], end -- example : 8 + 4 ≤ 12 := -- begin -- transitivit...
8785a3d0c3b7a4671f3726dd0e3ed872f6821bc1
36938939954e91f23dec66a02728db08a7acfcf9
/lean4/tests/SExp.lean
aa5fece58a9698ed2b00269d7c263de634ff86a9
[]
no_license
pnwamk/reopt-vcg
f8b56dd0279392a5e1c6aee721be8138e6b558d3
c9f9f185fbefc25c36c4b506bbc85fd1a03c3b6d
refs/heads/master
1,631,145,017,772
1,593,549,019,000
1,593,549,143,000
254,191,418
0
0
null
1,586,377,077,000
1,586,377,077,000
null
UTF-8
Lean
false
false
1,349
lean
import Galois.Data.SExp namespace Test namespace SExp structure Atom := (val:String) def Atom.toString (a:Atom) : String := a.val instance Atom.HasToString : HasToString Atom := ⟨Atom.toString⟩ def parseAtom (input:String) : Except String Atom := pure $ Atom.mk input abbrev SExpr := WellFormedSExp.SExp Atom de...
ae5068aa3f495bb5621c9e7e00a9762ea40f6578
618003631150032a5676f229d13a079ac875ff77
/src/tactic/doc_commands.lean
af4edd1fe37406976f2982ee1386f13464b61cca
[ "Apache-2.0" ]
permissive
awainverse/mathlib
939b68c8486df66cfda64d327ad3d9165248c777
ea76bd8f3ca0a8bf0a166a06a475b10663dec44a
refs/heads/master
1,659,592,962,036
1,590,987,592,000
1,590,987,592,000
268,436,019
1
0
Apache-2.0
1,590,990,500,000
1,590,990,500,000
null
UTF-8
Lean
false
false
17,381
lean
/- Copyright (c) 2020 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis -/ import tactic.fix_reflect_string /-! # Documentation commands We generate html documentation from mathlib. It is convenient to collect lists of tactics, commands,...
261d382f7ad76b6f218b93370e784de7349a05c3
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/topology/uniform_space/complete_separated.lean
05dc2955a4d34a5b032386a241237a4b494150a5
[ "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,334
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 Theory of complete separated uniform spaces. This file is for elementary lemmas that depend on both Cauchy filters and separation. -/ import topology.uniform_spa...
01652954928173c90b285aa8f44f693e8decab09
0c5abeb1db6cbe28b53bd9d53cb422215ea296c2
/src/set_theory.lean
d26417b3a7fd57e962747cec734f734f303186e5
[]
no_license
unitb/set_theory
96fc1d2bc33492a9092c7cf62c898273f89d93db
a9df45fdea2903d92cc2acc40e14c518dddcdd02
refs/heads/master
1,628,455,672,723
1,510,380,624,000
1,510,380,624,000
110,322,541
0
0
null
null
null
null
UTF-8
Lean
false
false
32,746
lean
import data.set.basic import data.num.lemmas import util.meta.tactic universes u v w def arity (α : Type u) : nat → Type u | 0 := α | (n+1) := α → arity n section definitions variable β : Type v inductive pObject : Type (max v (u+1)) | mk (α : Type u) (A : α → pObject) : pObject | atom : β → pObject variable ...
41eeaf851f956553ad127d83a6b6aa128baf6459
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/hott/types/eq.hlean
69345ce71522d91ad1f77c50aa22e2c5533470d8
[ "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
21,500
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 Partially ported from Coq HoTT Theorems about path types (identity types) -/ import types.sigma open eq sigma sigma.ops equiv is_equiv equiv.ops is_trunc -- TODO: ...
5d87486d37b242e6dc51a916faa16f1dcd683c65
8b9f17008684d796c8022dab552e42f0cb6fb347
/tests/lean/run/tactic23.lean
6573e206c5c2236c313a38f9a7532cedd33152bb
[ "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
1,004
lean
import logic namespace experiment inductive nat : Type := | zero : nat | succ : nat → nat namespace nat definition add (a b : nat) : nat := nat.rec a (λ n r, succ r) b infixl `+` := add definition one := succ zero -- Define coercion from num -> nat -- By default the parser converts numerals into a binary representat...
cbb08ff10fd9455e007a094e8f80d5c859641ddc
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/tests/lean/run/meta7.lean
df3b99da83b63231b55504bc1604d0d56d480d63
[ "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
1,590
lean
import Lean.Meta open Lean open Lean.Meta def fact : Nat → Nat | 0 => 1 | n+1 => (n+1)*fact n set_option trace.Meta true set_option trace.Meta.isDefEq false set_option trace.Meta.check false def print (msg : MessageData) : MetaM Unit := trace! `Meta.debug msg def check (x : MetaM Bool) : MetaM Unit := unlessM x $ t...
22778d91ffcba0e3e6cd7cb04df4d5842cd77993
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/lean/mvar_fvar.lean
39d9c9938608c89fbbf49397d2cc7dffa17908b6
[ "Apache-2.0" ]
permissive
mhuisi/lean4
28d35a4febc2e251c7f05492e13f3b05d6f9b7af
dda44bc47f3e5d024508060dac2bcb59fd12e4c0
refs/heads/master
1,621,225,489,283
1,585,142,689,000
1,585,142,689,000
250,590,438
0
2
Apache-2.0
1,602,443,220,000
1,585,327,814,000
C
UTF-8
Lean
false
false
279
lean
import Init.Lean open Lean #eval (mkFVar `a).hasFVar #eval (mkApp (mkConst `foo) (mkFVar `a)).hasFVar #eval (mkApp (mkConst `foo) (mkConst `a)).hasFVar #eval (mkMVar `a).hasMVar #eval (mkApp (mkConst `foo) (mkMVar `a)).hasMVar #eval (mkApp (mkConst `foo) (mkConst `a)).hasMVar
13a49e264e3e452fd2b7bb765b0c51e1c128b75a
a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7
/src/data/vector2.lean
f3643a190f81984dfd155120aa455682f5f7b135
[ "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
10,737
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro Additional theorems about the `vector` type. -/ import tactic.tauto import data.vector import data.list.nodup import data.list.of_fn import control.applicative univers...
6a01a217b01cd642b0c12c4bc9b34ab550d6cbee
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/library/logic/relation.lean
e4613d88f919d9ffc55150b142efc6b034e4efdc
[ "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
1,428
lean
-- Copyright (c) 2014 Microsoft Corporation. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Leonardo de Moura import logic.eq -- TODO(Leo): remove duplication between this file and algebra/relation.lean -- We need some of the following definitions asap when "ini...
9e328aa7e3268d65bf9377fa1d8a8ad057d06bc3
c777c32c8e484e195053731103c5e52af26a25d1
/src/group_theory/subgroup/basic.lean
b18053c47065b34973b32305a01f2a7a4be73b46
[ "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
108,268
lean
/- Copyright (c) 2020 Kexing Ying. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kexing Ying -/ import algebra.group.conj import algebra.module.basic import algebra.order.group.inj_surj import data.countable.basic import group_theory.submonoid.centralizer import logic...
7a5dde72423749da6dade7d3f9d3de3ea44d985e
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/data/polynomial/denoms_clearable.lean
0dc884f4b526a03aea304eedad0a72b6320cc4fe
[ "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
4,688
lean
/- Copyright (c) 2020 Damiano Testa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Damiano Testa -/ import data.polynomial.erase_lead import data.polynomial.eval /-! # Denominators of evaluation of polynomials at ratios Let `i : R → K` be a homomorphism of semirings...
d033c9b07903bfd1af08d43b7839b58034018bee
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/order/lattice_intervals.lean
590b6cc3251fe7e5468b376c7450229c3cd4e86c
[ "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
7,549
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import order.bounded_lattice import data.set.intervals.basic /-! # Intervals in Lattices In this file, we provide instances of lattice structures on intervals with...
898ebaf916f523ed0109bdc424fa4bce1c690f2b
3ef5255cebe505e5ab251615d9fbf31a132f461d
/lean/old/sigmas.lean
baec3a6e96f9f8704ad1c8c742f4fd6f6fa4e84b
[]
no_license
avigad/scratch
42441a2ea94918049391e44d7adab304d3adea51
3fb9cef15bc5581c9602561427a7f295917990a2
refs/heads/master
1,608,917,412,424
1,473,078,921,000
1,473,078,921,000
17,224,172
0
0
null
null
null
null
UTF-8
Lean
false
false
5,759
lean
---------------------------------------------------------------------------------------------------- -- -- sigmas.lean -- Jeremy Avigad -- -- experimenting with axiomatized pairs -- ---------------------------------------------------------------------------------------------------- import macros universe U ≥ 2 -- th...
020c09620952bcb81bb3e45dce559e5ccb348b6d
d1bbf1801b3dcb214451d48214589f511061da63
/src/topology/instances/nnreal.lean
270a085901df5caba06cac0dff25c92fc0547cb7
[ "Apache-2.0" ]
permissive
cheraghchi/mathlib
5c366f8c4f8e66973b60c37881889da8390cab86
f29d1c3038422168fbbdb2526abf7c0ff13e86db
refs/heads/master
1,676,577,831,283
1,610,894,638,000
1,610,894,638,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,941
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 topology.algebra.infinite_sum import topology.algebra.group_with_zero noncomputable theory open set topological_space metric open_l...
4ef4b8b4a2551ee02a385e6f16b7a3ac97188892
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/measure_theory/integral/periodic.lean
dda056f6229865ac560e31db1e854e89b1fe70eb
[ "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
16,262
lean
/- Copyright (c) 2021 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov, Alex Kontorovich, Heather Macbeth -/ import measure_theory.measure.haar_quotient import measure_theory.integral.interval_integral import topology.algebra.order.floor ...
1c061a90e7c301a2dcdecc9da641be20508141a4
a88f0086fb3e2025ebb21e0ba2f2725774c6979f
/src/algebra/big_operators.lean
a72e0b7745834b7efaa00f247afbcbc09cfe87e8
[ "Apache-2.0" ]
permissive
Kha/stdlib
b5a4456c35def0ca8f1bf2d32dbeebd7639cbc4d
e44b105c72ec77120f43a7a7dd1cd49867a65a41
refs/heads/master
1,609,528,111,500
1,572,963,395,000
1,572,963,395,000
98,516,307
0
1
null
1,501,146,352,000
1,501,146,352,000
null
UTF-8
Lean
false
false
31,849
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 Some big operators for lists and finite sets. -/ import tactic.tauto data.list.basic data.finset data.nat.enat import algebra.group algebra.ordered_group algebra.group_...
6a1e497d7215b0e5d297eefb4d6b00f587985368
e39f04f6ff425fe3b3f5e26a8998b817d1dba80f
/algebra/order.lean
a99882d2fc8aeb5701333605bd95d67960e829ae
[ "Apache-2.0" ]
permissive
kristychoi/mathlib
c504b5e8f84e272ea1d8966693c42de7523bf0ec
257fd84fe98927ff4a5ffe044f68c4e9d235cc75
refs/heads/master
1,586,520,722,896
1,544,030,145,000
1,544,031,933,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,022
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ universe u variables {α : Type u} lemma not_le_of_lt [preorder α] {a b : α} (h : a < b) : ¬ b ≤ a := (le_not_le_of_lt h).right lemma not_lt_of_le [preorder α] {a b...
1b23996d34d0ecd535b828d621672fc1f249384a
b9d8165d695e844c92d9d4cdcac7b5ab9efe09f7
/src/analysis/calculus/fderiv.lean
4a299098641a1096ac1e3c2791d7e7b462d531fa
[ "Apache-2.0" ]
permissive
spapinistarkware/mathlib
e917d9c44bf85ef51db18e7a11615959f714efc5
0a9a1ff463a1f26e27d7c391eb7f6334f0d90383
refs/heads/master
1,606,808,129,547
1,577,478,369,000
1,577,478,369,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
61,310
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Sébastien Gouëzel -/ import analysis.asymptotics analysis.calculus.tangent_cone /-! # The Fréchet derivative Let `E` and `F` be normed spaces, `f : E → F`, and `f' : E...
f2de78e98167bba3ba926da36483cfd79f6c2032
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/linear_algebra/sesquilinear_form.lean
424d7d21623dc90e0d49a0fba060ad64b2d17766
[ "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
8,797
lean
/- Copyright (c) 2018 Andreas Swerdlow. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Andreas Swerdlow -/ import algebra.module.basic import ring_theory.ring_invo /-! # Sesquilinear form This file defines a sesquilinear form over a module. The definition requires a r...
91a1bc1dde9cf6e707a2d664755993f9cae2c76f
9b9a16fa2cb737daee6b2785474678b6fa91d6d4
/src/data/finmap.lean
a6fad5326f3f55ff1160ccfc8447637edcce2f77
[ "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
8,678
lean
/- Copyright (c) 2018 Sean Leather. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sean Leather, Mario Carneiro Finite maps over `multiset`. -/ import data.list.alist data.finset data.pfun universes u v w open list variables {α : Type u} {β : α → Type v} namespace m...
9c9d560466b1fc2d949665c7e6e7270ab0725009
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/combinatorics/simple_graph/inc_matrix.lean
46829ff8eceb39c7698026fabd1c4a690b34e01f
[ "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,938
lean
/- Copyright (c) 2021 Gabriel Moise. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Moise, Yaël Dillies, Kyle Miller -/ import combinatorics.simple_graph.basic import data.matrix.basic /-! # Incidence matrix of a simple graph > THIS FILE IS SYNCHRONIZED WITH ...
d1a0915c495cae29968bf52c39d0c4788754b827
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/measure_theory/bochner_integration.lean
b446001fff5e13512a8cd773b2a9d951db2d88be
[ "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
69,629
lean
/- Copyright (c) 2019 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou, Yury Kudryashov, Sébastien Gouëzel -/ import measure_theory.simple_func_dense import analysis.normed_space.bounded_linear_maps import measure_theory.l1_space import topol...
00d1b685292e196fa4e2f077a59cd848dc0fbbae
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebraic_topology/Moore_complex.lean
5c835034f90df88e52ee177e4f6a6aef889d9d3e
[ "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,644
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.homology.homological_complex import algebraic_topology.simplicial_object import category_theory.abelian.basic /-! ## Moore complex > THIS FILE IS SYN...
b7f5bfa97172c00985e33186274d1570e3e23704
07c6143268cfb72beccd1cc35735d424ebcb187b
/src/order/filter/filter_product.lean
1ce8449f09d0c524ad9b80229daf8c6e79dbabfb
[ "Apache-2.0" ]
permissive
khoek/mathlib
bc49a842910af13a3c372748310e86467d1dc766
aa55f8b50354b3e11ba64792dcb06cccb2d8ee28
refs/heads/master
1,588,232,063,837
1,587,304,803,000
1,587,304,803,000
176,688,517
0
0
Apache-2.0
1,553,070,585,000
1,553,070,585,000
null
UTF-8
Lean
false
false
22,480
lean
/- Copyright (c) 2019 Abhimanyu Pallavi Sudhir. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Abhimanyu Pallavi Sudhir "Filterproducts" (ultraproducts on general filters), ultraproducts. -/ import order.filter.basic import algebra.pi_instances universes u v variable...
2b1bc43e9c5859485ee35985ce8f244c78d0ffaf
38bf3fd2bb651ab70511408fcf70e2029e2ba310
/src/data/int/basic.lean
3572e37a8e1a7d0fb088b4430db701ba8b78ee9c
[ "Apache-2.0" ]
permissive
JaredCorduan/mathlib
130392594844f15dad65a9308c242551bae6cd2e
d5de80376088954d592a59326c14404f538050a1
refs/heads/master
1,595,862,206,333
1,570,816,457,000
1,570,816,457,000
209,134,499
0
0
Apache-2.0
1,568,746,811,000
1,568,746,811,000
null
UTF-8
Lean
false
false
50,949
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad The integers, with addition, multiplication, and subtraction. -/ import data.nat.basic data.list.basic algebra.char_zero algebra.order_functions open nat namespace int ...
7b510bd1b12e7af59ac731448dc324b8fb92baa2
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/analysis/analytic/composition.lean
9423e0dc1041e088f5a9b383cbb8a2085e91cb8c
[ "Apache-2.0" ]
permissive
dupuisf/mathlib
62de4ec6544bf3b79086afd27b6529acfaf2c1bb
8582b06b0a5d06c33ee07d0bdf7c646cae22cf36
refs/heads/master
1,669,494,854,016
1,595,692,409,000
1,595,692,409,000
272,046,630
0
0
Apache-2.0
1,592,066,143,000
1,592,066,142,000
null
UTF-8
Lean
false
false
56,513
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, Johan Commelin -/ import analysis.analytic.basic import combinatorics.composition /-! # Composition of analytic functions in this file we prove that the composi...
161083c48ed50ee3375bac60996d93e59c0e99ad
ff5230333a701471f46c57e8c115a073ebaaa448
/library/init/data/string/default.lean
106a8a6380234286bc8306c9d67f00362eecbb82
[ "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
250
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.data.string.basic init.data.string.instances init.data.string.ops
684af5d4fafd9646dde26a629bf0a23e6dc7776d
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/linear_algebra/special_linear_group_auto.lean
dd31f91b460d05949150af932721a7574e8e9b3f
[]
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
7,819
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Anne Baanen. The Special Linear group $SL(n, R)$ -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.linear_algebra.matrix import Mathlib.linear_algebra....
3073bbbfe63ba2228185fbc1e662b9196bfeac25
367134ba5a65885e863bdc4507601606690974c1
/src/topology/order.lean
92c69423761b537b1f054015c5fecd521131597b
[ "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
28,866
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 -/ import topology.tactic /-! # Ordering on topologies and (co)induced topologies Topologies on a fixed type `α` are ordered, by reverse inclusion. Tha...
a27d552e13e03b00c3abaccd0293d61355bfc4e1
9dc8cecdf3c4634764a18254e94d43da07142918
/src/topology/algebra/module/weak_dual.lean
627aa29f3062c6203106d7222250a18f4a113781
[ "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,290
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ä, Moritz Doll -/ import topology.algebra.module.basic /-! # Weak dual topology This file defines the weak topology given two vector spaces `E` and `F` over a commutative se...
0b06cfd30ba78fca72dd19492bbfb39993efde60
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/data/rbtree/insert.lean
b004530899cb762e266db6254c2e5e8dd785e316
[ "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
34,141
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 universes u v local attribute [simp] rbnode.lift namespace rbnode variables {α : Type u} open color @[simp] lemma balance1_eq₁ (...
d60a630444fb7c0edcc50dead8363ce0eab7022e
c777c32c8e484e195053731103c5e52af26a25d1
/src/linear_algebra/matrix/adjugate.lean
eb87b9f7f57c4e10708a004d85734324e7dc47a0
[ "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
20,157
lean
/- Copyright (c) 2019 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import algebra.regular.basic import linear_algebra.matrix.mv_polynomial import linear_algebra.matrix.polynomial import ring_theory.polynomial.basic /-! # Cramer's rule and...
ec9d13d0e07eb5a0b878224f0005e16c0858ccda
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch4/ex0203.lean
bc9d8177fe5a1555a9d2ec833e58ecd07574e9f2
[]
no_license
Ailrun/Theorem_Proving_in_Lean
ae6a23f3c54d62d401314d6a771e8ff8b4132db2
2eb1b5caf93c6a5a555c79e9097cf2ba5a66cf68
refs/heads/master
1,609,838,270,467
1,586,846,743,000
1,586,846,743,000
240,967,761
1
0
null
null
null
null
UTF-8
Lean
false
false
164
lean
universe u variables (α : Type u) (a b c d : α) variables (hab : a = b) (hcb : c = b) (hcd : c = d) example : a = d := eq.trans (eq.trans hab (eq.symm hcb)) hcd
3cb03660ca93212a1893fd2a210d80c2c686e86f
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/analysis/calculus/deriv.lean
24afc8aa0446fcd44d8a6bc179049a0771567db0
[ "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
69,532
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 import data.polynomial /-! # One-dimensional derivatives This file defines the derivative of a function `f : 𝕜 → ...
88bea19cbab76f57c47223a727f148d7954158ec
367134ba5a65885e863bdc4507601606690974c1
/src/ring_theory/non_zero_divisors.lean
1fddb40618df5ced04e73322e1ac06e7de6f09ae
[ "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
3,746
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Devon Tuma -/ import group_theory.submonoid.operations import group_theory.submonoid.membership /-! # Non-zero divisors In this file we define the submonoid `non_zero_divisors...
e8cbdfe15deef78bc6b1296afa18a6586901beb7
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Elab/InfoTree/Types.lean
d6b8e3e0cf105d849b9a4c0d7241848a7deea737
[ "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
7,234
lean
/- Copyright (c) 2020 Wojciech Nawrocki. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wojciech Nawrocki, Leonardo de Moura, Sebastian Ullrich -/ import Lean.Message import Lean.Data.Json namespace Lean.Elab /-- Context after executing `liftTermElabM`. Note that...
0676b72790a90840564cb266c5b41517e8d100b1
1546f9083f4babf70df0329497d1ee05adc8c665
/src/monoidal_categories_reboot/slice_tactic.lean
38aec0a5e7ccbcbb6898b32e1bd94aa0e896c1af
[ "Apache-2.0" ]
permissive
khoek/monoidal-categories-reboot
0899b0d4552ff039388042059c91f7207c6c34e5
ed3df8ecce5d4e3d95cb858911bad12bb632cf8a
refs/heads/master
1,588,877,903,131
1,554,987,273,000
1,554,987,273,000
180,791,863
0
0
null
1,554,987,295,000
1,554,987,295,000
null
UTF-8
Lean
false
false
1,460
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 category_theory.category import category_theory.functor import category_theory.products import category_theory.natural_isomorphism import category_theory.t...
cfd7e0ce7aca441ec72715a2e04a404b24899886
a6f55abce20abcd06e718cb3e5fba7bf8a230fa1
/topic/shape.lean
19db08177d71f899b6ee343a651accab25c39608
[]
no_license
sonna0909/abc
b8a53e906d4d000d1f2347173a1cd4221757fabf
ff7b4c621cdf6d53937f2d1b6def28de2085a2aa
refs/heads/master
1,599,114,664,248
1,573,634,309,000
1,573,634,309,000
219,406,484
0
0
null
null
null
null
UTF-8
Lean
false
false
3,464
lean
[ { "key": "circle", "title": "Circle", "spelling": "/ˈsɜːkl/", "subs": [ { "key": "circle1", "title": "The eggs is circle", "spelling": "" } ] }, { "key": "oval", "title": "Oval", "spelling": "/əʊvəl/", "subs": [ { "key": "oval...
16d00862d5822d2b893871f8524be9b1e5381ed1
5fbbd711f9bfc21ee168f46a4be146603ece8835
/lean/natural_number_game/advanced_proposition/09.lean
8a0ff1e4b1596397040c0aadb8fe3dd9d309b590
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
goedel-gang/maths
22596f71e3fde9c088e59931f128a3b5efb73a2c
a20a6f6a8ce800427afd595c598a5ad43da1408d
refs/heads/master
1,623,055,941,960
1,621,599,441,000
1,621,599,441,000
169,335,840
0
0
null
null
null
null
UTF-8
Lean
false
false
101
lean
lemma contrapositive2 (P Q : Prop) : (¬ Q → ¬ P) → (P → Q) := begin -- destroyed cc, end
4b0791493171362f75743bf6a08c1c8c9c4bb6d0
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/data/list/zip.lean
4c2cb0cadf2901d254d7465c76ad75135883157a
[ "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
6,002
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Kenny Lau -/ import data.list.basic universes u v w z variables {α : Type u} {β : Type v} {γ : Type w} {δ : Type z} open nat namespace list /- zip & unzip -/ @[si...
4349b6ede4cee9d9c7bc22c23b485701564231ff
c777c32c8e484e195053731103c5e52af26a25d1
/src/number_theory/primes_congruent_one.lean
21e0107bb3e6664d9a3e75dcc61275d059be3a92
[ "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
2,982
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.eval /-! # Primes congruent to one We prove that, for any positive `k : ℕ`, there are infinitely many primes `p` such th...
d5a12c8441ca36a29bb75612f216426c468f510b
36cfb52a5926b96dc8a44d3b71d2f14a21ef8574
/float.lean
4be7653cb47db9b4d5d669c20972b3c963be2f63
[]
no_license
minchaowu/relevance_filter
b46e3cc166b8225b19fac61b8f9911eeecdd42d8
3ae59d297ed5a07bd14749112e520b74209f10fd
refs/heads/master
1,631,071,413,821
1,507,745,131,000
1,507,745,131,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,232
lean
-- this will only run on the hacked lean: https://github.com/rlewis1988/lean/floats meta constant float : Type meta constant float.to_string : float → string meta constant float.add : float → float → float meta constant float.sub : float → float → float meta constant float.mul : float → float → float meta const...
c0402dd45da2e7c509062021af7f91c1413d64c8
ad0c7d243dc1bd563419e2767ed42fb323d7beea
/ring_theory/subring.lean
0b2951ef6852ff657c6ea084d4ad2627d5cee2e4
[ "Apache-2.0" ]
permissive
sebzim4500/mathlib
e0b5a63b1655f910dee30badf09bd7e191d3cf30
6997cafbd3a7325af5cb318561768c316ceb7757
refs/heads/master
1,585,549,958,618
1,538,221,723,000
1,538,221,723,000
150,869,076
0
0
Apache-2.0
1,538,229,323,000
1,538,229,323,000
null
UTF-8
Lean
false
false
1,199
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import group_theory.subgroup import data.polynomial import algebra.ring local attribute [instance] classical.prop_decidable universes u v open group variables {R ...
22c46fc02009e90a02e5cf9f52517e65b048e4f3
30b012bb72d640ec30c8fdd4c45fdfa67beb012c
/category_theory/full_subcategory.lean
4fc4827415196af7eb7247599009eba2287ba6b7
[ "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
836
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 category_theory.embedding namespace category_theory universes u v section variables {C : Type u} [𝒞 : category.{u v} C] include 𝒞 instance full_subcat...
f628882769a89c64046716a0523f4c1aa26701e6
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/data/nat/digits.lean
1ff00efce4faea73f1755d7251bc46a29579c6fd
[ "Apache-2.0" ]
permissive
dupuisf/mathlib
62de4ec6544bf3b79086afd27b6529acfaf2c1bb
8582b06b0a5d06c33ee07d0bdf7c646cae22cf36
refs/heads/master
1,669,494,854,016
1,595,692,409,000
1,595,692,409,000
272,046,630
0
0
Apache-2.0
1,592,066,143,000
1,592,066,142,000
null
UTF-8
Lean
false
false
16,157
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 data.int.modeq import tactic.interval_cases import tactic.linarith /-! # Digits of a natural number This provides a basic API for extracting the digits of a ...
f8e244c8cc96060a8711a691a99e5cf2d9ebc9d3
54deab7025df5d2df4573383df7e1e5497b7a2c2
/theories/set_theory.lean
ea9c7a0b0a90c3d642768eb638ce7aebc5e0c714
[ "Apache-2.0" ]
permissive
HGldJ1966/mathlib
f8daac93a5b4ae805cfb0ecebac21a9ce9469009
c5c5b504b918a6c5e91e372ee29ed754b0513e85
refs/heads/master
1,611,340,395,683
1,503,040,489,000
1,503,040,489,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
27,713
lean
import data.set.basic universes u v def arity (α : Type u) : nat → Type u | 0 := α | (n+1) := α → arity n inductive pSet : Type (u+1) | mk (α : Type u) (A : α → pSet) : pSet namespace pSet def type : pSet → Type u | ⟨α, A⟩ := α def func : Π (x : pSet), x.type → pSet | ⟨α, A⟩ := A def mk_type_func :...
3800b2eb08e79f77e61e9df69c6251bb21aa4dbb
8e2026ac8a0660b5a490dfb895599fb445bb77a0
/library/system/io.lean
fa1b2a1ecfefd0cb039d8ab8c7dbc95aef875e3c
[ "Apache-2.0" ]
permissive
pcmoritz/lean
6a8575115a724af933678d829b4f791a0cb55beb
35eba0107e4cc8a52778259bb5392300267bfc29
refs/heads/master
1,607,896,326,092
1,490,752,175,000
1,490,752,175,000
86,612,290
0
0
null
1,490,809,641,000
1,490,809,641,000
null
UTF-8
Lean
false
false
4,683
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Luke Nelson, Jared Roesch and Leonardo de Moura -/ import data.buffer import system.process inductive io.error | other : string → io.error | sys : nat → io.error str...
0f30996da196a940b49a4bfd0e5856e80f22e4fc
c777c32c8e484e195053731103c5e52af26a25d1
/src/field_theory/is_alg_closed/basic.lean
9765b18916db87a5fb376815e2462002c6705ed4
[ "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
21,849
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import field_theory.normal import field_theory.perfect_closure import ring_theory.localization.integral /-! # Algebraically Closed Field In this file we define the typeclass...
558d1bc37986c3db161fe3fb45731286a1d6970d
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/analysis/calculus/fderiv.lean
e30492426ca7ace4facfb498aed4adfc4e57fff1
[ "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
114,775
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Sébastien Gouëzel, Yury Kudryashov -/ import analysis.calculus.tangent_cone import analysis.normed_space.units /-! # The Fréchet derivative Let `E` and `F` be normed sp...
fd45bcfbf8961a958db84d0020315eb6d033fba4
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/group_theory/order_of_element.lean
13d8db3031ddbb8db1a280318e234d6befbedbb8
[ "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
28,707
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, Julian Kuelshammer -/ import algebra.pointwise import group_theory.coset import dynamics.periodic_pts import algebra.iterate_hom /-! # Order of an element This file d...
30a1734b61a18f4695e39db58b2f3ccfc4fae1fc
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/topology/algebra/module.lean
6df0660878a285d6a7e280476ff65f64cd46aad6
[ "Apache-2.0" ]
permissive
anthony2698/mathlib
03cd69fe5c280b0916f6df2d07c614c8e1efe890
407615e05814e98b24b2ff322b14e8e3eb5e5d67
refs/heads/master
1,678,792,774,873
1,614,371,563,000
1,614,371,563,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
58,490
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, Yury Kudryashov -/ import topology.algebra.ring import topology.uniform_space.uniform_embedding import algebra.algebra.basic import li...
61f561be8b92240a6c6017ea2060925feecdd191
c777c32c8e484e195053731103c5e52af26a25d1
/src/ring_theory/polynomial/hermite/gaussian.lean
0dc26ea76c07f0a40fcfca57bfff098aea8066a7
[ "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
2,379
lean
/- Copyright (c) 2023 Luke Mantle. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Luke Mantle, Jake Levinson -/ import ring_theory.polynomial.hermite.basic import analysis.special_functions.exp import analysis.special_functions.exp_deriv /-! # Hermite polynomials and...
ce068773030ce5fe29360133b7b560a38fcad774
c86b74188c4b7a462728b1abd659ab4e5828dd61
/src/Lean/Elab/Syntax.lean
e491a6ec438523a7a81d54de95c34367cb45e0ba
[ "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
31,360
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.Command import Lean.Parser.Syntax import Lean.Elab.Util namespace Lean.Elab.Term /- Expand `optional «precedence»` where «precedence» := ...
5e0777b3fc3300c2a706be51f0b3ce8e4b05d992
37da0369b6c03e380e057bf680d81e6c9fdf9219
/hott/function.hlean
7161f8ee3fa8be626d210290e065011190ef4d04
[ "Apache-2.0" ]
permissive
kodyvajjha/lean2
72b120d95c3a1d77f54433fa90c9810e14a931a4
227fcad22ab2bc27bb7471be7911075d101ba3f9
refs/heads/master
1,627,157,512,295
1,501,855,676,000
1,504,809,427,000
109,317,326
0
0
null
1,509,839,253,000
1,509,655,713,000
C++
UTF-8
Lean
false
false
14,511
hlean
/- Copyright (c) 2015 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 embeddings and surjections -/ import hit.trunc types.equiv cubical.square types.nat open equiv sigma sigma.ops eq trunc is_trun...
6c4cb2027e715d2837914a75a4489bbccd0e0eb2
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/data/zsqrtd/gaussian_int.lean
e3a07475dd96ccd3c7d180a1e7ddf6235c99cc16
[ "Apache-2.0" ]
permissive
hjvromen/lewis
40b035973df7c77ebf927afab7878c76d05ff758
105b675f73630f028ad5d890897a51b3c1146fb0
refs/heads/master
1,677,944,636,343
1,676,555,301,000
1,676,555,301,000
327,553,599
0
0
null
null
null
null
UTF-8
Lean
false
false
12,727
lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Chris Hughes -/ import data.zsqrtd.basic import data.complex.basic import ring_theory.principal_ideal_domain import number_theory.quadratic_reciprocity /-! # Gaussian integers The Gaussi...
d12893d218306d9d466e48581d3ff5104cc655f3
f3849be5d845a1cb97680f0bbbe03b85518312f0
/tests/lean/run/ptst.lean
44f2cf2911bf8eafdcfe3ad7817f96cbf497a174
[ "Apache-2.0" ]
permissive
bjoeris/lean
0ed95125d762b17bfcb54dad1f9721f953f92eeb
4e496b78d5e73545fa4f9a807155113d8e6b0561
refs/heads/master
1,611,251,218,281
1,495,337,658,000
1,495,337,658,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
77
lean
open prod nat -- Test tuple notation #check ((3:nat), false, (1:num), true)
f77d3b67f0870dde5e63422a57fa757720169638
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/ring_theory/witt_vector/frobenius.lean
01578a1a53540e2193d47427320caafce1a93548
[ "Apache-2.0" ]
permissive
dexmagic/mathlib
ff48eefc56e2412429b31d4fddd41a976eb287ce
7a5d15a955a92a90e1d398b2281916b9c41270b2
refs/heads/master
1,693,481,322,046
1,633,360,193,000
1,633,360,193,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
13,423
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import data.nat.multiplicity import ring_theory.witt_vector.basic import ring_theory.witt_vector.is_poly /-! ## The Frobenius operator If `R` has characteristic `...