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
1e1891172f0ba28865835113f7d8ac7644bb8d7b
367134ba5a65885e863bdc4507601606690974c1
/src/algebra/group/semiconj.lean
da73a2a73d141d5c963e3823688c7f79c9123ba8
[ "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
5,601
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov Some proofs and docs came from `algebra/commute` (c) Neil Strickland -/ import algebra.group.units /-! # Semiconjugate elements of a semigroup ## Main definitions ...
c08672d8796e1426daff3c1696c41f7af9f039a9
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/order/closure.lean
745cd61782643ad89ce2ea22bf26fb829619b330
[ "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
17,280
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta, Yaël Dillies -/ import data.set_like import order.basic import order.preorder_hom import order.galois_connection import tactic.monotonicity /-! # Closure operators between...
411022707ae3e45b51e12fea6347a3db5ebdfe51
fe25de614feb5587799621c41487aaee0d083b08
/src/Lean/Environment.lean
f845fbfa8d1e946000d2a7c157ea1dd07fe68f0f
[ "Apache-2.0" ]
permissive
pollend/lean4
e8469c2f5fb8779b773618c3267883cf21fb9fac
c913886938c4b3b83238a3f99673c6c5a9cec270
refs/heads/master
1,687,973,251,481
1,628,039,739,000
1,628,039,739,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
33,974
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Std.Data.HashMap import Lean.ImportingFlag import Lean.Data.SMap import Lean.Declaration import Lean.LocalContext import Lean.Util.Path import Lean.U...
8533bae81aa45829306fb2cf9a2cbd365c3a7785
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/monad/adjunction.lean
8f2ee003612a8e2ba18886dbe4e9764942237879
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
8,782
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.adjunction.reflective import category_theory.monad.algebra /-! # Adjunctions and monads We develop the basic relationship betwe...
5f5e1945bd04966e05c66eeec3f601331a8f4d2a
ff5230333a701471f46c57e8c115a073ebaaa448
/library/init/algebra/field.lean
2499816ee447d58164829dc791b4329b616d2efa
[ "Apache-2.0" ]
permissive
stanford-cs242/lean
f81721d2b5d00bc175f2e58c57b710d465e6c858
7bd861261f4a37326dcf8d7a17f1f1f330e4548c
refs/heads/master
1,600,957,431,849
1,576,465,093,000
1,576,465,093,000
225,779,423
0
3
Apache-2.0
1,575,433,936,000
1,575,433,935,000
null
UTF-8
Lean
false
false
18,531
lean
/- Copyright (c) 2014 Robert Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Lewis, Leonardo de Moura Structures with multiplicative and additive components, including division rings and fields. The development is modeled after Isabelle's library. -/ prel...
01c91a7f9cbbbaaf662f6662e2dadf49f0a122f1
367134ba5a65885e863bdc4507601606690974c1
/src/order/ideal.lean
3ae7e746dd10feaca32538a2b590980ba2f916fb
[ "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
10,099
lean
/- Copyright (c) 2020 David Wärn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: David Wärn -/ import order.basic import data.equiv.encodable.basic /-! # Order ideals, cofinal sets, and the Rasiowa–Sikorski lemma ## Main definitions Throughout this file, `P` is at l...
b29b5bdf5cc1e81272cd87ca1af703aff0c5236b
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/standard.lean
637572bb7e2bb6076c6ad52a33ec8f9865e1dc82
[ "Apache-2.0" ]
permissive
soonhokong/lean-osx
4a954262c780e404c1369d6c06516161d07fcb40
3670278342d2f4faa49d95b46d86642d7875b47c
refs/heads/master
1,611,410,334,552
1,474,425,686,000
1,474,425,686,000
12,043,103
5
1
null
null
null
null
UTF-8
Lean
false
false
243
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad The constructive core of Lean's library. -/ -- import logic data
562d6d57c2f19b3b5f4a08191efef372cc66b8df
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/ring_hom/integral.lean
1d96571c23f5f564f013ec651da7ca1f29bb6f36
[ "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,324
lean
/- Copyright (c) 2021 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import ring_theory.ring_hom_properties import ring_theory.integral_closure /-! # The meta properties of integral ring homomorphisms. > THIS FILE IS SYNCHRONIZED WITH MAT...
8e0414f9e584b7369d57591323ff562b105e99e8
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/group/hom.lean
659c68c82fcc3bb2c880180ddd350333e5287469
[]
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
39,521
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Kevin Buzzard, Scott Morrison, Johan Commelin, Chris Hughes, Johannes Hölzl, Yury Kudryashov -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mat...
78483ba5e917170dea1de8604c89f40ed93fb410
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/order/filter/germ.lean
2a6c20199d729808225f43b9453f8f18757795fb
[ "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
20,804
lean
/- Copyright (c) 2020 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov, Abhimanyu Pallavi Sudhir -/ import order.filter.basic import algebra.module.pi /-! # Germ of a function at a filter The germ of a function `f : α → β` at a fi...
52b5d85f4a7df20a219a0be34c37e553e3e63c28
398b53a5e02ce35196531591f84bb2f6b034ce5a
/tpil/presentation.lean
7cdf1acb7b0056ef99dc22b283bb902f93480e43
[ "MIT" ]
permissive
crockeo/math-exercises
64f07a9371a72895bbd97f49a854dcb6821b18ab
cf9150ef9e025f1b7929ba070a783e7a71f24f31
refs/heads/master
1,607,910,221,030
1,581,231,762,000
1,581,231,762,000
234,595,189
0
0
null
null
null
null
UTF-8
Lean
false
false
1,292
lean
import init.data.fin import init.data.list import init.data.nat.basic open nat namespace hidden universe u -- Defining a list inductive list (α : Type u) : Type (u + 1) | nil : list | cons : α → list → list namespace list def length {α : Type u} : list α → ℕ | (nil α) := 0 | (con...
dd5055e0333dc702fc34cf37e768826f6ccbaf0b
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/doNotation4.lean
4987ebc142d91a94ff94188505a31d9d47a2403d
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
1,428
lean
abbrev M := StateRefT Nat IO def testM {α} [ToString α] [BEq α] (init : Nat) (expected : α) (x : M α): IO Unit := do let v ← x.run' init IO.println ("result " ++ toString v) unless v == expected do throw $ IO.userError "unexpected" def dec (x : Nat) : M Unit := do if (← get) == 0 then throw $ IO.userError "value ...
a345598d5908f98e275d43a428d573d192024524
30b012bb72d640ec30c8fdd4c45fdfa67beb012c
/category_theory/examples/rings.lean
c2d24d5efe99617e64a364018f3752894c7c9156
[ "Apache-2.0" ]
permissive
kckennylau/mathlib
21fb810b701b10d6606d9002a4004f7672262e83
47b3477e20ffb5a06588dd3abb01fe0fe3205646
refs/heads/master
1,634,976,409,281
1,542,042,832,000
1,542,319,733,000
109,560,458
0
0
Apache-2.0
1,542,369,208,000
1,509,867,494,000
Lean
UTF-8
Lean
false
false
1,788
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Johannes Hölzl Introduce CommRing -- the category of commutative rings. Currently only the basic setup. -/ import category_theory.examples.monoids import category_th...
bf539738c63e39d4a71a68d629acefe14a679735
964a8bb66c2eb89b920fe65d0ec2f77eab0d5f65
/src/hanoiinteractive.lean
10ba2e18c51ff96f96a1a4821a4e9f2ab0c0ddfe
[ "MIT" ]
permissive
SnobbyDragon/leanhanoi
9990a7b586f1d843d39c3c7aab7ac0b5eefbe653
a42811ce5ab55e0451880a8c111c75b082936d39
refs/heads/master
1,675,735,182,689
1,609,387,288,000
1,609,387,288,000
284,167,126
8
1
MIT
1,609,262,129,000
1,596,247,349,000
Lean
UTF-8
Lean
false
false
711
lean
import hanoiwidget meta def hanoi_tactic := tactic namespace hanoi_tactic open tactic local attribute [reducible] hanoi_tactic meta instance : monad hanoi_tactic := infer_instance meta def step {α : Type} (m : hanoi_tactic α) : hanoi_tactic unit := tactic.step m meta def istep {α} (a b c d : ℕ) (t : han...
0e245821f7b0c979e4d9b522cc5ecfb394eb905e
618003631150032a5676f229d13a079ac875ff77
/src/data/pnat/intervals.lean
197022d4cc3043108ceee1762c646fb61c747751
[ "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
804
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Scott Morrison -/ import data.pnat.basic import data.finset namespace pnat /-- `Ico l u` is the set of positive natural numbers `l ≤ k < u`. -/ def Ico (l u : ℕ+) : finset ℕ+ := (fins...
0815b94d5a2d4e74e9ca2fe2e603827692af9e66
618003631150032a5676f229d13a079ac875ff77
/src/data/nat/dist.lean
ab6118438f23da51a5e11424c5e26063b148e022
[ "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
3,993
lean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Jeremy Avigad Distance function on the natural numbers. -/ import data.nat.basic namespace nat /- distance -/ /-- Distance (absolute value of difference) betwee...
e1cd0b4db9e3ca115b3858cd2515969067598159
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/algebra/group_power.lean
24d2e87023246ceae2ffa4c510a23e73b3db2e3d
[ "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
27,180
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis The power operation on monoids and groups. We separate this from group, because it depends on nat, which in turn depends on other parts of algebra. We h...
f67732cc39c1b30f25c631544074993ee2e140e0
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/topology/algebra/ordered/monotone_convergence.lean
04f161049c5b28348e660c73b7294c7fb786484a
[ "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
13,977
lean
/- Copyright (c) 2021 Heather Macbeth. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Heather Macbeth, Yury Kudryashov -/ import topology.algebra.ordered.basic /-! # Bounded monotone sequences converge In this file we prove a few theorems of the form “if the range of...
630c21fc8d8d6d880e85ba10f6ed61b7a0769fe2
c777c32c8e484e195053731103c5e52af26a25d1
/src/analysis/special_functions/trigonometric/series.lean
0665bc3e9122f309fe1822d69432618e39dfd51b
[ "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
4,575
lean
/- Copyright (c) 2023 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import analysis.special_functions.exponential /-! # Trigonometric functions as sums of infinite series In this file we express trigonometric functions in terms of their se...
727ef5bbac8fff796e58c546805eaffd505cb0a3
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/order/extension/linear.lean
cd8d7fc19e2f9f780ce0363cbea0169f5a6e6c7a
[ "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
3,865
lean
/- Copyright (c) 2021 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta -/ import order.zorn import tactic.by_contra /-! # Extend a partial order to a linear order This file constructs a linear order which is an extension of the given partial ...
d65ef270559bccecd59c8dc428b35b43ff4ec77a
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/analysis/normed_space/add_torsor.lean
d2bff33d488e11d7725a538780683a36f6e56b2c
[ "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
17,782
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers, Yury Kudryashov -/ import linear_algebra.affine_space.midpoint import topology.metric_space.isometry import topology.instances.real_vector_space /-! # Torsors of additive ...
9f156bf7395c9dafb7cf6fe863cdc2a698deb964
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/tactic/fin_cases.lean
6eba0f6ba4f43549301d0282302b848e70d6337c
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
4,857
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison Case bashing: * on `x ∈ A`, for `A : finset α` or `A : list α`, or * on `x : A`, with `[fintype A]`. -/ import data.fintype.basic import tactic.norm_num namespace tact...
3c1d35ed476a8e7363aa89677676a24a2357bdda
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/ind5.lean
9e3da40b1bed1b69609e298500013f5fcdf7fad3
[ "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
185
lean
prelude definition Prop : Type.{1} := Type.{0} inductive or (A B : Prop) : Prop := | intro_left : A → or A B | intro_right : B → or A B check or check or.intro_left check or.rec
a3a05abc3ecd60acf972d83fbc701a647224a9c5
80746c6dba6a866de5431094bf9f8f841b043d77
/src/data/string.lean
7bfbb972114166f4324606648f494083ad4d425c
[ "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
2,619
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Supplementary theorems about the `string` type. -/ import data.list.basic data.char namespace string def ltb : iterator → iterator → bool | s₁ s₂ := begin cases s₂.h...
30c4d69c5c75df8ea97402e002bbf19d2ece452e
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/number_theory/diophantine_approximation.lean
772f7e19881e2cbb14bd0256acb1c0af4442148a
[ "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
27,924
lean
/- Copyright (c) 2022 Michael Stoll. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Michael Geißer, Michael Stoll -/ import algebra.continued_fractions.computation.approximation_corollaries import algebra.continued_fractions.computation.translations import combinatoric...
6fc839ed88c9549ea1b8e8d514308271602d6041
947b78d97130d56365ae2ec264df196ce769371a
/src/Lean/Elab/StructInst.lean
794257e8547b36254f0c198e1e2d282e6c64abbd
[ "Apache-2.0" ]
permissive
shyamalschandra/lean4
27044812be8698f0c79147615b1d5090b9f4b037
6e7a883b21eaf62831e8111b251dc9b18f40e604
refs/heads/master
1,671,417,126,371
1,601,859,995,000
1,601,860,020,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
33,660
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Util.FindExpr import Lean.Elab.App import Lean.Elab.Binders import Lean.Elab.Quotation namespace Lean namespace Elab namespace Term namespace S...
ef9380cd7228c0e8c218bbe49a57eaa8e2a27828
a5e2e6395319779f21675263bc0e486be5bc03bd
/bench/stlc_lessimpl.lean
92a987128918756efb0ea11313d59d095b1cc056
[ "MIT" ]
permissive
AndrasKovacs/smalltt
10f0ec55fb3f487e9dd21a740fe1a899e0cdb790
c306f727ba3c92abe6ef75013da5a5dade6b15c8
refs/heads/master
1,689,497,785,394
1,680,893,106,000
1,680,893,106,000
112,098,494
483
26
MIT
1,640,720,815,000
1,511,713,805,000
Lean
UTF-8
Lean
false
false
6,912
lean
def Ty6 : Type 1 := ∀ (Ty6 : Type) (nat top bot : Ty6) (arr prod sum : Ty6 → Ty6 → Ty6) , Ty6 def nat6 : Ty6 := λ _ nat6 _ _ _ _ _ => nat6 def top6 : Ty6 := λ _ _ top6 _ _ _ _ => top6 def bot6 : Ty6 := λ _ _ _ bot6 _ _ _ => bot6 def arr6 : Ty6 → Ty6 → Ty6 := λ A B Ty6 nat6 top6 bot6 arr6...
12cc177e4389fe9ce22ae1ac1e0a126c59ebf09b
de91c42b87530c3bdcc2b138ef1a3c3d9bee0d41
/old/eval/measurementEval.lean
fb71d95015e3ed6813f46e7ccfc2c8bbc5eac1e4
[]
no_license
kevinsullivan/lang
d3e526ba363dc1ddf5ff1c2f36607d7f891806a7
e9d869bff94fb13ad9262222a6f3c4aafba82d5e
refs/heads/master
1,687,840,064,795
1,628,047,969,000
1,628,047,969,000
282,210,749
0
1
null
1,608,153,830,000
1,595,592,637,000
Lean
UTF-8
Lean
false
false
302
lean
import ..imperative_DSL.environment open lang.measurementSystem def measurementSystemEval : lang.measurementSystem.measureExpr → environment.env → measurementSystem.MeasurementSystem | (lang.measurementSystem.measureExpr.lit V) i := V | (lang.measurementSystem.measureExpr.var v) i := i.ms.ms v
98c5f2bf6b2ad202bccd3ebdee68a319967e1e4c
94e33a31faa76775069b071adea97e86e218a8ee
/test/congrm.lean
f4485e5d9a70e97a4901f17adb5198923570aff8
[ "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,598
lean
import tactic.congrm variables {X : Type*} [has_add X] [has_mul X] (a b c d : X) (f : X → X) example (H : a = b) : f a + f a = f b + f b := by congrm f _ + f _; exact H example {g : X → X} (H : a = b) (H' : c + f a = c + f d) (H'' : f d = f b) : f (g a) * (f d + (c + f a)) = f (g b) * (f b + (c + f d)) := begin ...
380d362458c0f39cf86b8759d099c6c5a3157e0a
92b50235facfbc08dfe7f334827d47281471333b
/library/algebra/ring.lean
e0fa6fe628a957f06f995f91a1eaaec6246e9f2d
[ "Apache-2.0" ]
permissive
htzh/lean
24f6ed7510ab637379ec31af406d12584d31792c
d70c79f4e30aafecdfc4a60b5d3512199200ab6e
refs/heads/master
1,607,677,731,270
1,437,089,952,000
1,437,089,952,000
37,078,816
0
0
null
1,433,780,956,000
1,433,780,955,000
null
UTF-8
Lean
false
false
13,391
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura Structures with multiplicative and additive components, including semirings, rings, and fields. The development is modeled after Isabelle's library. -/...
47a63ed550c9e0b4a1d6b28bebb2f1444fc22879
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/reserve.lean
4ec99809f9fc3bb193b855273e78b3039965ca92
[ "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
191
lean
import logic reserve infix `=?=`:50 reserve infixr `&&&`:25 notation a `=?=` b := eq a b notation a `&&&` b := and a b set_option pp.notation false check λ a b : num, a =?= b &&& b =?= a
271d10f18c762188c1be050910e414359bdf9802
fe208a542cea7b2d6d7ff79f94d535f6d11d814a
/src/Dedekind_cuts/challenge.lean
381efdd05acfaa9e40c03348a1377fd6214eaad6
[]
no_license
ImperialCollegeLondon/M1F_room_342_questions
c4b98b14113fe900a7f388762269305faff73e63
63de9a6ab9c27a433039dd5530bc9b10b1d227f7
refs/heads/master
1,585,807,312,561
1,545,232,972,000
1,545,232,972,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
471
lean
import algebra.archimedean import data.real.basic definition completeness_axiom (k : Type*) [preorder k] : Prop := ∀ (S : set k), (∃ x, x ∈ S) → (∃ x, ∀ y ∈ S, y ≤ x) → ∃ x, ∀ y, x ≤ y ↔ ∀ z ∈ S, z ≤ y open function theorem characterisation_of_reals (k : Type*) [discrete_linear_ordered_field k] [archimedean k] : c...
1bec275832d5cc4332eb903466f55b43203b3993
cbb1957fc3e28e502582c54cbce826d666350eda
/fabstract/Hales_T_et_al_Kepler_conj/fabstract.lean
434478b007052470e2a7230a3ae77346b9fabc07
[ "CC-BY-4.0" ]
permissive
andrejbauer/formalabstracts
9040b172da080406448ad1b0260d550122dcad74
a3b84fd90901ccf4b63eb9f95d4286a8775864d0
refs/heads/master
1,609,476,417,918
1,501,541,742,000
1,501,541,760,000
97,241,872
1
0
null
1,500,042,191,000
1,500,042,191,000
null
UTF-8
Lean
false
false
3,283
lean
import meta_data ...folklore.real_axiom namespace Hales_T_et_al_Kepler_conj noncomputable theory open classical nat set list vector real_axiom -- cardinality of finite sets. -- Surely this must exist somewhere. But where? universe u def set_of_list {α : Type u} : (list α) → set α | [] y := false | (x :: res...
99ce9c65be9b364f7fbf980f52c485360123bdec
abd85493667895c57a7507870867b28124b3998f
/src/data/fintype/basic.lean
fa253e2e7ac74871df0a572dcc84c4e5edf3ab8b
[ "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
42,127
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Finite types. -/ import data.finset import data.array.lemmas universes u v variables {α : Type*} {β : Type*} {γ : Type*} /-- `fintype α` means that `α` is finite, i.e....
9c45b5be2628212958ff1187452d0c84e83f15da
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/tests/lean/run/tactic23.lean
2c5e0b52686c5bd659ac40b2f8bbd0f162956ce6
[ "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
989
lean
import logic namespace experiment inductive nat : Type := zero : nat, succ : nat → nat namespace nat definition add (a b : nat) : nat := nat.rec a (λ n r, succ r) b infixl `+` := add definition one := succ zero -- Define coercion from num -> nat -- By default the parser converts numerals into a binary representation...
6aa5b5a8fd03d4c406cab1d0ec7715fed418208e
c777c32c8e484e195053731103c5e52af26a25d1
/src/model_theory/quotients.lean
60ccfe0151a5eec3f7919f2395ad17ab46a4eb50
[ "Apache-2.0" ]
permissive
kbuzzard/mathlib
2ff9e85dfe2a46f4b291927f983afec17e946eb8
58537299e922f9c77df76cb613910914a479c1f7
refs/heads/master
1,685,313,702,744
1,683,974,212,000
1,683,974,212,000
128,185,277
1
0
null
1,522,920,600,000
1,522,920,600,000
null
UTF-8
Lean
false
false
2,554
lean
/- Copyright (c) 2022 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import data.fintype.quotient import model_theory.semantics /-! # Quotients of First-Order Structures This file defines prestructures and quotients of first-order str...
b33e44a9f872f20ad945ed769f572f9ae39a4e18
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Compiler/LCNF/AlphaEqv.lean
476df24ebdf2351a4fd7841fa552b87f9df4e508
[ "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,740
lean
/- Copyright (c) 2022 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Compiler.LCNF.Basic namespace Lean.Compiler.LCNF /-! Alpha equivalence for LCNF Code -/ namespace AlphaEqv abbrev EqvM := ReaderM (FVarIdMap...
4e19709c932f85b3d4b4043e3704ccfa4cba707f
c31182a012eec69da0a1f6c05f42b0f0717d212d
/src/system_of_complexes/double.lean
12a61c6e8f4ca7f5f6b82f8ebe36b59d999c850d
[]
no_license
Ja1941/lean-liquid
fbec3ffc7fc67df1b5ca95b7ee225685ab9ffbdc
8e80ed0cbdf5145d6814e833a674eaf05a1495c1
refs/heads/master
1,689,437,983,362
1,628,362,719,000
1,628,362,719,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,348
lean
import hacks_and_tricks.by_exactI_hack import system_of_complexes.basic import facts universe variables v u noncomputable theory open opposite category_theory open_locale nnreal /-! # Systems of double complexes of seminormed groups In this file we define systems of double complexes of seminormed groups, as needed ...
7891cea4939dccbd9dbd3a6d0e76e662cac3d124
2c096fdfecf64e46ea7bc6ce5521f142b5926864
/src/Lean/Linter/UnusedVariables.lean
cad32754e74dccf07a2717fe12ca9f90db15bd6e
[ "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
Kha/lean4
1005785d2c8797ae266a303968848e5f6ce2fe87
b99e11346948023cd6c29d248cd8f3e3fb3474cf
refs/heads/master
1,693,355,498,027
1,669,080,461,000
1,669,113,138,000
184,748,176
0
0
Apache-2.0
1,665,995,520,000
1,556,884,930,000
Lean
UTF-8
Lean
false
false
10,639
lean
import Lean.Elab.Command import Lean.Linter.Util import Lean.Server.References namespace Lean.Linter open Lean.Elab.Command Lean.Server Std register_builtin_option linter.unusedVariables : Bool := { defValue := true, descr := "enable the 'unused variables' linter" } register_builtin_option linter.unusedVariables....
016125aa3c8822926c0a0c49f387a9c06a5cef97
9dc8cecdf3c4634764a18254e94d43da07142918
/src/linear_algebra/basis.lean
f32ebb284f918ead4de5fb2068479883ca13992e
[ "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
52,204
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, Alexander Bentkamp -/ import algebra.big_operators.finsupp import algebra.big_operators.finprod import data.fintype.card import linear_algebra.finsupp i...
2398ef39f535845d11dbeb462c4f6e7536fba725
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/matrix/hadamard.lean
b93f500f0de783819d76318a915773b2c3dfb380
[ "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
3,409
lean
/- Copyright (c) 2021 Lu-Ming Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Lu-Ming Zhang -/ import linear_algebra.matrix.trace /-! # Hadamard product of matrices This file defines the Hadamard product `matrix.hadamard` and contains basic properties about the...
363d58dd117ddb9ed8987e990710d5c87c1dc349
853df553b1d6ca524e3f0a79aedd32dde5d27ec3
/src/data/finsupp.lean
57743f72ad10ceda6dd49f32a4a3e7e75c1e0b65
[ "Apache-2.0" ]
permissive
DanielFabian/mathlib
efc3a50b5dde303c59eeb6353ef4c35a345d7112
f520d07eba0c852e96fe26da71d85bf6d40fcc2a
refs/heads/master
1,668,739,922,971
1,595,201,756,000
1,595,201,756,000
279,469,476
0
0
null
1,594,696,604,000
1,594,696,604,000
null
UTF-8
Lean
false
false
71,380
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, Scott Morrison -/ import algebra.module import data.fintype.card import data.multiset.antidiagonal /-! # Type of functions with finite support For any type `α` and a...
e9ee129701da17e9ac3e3d5f1fcef7aa2ac46f02
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/ring_theory/principal_ideal_domain.lean
020cd87e5d01ad67491b8b68bcdfd194fb3fdc36
[ "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
11,532
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 ...
4f41feb64e314a163439a327bd27e426b38a33db
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebra/category/Group/colimits.lean
c5e9b2e144e3693bda70a6d52703c2c3ff4d7373
[ "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
9,742
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.category.Group.preadditive import group_theory.quotient_group import category_theory.limits.concrete_category import category_theory.limits.shapes.kern...
02d218a171b03fcb76d6c2847e20f0a401ade359
8b9f17008684d796c8022dab552e42f0cb6fb347
/library/algebra/category/functor.lean
43ef2cc09d1d7e83ed6e9ea4741266d268f28321
[ "Apache-2.0" ]
permissive
chubbymaggie/lean
0d06ae25f9dd396306fb02190e89422ea94afd7b
d2c7b5c31928c98f545b16420d37842c43b4ae9a
refs/heads/master
1,611,313,622,901
1,430,266,839,000
1,430,267,083,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,207
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 logic.funext open function open category eq eq.ops heq structure functor (C D : Category) : Type...
3f980f4396a1683a8a7f90a154944e09b920caa9
7c4610454cf55b49f0c3cdaeb6b856eb3249cb2d
/src/general.lean
33610e1b691e8a7fed2deb7bedea2eda276dd12b
[]
no_license
101damnations/fg_over_pid
097be43e11c3680a3fd4b6de2265de393cf4d4ef
a1a587c455a54a802f6ff61b07bb033701e451a7
refs/heads/master
1,669,708,904,636
1,597,259,770,000
1,597,259,770,000
287,097,363
0
0
null
null
null
null
UTF-8
Lean
false
false
1,594
lean
import linear_algebra.basis variables {R : Type*} [ring R] {M : Type*} [add_comm_group M] [module R M] {N : Type*} [add_comm_group N] [module R N] {M' : Type*} [add_comm_group M'] [module R M'] theorem map_inf (p p' : submodule R M) (f : M →ₗ[R] M') (hf : function.injective f) : p.map f ⊓ p'.map f = (p ⊓ p').map ...
83d184244b0133c9de19ceef25d1bf5fe9ceff7d
f3849be5d845a1cb97680f0bbbe03b85518312f0
/tests/lean/num.lean
33c2dddf0d20bb15aec026226dafc7366191a140
[ "Apache-2.0" ]
permissive
bjoeris/lean
0ed95125d762b17bfcb54dad1f9721f953f92eeb
4e496b78d5e73545fa4f9a807155113d8e6b0561
refs/heads/master
1,611,251,218,281
1,495,337,658,000
1,495,337,658,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
126
lean
-- #check 10 #check 20 #check 3 #check 1 #check 0 #check 12 #check 13 #check 12138 #check 1221 #check 11 #check 5 #check 21
1ba875e834648f884c867325bf87b562d6304d56
618003631150032a5676f229d13a079ac875ff77
/test/trunc_cases.lean
22d3c6dbb452b616c75906565cfdc95dce0e0571
[ "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
2,389
lean
import tactic.trunc_cases import tactic.interactive import data.quot example (t : trunc ℕ) : punit := begin trunc_cases t, exact (), -- no more goals, because `trunc_cases` used the correct `trunc.rec_on_subsingleton` recursor end example (t : trunc ℕ) : ℕ := begin trunc_cases t, guard_hyp t := ℕ, -- verify...
f822f88a54129bfe0d07a2dd010a4dfaa3da0d58
ea11767c9c6a467c4b7710ec6f371c95cfc023fd
/src/monoidal_categories/enriched/enriched_category_old.lean
b58efaaaab78a51c274766cefbc03b979050c0fe
[]
no_license
RitaAhmadi/lean-monoidal-categories
68a23f513e902038e44681336b87f659bbc281e0
81f43e1e0d623a96695aa8938951d7422d6d7ba6
refs/heads/master
1,651,458,686,519
1,529,824,613,000
1,529,824,613,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,010
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 ..monoidal_category -- namespace categories.enriched -- open categories -- open categories.monoidal_category -- structure {u ...
d4803bb6866915c064d50ca1c4f71daa81ff0360
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/algebra/group/pi.lean
5d6fef1254a959186fc99266098b5db93748ff73
[ "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,185
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Patrick Massot -/ import data.pi import data.set.function import tactic.pi_instances import algebra.group.defs import algebra.group.hom /-! # Pi instances for groups and mono...
f99b22e2853b17730ffe6f9d39d1bde66dff1303
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/library/data/prod/thms.lean
088692a809108bd0fa3d123a2881e2f313e724a6
[ "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
4,921
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, Jeremy Avigad import data.prod.decl logic.inhabited logic.eq logic.decidable open inhabited decidable eq.ops namespace prod variables {A B : Type} {a...
27295bf834e9bf150109b02454b08dc78398d502
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/control/lawful_fix.lean
1996f60b5173ad1b82113e92871219362ba63619
[ "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
7,786
lean
/- Copyright (c) 2020 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon -/ import tactic.apply import control.fix import order.omega_complete_partial_order /-! # Lawful fixed point operators This module defines the laws required of a `has_fix` i...
1ed29d5a40c3dd603f9dc76b48ae615b42b2e2a9
fe25de614feb5587799621c41487aaee0d083b08
/stage0/src/Lean/Elab/Deriving/FromToJson.lean
3a0fd8f9dcdb43f407298c6fc3297fd49d0aee43
[ "Apache-2.0" ]
permissive
pollend/lean4
e8469c2f5fb8779b773618c3267883cf21fb9fac
c913886938c4b3b83238a3f99673c6c5a9cec270
refs/heads/master
1,687,973,251,481
1,628,039,739,000
1,628,039,739,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,581
lean
/- Copyright (c) 2020 Sebastian Ullrich. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich, Dany Fabian -/ import Lean.Meta.Transform import Lean.Elab.Deriving.Basic import Lean.Elab.Deriving.Util import Lean.Data.Json.FromToJson namespace Lean.Elab.Der...
e64f63c1d1c359201db59a6b07c9ed357ef82107
94e33a31faa76775069b071adea97e86e218a8ee
/src/field_theory/separable.lean
133da3305d72f7b3369f1a2ce5cc452380e78886
[ "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
21,379
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 algebra.polynomial.big_operators import algebra.squarefree import field_theory.minpoly import field_theory.splitting_field import data.polynomial.expand /-! # Separab...
4c81d1b137736386b8c4dc25280b5fae60c2e1d6
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/meta2.lean
b368882c15d514d9926aeb0772e8d32f0806727e
[ "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
218
lean
import system.io open io meta definition foo : nat → nat | a := nat.cases_on a 1 (λ n, foo n + 2) #eval (foo 10) meta definition loop : nat → io unit | a := do put_str ">> ", print a, put_str "\n", loop (a+1)
4d0549e35c94105347fe0e9ce32e2ed87870d278
618003631150032a5676f229d13a079ac875ff77
/src/tactic/apply_fun.lean
59562ed116f0eedb847d8e15fd163a56f9ce3bb6
[ "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
2,759
lean
/- Copyright (c) 2019 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Keeley Hoek, Patrick Massot -/ import tactic.monotonicity namespace tactic /-- Apply the function `f` given by `e : pexpr` to the local hypothesis `hyp`, which must either be of the ...
5236ec85ba2acc6aaf397bdcbe1da75aabeaeecb
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch4/ex0204.lean
5e5c48a29c2579cbd455a5d2947b3d9478146387
[]
no_license
Ailrun/Theorem_Proving_in_Lean
ae6a23f3c54d62d401314d6a771e8ff8b4132db2
2eb1b5caf93c6a5a555c79e9097cf2ba5a66cf68
refs/heads/master
1,609,838,270,467
1,586,846,743,000
1,586,846,743,000
240,967,761
1
0
null
null
null
null
UTF-8
Lean
false
false
153
lean
universe u variables (α : Type u) (a b c d : α) variables (hab : a = b) (hcb : c = b) (hcd : c = d) example : a = d := (hab.trans hcb.symm).trans hcd
810ff3830926eb9b3cbcf34746828a2ed43c0355
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/compiler/partial.lean
7a9139a8f5610d5450498cc50c627192ae6d72ef
[ "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
341
lean
set_option pp.explicit true -- set_option trace.compiler.boxed true partial def contains : String → Char → Nat → Bool | s, c, i => if s.atEnd i then false else if s.get i == c then true else contains s c (s.next i) def main : IO Unit := let s1 := "hello"; IO.println (contains s1 'a' 0) *> IO.println (cont...
b7d9a08a4fd076ed2de97c0851039c36465f98cd
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/topology/algebra/ordered.lean
b88f7db7aec4b390dcea4c26fe6249352a4a47dd
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
78,936
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import tactic.tfae import order.liminf_limsup import data.set.intervals import topology.algebra.group import topology.constructions ...
128d2762dbe4560c306f12046bb2a05299163c2f
dd4e652c749fea9ac77e404005cb3470e5f75469
/src/cone.lean
eed50b78cb6eea5a312e0c106735a985a0633317
[]
no_license
skbaek/cvx
e32822ad5943541539966a37dee162b0a5495f55
c50c790c9116f9fac8dfe742903a62bdd7292c15
refs/heads/master
1,623,803,010,339
1,618,058,958,000
1,618,058,958,000
176,293,135
3
2
null
null
null
null
UTF-8
Lean
false
false
2,557
lean
import linear_algebra.basic import data.real.basic import data.set.basic import tactic.interactive import .inner_product_space noncomputable theory local attribute [instance] classical.prop_decidable section basic variables {α : Type*} [has_scalar ℝ α] {ι : Sort _} (A : set α) (B : set α) (x : α) open...
f21175855ebcafead093d0e4265c2f9c187895d4
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/library/algebra/order_bigops.lean
c9276ce43e52cd9dec6eb9942112c4e888eeeaf5
[ "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
19,027
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad Min and max over finite sets. To support constructive theories, we start with the class decidable_linear_ordered_cancel_comm_monoid, because: (1) We need a decidable lin...
8652d80005d399a4987332b49644bd7153a7908a
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/category_theory/closed/cartesian.lean
eb5572f5e921d1fdeb3439ac7fa62add83c634fc
[ "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
16,495
lean
/- Copyright (c) 2020 Bhavik Mehta, Edward Ayers, Thomas Read. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta, Edward Ayers, Thomas Read -/ import category_theory.limits.shapes.finite_products import category_theory.limits.shapes.constructions.preserve_bi...
2ba1e7a8ff9fa28922327dffc0bf5cc89f277815
1b8f093752ba748c5ca0083afef2959aaa7dace5
/src/category_theory/universal/opposites.lean
35ba76aa93ef8c8eb2d6b00293f1bfbf653059e1
[]
no_license
khoek/lean-category-theory
7ec4cda9cc64a5a4ffeb84712ac7d020dbbba386
63dcb598e9270a3e8b56d1769eb4f825a177cd95
refs/heads/master
1,585,251,725,759
1,539,344,445,000
1,539,344,445,000
145,281,070
0
0
null
1,534,662,376,000
1,534,662,376,000
null
UTF-8
Lean
false
false
1,151
lean
-- Copyright (c) 2018 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison, Daniel Barter import category_theory.opposites import category_theory.equivalence import category_theory.universal.cones import category_theory.limits open cat...
9525ea6ca7938ffc3ffeb881a332d0c66a30025c
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/topology/sheaves/stalks.lean
61956d8613af183f27810a8c3c7cc1e6e50f1b77
[ "Apache-2.0" ]
permissive
AntoineChambert-Loir/mathlib
64aabb896129885f12296a799818061bc90da1ff
07be904260ab6e36a5769680b6012f03a4727134
refs/heads/master
1,693,187,631,771
1,636,719,886,000
1,636,719,886,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
20,621
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Justus Springer -/ import topology.category.Top.open_nhds import topology.sheaves.presheaf import topology.sheaves.sheaf_condition.unique_gluing import category_theory....
74dde7e145fbfdd4aefdb3a0e0e309adc1654206
4727251e0cd73359b15b664c3170e5d754078599
/src/data/real/cardinality.lean
d301d012069d2ef4b04ac82a4c1d25be80dfaa56
[ "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
9,588
lean
/- Copyright (c) 2019 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import analysis.specific_limits.basic import data.rat.denumerable import data.set.intervals.image_preimage import set_theory.cardinal.continuum /-! # The cardina...
338cb513baead01c6b2cd6b942936fc4132a99f9
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Parser/Extension.lean
35e724664f775979bd789c1c7e51ec44cf9af288
[ "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
31,695
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, Sebastian Ullrich -/ import Lean.ResolveName import Lean.ScopedEnvExtension import Lean.Parser.Basic import Lean.Parser.StrInterpolation import Lean.KeyedDecl...
2f413a500e91f572de45447ac8f3adc07fbc6d83
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/run/elab3.lean
88608ec2b52c40439650f70e703aed8e0b1c85cb
[ "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
89
lean
set_option pp.binder_types true axiom Sorry {A : Sort*} : A check (Sorry : ∀ a, a > 0)
4feec8487b4a0d9fafcf7ad2f7ff811973d0b6ff
75c54c8946bb4203e0aaf196f918424a17b0de99
/old/reflect_test.lean
d0e25a7d4b00f48146d2ca47165f86d2f4047bef
[ "Apache-2.0" ]
permissive
urkud/flypitch
261e2a45f1038130178575406df8aea78255ba77
2250f5eda14b6ef9fc3e4e1f4a9ac4005634de5c
refs/heads/master
1,653,266,469,246
1,577,819,679,000
1,577,819,679,000
259,862,235
1
0
Apache-2.0
1,588,147,244,000
1,588,147,244,000
null
UTF-8
Lean
false
false
7,059
lean
import .fol .abel universe u section weekdays @[derive has_reflect] inductive weekday : Type | monday : weekday | another_day : weekday → weekday open weekday meta def dump_weekday (f : weekday) : tactic unit := tactic.trace $ to_string (expr.to_raw_fmt (reflect f).to_expr) -- run_cmd dump_weekday (a...
13eb368db661771ec112edcb7effb4738a5eb4d4
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/hott/types/arrow_2.hlean
148a431fd8c135a1c4e900a376d4521cd18868fc
[ "Apache-2.0" ]
permissive
soonhokong/lean-osx
4a954262c780e404c1369d6c06516161d07fcb40
3670278342d2f4faa49d95b46d86642d7875b47c
refs/heads/master
1,611,410,334,552
1,474,425,686,000
1,474,425,686,000
12,043,103
5
1
null
null
null
null
UTF-8
Lean
false
false
4,091
hlean
/- Copyright (c) 2015 Ulrik Buchholtz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ulrik Buchholtz -/ import ..function open eq is_equiv function namespace arrow structure arrow := (dom : Type) (cod : Type) (arrow : dom → cod) abbreviation dom [...
e8c77a81de09061d1e54751c8c79c646645a3614
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/control/applicative.lean
7afdd96e3367fb831b95b604c43a5e5517862a4c
[ "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,973
lean
/- Copyright (c) 2017 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import algebra.group.defs import control.functor /-! # `applicative` instances > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a correspondi...
9e4cc073fe5eb5cbffdbbeb279716d2e53cf2172
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/field_theory/polynomial_galois_group.lean
f837e799837ad44a624fe6162c610b1b4011ba32
[ "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
21,477
lean
/- Copyright (c) 2020 Thomas Browning, Patrick Lutz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Thomas Browning, Patrick Lutz -/ import analysis.complex.polynomial import field_theory.galois import group_theory.perm.cycle_type import ring_theory.eisenstein_criteri...
86a62c5e6d56f36f7c441a9c83b512fb511ecc7b
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/list/nodup.lean
3b323391f18c2c5de74507c25924acf6d481c198
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
14,530
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Kenny Lau -/ import data.list.lattice import data.list.pairwise import data.list.forall2 import data.set.pairwise.basic /-! # Lists with no duplicates > THIS FILE IS ...
ad2978b2859540b877224eb9efba453050877953
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/set/equitable.lean
4d3d766714651482872558ba6f4062ae80b8bf0e
[ "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,185
lean
/- Copyright (c) 2021 Yaël Dillies, Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies, Bhavik Mehta -/ import algebra.big_operators.order import data.nat.basic /-! # Equitable functions > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes ...
808e147cee739521a020809d0adb6b067aa65862
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/stage0/src/Init/Default.lean
40d6ec9df0a20b9a33c43329dff5d20b4794e0a9
[ "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
361
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Core import Init.Control import Init.Data.Basic import Init.WF import Init.Data import Init.System import Init.Util import Init.Fix impo...
ba8c58c2f67874f55d00e6101eb5877ed8238d1d
d436468d80b739ba7e06843c4d0d2070e43448e5
/src/data/zmod/basic.lean
e0eda6c5637d577e0a795a87075bf8fb8c3eb44f
[ "Apache-2.0" ]
permissive
roro47/mathlib
761fdc002aef92f77818f3fef06bf6ec6fc1a28e
80aa7d52537571a2ca62a3fdf71c9533a09422cf
refs/heads/master
1,599,656,410,625
1,573,649,488,000
1,573,649,488,000
221,452,951
0
0
Apache-2.0
1,573,647,693,000
1,573,647,692,000
null
UTF-8
Lean
false
false
21,017
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Chris Hughes # zmod and zmodp Definition of the integers mod n, and the field structure on the integers mod p. There are two types defined, `zmod n`, which is for integers modulo a pos...
d6f3db61903caa104fd59f6a201597f9fc5b9d62
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/1812.lean
a95ec42979bd0bec5e895508e405b7f278613458
[ "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
92
lean
set_option trace.Compiler.result true def notList : List Prop → List Prop := List.map Not
5939e8ae85621445b91346610d2465c153f92ad8
36938939954e91f23dec66a02728db08a7acfcf9
/lean/deps/galois_stdlib/src/galois/data/bitvec/basic.lean
42fb3a16368b3645081831ece4733fe073f936a9
[ "Apache-2.0" ]
permissive
pnwamk/reopt-vcg
f8b56dd0279392a5e1c6aee721be8138e6b558d3
c9f9f185fbefc25c36c4b506bbc85fd1a03c3b6d
refs/heads/master
1,631,145,017,772
1,593,549,019,000
1,593,549,143,000
254,191,418
0
0
null
1,586,377,077,000
1,586,377,077,000
null
UTF-8
Lean
false
false
13,601
lean
/- Copyright (c) 2015 Joe Hendrix. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joe Hendrix, Sebastian Ullrich, Jason Dagit Basic operations on bitvectors. This is a work-in-progress, and contains additions to other theories. -/ import galois.data.nat.basic import ...
251d7b66facabe2640eb216de18c56ec70e14289
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/t9.lean
dbd15cd4e967f46c684e9e2e9c0e86462cba9173
[ "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
396
lean
prelude precedence `+` : 65 precedence `*` : 75 precedence `=` : 50 precedence `≃` : 50 constant N : Type.{1} constant a : N constant b : N constant add : N → N → N constant mul : N → N → N namespace foo infixl + := add infixl * := mul check a+b*a end foo -- Notation is not avaiable outside the namespace check a+...
cbc05645a80ff32ddc5a1ac3cc6f12df95042d8a
5b0c53e5aaa0e60538d10f6b619a464aaf463815
/ch2.hlean
6c88c2db2c82da47e0598317eff0b6fe8ef9ab0a
[ "Apache-2.0" ]
permissive
bbentzen/hott-book-in-lean
f845a19ef09d48d2fb813624b4650d5832a47e10
9e262e633e653280b9cde5d287631fcec8501f64
refs/heads/master
1,586,430,679,994
1,519,975,089,000
1,519,975,089,000
50,330,220
1
0
null
null
null
null
UTF-8
Lean
false
false
39,449
hlean
/- Copyright (c) 2016 Bruno Bentzen. All rights reserved. Released under the Apache License 2.0 (see "License"); Theorems and exercises of the HoTT book (Chapter 2) -/ import .ch1 types.bool open eq prod sum sigma bool lift /- ************************************** -/ /- Ch.2 Homotopy Type Theory -/ ...
3ecefc9c79432777c4b5755f68236a29723bb8ad
46125763b4dbf50619e8846a1371029346f4c3db
/src/data/real/basic.lean
d2f8f3bf29da9283cc7e101d23cb735f44a23bc8
[ "Apache-2.0" ]
permissive
thjread/mathlib
a9d97612cedc2c3101060737233df15abcdb9eb1
7cffe2520a5518bba19227a107078d83fa725ddc
refs/heads/master
1,615,637,696,376
1,583,953,063,000
1,583,953,063,000
246,680,271
0
0
Apache-2.0
1,583,960,875,000
1,583,960,875,000
null
UTF-8
Lean
false
false
25,898
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Floris van Doorn The (classical) real numbers ℝ. This is a direct construction from Cauchy sequences. -/ import order.conditionally_complete_lattice data.real.cau_seq_...
d39a883814a0c3210ff5f875bbbb3537f2cc51b1
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/test/rewrite_search/rewrite_search.lean
4c3c4ccf547d252854da476f6ae4782df1c80403
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
3,406
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 tactic.rewrite_search import data.rat.basic import data.real.basic /- These tests ensure that `rewrite_s...
ab11d542da6e4102beae2cc173b641783724bbf3
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/303.lean
d02e7f51d17f685d7d251f1d7f7c2642db277b9a
[ "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
30
lean
#eval (2147483648 / 0) + (-0)
14c6fd0cae44761096592b56a4215a17c67738c8
cf39355caa609c0f33405126beee2739aa3cb77e
/library/init/algebra/default.lean
7e83c3c3cd17cd123550018c2abdfc5cdf2dd7a9
[ "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
202
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.algebra.functions
be0af9ce7f601e3fb123c8544f70c09b22c957b7
0d2e44896897eda703992595d71a0b19ed30b8a1
/uexp/src/uexp/rules/conjunctive.lean
93bbd1b4d1561a10063990bf986ca99b154f61fd
[ "BSD-2-Clause" ]
permissive
wwombat/Cosette
a87312aabefdb53ea8b67c37731bd58c7485afb6
4c5dc6172e24d3546c9818ac1fad06f72fe1c991
refs/heads/master
1,619,479,568,051
1,520,292,502,000
1,520,292,502,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
899
lean
import ..u_semiring import ..sql import ..tactics open SQL open Pred open Expr open Proj lemma CQExample0: forall Γ s1 s2 (a: SQL Γ s1) (b: SQL Γ s2) ty0 ty1 (x: Column ty0 s1) (ya: Column ty1 s1) (yb: Column ty1 s2), denoteSQL ((DISTINCT (SELECT1 (right⋅left⋅x) (FROM1 (product a b...
00168c48863dd89d583a3727628bdf4fca5afe0c
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/limits/opposites.lean
88f821f6e171d61574f6ed0a046dbb2c372617e7
[ "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
5,367
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Floris van Doorn -/ import category_theory.limits.shapes.finite_products import category_theory.limits.shapes.kernels import category_theory.discrete_category universe...
52b30b53c28eb4b860d2cb90b16d6cc88384e7fc
969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb
/src/algebra/group/basic.lean
1e94732442949fd2d3b08c536e80b0158e4e08fb
[ "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
16,157
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura, Simon Hudon, Mario Carneiro -/ import algebra.group.defs import logic.function.basic /-! # Basic lemmas about semigroups, monoids, and groups This f...
fdc94ab3b408c54fdb883569818163ab75d2840c
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/inner_product_space/adjoint.lean
e03af80401fc1249b3b1007586e412efbcea6975
[ "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
18,841
lean
/- Copyright (c) 2021 Frédéric Dupuis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Frédéric Dupuis, Heather Macbeth -/ import analysis.inner_product_space.dual import analysis.inner_product_space.pi_L2 /-! # Adjoint of operators on Hilbert spaces Given an operato...
4ab5bb579e7439c3b99dd76919789f0ed19c48c1
4727251e0cd73359b15b664c3170e5d754078599
/src/order/symm_diff.lean
8ff6d2324906e5fb03a698e8b4fb0637bfedb7dd
[ "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
10,599
lean
/- Copyright (c) 2021 Bryan Gin-ge Chen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Topaz, Bryan Gin-ge Chen -/ import order.boolean_algebra /-! # Symmetric difference The symmetric difference or disjunctive union of sets `A` and `B` is the set of elements ...
f211c7421b35ca22974c8bfa8d0a368ffd09bcb7
5e60919d574b821fabd9387be5589c0c4d3f3fe2
/test/example.lean
32c8b86f7d7faf95969b20cada117ab0e2d2606f
[]
no_license
unitb/unitb-pointers
3fc72b873377a12e3f677ccd30143fc001a56c63
c057420c1e72bba00181bc6db30cf369ef2bfd23
refs/heads/master
1,629,969,967,065
1,511,386,892,000
1,511,386,892,000
110,323,164
0
0
null
null
null
null
UTF-8
Lean
false
false
741
lean
import language.unitb.parser open list -- unitb.parser machine foo variables x, y invariants bar: x ∪ y ⊆ x initialization x := ∅, y := ∅ events move when grd1 : ∅ ∈ x then end add_x begin x := y end swap begin x,y := y,x end proofs bar := begin simp [x_1,y_1], admit, end, end #print fo...
3d5cde0947524c41ba02133e14cbf9af1030dc7d
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/category_theory/limits/opposites.lean
1a2f74f1909f08f0583e3e943e4954bf2a2e4cdd
[ "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
4,375
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Floris van Doorn -/ import category_theory.limits.shapes.products import category_theory.discrete_category universes v u noncomputable theory open category_theory op...
08f396439c2a890246128b3e95afc545e04ce356
dd4e652c749fea9ac77e404005cb3470e5f75469
/src/LP.lean
7a1aeba69f091863a73be3f032ec96226e91515c
[]
no_license
skbaek/cvx
e32822ad5943541539966a37dee162b0a5495f55
c50c790c9116f9fac8dfe742903a62bdd7292c15
refs/heads/master
1,623,803,010,339
1,618,058,958,000
1,618,058,958,000
176,293,135
3
2
null
null
null
null
UTF-8
Lean
false
false
4,100
lean
import .NN .misc system.io variables {α : Type} [has_mul α] [add_comm_monoid α] [has_le α] variables {k m n : nat} structure LP (α : Type) (m n : nat) := (obf : N α) (lhs : NN α) (rhs : N α) def LP.feasible : LP α m n → N α → Prop | ⟨c, A, b⟩ x := N.le m (mul_vec n A x) b ∧ (N.le n (N.zero α) x) def LP.is_feas...
bcfc0afd9283f3682c6dcb6fe2760db482b7ae01
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/G_delta.lean
71ae4d3de353eb1e96627d2f4d19b65c57a69770
[ "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,845
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel, Yury Kudryashov -/ import topology.uniform_space.basic import topology.separation /-! # `Gδ` sets In this file we define `Gδ` sets and prove their basic propert...
ca737ec81faef5780395c44f6a1f9b06a88e0362
54deab7025df5d2df4573383df7e1e5497b7a2c2
/data/bool.lean
8581d671abd1c90dd7b8c9fa3d1a8cb1e5c5c16f
[ "Apache-2.0" ]
permissive
HGldJ1966/mathlib
f8daac93a5b4ae805cfb0ecebac21a9ce9469009
c5c5b504b918a6c5e91e372ee29ed754b0513e85
refs/heads/master
1,611,340,395,683
1,503,040,489,000
1,503,040,489,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,605
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, Jeremy Avigad -/ namespace bool -- TODO(Jeremy): is this right? @[simp] theorem coe_tt : (↑tt : Prop) := dec_trivial theorem band_tt (a : bool) : a && tt = ...
de72b907f00462bf48c5c92b9d1b9f53ca0630db
f4bff2062c030df03d65e8b69c88f79b63a359d8
/kb_solns/sets_level09.lean
c7e90bc4da6d71224e40bfc6e796e141d5242d2f
[ "Apache-2.0" ]
permissive
adastra7470/real-number-game
776606961f52db0eb824555ed2f8e16f92216ea3
f9dcb7d9255a79b57e62038228a23346c2dc301b
refs/heads/master
1,669,221,575,893
1,594,669,800,000
1,594,669,800,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
776
lean
import data.real.basic /- # Chapter 1 : Sets ## Level 9 -/ /- This is a little more complicated example asking you to work with intervals of reals. The result will be of help in the sup-inf world. -/ notation `[` a `,` b `]` := set.Icc a b def mem_prod_sets (A : set ℝ) (B : set ℝ) := { x : ℝ | ∃ y ∈ A, ∃ z ∈ B, ...
43a4b653e8903f7e32bc9277844bcd56020c57ee
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/ideal/associated_prime.lean
5306118f8f003218f846d5a7f01835655dcf48b0
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
6,401
lean
/- Copyright (c) 2022 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import linear_algebra.span import ring_theory.ideal.operations import ring_theory.ideal.quotient_operations import ring_theory.noetherian /-! # Associated primes of a mod...
dcf54c31ff53ec38d4a25d1b91942b5b77a36e85
9dc8cecdf3c4634764a18254e94d43da07142918
/src/field_theory/adjoin.lean
caaa9d554f777a828ef7852de7ae252c2621407d
[ "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
45,292
lean
/- Copyright (c) 2020 Thomas Browning, Patrick Lutz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Thomas Browning, Patrick Lutz -/ import field_theory.intermediate_field import field_theory.separable import ring_theory.tensor_product /-! # Adjoining Elements to Fie...
d86c20fc4e1b457a56a8b6af04f0c5622af17ab5
dc253be9829b840f15d96d986e0c13520b085033
/pointed_binary.hlean
d3c8a602111754afa26d84e199cb15ad7b0da430
[ "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
10,541
hlean
/- Copyright (c) 2018 Ulrik Buchholtz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import .pointed_pi open eq pointed equiv sigma is_equiv trunc option pi function fiber sigma.ops namespace pointed section bpmap /- binary pointed maps -/ stru...
8247878e2f0f2902767167b76675478eb14021e5
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/number_theory/fermat4.lean
e802a60fc2046d838bc91a867837e7316928ec33
[ "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
11,883
lean
/- Copyright (c) 2020 Paul van Wamelen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul van Wamelen -/ import number_theory.pythagorean_triples import ring_theory.coprime.lemmas import tactic.linear_combination /-! # Fermat's Last Theorem for the case n = 4 > THI...
5e8f5c29a16e8eb1b6e892d9a99a3766b2a01509
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/data/set/enumerate.lean
16a2dd83830f6e3c9396c18f346d8257943643ca
[ "Apache-2.0" ]
permissive
fpvandoorn/mathlib
b21ab4068db079cbb8590b58fda9cc4bc1f35df4
b3433a51ea8bc07c4159c1073838fc0ee9b8f227
refs/heads/master
1,624,791,089,608
1,556,715,231,000
1,556,715,231,000
165,722,980
5
0
Apache-2.0
1,552,657,455,000
1,547,494,646,000
Lean
UTF-8
Lean
false
false
2,383
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 Enumerate elements of a set with a select function. -/ import data.set.lattice tactic.wlog noncomputable theory open function set namespace set section enumerate par...
6a3147427a64f3f88bd65e132971ca3be064d935
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/data/rat/basic.lean
6e01c9c3d9ee7b6edd0885351dad46981a9ad09f
[ "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
30,788
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import data.equiv.encodable.basic import algebra.euclidean_domain import data.nat.gcd import data.int.cast /-! # Basics for the Rational Numbers ## ...