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
ec755288bd2530d01fd950ce1b6d542c23c88dfe
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/ring_theory/trace.lean
52d21d8f9236921bbdcb1974fbdee5d3e17cd576
[ "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
3,964
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import linear_algebra.bilinear_form import ring_theory.power_basis /-! # Trace for (finite) ring extensions. Suppose we have an `R`-algebra `S` with a finite basis. For ...
b9d23db6073b39e8449806dd891c78986f258bf0
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/analysis/normed_space/riesz_lemma.lean
4dc25a3c8c4f3d072963ce088a28f5214b1a2b13
[ "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
2,331
lean
/- Copyright (c) 2019 Jean Lo. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jean Lo -/ import topology.metric_space.hausdorff_distance /-! # Riesz's lemma Riesz's lemma, stated for a normed space over a normed field: for any closed proper subspace F of E, there is ...
ba1f52abebc8b10b6a2f7e0ed2f20b844e7f4633
a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7
/src/data/equiv/basic.lean
adb7055205679ac76c9882b8690ac4ceb17d7d4f
[ "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
68,608
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 In the standard library we cannot assume the univalence axiom. We say two types are equivalent if they are isomorphic. Two equivalent types h...
13fd8c7a37bce585953af8c199958d9d747f2bb8
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/group_theory/eckmann_hilton.lean
8e36c13f40ca80d796d7836f65aaf581efba6fef
[ "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
1,916
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Kenny Lau, Robert Y. Lewis -/ import algebra.group.basic universe u namespace eckmann_hilton variables {X : Type u} local notation a `<`m`>` b := m a b class is_unital (...
9692d19b78bcdc67350fbe4bc1ea024d3adb4a68
4727251e0cd73359b15b664c3170e5d754078599
/src/data/list/perm.lean
0c0893e884aabe16271cc34d655995d99f23ed69
[ "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
54,317
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, Jeremy Avigad, Mario Carneiro -/ import data.list.dedup import data.list.lattice import data.list.permutation import data.list.zip import logic.relation /-! ...
60632f97d1bf12e4c9a988acf1e9aac40f6e1ec3
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/normed_space/riesz_lemma.lean
0e14a11353071c276068c7cf4b09e2cc60f2b592
[ "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,476
lean
/- Copyright (c) 2019 Jean Lo. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jean Lo, Yury Kudryashov -/ import analysis.normed_space.basic import topology.metric_space.hausdorff_distance /-! # Applications of the Hausdorff distance in normed spaces > THIS FILE IS S...
8b9aa50351d365090813ded9b1688025619f5f3e
d1bbf1801b3dcb214451d48214589f511061da63
/src/category_theory/adjunction/reflective.lean
f7b39408b2a2c9a38809e41e153caf2fed4b5458
[ "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
3,452
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.preserves.shapes.binary_products import category_theory.limits.preserves.shapes.terminal import category_theory.adjunction.fully_faithful /...
999424c84bdbc43e77f49f8decfcb7f14d8ca4d4
e1da55f4222dac91b940ca052928eaace09762da
/src/regularity_lemma.lean
a6aceb2bc556247d446f7861f37405ec72aa3946
[]
no_license
b-mehta/regularity-lemma
c5826e22c280d0b073a4e62dba731f4dd3d1b69f
cf26082b0c88fa54276e6fdc3338c15e607c52c6
refs/heads/master
1,658,209,524,267
1,644,406,456,000
1,644,406,456,000
457,327,371
1
0
null
null
null
null
UTF-8
Lean
false
false
6,287
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 .increment import analysis.special_functions.pow import order.iterate /-! # Szemerédi's Regularity Lemma In this file, we prove Szeme...
04ee8b5558e4756e7605934b7a59305beff11f42
63abd62053d479eae5abf4951554e1064a4c45b4
/src/topology/list.lean
29bd52ba6e748c8996475877a847d71df9027166
[ "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
8,896
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import topology.constructions import topology.algebra.group /-! # Topology on lists and vectors -/ open topological_space set filter open_locale topological_space filte...
3b8970d0401b42fbd61d7e2a0d1987dde045974a
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/algebra/group/is_unit.lean
b6158d63c1f247c2e122c36347415224a9a5ecd4
[ "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
4,911
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 Contents of this file was cherry-picked from `algebra/associated` by Yury Kudryashov. I copied the original copyright header from there. -/ import algeb...
75a055578d842d51a4d472d0944009225d760709
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/482.lean
9379ca8854cfc108ad37f87d45db590089057f4b
[ "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
299
lean
inductive Mem' (a : α) : List α → Prop where | intro (as bs) : Mem' a (as ++ (a :: bs)) example {x : α} (h : Mem' x l) : True := match h with | ⟨as', bs'⟩ => True.intro example {x : α} (h : Mem' x l ∧ Mem' x l') : True := match h with | ⟨⟨as', bs'⟩, _⟩ => True.intro
1d732033ab04e63250c6a42778aff3f5c861db20
3618c6e11aa822fd542440674dfb9a7b9921dba0
/scratch/no_exp_sum_zero.lean
5a4d8a28f9cdce0b3d5175ad25a543642030d767
[]
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
1,274
lean
import .pow .exp_sum_eq_zero open free_group multiplicative variables {ι : Type} [decidable_eq ι] (r : free_group ι) (T : set ι) [decidable_pred T] variables (t x : ι) def psi1 (α : C∞) : free_group ι ≃* free_group ι := { to_fun := free_group.lift' (λ i, if i = x then gpowers_hom _ (of x * of' t (α⁻¹)...
dd2e9f283b77076ea5ff933f472985d8133d9976
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/proj_notation.lean
47a8ca70f96f6ae53c35ece8de76e137efd3aacb
[ "Apache-2.0" ]
permissive
bre7k30/lean
de893411bcfa7b3c5572e61b9e1c52951b310aa4
5a924699d076dab1bd5af23a8f910b433e598d7a
refs/heads/master
1,610,900,145,817
1,488,006,845,000
1,488,006,845,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
678
lean
structure myprod (A B : Type) := (fst : A) (snd : B) variable p : myprod nat nat variable f : nat → nat check p↣fst check p↣1 check p↣2 check p↣snd check p~>fst check p~>1 check p~>2 check p~>snd check f p↣1 check p↣1 + p↣2 example (A B : Type) : A × B → B × A := λ h, ⟨h↣2, h↣1⟩ example (A B : Type) : A × B → B ...
ea63d1850fe91ce546b16830d70b0ba3c22fd2b5
bdb33f8b7ea65f7705fc342a178508e2722eb851
/data/seq/parallel.lean
1152a2c7b02df3cee1fedb716d62ff1cb39052b1
[ "Apache-2.0" ]
permissive
rwbarton/mathlib
939ae09bf8d6eb1331fc2f7e067d39567e10e33d
c13c5ea701bb1eec057e0a242d9f480a079105e9
refs/heads/master
1,584,015,335,862
1,524,142,167,000
1,524,142,167,000
130,614,171
0
0
Apache-2.0
1,548,902,667,000
1,524,437,371,000
Lean
UTF-8
Lean
false
false
12,208
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Parallel computation of a computable sequence of computations by a diagonal enumeration. The important theorems of this operation are proven as terminates_paralle...
441c24f6c99305b4e23aed33145917c4d28d5fca
d6aa76a731f5d0a2c72a62729e52996fe8ac81b3
/src/sym_matrix.lean
a7056cf81206f4b8b4b4f00241c07b1a9167c997
[]
no_license
jalex-stark/friendship-theorem
88d30d3f4b17cc275a1a4bbc747eeb41f9e1b7a1
d0e823b0b298c3fcfffe885cd6d2064a5757ef27
refs/heads/master
1,668,993,481,235
1,595,108,750,000
1,595,108,777,000
270,936,124
1
0
null
null
null
null
UTF-8
Lean
false
false
948
lean
import data.matrix.basic linear_algebra.matrix data.polynomial linear_algebra.determinant linear_algebra.basic open_locale classical noncomputable theory def sym_matrix {m α : Type*} [fintype m] (M: matrix m m α) : Prop := M = M.transpose lemma sym_matrix_apply {m α : Type*} [fintype m] {M: matrix m m α} (h : sym_...
2297d90bd3430f12adfe1df602ae11f5d8deeb8b
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/linear_algebra/finite_dimensional.lean
6033fbfbf03c0b59d1ed6d802d9b4420d4b08e9c
[ "Apache-2.0" ]
permissive
abentkamp/mathlib
d9a75d291ec09f4637b0f30cc3880ffb07549ee5
5360e476391508e092b5a1e5210bd0ed22dc0755
refs/heads/master
1,682,382,954,948
1,622,106,077,000
1,622,106,077,000
149,285,665
0
0
null
null
null
null
UTF-8
Lean
false
false
63,101
lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import algebra.algebra.subalgebra import field_theory.finiteness import linear_algebra.dimension import ring_theory.principal_ideal_domain /-! # Finite dimensional vecto...
1788bd784dd3f142dd35d1d3c50990b5ded254b6
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/topology/continuous_function/compact.lean
b415647de2ea738c03e819bba1e7f0d451cec2df
[ "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
18,060
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 topology.continuous_function.bounded import topology.uniform_space.compact_separated import topology.compact_open import topology.sets.compacts /-! # Continuo...
89a999059b4b2cac866ebe7f55f5c2458bbecc63
b9a81ebb9de684db509231c4469a7d2c88915808
/src/super/lpo.lean
f35fdc422b2f430fba019dd924e54805ee8bb924
[]
no_license
leanprover/super
3dd81ce8d9ac3cba20bce55e84833fadb2f5716e
47b107b4cec8f3b41d72daba9cbda2f9d54025de
refs/heads/master
1,678,482,996,979
1,676,526,367,000
1,676,526,367,000
92,215,900
12
6
null
1,513,327,539,000
1,495,570,640,000
Lean
UTF-8
Lean
false
false
1,619
lean
/- Copyright (c) 2017 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ -- Polytime version of lexicographic path order as described in: -- Things to know when implementing LPO, Bernd Löchner, ESFOR 2004 import .utils open expr decidable m...
ff11a743e85bf72352f33753d3279f0acc7d9e2a
f57749ca63d6416f807b770f67559503fdb21001
/library/theories/group_theory/action.lean
2a832e38366601c3fe2b37d842008a076f2c43d3
[ "Apache-2.0" ]
permissive
aliassaf/lean
bd54e85bed07b1ff6f01396551867b2677cbc6ac
f9b069b6a50756588b309b3d716c447004203152
refs/heads/master
1,610,982,152,948
1,438,916,029,000
1,438,916,029,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
23,144
lean
/- Copyright (c) 2015 Haitao Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author : Haitao Zhang -/ import algebra.group data .hom .perm .finsubg namespace group open finset algebra function local attribute perm.f [coercion] private lemma and_left_true {a b : Prop} ...
8ead014985bbd83d8ab79e2fd6e19d730bed153b
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/order/initial_seg.lean
27b3920a62acdc6b44f19a306a1c749b97b866dd
[ "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
18,052
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Floris van Doorn -/ import order.rel_iso import order.well_founded /-! # Initial and principal segments This file defines initial and principal segments. ## Main de...
b87bccd13c54c205434a6283b14dceb77e579a81
d1a52c3f208fa42c41df8278c3d280f075eb020c
/src/Lean/Meta/Tactic/Intro.lean
5bebf7fa1a6c849e76d85a255c3ea1b3eeb71f57
[ "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
5,433
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.Meta.Tactic.Util namespace Lean.Meta @[inline] private partial def introNImp {σ} (mvarId : MVarId) (n : Nat) (mkName : LocalContext → Name → B...
ee3401cf4e2242aa3a8e8d88fd771be79a59a673
94e33a31faa76775069b071adea97e86e218a8ee
/test/has_scalar_comp_loop.lean
34d2504781e216ae169605be7b0de1755e4f2235
[ "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
1,469
lean
import group_theory.group_action.basic variables (R M S : Type*) /-- Some arbitrary type depending on `has_smul R M` -/ @[irreducible, nolint has_inhabited_instance unused_arguments] def foo [has_smul R M] : Type* := ℕ variables [has_smul R M] [has_smul S R] [has_smul S M] /-- This instance is incompatible with `ha...
ada75c292e93e1b41ea566cfd30ea5a58d08ce77
82e44445c70db0f03e30d7be725775f122d72f3e
/src/measure_theory/borel_space.lean
4fe1e1ed9b44761b1c9ce8914c50d85fcf2655cb
[ "Apache-2.0" ]
permissive
stjordanis/mathlib
51e286d19140e3788ef2c470bc7b953e4991f0c9
2568d41bca08f5d6bf39d915434c8447e21f42ee
refs/heads/master
1,631,748,053,501
1,627,938,886,000
1,627,938,886,000
228,728,358
0
0
Apache-2.0
1,576,630,588,000
1,576,630,587,000
null
UTF-8
Lean
false
false
68,269
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.ae_measurable_sequence import analysis.complex.basic import analysis.normed_space.finite_dimension import topology.G_delta impo...
77749d37af1bf18d37824070b109a2924db56f68
5aaf2c36656c8e760e9c8e4d3b19422402d70634
/src/tut28_entropy.lean
54f0d2db004d1b53579836b7cf66267739db57fe
[]
no_license
BassemSafieldeen/Lean-tutorials
535746ccf8d4419419f4fcb544c1687dc564b537
031a14fa9700898e9895c9d41be8495275618c46
refs/heads/main
1,673,748,866,999
1,605,459,118,000
1,605,459,118,000
307,048,364
0
0
null
null
null
null
UTF-8
Lean
false
false
3,005
lean
import linear_algebra.eigenspace import linear_algebra.tensor_product import rnd_var import shannon_theory import tut3 import tut5 -- import tut13_ptrace ---- QUANTUM ENTROPY open rnd_var open_locale tensor_product big_operators noncomputable theory variables {ℋ : Type} [complex_hilbert_space ℋ] {ℋ₁ : Type} [com...
2adc3d65a90cb05751c2a33d064210a5bd1839b6
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/rewrite_search/types.lean
c6febe0dd62be7e9adf439d1854f653da319682e
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
1,612
lean
/- Copyright (c) 2020 Kevin Lacker, Keeley Hoek, Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Lacker, Keeley Hoek, Scott Morrison -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.nth_rewrite.default import Mat...
c819815e1536724905fc2f384c15007876313d80
367134ba5a65885e863bdc4507601606690974c1
/src/category_theory/limits/shapes/binary_products.lean
07f2236964fa6998764750eba79d7bf870fa1cbd
[ "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
35,497
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Bhavik Mehta -/ import category_theory.limits.limits import category_theory.limits.shapes.terminal import category_theory.discrete_category import category_theory.epi_m...
5d45e7ae69677e29d041b2c2967f4e8db4801ae0
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/src/Lean/Meta/KAbstract.lean
c6a563462860452fb4d1e8dd0b0709874836fc36
[ "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,753
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.Data.Occurrences import Lean.HeadIndex import Lean.Meta.ExprDefEq namespace Lean.Meta def kabstract (e : Expr) (p : Expr) (occs : Occurrences :...
3f1c3ceb5dfd4cb4911e3ab1a7cbbc86d5c1bfd2
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/control/monad/writer.lean
1c115a848f9c9a728ef3fb46f4eacc6b671d9022
[ "Apache-2.0" ]
permissive
anrddh/mathlib
6a374da53c7e3a35cb0298b0cd67824efef362b4
a4266a01d2dcb10de19369307c986d038c7bb6a6
refs/heads/master
1,656,710,827,909
1,589,560,456,000
1,589,560,456,000
264,271,800
0
0
Apache-2.0
1,589,568,062,000
1,589,568,061,000
null
UTF-8
Lean
false
false
7,343
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon The writer monad transformer for passing immutable state. -/ import control.monad.basic universes u v w structure writer_t (ω : Type u) (m : Type u → Type v) (α : ...
0d498d2255c4eb7913c275fd1b733b386a98359c
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/analysis/calculus/formal_multilinear_series_auto.lean
4dd396ae6fac9902fd446e9dc7f4d419cd47991f
[]
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,440
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Sébastien Gouëzel -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.analysis.normed_space.multilinear import Mathlib.ring_theory.power_series.basic import...
e413551758003a67941a11a248a3ae895e2bf7ec
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/calculus/deriv/prod.lean
70b478ea5c3999e2bfb382ccdfcc3e8b011f85e8
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
3,487
lean
/- Copyright (c) 2019 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner, Yury Kudryashov -/ import analysis.calculus.deriv.basic import analysis.calculus.fderiv.prod /-! # Derivatives of functions taking values in product types > THIS FILE I...
656339c57e5c38a1b214349c166d56a613f3858c
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/field_theory/is_alg_closed/basic.lean
bd119085ca9a073462c7bbfd12f4f649b0daa341
[ "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,361
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.splitting_field /-! # Algebraically Closed Field In this file we define the typeclass for algebraically closed fields and algebraic closures, and prove som...
3a9c5f0b2b01eaa977ce2af07fff54dd745b9cea
bdb33f8b7ea65f7705fc342a178508e2722eb851
/algebra/big_operators.lean
e99d589c69ed3d8753874349e484bc43cad947e1
[ "Apache-2.0" ]
permissive
rwbarton/mathlib
939ae09bf8d6eb1331fc2f7e067d39567e10e33d
c13c5ea701bb1eec057e0a242d9f480a079105e9
refs/heads/master
1,584,015,335,862
1,524,142,167,000
1,524,142,167,000
130,614,171
0
0
Apache-2.0
1,548,902,667,000
1,524,437,371,000
Lean
UTF-8
Lean
false
false
15,802
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 data.list.basic data.list.perm data.finset algebra.group algebra.ordered_group algebra.group_power universes ...
32b526205d3237f8d7f55063f04d18ee3700beb1
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/category_theory/preadditive/Mat.lean
0d70261f8745e30e8577b3407299cabab9679611
[ "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
15,545
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.big_operators.basic import algebra.big_operators.pi import category_theory.limits.shapes.biproducts import category_theory.preadditive import category_...
897302a8e9ccb8cf9661a9829579794e03c01b39
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/order/lattice.lean
d323686b62deb57c13d12faeb06a6dc6f9f65a28
[ "Apache-2.0" ]
permissive
JLimperg/aesop3
306cc6570c556568897ed2e508c8869667252e8a
a4a116f650cc7403428e72bd2e2c4cda300fe03f
refs/heads/master
1,682,884,916,368
1,620,320,033,000
1,620,320,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
26,663
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import order.rel_classes /-! # (Semi-)lattices Semilattices are partially ordered sets with join (greatest lower bound, or `sup`) or meet (least upper bound, or `in...
74585e170e2d5f0a77da650befe157bf7b7c5402
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/lake/test/lock/Wait.lean
29591b904515e7a598ffe2f6109ba88790c8c8c4
[ "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
226
lean
import Lake.Build.Monad partial def busyWaitFile (file : System.FilePath) : BaseIO PUnit := do if (← file.pathExists) then IO.sleep (ms := 300) busyWaitFile file #eval busyWaitFile <| "build" / Lake.lockFileName
44783014d93c88a71241037460b918e926aea257
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/algebra/linear_ordered_comm_group_with_zero.lean
c906754c9a188debe17a100cb93e45baa3c95598
[ "Apache-2.0" ]
permissive
abentkamp/mathlib
d9a75d291ec09f4637b0f30cc3880ffb07549ee5
5360e476391508e092b5a1e5210bd0ed22dc0755
refs/heads/master
1,682,382,954,948
1,622,106,077,000
1,622,106,077,000
149,285,665
0
0
null
null
null
null
UTF-8
Lean
false
false
8,631
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Johan Commelin, Patrick Massot -/ import algebra.ordered_group import algebra.group_with_zero import algebra.group_with_zero.power import tactic.abel /-! # Linearly ordered com...
e30b15d0268b56c594d92faec7f4361a63dcb493
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/src/Init/Control/Reader.lean
9cc0c8f22d920b013cd62944b94a6ab2d7647b5a
[ "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,022
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich The Reader monad transformer for passing immutable State. -/ prelude import Init.Control.Basic import Init.Control.Id import Init.Control.Except namespace Re...
ca4b5d8bb65f3db5ff441684dc9711f027221e03
761d983a78bc025071bac14a3facced881cf5e53
/affine/g_space.lean
c7172f12d19e7ea8aa3f34aee25f02d836b74d53
[]
no_license
rohanrajnair/affine_lib
bcf22ff892cf74ccb36a95bc9b7fff8e0adb2d0d
83076864245ac547b9d615bc6a23804b1b4a8f70
refs/heads/master
1,673,320,928,343
1,603,036,653,000
1,603,036,653,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,685
lean
import group_theory.group_action import ..affine.add_group_action -- g-spaces /-! # G-spaces, Homogeneous spaces, and torsors A `G-space` is a nonempty set `X` on which a group `G` acts. A `Homogeneous Space` is a G-space where the group action is transitive. A `Torsor` is a homogeneous space where the gro...
95a61a46c01f41d78e0457ac60ebac234cd87e87
e8153a5579a289d323a1f905f108faed9bb4988c
/src/perfect.lean
bb86a656c84eec5b008095ca67618eb5fc491d1a
[]
no_license
awainverse/perfect_number
983ae4a6fdeafc507be0143e949f33b985d415df
3d5504b4529fbccd4ab69c8816731096c50402be
refs/heads/master
1,667,809,996,394
1,593,575,741,000
1,593,575,741,000
272,861,730
0
0
null
null
null
null
UTF-8
Lean
false
false
22,423
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Aaron Anderson. -/ import data.nat.totient import number_theory.quadratic_reciprocity import number_theory.lucas_lehmer import multiplicity_vectors /- # Perfect Numbers ## Notations...
8c2057aa5709bcb8c5896feca9bc5c702518bada
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/03_Propositions_and_Proofs.org.12.lean
6c3bd7c4883a32d94765e68698c2a648df754eb8
[]
no_license
cjmazey/lean-tutorial
ba559a49f82aa6c5848b9bf17b7389bf7f4ba645
381f61c9fcac56d01d959ae0fa6e376f2c4e3b34
refs/heads/master
1,610,286,098,832
1,447,124,923,000
1,447,124,923,000
43,082,433
0
0
null
null
null
null
UTF-8
Lean
false
false
92
lean
/- page 37 -/ import standard theorem t1 (p q : Prop) (Hp : p) (Hq : q) : p := Hp check t1
9069c84e9796fbe4a9853636b7ce2acc7f2a1e80
6e41ee3ac9b96e8980a16295cc21f131e731884f
/library/algebra/category/functor.lean
0feb78a617534a5772acb3a4f5a0294a8f0f82ce
[ "Apache-2.0" ]
permissive
EgbertRijke/lean
3426cfa0e5b3d35d12fc3fd7318b35574cb67dc3
4f2e0c6d7fc9274d953cfa1c37ab2f3e799ab183
refs/heads/master
1,610,834,871,476
1,422,159,801,000
1,422,159,801,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,250
lean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: algebra.category.functor Author: Floris van Doorn -/ import .basic import logic.cast open function open category eq eq.ops heq structure functor (C D : Category) : Type := (objec...
bfc5b58a440565b6605079fa1de6c5c79079385d
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/tools/debugger/default.lean
b7d659e136f638de162d19f58672df5ffe505fa3
[]
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
333
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 -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.Lean3Lib.tools.debugger.util import Mathlib.Lean3Lib.tools.debugger.cli namesp...
0e0de304fcb3587076f62ad8a963066364f93d64
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebraic_geometry/prime_spectrum/noetherian.lean
38c3c4e6393e8f16c5cb947e76ac7c1082b082e0
[ "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,257
lean
/- Copyright (c) 2020 Filippo A. E. Nuccio. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Filippo A. E. Nuccio, Andrew Yang -/ import algebraic_geometry.prime_spectrum.basic import topology.noetherian_space /-! This file proves additional properties of the prime spect...
177780b4f7f2442aa70d78d0850d9d515f71985a
43390109ab88557e6090f3245c47479c123ee500
/src/M1P2/sheet_3.lean
0e02ae98820f26ad3cf3fd1e06bbd788cfbf85ea
[ "Apache-2.0" ]
permissive
Ja1941/xena-UROP-2018
41f0956519f94d56b8bf6834a8d39473f4923200
b111fb87f343cf79eca3b886f99ee15c1dd9884b
refs/heads/master
1,662,355,955,139
1,590,577,325,000
1,590,577,325,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,159
lean
import linear_algebra.dimension -- *1. Suppose v1, v2, v3 is a basis for R3. Explain why there is a unique 3 × 3 matrix A with Av1 =v2, Av2 =v3 andAv3 =v1. -- Prove that A3 = I3 (the identity matrix). Find such a matrix when -- 1 1 0 v1 =1, v2 =0, v3 =0. -- 011 -- Check your answer by computing A3. [Hint: U...
225af0d40166c24832f09c62ef39d59b8b0a47f5
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/tests/lean/tactic13.lean
73d705bbf32aeb5fd5684532a3f5af1fba7f218e
[ "Apache-2.0" ]
permissive
codyroux/lean0.1
1ce92751d664aacff0529e139083304a7bbc8a71
0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef
refs/heads/master
1,610,830,535,062
1,402,150,480,000
1,402,150,480,000
19,588,851
2
0
null
null
null
null
UTF-8
Lean
false
false
613
lean
import Int. (* import("tactic.lua") *) variable f : Int -> Int -> Int (* refl_tac = apply_tac("refl") congr_tac = apply_tac("congr") symm_tac = apply_tac("symm") trans_tac = apply_tac("trans") auto = Repeat(OrElse(refl_tac, congr_tac, assumption_tac(), Then(symm_tac, assumption_ta...
bc3bdc04a6b2d5599cdea568af0a4338960bc81b
76df16d6c3760cb415f1294caee997cc4736e09b
/rosette-benchmarks-3/jitterbug/jitterbug/lean/src/bv/basic.lean
b0cb8717f609db534d4a60703223b5a68e4f2f5a
[ "MIT" ]
permissive
uw-unsat/leanette-popl22-artifact
70409d9cbd8921d794d27b7992bf1d9a4087e9fe
80fea2519e61b45a283fbf7903acdf6d5528dbe7
refs/heads/master
1,681,592,449,670
1,637,037,431,000
1,637,037,431,000
414,331,908
6
1
null
null
null
null
UTF-8
Lean
false
false
6,695
lean
import data.fin import data.fintype.basic import tactic.omega.main /-! # Fixed-size bitvectors This file defines fixed-sized bitvectors following the SMT-LIB standard. ## References * http://smtlib.cs.uiowa.edu/Theories/FixedSizeBitVectors.smt2 * http://smtlib.cs.uiowa.edu/Logics/QF_BV.smt2 -/ /-- The type of bitv...
c0a1f4e0d2afc6b0242685a0eeb1589f955888c5
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/Prelude.lean
7f7fcae06ba23b41ce939938581f64c9594d32c8
[]
no_license
ysharoda/Deriving-Definitions
3e149e6641fae440badd35ac110a0bd705a49ad2
dfecb27572022de3d4aa702cae8db19957523a59
refs/heads/master
1,679,127,857,700
1,615,939,007,000
1,615,939,007,000
229,785,731
4
0
null
null
null
null
UTF-8
Lean
false
false
2,026
lean
section Prelude structure Prod (a b : Type) : Type := (fst : a) (snd : b) inductive Wrap (A : Type) : Type | Q : A → Wrap open Wrap inductive Stage : Type | s0 : Stage | s1 : Stage open Stage def stageOrder : Stage → ℕ | s0 := 0 | s1 := 1 def CodeRep (A : Type) : Stage → Type | s0 := A | s1 := hav...
3ca671745d3c6b2d5527fce8c0dcaaea26c55b35
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/typeclass_metas_internal_goals3.lean
0f201e7cb5cb14d6a7ed24ad301107f164327435
[ "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
621
lean
class Base (α : Type) := (u:Unit) class Depends (α : Type) [Base α] := (u:Unit) class Top := (u:Unit) instance AllBase {α : Type} : Base α := {u:=()} instance DependsNotConstrainingImplicit {α : Type} [Base α] : Depends α := {u:=()} set_option synthInstance.checkSynthOrder false instance BaseAsImplicit₁ {α : Type} ...
99d8f6577fa0ca4364c8bbb522fc85d1fd741d64
b00eb947a9c4141624aa8919e94ce6dcd249ed70
/tests/lean/run/casesUsing.lean
caddc13e1cf8625b4d274e7742e1aed15234678c
[ "Apache-2.0" ]
permissive
gebner/lean4-old
a4129a041af2d4d12afb3a8d4deedabde727719b
ee51cdfaf63ee313c914d83264f91f414a0e3b6e
refs/heads/master
1,683,628,606,745
1,622,651,300,000
1,622,654,405,000
142,608,821
1
0
null
null
null
null
UTF-8
Lean
false
false
4,702
lean
import Lean open Lean open Lean.Meta open Lean.Elab.Tactic universes u axiom elimEx (motive : Nat → Nat → Sort u) (x y : Nat) (diag : (a : Nat) → motive a a) (upper : (delta a : Nat) → motive a (a + delta.succ)) (lower : (delta a : Nat) → motive (a + delta.succ) a) : motive y x theorem ex1 (p q : Nat) : p ≤...
f61a9b30a9e737261a20665ec152b4b8acf516bd
e2fc96178628c7451e998a0db2b73877d0648be5
/src/utilities/written_by_others/list_take_join.lean
c21a9f0a2d1ed36ebbe981da3c6043fd417190c8
[ "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
5,507
lean
-- Written by Patrick Johnson and released into the public domain at: -- https://github.com/user7230724/lean-projects/blob/master/src/list_take_join/main.lean import tactic namespace list variables {α : Type*} private noncomputable def get_max [inhabited α] [linear_order α] (P : α → Prop) := classical.epsilon (λ (x...
16bf03a5a5b6b106d577360c26eb1c42246012b6
4727251e0cd73359b15b664c3170e5d754078599
/src/ring_theory/power_basis.lean
65d72d8a8f8744439e612b5d29fb303f75fbccb6
[ "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
20,908
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import field_theory.minpoly /-! # Power basis This file defines a structure `power_basis R S`, giving a basis of the `R`-algebra `S` as a finite list of powers `1, x, ......
51c16f60ec9851044c668db8e2882c805c8affd6
9ee042bf34eebe0464f0f80c0db14ceb048dab10
/stage0/src/Lean/Elab/PreDefinition/WF/Fix.lean
505df0a3d5339264924954cad6037a822c0878c1
[ "Apache-2.0" ]
permissive
dexmagic/lean4
7507e7b07dc9f49db45df5ebd011886367dc2a6c
48764b60d5bac337eaff4bf8a3d63a216e1d9e03
refs/heads/master
1,692,156,265,016
1,633,276,980,000
1,633,339,480,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,520
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.Match.Match import Lean.Meta.Tactic.Simp.Main import Lean.Elab.PreDefinition.Basic import Lean.Elab.PreDefinition.Structural.Basic namespa...
cd6634ececdf604f90f4cecb2c5718d823bef5f2
ea5678cc400c34ff95b661fa26d15024e27ea8cd
/exp/limits.lean
7013eed8eea9740ad64281a94d9275392663ba53
[]
no_license
ChrisHughes24/leanstuff
dca0b5349c3ed893e8792ffbd98cbcadaff20411
9efa85f72efaccd1d540385952a6acc18fce8687
refs/heads/master
1,654,883,241,759
1,652,873,885,000
1,652,873,885,000
134,599,537
1
0
null
null
null
null
UTF-8
Lean
false
false
5,123
lean
import data.complex.basic namespace cau_seq theorem const_inv {α β : Type*} [discrete_field β] [discrete_linear_ordered_field α] {abv : β → α} [is_absolute_value abv] {x : β} (hx : x ≠ 0) : const abv (x⁻¹) = inv (const abv x) (by rwa const_lim_zero) := ext (assume n, by simp[inv_apply, const_apply]) end cau_seq...
503b9ee7c5a56a100023c31439797dc7ef25cb85
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/int/char_zero.lean
3f4b5371b3aca02608801289298e3595bbec9184
[ "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
1,569
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 algebra.char_zero import data.int.cast_field /-! # Injectivity of `int.cast` into characteristic zero rings and fields. -/ variables {α : Type*} open nat ...
41af80f4254a9544b26037d4ed45fe4cfe3620fd
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/mutwf1.lean
6a6f9e9cb7e88c8cade57e363c3367c8a6655e45
[ "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
987
lean
namespace Ex1 mutual def f : Nat → α → α → α | 0, a, b => a | n, a, b => g a n b |>.1 def g : α → Nat → α → (α × α) | a, 0, b => (a, b) | a, n, b => (h a b n, a) def h : α → α → Nat → α | a, b, 0 => b | a, b, n+1 => f n a b end termination_by' invImage (fun | PSum.inl ⟨n, _, ...
34b4ad26c1599940fc4e66877b50932e662394c6
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/measure_theory/measurable_space.lean
643149855dd1000ca53d564585b3eb575628d094
[ "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
44,666
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 measure_theory.measurable_space_def import measure_theory.tactic import data.tprod /-! # Measurable spaces and measurable functions This fi...
4ec20ff2a9bb3d9876d5e9486c0c7a6f20be3a64
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/analysis/mean_inequalities.lean
fc2623641a35780922d5100217fcc88d52f1ec58
[ "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
32,994
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov, Sébastien Gouëzel, Rémy Degenne -/ import analysis.convex.specific_functions import data.real.conjugate_exponents /-! # Mean value inequalities In this file we prov...
764c686308663340b5cc914c431277ad56a06e76
05b503addd423dd68145d68b8cde5cd595d74365
/src/data/equiv/denumerable.lean
f19a26659a6203f081a3c8aee71a8cce288137aa
[ "Apache-2.0" ]
permissive
aestriplex/mathlib
77513ff2b176d74a3bec114f33b519069788811d
e2fa8b2b1b732d7c25119229e3cdfba8370cb00f
refs/heads/master
1,621,969,960,692
1,586,279,279,000
1,586,279,279,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,050
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Denumerable (countably infinite) types, as a typeclass extending encodable. This is used to provide explicit encode/decode functions from nat, where the functions are kn...
254f2b24ffa2181b6520679e0d5bee3a737527a4
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/is_locally_homeomorph.lean
aa7d201b6050c04be1f1e7e75d74d9454ff4390f
[ "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,853
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 topology.local_homeomorph /-! # Local homeomorphisms This file defines local homeomorphisms. ## Main definitions * `is_locally_homeomorph`: A function `f...
323fd21e99cdd0ed0f3510895a8815e5ac3b63e6
4727251e0cd73359b15b664c3170e5d754078599
/src/logic/encodable/basic.lean
993780e8eb558bd364cf6185aaf233b235e23f09
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
18,920
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 logic.equiv.nat import order.directed import order.rel_iso /-! # Encodable types This file defines encodable (constructively counta...
44d13a40c7d9651b891d0ddbd5fd46c47ecfc1af
e031d1fbf8353b338e3189e0d9aec3adb5bb0512
/src/clone.lean
9ed9a7814206b8742e864f5cd34adae370e15d74
[ "Apache-2.0" ]
permissive
UniversalAlgebra/lean-ualib
e64431a70007a835b1dd933d66be04ffca118601
ab9cbddbb5bdf1eeac4b0d5994bd6cad2a3665d4
refs/heads/master
1,584,931,281,084
1,558,364,533,000
1,558,364,533,000
140,986,567
6
0
Apache-2.0
1,532,718,578,000
1,531,613,794,000
Lean
UTF-8
Lean
false
false
1,231
lean
import basic section parameters (α : Type*) (F : Type*) structure is_clone (C : set (op F α)) := (proj_closed : ∀ k, (λ (x : F → α), x k) ∈ C) (comp_closed : ∀ f (g : F → op F α), f ∈ C → (∀ i, g i ∈ C) → (λ x, f (λ i, g i x)) ∈ C) parameter (X : set (op F α)) -- The smallest clone containing X inductive clo : set ...
23fb1e282a11e410e81ef61eb5bee49d31480047
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/lean/string_imp.lean
2d840ef5583dc6e0d75656403d7c7d5438c1db85
[ "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
339
lean
#eval ("abc" ++ "cde").length #eval ("abcd".mkIterator.nextn 2).remainingToString #eval ("abcd".mkIterator.nextn 10).remainingToString #eval "αβ".length #eval "αβcc".mkIterator.pos #eval "αβcc".mkIterator.next.pos #eval "αβcc".mkIterator.next.next.pos #eval "αβcc".mkIterator.next.setCurr 'a' #eval "αβcd".mkIterator.toE...
901581d3e6b2dea5b972d2233cb237300f9f0286
abd85493667895c57a7507870867b28124b3998f
/src/data/real/ennreal.lean
26b38892854290a1126218c260a582c85b6a1c84
[ "Apache-2.0" ]
permissive
pechersky/mathlib
d56eef16bddb0bfc8bc552b05b7270aff5944393
f1df14c2214ee114c9738e733efd5de174deb95d
refs/heads/master
1,666,714,392,571
1,591,747,567,000
1,591,747,567,000
270,557,274
0
0
Apache-2.0
1,591,597,975,000
1,591,597,974,000
null
UTF-8
Lean
false
false
45,296
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl, Yury Kudryashov Extended non-negative reals -/ import data.real.nnreal import data.set.intervals noncomputable theory open classical set open_locale classical big_oper...
55e52884d28a2032152394acaad6b456f980abb2
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/lean/run/int_to_nat_bug.lean
b0068696fb2ff0a4b11a30ea3b3c2e14b1658229
[ "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
25
lean
#eval (4294967295 : Int)
3357492e975fb6b49be9be537fed26545d24e150
271e26e338b0c14544a889c31c30b39c989f2e0f
/stage0/src/Init/Lean/Compiler/IR/Format.lean
9786052b0dec5403c9b05ecfd496299e25afa599
[ "Apache-2.0" ]
permissive
dgorokho/lean4
805f99b0b60c545b64ac34ab8237a8504f89d7d4
e949a052bad59b1c7b54a82d24d516a656487d8a
refs/heads/master
1,607,061,363,851
1,578,006,086,000
1,578,006,086,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,003
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.Lean.Data.Format import Init.Lean.Compiler.IR.Basic namespace Lean namespace IR private def formatArg : Arg → Format | Arg.var id ...
18b67ca0971ed1bd3a51b72c7160c1ca5bd0011a
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/record_rec_protected.lean
c741f3ae71e86dbe0f5b6adfab0beaf49275613c
[ "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
122
lean
-- structure point (A : Type) (B : Type) := mk :: (x : A) (y : B) open point #check rec -- error, rec is protected
ca5d53f0f7da09703f91b264c1376d84f61d40ec
94e33a31faa76775069b071adea97e86e218a8ee
/src/algebra/ring/idempotents.lean
683809ccecede1a8b255df3fde3e4d6ef2212c63
[ "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
3,908
lean
/- Copyright (c) 2022 Christopher Hoskin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Christopher Hoskin -/ import algebra.ring.basic import algebra.group_power.basic import tactic.nth_rewrite.default /-! # Idempotents This file defines idempotents for an arbitary...
ab6caf8a9f08e443e323e34691d4ee4aba3b2e7e
26ac254ecb57ffcb886ff709cf018390161a9225
/src/data/real/cau_seq.lean
4b0c901a79b12daffeac7285ab1f6728cd8b7209
[ "Apache-2.0" ]
permissive
eric-wieser/mathlib
42842584f584359bbe1fc8b88b3ff937c8acd72d
d0df6b81cd0920ad569158c06a3fd5abb9e63301
refs/heads/master
1,669,546,404,255
1,595,254,668,000
1,595,254,668,000
281,173,504
0
0
Apache-2.0
1,595,263,582,000
1,595,263,581,000
null
UTF-8
Lean
false
false
25,965
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import algebra.big_operators /-! # Cauchy sequences A basic theory of Cauchy sequences, used in the construction of the reals and p-adic numbers. Where applicable, ...
cb9add88ec1777b5ebfc602e6cc1e1a40a24005e
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/analysis/normed_space/dual.lean
ede4cee9af1be4177a013f45bb9f8c2a0d3e616a
[ "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
12,851
lean
/- Copyright (c) 2020 Heather Macbeth. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Heather Macbeth, Frédéric Dupuis -/ import analysis.normed_space.hahn_banach import analysis.normed_space.inner_product /-! # The topological dual of a normed space In this file we ...
6321e2590abc3a7871db87bec40184b64895fe3a
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/interactive/goal_info_semicolon.lean
f78f354b9e96065be173b389d44adb8cf90ae410
[ "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
362
lean
example (a b : bool) : a = b := by cases a; cases b; simp --^ "command": "info" example (a b : bool) : a = b := by cases a; cases b; simp --^ "command": "info" example (a b : bool) : a = b := by cases a; cases b; simp ...
c59121ffbed43913aff2e842af52190f9348b9b2
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/sorryWarning.lean
64eca7b8a146378297c7e4220e413a00200c8e02
[ "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
64
lean
def f (x : Nat) : Nat := sorry def g (x : Nat) : Nat := f x
43a3e446a2b9d21fd857b6fc3a58ace6b60e785c
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/tests/lean/run/is_nil.lean
debdee21ed41bbeefa5faccf15465f40dd225de5
[ "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,343
lean
import logic open tactic inductive list (A : Type) : Type := nil {} : list A, cons : A → list A → list A namespace list end list open list open eq definition is_nil {A : Type} (l : list A) : Prop := list.rec true (fun h t r, false) l theorem is_nil_nil (A : Type) : is_nil (@nil A) := eq_true_elim (refl true) theo...
801e8d0d44f8a9e2696cce505966c95713ea8ebc
fc086f79b20cf002d6f34b023749998408e94fbf
/src/tidy/timing.lean
1bdd93dd87e8a5a9cee6c5ec3ec7269890b210ee
[]
no_license
semorrison/lean-tidy
f039460136b898fb282f75efedd92f2d5c5d90f8
6c1d46de6cff05e1c2c4c9692af812bca3e13b6c
refs/heads/master
1,624,461,332,392
1,559,655,744,000
1,559,655,744,000
96,569,994
9
4
null
1,538,287,895,000
1,499,455,306,000
Lean
UTF-8
Lean
false
false
1,978
lean
import system.io open tactic universe variables u /-- This function has a native implementation that returns the system time in microseconds since the epoch. -/ -- see patch below for adding this to Lean -- it currently suffers from overflow issues, which aren't a problem for profiling. meta def systemtime : ℕ := 0...
4e9615b5f0f2592a0010b9cdc966bfcefb82ec05
80746c6dba6a866de5431094bf9f8f841b043d77
/src/ring_theory/ideal_operations.lean
839c9ed896ac36bb6ca507742472de3a152969a9
[ "Apache-2.0" ]
permissive
leanprover-fork/mathlib-backup
8b5c95c535b148fca858f7e8db75a76252e32987
0eb9db6a1a8a605f0cf9e33873d0450f9f0ae9b0
refs/heads/master
1,585,156,056,139
1,548,864,430,000
1,548,864,438,000
143,964,213
0
0
Apache-2.0
1,550,795,966,000
1,533,705,322,000
Lean
UTF-8
Lean
false
false
20,653
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau More operations on modules and ideals. -/ import ring_theory.ideals data.nat.choose order.zorn import linear_algebra.tensor_product universes u v w x open lattice namespace s...
278a3cee762c045e5e70d8707668bdbd36bd5824
48eee836fdb5c613d9a20741c17db44c8e12e61c
/src/algebra/theories/basic.lean
3c13ec08979cffd95a913162ca8d69402ae6c5d2
[ "Apache-2.0" ]
permissive
fgdorais/lean-universal
06430443a4abe51e303e602684c2977d1f5c0834
9259b0f7fb3aa83a9e0a7a3eaa44c262e42cc9b1
refs/heads/master
1,592,479,744,136
1,589,473,399,000
1,589,473,399,000
196,287,552
1
1
null
null
null
null
UTF-8
Lean
false
false
221
lean
-- Copyright © 2019 François G. Dorais. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. import util.theories import algebra.identities.basic import algebra.identities.common
ab006b4adc46b09cca20976669e64892241fa298
0845ae2ca02071debcfd4ac24be871236c01784f
/library/init/data/list/instances.lean
7793f1b56657862b681034449502544ac3d51f08
[ "Apache-2.0" ]
permissive
GaloisInc/lean4
74c267eb0e900bfaa23df8de86039483ecbd60b7
228ddd5fdcd98dd4e9c009f425284e86917938aa
refs/heads/master
1,643,131,356,301
1,562,715,572,000
1,562,715,572,000
192,390,898
0
0
null
1,560,792,750,000
1,560,792,749,000
null
UTF-8
Lean
false
false
462
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import init.data.list.basic import init.control.alternative init.control.monad open List universes u v instance : Monad List := { pure := @List.pur...
e177c3db0c49c513a62f7a973e2dc4698bb5583a
3dd1b66af77106badae6edb1c4dea91a146ead30
/tests/lean/let1.lean
e68f523650e615fabafe9ad9af23ffa9c5146c7d
[ "Apache-2.0" ]
permissive
silky/lean
79c20c15c93feef47bb659a2cc139b26f3614642
df8b88dca2f8da1a422cb618cd476ef5be730546
refs/heads/master
1,610,737,587,697
1,406,574,534,000
1,406,574,534,000
22,362,176
1
0
null
null
null
null
UTF-8
Lean
false
false
1,082
lean
-- Correct version check let bool [inline] := Type.{0}, and [inline] (p q : bool) := ∀ c : bool, (p → q → c) → c, infixl `∧`:25 := and, and_intro (p q : bool) (H1 : p) (H2 : q) : p ∧ q := λ (c : bool) (H : p → q → c), H H1 H2, and_elim_left...
9abd01ab2fd9f910067014c3199f6744676f3311
d31b9f832ff922a603f76cf32e0f3aa822640508
/src/hott/init/meta/basic_tactics.lean
dd5c4ded6f02fddbe7c0299de4684f0ccb2c4801
[ "Apache-2.0" ]
permissive
javra/hott3
6e7a9e72a991a2fae32e5764982e521dca617b16
cd51f2ab2aa48c1246a188f9b525b30f76c3d651
refs/heads/master
1,585,819,679,148
1,531,232,382,000
1,536,682,965,000
154,294,022
0
0
Apache-2.0
1,540,284,376,000
1,540,284,375,000
null
UTF-8
Lean
false
false
7,814
lean
/- Copyright (c) 2017 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import ..path0 .instances universes u v w namespace name meta def append_postfix : name → string → name | (mk_string s p) s' := mk_string (s ++ s') p | x ...
f0d6ee532a01c8abefc57d8d387104a1f03ab152
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/sheaves/sheaf_condition/opens_le_cover_auto.lean
2c062691289e50b5bf88da969aba854e42426fbb
[]
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
8,638
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.sheaves.presheaf import Mathlib.category_theory.limits.cofinal import Mathlib.topo...
da0d118b04c9b895e3d185e33bfb59869de92b9d
7cef822f3b952965621309e88eadf618da0c8ae9
/src/category_theory/limits/preserves.lean
f35050c5aaff2a7fa01a30a4c003fcb1b59fbbd9
[ "Apache-2.0" ]
permissive
rmitta/mathlib
8d90aee30b4db2b013e01f62c33f297d7e64a43d
883d974b608845bad30ae19e27e33c285200bf84
refs/heads/master
1,585,776,832,544
1,576,874,096,000
1,576,874,096,000
153,663,165
0
2
Apache-2.0
1,544,806,490,000
1,539,884,365,000
Lean
UTF-8
Lean
false
false
10,806
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Reid Barton -/ import category_theory.limits.limits /-! # Preservation and reflection of (co)limits. There are various distinct notions of "preserving limits". The on...
fbcc7475eb1863088a75f8667e759aa6396ad01c
c3f2fcd060adfa2ca29f924839d2d925e8f2c685
/library/logic/axioms/examples/diaconescu.lean
e119237c437d793070c5d5ce96ed04d7e9a48a19
[ "Apache-2.0" ]
permissive
respu/lean
6582d19a2f2838a28ecd2b3c6f81c32d07b5341d
8c76419c60b63d0d9f7bc04ebb0b99812d0ec654
refs/heads/master
1,610,882,451,231
1,427,747,084,000
1,427,747,429,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,758
lean
-- Copyright (c) 2014 Microsoft Corporation. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Author: Leonardo de Moura import logic.axioms.hilbert logic.axioms.funext open eq.ops nonempty inhabited -- Diaconescu’s theorem -- Show that Excluded middle follows from -- Hi...
0128cf8341cdf5ee2659174426135d448235dd1c
a0a027e4a00cdb315527e8922122f2a4411fd01c
/6.2-constructors-with-arguments.lean
4bcae5f53333a1782dec8b325812439ef99f7a20
[]
no_license
spl/lean-tutorial
96a1ef321d06b9b28d044eeb6bf1ff9a86761a6e
35c0250004d75d8ae58f6192b649744545116022
refs/heads/master
1,610,250,012,890
1,454,259,122,000
1,454,259,122,000
49,971,362
1
0
null
null
null
null
UTF-8
Lean
false
false
555
lean
open bool option definition option.comp {A B C : Type} (f : A → option B) (g : B → option C) (x : A) : option C := option.cases_on (f x) none (λ y : B, option.cases_on (g y) none some) example : inhabited bool := inhabited.mk tt example : inhabited ℕ := inhabited.mk 0 example {A B : Type} (x : inhabited A) (y...
324b37a44504726970e816d54b94c0488df1b161
83bd63fd58ebbb33f769cbf6d6a67463ba1bc637
/src/day_2/partitions_relations.lean
c2956f7391390184fc38bf57f3e7a7625556f82d
[]
no_license
Wornbard/mbl_lean_workshop
6ebdafebac74f1b1148f67a528242a3687af17e1
6b68ce25fdc49043fd5ab409de8e4a2987def22e
refs/heads/main
1,690,205,591,845
1,630,953,271,000
1,630,953,271,000
403,417,180
0
0
null
null
null
null
UTF-8
Lean
false
false
9,838
lean
import tactic /-! # Equivalence relations are the same as partitions In this file we prove that there's a bijection between the equivalence relations on a type, and the partitions of a type. ## Overview Say `α` is a type, and `R : α → α → Prop` is a binary relation on `α`. The following things are already in Lea...
2d4e329c39bdebfe36d7994542bebb7c3e9bd06b
9dc8cecdf3c4634764a18254e94d43da07142918
/src/set_theory/game/basic.lean
8dd1931a5721ded6f44dbb5dd3071b29d9baf381
[ "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
27,347
lean
/- Copyright (c) 2019 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Mario Carneiro, Isabel Longbottom, Scott Morrison, Apurva Nakade -/ import set_theory.game.pgame import tactic.abel /-! # Combinatorial games. In this file we define the...
1157dcedd4b104bbcef82346c36f59e149baf92d
94637389e03c919023691dcd05bd4411b1034aa5
/src/inClassNotes/higherOrderFunctions/higherOrderFunctions-example.lean
420835327d109ca9a21aae9f1dd88ea138a6deae
[]
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
590
lean
def func (n : nat) : (nat → nat) := λ (m : ℕ), m + n def foo (n : nat) : (nat → (string → bool)) := fun (m : nat), fun (s : string), tt #check foo 1 2 #check foo def x := func 3 #check func -- func 3 -- λ (m : ℕ), 3 + m -- x := λ (m : ℕ), 3 + m #eval x 6 -- 3 + m -- 3 + 6 -- 9 /- def func (3 : nat) ...
6e1a85e0c48cfe4ae78266e61b57da39357d69b0
159fed64bfae88f3b6a6166836d6278f953bcbf9
/Structure/Generic/Instances/Sets.lean
f5f5879f0fd59bb8fb288ccd06b7c8fa33f18a8f
[ "MIT" ]
permissive
SReichelt/lean4-experiments
3e56830c8b2fbe3814eda071c48e3c8810d254a8
ff55357a01a34a91bf670d712637480089085ee4
refs/heads/main
1,683,977,454,907
1,622,991,121,000
1,622,991,121,000
340,765,677
2
0
null
null
null
null
UTF-8
Lean
false
false
663
lean
import Structure.Generic.Axioms import Structure.Generic.Instances.Basic import Structure.Generic.Instances.Bundled set_option autoBoundImplicitLocal false --set_option pp.universes true universes u v section Sets variable (M : Universe.{v}) -- TODO: We want sets to have an instance equivalence (i.e. equal...
5b7f93471d40856d7e271327430491dd9bec342a
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/calculus/specific_functions.lean
b75744a0095662b13f65dd65e9b916b8fb4e1fa9
[ "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
23,680
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, Floris van Doorn -/ import analysis.calculus.iterated_deriv import analysis.inner_product_space.euclidean_dist import measure_theory.function.locally_integrable i...
7baea60783308968754e1dd95842740706c5c2b3
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/data/string/defs.lean
016864c616abda6f0a2085f8dd9f329e24bef1bd
[ "Apache-2.0" ]
permissive
ChrisHughes24/mathlib
98322577c460bc6b1fe5c21f42ce33ad1c3e5558
a2a867e827c2a6702beb9efc2b9282bd801d5f9a
refs/heads/master
1,583,848,251,477
1,565,164,247,000
1,565,164,247,000
129,409,993
0
1
Apache-2.0
1,565,164,817,000
1,523,628,059,000
Lean
UTF-8
Lean
false
false
541
lean
import data.list.defs namespace string def map_tokens (c : char) (f : list string → list string) : string → string := intercalate (singleton c) ∘ f ∘ split (= c) def over_list (f : list char → list char) : string → string := list.as_string ∘ f ∘ string.to_list def split_on (c : char) (s : string) : list string := (...
7ea31ffea2ec786560846eb248ffc5beab467cf3
1fd908b06e3f9c1252cb2285ada1102623a67f72
/types/W.lean
b55fb0aa5a70fd3e5fe83b279c7e2b7776bc5411
[ "Apache-2.0" ]
permissive
avigad/hott3
609a002849182721e7c7ae536d9f1e2956d6d4d3
f64750cd2de7a81e87d4828246d1369d59f16f43
refs/heads/master
1,629,027,243,322
1,510,946,717,000
1,510,946,717,000
103,570,461
0
0
null
1,505,415,620,000
1,505,415,620,000
null
UTF-8
Lean
false
false
6,033
lean
/- 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 Theorems about W-types (well-founded trees) -/ import .sigma .pi universes u v w hott_theory namespace hott open decidable open hott.eq hott.equiv hott.is_equiv ...
1dac457d09d4cacb7e50037cadf7793c86a76425
6de8ea38e7f58ace8fbf74ba3ad0bf3b3d1d7ab5
/solutions2/Warmup/solutions.lean
2594d5a7423c2e9e0cfcdfe8882afd7a53f4e3a3
[]
no_license
KinanBab/CS591K1-Labs
72f4e2c7d230d4e4f548a343a47bf815272b1f58
d4569bf99d20c22cd56721024688cda247d1447f
refs/heads/master
1,587,016,758,873
1,558,148,366,000
1,558,148,366,000
165,329,114
5
2
null
1,550,689,848,000
1,547,252,664,000
TeX
UTF-8
Lean
false
false
587
lean
-- Warmup: first order logic (10 points) -- Two simple first order logic tautologies, these are true -- in intuisionistic first order. -- Part A: 5 points theorem simple_one (t: Type) (P1 P2: t-> Prop) : (∀{a: t}, P1 a ∧ P2 a) -> (∀{b: t}, P1 b) := begin intros, apply and.left, apply a, end -- Part B: 5 poin...
1381cd2d80c0eb619ad74577c9db732581a2439e
27a31d06bcfc7c5d379fd04a08a9f5ed3f5302d4
/src/Lean/Data/Options.lean
a26ec5ed12dd5566501297c4e9cc9b5cdbd40c5c
[ "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
joehendrix/lean4
0d1486945f7ca9fe225070374338f4f7e74bab03
1221bdd3c7d5395baa451ce8fdd2c2f8a00cbc8f
refs/heads/master
1,640,573,727,861
1,639,662,710,000
1,639,665,515,000
198,893,504
0
0
Apache-2.0
1,564,084,645,000
1,564,084,644,000
null
UTF-8
Lean
false
false
5,348
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich and Leonardo de Moura -/ import Lean.ImportingFlag import Lean.Data.KVMap namespace Lean def Options := KVMap def Options.empty : Options := {} instance : ...
ad958b1bbd858eed568e57047177d128e6e35fed
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/analysis/fourier.lean
b89aff5426f5010e3356fea938ad74feb80b81ab
[ "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
10,678
lean
/- Copyright (c) 2021 Heather Macbeth. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Heather Macbeth -/ import analysis.complex.circle import analysis.inner_product_space.l2_space import measure_theory.function.continuous_map_dense import measure_theory.function.l2_sp...
1e0b06fb656f542afc6f50b28a1e4b98c0edbef1
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/measure_theory/function/conditional_expectation.lean
d226d485c59b675cc5b13270074b9b9df971f1a8
[ "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
86,936
lean
/- Copyright (c) 2021 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne -/ import analysis.inner_product_space.projection import measure_theory.function.l2_space import measure_theory.decomposition.radon_nikodym /-! # Conditional expectation ...
f09238e15d20057b045f72a7c120db3af4419f8c
b7f22e51856f4989b970961f794f1c435f9b8f78
/hott/types/arrow.hlean
81e730a63535c32fad07e6287f0cb02bb5729f38
[ "Apache-2.0" ]
permissive
soonhokong/lean
cb8aa01055ffe2af0fb99a16b4cda8463b882cd1
38607e3eb57f57f77c0ac114ad169e9e4262e24f
refs/heads/master
1,611,187,284,081
1,450,766,737,000
1,476,122,547,000
11,513,992
2
0
null
1,401,763,102,000
1,374,182,235,000
C++
UTF-8
Lean
false
false
5,729
hlean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn Ported from Coq HoTT Theorems about arrow types (function spaces) -/ import types.pi open eq equiv is_equiv funext pi is_trunc unit namespace pi variables {A A...
2dfb5886ee64b7c45217f13b8bfcc642faaeb906
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/measure_theory/group/fundamental_domain.lean
c97dba8abe1bcef952c38bc7181a1db20dfe2eed
[ "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
31,972
lean
/- Copyright (c) 2021 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import measure_theory.group.action import measure_theory.integral.set_integral /-! # Fundamental domain of a group action > THIS FILE IS SYNCHRONIZED WITH M...
fa0a2bfa9a68982a32ef2f8eb933e060b30328f3
969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb
/src/algebra/invertible.lean
7b225dca65c6ac4d6fe42a1c98178f80a1f8473d
[ "Apache-2.0" ]
permissive
SAAluthwela/mathlib
62044349d72dd63983a8500214736aa7779634d3
83a4b8b990907291421de54a78988c024dc8a552
refs/heads/master
1,679,433,873,417
1,615,998,031,000
1,615,998,031,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,166
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Anne Baanen -/ import algebra.group.units import algebra.ring.basic /-! # Invertible elements This file defines a typeclass `invertible a` for elements `a` with a two-sided multiplicati...
fa7aa163a9b899b7585ef6413cb393965ad9caea
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/linterMissingDocs.lean
e0e8730a2492cfe3562319cd863acd411ed21d42
[ "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
2,224
lean
import Lean set_option linter.all true /-- A doc string -/ def hasDoc (x : Nat) := x def noDoc (x : Nat) := x private def auxDef (x : Nat) := x namespace Foo protected def noDoc2 (x : Nat) := x end Foo open Foo in def openIn (x : Nat) := x open Foo in /-- A doc string -/ def openIn2 (x : Nat) := x set_option pp...
c44f4d77d6ddfe932e23c5fdab65d22902b38b74
0845ae2ca02071debcfd4ac24be871236c01784f
/tests/bench/const_fold.lean
5fe0fa2fa6fadd8aaeec3850e8f00e375cf3f478
[ "Apache-2.0" ]
permissive
GaloisInc/lean4
74c267eb0e900bfaa23df8de86039483ecbd60b7
228ddd5fdcd98dd4e9c009f425284e86917938aa
refs/heads/master
1,643,131,356,301
1,562,715,572,000
1,562,715,572,000
192,390,898
0
0
null
1,560,792,750,000
1,560,792,749,000
null
UTF-8
Lean
false
false
2,137
lean
inductive Expr | Var : Nat → Expr | Val : Nat → Expr | Add : Expr → Expr → Expr | Mul : Expr → Expr → Expr open Expr Nat def mkExpr : Nat → Nat → Expr | 0 v := if v = 0 then Var 1 else Val v | (n+1) v := Add (mkExpr n (v+1)) (mkExpr n (v-1)) def appendAdd : Expr → Expr → Expr | (Add e₁ e₂) e₃ := Add e₁ (appendAd...
37468a9dcee4da3df77b8c49d37f2576bcb53a2d
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/module/equiv.lean
5cb99e06014d4dd62634dfeebd3f487539d4f50a
[ "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
25,422
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nathaniel Thomas, Jeremy Avigad, Johannes Hölzl, Mario Carneiro, Anne Baanen, Frédéric Dupuis, Heather Macbeth -/ import algebra.module.linear_map /-! # (Semi)linear equivalences > TH...
080bfd2878192420bce68733f6fba2369f3cb99d
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/control/bitraversable/lemmas.lean
5f17fe41de7d6fff9ae56df13975adc21ca7892a
[]
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
4,161
lean
/- Copyright (c) 2019 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author(s): Simon Hudon -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.control.bitraversable.basic import Mathlib.PostPort universes u l_1 u_1 namespace Mathlib /...