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
d4959e84123d808eb15b9b5e70fa371c713be389
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/src/Lean/Data/Format.lean
7476c600e0a74398c1ec71f195e5239b12e50cb3
[ "Apache-2.0" ]
permissive
dupuisf/lean4
d082d13b01243e1de29ae680eefb476961221eef
6a39c65bd28eb0e28c3870188f348c8914502718
refs/heads/master
1,676,948,755,391
1,610,665,114,000
1,610,665,114,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,700
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ import Lean.Data.Options universes u v namespace Std namespace Format open Lean def getWidth (o : Options) : Nat := o.get `format.width defWidth def ge...
6cc5506cf47b10be87afbf4209feb347afb7c62d
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/equiv/denumerable.lean
697e6cc86b7293912143e4df502322cc39d68f80
[ "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
10,771
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 data.fintype.basic import data.equiv.encodable.basic import data.list.min_max /-! # Denumerable types This file defines denumerable (countably infinite) type...
bc3d0279ffc51e4ea3726196a639a1ef6dd9a35b
00d2363f9655e2a7618f6b94dda7e2c4e5cf8d19
/lean_modifications/print_tactic_state_flat.lean
4f92ff9ffe74e5c992d0d13047b129b6681bbe16
[ "Apache-2.0" ]
permissive
devjuice1/lean_proof_recording
927e276e2ab8fb1288f51d9146dcfbf0d6444a87
bf7c527315deccd35363fa7ca89d97d7b9cb6ac1
refs/heads/master
1,692,914,925,585
1,633,018,872,000
1,633,018,872,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,269
lean
/- This is a staging area for code which will be inserted into a Lean file. The code to be inserted is between the line comments `PR BEGIN MODIFICATION` and `PR END MODIFICATION` It will be inserted by `insert_proof_recording_code.py`. Insert info: - file: `_target/lean/library/init/meta/tactic.lean` - location...
7a8139e64867d5912de00872e8f8eeff8c4ec4ba
9dc8cecdf3c4634764a18254e94d43da07142918
/src/ring_theory/ring_hom/integral.lean
d1cefb6682bd41b362ba387a3366477d1c59732f
[ "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
1,150
lean
/- Copyright (c) 2021 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import ring_theory.local_properties import ring_theory.localization.integral /-! # The meta properties of integral ring homomorphisms. -/ namespace ring_hom open_local...
5b14dceca5ae3fcb69add6df0bb5d74d0ad85eab
d6124c8dbe5661dcc5b8c9da0a56fbf1f0480ad6
/Papyrus/Script/GlobalModifiers.lean
606b5354f5a1694f809bfbd78f16b00344101fce
[ "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,806
lean
import Lean.Parser import Papyrus.IR.GlobalModifiers namespace Papyrus.Script open Lean Parser Term -- ## Linkage @[runParserAttributeHooks] def linkageLit := leading_parser nonReservedSymbol "external" <|> nonReservedSymbol "available_externally" <|> nonReservedSymbol "linkonce" <|> nonReservedSymbol "linko...
ccd1bebbcc9f8bc397bdf9c72fe59b0d2434007b
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/algebra/equiv.lean
09a946d990821fd165d83fdc9ef8f9ad5b5ed2e5
[ "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
21,612
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Yury Kudryashov -/ import algebra.algebra.hom /-! # Isomorphisms of `R`-algebras > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding P...
6d4c1bc1786ba043e85642e3ae012b228c711b57
cf39355caa609c0f33405126beee2739aa3cb77e
/library/init/data/array/default.lean
b427d36249cc44b42705184f6734d1e03f293728
[ "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
219
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ prelude import init.data.array.basic init.data.array.slice
11916a02cb8b0404186d9816b6328aa68e42c208
94e33a31faa76775069b071adea97e86e218a8ee
/src/analysis/specific_limits/floor_pow.lean
ac785503dbfbc105b91ac5e97710036f71986efd
[ "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
17,664
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.specific_limits.basic import analysis.special_functions.pow /-! # Results on discretized exponentials We state several auxiliary results pert...
03c89a894817a0a4eacd14e1e11797623fd1c928
a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7
/src/topology/opens.lean
07a946eb5bf57812cc58e5d0afe38dbb3093e8fa
[ "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
6,302
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 Subtype of open subsets in a topological space. -/ import topology.bases import topology.separation open filter variables {α : Type*} {β : Type*} [topo...
1907c2c9a0667e3fbb14dde07ed389882b38a13b
5ee26964f602030578ef0159d46145dd2e357ba5
/src/for_mathlib/sheaves/sheaf_of_rings.lean
b7fbab04faf291364da4e2058039e2e8ee420b60
[ "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
1,012
lean
/- Sheaf of rings. https://stacks.math.columbia.edu/tag/0071 Author: Ramon Fernandez Mir -/ import for_mathlib.sheaves.sheaf import for_mathlib.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 (pro...
bc63a25e31623b333b51d308b324f4f0fb27125a
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/limits/shapes/default_auto.lean
f2b92577796a706e52560cbe23601638f58df7fe
[]
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
786
lean
import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.limits.shapes.terminal import Mathlib.category_theory.limits.shapes.binary_products import Mathlib.category_theory.limits.shapes.products import Mathlib.category_theory.limits.shapes.finite_products import Mathlib.category_theory...
6cfe56c66fe676b42039824e1a232dbd05a9068f
05b503addd423dd68145d68b8cde5cd595d74365
/src/meta/expr.lean
b585b0707c197c678d5364a996117dbc96abc04a
[ "Apache-2.0" ]
permissive
aestriplex/mathlib
77513ff2b176d74a3bec114f33b519069788811d
e2fa8b2b1b732d7c25119229e3cdfba8370cb00f
refs/heads/master
1,621,969,960,692
1,586,279,279,000
1,586,279,279,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
27,234
lean
/- Copyright (c) 2019 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Simon Hudon, Scott Morrison, Keeley Hoek, Robert Y. Lewis -/ import data.string.defs tactic.derive_inhabited /-! # Additional operations on expr and related types Thi...
25214bf85ef9c86841e498e55e6da2a723754b16
46125763b4dbf50619e8846a1371029346f4c3db
/src/data/set/function.lean
fae6801c3fde4d091431e073035dde99a0acb9c0
[ "Apache-2.0" ]
permissive
thjread/mathlib
a9d97612cedc2c3101060737233df15abcdb9eb1
7cffe2520a5518bba19227a107078d83fa725ddc
refs/heads/master
1,615,637,696,376
1,583,953,063,000
1,583,953,063,000
246,680,271
0
0
Apache-2.0
1,583,960,875,000
1,583,960,875,000
null
UTF-8
Lean
false
false
15,606
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad, Andrew Zipperer, Haitao Zhang, Minchao Wu, Yury Kudryashov -/ import data.set.basic logic.function /-! # Functions over sets ## Main definitions * `eq_on f₁ f₂ s` : fun...
d37d3820167cd91c1295164aa91befcce0d0c6cf
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/normed_space/hahn_banach/extension.lean
30d4c9802a94c9e6763c976f810b45988b64b9bf
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
6,912
lean
/- Copyright (c) 2020 Yury Kudryashov All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov, Heather Macbeth -/ import analysis.convex.cone.basic import analysis.normed_space.is_R_or_C import analysis.normed_space.extend import data.is_R_or_C.lemmas /-! # Ext...
7f3663a962953eeb4d9137364764e1e41de49c6a
07f5f86b00fed90a419ccda4298d8b795a68f657
/library/data/rbtree/main.lean
62d6d3a957f21d49b4d09a4c69f919d945cdabfc
[ "Apache-2.0" ]
permissive
VBaratham/lean
8ec5c3167b4835cfbcd7f25e2173d61ad9416b3a
450ca5834c1c35318e4b47d553bb9820c1b3eee7
refs/heads/master
1,629,649,471,814
1,512,060,373,000
1,512,060,469,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,420
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 data.rbtree.find data.rbtree.insert data.rbtree.min_max universes u /- TODO(Leo): remove after we cleanup stdlib simp lemmas -/ local attribute [-si...
6eead39c0834461f41a5f63bf826919cf5512ac2
b3fced0f3ff82d577384fe81653e47df68bb2fa1
/src/data/nat/basic.lean
460cc768ad18227b0ab6a02a2810695e6501221e
[ "Apache-2.0" ]
permissive
ratmice/mathlib
93b251ef5df08b6fd55074650ff47fdcc41a4c75
3a948a6a4cd5968d60e15ed914b1ad2f4423af8d
refs/heads/master
1,599,240,104,318
1,572,981,183,000
1,572,981,183,000
219,830,178
0
0
Apache-2.0
1,572,980,897,000
1,572,980,896,000
null
UTF-8
Lean
false
false
50,808
lean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Leonardo de Moura, Jeremy Avigad, Mario Carneiro Basic operations on the natural numbers. -/ import logic.basic algebra.ordered_ring data.option.basic universes u...
1bd4ac1fb07aaef459c704386d2500bd8bdd671f
38bf3fd2bb651ab70511408fcf70e2029e2ba310
/src/data/option/basic.lean
ef8fd52c638f77077486d08387622a1213bb67e3
[ "Apache-2.0" ]
permissive
JaredCorduan/mathlib
130392594844f15dad65a9308c242551bae6cd2e
d5de80376088954d592a59326c14404f538050a1
refs/heads/master
1,595,862,206,333
1,570,816,457,000
1,570,816,457,000
209,134,499
0
0
Apache-2.0
1,568,746,811,000
1,568,746,811,000
null
UTF-8
Lean
false
false
6,110
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 data.option.defs tactic.basic namespace option variables {α : Type*} {β : Type*} {γ : Type*} @[simp] theorem get_mem : ∀ {o : option α}...
01f3ff728e88c3bb9d6946d16e977c582dea2ee2
8be24982c807641260370bd09243eac768750811
/src/e_transcendental.lean
402438d3c75a24383d7e4e769123dc7bd17730e4
[]
no_license
jjaassoonn/transcendental
8008813253af3aa80b5a5c56551317e7ab4246ab
99bc6ea6089f04ed90a0f55f0533ebb7f47b22ff
refs/heads/master
1,607,869,957,944
1,599,659,687,000
1,599,659,687,000
234,444,826
9
1
null
1,598,218,307,000
1,579,224,232,000
HTML
UTF-8
Lean
false
false
75,344
lean
import ring_theory.algebraic import e_trans_helpers2 noncomputable theory open_locale classical open_locale big_operators notation α`[X]` := polynomial α def e : ℝ := real.exp 1 /-Definition For any prime number $p$ and natural number $n$, we can define a polynomial \[f_{p,n}:=X^{p-1}(X-1)^p\cdots(X-n)^p\] -/ def f_...
014aaef102c40d6c6913a3b27c1a838311c7bd52
3dd1b66af77106badae6edb1c4dea91a146ead30
/tests/lean/run/uni2.lean
a557e76106b513568bbbccb9b7723c7ee06941b9
[ "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
1,335
lean
import logic inductive nat : Type := | zero : nat | succ : nat → nat variable f : nat → nat check @nat_rec (* local env = get_env() local nat_rec = Const("nat_rec", {1}) local nat = Const("nat") local f = Const("f") local n = Local("n", nat) local C = Fun(n, Prop) local p = Local("p"...
39c9c9524394a037ebc7135927c0594ded4ae344
cc104245380aa3287223e0e350a8319e583aba37
/src/testseq.lean
71e14571d8c9c2d39885d7e224d260bf970e12b7
[]
no_license
anca797/group-cohomology
7d10749d28430d30698e7ec0cc33adbac97fe5e7
f896dfa5057bd70c6fbb09ee6fdc26a7ffab5e5d
refs/heads/master
1,591,037,800,699
1,561,424,571,000
1,561,424,571,000
190,891,710
3
0
null
null
null
null
UTF-8
Lean
false
false
318
lean
import algebra.group -- for is_add_group_hom import group_theory.subgroup -- for kernels open set is_add_group_hom def is_exact {A B C : Type*} [add_comm_group A] [add_comm_group B] [add_comm_group C] (f : A → B) (g : B → C) [is_add_group_hom f] [is_add_group_hom g] : Prop := range f = ker g #check is_exact
366186a85868d19afccabf6e75d0f7f061a766e7
4727251e0cd73359b15b664c3170e5d754078599
/src/linear_algebra/exterior_algebra/basic.lean
649695e8e36e9d004a64807b36f4df9b283b8da1
[ "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
12,187
lean
/- Copyright (c) 2020 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhangir Azerbayev, Adam Topaz, Eric Wieser -/ import algebra.ring_quot import linear_algebra.tensor_algebra.basic import linear_algebra.alternating import group_theory.perm.sign /-! # Ex...
937a8f41fe0dd547ad310b3acbc4884033a230dd
6e41ee3ac9b96e8980a16295cc21f131e731884f
/hott/init/hedberg.hlean
aaff2c60e6b8bf4799af06319719b24ee800210b
[ "Apache-2.0" ]
permissive
EgbertRijke/lean
3426cfa0e5b3d35d12fc3fd7318b35574cb67dc3
4f2e0c6d7fc9274d953cfa1c37ab2f3e799ab183
refs/heads/master
1,610,834,871,476
1,422,159,801,000
1,422,159,801,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,510
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 Hedberg's Theorem: every type with decidable equality is a hset -/ prelude import init.trunc open eq eq.ops nat truncation sigma -- TODO(Leo): move const col...
4e901f7ef92525c9892f6e8ecf5ba8c58ddf4f3d
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/stage0/src/Init/Data/List/Control.lean
25dcf05b0b190c1b9b6bc968ae93fb5bab980471
[ "Apache-2.0" ]
permissive
williamdemeo/lean4
72161c58fe65c3ad955d6a3050bb7d37c04c0d54
6d00fcf1d6d873e195f9220c668ef9c58e9c4a35
refs/heads/master
1,678,305,356,877
1,614,708,995,000
1,614,708,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,938
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 -/ prelude import Init.Control.Basic import Init.Control.Foldable import Init.Data.List.Basic namespace List universes u v w u₁ u₂ /- Remark: we can define `m...
e1381e855ab89490e2d5c79c3674e2c6c0dd1095
947b78d97130d56365ae2ec264df196ce769371a
/tests/playground/DiscrTree.lean
7d856f177bab18e973e7e956507cea10318f144d
[ "Apache-2.0" ]
permissive
shyamalschandra/lean4
27044812be8698f0c79147615b1d5090b9f4b037
6e7a883b21eaf62831e8111b251dc9b18f40e604
refs/heads/master
1,671,417,126,371
1,601,859,995,000
1,601,860,020,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,357
lean
import Lean.Format open Lean def List.insert {α} [HasBeq α] (as : List α) (a : α) : List α := if as.contains a then as else a::as inductive Term | var : Nat → Term | app : String → Array Term → Term instance : Inhabited Term := ⟨Term.var 0⟩ inductive Key | var : Key | sym : String → Nat → Key instance : Inhabited ...
2753f01aba4f2ccd8df7963f307f6fbf8af86ce1
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/counterexamples/direct_sum_is_internal.lean
08d293d5e7eb465328ba819690de0b660c2f68bb
[ "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,767
lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser, Kevin Buzzard -/ import algebra.direct_sum.module import algebra.group.conj_finite import tactic.fin_cases /-! # Not all complementary decompositions of a module over a sem...
4958e8431794e8d60505ca70233ba600234c3a23
42610cc2e5db9c90269470365e6056df0122eaa0
/hott/hit/coeq.hlean
d88138c9ada6e2e3801af29f8574f75d1111c9c6
[ "Apache-2.0" ]
permissive
tomsib2001/lean
2ab59bfaebd24a62109f800dcf4a7139ebd73858
eb639a7d53fb40175bea5c8da86b51d14bb91f76
refs/heads/master
1,586,128,387,740
1,468,968,950,000
1,468,968,950,000
61,027,234
0
0
null
1,465,813,585,000
1,465,813,585,000
null
UTF-8
Lean
false
false
5,150
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 Declaration of the coequalizer -/ import .quotient_functor types.equiv open quotient eq equiv is_trunc sigma sigma.ops namespace coeq section universe u paramet...
5929da110fe188ba0877d70b63cd9fb5b72a7a42
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/box_integral/partition/split.lean
45dbc69989c9e18a1843c5045ee010d11d8afebb
[ "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
15,786
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.box_integral.partition.basic /-! # Split a box along one or more hyperplanes > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file...
c1afcaebb600b1c877ef553bcff4bdc956da128e
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/group/basic.lean
3f2c23ee18090682313fb0c1a1a5f608aeff026f
[ "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
20,631
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura, Simon Hudon, Mario Carneiro -/ import algebra.group.defs import data.bracket import logic.function.basic /-! # Basic lemmas about semigroups, monoids...
8bda9b398e57600fd4f49aed8313db9010d35c6b
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch5/ex0502.lean
c58f70b17febc9e1ae7844156cd6e27529d96713
[]
no_license
Ailrun/Theorem_Proving_in_Lean
ae6a23f3c54d62d401314d6a771e8ff8b4132db2
2eb1b5caf93c6a5a555c79e9097cf2ba5a66cf68
refs/heads/master
1,609,838,270,467
1,586,846,743,000
1,586,846,743,000
240,967,761
1
0
null
null
null
null
UTF-8
Lean
false
false
69
lean
example (p q : Prop) (hp : p) : p ∨ q := by { left, assumption }
643b2a02334418599974ab3cc6e898e26c0ef9c6
b186c784450e8bcbcf835ab3f10fa7e73f27bc2e
/chapter_3.lean
585f0b9352278e76d0d5dbeb9e263c34ef43ad84
[]
no_license
esclear/Learning-Lean
9780a0efe769e275992cf3ab4ebf55809ec53b48
d81d5c4743b94c96d8f1bb135e1f13a1d99b3154
refs/heads/master
1,593,312,896,806
1,565,904,243,000
1,565,904,243,000
200,125,941
0
0
null
null
null
null
UTF-8
Lean
false
false
2,425
lean
namespace inner constant and : Prop → Prop → Prop constant or : Prop → Prop → Prop constant not : Prop → Prop constant implies : Prop → Prop → Prop variables p q r : Prop -- #check and p q -- Prop -- #check or (and p q) r -- Prop -- #check implies (and p q) (and q p) -- Prop constant Proof : ...
14a7a02e7dd9a2b6965cd363faf6ac3d2f8d3ea8
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/multiset/gcd_auto.lean
abd090b6728d1961a6309cd6aca3004902c1f665
[]
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
6,219
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Aaron Anderson -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.multiset.lattice import Mathlib.algebra.gcd_monoid import Mathlib.PostPort universes u...
6f94d86cbf9a8ff613833d54f503b33a204a7959
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/topology/maps.lean
fa11749940dd46d1e6ca5a61b1272c2290314729
[ "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
17,610
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Patrick Massot -/ import topology.order /-! # Specific classes of maps between topological spaces This file introduces the following properties of a m...
665c3d0b5013cb7dbc0addd12a4a74bb125cdf5d
46125763b4dbf50619e8846a1371029346f4c3db
/src/topology/uniform_space/completion.lean
3d84ee1dc41e5618feb749b80f6e94d72efd9b32
[ "Apache-2.0" ]
permissive
thjread/mathlib
a9d97612cedc2c3101060737233df15abcdb9eb1
7cffe2520a5518bba19227a107078d83fa725ddc
refs/heads/master
1,615,637,696,376
1,583,953,063,000
1,583,953,063,000
246,680,271
0
0
Apache-2.0
1,583,960,875,000
1,583,960,875,000
null
UTF-8
Lean
false
false
23,322
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 Hausdorff completions of uniform spaces. The goal is to construct a left-adjoint to the inclusion of complete Hausdorff uniform spaces into all uniform...
67ec3af94e4a589facf6f67c1fbb5e8e2cc6fc04
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/module/basic.lean
a96837882536e8e8ec6400155cc8558e63ebb1aa
[]
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
18,235
lean
/- Copyright (c) 2015 Nathaniel Thomas. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nathaniel Thomas, Jeremy Avigad, Johannes Hölzl, Mario Carneiro -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.big_operators.basic import Mathl...
abd2c888a9fffb5fbb7f17e33e00e2d83f632915
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/tests/lean/276.lean
2b75e92c30dcb490642f47813bafb7a1ef90db57
[ "Apache-2.0" ]
permissive
WojciechKarpiel/lean4
7f89706b8e3c1f942b83a2c91a3a00b05da0e65b
f6e1314fa08293dea66a329e05b6c196a0189163
refs/heads/master
1,686,633,402,214
1,625,821,189,000
1,625,821,258,000
384,640,886
0
0
Apache-2.0
1,625,903,617,000
1,625,903,026,000
null
UTF-8
Lean
false
false
459
lean
universe u v -- `Type u` version can be defined without this option, but I get the same error set_option bootstrap.inductiveCheckResultingUniverse false in inductive PEmpty : Sort u -- `#check` works set_option pp.all true in #check fun {α : Sort v} => PEmpty.rec (fun _ => α) -- but `def` doesn't work -- error: (ker...
e5c479b67bf82cd154143d03a4567849e2c7fcb3
9c2e8d73b5c5932ceb1333265f17febc6a2f0a39
/src/S4/vanilla.lean
44d9c830e4ff3d23872e4fd39f295b62cedbf4f5
[ "MIT" ]
permissive
minchaowu/ModalTab
2150392108dfdcaffc620ff280a8b55fe13c187f
9bb0bf17faf0554d907ef7bdd639648742889178
refs/heads/master
1,626,266,863,244
1,592,056,874,000
1,592,056,874,000
153,314,364
12
1
null
null
null
null
UTF-8
Lean
false
false
8,893
lean
import .rules open psum nnf node set_option eqn_compiler.zeta true def tableau : Π Γ : sseqt, node Γ | Γ := match get_contra_seqt Γ with | inl w := contra_rule_seqt w.2 | inr no_contra := match get_and_seqt Γ with | inl w := let inst := and_instance_seqt.cons w.2 in have h : prod.measure_lex...
cfde05b696db6bd9494332b855b52ad2d887f48b
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/tactic/scc.lean
daf4384c839881720843c256cec6e294a06d0b2d
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
12,903
lean
/- Copyright (c) 2018 Simon Hudon All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon Tactics based on the strongly connected components (SCC) of a graph where the vertices are propositions and the edges are implications found in the context. They are used for...
54cf845ae9b344f4a50d75583e0f347d0e7c8594
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/tactic/rewrite_search/search.lean
9432852bd5625b007ea59c6f14c9a1625b98d94d
[ "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
8,631
lean
/- Copyright (c) 2020 Kevin Lacker, Keeley Hoek, Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Lacker, Keeley Hoek, Scott Morrison -/ import data.buffer.basic import tactic.rewrite_search.discovery import tactic.rewrite_search.types /-! # The g...
2aa3633fa77cde933f1ffd8c1ce563ff7d2bc98f
a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7
/src/topology/separation.lean
f39fe4f14d9b2155ac3f9fa834d0b7b4f5be404e
[ "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
17,808
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 Separation properties of topological spaces. -/ import topology.subset_properties open set filter open_locale topological_space filter local attribute ...
66a0263f90e7a76ec306cdf4d076bbb5b0ffc910
3aad12fe82645d2d3173fbedc2e5c2ba945a4d75
/src/data/serial/default.lean
439a68988c39bd4ad3d494ed0e78724f47610fa3
[]
no_license
seanpm2001/LeanProver-Community_MathLIB-Nursery
4f88d539cb18d73a94af983092896b851e6640b5
0479b31fa5b4d39f41e89b8584c9f5bf5271e8ec
refs/heads/master
1,688,730,786,645
1,572,070,026,000
1,572,070,026,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
49
lean
import data.serial.derive data.serial.instances
5ebe05bd4e597537e28f7e974688e86feae17ea8
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/geometry/manifold/algebra/lie_group.lean
3dbdc94c3ee09f49056b91991d68d3b34e5cedf0
[ "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,050
lean
/- Copyright © 2020 Nicolò Cavalleri. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nicolò Cavalleri -/ import geometry.manifold.algebra.monoid /-! # Lie groups A Lie group is a group that is also a smooth manifold, in which the group operations of multiplication a...
e929f04e7bc2e9c30cd43067e708ac1dba985125
1d265c7dd8cb3d0e1d645a19fd6157a2084c3921
/src/other/set_exer.lean
23953781a82a522e454351d9e833fecd53f5ab0c
[ "MIT" ]
permissive
hanzhi713/lean-proofs
de432372f220d302be09b5ca4227f8986567e4fd
4d8356a878645b9ba7cb036f87737f3f1e68ede5
refs/heads/master
1,585,580,245,658
1,553,646,623,000
1,553,646,623,000
151,342,188
0
1
null
null
null
null
UTF-8
Lean
false
false
12,391
lean
import data.set import data.list open set open classical variable U : Type variables A B C D : set U -- 1. example : A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C) := begin apply ext, assume x, split, assume h, split, cases h, left, assumption, right, exa...
52a52cf49cbd36fad145693ce6f396e693eb3c71
437dc96105f48409c3981d46fb48e57c9ac3a3e4
/src/data/fintype/basic.lean
532fbfe6bd2e4affeca89b96feb6edea8510426d
[ "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
40,171
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Finite types. -/ import data.finset import data.array.lemmas universes u v variables {α : Type*} {β : Type*} {γ : Type*} /-- `fintype α` means that `α` is finite, i.e....
cf54f010857262f8b54b8f2008b11145ef57b6ee
94e33a31faa76775069b071adea97e86e218a8ee
/src/algebra/star/self_adjoint.lean
a2a65697b3a5fa2785f64a2b317a7b72b02483d8
[ "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
11,209
lean
/- Copyright (c) 2021 Frédéric Dupuis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Frédéric Dupuis -/ import algebra.star.basic import group_theory.subgroup.basic /-! # Self-adjoint, skew-adjoint and normal elements of a star additive group This file defines `sel...
0e5f555a3e9290a185f638227cd0a0089a8cab0e
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/monoidal/Bimod.lean
7ff041dcfd99e81ba19f1336b8a4ecac3db62e34
[ "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
42,693
lean
/- Copyright (c) 2022 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Oleksandr Manzyuk -/ import category_theory.bicategory.basic import category_theory.monoidal.Mon_ import category_theory.limits.preserves.shapes.equalizers /-! # The c...
414526999eaf1ef9f49acab10f22568ce667e359
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/normed/field/basic.lean
56be2fce5eb61160ed1f1e43c5eb1d365c7292b8
[ "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
39,666
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 -/ import analysis.normed.group.infinite_sum import topology.algebra.module.basic import topology.instances.ennreal import topology.instances.rat /-! # ...
ebbe8ff223b48d1ba5ba11d2b29b1f265b5d4f19
6c56e3fbe5d7711b66a3b46f1810b44cfa109768
/src/day3.lean
e22ecca5571fb61d99227605c623a237908ec8f8
[]
no_license
kodyvajjha/lean-mmc2021
015e7ba9d2f43397582d42ad282e88c8ce876dc3
cc774208f9dc041cad4def289357301b4a0a8173
refs/heads/master
1,689,416,888,246
1,630,161,054,000
1,630,161,054,000
384,140,257
1
0
null
null
null
null
UTF-8
Lean
false
false
282
lean
import data.nat.choose open_locale big_operators lemma sum_n_choose (n : ℕ) : ∑ k in finset.range n, k = n.choose 2 := begin sorry end lemma imo_2019_qA3 (f : ℤ → ℤ) (hf : ∀ a b, f(2*a) + 2*f(b) = f(f(a + b))) : f = 0 ∨ ∃ c : ℤ, ∀ x, f x = 2*x + c := sorry
714a235ca6c9d832ea91f162279bd3c9d077bbaf
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/algebra/order/upper_lower.lean
792ad0b431a157a6cb293788da2d7d5f42396e48
[ "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,210
lean
/- Copyright (c) 2022 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import algebra.order.upper_lower import topology.algebra.group.basic /-! # Topological facts about upper/lower/order-connected sets > THIS FILE IS SYNCHRONIZED WITH MAT...
1312c6b0adab3643c48876e4028cadde9652d529
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/ring_theory/adjoin/fg.lean
76874cf160f369bcf51040cb2977ed1fb2584f5c
[ "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,010
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import ring_theory.polynomial.basic import ring_theory.principal_ideal_domain import data.mv_polynomial.basic /-! # Adjoining elements to form subalgebras This file develops ...
a221787eac084f2baa18ff5f45ef8a9ffe02ae3c
d31b9f832ff922a603f76cf32e0f3aa822640508
/src/hott/types/unit.lean
8160b5acb70397b5f35c54459bee1dda41440665
[ "Apache-2.0" ]
permissive
javra/hott3
6e7a9e72a991a2fae32e5764982e521dca617b16
cd51f2ab2aa48c1246a188f9b525b30f76c3d651
refs/heads/master
1,585,819,679,148
1,531,232,382,000
1,536,682,965,000
154,294,022
0
0
Apache-2.0
1,540,284,376,000
1,540,284,375,000
null
UTF-8
Lean
false
false
1,673
lean
/- 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 Theorems about the unit type -/ import ..init universes u v w hott_theory namespace hott open hott.is_equiv hott.equiv option pointed is_trunc function unit notat...
1fbbf2d3e4049d15ec3327c8941e44ee5a534456
ff5230333a701471f46c57e8c115a073ebaaa448
/library/init/data/option/instances.lean
35f6aa7a51f4e90aa6ac94e70a35bee838bad85f
[ "Apache-2.0" ]
permissive
stanford-cs242/lean
f81721d2b5d00bc175f2e58c57b710d465e6c858
7bd861261f4a37326dcf8d7a17f1f1f330e4548c
refs/heads/master
1,600,957,431,849
1,576,465,093,000
1,576,465,093,000
225,779,423
0
3
Apache-2.0
1,575,433,936,000
1,575,433,935,000
null
UTF-8
Lean
false
false
1,035
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.data.option.basic import init.meta.tactic import init.category.lawful universes u v instance : is_lawful_monad option := { id_map := λ...
29ebadfa7939d3601c5e45bcbf6d31a9b1116627
491068d2ad28831e7dade8d6dff871c3e49d9431
/library/data/nat/div.lean
211cfa466d5267bfd4c4dd4a00928534f68a3dc7
[ "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
26,536
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 Definitions and properties of div and mod. Much of the development follows Isabelle's library. -/ import data.nat.sub open eq.ops well_founded decidabl...
dfa792cbdc21e031748d2914db3c4876fe0af691
6950a6e5cebf75da9b91f42789baf52514655111
/tptp/simplification_tptp.lean
dfe5bb7c2b2649c32b1b8a0cce9ea6a2baffc9a8
[]
no_license
phlippe/Lean_hammer
a6d0a1af09fbce0c58b801032099b9b91d49ecf0
2116279b9c6b334f5b661e4abf4561368cca2391
refs/heads/master
1,587,486,769,513
1,561,466,931,000
1,561,466,931,000
169,705,506
0
1
null
1,550,228,564,000
1,549,614,939,000
Lean
UTF-8
Lean
false
false
3,224
lean
import .tptp import .translation_tptp --#################### --## Simplification ## --#################### meta def replace_term_in_list : list axioma → folterm → folterm → list axioma | (x :: xs) old_term new_term := [⟨x.n, folform.replace_term x.f old_term new_term⟩] ++ (replace_term_in_list xs old_term new_term) |...
f794041fb911ce1ca20fcb595c43253f375c422b
26bff4ed296b8373c92b6b025f5d60cdf02104b9
/hott/algebra/precategory/functor.hlean
1aa02d6cb13056fc8458248aa3740fd5c28a6859
[ "Apache-2.0" ]
permissive
guiquanz/lean
b8a878ea24f237b84b0e6f6be2f300e8bf028229
242f8ba0486860e53e257c443e965a82ee342db3
refs/heads/master
1,526,680,092,098
1,427,492,833,000
1,427,493,281,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,494
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: algebra.precategory.functor Authors: Floris van Doorn, Jakob von Raumer -/ import .basic types.pi .iso open function category eq prod equiv is_equiv sigma sigma.ops is_trunc funext...
916c3ab9b10de707b45c1d9e0a5da2bb6efffffc
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/hott/algebra/category/precategory.hlean
b3a88b12c18f3a214d814b8d99d9b207a06a6930
[ "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
12,115
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 -/ import types.trunc types.pi arity open eq is_trunc pi equiv namespace category /- Just as in Coq-HoTT we add two redundant fields to precategories: assoc' an...
1d0575268a50d9265c87aca5ab4554f710bba52c
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/category/Group/Z_Module_equivalence.lean
5b0097f651da59b3fa90ecdc158560b15f291934
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
1,639
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.category.Module.basic /-! The forgetful functor from ℤ-modules to additive commutative groups is an equivalence of categories. TODO: either use this ...
ca67488c8cfa5adf26fdee0e59bb172d031b4845
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/field_type_mismatch.lean
505fe2579fc9ba40cd77fc627fc2843e63ff8379
[ "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
146
lean
namespace test instance : has_add nat := {add := nat.succ} instance : semigroup nat := {mul := nat.add, mul_assoc := trivial } end test
9959abb8dd00561f50c7d61b9e313cff275d55d8
562dafcca9e8bf63ce6217723b51f32e89cdcc80
/src/super/prover_state.lean
3bd59c7ef618ad029b9e683f98914ff60d8329a6
[]
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
15,528
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 .lpo .cdcl_solver open tactic functor monad expr namespace super structure score := (priority : ℕ) (in_sos : bool) (cost : ℕ) (age : ℕ) namespace scor...
ed517ddced8a8a700b6986fd51d3fc807eecb1ff
957a80ea22c5abb4f4670b250d55534d9db99108
/library/init/meta/default.lean
018efacaa35098708d9ef974d68cd2b418bc5b56
[ "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
986
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.name init.meta.options init.meta.format init.meta.rb_map import init.meta.level init.meta.expr init.meta.environment init.meta.attr...
c271c9fbe6266b97f854d8b432af6ac7e07a957f
80746c6dba6a866de5431094bf9f8f841b043d77
/src/tactic/linarith.lean
0dbb972bfdb6907f12ca96d71a9e044483b70550
[ "Apache-2.0" ]
permissive
leanprover-fork/mathlib-backup
8b5c95c535b148fca858f7e8db75a76252e32987
0eb9db6a1a8a605f0cf9e33873d0450f9f0ae9b0
refs/heads/master
1,585,156,056,139
1,548,864,430,000
1,548,864,438,000
143,964,213
0
0
Apache-2.0
1,550,795,966,000
1,533,705,322,000
Lean
UTF-8
Lean
false
false
31,312
lean
/- Copyright (c) 2018 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Robert Y. Lewis A tactic for discharging linear arithmetic goals using Fourier-Motzkin elimination. `linarith` is (in principle) complete for ℚ and ℝ. It is not complete for n...
963444d65cc00f20586bf28fe2b67ad84e3ce0d1
200b12985a863d01fbbde6abfc9326bb82424a8b
/src/propLogic/Ex014.lean
2d7e7206b8de0c7957aeafbcffd57688a19070d3
[]
no_license
SvenWille/LeanLogicExercises
38eacd36733ac48e5a7aacf863c681c9a9a48271
2dbc920feadd63bbc50f87e69646c0081db26eba
refs/heads/master
1,629,676,667,365
1,512,161,459,000
1,512,161,459,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
378
lean
theorem Ex014(a b: Prop): a ∧ b ↔ b ∧ a := show a ∧ b ↔ b ∧ a , from iff.intro ( assume H1:a ∧ b, have A:a,from and.elim_left H1, have B:b,from and.elim_right H1, show b ∧ a, from and.intro B A ) ( assume H1 : b ∧ a, have A:b,from and.elim_left H1, have B:a,from and.elim_right H1, ...
4cde06db3662acf5003c6cf6c4df28e0929d8903
1446f520c1db37e157b631385707cc28a17a595e
/stage0/src/Init/Data/Nat/Basic.lean
901674de3da167b02a32b3bfa74504abc7a81647
[ "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
24,204
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Leonardo de Moura -/ prelude import Init.Core universes u namespace Nat @[extern "lean_nat_dec_eq"] def beq : Nat → Nat → Bool | zero, zero => true | zer...
b3d998fdcd7dbb63b77dbbb259862277b9d017aa
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/set/intervals/proj_Icc_auto.lean
9686c084a3c7ab0c15f7f59e85bf24748bc1209e
[]
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,980
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, Patrick Massot -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.set.intervals.basic import Mathlib.PostPort universes u_1 u_2...
703e2cb2b7f914ae5665bb5a957d6570bb621ac3
4727251e0cd73359b15b664c3170e5d754078599
/src/combinatorics/simple_graph/degree_sum.lean
795ded7bb0f87bd7386007bd9a39f2787c7e7102
[ "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,021
lean
/- Copyright (c) 2020 Kyle Miller. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kyle Miller -/ import combinatorics.simple_graph.basic import algebra.big_operators.basic import data.nat.parity import data.zmod.parity /-! # Degree-sum formula and handshaking lemma T...
c8a1cfc25cc729c3a6adc18fe018386374d58e22
1fbca480c1574e809ae95a3eda58188ff42a5e41
/src/util/predicate/basic.lean
5dc8f493c99353a0c969960057b931f678df4547
[]
no_license
unitb/lean-lib
560eea0acf02b1fd4bcaac9986d3d7f1a4290e7e
439b80e606b4ebe4909a08b1d77f4f5c0ee3dee9
refs/heads/master
1,610,706,025,400
1,570,144,245,000
1,570,144,245,000
99,579,229
5
0
null
null
null
null
UTF-8
Lean
false
false
5,887
lean
import util.logic import util.category import util.meta.tactic.basic import util.meta.tactic.monotonicity run_cmd do mk_simp_attr `predicate, mk_simp_attr `lifted_fn namespace predicate universe variables u u' u₀ u₁ u₂ variables {α : Sort u₀} variables {β : Sort u₁} variables {γ : Sort u₂} variables {σ : Sort u'} ...
78a2c8ac756981cbfc60c68247c00253f19983b1
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/data/polynomial/coeff.lean
0a003a51380918e758bad3e4c4b9115a54e3d47f
[ "Apache-2.0" ]
permissive
troyjlee/mathlib
e18d4b8026e32062ab9e89bc3b003a5d1cfec3f5
45e7eb8447555247246e3fe91c87066506c14875
refs/heads/master
1,689,248,035,046
1,629,470,528,000
1,629,470,528,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,187
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker -/ import data.finset.nat_antidiagonal import data.polynomial.basic /-! # Theory of univariate polynomials The theorems inc...
358f2b1f22faeb4289fbcd1c178ab88dbc10a93e
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Lean/Elab/Deriving/Util.lean
0f8642271c46540ef139a8fbdfe10f7cf13ded41
[ "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,922
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.Parser.Term import Lean.Elab.Term namespace Lean.Elab.Deriving open Meta def implicitBinderF := Parser.Term.implicitBinder def instBinderF ...
3fc67430ffd63320ae0320a4f5e10414da72b648
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/calculus/uniform_limits_deriv.lean
80141f59049cc77d29f27d7a6c4bd553ebe4ea72
[ "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
30,168
lean
/- Copyright (c) 2022 Kevin H. Wilson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin H. Wilson -/ import analysis.calculus.mean_value import analysis.normed_space.is_R_or_C import order.filter.curry /-! # Swapping limits and derivatives via uniform convergence ...
d98550864f27f4a4f00ed79f582f2332f5ed7d6f
7b02c598aa57070b4cf4fbfe2416d0479220187f
/colim.hlean
5aaf1b5b531b9a0067ce37183f53584722b8b7d1
[ "Apache-2.0" ]
permissive
jdchristensen/Spectral
50d4f0ddaea1484d215ef74be951da6549de221d
6ded2b94d7ae07c4098d96a68f80a9cd3d433eb8
refs/heads/master
1,611,555,010,649
1,496,724,191,000
1,496,724,191,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
18,033
hlean
-- authors: Floris van Doorn, Egbert Rijke import hit.colimit types.fin homotopy.chain_complex .move_to_lib open seq_colim pointed algebra eq is_trunc nat is_equiv equiv sigma sigma.ops chain_complex namespace seq_colim definition pseq_colim [constructor] {X : ℕ → Type*} (f : Πn, X n →* X (n+1)) : Type* := point...
01e4db0461fb7e079170ac4920a7bfcf9635c0d3
856e2e1615a12f95b551ed48fa5b03b245abba44
/src/topology/uniform_space/basic.lean
d968c4e1feda3d0304364720510764fa7c93be43
[ "Apache-2.0" ]
permissive
pimsp/mathlib
8b77e1ccfab21703ba8fbe65988c7de7765aa0e5
913318ca9d6979686996e8d9b5ebf7e74aae1c63
refs/heads/master
1,669,812,465,182
1,597,133,610,000
1,597,133,610,000
281,890,685
1
0
null
1,595,491,577,000
1,595,491,576,000
null
UTF-8
Lean
false
false
69,061
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Patrick Massot -/ import order.filter.lift import topology.separation /-! # Uniform spaces Uniform spaces are a generalization of metric spaces and top...
dc59ca599bdf00cd5b08ab0aa8a9d19ad4537f81
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/doc/monads/monads.lean
c8919709a616243f0a39a431b5031f77105de6a7
[ "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
12,989
lean
/-! # Monads Building on [Functors](functors.lean.md) and [Applicatives](applicatives.lean.md) we can now introduce [monads](https://en.wikipedia.org/wiki/Monad_%28category_theory%29). A monad is another type of abstract, functional structure. Let's explore what makes it different from the first two structures. ## W...
5d3440e5c59586a994053d55a7106179db7c56c3
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/RectangularBand.lean
0b9f0785933b2dea2d2ea4b634ff7d052964100e
[]
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
6,462
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 RectangularBand structure RectangularBand (A : Type) : Type := (op : (A → (A → A))) (associative_op : (∀ {x y z : A} , (op (op x y) z) = (op x (op y z)))) ...
ffdedc0f5f595738ccd18d8bca11ac0f24b446a0
92e157ec9825b5e4597a6d715a8928703bc8e3b2
/src/mywork/hw4 solution.lean
1b48813eae67745e4e00df84c2e69caa2bead4ab
[]
no_license
exb3dg/cs2120f21
9e566bc508762573c023d3e70f83cb839c199ec8
319b8bf0d63bf96437bf17970ce0198d0b3525cd
refs/heads/main
1,692,970,909,568
1,634,584,540,000
1,634,584,540,000
399,947,025
0
0
null
null
null
null
UTF-8
Lean
false
false
3,038
lean
--***SOLUTIONS*** -- 1 example : 0 ≠ 1 := begin -- ¬ (0 = 1) -- (0 = 1) → false assume h, cases h, -- OR --trivial, end -- 2 example : 0 ≠ 0 → 2 = 3 := begin assume h, have zeqz := eq.refl 0, contradiction, -- OR --have f : false := h (eq.refl 0), --exact false.elim (f), end -- 3 ex...
53d6f6413d6da91a53ffdc9563760f06ba4a2f3d
9028d228ac200bbefe3a711342514dd4e4458bff
/src/algebra/direct_limit.lean
0b32b820c94532d5bcc726fa89bc4d842b4cc7dd
[ "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
27,961
lean
/- Copyright (c) 2019 Kenny Lau, Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Chris Hughes -/ import data.finset.order import linear_algebra.direct_sum_module import ring_theory.free_comm_ring import ring_theory.ideal.operations /-! # Direct ...
f0565efc89d4ca51b25a534bf6e6951283caa0b7
9dc8cecdf3c4634764a18254e94d43da07142918
/src/measure_theory/integral/divergence_theorem.lean
8210300518012de945a10a5b53b1b43a36b2ceda
[ "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
30,250
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.box_integral.divergence_theorem import analysis.box_integral.integrability import measure_theory.integral.interval_integral import data.set.interval...
e084064081980a41ed970eb286c8b115300dedb9
1437b3495ef9020d5413178aa33c0a625f15f15f
/analysis/complex.lean
6b6f2cb12da16ea4d7596cd8d6f772f575015589
[ "Apache-2.0" ]
permissive
jean002/mathlib
c66bbb2d9fdc9c03ae07f869acac7ddbfce67a30
dc6c38a765799c99c4d9c8d5207d9e6c9e0e2cfd
refs/heads/master
1,587,027,806,375
1,547,306,358,000
1,547,306,358,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,104
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Topology of the complex numbers. -/ import data.complex.basic analysis.metric_space analysis.real noncomputable theory open filter namespace complex -- TODO(Mario): t...
2f1cbf5a4238b5a199d9f52dd64aed7f94886338
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/normed/group/quotient.lean
310046e0dd45d1133fcc816adc3f66ef0e30cb40
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
27,706
lean
/- Copyright (c) 2021 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Riccardo Brasca -/ import analysis.normed_space.basic import analysis.normed.group.hom import ring_theory.ideal.quotient_operations /-! # Quotients of seminormed group...
7e3b963e4150541542bf5f0d680d1f33d768007d
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/measure_theory/pi.lean
df8344f286c1d92e18ae5c8fd40ce9fb24c83756
[ "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
11,436
lean
/- Copyright (c) 2020 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import measure_theory.prod /-! # Product measures In this file we define and prove properties about finite products of measures (and at some point, countable pr...
94600c22cc468514cca0ee13bace103c5ff53c70
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/03_Propositions_and_Proofs.org.31.lean
705b40d81993ffbe362fbc95558d24a020403f98
[]
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
212
lean
/- page 42 -/ import standard -- BEGIN section variables p q : Prop example (H : p ∧ q) : q ∧ p := have Hp : p, from and.left H, have Hq : q, from and.right H, show q ∧ p, from and.intro Hq Hp end -- END
2a73f5df69623307bcaaa093091b54cb9c0c1a77
f083c4ed5d443659f3ed9b43b1ca5bb037ddeb58
/tactic/tidy.lean
b9ff2b03ff0d27fbac0ae380ece41e46fd4e9e48
[ "Apache-2.0" ]
permissive
semorrison/mathlib
1be6f11086e0d24180fec4b9696d3ec58b439d10
20b4143976dad48e664c4847b75a85237dca0a89
refs/heads/master
1,583,799,212,170
1,535,634,130,000
1,535,730,505,000
129,076,205
0
0
Apache-2.0
1,551,697,998,000
1,523,442,265,000
Lean
UTF-8
Lean
false
false
2,808
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison import tactic import tactic.auto_cases import tactic.chain import tactic.interactive namespace tactic namespace tidy meta def tidy_attribute : user_attribute :=...
6d6b345ad4a78e697bf7b7f997c9396984e2ab3b
618003631150032a5676f229d13a079ac875ff77
/src/algebra/category/Mon/basic.lean
9bb6f0ac41769d1c1ef4a81265b9919fed98a88d
[ "Apache-2.0" ]
permissive
awainverse/mathlib
939b68c8486df66cfda64d327ad3d9165248c777
ea76bd8f3ca0a8bf0a166a06a475b10663dec44a
refs/heads/master
1,659,592,962,036
1,590,987,592,000
1,590,987,592,000
268,436,019
1
0
Apache-2.0
1,590,990,500,000
1,590,990,500,000
null
UTF-8
Lean
false
false
7,791
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.concrete_category import algebra.punit_instances /-! # Category instances for monoid, add_monoid, comm_monoid, and add_comm_monoid. We introd...
b973ab59f6c3ffe7b5db63356dd02f784e564b3c
94e33a31faa76775069b071adea97e86e218a8ee
/src/group_theory/finiteness.lean
b8ffc51bd056455b1e9fc9cc42b192c6b2b0fd62
[ "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
12,308
lean
/- Copyright (c) 2021 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca -/ import data.set.finite import data.finset import group_theory.quotient_group import group_theory.submonoid.operations import group_theory.subgroup.basic /-! # Fin...
44dbbe23f5050018c9ebe4c3736e6b6d1b6d9734
b00eb947a9c4141624aa8919e94ce6dcd249ed70
/tests/lean/run/concatElim.lean
1ed372e5a3577c57451b5b5d8152e15cc64cf61b
[ "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
2,693
lean
universes u def concat {α} : List α → α → List α | [], a => [a] | x::xs, a => x :: concat xs a def last {α} : (xs : List α) → xs ≠ [] → α | [], h => by contradiction | [a], h => a | _::a::as, h => last (a::as) (fun h => by injection h) def dropLast {α} : List α → List α | [] => [] | [a...
dea7aae12f6e5f72ff05087cbe7482cffaf2f3dc
82e44445c70db0f03e30d7be725775f122d72f3e
/src/data/sym/sym2.lean
2c6af4d99c6fa0e028d100aad68fd0631f0ad88b
[ "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
15,641
lean
/- Copyright (c) 2020 Kyle Miller All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kyle Miller -/ import data.sym.basic import tactic.linarith /-! # The symmetric square This file defines the symmetric square, which is `α × α` modulo swapping. This is also known as th...
05bc778a609785a867511a0b15a90ae04b2430cb
359199d7253811b032ab92108191da7336eba86e
/src/instructor/lectures/lecture_11.lean
4e6bebb1f56e4264369a720afe31aca4050918ae
[]
no_license
arte-et-marte/my_cs2120f21
0bc6215cb5018a3b7c90d9d399a173233f587064
91609c3609ad81fda895bee8b97cc76813241e17
refs/heads/main
1,693,298,928,348
1,634,931,202,000
1,634,931,202,000
399,946,705
0
0
null
null
null
null
UTF-8
Lean
false
false
5,487
lean
/- In this lecture we began to pull together the big picture of the language of predicate logic, proofs, reasoning principles (axioms, theorems proved from them). For each logical connective and quantifier, we have zero or more introduction and elimination rules. You absolutely have to understand all of them and be su...
4483f4d2f52167ec95983f974bc354368ef2d960
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/field_theory/finiteness.lean
cdc4f478512eb6e8be075d1b3c53a1cdd361f3f4
[ "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
4,155
lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import ring_theory.finiteness import linear_algebra.dimension /-! # A module over a division ring is noetherian if and only if it is finite. -/ universes u v open_loc...
bae429c7e51964166ce961d0398f1e680c940fa9
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/limits/shapes/finite_limits_auto.lean
17d9930f413bd856d3b6862d2397e2f3ea6edbac
[]
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
7,076
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.fintype.basic import Mathlib.category_theory.fin_category import Mathlib.category_theo...
490f0e183b40e747f2a7c24848249650a6a3186d
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/analysis/normed_space/conformal_linear_map.lean
1df1c824d807a98d60d72825e115748ffa25bffa
[ "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
3,798
lean
/- Copyright (c) 2021 Yourong Zang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yourong Zang -/ import analysis.normed_space.basic import analysis.normed_space.linear_isometry /-! # Conformal Linear Maps A continuous linear map between `R`-normed spaces `X` and `Y...
def8b27bf5d5490c0704a370dc6b9d4f542b28f0
b7f22e51856f4989b970961f794f1c435f9b8f78
/hott/homotopy/torus.hlean
1f9da174cd1b0001ea7b46153b0655b00ade0816
[ "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
3,547
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 Declaration of the torus -/ import hit.two_quotient open two_quotient eq bool unit equiv namespace torus open e_closure relation definition torus_R (x y : ...
577bfcdaddbaf2e10f866b7847188f4b0f990bdc
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/lean/run/new_compiler.lean
92c532e7ad6949ae432e71dc895c7009e9821746
[ "Apache-2.0" ]
permissive
mhuisi/lean4
28d35a4febc2e251c7f05492e13f3b05d6f9b7af
dda44bc47f3e5d024508060dac2bcb59fd12e4c0
refs/heads/master
1,621,225,489,283
1,585,142,689,000
1,585,142,689,000
250,590,438
0
2
Apache-2.0
1,602,443,220,000
1,585,327,814,000
C
UTF-8
Lean
false
false
1,777
lean
universes u v w r s set_option trace.compiler.stage1 true -- setOption pp.implicit True set_option pp.binder_types false set_option pp.proofs true def foo (n : Nat) : Nat := let x := Nat.zero; let x1 := Nat.succ x; let x2 := Nat.succ x1; let x3 := Nat.succ x2; let x4 := Nat.succ x3; let x5 := Nat.succ x4; let x6 := N...
8a3fe89b1782ae7b2fef6496fe82f107a49a1cc1
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/internal_names.lean
40e6eb8b588e61f45c18f87c0762e3eb33c1ad83
[ "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
108
lean
definition _foo : nat := 0 -- error structure _bla := (a b : nat) inductive _empty : Type. namespace _no
82d34e260616697a7f337a853a67af2495c23231
f7315930643edc12e76c229a742d5446dad77097
/library/init/tactic.lean
41fe839323c824d5436fc4a0b453fd05ea35db45
[ "Apache-2.0" ]
permissive
bmalehorn/lean
8f77b762a76c59afff7b7403f9eb5fc2c3ce70c1
53653c352643751c4b62ff63ec5e555f11dae8eb
refs/heads/master
1,610,945,684,489
1,429,681,220,000
1,429,681,449,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,760
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: init.tactic 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...
824335112ec8a0ef2fe6714c29e2b58061b2f309
f10d66a159ce037d07005bd6021cee6bbd6d5ff0
/mason_stother.lean
255a5131ffc23b46954acec5fcd7c352e1b92761
[]
no_license
johoelzl/mason-stother
0c78bca183eb729d7f0f93e87ce073bc8cd8808d
573ecfaada288176462c03c87b80ad05bdab4644
refs/heads/master
1,631,751,973,492
1,528,923,934,000
1,528,923,934,000
109,133,224
0
1
null
null
null
null
UTF-8
Lean
false
false
38,007
lean
#exit -- the to be Mason-Stother formalization -- Authors Johannes & Jens --Defining the gcd import poly import unique_factorization_domain import data.finsupp import algebraically_closed_field import poly_over_UFD noncomputable theory local infix ^ := monoid.pow local notation `d[`a`]` := polynomial.derivative a ...
889e4a86c91a03f3d5b1e60b17327c0e4a0d7649
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/algebra/order/sub.lean
b5e5a9aecdb5fa6c065593026d07184cca886156
[ "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
29,313
lean
/- Copyright (c) 2021 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import algebra.order.monoid /-! # Ordered Subtraction This file proves lemmas relating (truncated) subtraction with an order. We provide a class `has_ordered_sub...
6b2d1d3ee9e12ec4085aa7f3104789260cd4673a
67dc347ff8e6eaa780fd69518f3e69b2fa5eef96
/src/smt2/except.lean
5bc0ec3a4df0cf68dd50fd6856ce93c8277934de
[ "Apache-2.0" ]
permissive
Kha/smt2_interface
74589568b30d32a500fb3a9abb299a28f19d75e9
d92be33fbf4d56e3745e255ab423ba8da7d7695b
refs/heads/master
1,619,785,421,091
1,518,453,826,000
1,518,453,826,000
121,273,425
0
0
null
1,518,453,882,000
1,518,453,882,000
null
UTF-8
Lean
false
false
4,879
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jared Roesch -/ /- FIXME(@jroesch): remove this after the native compiler branch is merged. -/ universes u v inductive except (ε α : Type u) | error {} : ε → except | ok {} :...
7b834ba821c2ce28cb9f113c32440c8566302e95
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/ring_theory/polynomial/rational_root.lean
61dc74f2b5c16a6ee0a3c3d34f243384dab96852
[ "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,006
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import ring_theory.polynomial.scale_roots import ring_theory.localization /-! # Rational root theorem and integral root theorem This file contains the rational root theo...
ea186fde0777d2b2cc528fe0d6a0f722e5435667
c3f2fcd060adfa2ca29f924839d2d925e8f2c685
/library/init/wf.lean
0dee4c7f3868585678a9e1ef1b59bc4575963ee5
[ "Apache-2.0" ]
permissive
respu/lean
6582d19a2f2838a28ecd2b3c6f81c32d07b5341d
8c76419c60b63d0d9f7bc04ebb0b99812d0ec654
refs/heads/master
1,610,882,451,231
1,427,747,084,000
1,427,747,429,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,922
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: init.wf Author: Leonardo de Moura -/ prelude import init.relation inductive acc {A : Type} (R : A → A → Prop) : A → Prop := intro : ∀x, (∀ y, R y x → acc R y) → acc R x namesp...
f72000eac63f39a32d87c31ebcbf1bfc22ffc60b
0003047346476c031128723dfd16fe273c6bc605
/src/analysis/normed_space/basic.lean
35a6c8d558d3dd984456a21d97881c1d8c2590af
[ "Apache-2.0" ]
permissive
ChandanKSingh/mathlib
d2bf4724ccc670bf24915c12c475748281d3fb73
d60d1616958787ccb9842dc943534f90ea0bab64
refs/heads/master
1,588,238,823,679
1,552,867,469,000
1,552,867,469,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
20,115
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Normed spaces. Authors: Patrick Massot, Johannes Hölzl -/ import algebra.pi_instances import linear_algebra.basic import topology.instances.nnreal variables {α : Type*} {β : Type*} {γ : Type*...
abb86fa3ba8e7492a0ab9d1385fad13e790efcea
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Init/SizeOfLemmas.lean
4fbda63e56b335b157b5bdcb5bef6295eb0b3a05
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
1,207
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 -/ prelude import Init.Meta import Init.SizeOf import Init.Data.Nat.Linear @[simp] protected theorem Fin.sizeOf (a : Fin n) : sizeOf a = a.val + 1 := by cas...
bd34b5b886c4cf63ff7a411e9d5223c8faf7244a
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/stage0/src/Lean/Compiler/LCNF/DependsOn.lean
bbec31594f387d1c689b36f4455594a954e1249a
[ "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
1,261
lean
/- Copyright (c) 2022 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Compiler.LCNF.Basic namespace Lean.Compiler.LCNF private abbrev M := ReaderT FVarIdSet Id private def fvarDepOn (fvarId : FVarId) : M Bool :=...