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
33e6470d6437ae533aea71221cca83aac4cc9157
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/fail/failed_lemma.lean
d4135a6e4b0103811092b5cc38a5a546006ca9bf
[ "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
40
lean
lemma wrong : false := by tactic.failed
8fecf11b064476da6fd9906b2d343e757b8878d2
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/topology/uniform_space/compare_reals.lean
69a5c53be6edd86e1a40d37105156b3208602b12
[ "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,791
lean
/- Copyright (c) 2019 Patrick MAssot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot -/ import topology.uniform_space.absolute_value import topology.instances.real import topology.uniform_space.completion /-! # Comparison of Cauchy reals and Bourbaki re...
9d345f1be2a78bfeaa87392fdff81468a8e084fe
3dd1b66af77106badae6edb1c4dea91a146ead30
/tests/lean/run/ind2.lean
92aa21308b61979c66b9719cb9502b03593eb111
[ "Apache-2.0" ]
permissive
silky/lean
79c20c15c93feef47bb659a2cc139b26f3614642
df8b88dca2f8da1a422cb618cd476ef5be730546
refs/heads/master
1,610,737,587,697
1,406,574,534,000
1,406,574,534,000
22,362,176
1
0
null
null
null
null
UTF-8
Lean
false
false
264
lean
inductive nat : Type := | zero : nat | succ : nat → nat inductive vector (A : Type) : nat → Type := | vnil : vector A zero | vcons : Π {n : nat}, A → vector A n → vector A (succ n) check vector.{1} check vnil.{1} check vcons.{1} check vector_rec.{1 1}
3585d2826e2a487fe0784da3882199103575a795
01f6b345a06ece970e589d4bbc68ee8b9b2cf58a
/src/alg_norm_of_galois.lean
aeee1803aa0de388ca5ee70ddb4830a82638b18c
[]
no_license
mariainesdff/norm_extensions_journal_submission
6077acb98a7200de4553e653d81d54fb5d2314c8
d396130660935464fbc683f9aaf37fff8a890baa
refs/heads/master
1,686,685,693,347
1,684,065,115,000
1,684,065,115,000
603,823,641
0
0
null
null
null
null
UTF-8
Lean
false
false
14,133
lean
/- Copyright (c) 2023 María Inés de Frutos-Fernández. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: María Inés de Frutos-Fernández -/ import data.fintype.order import field_theory.fixed import normed_space /-! # alg_norm_of_auto and alg_norm_of_galois In the secti...
f0431fb71cca8d07e8a4820c078390fb026a0271
2de8c1580f92bb6c28b60135f589fe9d0513faba
/src/mv_polynomial.lean
c74a7c23593d3d5d9843052a37cd831b3e64be6c
[]
no_license
FCL-lean/verification
44a52e40ab78b18654b8d61bb55c2c912a40d2f4
be02c698c0ca78b18762e3fe7749cdc72a55d197
refs/heads/master
1,585,960,207,309
1,560,259,990,000
1,560,259,990,000
155,650,137
0
0
null
1,541,039,704,000
1,541,038,972,000
Lean
UTF-8
Lean
false
false
3,353
lean
import data.mv_polynomial ring_theory.noetherian finsupp finset open finsupp namespace mv_polynomial variables {σ : Type*} {α : Type*} [decidable_eq σ] [decidable_eq α] /-section discrete_field variables [discrete_field α] theorem HBT : is_noetherian (mv_polynomial σ α) (mv_polynomial σ α) := sorry lem...
096b2f415a074abe97b40d4fb0a52dfd37051dab
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/test/swap_var.lean
461254155fdaeb625e4398b701e84e848dbc01c9
[ "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
637
lean
import tactic.swap_var example (P Q : Prop) (hp : P) (hq : Q) : P ∧ Q := begin split, work_on_goal 2 { swap_var P Q }, all_goals { exact ‹P› } end example (P Q : Prop) (hp : P) (hq : Q) : P ∧ Q := begin split, work_on_goal 2 { swap_var [P Q] }, all_goals { exact ‹P› } end example (P Q : Prop) (hp : P) (h...
fa24ba515987ac4cfdb2d555e62eb1dd2208024c
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/data/complex/is_R_or_C.lean
acc35ec986eb1a085f389e677ab8527bb030917b
[ "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
37,044
lean
/- Copyright (c) 2020 Frédéric Dupuis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Frédéric Dupuis -/ import data.real.sqrt import field_theory.tower import analysis.normed_space.finite_dimension import analysis.normed_space.star.basic /-! # `is_R_or_C`: a typeclas...
34f7b1b37f9bdc5e890caf32de1ae5ad06410b5f
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/monoid_algebra/grading.lean
4473ac2be768b35d2836f6774417eaf24dd069ba
[ "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
8,102
lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import linear_algebra.finsupp import algebra.monoid_algebra.basic import algebra.direct_sum.internal import ring_theory.graded_algebra.basic /-! # Internal grading of an `...
ce1a963c93f05a6daee988a75ed9fcb4c111316a
b2fe74b11b57d362c13326bc5651244f111fa6f4
/src/data/list/basic.lean
2c0592a2c5993e3d9dd940eacd84f997e2b9cd1c
[ "Apache-2.0" ]
permissive
midfield/mathlib
c4db5fa898b5ac8f2f80ae0d00c95eb6f745f4c7
775edc615ecec631d65b6180dbcc7bc26c3abc26
refs/heads/master
1,675,330,551,921
1,608,304,514,000
1,608,304,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
176,782
lean
/- Copyright (c) 2014 Parikshit Khanna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Mario Carneiro -/ import algebra.order_functions import control.monad.basic import data.nat.choose.basic import ...
fb27efce5cf2a35c7131192baaea7ed20c46e3c0
97c8e5d8aca4afeebb5b335f26a492c53680efc8
/ground_zero/HITs/join.lean
57244c52f2af2bdc9505f9463106cfcd651e5270
[]
no_license
jfrancese/lean
cf32f0d8d5520b6f0e9d3987deb95841c553c53c
06e7efaecce4093d97fb5ecc75479df2ef1dbbdb
refs/heads/master
1,587,915,151,351
1,551,012,140,000
1,551,012,140,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,488
lean
import ground_zero.HITs.suspension open ground_zero.types.product (pr₁ pr₂) open ground_zero.types.dep_path (pathover_of_eq) hott theory /- Join. * HoTT 6.8 -/ namespace ground_zero.HITs universes u v w def join (α : Type u) (β : Type v) := @pushout α β (α × β) pr₁ pr₂ namespace join variables {α : Type u} {...
c9e588e68e32d9344005cf703c3ca327aefe3ec1
c777c32c8e484e195053731103c5e52af26a25d1
/src/algebra/category/Module/biproducts.lean
ac7e918c8c67802cc8da7457ccc96a69d5e3af36
[ "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
6,108
lean
/- Copyright (c) 2022 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.group.pi import category_theory.limits.shapes.biproducts import algebra.category.Module.abelian import algebra.homology.short_exact.abelian /-! # The ...
d6f6bf4d3908b90860fabc9ac55d37948d42af8c
9c1ad797ec8a5eddb37d34806c543602d9a6bf70
/universal/universal.lean
d396c16fea983f445dcce25ba65092bf96c43736
[]
no_license
timjb/lean-category-theory
816eefc3a0582c22c05f4ee1c57ed04e57c0982f
12916cce261d08bb8740bc85e0175b75fb2a60f4
refs/heads/master
1,611,078,926,765
1,492,080,000,000
1,492,080,000,000
88,348,246
0
0
null
1,492,262,499,000
1,492,262,498,000
null
UTF-8
Lean
false
false
7,884
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 .initial import ..isomorphism import ..natural_transformation import ..graph open tqft.categories open tqft.categories.functor open tqft.c...
addd8a0030799e292ee1694791d7fe5de4555cc6
969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb
/src/algebraic_topology/simplicial_set.lean
e7ed73fb62a77896650534c6dc59373db2d3d440
[ "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
4,184
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Scott Morrison -/ import algebraic_topology.simplicial_object import category_theory.yoneda import category_theory.limits.types /-! A simplicial set is just a simplici...
dac1ab30339d8b7d42275a2fdcc11382aee53074
efa51dd2edbbbbd6c34bd0ce436415eb405832e7
/20150803_CADE/examples/ex6.lean
193f1ef21d872aa0757da0137acccc7c8ff4aa49
[ "Apache-2.0" ]
permissive
leanprover/presentations
dd031a05bcb12c8855676c77e52ed84246bd889a
3ce2d132d299409f1de269fa8e95afa1333d644e
refs/heads/master
1,688,703,388,796
1,686,838,383,000
1,687,465,742,000
29,750,158
12
9
Apache-2.0
1,540,211,670,000
1,422,042,683,000
Lean
UTF-8
Lean
false
false
551
lean
open nat inductive inh [class] (A : Type) : Type := mk : A → inh A open inh definition def (A : Type) [h : inh A] : A := match h with | mk a := a end definition prop_inh [instance] : inh Prop := mk true definition nat_inh [instance] : inh nat := mk 0 definition fun_inh [instance] (A B : Type) [h : inh B] : inh (A...
0678865e5bd49169004c7d0ea23616117f32af4c
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/ring_theory/witt_vector/mul_coeff.lean
f59f173bd2bd62da101ef64ed63dcc090e7ce6fe
[ "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
12,698
lean
/- Copyright (c) 2022 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis, Heather Macbeth -/ import ring_theory.witt_vector.truncated import data.mv_polynomial.supported /-! # Leading terms of Witt vector multiplication The goal of this ...
05a7bbac1dffb9881a74fbfe5f3b29a005cbb9ce
9dc8cecdf3c4634764a18254e94d43da07142918
/src/linear_algebra/ray.lean
d05573e8e4a443d00e043e3d1ad6d6dd5eabade1
[ "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
24,567
lean
/- Copyright (c) 2021 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers -/ import linear_algebra.linear_independent /-! # Rays in modules This file defines rays in modules. ## Main definitions * `same_ray`: two vectors belong to the same ray...
4f9c7339d423e740bd9ac6920ec1122461e24b8b
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/special_functions/non_integrable.lean
4fc6b9f5ab2bbca1a82fba3b6728ea81f09e364c
[ "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
9,629
lean
/- Copyright (c) 2021 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import analysis.special_functions.integrals import analysis.calculus.fderiv_measurable /-! # Non integrable functions In this file we prove that the derivative of...
f322ff7f41156e635edefdf03d76e87642290736
a45212b1526d532e6e83c44ddca6a05795113ddc
/test/examples.lean
b8335058e2a4ece6b67f5dfa4c5d4ab7310cdc49
[ "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
4,529
lean
import tactic data.stream.basic data.set.basic data.finset data.multiset category.traversable.derive open tactic universe u variable {α : Type} example (s t u : set ℕ) (h : s ⊆ t ∩ u) (h' : u ⊆ s) : u ⊆ s → true := begin dunfold has_subset.subset has_inter.inter at *, -- trace_state, intro1, triv end exa...
2e7f8754cac9221242f5a2e794656c82857322dd
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/data/real/nnreal.lean
ac1c8c3ccaf1a96aff127f349ed35ff183e503bd
[ "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
29,307
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 algebra.linear_ordered_comm_group_with_zero import algebra.big_operators.ring import data.real.basic import data.indicator_function /-! # Nonnegative real num...
c1dab5a5cb74ba328a75e10426347c29e6cc7104
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/counterexamples/linear_order_with_pos_mul_pos_eq_zero.lean
b83f9dca5525b4730cc9061867bcd0bbb8f6c907
[ "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,347
lean
/- Copyright (c) 2021 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Damiano Testa, Kevin Buzzard -/ import algebra.order.monoid.defs import algebra.order.monoid.with_zero.defs /-! An example of a `linear_ordered_comm_monoid_with_zero` ...
14186762a929e4ecd87a872757557252699e15b6
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/measure_theory/probability_mass_function.lean
ca2e2602f09307fb5a935d2a0ceab1f3d232f857
[ "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
4,770
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 Probability mass function -- discrete probability measures -/ import topology.instances.ennreal noncomputable theory variables {α : Type*} {β : Type*} {γ : Type*} open_l...
97d4cbdb494e3907219d570d63a95e21e5928ca4
c31182a012eec69da0a1f6c05f42b0f0717d212d
/scripts/lint_project.lean
0e35526c0529367ce670f769292336b918e672af
[]
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
4,692
lean
/- Copyright (c) 2020 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis, Gabriel Ebner -/ import tactic.lint import system.io -- these are required import all -- then import everything, to parse the library for failing linters /-! # l...
ce256a47d791bad002dcac742d6800f297ebf448
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/run/impLambdaTac.lean
40c0a8f1c1875d6997112f2d37acd9f6777788ba
[ "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
673
lean
example (P : Prop) : ∀ {p : P}, P := by exact fun {p} => p example (P : Prop) : ∀ {p : P}, P := by intro h; exact h example (P : Prop) : ∀ {p : P}, P := by exact @id _ example (P : Prop) : ∀ {p : P}, P := by exact no_implicit_lambda% id macro "exact'" x:term : tactic => `(exact no_implicit_lambda% $x) exam...
962f1f90908a637a7e063e5c3f19626d436f3f77
95ac00a060729805e0320c0f4084d6b35729f8dd
/src/ring_theory/noetherian.lean
78f71862a8d6c712d5c953f474edbb6e098df30f
[ "Apache-2.0" ]
permissive
holtzermann17/mathlib
e71f8319634d8a1171ff0bf104e64ff838e8b641
d8f6dc46f2efb7278c6e5d68442c6e969388e93a
refs/heads/master
1,584,975,663,098
1,547,733,323,000
1,549,020,382,000
141,714,796
0
0
null
1,532,092,944,000
1,532,092,944,000
null
UTF-8
Lean
false
false
16,341
lean
/- Copyright (c) 2018 Mario Carneiro and Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Kevin Buzzard -/ import data.equiv.algebra import data.polynomial import linear_algebra.linear_combination import ring_theory.ideal_operations import...
87f0ed22ab04252e28db41ed24c9c1685a249f05
8b9f17008684d796c8022dab552e42f0cb6fb347
/hott/init/num.hlean
f32a3f4992a1a8a0abefb93ac21c183d0027621f
[ "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
3,364
hlean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: init.num Authors: Leonardo de Moura -/ prelude import init.logic init.bool open bool definition pos_num.is_inhabited [instance] : inhabited pos_num := inhabited.mk pos_num.one...
dfcdbcc936afacfa19802db5e79e3135ef6a0b37
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/scopedHindingIssue.lean
ac92c1705d6aa096880a23ab2bc505d8a9cbdf08
[ "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
162
lean
namespace Foo def x := 10 scoped macro "~0~" : term => `(0) #check ~0~ end Foo open Foo hiding x -- must open scoped notation and attributes too #check ~0~
d098a7eac72df0ccfdd4f64c7a03125775098abd
7cdf3413c097e5d36492d12cdd07030eb991d394
/src/game/world1/level4.lean
39bde728a5538d0b598424dfce504c3f26d3f021
[]
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
3,259
lean
import mynat.add -- definition of addition namespace mynat -- hide /- Axiom : add_zero (a : mynat) : a + 0 = a -/ /- Axiom : add_succ (a b : mynat) : a + succ(b) = succ(a + b) -/ /- # World 1 : Tutorial world ## Level 4: addition We have a new import -- the definition of addition. Peano defined addition `a + b` b...
7a4d16be046af776486be862e33c98fbdac610dd
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/analytic/radius_liminf.lean
ecb1d750d27daa7b8ad47de479cd8b4bcd5f621f
[ "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
2,491
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import analysis.analytic.basic import analysis.special_functions.pow /-! # Representation of `formal_multilinear_series.radius` as a `liminf` In this file we prov...
342f09dd5f148e32ac9380052c75e09505be1d3e
048b0801f6dafb6486ca4f22bd0957671c3002ff
/src/util/tactic.lean
2f6876203864a9b4f0a28edd60100ebb07cc2374
[ "Apache-2.0" ]
permissive
Scikud/lean-gym
e0782e36389ecfa1605a0c12dc95f67014a0fa05
a1ca851b7c09eca1f72be2d059e3ed5536348b0b
refs/heads/main
1,693,940,033,482
1,633,522,864,000
1,633,522,864,000
419,793,692
0
0
null
null
null
null
UTF-8
Lean
false
false
2,728
lean
/- Copyright (c) 2021 OpenAI. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author(s): Stanislas Polu, Jesse Michael Han Helper functions to work with the tactic monad. -/ import tactic import tactic.core import util.io import system.io import basic.control namespace expr m...
566ba62634b3c8e1e779ca0dceff018f5c8395c3
94e33a31faa76775069b071adea97e86e218a8ee
/src/category_theory/monoidal/category.lean
b1bb884e221f4c1f03af1de45d2a94418435e44d
[ "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
20,658
lean
/- Copyright (c) 2018 Michael Jendrusch. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Michael Jendrusch, Scott Morrison, Bhavik Mehta, Jakob von Raumer -/ import category_theory.products.basic /-! # Monoidal categories A monoidal category is a category equipped wit...
4939fd536b758daed2e8b1454242ebb2f7d767da
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/tactic/derive_inhabited.lean
848db5114f51904236322e92e124917ef156f50c
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
2,352
lean
/- Copyright (c) 2020 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ import logic.basic /-! # Derive handler for `inhabited` instances This file introduces a derive handler to automatically generate `inhabited` instances for structures...
68380cca0142b25d060d02466df64a61fa2b2e23
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/analysis/complex/real_deriv.lean
2ee7a384c0c48138df70c9fdb3940dd78529adae
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
2,930
lean
/- Copyright (c) Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import analysis.calculus.times_cont_diff import analysis.complex.basic /-! # Real differentiability of complex-differentiable functions `has_deriv_at.real_of_compl...
79744bcd87c7f4bb13e72db21a7907a6fa13f201
076f5040b63237c6dd928c6401329ed5adcb0e44
/assignments/hw7_bool_sat/bool_sat_playground.lean
bc159ad3e7504e9c0584bf77c125ed0a3ebac7aa
[]
no_license
kevinsullivan/uva-cs-dm-f19
0f123689cf6cb078f263950b18382a7086bf30be
09a950752884bd7ade4be33e9e89a2c4b1927167
refs/heads/master
1,594,771,841,541
1,575,853,850,000
1,575,853,850,000
205,433,890
4
9
null
1,571,592,121,000
1,567,188,539,000
Lean
UTF-8
Lean
false
false
495
lean
import .prop_logic import .bool_sat open prop_logic open prop_logic.var open prop_logic.pExp /- Play around, i.e., experiment with, and practicing using, the functions defined in bool_sat.lean. Here are a few definitions to get you started. -/ /- We define a few variables to use in the rest of this assignment. -/ ...
f49a38d966f91114ecf2c617d154327158f76b1e
367134ba5a65885e863bdc4507601606690974c1
/src/tactic/split_ifs.lean
97efa1f8f06d4f340973d79dc8b5d71ce22b78f2
[ "Apache-2.0" ]
permissive
kodyvajjha/mathlib
9bead00e90f68269a313f45f5561766cfd8d5cad
b98af5dd79e13a38d84438b850a2e8858ec21284
refs/heads/master
1,624,350,366,310
1,615,563,062,000
1,615,563,062,000
162,666,963
0
0
Apache-2.0
1,545,367,651,000
1,545,367,651,000
null
UTF-8
Lean
false
false
3,305
lean
/- Copyright (c) 2018 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner. Tactic to split if-then-else-expressions. -/ import tactic.hint open expr tactic namespace tactic open interactive meta def find_if_cond : expr → option expr | e := e...
7b54316c3899fa2e26506b2780f65f191f28d1e1
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/topology/instances/nnreal.lean
be3fd4fefa3beb03f3d517aa06d9aa2f5582b79d
[ "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
5,057
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 noncomputable theory open set topological_space metric open_locale topological_space namespace nnreal...
176211d91ed6d232f73d990473d8f702c44602b6
562dafcca9e8bf63ce6217723b51f32e89cdcc80
/src/super/simp.lean
f6974e58539f5605677f1c4885d84c5343e256ba
[]
no_license
digama0/super
660801ef3edab2c046d6a01ba9bbce53e41523e8
976957fe46128e6ef057bc771f532c27cce5a910
refs/heads/master
1,606,987,814,510
1,498,621,778,000
1,498,621,778,000
95,626,306
0
0
null
1,498,621,692,000
1,498,621,692,000
null
UTF-8
Lean
false
false
1,496
lean
/- Copyright (c) 2017 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ import .clause_ops .prover_state open tactic monad namespace super meta def prove_using_assumption : tactic unit := do tgt ← target, ass ← mk_local_def `h tgt, exact ...
e44da41ef7806e4ffdc5bc2724b3c83eefa8c428
07c6143268cfb72beccd1cc35735d424ebcb187b
/src/algebra/group/basic.lean
91182c55def980eb3b559f69f46128cfe14c3b52
[ "Apache-2.0" ]
permissive
khoek/mathlib
bc49a842910af13a3c372748310e86467d1dc766
aa55f8b50354b3e11ba64792dcb06cccb2d8ee28
refs/heads/master
1,588,232,063,837
1,587,304,803,000
1,587,304,803,000
176,688,517
0
0
Apache-2.0
1,553,070,585,000
1,553,070,585,000
null
UTF-8
Lean
false
false
9,562
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Simon Hudon, Mario Carneiro -/ import algebra.group.to_additive logic.function attribute [simp] sub_neg_eq_add /-! # Extra identities for semigroups, monoids, and group...
9c4cb8f9ff1b65978140e94062f4781ed3ba928c
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/order/filter/interval.lean
ee35a54c3ed61f9f57c2ff26fb748105120364b5
[ "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
10,031
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 -/ import data.set.intervals.ord_connected import order.filter.lift import order.filter.at_top_bot /-! # Convergence of intervals If both `a` and `b` tend to s...
c8722bc7af738db49f94f49d27d219e241517d94
abd85493667895c57a7507870867b28124b3998f
/src/analysis/special_functions/pow.lean
3f969db785163fadf7d61e3daee06864b33d57c5
[ "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
46,833
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, Sébastien Gouëzel -/ import analysis.special_functions.trigonometric import analysis.calculus.extend_deriv /-! # Power func...
14d733efb7a7581733463a2d17a9bd875c359a19
3f7026ea8bef0825ca0339a275c03b911baef64d
/src/category_theory/limits/shapes/binary_products.lean
aa8f5e463f84ac1563bf2c77f337fb82ad96b8a1
[ "Apache-2.0" ]
permissive
rspencer01/mathlib
b1e3afa5c121362ef0881012cc116513ab09f18c
c7d36292c6b9234dc40143c16288932ae38fdc12
refs/heads/master
1,595,010,346,708
1,567,511,503,000
1,567,511,503,000
206,071,681
0
0
Apache-2.0
1,567,513,643,000
1,567,513,643,000
null
UTF-8
Lean
false
false
7,629
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.finite_products import category_theory.limits.shapes.terminal import category_theory.discrete_category /-! # Pullbacks We defin...
26c55dbb5371ae58d5a4c39969866a6c049d7215
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/run/assertAfterBug.lean
c2547ece743a6e9bb65151f381a390c60a34e5cb
[ "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
2,046
lean
import Std inductive Expr where | var (i : Nat) | op (lhs rhs : Expr) deriving Inhabited, Repr def List.getIdx : List α → Nat → α → α | [], i, u => u | a::as, 0, u => a | a::as, i+1, u => getIdx as i u structure Context (α : Type u) where op : α → α → α unit : α assoc : (a b c : α) → op...
d266682803383a3f3274340938ebd0c5cfc30306
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Elab/GenInjective.lean
becc897bb6be5adbe42bea3d4e5edc66ad18b667
[ "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
494
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Elab.Command import Lean.Meta.Injective namespace Lean.Elab.Command @[builtin_command_elab genInjectiveTheorems] def elabGenInjectiveTheorems ...
344d62e448301d272dccda3d7df9e9da6de72f03
1d335ec6ac4181a0a762b12797936770cc9fcef9
/eval/timeEval.lean
0c482cc6cfcfd54d288ac29b20fb51293478cc34
[]
no_license
rohanrajnair/lang
dbadcc3997e44245ca84d48dc1733cf09a2605a6
3beb4e29d8faa692983a55fa18acb6eb947134e8
refs/heads/master
1,672,640,379,424
1,597,948,771,000
1,597,948,771,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
236
lean
import ..imperative_DSL.environment open lang.classicalTime def classicalTimeEval : lang.classicalTime.expr → environment.env → classicalTime | (lang.classicalTime.expr.lit V) i := V | (lang.classicalTime.expr.var v) i := i.t v
b964ee67f2a0c881049e260274c23f9c6d877ff0
ad0c7d243dc1bd563419e2767ed42fb323d7beea
/ring_theory/matrix.lean
db88ebf56b08ccabed225c4b870d0eb727abe9ff
[ "Apache-2.0" ]
permissive
sebzim4500/mathlib
e0b5a63b1655f910dee30badf09bd7e191d3cf30
6997cafbd3a7325af5cb318561768c316ceb7757
refs/heads/master
1,585,549,958,618
1,538,221,723,000
1,538,221,723,000
150,869,076
0
0
Apache-2.0
1,538,229,323,000
1,538,229,323,000
null
UTF-8
Lean
false
false
6,850
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 data.fintype algebra.pi_instances universes u v def matrix (m n : Type u) [fintype...
583820f9da4e881a575a4f2c18510ff131acd8ad
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/doc/monads/laws.lean
cbcef0b134aabce0a0a0d2e179f7eeaa2159aa49
[ "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
11,101
lean
/-! # Monad Laws In the previous sections you learned how to use [Functors](functors.lean.md), [Applicatives](applicatives.lean.md), and [Monads](monads.lean.md), and you played with some useful instances including [Option](monads.lean.md), [IO](monads.lean.md), [Reader](readers.lean.md), [State](states.lean.md) and [...
d2590ea647f8a1eea748328cd1a9b8c73a86b59d
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/equiv/mul_add_aut.lean
a93aa10cd5c9c3379d084d94e0b9b4aa8afaed85
[ "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
6,006
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Callum Sutton, Yury Kudryashov -/ import data.equiv.mul_add import group_theory.perm.basic /-! # Multiplicative and additive group automorphisms This file defines the...
4599ef6f6eafd95f06ab4df2869e5835d88a2f97
82e44445c70db0f03e30d7be725775f122d72f3e
/src/category_theory/limits/shapes/disjoint_coproduct.lean
0f01177245a3f00b1ddba27d7497a09b4ea2f9e8
[ "Apache-2.0" ]
permissive
stjordanis/mathlib
51e286d19140e3788ef2c470bc7b953e4991f0c9
2568d41bca08f5d6bf39d915434c8447e21f42ee
refs/heads/master
1,631,748,053,501
1,627,938,886,000
1,627,938,886,000
228,728,358
0
0
Apache-2.0
1,576,630,588,000
1,576,630,587,000
null
UTF-8
Lean
false
false
5,225
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 category_theory.limits.shapes.binary_products import category_theory.limits.shapes.pullbacks import category_theory.limits.over /-! # Disjoint coproducts Defines...
65e009fd24fa955c093aca44697cfcc6037fc1a8
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/group_theory/submonoid/basic.lean
fd578df11c822f7f0eb0d6924c891447767eb5f2
[ "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
17,323
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Kenny Lau, Johan Commelin, Mario Carneiro, Kevin Buzzard, Amelia Livingston, Yury Kudryashov -/ import data.set.lattice import data.set_like.basic /-! # Submonoids: de...
f157d8c4d18cf1a24456fe1d7d05ed4f948c9944
0c1546a496eccfb56620165cad015f88d56190c5
/library/init/function.lean
3e308852fe99e4e691860cb1b6840744d107d4b1
[ "Apache-2.0" ]
permissive
Solertis/lean
491e0939957486f664498fbfb02546e042699958
84188c5aa1673fdf37a082b2de8562dddf53df3f
refs/heads/master
1,610,174,257,606
1,486,263,620,000
1,486,263,620,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,412
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, Haitao Zhang General operations on functions. -/ prelude import init.data.prod init.funext init.logic universe variables u₁ u₂ u₃ u₄ namespace...
dc193511bc88ef21eb344cb945642c450c9b9366
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/algebra/group/ulift.lean
23938c8878b74c367aecec22099a8c39ea1539cf
[ "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
3,322
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.equiv.mul_add /-! # `ulift` instances for groups and monoids This file defines instances for group, monoid, semigroup and related structures on `ulift` ...
f223ccdb02b2e98763f4b6f43c89ab2361215916
b00eb947a9c4141624aa8919e94ce6dcd249ed70
/stage0/src/Lean/Server/FileWorker.lean
27eaff81771744ce168fd86a945392029739fee6
[ "Apache-2.0" ]
permissive
gebner/lean4-old
a4129a041af2d4d12afb3a8d4deedabde727719b
ee51cdfaf63ee313c914d83264f91f414a0e3b6e
refs/heads/master
1,683,628,606,745
1,622,651,300,000
1,622,654,405,000
142,608,821
1
0
null
null
null
null
UTF-8
Lean
false
false
36,212
lean
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ import Init.System.IO import Std.Data.RBMap import Lean.Environment import Lean.PrettyPrinter import Lean.DeclarationRange import Lean.Data.Lsp im...
9e8d1fead8301573c8fc8548454aae184866fdbc
4ec0e92c725fad3fd2871a0ab050a7da1c719444
/src/mywork/lecture_12.lean
e7d3e4557c787f64ab4fccd6d64daaf3c51e92df
[]
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
685
lean
/- We -/ def ev (n : ℕ) : Prop := n%2=0 example : exists (n : ℕ), ev n := begin apply exists.intro _ _, exact 6, apply eq.refl, end example : exists n, ev n := _ def pythagorean_triple(a b c : nat) : Prop := a * a + b * b = c * c example: pythagorean_triple 3 4 5:= begin unfold pythagorean_triple, apply...
4541e4dbe00e6478b3d7356525fba784b7a52985
b70031c8e2c5337b91d7e70f1e0c5f528f7b0e77
/src/data/list/basic.lean
a0f672fb6630e2d7efdc1cee431d087f89c53c9f
[ "Apache-2.0" ]
permissive
molodiuc/mathlib
cae2ba3ef1601c1f42ca0b625c79b061b63fef5b
98ebe5a6739fbe254f9ee9d401882d4388f91035
refs/heads/master
1,674,237,127,059
1,606,353,533,000
1,606,353,533,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
176,540
lean
/- Copyright (c) 2014 Parikshit Khanna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Mario Carneiro -/ import algebra.order_functions import control.monad.basic import data.nat.choose.basic import ...
90d210ec69f8570e07b56f46fa9bf98634158ddd
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/topology/metric_space/basic.lean
66b43c8a115ac44311703b4ee7034a116f405676
[ "Apache-2.0" ]
permissive
ayush1801/mathlib
78949b9f789f488148142221606bf15c02b960d2
ce164e28f262acbb3de6281b3b03660a9f744e3c
refs/heads/master
1,692,886,907,941
1,635,270,866,000
1,635,270,866,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
103,841
lean
/- Copyright (c) 2015, 2017 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis, Johannes Hölzl, Mario Carneiro, Sébastien Gouëzel -/ import data.int.interval import topology.algebra.ordered.compact import topology.metric_space...
6dac53f079a61a60497a87da72aa3bc74ee75eb4
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/unsound.lean
9bc18330634acba61f13a77cbdb334aa74661ac2
[ "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
155
lean
def foo (h : ∃ x: Nat, True) := h.1 theorem contradiction : False := (by decide : 0 ≠ 1) (show foo ⟨0, trivial⟩ = foo ⟨1, trivial⟩ from rfl)
ac30c403fe443655a530e178d2e95b6a7b0cb5a9
bb31430994044506fa42fd667e2d556327e18dfe
/src/number_theory/modular_forms/congruence_subgroups.lean
3426c626336ec4ff88610135b24600123ed5dd9b
[ "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
7,966
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 linear_algebra.special_linear_group import data.zmod.basic import group_theory.subgroup.pointwise import group_theory.group_action.conj_act /-! # Congruence su...
fcd880b094b4d2a1c04e5fb16423b53b1769fdbb
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/data/set/basic.lean
ed271be736e536d2a085793cfb7b778624be3ca6
[ "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
113,257
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 -/ import logic.unique import logic.relation import order.boolean_algebra /-! # Basic properties of sets Sets in Lean are homogeneous; all their eleme...
29eb2f472a4c84ab7374c449b0fc84da2ec92ab1
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/data/set/intervals.lean
a980e12b37a14bd18af99fe8d558858aeab0fb8a
[ "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
11,895
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Patrick Massot Intervals Naming conventions: `i`: infinite `o`: open `c`: closed Each interval has the name `I` + letter for left side + letter...
661c899076024b572dd9536d20620d848a733227
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/module/projective.lean
ca4949996259cd421e84755505b9ab1e6bb8673e
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
6,840
lean
/- Copyright (c) 2021 Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard -/ import algebra.module.basic import linear_algebra.finsupp import linear_algebra.free_module.basic /-! # Projective modules This file contains a definition of a proj...
0f945865d2842fa21cc217faf7c6c55f195a2a92
bb31430994044506fa42fd667e2d556327e18dfe
/src/linear_algebra/basic.lean
379751730d4b5c9dcdaba6f193673c2e370b2a5f
[ "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
87,597
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, Kevin Buzzard, Yury Kudryashov, Frédéric Dupuis, Heather Macbeth -/ import algebra.big_operators.pi import algebra.module.hom import algebra.module.pr...
e38772cbe93ada69fcbafbf58c4eb5f06266b120
c777c32c8e484e195053731103c5e52af26a25d1
/src/group_theory/commutator.lean
8d2ca4052460ab0f19bd60205dd6baeb9349fc38
[ "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,766
lean
/- Copyright (c) 2021 Jordan Brown, Thomas Browning, Patrick Lutz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jordan Brown, Thomas Browning, Patrick Lutz -/ import data.bracket import group_theory.subgroup.finite import tactic.group /-! # Commutators of Subgroups...
fd688245b31b60207ed40d42a6a4c154896968c6
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/algebra/spectrum.lean
457dbacc3e6a68f2cc342c662ae740a6b6af1b4c
[ "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,696
lean
/- Copyright (c) 2021 Jireh Loreaux. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jireh Loreaux -/ import algebra.star.pointwise import algebra.star.subalgebra import field_theory.is_alg_closed.basic import tactic.noncomm_ring /-! # Spectrum of an element in an algeb...
fc7cbce6e825a670155e429928e008b3bb98e724
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/group_theory/submonoid/operations.lean
ab197c4f79197b7ad76bc6f9b83787e61ccee638
[ "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
45,487
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Kenny Lau, Johan Commelin, Mario Carneiro, Kevin Buzzard, Amelia Livingston, Yury Kudryashov -/ import algebra.order.monoid.cancel.basic import group_theory.group_actio...
45eced51cf1a556866e9cbfe48d57014b27276b8
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean.lean
74de8f0ba2fc08c8859bce172e6a356882692092
[ "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
872
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.Data import Lean.Compiler import Lean.Environment import Lean.Modifiers import Lean.ProjFns import Lean.Runtime import Lean.ResolveName import L...
72b8b1938851849e977900fdc687fca308e307d3
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/playground/seq1.lean
12b75df05901e8bb57b14078c551a87e71751926
[ "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
825
lean
abbrev M := ExceptT String $ StateT Nat Id /- The following instances are not needed, but they speedup the proof -/ instance : Monad M := inferInstance instance : LawfulMonad M := inferInstance instance : MonadStateOf Nat M := inferInstance instance : Bind M := inferInstance instance : Pure M := inferInstance syntax ...
8718f9a9a7b21e8968dacde6dbbce154e722da74
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/tests/lean/run/structure_test.lean
767f78b39c7bfc08ec2bcbcda267725ad8d80ed2
[ "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
696
lean
import logic data.sigma inductive point (A B : Type) := mk : Π (x : A) (y : B), point A B inductive color [class] := red, green, blue constant foo.{l} (A : Type.{l}) [H : decidable_eq A] : Type.{l} constants a : num section universe variable l variable A : Type.{l} variable Ha : decidable_eq A variable E :...
ba1a3d2cf26a899848d47876dc1007a164a147e2
60bf3fa4185ec5075eaea4384181bfbc7e1dc319
/src/game/sup_inf/infSumSets.lean
c54a4b26890a6e5b4068bad4ff9089d834e4ed17
[ "Apache-2.0" ]
permissive
anrddh/real-number-game
660f1127d03a78fd35986c771d65c3132c5f4025
c708c4e02ec306c657e1ea67862177490db041b0
refs/heads/master
1,668,214,277,092
1,593,105,075,000
1,593,105,075,000
264,269,218
0
0
null
1,589,567,264,000
1,589,567,264,000
null
UTF-8
Lean
false
false
1,392
lean
import data.real.basic namespace xena -- hide /- # Chapter 3 : Sup and Inf ## Level 6 This level, very similar to the previous, showcases the infimum. -/ def sum_of_sets (A : set ℝ) (B : set ℝ) := { x : ℝ | ∃ y ∈ A, ∃ z ∈ B, x = y + z} /- Lemma If $A$ and $B$ are sets of reals, then $$ \textrm{inf} (A + B) = \te...
ea6674bfaeb65db97c66e657b1e4ac6e6b16a3d8
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/category/Mon/basic.lean
133f643d87ea4fa6d50b6663fd1d6945a62b32ea
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
8,152
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.concrete_category.bundled_hom import Mathlib.category_theory.concrete_categ...
9e9a914e7841b4ef0d8198574fcbeae859bdb0b2
b7f22e51856f4989b970961f794f1c435f9b8f78
/library/algebra/category/morphism.lean
1f3da406ace135a28c3f4f8fcd2d6046908c757a
[ "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
11,837
lean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn -/ import .basic algebra.relation algebra.binary open eq eq.ops category namespace morphism variables {ob : Type} [C : category ob] include C variables {a b c ...
a0d90bcfe44a34d7e79fd34f178ae178ffbba2ec
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/lake/Lake/Util/Casing.lean
662c339f6113696a72a8f18c208773d8c41dc668
[ "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
680
lean
/- Copyright (c) 2022 Mac Malone. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mac Malone -/ namespace Lake open Lean (Name) /-- Converts a snake case, kebab case, or lower camel case `String` to upper camel case. -/ def toUpperCamelCaseString (str : String) : Strin...
52797d91f86c6d7305388a9825353ac44107ad5d
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Meta/ForEachExpr.lean
dd9997f40f05d949c73ce77df5c8147021e6ef14
[ "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
4,829
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.Expr import Lean.Util.MonadCache import Lean.Meta.Basic namespace Lean.Meta namespace ForEachExpr abbrev M := MonadCacheT Expr Unit MetaM mut...
5c81a6e47b079d2c1ef31f00783603e48c958f63
9dc8cecdf3c4634764a18254e94d43da07142918
/src/order/atoms.lean
7435fec154fd2cc32e2b5248ed21c75243e3d7dd
[ "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
26,149
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import order.complete_boolean_algebra import order.cover import order.modular_lattice import data.fintype.basic /-! # Atoms, Coatoms, and Simple Lattices This modu...
005093b7aa8e20fdcf3d8e3a3a0f30864b888422
271e26e338b0c14544a889c31c30b39c989f2e0f
/src/Init/Lean/Elab.lean
0f57175a71ad76f092cc9a9a84c81fb8931b215e
[ "Apache-2.0" ]
permissive
dgorokho/lean4
805f99b0b60c545b64ac34ab8237a8504f89d7d4
e949a052bad59b1c7b54a82d24d516a656487d8a
refs/heads/master
1,607,061,363,851
1,578,006,086,000
1,578,006,086,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
495
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.Elab.Import import Init.Lean.Elab.Exception import Init.Lean.Elab.ElabStrategyAttrs import Init.Lean.Elab.Command import Init.Lean....
77fc3ef18bc5da8c5f9e426ef68277b273f5357b
491068d2ad28831e7dade8d6dff871c3e49d9431
/hott/types/prod.hlean
7d1ae986b090dd678f66c2fbbb94c62169c6910f
[ "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
7,600
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 products -/ open eq equiv is_equiv is_trunc prod prod.ops unit equiv.ops variables {A A' B B' C D : Type} {P Q : A → Type} ...
f98680cddc509793506572d7d706dff6484365b5
de44c57911f8f2292d4105ccefe4372f3880a7b7
/src/ulc.lean
a53d431627e22b1d42efb9f1b8c32bc887c3ff0a
[]
no_license
nyuichi/LeanHOL
108b1df4daab61b60b0160a7f56cf6b7dd8f57fe
8190f2d4234f0f39c9e7b5612e552e72ab002798
refs/heads/master
1,587,207,990,491
1,569,724,629,000
1,569,724,629,000
167,488,678
22
0
null
null
null
null
UTF-8
Lean
false
false
2,847
lean
-- 1. untyped lambda calculus -- inductive preterm : Type -- | lam : (preterm → preterm) → preterm -- | app : preterm → preterm → preterm inductive preterm (α : Type) : Type | var : α → preterm | lam : (α → preterm) → preterm | app : preterm → preterm → preterm open preterm def Preterm : Type 1 := -- Type 1 Π α, pre...
bb7b723e4ca971e83dcfdf1c7aac51d7647e0f9b
1d84cb910096355cbab71b20f7d89a9cdf041587
/src/basic.lean
337682d173dacfd446a11b825d9b6d2ede019cab
[]
no_license
owen-fool/Lean_Fundamental_Group
20625c08eeed79164467453fe1940d841edf1c3a
ed415401c987b907dbe2b78984e7d3200d3e9b6c
refs/heads/main
1,687,377,470,178
1,626,013,175,000
1,626,013,175,000
384,985,862
0
0
null
null
null
null
UTF-8
Lean
false
false
14,454
lean
import tactic import topology.basic topology.path_connected import lemmas open classical unit_interval path open_locale classical unit_interval filter topological_space noncomputable theory universes u v w namespace based variables (X : Type u) [topological_space X] (x : X) def loop_space := path x x structure ho...
8305d14b0d1d3a4e78a0c7b52c96ccde602b7808
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/module/graded_module.lean
969e6d008f87576e882f9d04c452f21209f27e48
[ "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,152
lean
/- Copyright (c) 2022 Jujian Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jujian Zhang -/ import ring_theory.graded_algebra.basic import algebra.graded_mul_action import algebra.direct_sum.decomposition import algebra.module.big_operators /-! # Graded Module...
e584c165832def9f5e416430bc7e33536777a0a8
6329dd15b8fd567a4737f2dacd02bd0e8c4b3ae4
/src/game/world1/level18.lean
768a695cbfadd9aeec37afceb446c7940a973196
[ "Apache-2.0" ]
permissive
agusakov/mathematics_in_lean_game
76e455a688a8826b05160c16c0490b9e3d39f071
ad45fd42148f2203b973537adec7e8a48677ba2a
refs/heads/master
1,666,147,402,274
1,592,119,137,000
1,592,119,137,000
272,111,226
0
0
null
null
null
null
UTF-8
Lean
false
false
1,225
lean
import data.real.basic --imports the real numbers import tactic.maths_in_lean_game -- hide namespace calculating -- hide /- #Calculating ## Level 18: `ring` tactic We close this section by noting that `mathlib` provides a useful bit of automation with a `ring` tactic, which is designed to prove identities in any rin...
23dd3b4d0a95089401a7ebd3575ca3bd99ff8231
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Std/Data/HashSet.lean
aaf7926749d863c16a21d15f26750c6f69fb44e0
[ "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
6,149
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ namespace Std universe u v w def HashSetBucket (α : Type u) := { b : Array (List α) // b.size > 0 } def HashSetBucket.update {α : Type u} (data : HashSet...
81b751034e2ebb3c9c312462c38a42733bf4b38e
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/limits/shapes/finite_products.lean
bf31149dfc019a35eb7386f3718bd7f0cb063fc9
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
2,507
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.finite_limits import category_theory.limits.shapes.binary_products import category_theory.limits.shapes.terminal universes v u ...
531bb47c0c43cc34078b2234213f3305f0b78a75
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/lean/run/sharecommon.lean
b876aa82b2bc221e667c207f6749e42e21ca8fb7
[ "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
3,949
lean
def check (b : Bool) : ShareCommonT IO Unit := unless b $ throw $ IO.userError "check failed" unsafe def tst1 : ShareCommonT IO Unit := do let x := [1]; let y := [0].map (fun x => x + 1); check $ ptrAddrUnsafe x != ptrAddrUnsafe y; x ← shareCommonM x; y ← shareCommonM y; check $ ptrAddrUnsafe x == ptrAddrUnsafe y; z ←...
2d1431e52a67521d914dd6fb2a7be451c146bab6
59cb0b250f036506a327b29abf0b51ff1efbb0c9
/src/binary.lean
f33b5d0ec93f1fa8b9abc526f628b6d9b8c88cff
[]
no_license
GeorgeTillisch/coding_theory_lean
ea26861a3d5d8ca897ca50b056d9cae53104bc27
920e14b433080854d4248714c93a09ce4e391522
refs/heads/main
1,681,707,926,918
1,619,008,763,000
1,619,008,763,000
343,145,352
0
0
null
null
null
null
UTF-8
Lean
false
false
10,377
lean
import tactic import data.fintype.card /-! # Bits, Binary Words, and Binary Word Matrices This file contains definitions of bits `B`, binary words `BW`, and binary word matrices `BWM`. ## Notation - `O` and `I` for bits 0 and 1. - `::ᴮ` for the cons constructor for binary words. - `ᴮ[]` for writing binary words as...
b86476afe9d0d0bc45545a2fc20b791a8b72b81d
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/lie/free.lean
84671c2e4e28ac2b33c20d5d36748817045d493b
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
10,881
lean
/- Copyright (c) 2021 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import algebra.lie.of_associative import algebra.lie.non_unital_non_assoc_algebra import algebra.lie.universal_enveloping import algebra.free_non_unital_non_assoc_algebra ...
b95d4cbcdb899d46076a035a43790c09ce232eaf
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/num/lemmas.lean
49643dda9458f43ed442df825153e07531c76c61
[ "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
50,725
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.num.bitwise import data.int.char_zero import data.nat.gcd import data.nat.psub /-! # Properties of the binary representation of integers -/ local...
3b748e312f8fbcfa7b2333dc389fe3c95e2c71f0
1f6fe2f89976b14a4567ab298c35792b21f2e50b
/algebra/submodule.hlean
980c3754670b726647de45bff1c29feb9b7369cd
[ "Apache-2.0" ]
permissive
jonas-frey/Spectral
e5c1c2f7bcac26aa55f7b1e041a81272a146198d
72d521091525a4bc9a31cac859840efe9461cf66
refs/heads/master
1,610,235,743,345
1,505,417,795,000
1,505,417,795,000
102,653,342
0
0
null
1,504,728,483,000
1,504,728,483,000
null
UTF-8
Lean
false
false
19,434
hlean
/- submodules and quotient modules -/ -- Authors: Floris van Doorn, Jeremy Avigad import .left_module .quotient_group open algebra eq group sigma sigma.ops is_trunc function trunc equiv is_equiv property definition group_homomorphism_of_add_group_homomorphism [constructor] {G₁ G₂ : AddGroup} (φ : G₁ →a G₂) : G...
f134f8003809330ddc78b016d6c8157e2c784769
d9ed0fce1c218297bcba93e046cb4e79c83c3af8
/library/init/wf.lean
13994eee69e314012b76d5020b4e4742b101acaa
[ "Apache-2.0" ]
permissive
leodemoura/lean_clone
005c63aa892a6492f2d4741ee3c2cb07a6be9d7f
cc077554b584d39bab55c360bc12a6fe7957afe6
refs/heads/master
1,610,506,475,484
1,482,348,354,000
1,482,348,543,000
77,091,586
0
0
null
null
null
null
UTF-8
Lean
false
false
6,816
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 -/ prelude import init.data.nat.basic init.data.prod universe variables u v inductive acc {α : Type u} (r : α → α → Prop) : α → Prop | intro : ∀ x, (∀ y, r y ...
23bec1875595e07c1e36a90c201a75453c47ce3f
798dd332c1ad790518589a09bc82459fb12e5156
/set_theory/ordinal.lean
4e289b3fbcb75dc2890ca231c5e4c0cb1689432e
[ "Apache-2.0" ]
permissive
tobiasgrosser/mathlib
b040b7eb42d5942206149371cf92c61404de3c31
120635628368ec261e031cefc6d30e0304088b03
refs/heads/master
1,644,803,442,937
1,536,663,752,000
1,536,663,907,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
117,884
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Ordinal arithmetic. Ordinals are defined as equivalences of well-ordered sets by order isomorphism. -/ import order.order_iso set_theory.cardinal data.sum noncomputable...
629f33e29970f44a4ab40a88ae5158991579c36b
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/convex/exposed.lean
ce6b1a70651379ae22844d2de4f4c5fa89511616
[ "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
9,360
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 analysis.convex.extreme import analysis.convex.function import analysis.normed.order.basic /-! # Exposed sets This file defines expos...
81307c9bc1684e3edc3c3e9099037acfca26ff19
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/12_Axioms.org.19.lean
d18cfba67a9faa5523078e2d621166b27992419b
[]
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
977
lean
import standard import logic.quantifiers open subtype nonempty namespace hide axiom strong_indefinite_description {A : Type} (P : A → Prop) (H : nonempty A) : { x | (∃ y : A, P y) → P x} noncomputable definition epsilon {A : Type} [H : nonempty A] (P : A → Prop) : A := let u : {x | (∃ y, P y) → P x} := strong_indefi...
2e62e8029211e8b514ac382bbd510aa464137771
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/category/Top/open_nhds.lean
fffa7777873b776ff29ae3f24453124e2c7818c4
[ "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
5,273
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 topology.category.Top.opens /-! # The category of open neighborhoods of a point Given an object `X` of the category `Top` of topological spaces and a point `...
a07e6dc333d688253cf87eb0f6653d6817620998
137c667471a40116a7afd7261f030b30180468c2
/src/category_theory/subobject/limits.lean
175501994159246dd4dc5a811e1dfb116ff6719f
[ "Apache-2.0" ]
permissive
bragadeesh153/mathlib
46bf814cfb1eecb34b5d1549b9117dc60f657792
b577bb2cd1f96eb47031878256856020b76f73cd
refs/heads/master
1,687,435,188,334
1,626,384,207,000
1,626,384,207,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
13,948
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta, Scott Morrison -/ import category_theory.subobject.lattice /-! # Specific subobjects We define `equalizer_subobject`, `kernel_subobject` and `image_subobject`, which ar...
c7392f28f8b3fa3eabd848d3cb8be0e5727b6718
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/stage0/src/Init/Data/Int/Basic.lean
ba8bec9fa9c0d5ca8a8c20309105f0220dd80d03
[ "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
4,575
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura The integers, with addition, multiplication, and subtraction. -/ prelude import Init.Coe import Init.Data.Nat.Div import Init.Data.List.Basic open Nat ...
051ffdaf06e411b396774f2c942a9e42e0d58013
82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7
/src/Lean/Environment.lean
ffa3ebcb2d87375f8438237b4101adc10f671e0b
[ "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
28,633
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.Data.SMap import Lean.Declaration import Lean.LocalContext import Lean.Util.Path import Lean.Util.FindExpr import Lean.U...
899fafcb1cdd88d6df1e2fceb99b2bdcf577c559
b2e508d02500f1512e1618150413e6be69d9db10
/src/category_theory/limits/shapes/equalizers.lean
aa6567050bfe925365820f6aa264ea33ff0eaf46
[ "Apache-2.0" ]
permissive
callum-sutton/mathlib
c3788f90216e9cd43eeffcb9f8c9f959b3b01771
afd623825a3ac6bfbcc675a9b023edad3f069e89
refs/heads/master
1,591,371,888,053
1,560,990,690,000
1,560,990,690,000
192,476,045
0
0
Apache-2.0
1,568,941,843,000
1,560,837,965,000
Lean
UTF-8
Lean
false
false
5,244
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.eq_to_hom import category_theory.limits.cones open category_theory namespace category_theory.limits local attribute [tidy] tactic.case_b...
98d919446ad5de1436b1a5134019346db1dfa6b7
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/homology/image_to_kernel.lean
e890a3d2db3012f6a60235888ee47a282f920762
[ "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
15,635
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.subobject.limits /-! # Image-to-kernel comparison maps Whenever `f : A ⟶ B` and `g : B ⟶ C` satisfy `w : f ≫ g = 0`, we have `image_le_kernel...
e3c0ba3cd9a8363ab0ce152cd9f3ca608b039a9d
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/order/filter/cofinite_auto.lean
3a4ba4a3539f436375c7adc8692a326b11b6f990
[]
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
3,146
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Jeremy Avigad, Yury Kudryashov -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.order.filter.at_top_bot import Mathlib.PostPort universes ...
142cd5c08d31aab522267a32538a97b7e176bc6e
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/lake/Lake/Util/Cycle.lean
523bd0f16e36198d0280c96a890cad61b72e1fcc
[ "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
857
lean
/- Copyright (c) 2022 Mac Malone. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mac Malone -/ namespace Lake /-- A sequence of calls donated by the key type `κ`. -/ abbrev CallStack κ := List κ /-- A `CallStack` ending in a cycle. -/ abbrev Cycle κ := CallStack κ ...
6e4e31b7a0ee98af0ca6ec6d9da1112e594aae47
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/simpcfg.lean
16c6019c2b8d1041a80438f90e0a7fafad96c29f
[ "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
187
lean
theorem ex6 (f : Nat → Nat) (x y z : Nat) (h : (x, z).1 = (fun x => x) y) : f x = f y := by simp (config := { beta := false }) at h trace_state simp at h trace_state simp [h]
63622d86b551f7813a181a70e210affc65dc9ec6
491068d2ad28831e7dade8d6dff871c3e49d9431
/library/logic/default.lean
fc251202e3191f4229b1927c5f28de78061d2efd
[ "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
262
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad -/ import logic.eq logic.connectives logic.cast import logic.quantifiers logic.instances logic.identities
117507d1ea0ebb75bb158c5e5564f4dad383f280
d9ed0fce1c218297bcba93e046cb4e79c83c3af8
/library/tools/super/lpo.lean
8dbb239e2392aa9d8a22d9c07adc14cfc2a59328
[ "Apache-2.0" ]
permissive
leodemoura/lean_clone
005c63aa892a6492f2d4741ee3c2cb07a6be9d7f
cc077554b584d39bab55c360bc12a6fe7957afe6
refs/heads/master
1,610,506,475,484
1,482,348,354,000
1,482,348,543,000
77,091,586
0
0
null
null
null
null
UTF-8
Lean
false
false
1,517
lean
/- Copyright (c) 2016 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ -- Polytime version of lexicographic path order as described in: -- Things to know when implementing LPO, Bernd Löchner, ESFOR 2004 import .utils open expr decidable m...