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
4c2ad3ec72260d6f16ad74e94e7531bc150ee8f1
5ffb8080b18aa71638631832811ab18c0aec5879
/src/subgroup/commutator.lean
509c71aad7c7686f660e0ac639fafdf8d17790ec
[ "Apache-2.0" ]
permissive
isabella232/group-theory-game
805ba8f473af58e3b0437121712dfc36f535b71a
152ec4a92ad67b6174a3d240c63fa56a6df6017e
refs/heads/master
1,679,206,314,315
1,611,521,951,000
1,611,521,951,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,098
lean
import subgroup.cyclic /- In this file we will define the commutator and some lemmas about it. -/ namespace mygroup open_locale classical open mygroup.subgroup mygroup.quotient group_hom function set variables {G : Type} [group G] /-- The commutator of two elements `a`, `b` of a group `G` is `a * b * a⁻¹ * b⁻¹`-/...
3d9d15bdb52be2a15327da37a15b6b9d99dca50f
76df16d6c3760cb415f1294caee997cc4736e09b
/lean/src/sym_factory/basic.lean
1c293b9d0b3a05ce181b49c5ac39593b872d80b5
[ "MIT" ]
permissive
uw-unsat/leanette-popl22-artifact
70409d9cbd8921d794d27b7992bf1d9a4087e9fe
80fea2519e61b45a283fbf7903acdf6d5528dbe7
refs/heads/master
1,681,592,449,670
1,637,037,431,000
1,637,037,431,000
414,331,908
6
1
null
null
null
null
UTF-8
Lean
false
false
20,897
lean
import ..tactic.all import ..cs.lang import ..cs.sym import ..op.sym import ..cs.util import .defs import ..cs.lib import ..op.simp import ..basic.basic import ..op.basic import ..basic.sym namespace sym_factory open sym open op.sym open op.lang.op lemma mk_tt.sound {m : model} : evalB m mk_tt = tt := by simp [mk_...
5c527f93f282c8c1f7b5bb2a9e1ecdccd833131a
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/data/set/lattice.lean
f65833ae0b5089926dcfc02123af7de0a83fcc20
[ "Apache-2.0" ]
permissive
hjvromen/lewis
40b035973df7c77ebf927afab7878c76d05ff758
105b675f73630f028ad5d890897a51b3c1146fb0
refs/heads/master
1,677,944,636,343
1,676,555,301,000
1,676,555,301,000
327,553,599
0
0
null
null
null
null
UTF-8
Lean
false
false
49,203
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, Johannes Hölzl, Mario Carneiro -- QUESTION: can make the first argument in ∀ x ∈ a, ... implicit? -/ import order.complete_boolean_algebra import data...
a78b0ee65a97b4547178e6dc6827f2e54c4c8814
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebra/periodic.lean
7529aba1171e85d58a4fe924fb085563664bb0f3
[ "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
14,390
lean
/- Copyright (c) 2021 Benjamin Davidson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Benjamin Davidson -/ import data.int.parity import algebra.module.opposites import algebra.archimedean /-! # Periodicity In this file we define and then prove facts about periodic...
822242a837a916758d1e46fb00966efc426b54d6
fecda8e6b848337561d6467a1e30cf23176d6ad0
/src/category_theory/limits/shapes/zero.lean
3a4e785b1c85c7f505f4655d76f03a90deaad03c
[ "Apache-2.0" ]
permissive
spolu/mathlib
bacf18c3d2a561d00ecdc9413187729dd1f705ed
480c92cdfe1cf3c2d083abded87e82162e8814f4
refs/heads/master
1,671,684,094,325
1,600,736,045,000
1,600,736,045,000
297,564,749
1
0
null
1,600,758,368,000
1,600,758,367,000
null
UTF-8
Lean
false
false
15,266
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 category_theory.limits.shapes.terminal import category_theory.limits.shapes.binary_products import category_theory.limits.shapes.products import category_theor...
5cefa7d72ea0c4a4a6b4b09f19885739a98a6c2f
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/field_theory/tower.lean
c23085bf3ebd39528b136227615caf70724d07d9
[ "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,296
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.nat.prime import ring_theory.algebra_tower import linear_algebra.matrix.finite_dimensional import linear_algebra.matrix.to_lin /-! # Tower of field extensions In...
8ee576ffd6a87ff3ea555899e7eac1daa82a9344
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/ppProofs.lean
9a8462d32ea0de130ee9fab95f0d4d58846665e9
[ "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
461
lean
set_option pp.analyze.trustSubst true set_option pp.proofs false example (h : α = β) : h ▸ (a : α) = (b : β) := _ example (h : α = β) : id h ▸ (a : α) = (b : β) := _ example (h : α = β) : id h ▸ (a : α) = (b : β) := by simp (config := { failIfUnchanged := false }) set_option pp.proofs.withType false example (h : α = β)...
8eba92939f9895f5d045c17a70c2312952823fca
5d166a16ae129621cb54ca9dde86c275d7d2b483
/tests/lean/reflect.lean
30255a06c7b5e64ff3dd11a1149a56c7dd1f34a9
[ "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
26
lean
#eval (reflect 0).to_expr
b88022084bec271a871f4b1c1ba43ff34b17cb8d
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/stage0/src/Lean/ResolveName.lean
72ae6fbf2418dee2c663c0b952b3636b5683ae0f
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
tobiasgrosser/lean4
ce0fd9cca0feba1100656679bf41f0bffdbabb71
ebdbdc10436a4d9d6b66acf78aae7a23f5bd073f
refs/heads/master
1,673,103,412,948
1,664,930,501,000
1,664,930,501,000
186,870,185
0
0
Apache-2.0
1,665,129,237,000
1,557,939,901,000
Lean
UTF-8
Lean
false
false
14,414
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, Sebastian Ullrich -/ import Lean.Data.OpenDecl import Lean.Hygiene import Lean.Modifiers import Lean.Exception namespace Lean /-! We use aliases to impleme...
9948b8acb56073f5ee5dfb644829314615d20be8
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/list/tfae.lean
28cd9ad514de8597da88f5f639684f913e58a4dd
[ "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
2,235
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Simon Hudon -/ import data.list.basic /-! # The Following Are Equivalent > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding...
5ec2b5b9b3102fed5c98abcc7d1dbcce0c29bf93
4950bf76e5ae40ba9f8491647d0b6f228ddce173
/src/topology/instances/nnreal.lean
4aaf3c3569b67993a24d0e887ed859174c924c80
[ "Apache-2.0" ]
permissive
ntzwq/mathlib
ca50b21079b0a7c6781c34b62199a396dd00cee2
36eec1a98f22df82eaccd354a758ef8576af2a7f
refs/heads/master
1,675,193,391,478
1,607,822,996,000
1,607,822,996,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,394
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin Nonnegative real numbers. -/ import topology.algebra.infinite_sum import topology.algebra.group_with_zero noncomputable theory open set topological_space metric open_l...
2465d302f4b9d10d8b68f9ac86b5dc62414adb6b
9ad8d18fbe5f120c22b5e035bc240f711d2cbd7e
/src/algebra/biadditive.lean
ea04f78bf1ed367c5560458ca188dc124e46b885
[]
no_license
agusakov/lean_lib
c0e9cc29fc7d2518004e224376adeb5e69b5cc1a
f88d162da2f990b87c4d34f5f46bbca2bbc5948e
refs/heads/master
1,642,141,461,087
1,557,395,798,000
1,557,395,798,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,344
lean
/- Copyright (c) 2019 Neil Strickland. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Neil Strickland This file defines a typeclass for biadditive maps, i.e. maps `m : α → β → γ` (where α, β and γ are commutative additive monoids) such that `m a b` is an additive func...
107cc93c41fee5a60cd41a7b0307274611e2fe67
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/isomorphism_classes.lean
144652c36cc4c5fe0334c3143729e668752bca3b
[ "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
1,651
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import category_theory.category.Cat import category_theory.groupoid import category_theory.types /-! # Objects of a category up to an isomorphism `is_isomorphic X...
e66572a70fd9fd9c6718b16f57b274c65bb7eaf2
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/category/Module/abelian.lean
12497d47daed3012329daa9e1da9257d96c298fa
[]
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,714
lean
/- Copyright (c) 2020 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.category.Module.kernels import Mathlib.algebra.category.Module.limits import Mathlib....
2768727fb571bfed0f4fcb0bb6761b6ca598f0e6
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/tests/lean/run/alg.lean
1ef85d2f379e86c0b527f1e10ce59f79970979e4
[ "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
2,250
lean
class Semigroup (α : Type u) extends Mul α where mul_assoc (a b c : α) : a * b * c = a * (b * c) export Semigroup (mul_assoc) class MulComm (α : Type u) extends Mul α where mul_comm (a b : α) : a * b = b * a export MulComm (mul_comm) class CommSemigroup (α : Type u) extends Semigroup α where mul_comm (a b : ...
a55057bc5f7bb2eaddb73c430fc7a5164653ebef
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/801.lean
c48a7a6446336d0823cd56f3c831570fffcec5c7
[ "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
202
lean
syntax "a" num : term macro_rules | `(a 0) => `("zero") | `(a 1) => `("one") #check a 1 syntax "b" str : term macro_rules | `(b "foo") => `("foo!") | `(b "bla") => `("bla!") #check b "bla"
f00ac882ae702b7c59a175acbb134f83288ed51b
957a80ea22c5abb4f4670b250d55534d9db99108
/library/init/data/nat/basic.lean
eaccddeed09d092d2fb21970ba6131e9b9aac89b
[ "Apache-2.0" ]
permissive
GaloisInc/lean
aa1e64d604051e602fcf4610061314b9a37ab8cd
f1ec117a24459b59c6ff9e56a1d09d9e9e60a6c0
refs/heads/master
1,592,202,909,807
1,504,624,387,000
1,504,624,387,000
75,319,626
2
1
Apache-2.0
1,539,290,164,000
1,480,616,104,000
C++
UTF-8
Lean
false
false
4,499
lean
/- 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.logic notation `ℕ` := nat namespace nat inductive less_than_or_equal (a : ℕ) : ℕ → Prop | refl : less_than_or_equal...
9be593a494cc64e98cfacb8d51143c3663a734b0
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/ring_theory/noetherian.lean
58a351b09d5ba5985b049c90cdae4b0044e54cd6
[ "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
34,784
lean
/- Copyright (c) 2018 Mario Carneiro, Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Kevin Buzzard -/ import group_theory.finiteness import data.multiset.finset_ops import algebra.algebra.tower import order.order_iso_nat import ring_theor...
08ee4c2502f965d48b6f238e6515d0b920471d9a
75c54c8946bb4203e0aaf196f918424a17b0de99
/old/forcing2.lean
0637eb3d1e956ddd629d9e2ebb8f3ff22bb9ea06
[ "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
29,080
lean
-- import pSet_ordinal bvm bvm_extras cantor_space -- open ordinal cardinal lattice bSet -- noncomputable theory -- local attribute [instance] classical.prop_decidable -- local attribute [simp] omega_le_aleph -- local infix ` ⟹ `:65 := lattice.imp -- local infix ` ⇔ `:50 := lattice.biimp -- local prefix `#`:70 :...
9f9ae645b21f1e976147fc45cba4f1e00ac15331
28be2ab6091504b6ba250b367205fb94d50ab284
/levels/solutions/world3_le.lean
94b8a80b268ae6169708fe384dc4ed681ce93334
[ "Apache-2.0" ]
permissive
postmasters/natural_number_game
87304ac22e5e1c5ac2382d6e523d6914dd67a92d
38a7adcdfdb18c49c87b37831736c8f15300d821
refs/heads/master
1,649,856,819,031
1,586,444,676,000
1,586,444,676,000
255,006,061
0
0
Apache-2.0
1,586,664,599,000
1,586,664,598,000
null
UTF-8
Lean
false
false
8,941
lean
import mynat.le import solutions.world2_multiplication import tactic.interactive -- #check tactic.interactive.rintro meta def nat_num_game.interactive.rintro := tactic.interactive.rintro namespace mynat theorem le_refl (a : mynat) : a ≤ a := begin use 0, rw add_zero, end -- ignore this; it's making the "refl"...
126fbdcff4f6dcd2207d30224dc0c34a9c4d7db2
8e381650eb2c1c5361be64ff97e47d956bf2ab9f
/src/sheaves/stalk_of_rings.lean
1ab953586a47132efc44479eae549c1886f18d17
[]
no_license
alreadydone/lean-scheme
04c51ab08eca7ccf6c21344d45d202780fa667af
52d7624f57415eea27ed4dfa916cd94189221a1c
refs/heads/master
1,599,418,221,423
1,562,248,559,000
1,562,248,559,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
13,792
lean
/- Stalk of rings. https://stacks.math.columbia.edu/tag/007L (just says that the category of rings is a type of algebraic structure) -/ import topology.basic import sheaves.stalk import sheaves.presheaf_of_rings universes u v w open topological_space section stalk_of_rings variables {α : Type u} [topologica...
d0ce7d11cbb6a6e4dde70d436bf41f2d5deb0eb2
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/control/bifunctor.lean
2fed1353f19e9e4356c711955f30fb0ab36bc860
[ "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
5,082
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import logic.function.basic import control.functor import tactic.core /-! # Functors with two arguments This file defines bifunctors. A bifunctor is a function `F : Type...
2cf0ff30eadd48e6f24d30e48e93438fc14e73fa
2cf781335f4a6706b7452ab07ce323201e2e101f
/lean/deps/typed_smt2/src/galois/smt2/atom.lean
969236925934375b0ffaa325e17c203eb6d45b82
[ "Apache-2.0" ]
permissive
simonjwinwood/reopt-vcg
697cdd5e68366b5aa3298845eebc34fc97ccfbe2
6aca24e759bff4f2230bb58270bac6746c13665e
refs/heads/master
1,586,353,878,347
1,549,667,148,000
1,549,667,148,000
159,409,828
0
0
null
1,543,358,444,000
1,543,358,444,000
null
UTF-8
Lean
false
false
2,571
lean
import galois.sexpr import .symbol namespace smt2 ------------------------------------------------------------------------ -- atom /- A atomic expression within an SMTLIB s-expression. -/ inductive atom | reserved_word (r:reserved_word) : atom | symbol : symbol → atom | numeral : ℕ → atom namespace symbol /-- Con...
d76472924ba1f25a1d9616a790b8648ba9b7cc2b
618003631150032a5676f229d13a079ac875ff77
/src/tactic/interval_cases.lean
4d77b592cb54f71a9258d4212a39722764b862af
[ "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
10,404
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Scott Morrison Case bashing on variables in finite intervals. In particular, `interval_cases n` 1) inspects hypotheses looking for lower and upper bounds of the form `a ≤ n` and `n < ...
71990e00107303ee533dc30316a1fb874f5eda45
c3f2fcd060adfa2ca29f924839d2d925e8f2c685
/tests/lean/print_ax2.lean
e629bda5ddd55c9d0f8ba2b602c8010b00a599ae
[ "Apache-2.0" ]
permissive
respu/lean
6582d19a2f2838a28ecd2b3c6f81c32d07b5341d
8c76419c60b63d0d9f7bc04ebb0b99812d0ec654
refs/heads/master
1,610,882,451,231
1,427,747,084,000
1,427,747,429,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
62
lean
import logic.axioms.hilbert logic.axioms.funext print axioms
31b75e8e49303fe9794f45b5dd1b6d7d062a3922
853df553b1d6ca524e3f0a79aedd32dde5d27ec3
/src/analysis/normed_space/bounded_linear_maps.lean
00d77d40710d763f482ca72209e240645db47c31
[ "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
19,299
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Johannes Hölzl Continuous linear functions -- functions between normed vector spaces which are bounded and linear. -/ import analysis.normed_space.multilinear noncomp...
66a44a978d6782ab3a2cd15a75bde4b85d529ad6
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/tests/lean/hott/433.hlean
5cfd8ece851496296f7c181197e952fb8406d1c9
[ "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
4,831
hlean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn Ported from Coq HoTT Theorems about pi-types (dependent function spaces) -/ import types.sigma open eq equiv is_equiv funext namespace pi universe variables l k ...
0e6f0e3b27483f322b8bf83864c008aa8d932808
2c096fdfecf64e46ea7bc6ce5521f142b5926864
/src/Lean/Util/Trace.lean
730d284e8aa0d8165059c3b8d14932fb822f1a3d
[ "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
7,328
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich, Leonardo de Moura -/ import Lean.Exception /-! # Trace messages Trace messages explain to the user what problem Lean solved and what steps it took. Think of...
c58b505d10eda69b0ab5fa1ef92135025eb11893
50b3917f95cf9fe84639812ea0461b38f8f0dbe1
/blog/group_axioms_other/group_axioms_variables.lean
a40685c907bb4992d1bb9cd587a56b971a9984bb
[]
no_license
roro47/xena
6389bcd7dcf395656a2c85cfc90a4366e9b825bb
237910190de38d6ff43694ffe3a9b68f79363e6c
refs/heads/master
1,598,570,061,948
1,570,052,567,000
1,570,052,567,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,772
lean
-- do I use a section? What even is a section? -- so I use a namespace? What would a sensible convention be? -- I don't care about junk like imports at the beginning of files import data.equiv namespace xena -- This file is for undergraduate mathematicians who want to see the -- proof that one of the axioms that Lean...
d7bf7d656f676f99717b06fec22d9e3e0c2f93a5
8930e38ac0fae2e5e55c28d0577a8e44e2639a6d
/data/pfun.lean
5fe6c936c66cbeb1d37250868adca95bf2ecc87a
[ "Apache-2.0" ]
permissive
SG4316/mathlib
3d64035d02a97f8556ad9ff249a81a0a51a3321a
a7846022507b531a8ab53b8af8a91953fceafd3a
refs/heads/master
1,584,869,960,527
1,530,718,645,000
1,530,724,110,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,840
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import data.set data.set.basic data.option /-- `roption α` is the type of "partial values" of type `α`. It is similar to `option α` except the domain condition can ...
6d306418888c34cd96ae433de887e45d6e849c61
4ec0e92c725fad3fd2871a0ab050a7da1c719444
/src/mywork/lecture_10.lean
cf47d2c54e1e2c3bf86a7e00bb9de07c9c055b07
[]
no_license
mitchelltaylor06/cs2120f21
cc2c2b61a7e45c07faa849fcb8a66eb948753a25
efb71a748d7c76e24834d03b8f01c3ae084c1756
refs/heads/main
1,693,841,444,092
1,633,713,850,000
1,633,713,850,000
399,946,415
0
0
null
null
null
null
UTF-8
Lean
false
false
9,486
lean
/- In today's class, we'll continue with our exploration of the proposition, "false", its elimination rule, and their vital uses in logical reasoning: especially in - proof of ¬P by negation - proof of P by false elimination Here are the inference rules in display notation: NEGATION INTRODUCTION The first, proof...
5f947d1df4e0d6f977480024c7557b253aa4fde6
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/nat/squarefree.lean
0674ab65285c2ed4d5d3159fecb4a4a09851dd9d
[ "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
22,026
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import ring_theory.int.basic import data.nat.factorization.prime_pow import algebra.squarefree /-! # Lemmas about squarefreeness of natural numbers A number is squar...
c919428e8eca7f1bd1963ccc4985ec5ad6bb17aa
a047a4718edfa935d17231e9e6ecec8c7b701e05
/src/linear_algebra/finite_dimensional.lean
0c4717a2fa600f416d445d747d133a727556f74e
[ "Apache-2.0" ]
permissive
utensil-contrib/mathlib
bae0c9fafe5e2bdb516efc89d6f8c1502ecc9767
b91909e77e219098a2f8cc031f89d595fe274bd2
refs/heads/master
1,668,048,976,965
1,592,442,701,000
1,592,442,701,000
273,197,855
0
0
null
1,592,472,812,000
1,592,472,811,000
null
UTF-8
Lean
false
false
25,687
lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import linear_algebra.dimension import ring_theory.principal_ideal_domain /-! # Finite dimensional vector spaces Definition and basic properties of finite dimensional v...
3ece62b315947138671d16815f70bd8435d83eb1
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/e5.lean
8f555407802ec5577e51257e25984a992aa355b7
[ "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
1,581
lean
prelude definition Prop := Sort.{0} definition false : Prop := ∀ x : Prop, x #check false theorem false.elim (C : Prop) (H : false) : C := H C definition Eq {A : Type} (a b : A) := ∀ P : A → Prop, P a → P b #check Eq infix `=`:50 := Eq theorem refl {A : Type} (a : A) : a = a := λ P H, H definition true : Prop :=...
b6ba526d5eb99ffebaaefdfe95abd4463e9dba19
02fbe05a45fda5abde7583464416db4366eedfbf
/tests/lean/run/aexp.lean
ad1068af7ace7e657550ca3c65ca3c6c8bce9775
[ "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,655
lean
namespace imp open tactic @[reducible] def uname := string inductive aexp | val : nat → aexp | var : uname → aexp | plus : aexp → aexp → aexp | times : aexp → aexp → aexp instance : decidable_eq aexp := by mk_dec_eq_instance -- @[reducible] -- def value := nat def state := uname → nat open aexp def aval : a...
4d1dbd4e2c5b227b1ea3c0daff56e7bfd5ffb0e5
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebraic_topology/simplex_category.lean
a75189e9c9056a0876e012221bf50b3707f9035c
[ "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
30,446
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Scott Morrison, Adam Topaz -/ import tactic.linarith import category_theory.skeletal import data.fintype.sort import order.category.NonemptyFinLinOrd import category_t...
8e9f80fd53051547bd1df222d7c33b3a8596f650
618003631150032a5676f229d13a079ac875ff77
/src/data/padics/padic_integers.lean
ef88fff2c3ae160aede01de240cb2c7ddc29fed6
[ "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
10,436
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, Mario Carneiro -/ import data.int.modeq import data.padics.padic_numbers /-! # p-adic integers This file defines the p-adic integers ℤ_p as the subtype of ℚ_p with ...
b23a5e4a2fa1fbdba560b149306e5ea28a81fcc2
c777c32c8e484e195053731103c5e52af26a25d1
/test/monotonicity.lean
c4ab5d00dbac9a502291d73ebc2ae65ff7b33bcc
[ "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
9,009
lean
/- Copyright (c) 2019 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import tactic.monotonicity import tactic.norm_num import algebra.order.ring.defs import measure_theory.measure.lebesgue import measure_theory.function.locally_integrable im...
4154a3fb2a56b9fe0b56fc971f21dfc2aa75913d
b7f22e51856f4989b970961f794f1c435f9b8f78
/library/logic/weak_fan.lean
07d38f2185c8a78a86fd0d0f07c9832f1e1ae7ed
[ "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
4,854
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura This file is based on Coq's WeakFan.v file A constructive proof of a non-standard version of the weak Fan Theorem in the formulation of which infinite paths a...
5bcb84c66f0c6feb1cc744c904c6230ba637bc85
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/order/category/omega_complete_partial_order_auto.lean
1dfa20dafb031124d0c9d49ae690f1a7f8fb8226
[]
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
5,999
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.order.omega_complete_partial_order import Mathlib.order.category.Preorder import Mathlib.category_...
728da647756af63bb7b04fdccc439562a4061e7b
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/stage0/src/Lean/Compiler/LCNF/Simp/InlineCandidate.lean
ef3388ce7eaafec738915a9c3f3ac476060a4899
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
tobiasgrosser/lean4
ce0fd9cca0feba1100656679bf41f0bffdbabb71
ebdbdc10436a4d9d6b66acf78aae7a23f5bd073f
refs/heads/master
1,673,103,412,948
1,664,930,501,000
1,664,930,501,000
186,870,185
0
0
Apache-2.0
1,665,129,237,000
1,557,939,901,000
Lean
UTF-8
Lean
false
false
3,123
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.Simp.SimpM namespace Lean.Compiler.LCNF namespace Simp /-- Result of `inlineCandidate?`. It contains information for inlining lo...
28a8892510ae5dd13c4c8379dcb98cf1846f8f16
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/number_theory/modular_forms/slash_actions.lean
591978ad458c7494b6c010ee313326d9e503764f
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
9,704
lean
/- Copyright (c) 2022 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import analysis.complex.upper_half_plane.basic import linear_algebra.matrix.general_linear_group import linear_algebra.matrix.special_linear_group /-! # Slash actions...
794bec886df539e975129acd55d7bfbc140feb40
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/archive/imo/imo2013_q5.lean
d1308ec76bb8cf86770e3bb27e0490033424beef
[ "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
14,039
lean
/- Copyright (c) 2021 David Renshaw. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: David Renshaw -/ import algebra.geom_sum import data.rat.basic import data.real.basic /-! # IMO 2013 Q5 Let ℚ>₀ be the set of positive rational numbers. Let f: ℚ>₀ → ℝ be a function ...
96e11125abd25113c630925327dbd683fec676f3
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/tests/lean/run/reducible.lean
d87258157d415847d02c787fdc2bb1c8ce914a0c
[ "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
980
lean
open nat definition x [reducible] := (10:nat) definition y := (20:nat) definition z [irreducible] := (30:nat) definition w := (40:nat) (* local env = get_env() local x = Const("x") local y = Const("y") local z = Const("z") local w = Const("w") local val_x = env:fi...
e1815011a03ed58269e2a390622022d98e974766
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/order/conditionally_complete_lattice/basic.lean
1f9cbdbbe8cda29cb18345e303b58931067dec61
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
56,979
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 -/ import order.bounds.basic import order.well_founded import data.set.intervals.basic import data.set.lattice /-! # Theory of conditionally complete lattices. >...
15a8834333db3ee9d9efc67b89d613ec57161d8c
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/data/finsupp/big_operators.lean
9ff9d4c986385df68ff64cecdc480aabae6d3525
[ "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
4,899
lean
/- Copyright (c) 2022 Yakov Pechersky. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yakov Pechersky -/ import data.finsupp.basic /-! # Sums of collections of finsupp, and their support This file provides results about the `finsupp.support` of sums of collections o...
9e6e2cf6e9a4b47721410740693e1d2538702d41
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/category_theory/category.lean
edf2595a388e8200c9d48e1f93fb3b14ab4c812f
[ "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
5,364
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 Defines a category, as a typeclass parametrised by the type of objects. Introduces notations `X ⟶ Y` for the morphism spa...
d8e95ff72fe37ebe08efb5dbd3328007aa01a72c
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/scopedInstanceOutsideNamespace.lean
6b14ea596e48ef5ba5a002fe4ebbbb1ae96999ae
[ "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
249
lean
scoped instance : ToString Bool where -- Error toString b := if b then "t" else "f" #eval toString true scoped infix:65 "+" => Nat.add -- Error @[scoped instance] -- Error def myInst : ToString Bool where toString b := if b then "t" else "f"
c8c31503866cb0ccc5569f76dbf86bc0dc377666
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/group_theory/group_action/opposite.lean
6d3b9d2174b6e61290992f5276de078f2608bce5
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
5,962
lean
/- Copyright (c) 2020 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import algebra.group.opposite import group_theory.group_action.defs /-! # Scalar actions on and by `Mᵐᵒᵖ` > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this...
2d116b4161bd9d3748c20fccdd7910478497762e
7cef822f3b952965621309e88eadf618da0c8ae9
/src/category_theory/limits/functor_category.lean
1a0e2920e78cbcb8b94cd4981a3557c8d964973c
[ "Apache-2.0" ]
permissive
rmitta/mathlib
8d90aee30b4db2b013e01f62c33f297d7e64a43d
883d974b608845bad30ae19e27e33c285200bf84
refs/heads/master
1,585,776,832,544
1,576,874,096,000
1,576,874,096,000
153,663,165
0
2
Apache-2.0
1,544,806,490,000
1,539,884,365,000
Lean
UTF-8
Lean
false
false
4,865
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.products.basic import category_theory.limits.preserves open category_theory category_theory.category namespace category_theory.limits univer...
d552f3eeefb9a7eafd74aae2316e97454a25208c
bcdb337a071a6642a282053e6c285336b9716772
/Tensor.lean
603a25d28cc8f06f00395648ec56dd6b6bdf0385
[]
no_license
kovach/lean4-sparse-matrix-test
87a8b3a0b7785976eccfaf69b0d289940549f446
be9f6029883c88bf1f7588a0e6d3cde033368809
refs/heads/master
1,678,513,001,774
1,614,027,522,000
1,614,027,522,000
341,329,194
1
0
null
null
null
null
UTF-8
Lean
false
false
2,609
lean
-- Scott Kovach import Tensor.Basic open SparseVec section ParsingMtx def parseFloat! : String → Float | str => do let mut (sign, digits) : (Bool × String) := if str.front == '-' then (true, str.drop 1) else (false, str) let pred c := c.isDigit let (int, digits) := (Float.ofScientific (digits.takeWhile p...
5eb2c5634682fec7e4fdd93c0f355223accf063a
7cdf3413c097e5d36492d12cdd07030eb991d394
/src/game/world3/level9.lean
0ca6e968e0e0bb3c33cd39e9200f888313ef4f0b
[]
no_license
alreadydone/natural_number_game
3135b9385a9f43e74cfbf79513fc37e69b99e0b3
1a39e693df4f4e871eb449890d3c7715a25c2ec9
refs/heads/master
1,599,387,390,105
1,573,200,587,000
1,573,200,691,000
220,397,084
0
0
null
1,573,192,734,000
1,573,192,733,000
null
UTF-8
Lean
false
false
1,066
lean
import game.world3.level8 -- hide import mynat.mul -- hide namespace mynat -- hide /- # Multiplication World ## Level 9: `succ_mul` You are equipped with * `mul_assoc (a b c : mynat) : (a * b) * c = a * (b * c)` * `mul_comm (a b : mynat) : a * b = b * a` Re-read the docs for `rw` so you know all the tricks. You ca...
61c461d6a0da49ca2f77dc4a6f6bff8941dd52ad
8f67b34bba98f894155dedf263bc8d61c31e89cd
/2ltt/simplicial.lean
3bd82dbd28889865bd5dee2c1c0cc32f3f3ce7b1
[]
no_license
5HT/two-level
3b1523db242cba819681b862fbc8f490d9571a66
370f5a91311db3b463b10a31891370721e2476e2
refs/heads/master
1,648,254,367,420
1,576,269,550,000
1,576,269,550,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,342
lean
import data.fin algebra.monotone algebra.category open function nat fin definition fin_strict_order [instance] (n : ℕ) : strict_order (fin n) := strict_order.mk (λ i i', val i < val i') (λ i, lt.irrefl (val i)) (λ a b c, lt.trans) structure delta_plus (n m : ℕ) := (f : fi...
b7458fe54b5445c391312f125ccd5aa2d2cb61b9
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/algebra/hom/units.lean
95a912adabd39722d0b4ef655fea66fa00a978e9
[ "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
12,421
lean
/- Copyright (c) 2018 Johan Commelin All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Chris Hughes, Kevin Buzzard -/ import algebra.hom.group /-! # Monoid homomorphisms and units This file allows to lift monoid homomorphisms to group homomorphisms of th...
ab88dc5b36052590a1e9aab41a1f0f548865a538
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch3/ex0206.lean
c09e711ff4b0f07b0d6659a9cfb70c5c281d4a4b
[]
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
72
lean
constants p q : Prop theorem t1 (hp : p) (hq : q) : p := hp #check t1
3bcfdd9cf4bca222271e90096929da85c2503a64
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/blast_back1.lean
3bd380699252a23962e25fb1c3154c3ba1ba6f1f
[ "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
201
lean
constant r : nat → Prop constant p : nat → Prop definition q (a : nat) := p a lemma rq [intro] : ∀ a, r a → q a := sorry attribute q [reducible] example (a : nat) : r a → p a := by blast
ed877f55a3103bb564660bb0a815dbb9e79a6725
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/measure_theory/measure/regular.lean
859709a8d3abb521687dd824a6490609841a7c05
[ "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
33,701
lean
/- Copyright (c) 2021 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris Van Doorn, Yury Kudryashov -/ import measure_theory.constructions.borel_space /-! # Regular measures A measure is `outer_regular` if the measure of any measurable set `A` ...
59f5836a0e1a56f01fe853858736b4bb052b1e1f
9dc8cecdf3c4634764a18254e94d43da07142918
/src/combinatorics/quiver/path.lean
430bbf2e3a708e6e9980b49d624c24385ec537cb
[ "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
2,985
lean
/- Copyright (c) 2021 David Wärn,. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: David Wärn, Scott Morrison -/ import combinatorics.quiver.basic /-! # Paths in quivers Given a quiver `V`, we define the type of paths from `a : V` to `b : V` as an inductive family. We...
e3267335e806c6e6d6866cec52f8a9ffb542665f
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/extend_from.lean
474a27784ae7623d860839ad40e8b888759e054c
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
4,026
lean
/- Copyright (c) 2020 Anatole Dedecker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Anatole Dedecker -/ import topology.separation /-! # Extending a function from a subset The main definition of this file is `extend_from A f` where `f : X → Y` and ...
69f298c556be2a597d09d4050cb54cc9d6e38370
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/pi/algebra.lean
4276fe8c609fc2c1d565811d61cf2ede2e85bf6e
[ "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,719
lean
/- Copyright (c) 2020 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Patrick Massot, Eric Wieser -/ import algebra.group.to_additive import algebra.group.defs import data.prod.basic import logic.unique import tactic.congr import tactic.simpa i...
577b9cdcae08946d37b2b06835a037978d60902c
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/category_theory/eq_to_hom.lean
2bfea23606cb31901630f880cc93a55b22ddbea3
[ "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
6,003
lean
/- Copyright (c) 2018 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import category_theory.opposites /-! # Morphisms from equations between objects. When working categorically, sometimes one encounters an equation `h : X =...
74546058797145b9f57e09183e61a855bf344d64
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/04_Quantifiers_and_Equality.org.35.lean
5a95d7e62834a8b706548c376c443f8806945a75
[]
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
331
lean
/- page 60 -/ import standard import data.nat open nat -- BEGIN variable f : ℕ → ℕ premise H : ∀ x : ℕ, f x ≤ f (x + 1) example (H' : ∃ x, f (x + 1) ≤ f x) : ∃ x, f (x + 1) = f x := obtain x `f (x + 1) ≤ f x`, from H', exists.intro x (show f (x + 1) = f x, from le.antisymm `f (x + 1) ≤ f x` (H x)) -- END
0b710ffe6ab2ab3dc30e883f0474ab8dc15836c1
82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7
/tests/lean/run/macro3.lean
2e354328a56d797258ac0015d78ebbf7f3fe3bcd
[ "Apache-2.0" ]
permissive
banksonian/lean4
3a2e6b0f1eb63aa56ff95b8d07b2f851072d54dc
78da6b3aa2840693eea354a41e89fc5b212a5011
refs/heads/master
1,673,703,624,165
1,605,123,551,000
1,605,123,551,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
153
lean
syntax "call" term:max "(" (sepBy1 term ",") ")" : term macro_rules | `(call $f ($args*)) => `($f $(args.getSepElems)*) #check call Nat.add (1+2, 3)
59414556f1fa4a97ee6b13dc47063d1f6cf99498
5756a081670ba9c1d1d3fca7bd47cb4e31beae66
/Mathport/Binary/Basic.lean
7e3e299ac30bc64ef97ad3ed90c9258a37c119db
[ "Apache-2.0" ]
permissive
leanprover-community/mathport
2c9bdc8292168febf59799efdc5451dbf0450d4a
13051f68064f7638970d39a8fecaede68ffbf9e1
refs/heads/master
1,693,841,364,079
1,693,813,111,000
1,693,813,111,000
379,357,010
27
10
Apache-2.0
1,691,309,132,000
1,624,384,521,000
Lean
UTF-8
Lean
false
false
2,292
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Selsam -/ import Lean import Mathport.Util.Misc import Mathport.Bridge.Rename import Mathport.Bridge.Config namespace Mathport.Binary open Lean Lean.Meta Lean.Elab.Comm...
0dcc1f9af10aa130b2f3d82f781b433e34028c4a
1446f520c1db37e157b631385707cc28a17a595e
/tests/bench/const_fold.lean
e52f037a048fb093371122c48fc56e8dd45e1209
[ "Apache-2.0" ]
permissive
bdbabiak/lean4
cab06b8a2606d99a168dd279efdd404edb4e825a
3f4d0d78b2ce3ef541cb643bbe21496bd6b057ac
refs/heads/master
1,615,045,275,530
1,583,793,696,000
1,583,793,696,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,198
lean
inductive Expr | Var : Nat → Expr | Val : Nat → Expr | Add : Expr → Expr → Expr | Mul : Expr → Expr → Expr open Expr Nat def mkExpr : Nat → Nat → Expr | 0, v => if v = 0 then Var 1 else Val v | n+1, v => Add (mkExpr n (v+1)) (mkExpr n (v-1)) def appendAdd : Expr → Expr → Expr | Add e₁ e₂, e₃ => Add e₁ (appen...
b04d2fbc3c1c8f131d913b066febb754b37da463
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/library/data/set.lean
24b5226b31b0febc4b51e6781ed703063f03440b
[ "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
3,254
lean
---------------------------------------------------------------------------------------------------- --- Copyright (c) 2014 Jeremy Avigad. All rights reserved. --- Released under Apache 2.0 license as described in the file LICENSE. --- Author: Jeremy Avigad, Leonardo de Moura -------------------------------------------...
8167e2577237db493ec2fb695aa6fd0baafea4f7
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/topology/sheaves/forget.lean
ece632266d177cc9fcf53e3be23504ff5015fb97
[ "Apache-2.0" ]
permissive
jumpy4/mathlib
d3829e75173012833e9f15ac16e481e17596de0f
af36f1a35f279f0e5b3c2a77647c6bf2cfd51a13
refs/heads/master
1,693,508,842,818
1,636,203,271,000
1,636,203,271,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,053
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 topology.sheaves.sheaf import category_theory.limits.preserves.shapes.products import category_theory.limits.types /-! # Checking the sheaf condition on the u...
21e1709591aabdddc6c796582f57a2ce14eaf201
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/order/prime_ideal.lean
d602593536e5a53503d8564711032f4a46aeae10
[ "Apache-2.0" ]
permissive
ilitzroth/mathlib
ea647e67f1fdfd19a0f7bdc5504e8acec6180011
5254ef14e3465f6504306132fe3ba9cec9ffff16
refs/heads/master
1,680,086,661,182
1,617,715,647,000
1,617,715,647,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,188
lean
/- Copyright (c) 2021 Noam Atar. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Noam Atar -/ import order.basic import order.ideal import order.pfilter /-! # Prime ideals ## Main definitions Throughout this file, `P` is at least a preorder, but some sections require...
9bc36709dc7aba7a549e23c05417b1acd64feb52
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/tests/lean/vars1.lean
08a17d0e9ed27f5e1d6bb9f1bffe646390d22483
[ "Apache-2.0" ]
permissive
codyroux/lean0.1
1ce92751d664aacff0529e139083304a7bbc8a71
0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef
refs/heads/master
1,610,830,535,062
1,402,150,480,000
1,402,150,480,000
19,588,851
2
0
null
null
null
null
UTF-8
Lean
false
false
112
lean
import Int. variables a b c : Int variables d b e : Int variables d e f : Int eval 1 + 1 + a + b + c + d + e + f
b19c762b9fb973580f35cc4e626f6e54b8dc2cc3
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/assertion1.lean
0622cd0b1ce21ae02fe3b30c159e58abc553dcd7
[ "Apache-2.0" ]
permissive
GaloisInc/lean
aa1e64d604051e602fcf4610061314b9a37ab8cd
f1ec117a24459b59c6ff9e56a1d09d9e9e60a6c0
refs/heads/master
1,592,202,909,807
1,504,624,387,000
1,504,624,387,000
75,319,626
2
1
Apache-2.0
1,539,290,164,000
1,480,616,104,000
C++
UTF-8
Lean
false
false
1,262
lean
universe variables u v structure Category := (Obj : Type u) (Hom : Obj → Obj → Type v) universe variables u1 v1 u2 v2 structure Functor (C : Category.{ u1 v1 }) (D : Category.{ u2 v2 }) := (onObjects : C^.Obj → D^.Obj) @[reducible] definition ProductCategory (C : Category) (D : Category) : Category := {...
0239aa78fece78a5a4c32148720926b72651f42c
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/e8.lean
64f6f7a431edf2c9709752a9d9b9ccf5b5ab58a8
[ "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
851
lean
prelude precedence `+`:65 namespace nat constant nat : Type.{1} constant add : nat → nat → nat infixl + := add end nat namespace int open nat (nat) constant int : Type.{1} constant add : int → int → int infixl + := add constant of_nat : nat → int attribute of_nat [coercion] end int -- Open "only" the...
51cbfc4c1d052ced216b0a732ebd1fa5e20469e9
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/tc_caching.lean
b1e8420f2d58a23d3466b1ebe6de2ff855803140
[ "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
275
lean
set_option trace.type_context_cache true set_option trace.class_instances true -- The following declaration should only do two type class searches, and each -- only once: `has_one ℕ` and `has_add ℕ` def foo : function.const _ ℕ (1 + 1 + 1) := show ℕ, from 1 + 1 + 1
621c530fe8eba473bfff416ae7f20d978c1a5ecd
e61a235b8468b03aee0120bf26ec615c045005d2
/stage0/src/Init/Lean/Parser/Transform.lean
126d39cc8d9ae7b156f5376816a2ec6f91381abe
[ "Apache-2.0" ]
permissive
SCKelemen/lean4
140dc63a80539f7c61c8e43e1c174d8500ec3230
e10507e6615ddbef73d67b0b6c7f1e4cecdd82bc
refs/heads/master
1,660,973,595,917
1,590,278,033,000
1,590,278,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,570
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, Sebastian Ullrich -/ import Init.Lean.Parser.Parser namespace Lean namespace Syntax def manyToSepBy (stx : Syntax) (sepTk : String) : Syntax := match stx wi...
3aed3dddca1f09e88fa3c38afe267e76e1d23caf
5749d8999a76f3a8fddceca1f6941981e33aaa96
/src/data/matrix/basic.lean
0b0dd902f5d15cc3dfe0aa64a4580a9bf177166b
[ "Apache-2.0" ]
permissive
jdsalchow/mathlib
13ab43ef0d0515a17e550b16d09bd14b76125276
497e692b946d93906900bb33a51fd243e7649406
refs/heads/master
1,585,819,143,348
1,580,072,892,000
1,580,072,892,000
154,287,128
0
0
Apache-2.0
1,540,281,610,000
1,540,281,609,000
null
UTF-8
Lean
false
false
12,096
lean
/- Copyright (c) 2018 Ellen Arlt. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ellen Arlt, Blair Shi, Sean Leather, Mario Carneiro, Johan Commelin Matrices -/ import algebra.module algebra.pi_instances import data.fintype universes u v w def matrix (m n : Type u) ...
e241ccebe10e802a30f026079ce0290df9ecd4ec
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/stage0/src/Init/Lean/Meta/Reduce.lean
1656f0fe3ac311de461cb20781dca85b673286b5
[ "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
1,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 -/ prelude import Init.Lean.Meta.Basic import Init.Lean.Meta.FunInfo namespace Lean namespace Meta partial def reduceAux (explicitOnly : Bool) (skipTypes : B...
4bdbcf8863d7b720a7f75fe8e3803fb0b8094c6e
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Elab/StructInst.lean
84b5dc800b83c3b62d2e271818395c7fb4f62bfc
[ "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
38,567
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.Parser.Term import Lean.Meta.Structure import Lean.Elab.App import Lean.Elab.Binders namespace Lean.Elab.Term.StructI...
3208d4eb4bbdaf4f86799ee727e438d347f7eb87
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebra/ordered_field.lean
a94ccf43096e12d5fb1b777c5ec4e802c6ceedeb
[ "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
27,205
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, Mario Carneiro, Floris van Doorn -/ import algebra.ordered_ring import algebra.field import tactic.monotonicity.basic import algebra.group_power.order im...
1f795ec8b06b0bb9fbf47516e9c79ef0d05981c1
491068d2ad28831e7dade8d6dff871c3e49d9431
/library/logic/instances.lean
2f5cf01ca133867c2bcce7fb9d05209c001357fc
[ "Apache-2.0" ]
permissive
davidmueller13/lean
65a3ed141b4088cd0a268e4de80eb6778b21a0e9
c626e2e3c6f3771e07c32e82ee5b9e030de5b050
refs/heads/master
1,611,278,313,401
1,444,021,177,000
1,444,021,177,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,564
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad Class instances for iff and eq. -/ import logic.connectives algebra.relation namespace relation /- logical equivalence relations -/ definition is_equivalence_e...
a511df996b70c9f293353b93e198bbe4bc7d1c93
63abd62053d479eae5abf4951554e1064a4c45b4
/src/deprecated/subring.lean
f1cce871b52011eef81c1bfc25848ce53fa62791
[ "Apache-2.0" ]
permissive
Lix0120/mathlib
0020745240315ed0e517cbf32e738d8f9811dd80
e14c37827456fc6707f31b4d1d16f1f3a3205e91
refs/heads/master
1,673,102,855,024
1,604,151,044,000
1,604,151,044,000
308,930,245
0
0
Apache-2.0
1,604,164,710,000
1,604,163,547,000
null
UTF-8
Lean
false
false
8,558
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import deprecated.subgroup import deprecated.group universes u v open group variables {R : Type u} [ring R] /-- `S` is a subring: a set containing 1 and closed un...
1068949ab5900ea9aaf555243cd4482a4316d00d
ee8cdbabf07f77e7be63a449b8483ce308d37218
/lean/src/valid/mathd-numbertheory-84.lean
4d7be9cada47ba06ddb009ad512f044851f56c57
[ "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
330
lean
/- Copyright (c) 2021 OpenAI. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kunhao Zheng -/ import tactic.gptf import data.real.basic import algebra.floor example : floor ( (9:ℝ) / 160 * 100 ) = 5 := begin norm_num1, rw floor_eq_iff, split, norm_num, norm_n...
19905167c5062217454fc70ad40e4aa669aa434e
367134ba5a65885e863bdc4507601606690974c1
/src/geometry/euclidean/triangle.lean
1f0bf4a399fb3635eff6853db6e09bf79c6592c6
[ "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
16,998
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Joseph Myers. -/ import geometry.euclidean.basic import tactic.interval_cases noncomputable theory open_locale big_operators open_locale classical open_locale real open_locale real_inner...
11f53e4da56a8b8e093a556b8fa2d149d380a0e5
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/algebra/category/Module/colimits.lean
ea5a313780dd1cee413811093c120cbdee1950fa
[ "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
10,572
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.Module.basic import group_theory.quotient_group import category_theory.limits.concrete_category import category_theory.limits.shapes.kernels i...
606bf0b01a577d7bb09c5ce8f39938678adbc778
ea5678cc400c34ff95b661fa26d15024e27ea8cd
/list_append.lean
20757eea8802c35e08e382e98ddf6b5ff52d8505
[]
no_license
ChrisHughes24/leanstuff
dca0b5349c3ed893e8792ffbd98cbcadaff20411
9efa85f72efaccd1d540385952a6acc18fce8687
refs/heads/master
1,654,883,241,759
1,652,873,885,000
1,652,873,885,000
134,599,537
1
0
null
null
null
null
UTF-8
Lean
false
false
43
lean
theorem list_append_mem :∀ A B: list xnat
f37223045dde957c29a4ea9acf3f1edfce90ec02
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/category_theory/limits/shapes/constructions/binary_products.lean
00545817dd25ad10a18e515a9b8bf168128b0c97
[ "Apache-2.0" ]
permissive
dupuisf/mathlib
62de4ec6544bf3b79086afd27b6529acfaf2c1bb
8582b06b0a5d06c33ee07d0bdf7c646cae22cf36
refs/heads/master
1,669,494,854,016
1,595,692,409,000
1,595,692,409,000
272,046,630
0
0
Apache-2.0
1,592,066,143,000
1,592,066,142,000
null
UTF-8
Lean
false
false
1,676
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta -/ import category_theory.limits.shapes.terminal import category_theory.limits.shapes.pullbacks import category_theory.limits.shapes.binary_products universes v u /-! # Co...
3ca53ba92e91227eb6d2d1d9b8f5878b009ec86f
ff5230333a701471f46c57e8c115a073ebaaa448
/library/init/data/string/ops.lean
51a9d720ffa45a49efb602063b35949982a5b12d
[ "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
1,737
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...
0e009a56a142fd0a7659111b0574c779daf3417a
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/set_theory/game/short.lean
6b5867a25770ce81a2552720670d725f41af49e0
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
9,338
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 data.fintype.basic import set_theory.cardinal.cofinality import set_theory.game.birthday /-! # Short games > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any c...
46b9820796a514eae17424cc3f7d995c01945a39
9dc8cecdf3c4634764a18254e94d43da07142918
/src/category_theory/limits/small_complete.lean
2a3e54a107a88d3a2d3af9ff43b93cc3c45de5b5
[ "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
2,050
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta -/ import category_theory.limits.shapes.products import set_theory.cardinal.basic /-! # Any small complete category is a preorder We show that any small category which ha...
6e1421e11e6825d7aa2840e6e9029ddb0707f012
71c62298fd72620ddff9e4ed896ca29a77073a7c
/3.lean
926285ffcb529dc2e2ffde1a9c1a1165249b6e43
[]
no_license
BelegCuthalion/lean-exc
dcfe8e4c2293a661a830ce06f5fa032563901ec6
9143dc8b8aac62b9b2dcee85b619fe5c2e2a7144
refs/heads/master
1,688,507,036,780
1,627,883,419,000
1,627,883,419,000
335,643,688
3
2
null
null
null
null
UTF-8
Lean
false
false
7,157
lean
variables P Q R S : Prop -- commutativity of ∧ and ∨ example : P ∧ Q ↔ Q ∧ P := iff.intro (λ x : _, ⟨x.right, x.left⟩) (λ x : _, ⟨x.right, x.left⟩) example : P ∧ Q ↔ Q ∧ P := begin split, assume pq, show Q ∧ P, from ⟨pq.right, pq.left⟩, assume qp, show P ∧ Q, from ⟨qp.right, qp.left⟩ end example...
1fdca12b7d6340f994331a251c1ee8e60d664aab
bb31430994044506fa42fd667e2d556327e18dfe
/src/data/mv_polynomial/basic.lean
a361af8d54c349b9ce0623898fe3d740f5587eb6
[ "Apache-2.0" ]
permissive
sgouezel/mathlib
0cb4e5335a2ba189fa7af96d83a377f83270e503
00638177efd1b2534fc5269363ebf42a7871df9a
refs/heads/master
1,674,527,483,042
1,673,665,568,000
1,673,665,568,000
119,598,202
0
0
null
1,517,348,647,000
1,517,348,646,000
null
UTF-8
Lean
false
false
50,105
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, Johan Commelin, Mario Carneiro -/ import algebra.algebra.tower import algebra.monoid_algebra.support import data.finsupp.antidiagonal import order.symm_diff import rin...
99915dfbde80efd7148d73abdee0856554363ca8
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/pnat/factors.lean
805954aae0c34f47339720e358cbfe013a6db6c6
[ "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,740
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.big_operators.multiset.basic import data.pnat.prime import data.nat.factors import data.multiset.sort /-! # Prime factors of nonzero naturals > TH...
a82e476d534d9878bb50857e086175f4831142e8
618003631150032a5676f229d13a079ac875ff77
/src/algebra/ordered_field.lean
a23f7fcc49f93b0f5da2a3d21536b2cd8518b14a
[ "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
25,418
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, Mario Carneiro -/ import algebra.ordered_ring import algebra.field set_option default_priority 100 -- see Note [default priority] set_option old_structu...
2725258d44737016c0657922a9cb73f564b07b34
4fa161becb8ce7378a709f5992a594764699e268
/src/data/nat/digits.lean
cdc65f5a101d61b82620ce779506c782a6f68be2
[ "Apache-2.0" ]
permissive
laughinggas/mathlib
e4aa4565ae34e46e834434284cb26bd9d67bc373
86dcd5cda7a5017c8b3c8876c89a510a19d49aad
refs/heads/master
1,669,496,232,688
1,592,831,995,000
1,592,831,995,000
274,155,979
0
0
Apache-2.0
1,592,835,190,000
1,592,835,189,000
null
UTF-8
Lean
false
false
10,833
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import data.int.modeq import data.fintype.card import tactic.ring import tactic.interval_cases /-! # Digits of a natural number This provides a basic API for extrac...
1c20706aef3723a4b9f4ae0d245ac5ca03b6fe63
64874bd1010548c7f5a6e3e8902efa63baaff785
/tests/lean/run/inf_tree.lean
2f5d341cb2c19017bab7bf0fd53204ffd150b8c0
[ "Apache-2.0" ]
permissive
tjiaqi/lean
4634d729795c164664d10d093f3545287c76628f
d0ce4cf62f4246b0600c07e074d86e51f2195e30
refs/heads/master
1,622,323,796,480
1,422,643,069,000
1,422,643,069,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,265
lean
import logic data.nat.basic open nat inductive inftree (A : Type) := leaf : A → inftree A, node : (nat → inftree A) → inftree A namespace inftree inductive dsub {A : Type} : inftree A → inftree A → Prop := intro : Π (f : nat → inftree A) (a : nat), dsub (f a) (node f) definition dsub.node.acc {A : Type} (f : n...
d2f2872e960d694e3245a71fdc695224395537cd
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/1786.lean
0a64cb734e4e245b2ed248a1e0d9c6e2fa745185
[ "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
116
lean
theorem nil_subset : (true ∧ true) = true := by simp open list example (x : ℕ) : x = x := by simp [nil_subset]
6fca5008f1b11f797458433c63a49a6f0f4feddd
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/measure_theory/set_integral.lean
3f5ab4d2979fa929dcacd24c957f0f2a3eb8d22c
[ "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
28,702
lean
/- Copyright (c) 2020 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou, Yury Kudryashov -/ import measure_theory.bochner_integration import analysis.normed_space.indicator_function /-! # Set integral In this file we prove some properties of...
0798a69b8e64b11f45589e145603ed39c4eb0b8a
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/category_theory/limits/cones.lean
7a1a1c11088b088cee3dd9107a258050da9cfb27
[ "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
14,482
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 category_theory.const import category_theory.yoneda import category_theory.concrete_category.bundled_hom import category_theo...
6afc26aa3bd21c46b57c5c49967153c755cb1c77
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/special_functions/trigonometric/basic.lean
6969a50c079096b63ebb857692ffb411366e9c79
[ "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
41,492
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, Benjamin Davidson -/ import analysis.special_functions.exp import data.set.intervals.infinite /-! # Trigonometric functions...
b8e62e3319c95966eebdab695f4ab29e987c5984
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/category/Group/limits.lean
dfd5969dd3b2d24195edb98bf6d37ea875492aa8
[ "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
12,641
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.Mon.limits import algebra.category.Group.preadditive import category_theory.over import group_theory.subgroup.basic import category_theory.con...
a3fa1f1a2a1c03582beff13c0bdfd0693e78b474
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/662.lean
c6a868976561e4e7917db957b51c04ba319e269b
[ "Apache-2.0" ]
permissive
soonhokong/lean-osx
4a954262c780e404c1369d6c06516161d07fcb40
3670278342d2f4faa49d95b46d86642d7875b47c
refs/heads/master
1,611,410,334,552
1,474,425,686,000
1,474,425,686,000
12,043,103
5
1
null
null
null
null
UTF-8
Lean
false
false
1,156
lean
open nat inductive type : Type | Nat : type | Func : type → type → type open type section var variable {var : type → Type} inductive term : type → Type | Var : ∀ {t}, var t → term t | Const : nat → term Nat | Plus : term Nat → term Nat → term Nat | Abs : ∀ {dom ran}, (var dom → term ran) → term (Func dom ran)...
1feb5270a5c566b902d392d4b936271823bdd1b2
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/rat/defs.lean
cb303b9cfffe0748ebce7a720a5e0dbb59193023
[ "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
22,972
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import data.rat.init import data.int.cast.defs import data.int.dvd.basic import algebra.ring.regular import data.nat.gcd.basic import data.pnat.defs ...