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
fbdaee3d865cf9cc7fc2a998ff22f96354b49c2b
1fbca480c1574e809ae95a3eda58188ff42a5e41
/src/util/data/finite.lean
e55e88d76d67bea9ce0c2a69453ab93f5132b5ff
[]
no_license
unitb/lean-lib
560eea0acf02b1fd4bcaac9986d3d7f1a4290e7e
439b80e606b4ebe4909a08b1d77f4f5c0ee3dee9
refs/heads/master
1,610,706,025,400
1,570,144,245,000
1,570,144,245,000
99,579,229
5
0
null
null
null
null
UTF-8
Lean
false
false
767
lean
import util.data.nat open nat (hiding zero_le) open list def fin_interleave (n : ℕ) (i : ℕ) : fin (succ n) := ⟨i % succ n,mod_lt _ (succ_le_succ $ nat.zero_le _)⟩ theorem inf_repeat_fin_inter {n : ℕ} : ∀ x i, ∃ j, fin_interleave n (i+j) = x := begin intro x, cases x with x H, intro i, existsi x + succ n - (...
a8d5ca2cc763d9988d33f1a27742101857f063cb
da3a76c514d38801bae19e8a9e496dc31f8e5866
/library/init/meta/smt/interactive.lean
647cd424fcf60828ca7effa7789a006816ccf54b
[ "Apache-2.0" ]
permissive
cipher1024/lean
270c1ac5781e6aee12f5c8d720d267563a164beb
f5cbdff8932dd30c6dd8eec68f3059393b4f8b3a
refs/heads/master
1,611,223,459,029
1,487,566,573,000
1,487,566,573,000
83,356,543
0
0
null
1,488,229,336,000
1,488,229,336,000
null
UTF-8
Lean
false
false
10,213
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 -/ prelude import init.meta.smt.smt_tactic init.meta.interactive import init.meta.smt.rsimp namespace smt_tactic meta def save_info (line : nat) (col : nat) :...
37b3ebcf1ddb93e3f734b92df980707a29c592da
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/bad_set_option.lean
b65e023626b5874dadc0702d3baace04c65167b2
[ "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
45
lean
set_option boo true set_option pp.unicode a
a7d18e7e8eda1ebe2206758d2028bdf53212ed6b
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/topology/instances/ennreal.lean
31a9297318a5bf2f26855cb8f862e11a70effb68
[ "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
55,670
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 topology.instances.nnreal import topology.algebra.ordered.liminf_limsup /-! # Extended non-negative reals -/ noncomputable theory open classical set filter m...
f05c4bd9cd304dc989aa956cac40409107a9cb17
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/data/polynomial/iterated_deriv.lean
03afd32d12e1a4a6c66240b835b9897897474e5e
[ "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
8,101
lean
/- Copyright (c) 2020 Jujian Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jujian Zhang -/ import data.polynomial.derivative import logic.function.iterate import data.finset.intervals import tactic.ring import tactic.linarith /-! # Theory of iterated derivati...
09ed852d9414b01e4c5700b6c193d0559a420ad8
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/library/data/set/filter.lean
b763bb08ad6225afbf188602c21abebfacb3178a
[ "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
11,875
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad Filters, following Hölzl, Immler, and Huffman, "Type classes and filters for mathematical analysis in Isabelle/HOL". -/ import data.set.function logic.identities algebra.c...
304a79973d4b555591d959a3a6e36ffd825c4cf9
63abd62053d479eae5abf4951554e1064a4c45b4
/src/ring_theory/unique_factorization_domain.lean
2c17a35d0f8ee68483446d6e7de72e5e5519cf8f
[ "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
48,059
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Jens Wagemaker, Aaron Anderson -/ import algebra.gcd_monoid import ring_theory.integral_domain import ring_theory.noetherian /-- # Unique factorization ## Main Defi...
f4024761320acab8210b01a020c1e2913d43372b
9dc8cecdf3c4634764a18254e94d43da07142918
/src/number_theory/liouville/liouville_constant.lean
09f200e7d362daddb2cc83b83ade97907b2fca20
[ "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
8,799
lean
/- Copyright (c) 2020 Jujian Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Damiano Testa, Jujian Zhang -/ import number_theory.liouville.basic /-! # Liouville constants This file contains a construction of a family of Liouville numbers, indexed by a natural n...
bc518ff1a51e7a523d440ff62a9061555ffebea6
94e33a31faa76775069b071adea97e86e218a8ee
/src/algebraic_geometry/projective_spectrum/scheme.lean
2137c7ae90ad3b03b284cfff3e8b6fa967ba5cce
[ "Apache-2.0" ]
permissive
urkud/mathlib
eab80095e1b9f1513bfb7f25b4fa82fa4fd02989
6379d39e6b5b279df9715f8011369a301b634e41
refs/heads/master
1,658,425,342,662
1,658,078,703,000
1,658,078,703,000
186,910,338
0
0
Apache-2.0
1,568,512,083,000
1,557,958,709,000
Lean
UTF-8
Lean
false
false
14,901
lean
/- Copyright (c) 2022 Jujian Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jujian Zhang -/ import algebraic_geometry.projective_spectrum.structure_sheaf import algebraic_geometry.Spec /-! # Proj as a scheme This file is to prove that `Proj` is a scheme. ## N...
7798aa21d46c8ef3b65aea7439dc2c264fe191c2
4727251e0cd73359b15b664c3170e5d754078599
/archive/imo/imo2005_q3.lean
9f7559da9f278b29a2ed6c62f1f0cd4337dcb844
[ "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
3,032
lean
/- Copyright (c) 2021 Manuel Candales. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Manuel Candales -/ import data.real.basic /-! # IMO 2005 Q3 Let `x`, `y` and `z` be positive real numbers such that `xyz ≥ 1`. Prove that: `(x^5 - x^2)/(x^5 + y^2 + z^2) + (y^5 - y^2...
f38c48b19842b1a810d93e26a742d90f62a9d9d5
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/run/injective.lean
cf04c92697effdd04443dedc7d40f255e637a6f4
[ "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
812
lean
universe u v structure InjectiveFunction (α : Type u) (β : Type v) where fn : α → β inj : ∀ a b, fn a = fn b → a = b def add1 : InjectiveFunction Nat Nat where fn a := a + 1 inj a b h := by injection h; assumption instance : CoeFun (InjectiveFunction α β) (fun _ => α → β) where coe s := s.fn #eval a...
8d543c1aa2034139e08aaf48a2396c0ba275d5ff
43390109ab88557e6090f3245c47479c123ee500
/src/M1F/problem_bank/0104/Q0104.lean
cee6aed72c2e954947fd25d900e7c6aecf3b63ac
[ "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
1,182
lean
/- M1F 2017-18 Sheet 1 Question 1 Author : Kevin Buzzard This file should work with any version of lean -- whether you installed it yourself or are running the version on https://leanprover.github.io/live/latest/ -/ -- We probably need the "law of the excluded middle" for this question -- every -- proposition is eith...
e4e3e85e29a42a2026c86b0a1d0d982170d084e3
1dd482be3f611941db7801003235dc84147ec60a
/src/group_theory/quotient_group.lean
7b6b3523e2972343601de31cb3b0477fd5e65464
[ "Apache-2.0" ]
permissive
sanderdahmen/mathlib
479039302bd66434bb5672c2a4cecf8d69981458
8f0eae75cd2d8b7a083cf935666fcce4565df076
refs/heads/master
1,587,491,322,775
1,549,672,060,000
1,549,672,060,000
169,748,224
0
0
Apache-2.0
1,549,636,694,000
1,549,636,694,000
null
UTF-8
Lean
false
false
8,771
lean
/- Copyright (c) 2018 Kevin Buzzard and Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, Patrick Massot. This file is to a certain extent based on `quotient_module.lean` by Johannes Hölzl. -/ import group_theory.coset universes u v names...
ac8a9d360d7be6b9a99166fe62e274c8e69c1297
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/omega/int/preterm.lean
d538758f6e545df404104aec2c12a6a9b1e07004
[]
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,672
lean
/- Copyright (c) 2019 Seul Baek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Seul Baek -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.omega.term import Mathlib.PostPort universes l namespace Mathlib /- Linear integer arithmet...
5b0d8682293fed68b9cd5ff64db3acacc8e4f21f
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/localization/away/adjoin_root.lean
2d5ed60a9769cdf18cab83f55aea527415868f6a
[ "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
1,751
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro, Johan Commelin, Amelia Livingston, Anne Baanen -/ import ring_theory.adjoin_root import ring_theory.localization.away.basic /-! > THIS FILE IS SYNCHRONIZED WITH ...
22186d36924d1405bdf613616d59dc8b5aaf4f63
675b8263050a5d74b89ceab381ac81ce70535688
/src/topology/algebra/group.lean
5fd3ffc03bd3d78f2dcfb6c6eb12e7fdbf75c722
[ "Apache-2.0" ]
permissive
vozor/mathlib
5921f55235ff60c05f4a48a90d616ea167068adf
f7e728ad8a6ebf90291df2a4d2f9255a6576b529
refs/heads/master
1,675,607,702,231
1,609,023,279,000
1,609,023,279,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
24,115
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Patrick Massot -/ import order.filter.pointwise import group_theory.quotient_group import topology.algebra.monoid import topology.homeomorph /-! # The...
df137c8e2a480e69a5c5e35b63e5b787780a6b4a
618003631150032a5676f229d13a079ac875ff77
/src/category_theory/category/default.lean
1356d79eb30ecf8fde3b7a5b49244a1aa3be9247
[ "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
7,580
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 of...
7d3033832f9847ad9097c3b66c629695db8ec7f1
26ac254ecb57ffcb886ff709cf018390161a9225
/src/data/polynomial/div.lean
fcda31c899e9591e74de8f91213930f0aa34a536
[ "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,584
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker -/ import data.polynomial.monic import ring_theory.euclidean_domain import ring_theory.multiplicity /-! # Division of univar...
79485dd57e27fb10659cfb92e9d738ffc16846d3
9c1ad797ec8a5eddb37d34806c543602d9a6bf70
/monoidal_categories/internal_objects/free_modules.lean
8e44a4fac98ed9f4c583ae0c19c9f05551298a51
[]
no_license
timjb/lean-category-theory
816eefc3a0582c22c05f4ee1c57ed04e57c0982f
12916cce261d08bb8740bc85e0175b75fb2a60f4
refs/heads/master
1,611,078,926,765
1,492,080,000,000
1,492,080,000,000
88,348,246
0
0
null
1,492,262,499,000
1,492,262,498,000
null
UTF-8
Lean
false
false
3,166
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 import .monoids open tqft.categories open tqft.categories.functor open tqft.categories.monoidal_category namespace tqft.categories.internal_objec...
c96c7dd66ac389ca535b23cd389c6ae72296f9f2
72d99e722771bfc4f845b49212c0f743cf3f08df
/tests/lean/run/1954.lean
e9e000a5634ad125188cd52e3805c6bff80f512a
[ "Apache-2.0" ]
permissive
AtnNn/lean
c79fa061e300e0ebea0186d9f7db971e839e8955
d97d77fd30601f06c751ca376c0cdddd59cf52f9
refs/heads/master
1,583,885,051,450
1,523,730,668,000
1,523,730,668,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
109
lean
def all (p : ℕ → Prop) : Prop := ∀x, p x example {p : ℕ → Prop} (h : all p) : p 0 := ‹all p› 0
7e0154bd428353f35d4383361c2ebbb9a2c55066
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Compiler/IR/Basic.lean
a9a84268ada9bcc79738ed046d6e6cb95253ab92
[ "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
26,461
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.Data.KVMap import Lean.Data.Name import Lean.Data.Format import Lean.Compiler.ExternAttr /-! Implements (extended) λPure and λRc proposed in the...
f9237d4b280bac6b8beb8830eb063abf2f648887
b7f22e51856f4989b970961f794f1c435f9b8f78
/library/algebra/order.lean
0ef206de403079d2e3959908937a898baf748c4e
[ "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
18,321
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad Weak orders "≤", strict orders "<", and structures that include both. -/ import logic.eq logic.connectives algebra.binary algebra.priority open eq eq.ops function variabl...
ee5cb693f7c2103f65150b39d7d88963e45d8db0
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/ring_theory/jacobson.lean
88735e0a7804e57dcba3a1a8246cbc4fe4652735
[ "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
33,097
lean
/- Copyright (c) 2020 Devon Tuma. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Devon Tuma -/ import data.mv_polynomial import ring_theory.ideal.over import ring_theory.jacobson_ideal import ring_theory.localization /-! # Jacobson Rings The following conditions are e...
3cc8e25ad34ced0df58a0bee892753ad6a7d63b9
c777c32c8e484e195053731103c5e52af26a25d1
/src/analysis/von_neumann_algebra/basic.lean
84dc25e66e8befc7e0b1fb114d8d2dd5ab8ac0c4
[ "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
5,306
lean
/- Copyright (c) 2022 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import analysis.normed_space.dual import analysis.normed_space.star.basic import analysis.complex.basic import analysis.inner_product_space.adjoint import algebra.sta...
b6836d3e82b188792c5d3fbec9ade744a8225717
e16d4df4c2baa34ab203178cea2c27905a3b63d3
/src/day2.lean
85429937ba090290bdd347b8701188dec1bc9fd9
[]
no_license
jembishop/advent-of-code-2020
ea29eecb7f1d676dc1fd34b1a66efdbd23248aec
32fd5bc28e7c178277e85dc034b55fce6dd4afce
refs/heads/main
1,675,354,147,711
1,608,705,139,000
1,608,705,139,000
317,705,877
0
0
null
null
null
null
UTF-8
Lean
false
false
1,694
lean
import system.io import tactic import utils open io open nat open list open functor open decidable structure entry := (letter : char) (min_num : ℕ) (max_num : ℕ) (password : string) def entry_to_string : entry → string | e := "letter: " ++ e.letter.to_string ++ " min: " ++ (to_string e.min...
20d679ddcc31e67dbfe1e1fa5e82f5455e79647b
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/algebra/geom_sum.lean
44410c1ac6311b0f258065bef7f8bebd20aa0fce
[ "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
15,367
lean
/- Copyright (c) 2019 Neil Strickland. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Neil Strickland -/ import algebra.group_with_zero.power import algebra.big_operators.order import algebra.big_operators.ring import algebra.big_operators.intervals /-! # Partial sum...
69e5c9a57aba0fa1506129faa22d5135929d2481
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/calculus/formal_multilinear_series.lean
bcbd3eb37859041e884579bd0e892e76fe7bd93f
[ "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
11,361
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import analysis.normed_space.multilinear /-! # Formal multilinear series In this file we define `formal_multilinear_series 𝕜 E F` to be a family of `n`-multi...
cded5f74a75b60bc809ec4eadbc9df675b03c08b
02fbe05a45fda5abde7583464416db4366eedfbf
/library/init/data/string/ops.lean
6f2b1b6f5e75cc3e864c7cbd14e8e54cbb0c3b1f
[ "Apache-2.0" ]
permissive
jasonrute/lean
cc12807e11f9ac6b01b8951a8bfb9c2eb35a0154
4be962c167ca442a0ec5e84472d7ff9f5302788f
refs/heads/master
1,672,036,664,637
1,601,642,826,000
1,601,642,826,000
260,777,966
0
0
Apache-2.0
1,588,454,819,000
1,588,454,818,000
null
UTF-8
Lean
false
false
1,751
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ prelude import init.data.bool.lemmas import init.data.string.basic import init.meta.well_founded_tactics namespace string namespace iterator @[simp] lemm...
60a22f983fd942e14f59599b353b6a7cd57b9fe1
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/stage0/src/Init/System/IO.lean
743abda392190ce70840185bca1e6d8b171538d7
[ "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
16,784
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, Leonardo de Moura, Sebastian Ullrich -/ prelude import Init.Control.EState import Init.Control.Reader import Init.Data.String import Init.Data.ByteArr...
0d36ac79576a6f345491ac7e33c61758f66e123f
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/order/filter/ennreal.lean
744fc1fe6a4078da4b750e445f4db29420d38c5b
[ "Apache-2.0" ]
permissive
hamdysalah1/mathlib
b915f86b2503feeae268de369f1b16932321f097
95454452f6b3569bf967d35aab8d852b1ddf8017
refs/heads/master
1,677,154,116,545
1,611,797,994,000
1,611,797,994,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,898
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 data.real.ennreal import order.filter.countable_Inter import order.liminf_limsup /-! # Order properties of extended non-negative reals This file compiles filter...
a3c664436355ae558afe192bd06994967ce86a07
00de0c30dd1b090ed139f65c82ea6deb48c3f4c2
/src/order/basic.lean
fb58dae95efea1f8fa8cd7d62122cd928e1941b7
[ "Apache-2.0" ]
permissive
paulvanwamelen/mathlib
4b9c5c19eec71b475f3dd515cd8785f1c8515f26
79e296bdc9f83b9447dc1b81730d36f63a99f72d
refs/heads/master
1,667,766,172,625
1,590,239,595,000
1,590,239,595,000
266,392,625
0
0
Apache-2.0
1,590,257,277,000
1,590,257,277,000
null
UTF-8
Lean
false
false
34,035
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Mario Carneiro -/ import data.set.basic open function /-! # Basic definitions about `≤` and `<` ## Definitions ### Predicates on functions - `monotone f`: a function ...
7eb422aaadfac18be92a983406d2c8744db89885
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/tests/lean/run/inj1.lean
91ebec82a93dc9560e56ee558d64f5f127fff5a0
[ "Apache-2.0" ]
permissive
collares/lean4
861a9269c4592bce49b71059e232ff0bfe4594cc
52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee
refs/heads/master
1,691,419,031,324
1,618,678,138,000
1,618,678,138,000
358,989,750
0
0
Apache-2.0
1,618,696,333,000
1,618,696,333,000
null
UTF-8
Lean
false
false
918
lean
theorem test1 {α} (a b : α) (as bs : List α) (h : a::as = b::bs) : a = b := by { injection h; assumption; } theorem test2 {α} (a b : α) (as bs : List α) (h : a::as = b::bs) : a = b := by { injection h with h1 h2; exact h1 } theorem test3 {α} (a b : α) (as bs : List α) (h : (x : List α) → (y : List α) → x = ...
7a958c3bc36bdf67ca78c64754ea5b8899f2d25d
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/category/pairwise.lean
c8e946677df267db646c3ca290a8081fda3a17e3
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
4,404
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 order.complete_lattice import category_theory.category.preorder import category_theory.limits.is_limit /-! # The category of "pairwise intersections". > THIS...
9b394ce0de842bb3db9bec52a0a4fe26024ce9af
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/rat/floor.lean
b5096eae42c9263ee4a570bedce6aeb7fc225ce2
[ "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
6,694
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Kevin Kappelmann -/ import algebra.order.floor import algebra.euclidean_domain.instances import tactic.field_simp /-! # Floor Function for Rational Num...
daab32fc65cb694b531b5fa923d1c3f0494f7a15
94e33a31faa76775069b071adea97e86e218a8ee
/src/set_theory/cardinal/ordinal.lean
edbc5497917ccf311f9f5ddb187de8c47af38c25
[ "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
42,486
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, Floris van Doorn -/ import order.bounded import set_theory.ordinal.principal import tactic.linarith /-! # Cardinals and ordinals Relationships betwee...
92472d4aa129d934535f716eb6c115f311b4e931
3f7026ea8bef0825ca0339a275c03b911baef64d
/src/order/basic.lean
c11779aa807be966437265417073785e62fb05ef
[ "Apache-2.0" ]
permissive
rspencer01/mathlib
b1e3afa5c121362ef0881012cc116513ab09f18c
c7d36292c6b9234dc40143c16288932ae38fdc12
refs/heads/master
1,595,010,346,708
1,567,511,503,000
1,567,511,503,000
206,071,681
0
0
Apache-2.0
1,567,513,643,000
1,567,513,643,000
null
UTF-8
Lean
false
false
25,945
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Mario Carneiro -/ import logic.basic data.sum data.set.basic algebra.order open function /- TODO: automatic construction of dual definitions / theorems -/ universes u v...
3b1cb6cfecf5d4880f730d0ef6af7e3c3f1d4f23
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/order/order_iso.lean
c5b93cb816af135dffeda1a3dfeb0ba9612b4d7a
[ "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
13,845
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 order.basic logic.embedding data.nat.basic open function universes u v w variables {α : Type*} {β : Type*} {γ : Type*} {r : α → α → Prop} {s : β → β → Prop...
f9fcaeb99c3bc368f5349aa7ef3263f70d0ce71f
3ed5a65c1ab3ce5d1a094edce8fa3287980f197b
/src/herstein/ex2_5/Q_04.lean
c9a2d769b3ebf4284cf233a8649d8bc85baee66a
[]
no_license
group-study-group/herstein
35d32e77158efa2cc303c84e1ee5e3bc80831137
f5a1a72eb56fa19c19ece0cb3ab6cf7ffd161f66
refs/heads/master
1,586,202,191,519
1,548,969,759,000
1,548,969,759,000
157,746,953
0
0
null
1,542,412,901,000
1,542,302,366,000
Lean
UTF-8
Lean
false
false
1,527
lean
import algebra.group import group_theory.subgroup variables {G: Type*} {H: set G} {a: G} theorem Q_04a [hG: group G] [hH: is_subgroup H]: is_subgroup ((λ h, a * h * a⁻¹) '' H) := { inv_mem := λ g ⟨h, ⟨hH, ha⟩⟩, begin -- inverse of aha⁻¹ is ah⁻¹a⁻¹ ... have inv_g: g⁻¹ = a * h⁻¹ * a⁻¹, from ha ▸ calc ...
5bc16c4dba128f1ce0a323d8d0736ed05dd7079a
7c2dd01406c42053207061adb11703dc7ce0b5e5
/src/solutions/06_sub_sequences.lean
cb7e921172f3aaeb186463742816b2181f778ae1
[ "Apache-2.0" ]
permissive
leanprover-community/tutorials
50ec79564cbf2ad1afd1ac43d8ee3c592c2883a8
79a6872a755c4ae0c2aca57e1adfdac38b1d8bb1
refs/heads/master
1,687,466,144,386
1,672,061,276,000
1,672,061,276,000
189,169,918
186
81
Apache-2.0
1,686,350,300,000
1,559,113,678,000
Lean
UTF-8
Lean
false
false
4,803
lean
import tuto_lib /- This file continues the elementary study of limits of sequences. It can be skipped if the previous file was too easy, it won't introduce any new tactic or trick. Remember useful lemmas: abs_le {x y : ℝ} : |x| ≤ y ↔ -y ≤ x ∧ x ≤ y abs_add (x y : ℝ) : |x + y| ≤ |x| + |y| abs_sub_comm (x y : ℝ) : |...
c743834edcabe9d2e5902879df04564d2d36bec5
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/multiset/basic.lean
b82baf002f6e9b6a41f4e2281b378388244fad48
[ "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
87,331
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import data.list.perm import algebra.group_power /-! # Multisets These are implemented as the quotient of a list by permutations. ## Notation We define the ...
6276547f5ceffeb89e57eefbc573e4cb59d296f6
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/limits/creates.lean
d76fccd7697586e77c10dee949b9c5127e516eac
[ "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
28,477
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.basic /-! # Creating (co)limits We say that `F` creates limits of `K` if, given any limit cone `c` for `K ⋙ F` (i.e. below) we c...
e085a7eb872504895c940e5575f3b10e1a96c265
0c1546a496eccfb56620165cad015f88d56190c5
/tests/lean/run/fun_info1.lean
f670a1927dbd275298ef3cf7d6d2f11976568b74
[ "Apache-2.0" ]
permissive
Solertis/lean
491e0939957486f664498fbfb02546e042699958
84188c5aa1673fdf37a082b2de8562dddf53df3f
refs/heads/master
1,610,174,257,606
1,486,263,620,000
1,486,263,620,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
568
lean
open tactic set_option pp.binder_types true noncomputable definition foo (A : Type) : A → A := sorry example (a : nat) (H : foo unit () = ()) : true := by do (lhs, rhs) ← get_local `H >>= infer_type >>= match_eq , get_spec_subsingleton_info lhs >>= trace, trace "-----------", trace "ite information:", c ← m...
47e7a4011119dccedbed5106193c6556302dbaec
19cc34575500ee2e3d4586c15544632aa07a8e66
/src/data/multiset/basic.lean
47f415e0799367d7c2b3c85d7502e8e6cb301876
[ "Apache-2.0" ]
permissive
LibertasSpZ/mathlib
b9fcd46625eb940611adb5e719a4b554138dade6
33f7870a49d7cc06d2f3036e22543e6ec5046e68
refs/heads/master
1,672,066,539,347
1,602,429,158,000
1,602,429,158,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
86,311
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import data.list.perm import algebra.group_power /-! # Multisets These are implemented as the quotient of a list by permutations. -/ open list subtype nat v...
859cc8a296ebe452c7f9f76cdaf4a09ac3492585
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/test/nontriviality.lean
949df5b1696183a591ab9d8589fe8151b1ab476e
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
2,516
lean
import logic.nontrivial import algebra.ordered_ring import data.nat.basic /-! ### Test `nontriviality` with inequality hypotheses -/ example {R : Type} [ordered_ring R] {a : R} (h : 0 < a) : 0 < a := begin nontriviality, guard_hyp _inst : nontrivial R, assumption, end /-! ### Test `nontriviality` with equality...
fb7306333d00eaf4d5c7b0fcf4dea3e097ab799a
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/tests/lean/hidingInaccessibleNames.lean
ee590f1edc9216647204d92d84fbe1cdab8f8a4d
[ "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
619
lean
def f : (xs : List Nat) → Nat → xs ≠ [] → Nat | [], _, _ => _ | [a,b], _, _ => _ | _, _, _ => _ set_option pp.inaccessibleNames true in def f' : (xs : List Nat) → Nat → xs ≠ [] → Nat | [], _, _ => _ | [a,b], _, _ => _ | _, _, _ => _ theorem ex1 : p ∨ q → q ∨ p := by intro h cases h traceState app...
d2d3b2994445557493e3951c6607c48e8dc197fb
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/ring_theory/polynomial/cyclotomic.lean
805a77db1880f033783b04fedacf5372d4518714
[ "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
30,701
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 field_theory.splitting_field import ring_theory.roots_of_unity import algebra.polynomial.big_operators import number_theory.arithmetic_function import data....
1c16b014afa1a877574442ee937b172170f8e9eb
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/stage0/src/Init/Prelude.lean
76354368af66d6d676bac76a54f34d45b3fe50c1
[ "Apache-2.0" ]
permissive
dupuisf/lean4
d082d13b01243e1de29ae680eefb476961221eef
6a39c65bd28eb0e28c3870188f348c8914502718
refs/heads/master
1,676,948,755,391
1,610,665,114,000
1,610,665,114,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
70,063
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude universes u v w @[inline] def id {α : Sort u} (a : α) : α := a /- The kernel definitional equality test (t =?= s) has special support for idDelta...
39974873544ca4f206c3822b0c8e99bd9520eeb4
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/stage0/src/Init/LeanInit.lean
56593e32501fc67123f4e4d0a97c1d8ee756d353
[ "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
28,472
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 and Sebastian Ullrich -/ prelude import Init.Data.String.Basic import Init.Data.Array.Basic import Init.Data.UInt import Init.Data.Hashable import Init.Control...
c9aefaea5354ed063bda183f35359f6f474e4d90
3f7026ea8bef0825ca0339a275c03b911baef64d
/src/category_theory/discrete_category.lean
6bf8178f99fdf7b829065f397e6aa364d97e41c5
[ "Apache-2.0" ]
permissive
rspencer01/mathlib
b1e3afa5c121362ef0881012cc116513ab09f18c
c7d36292c6b9234dc40143c16288932ae38fdc12
refs/heads/master
1,595,010,346,708
1,567,511,503,000
1,567,511,503,000
206,071,681
0
0
Apache-2.0
1,567,513,643,000
1,567,513,643,000
null
UTF-8
Lean
false
false
2,932
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, Floris van Doorn -/ import data.ulift import data.fintype import category_theory.opposites category_theory.equivalence namespace category_theory unive...
473695e843bed5c74ec7ad293c055a085537648e
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/deprecated/submonoid.lean
d8887860703e054416dd919f7643e5910e7aa0b4
[ "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
16,232
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, Kenny Lau, Johan Commelin, Mario Carneiro, Kevin Buzzard -/ import group_theory.submonoid.basic import algebra.big_operators.basic import deprecated.group /-! # Unbund...
e4f96020beb62a98e71468a83e015506ac7d5669
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/linear_algebra/smodeq.lean
69617c9324411f3a7bc28ba888805dbea01aba5a
[ "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
2,924
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 data.polynomial.eval import ring_theory.ideal.quotient /-! # modular equivalence for submodule -/ open submodule variables {R : Type*} [ring R] variables {M : Type*}...
97f298fc2519d74181bf2e24b8fc8b8ba61d0408
63abd62053d479eae5abf4951554e1064a4c45b4
/src/algebra/char_zero.lean
3d4ceb9f2393b4d0826a7d184a1e4446e432382e
[ "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,386
lean
/- Copyright (c) 2014 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro Natural homomorphism from the natural numbers into a monoid with one. -/ import data.nat.cast import data.fintype.basic import tactic.wlog /-- Typeclass for monoids wi...
0722195abf4e4a019b8c278eba981e27a8fbed7e
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/measure_theory/probability_mass_function.lean
7a9d1c09e62ae7bfc3066e0623eb8159641e81b1
[ "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
8,095
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 -/ import topology.instances.ennreal /-! # Probability mass functions This file is about probability mass functions or discrete probability measures: a function `α → ℝ≥...
e117a453d4e66e5ef030ff33730e5b80edea3918
a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7
/src/data/complex/basic.lean
e470fa8627481df2e86482fb7ad794531f5b832b
[ "Apache-2.0" ]
permissive
kmill/mathlib
ea5a007b67ae4e9e18dd50d31d8aa60f650425ee
1a419a9fea7b959317eddd556e1bb9639f4dcc05
refs/heads/master
1,668,578,197,719
1,593,629,163,000
1,593,629,163,000
276,482,939
0
0
null
1,593,637,960,000
1,593,637,959,000
null
UTF-8
Lean
false
false
19,822
lean
/- Copyright (c) 2017 Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, Mario Carneiro -/ import data.real.basic /-! # The complex numbers The complex numbers are modelled as ℝ^2 in the obvious way. -/ /-! ### Definition and basic arithmme...
2ad6d0b5fc3b7b5193a892566756a853eb2ad571
f2fbd9ce3f46053c664b74a5294d7d2f584e72d3
/src/for_mathlib/misc.lean
c48f3d33eb3be01c3258a1385311c335c0c95edf
[ "Apache-2.0" ]
permissive
jcommelin/lean-perfectoid-spaces
c656ae26a2338ee7a0072dab63baf577f079ca12
d5ed816bcc116fd4cde5ce9aaf03905d00ee391c
refs/heads/master
1,584,610,432,107
1,538,491,594,000
1,538,491,594,000
136,299,168
0
0
null
1,528,274,452,000
1,528,274,452,000
null
UTF-8
Lean
false
false
632
lean
/- Lemmas in this file are currently not used in the perfectoid spaces project, but they were once thought to be useful, and could be PR'ed into mathlib anyway. -/ import analysis.topology.topological_space import for_mathlib.completion section uniform_space open uniform_space variables {α : Type*} [uniform_space ...
fe4de91c2f90a678208fc73e405444a294179677
dc253be9829b840f15d96d986e0c13520b085033
/algebra/short_five.hlean
bc371f6a53be693d8dc428ef24277bce86e2f392
[ "Apache-2.0" ]
permissive
cmu-phil/Spectral
4ce68e5c1ef2a812ffda5260e9f09f41b85ae0ea
3b078f5f1de251637decf04bd3fc8aa01930a6b3
refs/heads/master
1,685,119,195,535
1,684,169,772,000
1,684,169,772,000
46,450,197
42
13
null
1,505,516,767,000
1,447,883,921,000
Lean
UTF-8
Lean
false
false
5,339
hlean
/- Author: Jeremy Avigad -/ import .module_chain_complex open eq pointed sigma fiber equiv is_equiv sigma.ops is_trunc nat trunc open algebra function succ_str open left_module section short_five variable {R : Ring} variables {A₀ B₀ C₀ A₁ B₁ C₁ : LeftModule R} variables {f₀ : A₀ →lm B₀} {g₀ : B₀ →lm C₀} varia...
bf7ad9a61e994c2064bdfe8f7215f4be0325b86a
0d4c30038160d9c35586ce4dace36fe26a35023b
/src/analysis/complex/exponential.lean
3f97f0589f9434f3cff70f852d8c18fd31e77ea2
[ "Apache-2.0" ]
permissive
b-mehta/mathlib
b0c8ec929ec638447e4262f7071570d23db52e14
ce72cde867feabe5bb908cf9e895acc0e11bf1eb
refs/heads/master
1,599,457,264,781
1,586,969,260,000
1,586,969,260,000
220,672,634
0
0
Apache-2.0
1,583,944,480,000
1,573,317,991,000
Lean
UTF-8
Lean
false
false
88,515
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import tactic.linarith data.complex.exponential analysis.specific_limits group_theory.quotient_group analysis.comple...
b66aa70c4f34ecfaf69aaf9d4bc5d97675efd2dd
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Server/Rpc/Basic.lean
482c266e8b1fcf668d69b4b38429be541fb59dd3
[ "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
4,746
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wojciech Nawrocki -/ import Lean.Data.Json /-! Allows LSP clients to make Remote Procedure Calls to the server. The single use case for these is to allow the infoview UI to r...
2a5b401abb380da113d2f60536a09aa8ef371353
80746c6dba6a866de5431094bf9f8f841b043d77
/src/algebra/module.lean
3cb9995e4ba16ba7a122df099e5eaa33409bb084
[ "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
12,153
lean
/- Copyright (c) 2015 Nathaniel Thomas. 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 Modules over a ring. -/ import algebra.ring algebra.big_operators open function universes u v w x variables {α : Ty...
54ff19ea8a8814a78f2ecb6bba4ac82ec5d744c8
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/order/filter/basic.lean
2a226c16b14e8ba5c3ad5f75179c01cb7d795171
[ "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
101,271
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Jeremy Avigad -/ import order.zorn import order.copy import data.set.finite import tactic.monotonicity /-! # Theory of filters on sets ## Main definitions * `filter`...
1d88ea4d38b212529aa019b25f3c35f7d7929b1a
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/06_Inductive_Types.org.39.lean
1cc753e6265a0cf5ad812b36925fabd58a4b530a
[]
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
184
lean
/- page 90 -/ import standard inductive tree (A : Type) : Type := | node : A → forest A → tree A with forest : Type := | nil : forest A | cons : tree A → forest A → forest A
a70ce9fb7b39fa99f1d742e58763e5fb0dd718f0
82e44445c70db0f03e30d7be725775f122d72f3e
/src/group_theory/specific_groups/dihedral.lean
5652d4a7f161550e766a63ec5b653c289f0fc995
[ "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
5,553
lean
/- Copyright (c) 2020 Shing Tak Lam. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Shing Tak Lam -/ import data.fintype.card import data.zmod.basic import group_theory.order_of_element /-! # Dihedral Groups We define the dihedral groups `dihedral_group n`, with elem...
0daf7539117c685dde69150e0ed214dbffef9ebf
0dbd5f7001f62ee8d54ed48bada66bfeaf55e550
/src/ent/gcd.lean
6f34eb44b4d5e4254943e51b0001ab345d16522b
[]
no_license
rwbarton/lean-elementary-number-theory
667203b08501792eef48217759539f6c1e2da25a
fabef0737fd2486e3f24f9e04652db4c182d5425
refs/heads/master
1,670,605,651,029
1,599,565,470,000
1,599,565,470,000
293,792,043
2
0
null
null
null
null
UTF-8
Lean
false
false
5,910
lean
import data.nat.modeq import ent.modeq import ent.parity open nat namespace gcd theorem gcd_row_op (a b k : ℕ) : gcd a b = gcd a (a * k + b) := have mods : b ≡ a * k + b [MOD a] := modeq.modeq_of_rep.symm, calc gcd a b = gcd (b % a) a : by rw gcd_rec ... = gcd ((a * k + b) % a) a :...
4d115e223963c7e2c22a659c38f543eafeedece5
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/complex/isometry.lean
88de13fee8aa5353e54a430caef0294d41a914fe
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
6,721
lean
/- Copyright (c) 2021 François Sunatori. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: François Sunatori -/ import analysis.complex.circle import linear_algebra.determinant import linear_algebra.general_linear_group /-! # Isometries of the Complex Plane The lemma `l...
eae30c4d9b28dc1b8a3a6df0ffca9120ded81e4c
ec5a7ae10c533e1b1f4b0bc7713e91ecf829a3eb
/ijcar16/examples/cc11.lean
2da291986c455716c4171e3ce5caf81d4679859b
[ "MIT" ]
permissive
leanprover/leanprover.github.io
cf248934af7c7e9aeff17cf8df3c12c5e7e73f1a
071a20d2e059a2c3733e004c681d3949cac3c07a
refs/heads/master
1,692,621,047,417
1,691,396,994,000
1,691,396,994,000
19,366,263
18
27
MIT
1,693,989,071,000
1,399,006,345,000
Lean
UTF-8
Lean
false
false
1,162
lean
/- Example/test file for the congruence closure procedure described in the paper: "Congruence Closure for Intensional Type Theory" Daniel Selsam and Leonardo de Moura The tactic `by blast` has been configured in this file to use just the congruence closure procedure using the command set_option blast.strategy...
b4f9d492777f9be640b7f9047b2569f9b689b770
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/list/forall2.lean
4eea34cfad2d6babdb710e7731a83cfbbcc319b7
[ "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
14,099
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Johannes Hölzl -/ import data.list.infix /-! # Double universal quantification on a list This file provides an API for `list.forall₂` (definition in `data.list.defs`)...
f9e49091cf6ccca1a3960e95075671de55125a50
88fb7558b0636ec6b181f2a548ac11ad3919f8a5
/tests/lean/run/fingerprint.lean
b7ace0832b16d107e30766979731512cc8e8999c
[ "Apache-2.0" ]
permissive
moritayasuaki/lean
9f666c323cb6fa1f31ac597d777914aed41e3b7a
ae96ebf6ee953088c235ff7ae0e8c95066ba8001
refs/heads/master
1,611,135,440,814
1,493,852,869,000
1,493,852,869,000
90,269,903
0
0
null
1,493,906,291,000
1,493,906,291,000
null
UTF-8
Lean
false
false
759
lean
open tactic meta def nat.to_expr (n : nat) : tactic expr := to_expr (quote n) run_cmd attribute.fingerprint `reducible >>= trace definition ex0 : nat := by attribute.fingerprint `reducible >>= nat.to_expr >>= exact attribute [reducible] definition f : nat := 10 run_cmd attribute.fingerprint `reducible >>= trace def...
b0f2bc9945b4e27d288577030eb485d6031f492a
b2fe74b11b57d362c13326bc5651244f111fa6f4
/src/category_theory/yoneda.lean
369c2270d358b16076ec520860da5e02aa7db62e
[ "Apache-2.0" ]
permissive
midfield/mathlib
c4db5fa898b5ac8f2f80ae0d00c95eb6f745f4c7
775edc615ecec631d65b6180dbcc7bc26c3abc26
refs/heads/master
1,675,330,551,921
1,608,304,514,000
1,608,304,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,584
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.hom_functor /-! # The Yoneda embedding The Yoneda embedding as a functor `yoneda : C ⥤ (Cᵒᵖ ⥤ Type v₁)`, along with an instance that it is `f...
70a16e0a1b5a2e38fa8d7851d22dd500b22cabf8
618003631150032a5676f229d13a079ac875ff77
/src/topology/bounded_continuous_function.lean
fe1eae39ba7db50357b3231eef6ab6a6f3eaac40
[ "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
28,996
lean
/- Copyright (c) 2018 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel, Mario Carneiro, Yury Kudryashov, Heather Macbeth -/ import analysis.normed_space.basic /-! # Bounded continuous functions The type of bounded continuous functio...
24b7f2b0a5b00f18e78565d7a06bb2e562b69c70
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/analysis/convex/specific_functions_auto.lean
360ab0f35f8fabc0c71200483cd17a55673dae64
[]
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
2,398
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov, Sébastien Gouëzel -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.analysis.calculus.mean_value import Mathlib.data.nat.parity import Mat...
192a8883bcdd4e9f0fb73385e6761f280651ed42
82e44445c70db0f03e30d7be725775f122d72f3e
/src/data/polynomial/eval.lean
66ed647c6893be1c086766fb49b8518d35f51e25
[ "Apache-2.0" ]
permissive
stjordanis/mathlib
51e286d19140e3788ef2c470bc7b953e4991f0c9
2568d41bca08f5d6bf39d915434c8447e21f42ee
refs/heads/master
1,631,748,053,501
1,627,938,886,000
1,627,938,886,000
228,728,358
0
0
Apache-2.0
1,576,630,588,000
1,576,630,587,000
null
UTF-8
Lean
false
false
26,440
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker -/ import data.polynomial.induction import data.polynomial.degree.definitions /-! # Theory of univariate polynomials The ma...
eb7bb9cd0ef2b368bca678441751f04629b103bb
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/measure_theory/function/conditional_expectation/real.lean
6360daf577c2358de9a5f0e5b71b80e9f14d0293
[ "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
15,207
lean
/- Copyright (c) 2022 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne, Kexing Ying -/ import measure_theory.function.conditional_expectation.indicator /-! # Conditional expectation of real-valued functions This file proves some results reg...
718438fff3c50dc7c39fc13972e4e667da4d66f6
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Init/Data/Nat.lean
bb3eb12dc109ba0692fbcdb13413edf225d7b386
[ "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
386
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.Nat.Basic import Init.Data.Nat.Div import Init.Data.Nat.Gcd import Init.Data.Nat.Bitwise import Init.Data.Nat.Control import Init.D...
054d31de5e82bd58f8cb9b2a8399b2bc58350221
c0ddb2cf190d518bc0f2f0ee221dd22b1172888f
/mguaypaq/count.lean
a5cb9bd24e9be6f7e963b019b1fea2711a8b9f44
[]
no_license
mguaypaq/haskell-math
3b314552878517806b3151aa36aae422f383fad1
1ce7f3067eb8966fe7e7e4bffdf073b1f815fc04
refs/heads/master
1,607,775,289,122
1,582,435,358,000
1,582,435,358,000
234,125,578
0
0
null
1,579,106,398,000
1,579,106,397,000
null
UTF-8
Lean
false
false
21,798
lean
---------------------------------------------------------------- -- 1. Statement ---------------------------------------------------------------- -- Every nonempty list of distinct strictly positive integers -- has a member at least as large as the length of the list. -------------------------------------------------...
ffa0888957809805103110a3b4f725edfe1cec30
e6b8240a90527fd55d42d0ec6649253d5d0bd414
/src/order/filter/lift.lean
6ce8e7e2e85bf4cc7a3cc3ffb412ab9705a7570b
[ "Apache-2.0" ]
permissive
mattearnshaw/mathlib
ac90f9fb8168aa642223bea3ffd0286b0cfde44f
d8dc1445cf8a8c74f8df60b9f7a1f5cf10946666
refs/heads/master
1,606,308,351,137
1,576,594,130,000
1,576,594,130,000
228,666,195
0
0
Apache-2.0
1,576,603,094,000
1,576,603,093,000
null
UTF-8
Lean
false
false
18,021
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl Lift filters along filter and set functions. -/ import order.filter.basic open lattice set open_locale classical namespace filter variables {α : Type*} {β : Type*} {...
010bf65cc6f232e5364830848d972b787697b3b6
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/category_theory/monoidal/internal/Module.lean
5ad24ea1bd31900fc619cbf0f7830955819ea0ea
[ "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
5,062
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.Module.monoidal import algebra.category.Algebra.basic import category_theory.monoidal.internal /-! # `Mon_ (Module R) ≌ Algebra R` The cate...
d70a9bef57aa2eb11c7ba646ea265d28e0ef3e23
d1a52c3f208fa42c41df8278c3d280f075eb020c
/src/Lean/Meta/KAbstract.lean
5a2a07ec963dea159a6dd1f9ca3a1a8a66613c46
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
cipher1024/lean4
6e1f98bb58e7a92b28f5364eb38a14c8d0aae393
69114d3b50806264ef35b57394391c3e738a9822
refs/heads/master
1,642,227,983,603
1,642,011,696,000
1,642,011,696,000
228,607,691
0
0
Apache-2.0
1,576,584,269,000
1,576,584,268,000
null
UTF-8
Lean
false
false
1,749
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.Basic namespace Lean.Meta def kabstract (e : Expr) (p : Expr) (occs : Occurrences := Oc...
ace73588e11dff614adfefd143285c07415ec3b4
82e44445c70db0f03e30d7be725775f122d72f3e
/src/data/int/gcd.lean
dd3d280fb4565b416b248290b726219a4355c4b9
[ "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
24,426
lean
/- Copyright (c) 2018 Guy Leroy. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sangwoo Jo (aka Jason), Guy Leroy, Johannes Hölzl, Mario Carneiro -/ import data.nat.prime /-! # Extended GCD and divisibility over ℤ ## Main definitions * Given `x y : ℕ`, `xgcd x y` com...
ac32cf0cfc1c28f749471a8694bff4be0db60932
626e312b5c1cb2d88fca108f5933076012633192
/src/ring_theory/principal_ideal_domain.lean
8ceac8b4786147adc47904047ac8a1ed9ad9be8e
[ "Apache-2.0" ]
permissive
Bioye97/mathlib
9db2f9ee54418d29dd06996279ba9dc874fd6beb
782a20a27ee83b523f801ff34efb1a9557085019
refs/heads/master
1,690,305,956,488
1,631,067,774,000
1,631,067,774,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,147
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Morenikeji Neri -/ import ring_theory.unique_factorization_domain /-! # Principal ideal rings and principal ideal domains A principal ideal ring (PIR) is a ring in which ...
bfed402ca770083d5429194c30300e517af83665
159fed64bfae88f3b6a6166836d6278f953bcbf9
/Structure/AbstractPiSigma.lean
e6704d7d03e072b44867d2181c8e9b7a4df346d6
[ "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
31,052
lean
-- An abstract formalization of "isomorphism is equality up to relabeling" -- ------------------------------------------------------------------------- -- -- See `README.md` for more info. -- -- As a prerequisite for `AbstractBuildingBlocks.lean`, here we define generalized versions of Π and Σ -- expressions, where al...
e5e16b83ac87c0c9a5149aec3e9b259080749214
4a092885406df4e441e9bb9065d9405dacb94cd8
/src/for_mathlib/filter.lean
d4f77a9e0ba4bdd9dee5459d944af8e4575e7a75
[ "Apache-2.0" ]
permissive
semorrison/lean-perfectoid-spaces
78c1572cedbfae9c3e460d8aaf91de38616904d8
bb4311dff45791170bcb1b6a983e2591bee88a19
refs/heads/master
1,588,841,765,494
1,554,805,620,000
1,554,805,620,000
180,353,546
0
1
null
1,554,809,880,000
1,554,809,880,000
null
UTF-8
Lean
false
false
1,158
lean
import order.filter.basic open filter set variables {α : Type*} {β : Type*} {γ : Type*} {δ : Type*} /- f α → β g ↓ ↓ h γ → δ i -/ variables {f : α → β} {g : α → γ} {h : β → δ} {i : γ → δ} (H : h ∘ f = i ∘ g) include H lemma filter.map_comm (F : filter α) : map h (map f F) = map i (map g F) := by rw [fi...
5c062fb510bd6c6c870e3f780953afcafbfa1d4d
e38e95b38a38a99ecfa1255822e78e4b26f65bb0
/src/certigrad/tfacts.lean
bcfab36a4d81ccaf6f996953a8035c832871260a
[ "Apache-2.0" ]
permissive
ColaDrill/certigrad
fefb1be3670adccd3bed2f3faf57507f156fd501
fe288251f623ac7152e5ce555f1cd9d3a20203c2
refs/heads/master
1,593,297,324,250
1,499,903,753,000
1,499,903,753,000
97,075,797
1
0
null
1,499,916,210,000
1,499,916,210,000
null
UTF-8
Lean
false
false
30,808
lean
/- Copyright (c) 2017 Daniel Selsam. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Daniel Selsam Miscellaneous facts and theorems about tensors. We view tensors as a field extended component-wise. As such, they form an ordered (but not linearly-ordered) commutative ...
68d5c25a83574c432f13e058716ae54d081b80cf
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/zmod/basic_auto.lean
b39831641395c064419c43f1c9ca6d36c573561a
[]
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
17,879
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Chris Hughes -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.int.modeq import Mathlib.algebra.char_p.basic import Mathlib.data.nat.totient import Mathli...
a104a84241287e9a86dcc2a5f8d5c39d176ff9f6
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/analysis/calculus/specific_functions.lean
1dd2f676a78735bb005931ba152dea02e55810f2
[ "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
18,869
lean
/- Copyright (c) 2020 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import analysis.calculus.iterated_deriv import analysis.inner_product_space.euclidean_dist /-! # Infinitely smooth bump function In this file we construct sev...
22d73a0d32ae9e1ebab57488d717dc2b6e3bf6cc
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/protected_auto.lean
4d61ed03dc249f5a01e065c6e533cff7fda09e1b
[]
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
2,258
lean
/- Copyright (c) 2020 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.core import Mathlib.PostPort namespace Mathlib /-! ## `protected` and `protect_proj` u...
080ed959be1bf53a4a527867f68c0413b6dd997f
26ac254ecb57ffcb886ff709cf018390161a9225
/src/logic/embedding.lean
013f57258f29b581eb6ebb6cb7dafeda1a20af61
[ "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
10,016
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 data.equiv.basic import data.sigma /-! # Injective functions -/ universes u v w x namespace function /-- `α ↪ β` is a bundled injective fun...
cee6c602fa2be2d3448940d918b51a69c1bddd5b
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/algebra/ordered_monoid.lean
08f98ad49c400098e738d7fd83f0fca0cab2a65c
[ "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
48,746
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura, Mario Carneiro, Johannes Hölzl -/ import algebra.group.with_one import algebra.group.type_tags import algebra.group.prod import algebra.order_functions...
3946f9c3bbef485b897c17e5448cd21cf38ee483
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/data/int/modeq.lean
f76b7e7b989b23a29c2d5f2cfe27f4b7f14dd8cf
[ "Apache-2.0" ]
permissive
hikari0108/mathlib
b7ea2b7350497ab1a0b87a09d093ecc025a50dfa
a9e7d333b0cfd45f13a20f7b96b7d52e19fa2901
refs/heads/master
1,690,483,608,260
1,631,541,580,000
1,631,541,580,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,489
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import data.nat.modeq import tactic.ring /-! # Congruences modulo an integer This file defines the equivalence relation `a ≡ b [ZMOD n]` on the integers, similarly to ...
db9a0ab409c7255a8a302c42afc15a9fa9b741be
ee8cdbabf07f77e7be63a449b8483ce308d37218
/lean/src/test/induction-1pxpownlt1pnx.lean
e38be2738a4fcc7b1d55f4817267f21fb6edfc32
[ "MIT", "Apache-2.0" ]
permissive
zeta1999/miniF2F
6d66c75d1c18152e224d07d5eed57624f731d4b7
c1ba9629559c5273c92ec226894baa0c1ce27861
refs/heads/main
1,681,897,460,642
1,620,646,361,000
1,620,646,361,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
269
lean
/- Copyright (c) 2021 OpenAI. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kunhao Zheng -/ import data.real.basic example (x : ℝ) ( n : ℕ+) (h₀ : -1 < x) : (1 + x) ^ (n:ℕ) ≤ (1 + n*x) := begin sorry end
7bdc32e2429dee357df19ea5943d6869dc036088
9d2e3d5a2e2342a283affd97eead310c3b528a24
/src/exercises_sources/thursday/afternoon/category_theory/exercise3.lean
93e2af673f1c6c704f83b48f7948b79570617f12
[]
permissive
Vtec234/lftcm2020
ad2610ab614beefe44acc5622bb4a7fff9a5ea46
bbbd4c8162f8c2ef602300ab8fdeca231886375d
refs/heads/master
1,668,808,098,623
1,594,989,081,000
1,594,990,079,000
280,423,039
0
0
MIT
1,594,990,209,000
1,594,990,209,000
null
UTF-8
Lean
false
false
813
lean
import for_mathlib.category_theory -- This imports some simp lemmas that I realised belong in mathlib while writing this exercise. open category_theory variables {C : Type*} [category C] variables {D : Type*} [category D] lemma equiv_reflects_mono {X Y : C} (f : X ⟶ Y) (e : C ≌ D) (hef : mono (e.functor.map f)) : ...
dd22fd80b8afb5cf2e8aeeb86dade4bb08e0ffbb
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/cubic_discriminant.lean
a235d3255df215bac09d93376d8ff127ff732994
[ "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
11,408
lean
/- Copyright (c) 2022 David Kurniadi Angdinata. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: David Kurniadi Angdinata -/ import field_theory.splitting_field /-! # Cubics and discriminants This file defines cubic polynomials over a semiring and their discriminants ...
0121aeafc5b609bf9f7909649647e8d76cf7bcf8
41ebf3cb010344adfa84907b3304db00e02db0a6
/uexp/src/uexp/rules/transitiveInferenceProject.lean
fa8932f99184d198d93d2e96e4b5ad0f44cc0439
[ "BSD-2-Clause" ]
permissive
ReinierKoops/Cosette
e061b2ba58b26f4eddf4cd052dcf7abd16dfe8fb
eb8dadd06ee05fe7b6b99de431dd7c4faef5cb29
refs/heads/master
1,686,483,953,198
1,624,293,498,000
1,624,293,498,000
378,997,885
0
0
BSD-2-Clause
1,624,293,485,000
1,624,293,484,000
null
UTF-8
Lean
false
false
2,344
lean
import ..sql import ..tactics import ..u_semiring import ..extra_constants import ..meta.ucongr import ..meta.TDP set_option profiler true open Expr open Proj open Pred open SQL open tree open binary_operators set_option profiler true notation `int` := datatypes.int variable integer_1: const datatypes.int variable...
bde6242f382d14cc4763d72862c26060517238dd
c9b68131de1dfe4e7f0ea5749b11e67a774bc839
/src/range_check.lean
2a33e0452a820f243d1bc496a7ea508a3ad14e93
[]
no_license
congge666/formal-proofs
2013f158f310abcfc07c156bb2a5113fb78f7831
b5f6964d0220c8f89668357f2c08e44861128fe3
refs/heads/master
1,691,374,567,671
1,632,704,604,000
1,632,706,366,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,116
lean
/- Range check constraints. -/ import memory noncomputable theory open_locale big_operators /- trace data -/ variables {F : Type*} [field F] variables {n : ℕ} {a a' p : fin (n + 1) → F} variables {z : F} variables {rc_min rc_max : ℕ} variable {T : ℕ} variables {off_op0_tilde off_op1_tilde ...
9c200542d105dd967e0e02438e210a4c3c35a01d
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/monotonicity/default_auto.lean
5a10245a0fe3be2aed0cd31d7d64b06539b1c5f3
[]
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
351
lean
/- Copyright (c) 2019 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.monotonicity.interactive import Mathlib.tactic.monotonicity.lemmas import Mathlib.PostPort ...
0853e54185ad883ee02c6454bc2e023ad6e7edbf
07c76fbd96ea1786cc6392fa834be62643cea420
/hott/init/nat.hlean
d6b63d941ad57470a54d64069a19f01fd0e85179
[ "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
9,981
hlean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Leonardo de Moura -/ prelude import init.tactic init.num init.types init.path open eq eq.ops decidable open algebra sum set_option class.force_new true notati...
53c5700f3e2bfd830a4ab1e5158cee9864d148a7
ec5a7ae10c533e1b1f4b0bc7713e91ecf829a3eb
/ijcar16/examples/list.lean
5fb47fac375307e01df997c71bab3502e66cd8ac
[ "MIT" ]
permissive
leanprover/leanprover.github.io
cf248934af7c7e9aeff17cf8df3c12c5e7e73f1a
071a20d2e059a2c3733e004c681d3949cac3c07a
refs/heads/master
1,692,621,047,417
1,691,396,994,000
1,691,396,994,000
19,366,263
18
27
MIT
1,693,989,071,000
1,399,006,345,000
Lean
UTF-8
Lean
false
false
5,442
lean
/- This is a file from the Lean standard library. We use it to demonstrate/test the congruence closure procedure described in the paper: "Congruence Closure for Intensional Type Theory" Daniel Selsam and Leonardo de Moura The lemmas proved using `by inst_simp` are using the congruence closure procedure described ...
6c121ec2dc20270cf81c4c25600c9eb068c06fa1
3f7026ea8bef0825ca0339a275c03b911baef64d
/docs/tutorial/category_theory/calculating_colimits_in_Top.lean
ee51776e65f4740ed24522a3a97a12f44ccf5a08
[ "Apache-2.0" ]
permissive
rspencer01/mathlib
b1e3afa5c121362ef0881012cc116513ab09f18c
c7d36292c6b9234dc40143c16288932ae38fdc12
refs/heads/master
1,595,010,346,708
1,567,511,503,000
1,567,511,503,000
206,071,681
0
0
Apache-2.0
1,567,513,643,000
1,567,513,643,000
null
UTF-8
Lean
false
false
3,494
lean
import topology.Top.limits import category_theory.limits.shapes import topology.instances.real /- This file contains some demos of using the (co)limits API to do topology. -/ noncomputable theory open category_theory open category_theory.limits def R : Top := Top.of ℝ def I : Top := Top.of (set.Icc 0 1 : set ℝ) def...
21e95a2537587d41817888024ce7841f21339869
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/complex/cauchy_integral.lean
7e49ef907682b4cc41f067f3ed71cdf10e674a0a
[ "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
37,922
lean
/- Copyright (c) 2021 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import measure_theory.measure.lebesgue.complex import measure_theory.integral.divergence_theorem import measure_theory.integral.circle_integral import analysis.calc...
b52305141b4d0743918b49c92754887d96efb038
f618aea02cb4104ad34ecf3b9713065cc0d06103
/src/data/padics/padic_numbers.lean
513b420f0365cb41315d906ebbb499a0f7ca433f
[ "Apache-2.0" ]
permissive
joehendrix/mathlib
84b6603f6be88a7e4d62f5b1b0cbb523bb82b9a5
c15eab34ad754f9ecd738525cb8b5a870e834ddc
refs/heads/master
1,589,606,591,630
1,555,946,393,000
1,555,946,393,000
182,813,854
0
0
null
1,555,946,309,000
1,555,946,308,000
null
UTF-8
Lean
false
false
29,139
lean
/- Copyright (c) 2018 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis Define the p-adic numbers (rationals) ℚ_p as the completion of ℚ wrt the p-adic norm. Show that the p-adic norm extends to ℚ_p, that ℚ is embedded in ℚ_p, and that ℚ_...
777a61fd2e391b90f72ee755a156bc441cce553a
5d166a16ae129621cb54ca9dde86c275d7d2b483
/library/init/meta/pexpr.lean
fa48989be522722455c6ff5691abc9189ab7389f
[ "Apache-2.0" ]
permissive
jcarlson23/lean
b00098763291397e0ac76b37a2dd96bc013bd247
8de88701247f54d325edd46c0eed57aeacb64baf
refs/heads/master
1,611,571,813,719
1,497,020,963,000
1,497,021,515,000
93,882,536
1
0
null
1,497,029,896,000
1,497,029,896,000
null
UTF-8
Lean
false
false
1,027
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.meta.expr universe u /- Quoted expressions. They can be converted into expressions by using a tactic. -/ @[reducible] meta def pexpr :=...