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
8217006b7c8128a0e56e97980519fc50d810d494
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/tests/lean/run/termElab.lean
87de15ec8991aea757442c4e124e798b6b3d2de0
[ "Apache-2.0" ]
permissive
walterhu1015/lean4
b2c71b688975177402758924eaa513475ed6ce72
2214d81e84646a905d0b20b032c89caf89c737ad
refs/heads/master
1,671,342,096,906
1,599,695,985,000
1,599,695,985,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
684
lean
import Lean open Lean open Lean.Elab open Lean.Elab.Term set_option trace.Elab.debug true def tst1 : TermElabM Unit := do opt ← getOptions; stx ← `(forall (a b : Nat), Nat); IO.println "message 1"; -- This message goes direct to stdio. It will be displayed before trace messages. e ← elabTermAndSynthesize stx none; l...
63c253af0c3135e3afab8c3205315990d854603d
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/field_theory/is_alg_closed/basic.lean
504e1f7043351ba0fae1e8d3426f0ca871f09a28
[ "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
16,386
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import field_theory.splitting_field /-! # Algebraically Closed Field In this file we define the typeclass for algebraically closed fields and algebraic closures, and prove som...
e851f1a1330939108cffc922a8ebd65ceb2ccd07
3618c6e11aa822fd542440674dfb9a7b9921dba0
/src/multirelation/approach2/approach2.lean
bacccc3945ae90ae7f7f2d87280baee32734c9d5
[]
no_license
ChrisHughes24/single_relation
99ceedcc02d236ce46d6c65d72caa669857533c5
057e157a59de6d0e43b50fcb537d66792ec20450
refs/heads/master
1,683,652,062,698
1,683,360,089,000
1,683,360,089,000
279,346,432
0
0
null
null
null
null
UTF-8
Lean
false
false
11,481
lean
import .free_group2 import data.buffer import tactic.delta_instance import data.list.min_max import tactic.norm_num -- This is the main file namespace group_rel open native free_group -- use an rb_lmap instance {α : Type} : inhabited (buffer α) := ⟨mk_buffer⟩ @[derive inhabited] structure relation : Type := (rel : f...
d57a39045fa0d2e6883802e5a70999580b5958d2
367134ba5a65885e863bdc4507601606690974c1
/src/order/complete_lattice.lean
a0dba1ebc3c9c28a4bf70b5146a407ecda3d8163
[ "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
43,946
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import order.bounds /-! # Theory of complete lattices ## Main definitions * `Sup` and `Inf` are the supremum and the infimum of a set; * `supr (f : ι → α)` and `in...
a971fc4dc3fc85b83f0e058bb4b974e5c013017e
bb31430994044506fa42fd667e2d556327e18dfe
/src/topology/algebra/infinite_sum.lean
2ba8e2083616a0fa2ed2eed098ca8db89439e81c
[ "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
72,203
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import algebra.big_operators.intervals import algebra.big_operators.nat_antidiagonal import logic.encodable.lattice import topology.algebra.mul_action import topology...
4b11c292af81c7bfc8e1064a0aa91fe2b395d517
ed27983dd289b3bcad416f0b1927105d6ef19db8
/src/inClassNotes/langs/bool_expr.lean
d001f3dba8aa879cceb0bc9a9436ed37a0ebd37d
[]
no_license
liuxin-James/complogic-s21
0d55b76dbe25024473d31d98b5b83655c365f811
13e03e0114626643b44015c654151fb651603486
refs/heads/master
1,681,109,264,463
1,618,848,261,000
1,618,848,261,000
337,599,491
0
0
null
1,613,141,619,000
1,612,925,555,000
null
UTF-8
Lean
false
false
2,547
lean
inductive bool_var : Type | mk (n : nat) open bool_var /- Abstract syntax -/ inductive bool_expr : Type | lit_expr : bool → bool_expr | var_expr : bool_var → bool_expr | and_expr : bool_expr → bool_expr → bool_expr | or_expr : bool_expr → bool_expr → bool_expr | impl_expr : bool_expr → bool_expr → bool_expr -- N...
c5cb7665618b90f5be583413da4dda25428590cf
367134ba5a65885e863bdc4507601606690974c1
/src/algebra/star/chsh.lean
eba51d6804c5f4aad2b0fbf3dbfacb44940a9cea
[ "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
12,230
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.star.algebra import algebra.algebra.ordered import analysis.special_functions.pow /-! # The Clauser-Horne-Shimony-Holt inequality and Tsirelson's ine...
282e5dc5be2a32d9691e6852b19e4ad57e4ea5ee
618003631150032a5676f229d13a079ac875ff77
/src/ring_theory/integral_domain.lean
71ae02cd4c60519747140d094674c62321a57965
[ "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
6,413
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Chris Hughes -/ import data.fintype.card import data.polynomial import group_theory.order_of_element import algebra.geom_sum /-! # Integral domains -/ section open ...
1f6cb854a56d014393a5a093604c01322cf6df04
ea5678cc400c34ff95b661fa26d15024e27ea8cd
/exponential_complex.lean
3b693289b692944d3c70c56a2e1776fae61e9cbf
[]
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
14,737
lean
import data.complex.basic data.real.cau_seq tactic.norm_num data.nat.basic tactic.ring algebra.archimedean section a open real nat is_absolute_value noncomputable theory local attribute [instance, priority 0] classical.prop_decidable lemma pow_inv' {α : Type*} [discrete_field α] (a : α) (n : ℕ) : (monoid.pow a n)⁻¹ = ...
bc7ca41a41c11ce05c254c2b450126d1ac5cc917
bb31430994044506fa42fd667e2d556327e18dfe
/src/ring_theory/localization/fraction_ring.lean
f9b263c6817a57887dfb4a7c445f732602e1800a
[ "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
12,159
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro, Johan Commelin, Amelia Livingston, Anne Baanen -/ import algebra.algebra.tower import ring_theory.localization.basic /-! # Fraction ring / fraction field Frac(R)...
4ac910f07b19eab57557295c1ea5fc66c24eae02
27a31d06bcfc7c5d379fd04a08a9f5ed3f5302d4
/stage0/src/Lean/Meta/GetConst.lean
a2c07f6600e5eb41cd9b069339f6b99a931e0e04
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
joehendrix/lean4
0d1486945f7ca9fe225070374338f4f7e74bab03
1221bdd3c7d5395baa451ce8fdd2c2f8a00cbc8f
refs/heads/master
1,640,573,727,861
1,639,662,710,000
1,639,665,515,000
198,893,504
0
0
Apache-2.0
1,564,084,645,000
1,564,084,644,000
null
UTF-8
Lean
false
false
1,421
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.GlobalInstances namespace Lean.Meta private def getDefInfo (info : ConstantInfo) : MetaM (Option ConstantInfo) := do match (← read).con...
926647ab9997706c776d5323b77733dd86083d69
5ee26964f602030578ef0159d46145dd2e357ba5
/src/for_mathlib/rings.lean
a1d743dc1bc6185f7aace424cfe84daedef70295
[ "Apache-2.0" ]
permissive
fpvandoorn/lean-perfectoid-spaces
569b4006fdfe491ca8b58dd817bb56138ada761f
06cec51438b168837fc6e9268945735037fd1db6
refs/heads/master
1,590,154,571,918
1,557,685,392,000
1,557,685,392,000
186,363,547
0
0
Apache-2.0
1,557,730,933,000
1,557,730,933,000
null
UTF-8
Lean
false
false
3,079
lean
import data.subtype data.equiv.algebra ring_theory.ideal_operations universes u u₁ u₂ v v₁ w section variables {R : Type*} {S : Type*} [monoid R] [monoid S] lemma mul_left_mul {G : Type*} [semigroup G] (x y : G) : (*) (x * y) = (*) x ∘ (*) y := funext $ λ _, mul_assoc _ _ _ -- It seems that semigroup homs don't ...
dbc53523b821adae32c5218deb5524edc4cd4c79
7cef822f3b952965621309e88eadf618da0c8ae9
/src/tactic/finish.lean
e8c581bb830455b7cb01ab5f812abf81f52a63fc
[ "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
21,660
lean
/- Copyright (c) 2017 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Jesse Michael Han -/ import logic.basic /-! # The `finish` family of tactics These tactics do straightforward things: they call the simplifier, split conjunctive assum...
2deb0f6853cb61f14ddfe9a0d10ac25fa00796f3
8cb37a089cdb4af3af9d8bf1002b417e407a8e9e
/library/init/meta/comp_value_tactics.lean
5544389d6df2be4e3296c5eaabfabd4b04791810
[ "Apache-2.0" ]
permissive
kbuzzard/lean
ae3c3db4bb462d750dbf7419b28bafb3ec983ef7
ed1788fd674bb8991acffc8fca585ec746711928
refs/heads/master
1,620,983,366,617
1,618,937,600,000
1,618,937,600,000
359,886,396
1
0
Apache-2.0
1,618,936,987,000
1,618,936,987,000
null
UTF-8
Lean
false
false
2,613
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.meta.tactic init.data.option.basic meta constant mk_nat_val_ne_proof : expr → expr → option expr meta constant mk_nat_val_lt_proof : ex...
5ad9b5d4f74f2aff7088b253abb996e43b27c58a
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/tactic/slice.lean
4fcc5044142fad7ba21c18564cf3c845bb0a6627
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
3,503
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.category open category_theory -- TODO someone might like to generalise this tactic to work with other associative structures. namespace tact...
c1191c4550ba353795468536efde9a418c972150
367134ba5a65885e863bdc4507601606690974c1
/src/tactic/simps.lean
f75a2d4b2d4c503687fe133ad596036fa6897ad0
[ "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
32,517
lean
/- Copyright (c) 2019 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import tactic.core /-! # simps attribute This file defines the `@[simps]` attribute, to automatically generate simp-lemmas reducing a definition when projection...
16effe59bd3df0593e0a62a992406ccfdfc9bde4
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/algebra/associated.lean
c819f9e316b0f91af369c3a6cb37ab8f3882d644
[ "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
26,445
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Jens Wagemaker -/ import data.multiset.basic import algebra.divisibility /-! # Associated, prime, and irreducible elements. -/ variables {α : Type*} {β : Type*} {γ : ...
8dcf910e5a972d07ca409290ffccbf1887e0a8c4
32c054a763e4aa96bcb6e8bc87775e0f403a1804
/src/spec/closed.lean
34f93d710c452678e85ad4e3aabbe43acda2fbb2
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
Claudiusgonzo/AliveInLean
7fac3f82722c27acc5551260ea12a36519f6e24e
a21bfb90dee0c6c6e00a955b6de92c631198c5ba
refs/heads/master
1,635,381,727,801
1,555,783,536,000
1,555,783,536,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
20,288
lean
-- Copyright (c) Microsoft Corporation. All rights reserved. -- Licensed under the MIT license. import ..smtexpr import ..bitvector import .spec --import .lemmas import .irstate import .freevar import .equiv import smt2.syntax import system.io import init.meta.tactic import init.meta.interactive namespace spec open...
cdda46600ab56478c6d569808b3de6cbd4b28af3
82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7
/stage0/src/Lean/Meta/Closure.lean
128951060fc5802d5e5ba561c978c29420e21a80
[ "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
14,692
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 Std.ShareCommon import Lean.MetavarContext import Lean.Environment import Lean.Util.FoldConsts import Lean.Meta.Basic import Lean.Meta.Check /- Thi...
706806a579097f5f30b07237e64044a71bb6f9ba
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/geometry/euclidean/sphere/second_inter.lean
f036d3c70ebdd90acbb751ebe78383ce3d323f90
[ "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
7,670
lean
/- Copyright (c) 2022 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers -/ import geometry.euclidean.sphere.basic /-! # Second intersection of a sphere and a line > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a ...
51f2c225faeae7c60ecd490071b698d4da861119
1446f520c1db37e157b631385707cc28a17a595e
/stage0/src/Init/Lean/Elab/Tactic/Basic.lean
d38461a9d133dba710dfc69146855110ca443159
[ "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
19,526
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ prelude import Init.Lean.Util.CollectMVars import Init.Lean.Meta.Tactic.Assumption import Init.Lean.Meta.Tactic.Intro import Init.Lean.Me...
ee13b729bad27febe2688b647c3630dda6784494
329788bf44a766cbceec47f6d3a91aeee20146cf
/src/fg_quotient.lean
74741b9edeb9f339a5ca4a574aa4fb396838553f
[]
no_license
jamiebell2805/BSD-conjecture
ca69613bb4b0d7051575ff6a7528ccace1bf9c6b
74aa51f13750868b7011e397576d6f8035d69360
refs/heads/master
1,685,937,124,285
1,624,744,421,000
1,624,744,421,000
364,047,425
7
0
null
1,624,482,924,000
1,620,072,330,000
Lean
UTF-8
Lean
false
false
1,159
lean
import group_theory.subgroup import group_theory.finiteness import group_theory.quotient_group import algebra.group.hom import tactic import init.function variables (G H: Type*)[group G][group H](N : subgroup G)[subgroup.normal N](f : monoid_hom G H)(S : set G) variables (A : Type*)[add_comm_group A](B : add_subgroup ...
76f5b0247f411aef896e5356772d32ccb86e0f96
07c76fbd96ea1786cc6392fa834be62643cea420
/hott/hit/trunc.hlean
f6a0c024c594d7c8213b9587bba422b6f898c86d
[ "Apache-2.0" ]
permissive
fpvandoorn/lean2
5a430a153b570bf70dc8526d06f18fc000a60ad9
0889cf65b7b3cebfb8831b8731d89c2453dd1e9f
refs/heads/master
1,592,036,508,364
1,545,093,958,000
1,545,093,958,000
75,436,854
0
0
null
1,480,718,780,000
1,480,718,780,000
null
UTF-8
Lean
false
false
5,863
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn n-truncation of types. Ported from Coq HoTT -/ /- The hit n-truncation is primitive, declared in init.hit. -/ import types.sigma types.pointed open is_trunc eq ...
e6481df5ab7c05cc017a77a97e1b860668bc01eb
7cef822f3b952965621309e88eadf618da0c8ae9
/src/algebra/continued_fractions/basic.lean
bb8c9c75cf7bef6de2cf7d51bdf5a5233598d651
[ "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
12,612
lean
/- Copyright (c) 2019 Kevin Kappelmann. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Kappelmann -/ import data.seq.seq /-! # Basic Definitions/Theorems for Continued Fractions ## Summary We define generalised, simple, and regular continued fractions and funct...
7cfdf5132bdb8d40e0692279f821d5c033659086
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/tactic/simp_command.lean
4efa12a9d7aea2d632ac1bf8d531c7c6e6434e54
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
4,927
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Keeley Hoek, Scott Morrison -/ import tactic.core /-! ## #simp A user command to run the simplifier. -/ namespace tactic /-- Strip all annotations of non local constants in the pass...
1478a369878bfcfd065bb19281a62a3de99689dc
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/nat/lattice.lean
f6341a98e5162510fdc56b0e3bf964fd16cd5761
[ "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,958
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, Floris van Doorn, Gabriel Ebner, Yury Kudryashov -/ import data.nat.enat import order.conditionally_complete_lattice /-! # Conditionally complete linear order structur...
35860462108cd8f331dc838ccdaf419881ff5f68
8b9f17008684d796c8022dab552e42f0cb6fb347
/library/algebra/category/adjoint.lean
bb41d6014edaccc95f03898b41740a1bf9e79ce7
[ "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
549
lean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: algebra.category.adjoint Author: Floris van Doorn -/ import .constructions open eq eq.ops category functor natural_transformation category.ops prod category.product namespace adjo...
7ce711d7bda5198eb30f9e389af9fc2770427ef8
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/hott/algebra/category/groupoid.hlean
4642a7d9a0ab59613088e122b5b45f5556f8e1e7
[ "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
2,700
hlean
/- Copyright (c) 2014 Jakob von Raumer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jakob von Raumer, Floris van Doorn Ported from Coq HoTT -/ import .iso algebra.group open eq is_trunc iso category algebra nat unit namespace category structure groupoid [clas...
6b64870b67ce7f994aa26d851fa3fc3f9494e62c
4fa118f6209450d4e8d058790e2967337811b2b5
/src/for_mathlib/padics.lean
6f8358ffa9cb907269574993a53af8e950889990
[ "Apache-2.0" ]
permissive
leanprover-community/lean-perfectoid-spaces
16ab697a220ed3669bf76311daa8c466382207f7
95a6520ce578b30a80b4c36e36ab2d559a842690
refs/heads/master
1,639,557,829,139
1,638,797,866,000
1,638,797,866,000
135,769,296
96
10
Apache-2.0
1,638,797,866,000
1,527,892,754,000
Lean
UTF-8
Lean
false
false
12,872
lean
import data.padics import ring_theory.noetherian import for_mathlib.group_with_zero import for_mathlib.ideal_operations noncomputable theory open_locale classical variables {p : ℕ} [nat.prime p] local attribute [-simp] padic.cast_eq_of_rat_of_nat namespace padic_seq def valuation (f : padic_seq p) : ℤ := if hf : ...
8ab543fecae5ae2f2844d4eb1904a2ce97b049c4
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/analysis/normed/group/infinite_sum.lean
55b14a764317c49af81b3dccabc7256988bee2cd
[ "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
7,687
lean
/- Copyright (c) 2021 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel, Heather Macbeth, Johannes Hölzl, Yury Kudryashov -/ import analysis.normed.group.basic import topology.instances.nnreal /-! # Infinite sums in (semi)normed group...
641f6bff164a0b7e2e52cbf134cd4d149a0285ad
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/LeftRack.lean
8727e4b7781ce68f28df6071dc11aaf20cf72600
[]
no_license
ysharoda/Deriving-Definitions
3e149e6641fae440badd35ac110a0bd705a49ad2
dfecb27572022de3d4aa702cae8db19957523a59
refs/heads/master
1,679,127,857,700
1,615,939,007,000
1,615,939,007,000
229,785,731
4
0
null
null
null
null
UTF-8
Lean
false
false
8,421
lean
import init.data.nat.basic import init.data.fin.basic import data.vector import .Prelude open Staged open nat open fin open vector section LeftRack structure LeftRack (A : Type) : Type := (linv : (A → (A → A))) (rinv : (A → (A → A))) (leftDistributive : (∀ {x y z : A} , (linv x (linv y z)) =...
6c29910d6bc7e1f5bb13fd777f184d830c1264b1
785b41b0993f39cbfa9b02fe0940ce3f2f51a57d
/conf/k2p.lean
93419c269111c9fea0098f3ff09ac69077b360f6
[ "MIT" ]
permissive
loso3000/OpenWrt-DIY-1
75b0d70314d703203508218a29acefc3b914d32d
5858be81ee44199908cbaa1a752b17505c9834e8
refs/heads/main
1,690,532,461,283
1,631,008,241,000
1,631,008,241,000
354,817,508
1
0
MIT
1,617,623,493,000
1,617,623,492,000
null
UTF-8
Lean
false
false
5,900
lean
CONFIG_TARGET_ramips=y CONFIG_TARGET_ramips_mt7621=y CONFIG_TARGET_ramips_mt7621_DEVICE_phicomm_k2p=y # 不压缩efi # CONFIG_TARGET_IMAGES_GZIP is not set # CONFIG_EFI_IMAGES=y # ipv6 CONFIG_PACKAGE_ipv6helper=y CONFIG_PACKAGE_dnsmasq_full_dhcpv6=y # file system CONFIG_PACKAGE_kmod-fs-antfs=y # CONFIG_PACKAGE_km...
345880cde647f9fb74656861718311781f150383
30b012bb72d640ec30c8fdd4c45fdfa67beb012c
/category_theory/types.lean
57dc55218d7b3e566c05310f2104fd83bee72d7e
[ "Apache-2.0" ]
permissive
kckennylau/mathlib
21fb810b701b10d6606d9002a4004f7672262e83
47b3477e20ffb5a06588dd3abb01fe0fe3205646
refs/heads/master
1,634,976,409,281
1,542,042,832,000
1,542,319,733,000
109,560,458
0
0
Apache-2.0
1,542,369,208,000
1,509,867,494,000
Lean
UTF-8
Lean
false
false
2,091
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 import category_theory.functor_category category_theory.embedding namespace category_theory universes u v u' v' w instance type...
3938a70cdea03a6728b364eac2c464f4f27fbc06
1dd482be3f611941db7801003235dc84147ec60a
/src/field_theory/subfield.lean
6ae3b5daad7d2d3185425c30c0495f486fcadbed
[ "Apache-2.0" ]
permissive
sanderdahmen/mathlib
479039302bd66434bb5672c2a4cecf8d69981458
8f0eae75cd2d8b7a083cf935666fcce4565df076
refs/heads/master
1,587,491,322,775
1,549,672,060,000
1,549,672,060,000
169,748,224
0
0
Apache-2.0
1,549,636,694,000
1,549,636,694,000
null
UTF-8
Lean
false
false
499
lean
/- Copyright (c) 2018 Andreas Swerdlow. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andreas Swerdlow -/ import ring_theory.subring variables {F : Type*} [field F] (s : set F) class is_subfield extends is_subring s : Prop := (inv_mem : ∀ {x : F}, x ∈ s → x⁻¹ ∈ s) ...
c7dff89502c1a6dc30bd5639c64475ddf264b96b
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/linear_algebra/tensor_product.lean
8e2ee07ec85fa029ddd3c605d03492f8ce2ab67c
[ "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
36,166
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro -/ import group_theory.congruence import linear_algebra.basic /-! # Tensor product of semimodules over commutative semirings. This file constructs the tensor pr...
281f10bbf652ea0e3ab3224e284b888d84664456
367134ba5a65885e863bdc4507601606690974c1
/src/number_theory/lucas_lehmer.lean
7411389616eb12d173974619ddcd50bcde8977ac
[ "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
17,268
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro, Scott Morrison, Ainsley Pahljina -/ import tactic.ring_exp import tactic.interval_cases import data.nat.parity import data.zmod.basic import group_theory.order_of_elemen...
ec4b22ce2c9dd2b53401b89632ba0d2593bfbd5f
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/linear_algebra/affine_space/affine_map.lean
ed7ef86b964d412b91e3fecc47b163f03212b0ef
[ "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
21,778
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers -/ import linear_algebra.affine_space.basic import linear_algebra.tensor_product import linear_algebra.prod import linear_algebra.pi import data.set.intervals.unordered_inte...
2e5ccb1e14bde104bfdd9e4cde6846f282271b99
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/topology/category/Profinite/default.lean
742c0617b76ec90795d030afd17e09ad7cb72a97
[ "Apache-2.0" ]
permissive
abentkamp/mathlib
d9a75d291ec09f4637b0f30cc3880ffb07549ee5
5360e476391508e092b5a1e5210bd0ed22dc0755
refs/heads/master
1,682,382,954,948
1,622,106,077,000
1,622,106,077,000
149,285,665
0
0
null
null
null
null
UTF-8
Lean
false
false
9,541
lean
/- Copyright (c) 2020 Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, Calle Sönne -/ import topology.category.CompHaus import topology.connected import topology.subset_properties import category_theory.adjunction.reflective import category...
409cc210573c3ae8ee6a313a51d01a54e4b0a16a
495c02489c2d6a1db94dfdba71dd800d3cc67df2
/migrated/fin.lean
ff90ab57d5911600682ee052fc02d9fdbed1bbaa
[]
no_license
leodemoura/leanproved
e0fcbe4f4d72bf0dad9a962ed111b5975cf90712
de56e0af159dd0c0421733289c76aa79c78a0191
refs/heads/master
1,606,822,676,898
1,435,711,541,000
1,435,711,541,000
36,675,856
0
0
null
1,433,178,724,000
1,433,178,724,000
null
UTF-8
Lean
false
false
7,321
lean
/- Copyright (c) 2015 Haitao Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author : Haitao Zhang -/ import data algebra.group open fin nat function eq.ops namespace migration section variable {n : nat} lemma eq_of_veq : ∀ {i j : fin n}, (val i) = j → i = j | (mk iv ...
6dcd1a306abf8ade5eddad665fe5350483cf1d8f
9dc8cecdf3c4634764a18254e94d43da07142918
/src/topology/fiber_bundle.lean
b3350fdf80eafc85a2503ad1e8e2ad379a120e62
[ "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
66,340
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import data.bundle import topology.algebra.order.basic import topology.local_homeomorph /-! # Fiber bundles A topological fiber bundle with fiber `F` over a b...
3f45e4f054d6ad640920edf5ae3934ec07983caf
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/893.hlean
c3eec150a01b58da9cd4816740b81c2e1c711c6e
[ "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
138
hlean
example {A : Type} (f : A → A) (a : A) (H : f a = a) : unit := begin induction H, -- this should raise an error exact unit.star end
b37131e2f465ebe5188f2a2c44ebf87f5c104f48
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/topology/continuous_function/weierstrass.lean
8da7a9e2d0f83a81f4c2f907d86122ab146cb772
[ "Apache-2.0" ]
permissive
JLimperg/aesop3
306cc6570c556568897ed2e508c8869667252e8a
a4a116f650cc7403428e72bd2e2c4cda300fe03f
refs/heads/master
1,682,884,916,368
1,620,320,033,000
1,620,320,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,493
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.algebra.subalgebra import topology.algebra.polynomial import topology.continuous_function.bounded import analysis.special_functions.bernstein /-! # Th...
74ba5eaa4afb074e97e287562fa310dd9607513d
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/control/equiv_functor.lean
b5588efafca507c53616e66190af825b4d635349
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
3,388
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 logic.equiv.defs /-! # Functions functorial with respect to equivalences > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corr...
460bbe0ae207456dec67faa8d213ab7e1df5b29c
3dc4623269159d02a444fe898d33e8c7e7e9461b
/.github/workflows/project_1_a_decrire/lean-scheme-submission/src/sheaves/sheaf_of_rings.lean
a607eee4a073f5b88b2cb0939f11bc059244babf
[]
no_license
Or7ando/lean
cc003e6c41048eae7c34aa6bada51c9e9add9e66
d41169cf4e416a0d42092fb6bdc14131cee9dd15
refs/heads/master
1,650,600,589,722
1,587,262,906,000
1,587,262,906,000
255,387,160
0
0
null
null
null
null
UTF-8
Lean
false
false
657
lean
/- Sheaf of rings. https://stacks.math.columbia.edu/tag/0071 -/ import sheaves.sheaf import sheaves.presheaf_of_rings universes u -- A sheaf of rings is essentially a sheaf of types because we assume that the -- category of commutative rings has limits (proved later). This is tag 0073. structure sheaf_of_ri...
b87ca77f5f7cd0075fa17afcf959ea447bbc5df3
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Meta/Tactic/FVarSubst.lean
e502987efcc540c8fa52440a5887bfb8628b88e9
[ "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,312
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 Std.Data.AssocList import Lean.Expr import Lean.LocalContext import Lean.Util.ReplaceExpr namespace Lean.Meta /-- Some tactics substitute hypothes...
86ab3f1ab50d58f9343c5b40e7d61871a5aa6423
7cef822f3b952965621309e88eadf618da0c8ae9
/src/field_theory/splitting_field.lean
a81298b2cae5aadff451cd6a6010d28a690a75ec
[ "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
7,798
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes Definition of splitting fields, and definition of homomorphism into any field that splits -/ import ring_theory.unique_factorization_domain import data.polynomial ring_the...
7ea862baf964b0af0304773ec6110da62fb27592
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/have3.lean
20c9adcf6e67427fd2b10f50e532c0e31df869a2
[ "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
245
lean
prelude definition Prop : Type.{1} := Type.{0} constants a b c : Prop axiom Ha : a axiom Hb : b axiom Hc : c check have H1 : a, from Ha, then have H2 : a, from H1, then have H3 : a, from H2, then have H4 : a, from H3, H4
6a5c6f02079a8da509334e2cb1d1efbf22c7ed98
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/rat/denumerable.lean
3308212f9f56bb5ff66f55f8f2bcca7018f8b3df
[]
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
929
lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Chris Hughes -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.rat.default import Mathlib.set_theory.cardinal import Mathlib.PostPort namespace Mathlib ...
00907adfa9caef4d82840b65b69f8d85f92b6440
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/algebra/covariant_and_contravariant.lean
2ca9655c470c9c9c541df9d7c403763462bb5c13
[ "Apache-2.0" ]
permissive
dexmagic/mathlib
ff48eefc56e2412429b31d4fddd41a976eb287ce
7a5d15a955a92a90e1d398b2281916b9c41270b2
refs/heads/master
1,693,481,322,046
1,633,360,193,000
1,633,360,193,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,995
lean
/- Copyright (c) 2021 Damiano Testa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Damiano Testa -/ import algebra.group.defs /-! # Covariants and contravariants This file contains general lemmas and instances to work with the interactions between a relation and a...
1dbf0d158b162ee5920ea970698daff908e1cee5
9dc8cecdf3c4634764a18254e94d43da07142918
/src/ring_theory/integral_domain.lean
90f9b905daf1de1751a2e7271d4af3e868075849
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
8,340
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Chris Hughes -/ import data.fintype.card import data.polynomial.ring_division import group_theory.specific_groups.cyclic import algebra.geom_sum /-! # Integral domain...
483521717962c2a7f3c2ef17374e52a18c6921db
07c6143268cfb72beccd1cc35735d424ebcb187b
/src/analysis/normed_space/bounded_linear_maps.lean
5a92dd1d627ec45bb4f87627b5557498de88c750
[ "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
19,546
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 algebra.field import analysis.normed_space...
00e31c495038e0de863b041e28d74acab845fd5f
4c630d016e43ace8c5f476a5070a471130c8a411
/category/traversable/instances.lean
914aa29a09a9acc272b29d3a003310e50b64e401
[ "Apache-2.0" ]
permissive
ngamt/mathlib
9a510c391694dc43eec969914e2a0e20b272d172
58909bd424209739a2214961eefaa012fb8a18d2
refs/heads/master
1,585,942,993,674
1,540,739,585,000
1,540,916,815,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,102
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon Instances of `traversable` for types from the core library -/ import category.traversable.basic category.basic category.functor category.applicative import data.list.basic da...
041ce9caa7160af9fecb803370fd2059af8c864a
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/algebra/group/prod.lean
b503a26cf2d93f4849b8d46632e967c3922fd9f5
[ "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
10,927
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Patrick Massot, Yury Kudryashov -/ import algebra.group.hom import data.equiv.mul_add import data.prod /-! # Monoid, group etc structures on `M × N` In this file we def...
2e712bdfa5cbc256c46c8ea92989ebbb1d2e1023
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/linear_algebra/pi_tensor_product.lean
c2314e9899dd421a4c767b570b10fb13376a1916
[ "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
24,134
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, Eric Wieser -/ import group_theory.congruence import linear_algebra.multilinear.tensor_product /-! # Tensor product of an indexed family of modules over commutative...
9b5108a907f42e7d8417b3b4d8744c42678db454
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/buffer/basic.lean
fe4df9b0ffeefcf8d872fe681210fc850bb85e9b
[ "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
7,327
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon General utility functions for buffers. -/ import data.array.lemmas import control.traversable.instances namespace buffer open function variables {α : Type*} {xs : list α} ...
5eafc0abe64c9e65dc269218c62dc4504a89a76d
d642a6b1261b2cbe691e53561ac777b924751b63
/src/order/filter/basic.lean
fcb4cf1655de89a6a11976b1a611412a3b708379
[ "Apache-2.0" ]
permissive
cipher1024/mathlib
fee56b9954e969721715e45fea8bcb95f9dc03fe
d077887141000fefa5a264e30fa57520e9f03522
refs/heads/master
1,651,806,490,504
1,573,508,694,000
1,573,508,694,000
107,216,176
0
0
Apache-2.0
1,647,363,136,000
1,508,213,014,000
Lean
UTF-8
Lean
false
false
82,940
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 Theory of filters on sets. -/ import order.galois_connection order.zorn import data.set.finite open lattice set universes u v w x y open_locale classic...
ff1884d9f8b73660854c6b9d9721ed03edaedaf9
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/adjunction/fully_faithful.lean
f81154ec23b0b09d289186dba56af262c4dfdccc
[ "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,297
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.adjunction.basic import category_theory.conj import category_theory.yoneda open category_theory namespace category_theory universes v₁ v₂ u₁ ...
c543266e35ddc4486d998c17c9dce9fbbcc86553
4727251e0cd73359b15b664c3170e5d754078599
/src/logic/basic.lean
4eb9f388c4c4cb8c392cb7a871234a8d4307714d
[ "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
66,146
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 -/ import tactic.doc_commands import tactic.reserved_notation /-! # Basic logic properties This file is one of the earliest imports in mathlib. ## Im...
c15f02ba047c991a7960e9c1d65eed7a33a47cbf
08bd4ba4ca87dba1f09d2c96a26f5d65da81f4b4
/src/Init/SimpLemmas.lean
e3282c703df0a24c91df0fae7a74e74ceebeacd7
[ "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", "Apache-2.0", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
gebner/lean4
d51c4922640a52a6f7426536ea669ef18a1d9af5
8cd9ce06843c9d42d6d6dc43d3e81e3b49dfc20f
refs/heads/master
1,685,732,780,391
1,672,962,627,000
1,673,459,398,000
373,307,283
0
0
Apache-2.0
1,691,316,730,000
1,622,669,271,000
Lean
UTF-8
Lean
false
false
9,197
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 notation, basic datatypes and type classes -/ prelude import Init.Core set_option linter.missingDocs true -- keep it documented theorem of_eq_true (h : p = T...
6dfef155b505355e4249cd85589bd9897830d585
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/stage0/src/Lean/Elab/Tactic.lean
5c244d087d2b7ea1321efdd6026fd6130867f745
[ "Apache-2.0" ]
permissive
walterhu1015/lean4
b2c71b688975177402758924eaa513475ed6ce72
2214d81e84646a905d0b20b032c89caf89c737ad
refs/heads/master
1,671,342,096,906
1,599,695,985,000
1,599,695,985,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
433
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ import Lean.Elab.Term import Lean.Elab.Tactic.Basic import Lean.Elab.Tactic.ElabTerm import Lean.Elab.Tactic.Induction import Lean.Elab.T...
c9531fe2c5ad6cf8172b6e263dd37f07bb01ffc2
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/run/typeclass_metas_internal_goals2.lean
63a6b6198ff2dba53f35bf7045a18929a1484f69
[ "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
363
lean
class Foo (α β : Type) : Type := (u : Unit := ()) class Bar (α β : Type) : Type := (u : Unit := ()) class Top : Type := (u : Unit := ()) instance FooNatA (β : Type) : Foo Nat β := {u:=()} instance BarANat (α : Type) : Bar α Nat := {u:=()} instance FooBarToTop (α β : Type) [Foo α β] [Bar α β] : Top := {u:=()} set_op...
083c95f9a025a7be1c4664ecb13d44fa5f8f5d90
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/limits/opposites.lean
31969730fda8557a4d8256dd10827c4fe75dadac
[]
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,296
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Floris van Doorn -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.limits.shapes.products import Mathlib.category_theory.dis...
41a67f235eed99453834fe8bc5a2273f123c6eb0
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/string_imp.lean
4deb3bc27962a3036b656352fb9c91148b3244c3
[ "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
289
lean
def f : string → list char | ⟨d⟩ := d -- ERROR string implementation is sealed def g : string → list char | (string_imp.mk d) := d -- ERROR string implementation is sealed def h (s : string) : list char := string_imp.cases_on s (λ d, d) -- ERROR string implementation is sealed
6ea648277653f0ab5e6015b3f54ab6f29ea074af
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Lean/Compiler/NoncomputableAttr.lean
e5ebc2fe33d6ffcaa9bca3749412c2613d183769
[ "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
855
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.Environment namespace Lean builtin_initialize noncomputableExt : TagDeclarationExtension ← mkTagDeclarationExtension `noncomputable /-- Mark ...
2518a3427556043c741946a44dc15dbd2a2e7172
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/essential_image.lean
c37336e2295e019e2aebb77d870f2cc054b7ae5c
[ "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,459
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.natural_isomorphism import category_theory.full_subcategory /-! # Essential image of a functor > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any c...
8ff483423721316e988a8a07471fd49af68fd3ca
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebraic_geometry/Scheme_auto.lean
b5d51f7133286d8fa97ae270e44d246b3ea1b28f
[]
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,798
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebraic_geometry.Spec import Mathlib.PostPort universes u_1 l namespace Mathlib /-! #...
fe564b12925bebcf69267cd69001436a8c79cd9e
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/bounded_variation.lean
252ed7aa1747e94a923d97db9b897e43c631cd7b
[ "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
46,991
lean
/- Copyright (c) 2022 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.deriv.add import analysis.calculus.fderiv.equiv import analysis.calculus.fderiv.prod import analysis.calculus.monotone import data.set....
9e6c9c923fc48d9ddf09ca5d9761c7b86ce386ed
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Lean/Elab/GenInjective.lean
4ed70fed2d5506ae776a79959adaf394d5fc7e86
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
cipher1024/lean4
6e1f98bb58e7a92b28f5364eb38a14c8d0aae393
69114d3b50806264ef35b57394391c3e738a9822
refs/heads/master
1,642,227,983,603
1,642,011,696,000
1,642,011,696,000
228,607,691
0
0
Apache-2.0
1,576,584,269,000
1,576,584,268,000
null
UTF-8
Lean
false
false
489
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 @[builtinCommandElab genInjectiveTheorems] def elabGenInjectiveTheorems : ...
908032f54c1ead7543c96461e4662619e6b6b4a1
4727251e0cd73359b15b664c3170e5d754078599
/src/logic/equiv/set.lean
57301d46efd97fd3e8f37a913fc3fcc60fc3513b
[ "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
25,634
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Mario Carneiro -/ import data.set.function import logic.equiv.basic /-! # Equivalences and sets In this file we provide lemmas linking equivalences to sets....
043cfba27ed594c34f47a12644379a7743cc30da
6fbf10071e62af7238f2de8f9aa83d55d8763907
/examples/equality_properties.lean
131f5c4d7a755dbe0dce1d4db0f16e3a47148386
[]
no_license
HasanMukati/uva-cs-dm-s19
ee5aad4568a3ca330c2738ed579c30e1308b03b0
3e7177682acdb56a2d16914e0344c10335583dcf
refs/heads/master
1,596,946,213,130
1,568,221,949,000
1,568,221,949,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,889
lean
example: ∀ (P Q R: Prop), (P → Q → R) → (P ∧ Q → R) := begin assume P Q R, assume pfPimpQimpR, assume pfPandQ, have pfQimpR := pfPimpQimpR pfPandQ.1, exact pfQimpR pfPandQ.2, end example: ∀ (P Q R: Prop), (P ∧ Q → R) → (P → Q → R) := begin assume P Q R, assume pfPandQimpR, assume pfP, assume pfQ, ...
f5d60a1075b3521bc50820caccbe158447675a52
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/sheaves/operations.lean
8358d44973eb9967c4b422ba1d9cd25d549555fe
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
3,978
lean
/- Copyright (c) 2022 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import algebra.category.Ring.instances import algebra.category.Ring.filtered_colimits import ring_theory.localization.basic import topology.sheaves.stalks /-! # Operation...
d0f9657b6242d8ce430be8d5c5c897cc94c97f72
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/DualSemilattices.lean
55f6698aaf04b97fba0e1646ee5c5f0670111892
[]
no_license
ysharoda/Deriving-Definitions
3e149e6641fae440badd35ac110a0bd705a49ad2
dfecb27572022de3d4aa702cae8db19957523a59
refs/heads/master
1,679,127,857,700
1,615,939,007,000
1,615,939,007,000
229,785,731
4
0
null
null
null
null
UTF-8
Lean
false
false
9,938
lean
import init.data.nat.basic import init.data.fin.basic import data.vector import .Prelude open Staged open nat open fin open vector section DualSemilattices structure DualSemilattices (A : Type) : Type := (times : (A → (A → A))) (plus : (A → (A → A))) (commutative_times : (∀ {x y : A} , (time...
a54e4acb165f42573c6bf4b1125664b55c83614c
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/order/order_iso_nat.lean
f6c4a02613f5090a5737753e0a7cca18ef202806
[ "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
8,957
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.equiv.denumerable import order.preorder_hom import order.conditionally_complete_lattice /-! # Relation embeddings from the naturals This file allows tra...
f0cd315e5ebec5156feb206c50e36ba971ce2283
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/sets/opens.lean
527ff91f7fcf28bbf6c8068ad8657b2543756936
[ "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
11,696
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Floris van Doorn -/ import order.hom.complete_lattice import topology.bases import topology.homeomorph import topology.continuous_function.basic import ...
3a311c6c9c1c83fc85b3eedc469170a06b5f348f
e39f04f6ff425fe3b3f5e26a8998b817d1dba80f
/category_theory/isomorphism.lean
f95a72e251f9ec30d03e643ab0a69c687cdc87fd
[ "Apache-2.0" ]
permissive
kristychoi/mathlib
c504b5e8f84e272ea1d8966693c42de7523bf0ec
257fd84fe98927ff4a5ffe044f68c4e9d235cc75
refs/heads/master
1,586,520,722,896
1,544,030,145,000
1,544,031,933,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,357
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Tim Baumann, Stephen Morgan, Scott Morrison import category_theory.functor universes u v namespace category_theory structure iso {C : Type u} [category.{u v} C] (X Y : C) := ...
46aa32d6d799a0b2e2e9eeeb927a189ab29fdd61
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/src/Lean/Elab/Quotation.lean
9cdf1a75127420c3afc2f294d644091bf9d6c1cb
[ "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
32,798
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich Elaboration of syntax quotations as terms and patterns (in `match_syntax`). See also `./Hygiene.lean` for the basic hygiene workings and data types. -/ import...
9219bff5ce19be3b1bdbf338b06ec9961db9d8b0
88fb7558b0636ec6b181f2a548ac11ad3919f8a5
/tests/lean/run/simplifier_custom_relations.lean
c28999fdcf9c866bfeb4b0ee32580430ab3a8053
[ "Apache-2.0" ]
permissive
moritayasuaki/lean
9f666c323cb6fa1f31ac597d777914aed41e3b7a
ae96ebf6ee953088c235ff7ae0e8c95066ba8001
refs/heads/master
1,611,135,440,814
1,493,852,869,000
1,493,852,869,000
90,269,903
0
0
null
1,493,906,291,000
1,493,906,291,000
null
UTF-8
Lean
false
false
989
lean
open tactic constants (A : Type) (rel : A → A → Prop) (rel.refl : ∀ a, rel a a) (rel.symm : ∀ a b, rel a b → rel b a) (rel.trans : ∀ a b c, rel a b → rel b c → rel a c) attribute [refl] rel.refl attribute [symm] rel.symm attribute [trans] rel.trans constants (x y z : A) (f g h : A → A)...
47e87e555213e0a3bfd1191fafbcfa805f439ee6
6b2a480f27775cba4f3ae191b1c1387a29de586e
/group_rep1/programmation/test_apply_fun.lean
d24a1d062bbd488a79c2142a9154bf50c565677e
[]
no_license
Or7ando/group_representation
a681de2e19d1930a1e1be573d6735a2f0b8356cb
9b576984f17764ebf26c8caa2a542d248f1b50d2
refs/heads/master
1,662,413,107,324
1,590,302,389,000
1,590,302,389,000
258,130,829
0
1
null
null
null
null
UTF-8
Lean
false
false
1,151
lean
import .apply_fun meta def my_first_tactic : tactic unit := tactic.trace "Hello, World." example : true := begin my_first_tactic, trivial end meta def my_second_tactic : tactic unit := tactic.trace "Hello," >> tactic.trace "World." example : true := begin my_second_tactic, trivial end meta def my_failing_...
c6174487e8b6e3497474825736359057e4d96efe
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/hott/init/tactic.hlean
33ec92cda5630f940cb9a2ef400ad37ec411c9d3
[ "Apache-2.0" ]
permissive
YHVHvx/lean
732bf0fb7a298cd7fe0f15d82f8e248c11db49e9
038369533e0136dd395dc252084d3c1853accbf2
refs/heads/master
1,610,701,080,210
1,449,128,595,000
1,449,128,595,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,092
hlean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura This is just a trick to embed the 'tactic language' as a Lean expression. We should view 'tactic' as automation that when execute produces a term. tactic.buil...
8c9a60d50c2c0456cc061fe5bbed35ca5dc93ad4
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/tactic/abel.lean
8e97c0ab87822b1a75df4967d6ed15d985a95b74
[ "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
16,766
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import tactic.norm_num /-! # The `abel` tactic Evaluate expressions in the language of additive, commutative monoids and groups. -/ namespace tactic namespace ab...
65b1bda5e53e1ee19560bd3fe08f45d018f2ba22
d1a52c3f208fa42c41df8278c3d280f075eb020c
/src/Lean/Data/Rat.lean
f1a518d540caf0a12a6a28d1f8f1c4dfb6ff2531
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
cipher1024/lean4
6e1f98bb58e7a92b28f5364eb38a14c8d0aae393
69114d3b50806264ef35b57394391c3e738a9822
refs/heads/master
1,642,227,983,603
1,642,011,696,000
1,642,011,696,000
228,607,691
0
0
Apache-2.0
1,576,584,269,000
1,576,584,268,000
null
UTF-8
Lean
false
false
3,026
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 -/ namespace Lean /-! Rational numbers for implementing decision procedures. We should not confuse them with the Mathlib rational numbers. -/ structure R...
e0eb630ba9eee91ff3c32d67001a68158ad05bc3
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/algebra/char_p.lean
b91335c5b9136a9d6bac42c368e4ce76689ad9da
[ "Apache-2.0" ]
permissive
anrddh/mathlib
6a374da53c7e3a35cb0298b0cd67824efef362b4
a4266a01d2dcb10de19369307c986d038c7bb6a6
refs/heads/master
1,656,710,827,909
1,589,560,456,000
1,589,560,456,000
264,271,800
0
0
Apache-2.0
1,589,568,062,000
1,589,568,061,000
null
UTF-8
Lean
false
false
9,756
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Kenny Lau, Joey van Langen, Casper Putz Characteristic of semirings. -/ import data.fintype.basic import data.nat.choose import algebra.module universes u v /-- The generator of the kern...
d8200eb3ec9c1bc656a27fdb9cc4eb6ea2d24c04
c777c32c8e484e195053731103c5e52af26a25d1
/src/analysis/calculus/diff_cont_on_cl.lean
2ca22622a955b2a47430c1faae098be110a83699
[ "Apache-2.0" ]
permissive
kbuzzard/mathlib
2ff9e85dfe2a46f4b291927f983afec17e946eb8
58537299e922f9c77df76cb613910914a479c1f7
refs/heads/master
1,685,313,702,744
1,683,974,212,000
1,683,974,212,000
128,185,277
1
0
null
1,522,920,600,000
1,522,920,600,000
null
UTF-8
Lean
false
false
5,832
lean
/- Copyright (c) 2022 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import analysis.calculus.deriv /-! # Functions differentiable on a domain and continuous on its closure Many theorems in complex analysis assume that a func...
b95a753ea0dbe819b75841d05dedbb4709884ead
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/analysis/inner_product_space/dual.lean
08d5fd5d853bc8e85d8a39936ba2d6d81d72cb2d
[ "Apache-2.0" ]
permissive
waynemunro/mathlib
e3fd4ff49f4cb43d4a8ded59d17be407bc5ee552
065a70810b5480d584033f7bbf8e0409480c2118
refs/heads/master
1,693,417,182,397
1,634,644,781,000
1,634,644,781,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,468
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 analysis.inner_product_space.projection import analysis.normed_space.dual /-! # The Fréchet-Riesz representation theorem We consider inner product spaces, ...
8cdf16d26a811b627724ad03250ad59d8f21d07c
a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7
/src/category_theory/discrete_category.lean
c3a1d4ebbcf4b8365257039dc152121f7e1e003a
[ "Apache-2.0" ]
permissive
kmill/mathlib
ea5a007b67ae4e9e18dd50d31d8aa60f650425ee
1a419a9fea7b959317eddd556e1bb9639f4dcc05
refs/heads/master
1,668,578,197,719
1,593,629,163,000
1,593,629,163,000
276,482,939
0
0
null
1,593,637,960,000
1,593,637,959,000
null
UTF-8
Lean
false
false
4,610
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Stephen Morgan, Scott Morrison, Floris van Doorn -/ import data.ulift import data.fintype.basic import category_theory.eq_to_hom namespace category_theory universes v₁ v₂ u₁ u₂ -- de...
804640701ffc97208c415e77a9d9e342330dbb91
efa51dd2edbbbbd6c34bd0ce436415eb405832e7
/20160406_UW/ex.lean
051fe040498d2a6666ffff0cbcd56bbac6b4f7f9
[ "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
363
lean
import algebra.ring open algebra variable {A : Type} check @add.left_cancel abbreviation lcancel {A : Type} [r : ring A] (a : A) {b c : A} : a + b = a + c → b = c := assume H, add.left_cancel H abbreviation addz := @add_zero abbreviation ldist := @left_distrib theorem mul_zero [s : ring A] (a : A) : a * 0 = 0 := lc...
f7bcbde6996dc2a17837e5d227c2a97e92dd70d9
bf532e3e865883a676110e756f800e0ddeb465be
/data/option.lean
c4f78f103fd07de0f12bc6e0bf61673af2ba8a7c
[ "Apache-2.0" ]
permissive
aqjune/mathlib
da42a97d9e6670d2efaa7d2aa53ed3585dafc289
f7977ff5a6bcf7e5c54eec908364ceb40dafc795
refs/heads/master
1,631,213,225,595
1,521,089,840,000
1,521,089,840,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,215
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import logic.basic data.bool namespace option universe u variables {α β : Type u} instance has_mem : has_mem α (option α) := ⟨λ a b, b = some a⟩ @[simp] lemma mem_...
493b8935eaec468e76567f6c02eb809118e000a3
a7dd8b83f933e72c40845fd168dde330f050b1c9
/src/data/mv_polynomial.lean
2e7717bc860b119674cf513757bd57bb7b2f8b34
[ "Apache-2.0" ]
permissive
NeilStrickland/mathlib
10420e92ee5cb7aba1163c9a01dea2f04652ed67
3efbd6f6dff0fb9b0946849b43b39948560a1ffe
refs/heads/master
1,589,043,046,346
1,558,938,706,000
1,558,938,706,000
181,285,984
0
0
Apache-2.0
1,568,941,848,000
1,555,233,833,000
Lean
UTF-8
Lean
false
false
30,704
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 Multivariate Polynomial -/ import algebra.ring import data.finsupp data.polynomial data.equiv.algebra open set function finsupp lattice...
e39f4ad7ef5ffc4ec3e17240f7468b5cc4cec065
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/convex/quasiconvex.lean
d36aa2622e95772cc741a4dcddbc82c1f75f92fa
[ "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
7,827
lean
/- Copyright (c) 2021 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import analysis.convex.function /-! # Quasiconvex and quasiconcave functions This file defines quasiconvexity, quasiconcavity and quasilinearity of functions, which are...
ff1b96fb74f1d02889cbab4c6676ff74b75b2766
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/data/rbmap/default_auto.lean
42aabb77c7533a05fcc79b070250adab75bc7347
[]
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
313
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.data.rbtree.default import Mathlib.Lean3Lib.init.data.rbmap.basic namespace Mathlib end Mathlib
ace38e0a9e15162b28d960c10118eecb8831d4f6
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/filtered.lean
c430450c72be71ca793d5d42f6c99f5ba0459454
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
28,551
lean
/- Copyright (c) 2019 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.fin_category import category_theory.limits.cones import category_theory.adjunction.basic import category_theory.category.preorder imp...
73de668270a879ef88a50f9e77daa13d40271295
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/1331.lean
98bccad9ee429c97db8b235775de78f8f6933e26
[ "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
364
lean
def is_space : char → Prop | ' ' := true | '\x09' := true -- \t | '\n' := true | '\x0d' := true -- \r | _ := false instance is_space.decidable_pred : decidable_pred is_space := begin delta is_space, apply_instance end def f (a : nat) : nat := a + 2 open tactic lemma flemma : f 0 = 2 := begin delta f, ...
700aa3ef1c2f3fe8e58921bec928acc459250e7f
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/WindowsNewlines.lean
7e059edc9e539be1b01e743725c0f51793429a31
[ "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
32
lean
prelude import Init.System.IO
5786e0fc79634cdc5f738e0c1e25cab029a80b2d
c777c32c8e484e195053731103c5e52af26a25d1
/src/group_theory/group_action/quotient.lean
0c2d4a21eb7af637cda9528fb55bfe75f2f0e516
[ "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
15,590
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Thomas Browning -/ import algebra.hom.group_action import data.fintype.big_operators import dynamics.periodic_pts import group_theory.group_action.conj_act import group_the...
c326d330ed8444c5cc14be0aa4baada52e9e90ca
437dc96105f48409c3981d46fb48e57c9ac3a3e4
/src/category_theory/limits/creates.lean
025dc86c67542eccc426e32df61a8319831de102
[ "Apache-2.0" ]
permissive
dan-c-k/mathlib
08efec79bd7481ee6da9cc44c24a653bff4fbe0d
96efc220f6225bc7a5ed8349900391a33a38cc56
refs/heads/master
1,658,082,847,093
1,589,013,201,000
1,589,013,201,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
12,261
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.reflect_isomorphisms open category_theory category_theory.limits namespace category_theory universes v u₁ u₂ u₃ variables {C : Type u₁} [catego...
62fcbb952122af1ecfaf73ff3fa9f69f9fdf116b
9028d228ac200bbefe3a711342514dd4e4458bff
/src/category_theory/limits/preserves/basic.lean
b99425190aad64eade53370cddd18bcc77ac3c5a
[ "Apache-2.0" ]
permissive
mcncm/mathlib
8d25099344d9d2bee62822cb9ed43aa3e09fa05e
fde3d78cadeec5ef827b16ae55664ef115e66f57
refs/heads/master
1,672,743,316,277
1,602,618,514,000
1,602,618,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
16,737
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Reid Barton, Bhavik Mehta -/ import category_theory.limits.limits /-! # Preservation and reflection of (co)limits. There are various distinct notions of "preserving l...
bdfd2dd922fbf4921519264efb6ae82935db7ff4
e0b0b1648286e442507eb62344760d5cd8d13f2d
/stage0/src/Lean/Meta.lean
f474c7fadd722dd7ac79a6af973e7658386276a5
[ "Apache-2.0" ]
permissive
MULXCODE/lean4
743ed389e05e26e09c6a11d24607ad5a697db39b
4675817a9e89824eca37192364cd47a4027c6437
refs/heads/master
1,682,231,879,857
1,620,423,501,000
1,620,423,501,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,025
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.Basic import Lean.Meta.LevelDefEq import Lean.Meta.WHNF import Lean.Meta.InferType import Lean.Meta.FunInfo import Lean.Meta.ExprDefEq impo...
dc9ed98acc3b894c2ebeb87d517f344b4551d38f
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/control/fold.lean
cd8d2cd77ee6f0c8c0c82feeb06b59ffd9bb6211
[ "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,782
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Sean Leather -/ import algebra.free_monoid import algebra.opposites import control.traversable.instances import control.traversable.lemmas import category_theory.category imp...
efeae8a8fc3ce369f0f26870d619e1e8256f2431
d6124c8dbe5661dcc5b8c9da0a56fbf1f0480ad6
/test/run/ir/basicBlockRef.lean
5c311b981cb4fff0df753508a9a18d423630f59b
[ "Apache-2.0" ]
permissive
xubaiw/lean4-papyrus
c3fbbf8ba162eb5f210155ae4e20feb2d32c8182
02e82973a5badda26fc0f9fd15b3d37e2eb309e0
refs/heads/master
1,691,425,756,824
1,632,122,825,000
1,632,123,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,148
lean
import Papyrus open Papyrus def assertEq [Repr α] [DecidableEq α] (expected actual : α) : IO (PLift (expected = actual)) := do if h : expected = actual then return PLift.up h else throw <| IO.userError s!"expected '{repr expected}', got '{repr actual}'" def assertBEq [Repr α] [BEq α] (expected actual : α) : IO...
ae64693f4acf94365ae3c1d915724664d6e4d7c7
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/2125.lean
d8eb0d6e71bddc7843b734c3a249f5897b18a3ba
[ "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
222
lean
open Classical noncomputable def f (α : Type) : Bool := Nonempty α -- The following inductive is unsound: inductive C : Bool → Type -- Must be rejected because `C` occurs inside an index. | c : C (f (C false))