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
2b9a2500378e6dd2dce2c5c12b3fbe26cb86406a
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/special_functions/trigonometric/complex_deriv.lean
65bd9c6f5e77b3683e1bb3951558333ddfdef2ba
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
2,610
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne, Benjamin Davidson -/ import analysis.special_functions.trigonometric.complex import analysis.special_functions.trigonometric...
c35bffcba7eed821407ed633aefd59b3a49aaf9b
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/specialize3.lean
9bbbddc64fbaa55cd9cc98fea1aa2d83fa0bf2cf
[ "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
380
lean
class Class where instance empty: Class := {} mutual inductive T (δ: Class) where | mk (ss: List (S δ)) inductive S (δ: Class) where | mk (ts: List (T δ)) end mutual partial def str_T: T δ → String | .mk ss => "\n".intercalate (ss.map str_S) partial def str_S: S δ → String | .mk ts => "\n".intercalate (ts.map str_T...
b6eb793d426085a6ef4284308731ce8917fa5706
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/linear_algebra/linear_independent.lean
e71ed61309c28997986ca175e42b5836501edc3c
[ "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
50,493
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Alexander Bentkamp, Anne Baanen -/ import linear_algebra.finsupp import linear_algebra.prod import linear_algebra.pi import order.zorn import data.finset.o...
b55ac281c1e265a4bf96c00db15fcec42993ca63
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/tactic/rewrite_search/frontend.lean
a5dbd4bf0b26002f596e9dbfe00b9f8dca941542
[ "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
4,053
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Keeley Hoek, Scott Morrison -/ import tactic.rewrite_search.explain import tactic.rewrite_search.discovery import tactic.rewrite_search.search /-! # `rewrite_search`: solving goals b...
1b0e59cc2f05649dd1968e263d549e9f8bcd2fe0
cc5bb0a18c45fa529fc8bf0365b1fbf48464c5a8
/library/init/meta/coinductive_predicates.lean
8c2f00eece7327d7247f656bc70e5b8c6da5b808
[ "Apache-2.0" ]
permissive
mk12/lean
6bb58b9f3cfe312236b41779478d345399f00918
092fc89333160661c4c5a6295f3054cafff4341e
refs/heads/master
1,609,531,450,083
1,501,275,267,000
1,501,278,025,000
98,760,144
0
0
null
1,501,364,485,000
1,501,364,485,000
null
UTF-8
Lean
false
false
23,187
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl (CMU) -/ prelude import init.meta.expr init.meta.tactic init.meta.constructor_tactic init.meta.attribute import init.meta.interactive namespace name def last_string : n...
576c297f6f6965e1eca1e00ed663b416c523441c
bdb33f8b7ea65f7705fc342a178508e2722eb851
/data/fp/basic.lean
14d0c4d9595de0aa5e1ebd53968e74460d14754c
[ "Apache-2.0" ]
permissive
rwbarton/mathlib
939ae09bf8d6eb1331fc2f7e067d39567e10e33d
c13c5ea701bb1eec057e0a242d9f480a079105e9
refs/heads/master
1,584,015,335,862
1,524,142,167,000
1,524,142,167,000
130,614,171
0
0
Apache-2.0
1,548,902,667,000
1,524,437,371,000
Lean
UTF-8
Lean
false
false
6,809
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro Implementation of floating-point numbers (experimental). -/ import data.rat namespace fp inductive rmode | NE -- round to nearest even class float_cfg := (prec emax...
d5367cb61ce983fe5ecca7ecec3b348a731d8c1e
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/topology/shrinking_lemma.lean
811c342b1486c504d5b485e0abd22a5f9f8f7c9e
[ "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
12,202
lean
/- Copyright (c) 2021 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov, Reid Barton -/ import topology.separation /-! # The shrinking lemma In this file we prove a few versions of the shrinking lemma. The lemma says that in a normal top...
75c6e851f737d9480dae0e55d96ae57f2b283362
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/measure_theory/measurable_space_def.lean
7dbb7923caccff77b686304db9131c23d9842167
[ "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,003
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 -/ import data.set.disjointed import data.set.countable import algebra.indicator_function import data.equiv.encodable.lattice import data.tprod import or...
2670ddd2e93ad88e190f15fc566ca3480e064923
43390109ab88557e6090f3245c47479c123ee500
/src/Topology/Material/real_results.lean
1ad88efc3486bacdf4f11f371dec638c31f77639
[ "Apache-2.0" ]
permissive
Ja1941/xena-UROP-2018
41f0956519f94d56b8bf6834a8d39473f4923200
b111fb87f343cf79eca3b886f99ee15c1dd9884b
refs/heads/master
1,662,355,955,139
1,590,577,325,000
1,590,577,325,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,680
lean
/- Copyright (c) 2018 Luca Gerolla. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Luca Gerolla, Kevin Buzzard Prove basic results of real continuous functions and closed intervals -/ import analysis.topology.continuity import analysis.topology.topological_space import...
af4ea0d2627974c461ca5bd372259f921f16b25f
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/tests/lean/run/meta5.lean
724639b32021d8cd770a10f196950c4cfef00d7d
[ "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
631
lean
import Lean.Meta open Lean open Lean.Meta def tst1 : MetaM Unit := withLocalDeclD `y (mkConst `Nat) $ fun y => do withLetDecl `x (mkConst `Nat) (mkNatLit 0) $ fun x => do { mvar ← mkFreshExprMVar (mkConst `Nat) MetavarKind.syntheticOpaque; trace! `Meta mvar; r ← mkLambdaFVars #[y, x] mvar; trace! `Meta r; le...
7f6518c449378feb1fee91b2d082455cd62b5353
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/group_theory/perm/cycle_type.lean
f55de161b79ffd511c8b497bc9d8351e3a88b659
[ "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
26,296
lean
/- Copyright (c) 2020 Thomas Browning. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Thomas Browning -/ import algebra.gcd_monoid.multiset import combinatorics.partition import group_theory.perm.cycles import ring_theory.int.basic import tactic.linarith /-! # Cycle ...
b762d212fa71e50919bc24a6d89500d35a2d905b
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/int/bitwise.lean
0114fb8fc132ef91e503888d78ca827d24cb7ac0
[ "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
10,170
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad -/ import data.int.basic import data.nat.pow import data.nat.size /-! # Bitwise operations on integers > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this f...
b7723538639fc780d603c6d450a9dd8043af8816
9dc8cecdf3c4634764a18254e94d43da07142918
/src/category_theory/monad/limits.lean
aa3cbf51c4909fec48b1c24fd239c30108f92cbd
[ "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
15,238
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Bhavik Mehta -/ import category_theory.monad.adjunction import category_theory.adjunction.limits import category_theory.limits.preserves.shapes.terminal /-! # Limits a...
4254ed5da71620a94802c6738bf31fd7cd77eaf7
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/stage0/src/Lean/Elab/DeclModifiers.lean
1384e3675a442785859d3aefe784c55db31fc33b
[ "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
10,010
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.Structure import Lean.Elab.Attributes namespace Lean.Elab /-- Ensure the environment does not contain a declaration with na...
51e44745f7bb5579c16eab57b9cadbc9a7b700b3
4fa161becb8ce7378a709f5992a594764699e268
/src/measure_theory/outer_measure.lean
4d002c2d23d9e33b52937614af657886c1ae522c
[ "Apache-2.0" ]
permissive
laughinggas/mathlib
e4aa4565ae34e46e834434284cb26bd9d67bc373
86dcd5cda7a5017c8b3c8876c89a510a19d49aad
refs/heads/master
1,669,496,232,688
1,592,831,995,000
1,592,831,995,000
274,155,979
0
0
Apache-2.0
1,592,835,190,000
1,592,835,189,000
null
UTF-8
Lean
false
false
22,209
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 Outer measures -- overapproximations of measures -/ import analysis.specific_limits import measure_theory.measurable_space /-! # Outer Measures An out...
8b250ec166c5cab72aa860ec1c4ebfa1e0e81d02
a11f4536efad51bc2b648123619720f3b9318c0f
/src/limit_of_seq4.lean
7a8081c2cc7bca159673608748c520f3cf7d6aa1
[]
no_license
ezrasitorus/codewars_lean
909471d43f5130669a90b8e11afc37aec2f21d8f
6d1abcc1253403511f4cfd767c645596175e4fd3
refs/heads/master
1,672,659,589,352
1,603,281,507,000
1,603,281,507,000
288,579,451
0
0
null
null
null
null
UTF-8
Lean
false
false
1,062
lean
import data.real.basic open classical attribute [instance] prop_decidable /- Rigorous definition of a limit For a sequence x_n, we say that \lim_{n \to \infty} x_n = l if ∀ ε > 0, ∃ N, n ≥ N → |x_n - l| < ε -/ def lim_to_inf (x : ℕ → ℝ) (l : ℝ) := ∀ ε > 0, ∃ N, ∀ n ≥ N, abs (x n - l) < ε /- Bounded seque...
1d0345cb44d57c080d06d177b995563d59de0a4b
f57749ca63d6416f807b770f67559503fdb21001
/hott/hit/torus.hlean
b7ffb43a332dfb8b953afcdca3467acb3205460b
[ "Apache-2.0" ]
permissive
aliassaf/lean
bd54e85bed07b1ff6f01396551867b2677cbc6ac
f9b069b6a50756588b309b3d716c447004203152
refs/heads/master
1,610,982,152,948
1,438,916,029,000
1,438,916,029,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,595
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 .two_quotient open two_quotient eq bool unit relation namespace torus definition torus_R (x y : unit) := bool local infi...
5da5537c18182626bdb4a7d7cdf4a61db3d0b072
5412d79aa1dc0b521605c38bef9f0d4557b5a29d
/stage0/src/Lean/Server/FileWorker.lean
38308cf35dcd747c4e0988973d8490d08517badb
[ "Apache-2.0" ]
permissive
smunix/lean4
a450ec0927dc1c74816a1bf2818bf8600c9fc9bf
3407202436c141e3243eafbecb4b8720599b970a
refs/heads/master
1,676,334,875,188
1,610,128,510,000
1,610,128,521,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
21,177
lean
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ import Init.System.IO import Std.Data.RBMap import Lean.Environment import Lean.PrettyPrinter import Lean.Data.Lsp import Lean.Data.Json.FromToJso...
f3f53638649e67f8edb28b1ada402b9203edfde0
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/src/Lean/Compiler/IR/Basic.lean
542d52bbc7b5032003aefa8647b2141f32337ecb
[ "Apache-2.0" ]
permissive
collares/lean4
861a9269c4592bce49b71059e232ff0bfe4594cc
52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee
refs/heads/master
1,691,419,031,324
1,618,678,138,000
1,618,678,138,000
358,989,750
0
0
Apache-2.0
1,618,696,333,000
1,618,696,333,000
null
UTF-8
Lean
false
false
26,209
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.Data.KVMap import Lean.Data.Name import Lean.Data.Format import Lean.Compiler.ExternAttr /- Implements (extended) λPure and λRc proposed in the ...
2fa1fdb6166be441e507cf6579b83be5adc2efc3
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/ring2.lean
d1d203e7b3a2f141ad6f20ae37f972c4796d0bcb
[]
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
10,837
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.ring import Mathlib.data.num.lemmas import Mathlib.data.tree import Mathlib.PostPort...
bde7459ca2927b81328d4a51b7d6d1b9c18b742c
30b012bb72d640ec30c8fdd4c45fdfa67beb012c
/tactic/explode.lean
ea2c7d11947ea378c447262dd700eb798d1b18fc
[ "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
4,804
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Displays a proof term in a line by line format somewhat akin to a Fitch style proof or the Metamath proof style. -/ import tactic.basic open expr tactic namespace tacti...
58146a98d836901b9a1c0b5923fcb2cc3a436e54
c09f5945267fd905e23a77be83d9a78580e04a4a
/src/topology/instances/ennreal.lean
becf23d2d0883345d543113aa652eecbb1b855d9
[ "Apache-2.0" ]
permissive
OHIHIYA20/mathlib
023a6df35355b5b6eb931c404f7dd7535dccfa89
1ec0a1f49db97d45e8666a3bf33217ff79ca1d87
refs/heads/master
1,587,964,529,965
1,551,819,319,000
1,551,819,319,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
28,682
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl Extended non-negative reals -/ import topology.instances.nnreal data.real.ennreal noncomputable theory open classical set lattice filter metric local attribute [instance...
51fd9cfdf3470e42c41646ab37692f3b71f39b88
d31b9f832ff922a603f76cf32e0f3aa822640508
/src/hott/types/fiber.lean
dd6e81b38fe1bc4af6f6f841e49f4dd4926b2ddd
[ "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
18,817
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, Mike Shulman Ported from Coq HoTT Theorems about fibers -/ import .sigma .eq .pi ..cubical.squareover .pointed .eq universes u v w hott_theory namespace hott o...
f9ecd5f3620a667fda71aa51f184d94deb5fe5c9
491068d2ad28831e7dade8d6dff871c3e49d9431
/library/algebra/ordered_ring.lean
a56d4828b5ce15cd6e1cf38012054dec9be096ea
[ "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,577
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad Here an "ordered_ring" is partially ordered ring, which is ordered with respect to both a weak order and an associated strict order. Our numeric structures (int, rat, and...
d61d9f23912b4886bad42a9114ae141b4f6fcf29
efa51dd2edbbbbd6c34bd0ce436415eb405832e7
/20160406_UW/vec.lean
e8d48cae02f8202ed728cb838837d574a183f1e1
[ "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
198
lean
import data.vector data.list open nat list vector variable {A : Type} definition to_list [coercion] : ∀ {n : nat}, vector A n → list A | 0 nil := nil | (n+1) (a::v) := a::(to_list v)
bd81cb718d5453c0fcc6230a95b4d887c4bbf267
f5f7e6fae601a5fe3cac7cc3ed353ed781d62419
/src/data/equiv/basic.lean
e45e7b38889a7686710f6d6491d4add80b225d49
[ "Apache-2.0" ]
permissive
EdAyers/mathlib
9ecfb2f14bd6caad748b64c9c131befbff0fb4e0
ca5d4c1f16f9c451cf7170b10105d0051db79e1b
refs/heads/master
1,626,189,395,845
1,555,284,396,000
1,555,284,396,000
144,004,030
0
0
Apache-2.0
1,533,727,664,000
1,533,727,663,000
null
UTF-8
Lean
false
false
32,996
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 In the standard library we cannot assume the univalence axiom. We say two types are equivalent if they are isomorphic. Two equivalent types h...
596911638a30111e244a05a4c43808a79a21fad6
7282d49021d38dacd06c4ce45a48d09627687fe0
/examples/lean/ex4.lean
e470b12d387aeccd665ae7f9cd5d6c3e22710013
[ "Apache-2.0" ]
permissive
steveluc/lean
5a0b4431acefaf77f15b25bbb49294c2449923ad
92ba4e8b2d040a799eda7deb8d2a7cdd3e69c496
refs/heads/master
1,611,332,256,930
1,391,013,244,000
1,391,013,244,000
16,361,079
1
0
null
null
null
null
UTF-8
Lean
false
false
239
lean
import Int import tactic definition a : Nat := 10 -- Trivial indicates a "proof by evaluation" theorem T1 : a > 0 := trivial theorem T2 : a - 5 > 3 := trivial -- The next one is commented because it fails -- theorem T3 : a > 11 := trivial
7d57b918d0a407bd3183b7e48c488ceb7e51adef
a721fe7446524f18ba361625fc01033d9c8b7a78
/src/principia/mynat/parity.lean
7b78722ad0b91309370c935dc7274e24175fd692
[]
no_license
Sterrs/leaning
8fd80d1f0a6117a220bb2e57ece639b9a63deadc
3901cc953694b33adda86cb88ca30ba99594db31
refs/heads/master
1,627,023,822,744
1,616,515,221,000
1,616,515,221,000
245,512,190
2
0
null
1,616,429,050,000
1,583,527,118,000
Lean
UTF-8
Lean
false
false
6,759
lean
-- vim: ts=2 sw=0 sts=-1 et ai tw=70 import .prime import .induction namespace hidden namespace mynat def even (m: mynat) := 2 ∣ m def odd (m: mynat) := ¬even m variables {m n k p: mynat} theorem even_zero: even 0 := begin existsi (0: mynat), simp, end theorem odd_one: odd 1 := begin assume he1, have h21...
91b818935b2441f060dc0a723e64998e1fd8d98f
9028d228ac200bbefe3a711342514dd4e4458bff
/src/field_theory/splitting_field.lean
34aa09cf19b4d4018ee8e64ce2cf3a5b730bb40b
[ "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
31,951
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.adjoin_root import ring_theory.algebra_tower import ring_the...
8728fcde33c41f3521ae550ae887babf498ba391
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/coe.lean
e530f66867f6b22b4e8463478a1c75dcf72f4411
[ "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
263
lean
import logic set_option pp.notation false inductive Functor := mk : (Π (A B : Type), A → B) → Functor definition Functor.to_fun [coercion] (f : Functor) {A B : Type} : A → B := Functor.rec (λ f, f) f A B constant f : Functor check f (0:num) = (0:num)
2a1c4cf19cd5dc9072f51534615ac08e7909132c
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/tests/lean/run/meta5.lean
4d9055705af482180ab08d34908ac19b0277b00e
[ "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
636
lean
import Lean.Meta open Lean open Lean.Meta def tst1 : MetaM Unit := withLocalDeclD `y (mkConst `Nat) $ fun y => do withLetDecl `x (mkConst `Nat) (mkNatLit 0) $ fun x => do { let mvar ← mkFreshExprMVar (mkConst `Nat) MetavarKind.syntheticOpaque; trace[Meta.debug] mvar; let r ← mkLambdaFVars #[y, x] mvar; trace[...
5a68122582a0db3e5315b4008adc62cd435df4f8
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/polynomial/erase_lead.lean
22937302bd4e18537f46c5b126f6af5d1e0f6ae8
[ "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
9,531
lean
/- Copyright (c) 2020 Damiano Testa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Damiano Testa -/ import data.polynomial.degree.definitions /-! # Erase the leading term of a univariate polynomial ## Definition * `erase_lead f`: the polynomial `f - leading term of...
810157a811b9a097324985b4f2c9a0cae2d93a95
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/423.lean
2332ef6f677416e228912bf2ff187ebf2640fa38
[ "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
115
lean
universe u #check fun {T : Sort u} (a : T) => a + 0 #check fun {T : Sort u} (a : T) [Add T] [OfNat T 0] => a + 0
a878dd611fd9663861eba30bcfa6285385376ab1
ea5678cc400c34ff95b661fa26d15024e27ea8cd
/univariate_poly_dif.lean
3d4de222b0c1b041d47770fbb6e4e775271db931
[]
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
32,373
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes Theory of univariate polynomials, represented as finsupps, ℕ →₀ α, with α a comm_semiring -/ import data.finsupp algebra.euclidean_domain open finsupp finset lattice set_...
2dc2dae4f9f901c6d4172f4d623db1bf0863e498
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/topology/metric_space/baire.lean
3195723329460e603326616ac0c14e665ad1ad13
[ "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
14,051
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 analysis.specific_limits import order.filter.countable_Inter import topology.G_delta /-! # Baire theorem In a complete metric space, a countable inters...
9d752203d51c8002ba508223ce3b408dfd45143b
618003631150032a5676f229d13a079ac875ff77
/src/category_theory/differential_object.lean
a3bf8be09629241ac49f7cf364df722632cf4034
[ "Apache-2.0" ]
permissive
awainverse/mathlib
939b68c8486df66cfda64d327ad3d9165248c777
ea76bd8f3ca0a8bf0a166a06a475b10663dec44a
refs/heads/master
1,659,592,962,036
1,590,987,592,000
1,590,987,592,000
268,436,019
1
0
Apache-2.0
1,590,990,500,000
1,590,990,500,000
null
UTF-8
Lean
false
false
3,671
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 category_theory.shift import category_theory.concrete_category /-! # Differential objects in a category. A differential object in a category with zero morphi...
6640cc1a927eeb3a3640b06b0f3e9ae0673954ca
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/order/partial_sups.lean
2cd58d459948e312d9e2a1d8f7cd1d5f10eeebf2
[ "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
5,787
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 data.finset.lattice import data.set.pairwise import order.hom.basic /-! # The monotone sequence of partial supremums of a sequence We define `partial_sups : ...
199b92a8ca799f7cde6b480d693410f86ccef052
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/src/Lean/Meta/Match/Basic.lean
ef7aa4212f98692347464b61d7ecf94a3c6c37a9
[ "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
10,734
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.Meta.Check import Lean.Meta.Match.MatcherInfo import Lean.Meta.Match.CaseArraySizes namespace Lean.Meta.Match inductive Pattern : Type where ...
bd9755627eccded1fe329e6aab092acca902650c
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/ProjFns.lean
e48f028e0c2a79cfe8f2cb27fcc6d40ee888be5c
[ "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
2,477
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.Environment namespace Lean /-- Given a structure `S`, Lean automatically creates an auxiliary definition (projection function) for each field....
21e88fe4118112f3e46125a67710f855aa77a050
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/stage0/src/Init/Control/Except.lean
53dba7e2098cb32e41a56b6026a9a3dbff2374e0
[ "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
6,140
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jared Roesch, Sebastian Ullrich The Except monad transformer. -/ prelude import Init.Control.Basic import Init.Control.Id universes u v w u' namespace Except variables {ε : T...
0fd3a6f0f082b2db2cec4862370727c530f42ce0
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/algebra/ring/comp_typeclasses.lean
2a10e273aa4ffa674547ed4e477d2cbd760abaf8
[ "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,479
lean
/- Copyright (c) 2021 Frédéric Dupuis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Frédéric Dupuis, Heather Macbeth -/ import algebra.ring.basic import data.equiv.ring /-! # Propositional typeclasses on several ring homs This file contains three typeclasses used ...
a67e0bc2762bb3f79182f9eb7e8637c6f547f043
5749d8999a76f3a8fddceca1f6941981e33aaa96
/src/analysis/calculus/local_extr.lean
fc241387dfe4ead06b131ad4bcdb5f97a63e2b90
[ "Apache-2.0" ]
permissive
jdsalchow/mathlib
13ab43ef0d0515a17e550b16d09bd14b76125276
497e692b946d93906900bb33a51fd243e7649406
refs/heads/master
1,585,819,143,348
1,580,072,892,000
1,580,072,892,000
154,287,128
0
0
Apache-2.0
1,540,281,610,000
1,540,281,609,000
null
UTF-8
Lean
false
false
14,713
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import topology.local_extr analysis.calculus.deriv /-! # Local extrema of smooth functions ## Main definitions In a real normed space `E` we define `pos_tangent...
a7d44fae1b39ef7d899d6b075fef3adfdd706d6d
8b9f17008684d796c8022dab552e42f0cb6fb347
/tests/lean/run/vector_subterm_pred.lean
85c305118e6687a9dbfc1b9aa6b5e5074b9c3b37
[ "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
2,762
lean
import logic data.nat.basic data.sigma open nat eq.ops sigma inductive vector (A : Type) : nat → Type := | nil : vector A zero | cons : A → (Π{n}, vector A n → vector A (succ n)) namespace vector definition vec (A : Type) : Type := Σ n : nat, vector A n definition to_vec {A : Type} {n : nat} (v : vector A n) : vec...
f2297a2e9c862557085cb49e8e33ca4ed61cb6fd
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/monoidal/functorial.lean
5e6bdb8f7225299b7a8ff52734203415a0c29f45
[ "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,792
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.monoidal.functor import category_theory.functor.functorial /-! # Unbundled lax monoidal functors > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. >...
1ba761301add6422c1443e91cae45160bfdc9682
c777c32c8e484e195053731103c5e52af26a25d1
/src/analysis/normed_space/star/gelfand_duality.lean
236d6b2b7c563c300f0e1cdcb9a786c025d2c71f
[ "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
10,975
lean
/- Copyright (c) 2022 Jireh Loreaux. All rights reserved. Reeased under Apache 2.0 license as described in the file LICENSE. Authors: Jireh Loreaux -/ import analysis.normed_space.star.spectrum import analysis.normed.group.quotient import analysis.normed_space.algebra import topology.continuous_function.units import to...
55f95de187692eb015b25f2e60ff63dff9bf39cf
9dc8cecdf3c4634764a18254e94d43da07142918
/src/linear_algebra/quadratic_form/basic.lean
a934839a9de37034f9aac7f04d3bbe4814d8e0b9
[ "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
36,146
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen, Kexing Ying, Eric Wieser -/ import algebra.invertible import linear_algebra.matrix.determinant import linear_algebra.matrix.bilinear_form import linear_algebra.matrix.symmet...
94e1c178ec66339c0c90f88e505681021bcaa6b7
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/src/Init/Data/Hashable.lean
5fd1d9ce5a4d382887c54b2b0425cc606e7c5f00
[ "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
968
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.Data.UInt import Init.Data.String universes u instance : Hashable Nat where hash n := USize.ofNat n instance [Hashable α] [Hashable ...
48df1cfae1b818c6949b03de7a49e633d4458ee4
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/tactic/explode.lean
796f2253e902b559c0672b6699154086bf26fbb8
[ "Apache-2.0" ]
permissive
ChrisHughes24/mathlib
98322577c460bc6b1fe5c21f42ce33ad1c3e5558
a2a867e827c2a6702beb9efc2b9282bd801d5f9a
refs/heads/master
1,583,848,251,477
1,565,164,247,000
1,565,164,247,000
129,409,993
0
1
Apache-2.0
1,565,164,817,000
1,523,628,059,000
Lean
UTF-8
Lean
false
false
5,252
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Displays a proof term in a line by line format somewhat akin to a Fitch style proof or the Metamath proof style. -/ import tactic.core meta.coinductive_predicates open e...
383817cf038f2c575d7bf9cf9c870e4aaee4dc3b
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/algebra/module/projective.lean
07fc4e721977b5755fcb963c47f6e6c532cbdcc6
[ "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
6,463
lean
/- Copyright (c) 2021 Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard -/ import algebra.module.basic import linear_algebra.finsupp import linear_algebra.basis /-! # Projective modules This file contains a definition of a projective modul...
0a5cb7efc9ab74e9c6f8c08530c410e6fdbcf8b6
6b02ce66658141f3e0aa3dfa88cd30bbbb24d17b
/stage0/src/Lean/Elab/Frontend.lean
cebd5772c6099b7df68742e82b28f93da549b676
[ "Apache-2.0" ]
permissive
pbrinkmeier/lean4
d31991fd64095e64490cb7157bcc6803f9c48af4
32fd82efc2eaf1232299e930ec16624b370eac39
refs/heads/master
1,681,364,001,662
1,618,425,427,000
1,618,425,427,000
358,314,562
0
0
Apache-2.0
1,618,504,558,000
1,618,501,999,000
null
UTF-8
Lean
false
false
4,774
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ import Lean.Elab.Import import Lean.Elab.Command import Lean.Util.Profile namespace Lean.Elab.Frontend structure State where commandS...
874422cdb078b83eadf327471ea6a853b7787db0
1446f520c1db37e157b631385707cc28a17a595e
/stage0/src/Init/Lean/Eval.lean
a58779b2d884e12ee32c2da9733eb47591fa0580
[ "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
1,045
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ prelude import Init.Control.Reader import Init.System.IO import Init.Lean.Environment namespace Lean universe u /-- `HasEval` extensio...
4f1ea4581fe4a287e9a1fa68842f8e744e40fdd3
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/tactic/clear.lean
60b4ea89de570332f4489b0491967582865fe888
[ "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,483
lean
/- Copyright (c) 2020 Jannis Limperg. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jannis Limperg -/ import tactic.core /-! # Better `clear` tactics We define two variants of the standard `clear` tactic: * `clear'` works like `clear` but the hypotheses that should...
20ff694822af41fb7cc51cb6a9d5a32ef0f07a55
94ec458bb9c7783744397f9a68d867bd7a765e18
/src/yoneda.lean
a6bd1a78d4c0b0bd57acc17ad284f5826ec45fc4
[]
no_license
myuon/lean-cate
b8fcfd7965a348155152b3fc7d5041b356721945
9e71e61c2a09d64b17ab3145ff6dde564387950a
refs/heads/master
1,611,236,436,038
1,462,408,916,000
1,462,408,916,000
47,414,605
0
0
null
null
null
null
UTF-8
Lean
false
false
3,167
lean
import category open category functor natrans open eq eq.ops definition homfunctor (C : category) (r : @obj C) : functor C Setoids := functor.mk (λx, setoido.mk (@hom C r x) (λf g, f = g) (mk_equivalence _ refl (λx y, symm) (λx y z, trans))) (λa b f, setoido_map.mk (λk, f ∘[C] k) (λx y xy, xy ▸ rfl)) ...
282c68fccebad13928b5ab327da214bcab10f18b
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/ring_theory/noetherian.lean
eee14434753bc874bc29bb98654ecf287c90f529
[ "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
21,393
lean
/- Copyright (c) 2018 Mario Carneiro and Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Kevin Buzzard -/ import ring_theory.ideal.operations import linear_algebra.basis import order.order_iso_nat /-! # Noetherian rings and modules The f...
a388fe3dbb4a14fe10360ad3e136220b94a88836
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/linear_algebra/bilinear_map.lean
bf1939354b150a89fafbb65e4f066965d649c709
[ "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
7,690
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 linear_algebra.basic /-! # Basics on bilinear maps This file provides basics on bilinear maps. ## Main declarations * `linear_map.mk₂`: a constructo...
3240b2c38bc10cda45c4f3196965e2d9ece2f5bd
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/compiler/initUnboxed.lean
bfa03340587d782af1e8bf420ede3aff73c9a175
[ "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
309
lean
initialize test : UInt64 ← pure 0 initialize testb : Bool ← pure false initialize testu : USize ← pure 1 initialize testf : Float ← pure 0.5 initialize test32 : UInt32 ← pure 16 def main : IO Unit := do IO.println test IO.println testb IO.println testu IO.println testf IO.println test32
b52efb3501db4559916c7106f0d6e42faf04f336
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/continued_fractions/computation/correctness_terminating.lean
7f976b1e1d255100fc517c1cf11400df29be1065
[ "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,418
lean
/- Copyright (c) 2020 Kevin Kappelmann. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Kappelmann -/ import algebra.continued_fractions.computation.translations import algebra.continued_fractions.terminated_stable import algebra.continued_fractions.continuants_re...
fbe71c445748de0586ea61ecb13500fb4686ffc8
07c6143268cfb72beccd1cc35735d424ebcb187b
/src/data/set/function.lean
11f446e6fd841e210bae628bdf3a6c6c2fc920c9
[ "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
18,225
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 ### Predicate * `eq_on...
9d87d6fa88d4c94a26732dd17baaad8ef8c78eee
fe84e287c662151bb313504482b218a503b972f3
/src/undergraduate/MAS114/closest_integer.lean
f506b78c19535164aa91ddd66e2792fb6d6811e0
[]
no_license
NeilStrickland/lean_lib
91e163f514b829c42fe75636407138b5c75cba83
6a9563de93748ace509d9db4302db6cd77d8f92c
refs/heads/master
1,653,408,198,261
1,652,996,419,000
1,652,996,419,000
181,006,067
4
1
null
null
null
null
UTF-8
Lean
false
false
3,893
lean
import data.rat import data.real.basic import tactic.ring lemma abs_neg_of_pos {α : Type*} [linear_ordered_add_comm_group α] (a : α) : a > 0 → abs (- a) = a := λ a_pos, (abs_of_neg (neg_neg_of_pos a_pos)).trans (neg_neg a) def half_Q : ℚ := 1 / 2 def neg_half_Q : ℚ := - half_Q lemma dist_neg_Q (n : ℤ) (h : n ≥ 0...
429f90e5abae45f7d53f213e9fb178b85563b2be
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/adjunction/reflective.lean
67ce6368ea73d684b22a7b4d95ff23d0c244585d
[ "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
7,850
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.adjunction.fully_faithful import category_theory.functor.reflects_isomorphisms import category_theory.epi_mono /-! # Reflective functors Basic pr...
3de4be17d40681dad79f8b1957c7d992681a5cad
367134ba5a65885e863bdc4507601606690974c1
/src/algebra/group/units.lean
2a43a5e00b87ee46e76200e4cef12b60fc1d0563
[ "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
13,016
lean
/- Copyright (c) 2017 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro, Johannes Hölzl, Chris Hughes, Jens Wagemaker -/ import algebra.group.basic import logic.nontrivial /-! # Units (i.e., invertible elements) of a multiplicative mo...
ef7a5eea695c997bfd1351e95909bf44e968a11b
9dc8cecdf3c4634764a18254e94d43da07142918
/src/ring_theory/discriminant.lean
8e5e05041555aff7be788738aa6faaab63ba984b
[ "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
16,455
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 ring_theory.trace import ring_theory.norm import number_theory.number_field /-! # Discriminant of a family of vectors Given an `A`-algebra `B` and `b`, an...
025b6456f1c7481786e72b96570ed2ed3cc82bba
6772a11d96d69b3f90d6eeaf7f9accddf2a7691d
/examples/monoids.lean
684ee647714688f73f4d52c391b7cca269329341
[]
no_license
lbordowitz/lean-category-theory
5397361f0f81037d65762da48de2c16ec85a5e4b
8c59893e44af3804eba4dbc5f7fa5928ed2e0ae6
refs/heads/master
1,611,310,752,156
1,487,070,172,000
1,487,070,172,000
82,003,141
0
0
null
1,487,118,553,000
1,487,118,553,000
null
UTF-8
Lean
false
false
2,709
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Stephen Morgan, Scott Morrison import ..category import ..functor import .semigroups namespace tqft.categories.examples.monoids open tqft.categories set_option pp.universes t...
3d1d641805f654bebf287450e7eb4a6edd2ad358
fecda8e6b848337561d6467a1e30cf23176d6ad0
/src/logic/nontrivial.lean
34ad9d5231608f81b7a47948becc11d72262af4b
[ "Apache-2.0" ]
permissive
spolu/mathlib
bacf18c3d2a561d00ecdc9413187729dd1f705ed
480c92cdfe1cf3c2d083abded87e82162e8814f4
refs/heads/master
1,671,684,094,325
1,600,736,045,000
1,600,736,045,000
297,564,749
1
0
null
1,600,758,368,000
1,600,758,367,000
null
UTF-8
Lean
false
false
4,422
lean
/- Copyright (c) 2020 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 logic.unique import logic.function.basic /-! # Nontrivial types A type is *nontrivial* if it contains at least two elements. This is useful in particul...
850d73ae7e0644d618a910d633bfbf7881a893d4
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/group/pi.lean
0a7cf960e5fee11709a228b8b6c78f0c064b7df6
[]
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
4,548
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Patrick Massot -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.pi import Mathlib.tactic.pi_instances import Mathlib.algebra.group.defs impo...
22130117f5cbc11da23a8ff9baf7be37fefef17d
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/tests/lean/run/CommandExtOverlap.lean
551984dfe507f83eb26c4765b7fb2d96766e31bb
[ "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
333
lean
new_frontend syntax [mycheck] "#check" (sepBy term ",") : command open Lean macro_rules [mycheck] | `(#check $es*) => let cmds := es.getSepElems.map $ fun e => Syntax.node `Lean.Parser.Command.check #[Syntax.atom {} "#check", e]; pure $ mkNullNode cmds #check true #check true, true #check true, 1, 3, fun (x : N...
f89884afc880d8c4a4ce4218247ff1fb804428a3
3f7026ea8bef0825ca0339a275c03b911baef64d
/src/algebra/group/to_additive.lean
976736af71778e3fe573f249a628270dd1e3dfce
[ "Apache-2.0" ]
permissive
rspencer01/mathlib
b1e3afa5c121362ef0881012cc116513ab09f18c
c7d36292c6b9234dc40143c16288932ae38fdc12
refs/heads/master
1,595,010,346,708
1,567,511,503,000
1,567,511,503,000
206,071,681
0
0
Apache-2.0
1,567,513,643,000
1,567,513,643,000
null
UTF-8
Lean
false
false
9,737
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Yury Kudryashov. -/ import tactic.basic tactic.transport tactic.algebra /-! # Transport multiplicative to additive This file defines an attribute `to_additive` that ...
c0024f1b1e57a91bb3dc3aafca12e9690ef97d79
82e44445c70db0f03e30d7be725775f122d72f3e
/src/analysis/convex/caratheodory.lean
3c377980e20b38a5d2b57f90110fda6c6c5859ac
[ "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
8,872
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Scott Morrison -/ import analysis.convex.basic /-! # Carathéodory's convexity theorem This file is devoted to proving Carathéodory's convexity theorem: The convex hul...
e6f0a9ae70401f45751b308788c01fde622661ab
82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7
/src/Lean/Elab/MutualDef.lean
b8f401223f91227472891c0a149f7fa7b0a6eb1a
[ "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
26,324
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.Meta.Closure import Lean.Meta.Check import Lean.Elab.Command import Lean.Elab.DefView import Lean.Elab.PreDefinition namespace Lean.Elab /- De...
95b67eb0578ba2f4d1cdc4f3e74a36d05115990e
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/data/finset/basic.lean
972364ef82459614461f8534c710b60ccd12f0d9
[ "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
131,282
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, Jeremy Avigad, Minchao Wu, Mario Carneiro -/ import data.multiset.finset_ops import tactic.apply import tactic.monotonicity import tactic.nth_rewrite /-! # F...
07fb4ee90ea1bd17e7b27e592c56f8b2ae19572d
94e33a31faa76775069b071adea97e86e218a8ee
/src/combinatorics/simple_graph/coloring.lean
a4a1289fd61b2541dba61bf15045e12dd7dbd6eb
[ "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
15,530
lean
/- Copyright (c) 2021 Arthur Paulino. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Arthur Paulino, Kyle Miller -/ import combinatorics.simple_graph.subgraph import combinatorics.simple_graph.clique import data.nat.lattice import data.setoid.partition import order.an...
2f701db2d329cecd70872ec8808163e58f504ec8
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/tactic/rename.lean
158951aaa476a89f61f58caed872d5a98dffd33a
[ "Apache-2.0" ]
permissive
vaibhavkarve/mathlib
a574aaf68c0a431a47fa82ce0637f0f769826bfe
17f8340912468f49bdc30acdb9a9fa02eeb0473a
refs/heads/master
1,621,263,802,637
1,585,399,588,000
1,585,399,588,000
250,833,447
0
0
Apache-2.0
1,585,410,341,000
1,585,410,341,000
null
UTF-8
Lean
false
false
4,284
lean
/- Copyright (c) 2020 Jannis Limperg. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jannis Limperg -/ import tactic.core /-! # Better `rename` tactic This module defines a variant of the standard `rename` tactic, with the following improvements: * You can rename mu...
598c08ebbd27039f3b22e9b35f9374172dbc1fd2
df561f413cfe0a88b1056655515399c546ff32a5
/4-proposition-world/l8.lean
34f1f48590ef8bd0b24be9ca70ee1d52ff7ba0ce
[]
no_license
nicholaspun/natural-number-game-solutions
31d5158415c6f582694680044c5c6469032c2a06
1e2aed86d2e76a3f4a275c6d99e795ad30cf6df0
refs/heads/main
1,675,123,625,012
1,607,633,548,000
1,607,633,548,000
318,933,860
3
1
null
null
null
null
UTF-8
Lean
false
false
143
lean
lemma contrapositive (P Q : Prop) : (P → Q) → (¬ Q → ¬ P) := begin repeat {rw not_iff_imp_false}, intros f g p, apply g, exact f p, end
0275fbd463068f2222960b2d03bb56dfaf6ed813
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/269.lean
e4cf1999df1a606586ccb80cc22d96ab5737a943
[ "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
320
lean
theorem haveWithSubgoals {a b : α} : a = b ↔ b = a := by apply Iff.intro intro h have h' := h.symm exact h' intro h exact h.symm theorem haveWithSubgoals2 {a b : α} : a = b ↔ b = a := by { apply Iff.intro; intro h; have h' := h.symm; exact h'; intro h; exact h.symm; }
867077eeb64fc0b946d2cf6c325ea3ad9873fc3e
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/where.lean
30ac9bcafbff72d3459f326fbc9a8e58ecf04bc2
[]
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,095
lean
/- Copyright (c) 2019 Keeley Hoek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Keeley Hoek -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.core import Mathlib.PostPort namespace Mathlib /-! # The `where` command When working i...
5ad154aa8b63a90d7767eb42b92a4ea6607b6133
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/shadow.lean
0ce3d00fbff98200f43fef99be5376c282678d87
[ "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
194
lean
open nat variable a : nat -- The variable 'a' in the following definition is not the variable 'a' above definition tadd : nat → nat → nat | 0 b := b | (succ a) b := succ (tadd a b)
4f33b5441cb2b79587d8119d10f63f6911016871
4727251e0cd73359b15b664c3170e5d754078599
/src/measure_theory/covering/besicovitch_vector_space.lean
51ec7115bc341e051e3035fd27d1a06f53a32869
[ "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
26,098
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 -/ import measure_theory.measure.haar_lebesgue import measure_theory.covering.besicovitch /-! # Satellite configurations for Besicovitch covering lemma in vector...
7b40a865864a78cfc809b5aab439d5ed8ab7cc29
38bf3fd2bb651ab70511408fcf70e2029e2ba310
/src/data/nat/totient.lean
bd7a77991b16848d3f3f6ad3c3eff8f4c110acb4
[ "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
3,593
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import algebra.big_operators data.nat.gcd open finset namespace nat def totient (n : ℕ) : ℕ := ((range n).filter (nat.coprime n)).card localized "notation `φ` := nat....
214e6ddded4f109a6bfdd2ad5b528e1d76fee3e4
27a31d06bcfc7c5d379fd04a08a9f5ed3f5302d4
/tests/lean/interactive/hover.lean
580c7cc8efa2c4b1db151beb19ee90e19e6bc5d2
[ "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
2,581
lean
import Lean example : True := by apply True.intro --^ textDocument/hover example : True := by simp [True.intro] --^ textDocument/hover example (n : Nat) : True := by match n with | Nat.zero => _ --^ textDocument/hover | n + 1 => _ /-- My tactic -/ macro "mytac" o:"only"? e:term : tactic => ...
6281c69b1294c9947459910b0e538e707810994f
ea5678cc400c34ff95b661fa26d15024e27ea8cd
/rationalpowers.lean
93b645da3b3ba4d4f870e16ad92b44c365007b15
[]
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
5,734
lean
-- let's define the real numbers to be a number system which satisfies -- the basic properties of the real numbers which we will need. noncomputable theory constant real : Type @[instance] constant real_field : linear_ordered_field real -- This piece of magic means that "real" now behaves a lot like -- the real num...
3728e7031a08de15539ee608f0b42bea26baf47f
827a8a5c2041b1d7f55e128581f583dfbd65ecf6
/concat_fun.hlean
936033aeb6a105d4e2dfa681e62989a46ab07b23
[ "Apache-2.0" ]
permissive
fpvandoorn/leansnippets
6af0499f6f3fd2c07e4b580734d77b67574e7c27
601bafbe07e9534af76f60994d6bdf741996ef93
refs/heads/master
1,590,063,910,882
1,545,093,878,000
1,545,093,878,000
36,044,957
2
2
null
1,442,619,708,000
1,432,256,875,000
Lean
UTF-8
Lean
false
false
2,801
hlean
open eq definition concat₁ {A : Type} {a₁ a₂ a₃ : A} (p : a₁ = a₂) (q : a₂ = a₃) : a₁ = a₃ := by induction q; assumption definition concat₂ {A : Type} {a₁ a₂ a₃ : A} (p : a₁ = a₂) (q : a₂ = a₃) : a₁ = a₃ := by induction p; assumption definition concat₃ {A : Type} {a₁ a₂ a₃ : A} (p : a₁ = a₂) (q : a₂ = a₃) ...
9c2dd2129d0518609bb21e35b1f0f0962564b2ba
94e33a31faa76775069b071adea97e86e218a8ee
/src/ring_theory/polynomial/bernstein.lean
ecac38edff1b240a328f74ce3c45b61ae174581d
[ "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
15,845
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import data.polynomial.derivative import data.nat.choose.sum import ring_theory.polynomial.pochhammer import data.polynomial.algebra_map import linear_algebra.linear_...
a58a18a18bdd2fd9e3a9a636572be45321db6fdb
aa101d73b1a3173c7ec56de02b96baa8ca64c42e
/src/solutions/01_equality_rewriting.lean
30d7678564132454da2115c66a64594d1410bf0b
[ "Apache-2.0" ]
permissive
gihanmarasingha/tutorials
b554d4d53866c493c4341dc13e914b01444e95a6
56617114ef0f9f7b808476faffd11e22e4380918
refs/heads/master
1,671,141,758,153
1,599,173,318,000
1,599,173,318,000
282,405,870
0
0
Apache-2.0
1,595,666,751,000
1,595,666,750,000
null
UTF-8
Lean
false
false
5,602
lean
import data.real.basic /- One of the earliest kind of proofs one encounters while learning mathematics is proving by a calculation. It may not sound like a proof, but this is actually using lemmas expressing properties of operations on numbers. It also uses the fundamental property of equality: if two mathematical ob...
eee2669a006afdfa9f89dba276f642d317b743fb
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/tactic/lint.lean
f83a2533ae998f5c6e193eb485f9d437f4126f80
[ "Apache-2.0" ]
permissive
vaibhavkarve/mathlib
a574aaf68c0a431a47fa82ce0637f0f769826bfe
17f8340912468f49bdc30acdb9a9fa02eeb0473a
refs/heads/master
1,621,263,802,637
1,585,399,588,000
1,585,399,588,000
250,833,447
0
0
Apache-2.0
1,585,410,341,000
1,585,410,341,000
null
UTF-8
Lean
false
false
46,843
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, Robert Y. Lewis -/ import tactic.core /-! # lint commands This file defines the following user commands to spot common mistakes in the code. * `#lint`: check all d...
f335ad0a97b1baeba292554376812db1743e0509
fef48cac17c73db8662678da38fd75888db97560
/src/mathlib_someday.lean
7d5bafb41f9309b0c0ec20e99c231537baef7aab
[]
no_license
kbuzzard/lean-squares-in-fibonacci
6c0d924f799d6751e19798bb2530ee602ec7087e
8cea20e5ce88ab7d17b020932d84d316532a84a8
refs/heads/master
1,584,524,504,815
1,582,387,156,000
1,582,387,156,000
134,576,655
3
1
null
1,541,538,497,000
1,527,083,406,000
Lean
UTF-8
Lean
false
false
2,034
lean
import algebra.group_power import data.nat.gcd import data.nat.modeq import number_theory.pell attribute [elab_as_eliminator] nat.strong_induction_on attribute [refl] dvd_refl attribute [trans] dvd_trans attribute [symm] nat.coprime.symm open nat lemma nat.gcd_add_mul_left (a b n : ℕ) : gcd (a + b * n) b = gcd a b ...
ce3c303045e23e539ef547f15ec4468c65e3e6a8
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/polynomial/big_operators.lean
27bbec5a49037ed63c16ad4a5b426c5fe416595c
[ "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
13,364
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson, Jalex Stark -/ import algebra.order.with_zero import data.polynomial.monic /-! # Lemmas for the interaction between polynomials and `∑` and `∏`. > THIS FILE IS SYNCHRO...
d8618f7131e769f2029f7f9d4f6741689620184c
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/geometry/euclidean/angle/oriented/rotation.lean
8ca7a0bcff9401ef219bb29649cabd8a5956c043
[ "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
20,847
lean
/- Copyright (c) 2022 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers, Heather Macbeth -/ import analysis.special_functions.complex.circle import geometry.euclidean.angle.oriented.basic /-! # Rotations by oriented angles. > THIS FILE IS SYNC...
94e1ebe3a7c69718df21d8b7c9926580ba59b509
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/order/filter/partial.lean
cfacfae4517eeeb5f63eddc87e657e809becbb14
[ "Apache-2.0" ]
permissive
fpvandoorn/mathlib
b21ab4068db079cbb8590b58fda9cc4bc1f35df4
b3433a51ea8bc07c4159c1073838fc0ee9b8f227
refs/heads/master
1,624,791,089,608
1,556,715,231,000
1,556,715,231,000
165,722,980
5
0
Apache-2.0
1,552,657,455,000
1,547,494,646,000
Lean
UTF-8
Lean
false
false
8,437
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad Extends `tendsto` to relations and partial functions. -/ import .basic universes u v w namespace filter variables {α : Type u} {β : Type v} {γ : Type w} /- Relations. -...
aedfb4c049eac89d7a3f3376bd2d3e3816a54f69
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/linear_algebra/dimension.lean
551ad63201b6ac0c7fc49f990c3b320f63dc961b
[ "Apache-2.0" ]
permissive
ramonfmir/mathlib
c5dc8b33155473fab97c38bd3aa6723dc289beaa
14c52e990c17f5a00c0cc9e09847af16fabbed25
refs/heads/master
1,661,979,343,526
1,660,830,384,000
1,660,830,384,000
182,072,989
0
0
null
1,555,585,876,000
1,555,585,876,000
null
UTF-8
Lean
false
false
53,500
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Johannes Hölzl, Sander Dahmen, Scott Morrison -/ import linear_algebra.dfinsupp import linear_algebra.invariant_basis_number import linear_algebra.isomorphisms import l...
c6162d6f14b0bdf39de33e9eaa9daa06ba69f1b9
367134ba5a65885e863bdc4507601606690974c1
/src/ring_theory/flat.lean
6cd8b28961f26e94ffcaf890449273b14bc66c80
[ "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
2,638
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import linear_algebra.dimension import ring_theory.noetherian import ring_theory.algebra_tower /-! # Flat modules A module `M` over a commutative ring `R` is *flat...
c50d8037d1575b6c2efa2aedecbbf7f50df42350
0845ae2ca02071debcfd4ac24be871236c01784f
/tests/lean/run/coroutine.lean
fabd2fca3e6d57df18259036d8460ba9de227433
[ "Apache-2.0" ]
permissive
GaloisInc/lean4
74c267eb0e900bfaa23df8de86039483ecbd60b7
228ddd5fdcd98dd4e9c009f425284e86917938aa
refs/heads/master
1,643,131,356,301
1,562,715,572,000
1,562,715,572,000
192,390,898
0
0
null
1,560,792,750,000
1,560,792,749,000
null
UTF-8
Lean
false
false
7,515
lean
universes u v w r s inductive coroutineResultCore (coroutine : Type (max u v w)) (α : Type u) (δ : Type v) (β : Type w) : Type (max u v w) | done {} : β → coroutineResultCore | yielded {} : δ → coroutine → coroutineResultCore /-- Asymmetric coroutines `coroutine α δ β` takes inputs of Type `α`, yields element...
bc13f4503bfea5ddddeae02e3d75fba8431d7e5b
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/data/option/basic.lean
05ce14a3248184eb1dd0c5acf2dc60e73836bbc4
[ "Apache-2.0" ]
permissive
dupuisf/mathlib
62de4ec6544bf3b79086afd27b6529acfaf2c1bb
8582b06b0a5d06c33ee07d0bdf7c646cae22cf36
refs/heads/master
1,669,494,854,016
1,595,692,409,000
1,595,692,409,000
272,046,630
0
0
Apache-2.0
1,592,066,143,000
1,592,066,142,000
null
UTF-8
Lean
false
false
7,418
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 tactic.basic namespace option variables {α : Type*} {β : Type*} {γ : Type*} lemma some_ne_none (x : α) : some x ≠ none := λ h, option.no_confusion h @[simp]...
9ad896f456b709819e953b9ee6fd7a084c5417df
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/mv_polynomial/tower.lean
ddfee025e79096a0cd6eff3bf48f80c0b44912ad
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
2,569
lean
/- Copyright (c) 2022 Yuyang Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yuyang Zhao -/ import algebra.algebra.tower import data.mv_polynomial.basic /-! # Algebra towers for multivariate polynomial > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to...
04c7dd30463caba876c18827fe27162ab8867111
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/elab8.lean
bd447c76a56beca63a05ca40a076b78170fe724b
[ "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
379
lean
set_option pp.notation false set_option pp.implicit true set_option pp.numerals false set_option pp.binder_types true #check λ (A : Type*) [has_add A] [has_one A] [has_lt A] (a : A), a + 1 #check λ (A : Type*) [has_add A] [has_one A] [has_lt A] (a : A) (H : a > 1), a + 1 #check λ (A : Type*) [has_add A] [has_one A] ...
038cf6421c82e46695d404e59c850d55a7fcab17
7cef822f3b952965621309e88eadf618da0c8ae9
/src/category_theory/monad/types.lean
c7063af322bb075ad9d65889f5bdca0bf59e2232
[ "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
956
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import category_theory.monad.basic import category_theory.types /-! # Convert from `monad` (i.e. Lean's `Type`-based monads) to `category_theory.monad` This allow...
1d099c2cb89b57aa0dd80a7596756cd9be9002ec
d1bbf1801b3dcb214451d48214589f511061da63
/src/data/zsqrtd/gaussian_int.lean
6a42e6909c7e7ee2f4882efc613f9f730e13cf59
[ "Apache-2.0" ]
permissive
cheraghchi/mathlib
5c366f8c4f8e66973b60c37881889da8390cab86
f29d1c3038422168fbbdb2526abf7c0ff13e86db
refs/heads/master
1,676,577,831,283
1,610,894,638,000
1,610,894,638,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
12,726
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 data.zsqrtd.basic import data.complex.basic import ring_theory.principal_ideal_domain import number_theory.quadratic_reciprocity /-! # Gaussian integers The Gaussi...
c6ca478911d0858c5d7516f7f20909a83f759a09
e9dbaaae490bc072444e3021634bf73664003760
/src/Problems/2015/IMO_2015_P3.lean
f7ae0e45b2f4ffc320ae7f522b0386e6a85b1bf2
[ "Apache-2.0" ]
permissive
liaofei1128/geometry
566d8bfe095ce0c0113d36df90635306c60e975b
3dd128e4eec8008764bb94e18b932f9ffd66e6b3
refs/heads/master
1,678,996,510,399
1,581,454,543,000
1,583,337,839,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
765
lean
import Geo.Geo.Core namespace Geo open Triangle def IMO_2015_P3 : Prop := ∀ (A B C : Point), acute ⟨A, B, C⟩ → ulen (Seg.mk A B) > ulen (Seg.mk A C) → let Γ := Triangle.circumcircle ⟨A, B, C⟩; let H := orthocenter ⟨A, B, C⟩; let F := (altitudes ⟨A, B, C⟩).A.dst; -- is the same as foot A ⟨B, C⟩ let M := (Seg.mk B C)....
bbe7b404472ffcf19ec757cc2c99c05d2b996664
c8af905dcd8475f414868d303b2eb0e9d3eb32f9
/src/data/cpi/semantics/ode.lean
157b7c259ba49671f40b250d650713b198b15f2d
[ "BSD-3-Clause" ]
permissive
continuouspi/lean-cpi
81480a13842d67ff5f3698643210d8ed5dd08de4
443bf2cb236feadc45a01387099c236ab2b78237
refs/heads/master
1,650,307,316,582
1,587,033,364,000
1,587,033,364,000
207,499,661
1
0
null
null
null
null
UTF-8
Lean
false
false
2,353
lean
import data.cpi.semantics.basic data.fin_poly namespace cpi variables {ℍ : Type} {ω : context} [half_ring ℍ] [cpi_equiv_prop ℍ ω] [decidable_eq ℍ] /-- All species which may occur within the transition graph of a process. As the transition graph may be infinite, we visit the graph with a finite amount of gas...
60d9bb29dde7d1b84f6a9ff94e6e0fc2af396cd8
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/lie/subalgebra.lean
5dfce2b1c28945d70933fe7bba92d38873f2e18a
[ "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
23,020
lean
/- Copyright (c) 2021 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import algebra.lie.basic import ring_theory.noetherian /-! # Lie subalgebras This file defines Lie subalgebras of a Lie algebra and provides basic related definitions and...
02bcbfd217f6eb6ddecd1d9406cb8d15a86db5f6
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/data/matrix/pequiv.lean
ae8f37cc24fb02e82e0e1e7b4fe8087ab72fb589
[ "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,746
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 data.matrix.basic import data.pequiv /- # partial equivalences for matrices Using partial equivalences to represent matrices. This file introduces the function `p...