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
bbe0f556863cb96f7d3e30b4a8d57b831db7e0c7
b3fced0f3ff82d577384fe81653e47df68bb2fa1
/src/measure_theory/outer_measure.lean
608799a9da3177f91bca99e36e6a38d49772252e
[ "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
19,571
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 algebra.big_operators algebra.module topology.instances.ennreal analysis.specific_lim...
5c311668ff3ac94c3d0e70df4c22fb52c9958d42
c5b07d17b3c9fb19e4b302465d237fd1d988c14f
/src/functors/polynomial.lean
90ecc988c308af3e5584138c281e98ad7fbd6024
[ "MIT" ]
permissive
skaslev/papers
acaec61602b28c33d6115e53913b2002136aa29b
f15b379f3c43bbd0a37ac7bb75f4278f7e901389
refs/heads/master
1,665,505,770,318
1,660,378,602,000
1,660,378,602,000
14,101,547
0
1
MIT
1,595,414,522,000
1,383,542,702,000
Lean
UTF-8
Lean
false
false
1,357
lean
import data.iso import functors.family -- Polynomial functor -- poly(c) = Σ i:c, x^c(i) def poly (c : fam Type*) (X : Type*) := Σ i : c, c i → X -- qpf(c,r) = Σ i:c, x^c(i) / r(i) def qpf (c : fam Type*) (r : Π i X, rel (c i → X)) (X : Type*) := Σ i : c, quot (r i X) -- poly(c) ↪ qpf(c, ordered) def poly.lift_qpf {c...
216bfb5b411e94fc2de4d18bdea0ebf647e649c4
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Compiler/LCNF/Probing.lean
8817b5ba44da5bbe2d7e0b54a824de075a2ec684
[ "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
7,062
lean
/- Copyright (c) 2022 Henrik Böving. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Henrik Böving -/ import Lean.Compiler.LCNF.CompilerM import Lean.Compiler.LCNF.PassManager import Lean.Compiler.LCNF.PhaseExt import Lean.Compiler.LCNF.ForEachExpr namespace Lean.Compi...
d9b09150b36c6105f6737d69b4006be8ef407861
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/hott/algebra/category/constructions/product.hlean
777488013d33c2acc049c3d91df28d42a0a76345
[ "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
5,458
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, Jakob von Raumer Product precategory and (TODO) category -/ import ..category ..nat_trans hit.trunc open eq prod is_trunc functor sigma trunc iso prod.ops nat_tr...
8563b6e4756a2648b0d49069d2c77230c05b26bb
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/src/Lean/Elab/Frontend.lean
aec916031dfb69a9d07db46103c2ca2020173d84
[ "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
4,203
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...
f8b718d4d30036746d507e433828e8b072abb240
bb31430994044506fa42fd667e2d556327e18dfe
/src/number_theory/arithmetic_function.lean
2d05ecfe97d50c408143c3774e02d984f109f126
[ "Apache-2.0" ]
permissive
sgouezel/mathlib
0cb4e5335a2ba189fa7af96d83a377f83270e503
00638177efd1b2534fc5269363ebf42a7871df9a
refs/heads/master
1,674,527,483,042
1,673,665,568,000
1,673,665,568,000
119,598,202
0
0
null
1,517,348,647,000
1,517,348,646,000
null
UTF-8
Lean
false
false
35,812
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import algebra.big_operators.ring import algebra.module.big_operators import number_theory.divisors import data.nat.squarefree import data.nat.gcd.big_operators impor...
60c748bf84e0ab4a4589393962955915bd9828b0
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/category_theory/functor_category.lean
b32ad84014db5186fa78aac3c2d95fc3aeb4dcda
[ "Apache-2.0" ]
permissive
lacker/mathlib
f2439c743c4f8eb413ec589430c82d0f73b2d539
ddf7563ac69d42cfa4a1bfe41db1fed521bd795f
refs/heads/master
1,671,948,326,773
1,601,479,268,000
1,601,479,268,000
298,686,743
0
0
Apache-2.0
1,601,070,794,000
1,601,070,794,000
null
UTF-8
Lean
false
false
4,412
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tim Baumann, Stephen Morgan, Scott Morrison, Floris van Doorn -/ import category_theory.natural_transformation namespace category_theory universes v₁ v₂ v₃ u₁ u₂ u₃ -- declare the `v...
8808bf76142a0246ad9c896c2f5cb526ed5b07bb
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/algebra/lie/direct_sum.lean
c75c66f22566df65e013bec14c9a8d6e5bc9b358
[ "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
9,115
lean
/- Copyright (c) 2020 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 algebra.lie.submodule import algebra.lie.of_associative import linear_algebra.direct_sum.finsupp /-! # Direct sums of Lie algebras and Lie ...
d41b73ca265b5a419263cf99d5f96535f18f039a
c777c32c8e484e195053731103c5e52af26a25d1
/src/linear_algebra/cross_product.lean
67f47a6f8ec055b9eac2c1381ffa3590598b53f3
[ "Apache-2.0" ]
permissive
kbuzzard/mathlib
2ff9e85dfe2a46f4b291927f983afec17e946eb8
58537299e922f9c77df76cb613910914a479c1f7
refs/heads/master
1,685,313,702,744
1,683,974,212,000
1,683,974,212,000
128,185,277
1
0
null
1,522,920,600,000
1,522,920,600,000
null
UTF-8
Lean
false
false
5,352
lean
/- Copyright (c) 2021 Martin Dvorak. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Martin Dvorak, Kyle Miller, Eric Wieser -/ import data.matrix.notation import linear_algebra.bilinear_map import linear_algebra.matrix.determinant import algebra.lie.basic /-! # Cross...
3f8ad0034905a74dacd0da83bd95120fccaf4f32
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/algebra/ring/basic.lean
e9cca497ba4231959cf7591b4b41cb1f2f4c467a
[ "Apache-2.0" ]
permissive
ilitzroth/mathlib
ea647e67f1fdfd19a0f7bdc5504e8acec6180011
5254ef14e3465f6504306132fe3ba9cec9ffff16
refs/heads/master
1,680,086,661,182
1,617,715,647,000
1,617,715,647,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
41,136
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, Floris van Doorn, Amelia Livingston, Yury Kudryashov, Neil Strickland -/ import algebra.divisibility import data.set.basic /-! # Properties and homomo...
9412c4d7e06070facf2fc73d46b9838d100f4526
7b66d83f3b69dae0a3dfb684d7ebe5e9e3f3c913
/src/exercises_sources/thursday/afternoon/category_theory/exercise6.lean
0cd8f15e8db14ea1e116f7183307f644e0790d1a
[]
permissive
dpochekutov/lftcm2020
58a09e10f0e638075b97884d3c2612eb90296adb
cdfbf1ac089f21058e523db73f2476c9c98ed16a
refs/heads/master
1,669,226,265,076
1,594,629,725,000
1,594,629,725,000
279,213,346
1
0
MIT
1,594,622,757,000
1,594,615,843,000
null
UTF-8
Lean
false
false
1,316
lean
import algebra.category.Module.basic import linear_algebra.finite_dimensional /-! Every monomorphism in fdVec splits. This is not-so-secretly an exercise in using the linear algebra library -/ variables (𝕜 : Type) [field 𝕜] open category_theory abbreviation Vec := Module 𝕜 @[derive category] def fdVec := { V :...
ba8c898e70c303371e17c9c5fac96d9c8f7144c5
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/linear_algebra/matrix/zpow.lean
fb7ff4cc6d15f69d56d0aa53d6de8bdf39d04da1
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
12,547
lean
/- Copyright (c) 2021 Yakov Pechersky. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yakov Pechersky -/ import linear_algebra.matrix.nonsingular_inverse /-! # Integer powers of square matrices > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file req...
85e417b15a69d869d55ed47d00ba5dfe53aa935d
44023683920a51f2416cf51eeab3fc51c3ff0765
/tests/lean/run/rb_map1.lean
2c1ce172f11a8765281df63650b2dac15cc7063e
[ "Apache-2.0" ]
permissive
pirocks/lean
e6e3e3fd20c5e7877f7efc3b50e5e20271e8d0cf
368f17d0b1392a5a72c9eb974f15b14462cc1475
refs/heads/master
1,620,671,385,768
1,516,152,564,000
1,516,152,564,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
742
lean
import system.io open io section open native.nat_map #eval size (insert (insert (mk nat) 10 20) 10 21) meta definition m := (insert (insert (insert (mk nat) 10 20) 5 50) 10 21) #eval find m 10 #eval find m 5 #eval find m 8 #eval contains m 5 #eval contains m 8 open list meta definition m2 := of_list [((1:nat), "on...
1c8a1c8e243a97cebeef76d9e166327ff55848e1
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/tests/lean/lua8.lean
7713ad357afb1653800cdc49b9ce7261345c0218
[ "Apache-2.0" ]
permissive
codyroux/lean0.1
1ce92751d664aacff0529e139083304a7bbc8a71
0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef
refs/heads/master
1,610,830,535,062
1,402,150,480,000
1,402,150,480,000
19,588,851
2
0
null
null
null
null
UTF-8
Lean
false
false
242
lean
import Int. variable x : Int (* local env = get_environment() ty_x = env:type_check(Const("x")) c = context() c = context(c, "x", ty_x) c = context(c, "y", ty_x) print(c) o = env:find_object("x") print(o) o = env:find_object("y") print(o) *)
46f475ae79bc3ea7a592d7c1231c73233143c802
4bcaca5dc83d49803f72b7b5920b75b6e7d9de2d
/src/Lean/Elab/PreDefinition/Main.lean
1559c6e987e5386d3f24c5ef4e5557425dfdf24b
[ "Apache-2.0" ]
permissive
subfish-zhou/leanprover-zh_CN.github.io
30b9fba9bd790720bd95764e61ae796697d2f603
8b2985d4a3d458ceda9361ac454c28168d920d3f
refs/heads/master
1,689,709,967,820
1,632,503,056,000
1,632,503,056,000
409,962,097
1
0
null
null
null
null
UTF-8
Lean
false
false
3,847
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.Elab.PreDefinition.Basic import Lean.Elab.PreDefinition.Structural import Lean.Elab.PreDefinition.WF namespace Lean.Elab open Meta open Term pr...
d31e6f31cefa980dba1d89ffedcd74042c394e60
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/lake/test/precompileArgs/lakefile.lean
b52d6f25b8d1cb3121702141446bb67fbd4ec44b
[ "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
144
lean
import Lake open Lake DSL package precompileArgs @[default_target] lean_lib Foo { precompileModules := true moreLinkArgs := #["-lBaz"] }
e9f91f982c65d02f76fb3a5934b6e788500ebb06
f3a5af2927397cf346ec0e24312bfff077f00425
/src/tactic/clear_leaks.lean
b880f6bb40c5e9c240e30a84f65a09b41ff241da
[ "Apache-2.0" ]
permissive
ImperialCollegeLondon/natural_number_game
05c39e1586408cfb563d1a12e1085a90726ab655
f29b6c2884299fc63fdfc81ae5d7daaa3219f9fd
refs/heads/master
1,688,570,964,990
1,636,908,242,000
1,636,908,242,000
195,403,790
277
84
Apache-2.0
1,694,547,955,000
1,562,328,792,000
Lean
UTF-8
Lean
false
false
33
lean
-- not sure this is ever imported
7c2b741f37c95746d366546d6c709e871e84f6db
969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb
/src/algebra/category/Semigroup/basic.lean
94ffe60cb45a210f026abaeb8e282f0c2e2a071c
[ "Apache-2.0" ]
permissive
SAAluthwela/mathlib
62044349d72dd63983a8500214736aa7779634d3
83a4b8b990907291421de54a78988c024dc8a552
refs/heads/master
1,679,433,873,417
1,615,998,031,000
1,615,998,031,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,324
lean
/- Copyright (c) 2021 Julian Kuelshammer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julian Kuelshammer (heavily based on `Mon.basic` by Scott Morrison) -/ import category_theory.concrete_category.bundled_hom import category_theory.concrete_category.reflects_isomor...
5a7a3cea4e0d2111b309f1d87c30c664c7a150f5
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/hott/types/pi.hlean
32affc0866b566ffbdbb53196de8e393db753b06
[ "Apache-2.0" ]
permissive
jroesch/lean
30ef0860fa905d35b9ad6f76de1a4f65c9af6871
3de4ec1a6ce9a960feb2a48eeea8b53246fa34f2
refs/heads/master
1,586,090,835,348
1,455,142,203,000
1,455,142,277,000
51,536,958
1
0
null
1,455,215,811,000
1,455,215,811,000
null
UTF-8
Lean
false
false
11,776
hlean
/- Copyright (c) 2014-15 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn Partially ported from Coq HoTT Theorems about pi-types (dependent function spaces) -/ import types.sigma arity open eq equiv is_equiv funext sigma unit bool is_...
cdefded269cb1940a3149cd9c049c762bb16a552
94e33a31faa76775069b071adea97e86e218a8ee
/src/analysis/normed_space/weak_dual.lean
36408415a2d67c75f2a9a010684b293bd929a36a
[ "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
10,011
lean
/- Copyright (c) 2021 Kalle Kytölä. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kalle Kytölä, Yury Kudryashov -/ import topology.algebra.module.weak_dual import analysis.normed_space.dual import analysis.normed_space.operator_norm /-! # Weak dual of normed space L...
0920028515af6d3eadc22e5f6333ee55dd47e2f6
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/matcherElimUniv.lean
0df5d48760ad5d2e398104614864b739782ca7d0
[ "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
163
lean
universe u def len {α : Type u} : List α → List α → Nat | [], bs => bs.length | a::as, bs => len as bs + 1 theorem ex1 : len [1, 2] [3, 4] = 4 := rfl
3fe7535b56e5645488a744c88a6d129dad823e33
6fca17f8d5025f89be1b2d9d15c9e0c4b4900cbf
/src/game/world9/level1.lean
18c94dd00dc8124344912de9f5fd990b500db22f
[ "Apache-2.0" ]
permissive
arolihas/natural_number_game
4f0c93feefec93b8824b2b96adff8b702b8b43ce
8e4f7b4b42888a3b77429f90cce16292bd288138
refs/heads/master
1,621,872,426,808
1,586,270,467,000
1,586,270,467,000
253,648,466
0
0
null
1,586,219,694,000
1,586,219,694,000
null
UTF-8
Lean
false
false
1,324
lean
import game.world8.level13 -- hide import game.world3.level9 namespace mynat -- hide /- # Advanced Multiplication World ## Level 1: `mul_pos` Welcome to Advanced Multiplication World! Before attempting this world you should have completed seven other worlds, including Multiplication World and Advanced Addition World...
006184f78b0ec8315b2bf84d9d523141fe9e4a07
d1a52c3f208fa42c41df8278c3d280f075eb020c
/src/Lean/Widget/InteractiveDiagnostic.lean
77692265f8d13f336e895e1e0ba36d56734c4a37
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
cipher1024/lean4
6e1f98bb58e7a92b28f5364eb38a14c8d0aae393
69114d3b50806264ef35b57394391c3e738a9822
refs/heads/master
1,642,227,983,603
1,642,011,696,000
1,642,011,696,000
228,607,691
0
0
Apache-2.0
1,576,584,269,000
1,576,584,268,000
null
UTF-8
Lean
false
false
9,090
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wojciech Nawrocki -/ import Lean.Data.Lsp import Lean.Message import Lean.Elab.InfoTree import Lean.Server.Utils import Lean.Server.Rpc.Basic import Lean.Widget.TaggedText im...
736ae925aa086f50e35f83661b47134daa04a21c
12dabd587ce2621d9a4eff9f16e354d02e206c8e
/world02/level03.lean
88d156e4303545cfa8432231e150ecc979ed62c5
[]
no_license
abdelq/natural-number-game
a1b5b8f1d52625a7addcefc97c966d3f06a48263
bbddadc6d2e78ece2e9acd40fa7702ecc2db75c2
refs/heads/master
1,668,606,478,691
1,594,175,058,000
1,594,175,058,000
278,673,209
0
1
null
null
null
null
UTF-8
Lean
false
false
168
lean
lemma succ_add (a b : mynat) : succ a + b = succ (a + b) := begin induction b with h hd, rw add_zero, rw add_zero, refl, rw add_succ, rw add_succ, rw ← hd, refl, end
0ea14253010855720b95106a34b8fa049f4cc16b
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/2262.lean
d57d04f1d4957a459343019951660d9ba270dcf1
[ "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
193
lean
macro "foo" noWs ":" ws "bar" : command => `(command| /-! -/) macro "foo'" hygieneInfo noWs hygieneInfo ":" hygieneInfo ws hygieneInfo "bar" : command => `(command| /-! -/) foo: bar foo': bar
432e737760b09d8c242f1e4f03d5052c1b61cb1e
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/blast_cc9.lean
acf4b25bcf0d27fec5d03c611d1b0d42488f8592
[ "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
406
lean
import data.list open perm set_option blast.strategy "cc" example (a b : nat) : a = b → (b = a ↔ true) := by blast example (a b c : nat) : a = b → b = c → (true ↔ a = c) := by blast example (l₁ l₂ l₃ : list nat) : l₁ ~ l₂ → l₂ ~ l₃ → (true ↔ l₁ ~ l₃) := by blast example (l₁ l₂ l₃ : list nat) : l₁ ~ l₂ → l₂ = l₃ → (...
1a0a46f17a5967036a61a26b8af4f4c9a9805234
b9a81ebb9de684db509231c4469a7d2c88915808
/src/super/default.lean
bade175432b3f269a67c2c32d5eed7fd90f81ae6
[]
no_license
leanprover/super
3dd81ce8d9ac3cba20bce55e84833fadb2f5716e
47b107b4cec8f3b41d72daba9cbda2f9d54025de
refs/heads/master
1,678,482,996,979
1,676,526,367,000
1,676,526,367,000
92,215,900
12
6
null
1,513,327,539,000
1,495,570,640,000
Lean
UTF-8
Lean
false
false
167
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 .prover
03ffeca14e82a0c02303fb01092758a61ae249b0
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/Monoid1.lean
400356146f86cf3d4cd12cca05bb2d977651e933
[]
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,987
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 Monoid1 structure Monoid1 (A : Type) : Type := (one : A) (op : (A → (A → A))) (lunit_one : (∀ {x : A} , (op one x) = x)) (runit_one : (∀ {x : A} ,...
e1398d4cbdcbda848ae590aa2d95d0286d487e23
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/instance_naming.lean
bc8e113adf8dc675d8673bc01b3c6b476ed2d721
[ "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
2,291
lean
def foo := ℕ namespace foo instance : has_add foo := nat.has_add end foo -- verify that `foo.has_add` was created example := foo.has_add namespace category_theory def functor : Type := ℕ class is_right_adjoint (F : functor) : Prop class preserves_limits (F : functor) : Prop def forgetful_functor : functor := nat.ze...
5658eab507f19af15ef56a9326e5c397f6c1417d
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/polynomial/degree/lemmas.lean
18044c2c8a9d8e7d0a5be5a0e41e0fc0b6d052ca
[ "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,098
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.polynomial.eval import tactic.interval_cases /-! # Theory of degrees of polynomials Some of the main results...
afe5ed01c8a1bee6b80c9e927edf1bddc9ab7536
4fa161becb8ce7378a709f5992a594764699e268
/src/category_theory/types.lean
c0bdd91e9c9ada28ffdd0a04138397ee312ef911
[ "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
9,501
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Stephen Morgan, Scott Morrison, Johannes Hölzl -/ import category_theory.fully_faithful import data.equiv.basic /-! # The category `Type`. In this section we set up the theory so tha...
4eeaaca2a9684aa2e2f75990410d061e86cfe07f
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/tests/lean/simp24.lean
3962e035e0d2a4b61c33cafd367cf81ebabafb71
[ "Apache-2.0" ]
permissive
codyroux/lean0.1
1ce92751d664aacff0529e139083304a7bbc8a71
0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef
refs/heads/master
1,610,830,535,062
1,402,150,480,000
1,402,150,480,000
19,588,851
2
0
null
null
null
null
UTF-8
Lean
false
false
839
lean
rewrite_set simple add_rewrite eq_id imp_truel imp_truer Nat::add_zeror : simple variables a b : Nat (* local opts = options({"simplifier", "contextual"}, false) local t = parse_lean('λ x, a = a → x = a') local t2, pr = simplify(t, "simple", opts) print(t2) print(pr) get_environment():type_check(pr) *) (* local opts =...
0fe1ddd539d700487745ab9fa3100255b6bc4bd3
e1440579fb0723caf9edf1ed07aee74bbf4f5ce7
/lean-experiments/stumps-learnable/src/stump/sample_complexity.lean
2b7302150f59d1aaf93dee4bf1373d822c47f404
[ "Apache-2.0" ]
permissive
palmskog/coq-proba
1ecc5b7f399894ea14d6094a31a063280a122099
f73e2780871e2a3dd83b7ce9d3aed19f499f07e5
refs/heads/master
1,599,620,504,720
1,572,960,008,000
1,572,960,008,000
221,326,479
0
0
Apache-2.0
1,573,598,769,000
1,573,598,768,000
null
UTF-8
Lean
false
false
2,170
lean
/- Copyright © 2019, Oracle and/or its affiliates. All rights reserved. -/ import analysis.complex.exponential import ..lib.util open real noncomputable def complexity (ε: ℝ) (δ: ℝ) : ℝ := (log(δ) / log(1 - ε)) - (1: nat) lemma complexity_enough: ∀ ε: nnreal, ∀ δ: nnreal, ∀ n: ℕ, ε > (0: nnreal) → ε < (1: ...
389c17af69c49e4829c10dae8f9694a30752aa39
7fc0ec5c526f706107537a6e2e34ac4cdf88d232
/src/group_theory/representation/maschke.lean
3d59277422f1744f97e633e6837be59af42c6a6b
[ "Apache-2.0" ]
permissive
fpvandoorn/group-representations
7440a81f2ac9e0d2defa44dc1643c3167f7a2d99
bd9d72311749187d3bd4f542d5eab83e8341856c
refs/heads/master
1,684,128,141,684
1,623,338,135,000
1,623,338,135,000
256,117,709
0
2
null
null
null
null
UTF-8
Lean
false
false
6,657
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Scott Morrison -/ import data.monoid_algebra import ring_theory.algebra import algebra.invertible import algebra.char_p import linear_algebra.basis /-! # Maschke's theorem We prove Ma...
8557f80de48cdc807b0e759ce0ae2264c3f5d06e
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/group_theory/subgroup.lean
17b5d5e6fbced557363ce404d458ef62729a4197
[ "Apache-2.0" ]
permissive
JLimperg/aesop3
306cc6570c556568897ed2e508c8869667252e8a
a4a116f650cc7403428e72bd2e2c4cda300fe03f
refs/heads/master
1,682,884,916,368
1,620,320,033,000
1,620,320,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
68,961
lean
/- Copyright (c) 2020 Kexing Ying. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kexing Ying -/ import group_theory.submonoid import algebra.group.conj import algebra.pointwise import order.atoms /-! # Subgroups This file defines multiplicative and additive subgroup...
f77ff0a79fc945a9949af8c54fbe70c52817b1ea
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/module/algebra.lean
b6659e7d6af38a3b12e2289980d50ac80744e657
[ "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
1,012
lean
/- Copyright (c) 2022 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.module.basic import algebra.algebra.basic /-! # Additional facts about modules over algebras. > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any change...
4b411239d59d3ad51d31caa0e49cf2899bf5655f
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/tests/lean/parserPrio.lean
371e4a06d25e47cbee7524af454838a9fc7d67df
[ "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
923
lean
-- -- New notation that overlaps with existing notation syntax (name := myPair) (priority := high) "(" term "," term ")" : term macro_rules (kind := myPair) | `(($a, $b)) => `([$a, $b]) #eval (1, 2) -- not ambiguous since myPair parser has higher priority theorem ex1 : (1, 2) = [1, 2] := rfl -- Define macro for ex...
eea715df1dfac871b7c69bf744c4649cad5dc480
d436468d80b739ba7e06843c4d0d2070e43448e5
/src/analysis/normed_space/operator_norm.lean
018f6a830fcd85e4414a7e641c4dd5e755ffe262
[ "Apache-2.0" ]
permissive
roro47/mathlib
761fdc002aef92f77818f3fef06bf6ec6fc1a28e
80aa7d52537571a2ca62a3fdf71c9533a09422cf
refs/heads/master
1,599,656,410,625
1,573,649,488,000
1,573,649,488,000
221,452,951
0
0
Apache-2.0
1,573,647,693,000
1,573,647,692,000
null
UTF-8
Lean
false
false
17,703
lean
/- Copyright (c) 2019 Jan-David Salchow. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jan-David Salchow, Sébastien Gouëzel, Jean Lo Operator norm on the space of continuous linear maps Define the operator norm on the space of continuous linear maps between normed s...
5cd8cd42f18a687b8ee242c96879f37d3443cbcf
19e80d9dcdc050ba32a44257170460f6eb2f174b
/euler.lean
a605fc3d818161135f45c84f60565d085f84d4ca
[]
no_license
petersonbill64/lean
d36d7d93d0f1e4e5618f1426d41567e33a0da6fc
07b7b69e15785c75ebba6629be4fad92799fd7de
refs/heads/master
1,609,627,927,456
1,438,537,533,000
1,438,537,533,000
40,084,227
0
0
null
null
null
null
UTF-8
Lean
false
false
1,844
lean
import data.nat.div data.nat.gcd data.nat.sub data.set tools.fake_simplifier logic theories.number_theory.primes open nat set eq.ops well_founded decidable fake_simplifier prod bool definition eulerPhi.F (n m : ℕ) : (Π m₁ : ℕ, m₁< m → ℕ) → ℕ := nat.cases_on m (λ f, nat.zero) (λ n₁(f : Π m₁, m₁ < succ n...
681d492bd5e7a7e50f8a105f9269f2ad4f8bfe50
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/data/list/permutation.lean
5df5a069ed19d0945d53e2b3c7cb373524b6f913
[ "Apache-2.0" ]
permissive
AntoineChambert-Loir/mathlib
64aabb896129885f12296a799818061bc90da1ff
07be904260ab6e36a5769680b6012f03a4727134
refs/heads/master
1,693,187,631,771
1,636,719,886,000
1,636,719,886,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,845
lean
/- Copyright (c) 2014 Parikshit Khanna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Mario Carneiro -/ import data.list.join /-! # Permutations of a list In this file we prove properties about `l...
49767e8d23fc1ebd64d5c1e2b38a8d8c1825e220
63abd62053d479eae5abf4951554e1064a4c45b4
/src/number_theory/sum_two_squares.lean
f7a7f209c299f200ae2b75d55dde89a5e0bf3eb0
[ "Apache-2.0" ]
permissive
Lix0120/mathlib
0020745240315ed0e517cbf32e738d8f9811dd80
e14c37827456fc6707f31b4d1d16f1f3a3205e91
refs/heads/master
1,673,102,855,024
1,604,151,044,000
1,604,151,044,000
308,930,245
0
0
Apache-2.0
1,604,164,710,000
1,604,163,547,000
null
UTF-8
Lean
false
false
784
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.gaussian_int /-! # Sums of two squares Proof of Fermat's theorem on the sum of two squares. Every prime congruent to 1 mod 4 is the sum of two squares ...
e6a2a13be58719e67d4ef04f17bcac46cd09b431
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/metric_space/isometry_auto.lean
3b4c3aa8ba73282ceb453d16189ab2909e650c51
[]
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
21,477
lean
/- Copyright (c) 2018 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Isometries of emetric and metric spaces Authors: Sébastien Gouëzel -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.bounded_continuous_function import M...
ea58733c593288f3837eec02e4c2faa9b1d7ed72
7cef822f3b952965621309e88eadf618da0c8ae9
/src/linear_algebra/matrix.lean
75e1d5bb07f8ad59c984045284969f3ec04e8dca
[ "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
9,533
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl, Casper Putz The equivalence between matrices and linear maps. -/ import data.matrix.basic import linear_algebra.dimension linear_algebra.tensor_product /-! # Linear ...
3a806199d67a04cefb8442b87e58fe296f369caa
c777c32c8e484e195053731103c5e52af26a25d1
/src/measure_theory/integral/average.lean
e11fa52b50090220073307cc6acbaa723daa03c0
[ "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
8,924
lean
/- Copyright (c) 2022 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import measure_theory.integral.set_integral /-! # Integral average of a function In this file we define `measure_theory.average μ f` (notation: `⨍ x, f x ∂μ...
dcd3193ee39455c98172eadd881eead74d5b39cd
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/measure_theory/integral/set_integral.lean
57b6119822506c7d1970f158eb15ee8f3ffcd1e3
[ "Apache-2.0" ]
permissive
hikari0108/mathlib
b7ea2b7350497ab1a0b87a09d093ecc025a50dfa
a9e7d333b0cfd45f13a20f7b96b7d52e19fa2901
refs/heads/master
1,690,483,608,260
1,631,541,580,000
1,631,541,580,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
43,709
lean
/- Copyright (c) 2020 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou, Yury Kudryashov -/ import measure_theory.integral.integrable_on import measure_theory.integral.bochner import order.filter.indicator_function /-! # Set integral In this...
d1911164f46266410b8751bd8ce640dcd5a6bde3
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/group_theory/sylow.lean
268541c524535aa787eff78ed764f6f5089aa31e
[ "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
11,456
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 group_theory.group_action group_theory.quotient_group import group_theory.order_of_element data.zmod.basic import data.fintype.card import data.list.rotate open e...
efae268b7fa3b0649c8206c84d9ec6ca4ceff5c8
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/measure_theory/measurable_space_def.lean
a36f71f12a64f58652ffa2b23463dbef86c2bf32
[ "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
19,885
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.countable import logic.encodable.lattice import order.disjointed /-! # Measurable spaces and measurable functions This file defines ...
32ce458b0f4cba4682196daac86324b0f83b3835
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/category_theory/groupoid.lean
9ab9062e12595eb1e7e042b7b94c542df2c70f52
[ "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
1,034
lean
/- Copyright (c) 2018 Reid Barton All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton -/ import category_theory.category import category_theory.isomorphism namespace category_theory universes v u -- declare the `v`'s first; see `category_theory.category` for ...
a3f2e8727fef8c97d75b26379927941a99ede1b7
3c9dc4ea6cc92e02634ef557110bde9eae393338
/tests/lean/run/infoTree.lean
94eb8c2929f684e5b86f804f8ade96ec76b481f0
[ "Apache-2.0" ]
permissive
shingtaklam1324/lean4
3d7efe0c8743a4e33d3c6f4adbe1300df2e71492
351285a2e8ad0cef37af05851cfabf31edfb5970
refs/heads/master
1,676,827,679,740
1,610,462,623,000
1,610,552,340,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
374
lean
import Lean open Lean.Elab elab "enableInfo!" : command => enableInfoTree elab "showInfoTrees!" : command => do let trees ← getInfoTrees trees.forM fun tree => do IO.println f!"{← tree.format}" enableInfo! def f (x : Nat) : Nat × Nat := let y := ⟨x, x⟩ id y def h : (x : Nat) → x + 0 = x := fun x =>...
2ee61de57073e3b4bf263898eaa0f598b1de7a27
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/order/countable_dense_linear_order.lean
c10246e06fca2008eee57e963e3f463224b02563
[ "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,620
lean
/- Copyright (c) 2020 David Wärn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: David Wärn -/ import order.ideal /-! # The back and forth method and countable dense linear orders ## Results Suppose `α β` are linear orders, with `α` countable and `β` dense, nonempty...
446ef9a4dee69a181c88242f1faf0ad6a90e6eec
1d335ec6ac4181a0a762b12797936770cc9fcef9
/expressions/classical_geometry.lean
859d77ea6c013b4242a49be281fab738456eaeec
[]
no_license
rohanrajnair/lang
dbadcc3997e44245ca84d48dc1733cf09a2605a6
3beb4e29d8faa692983a55fa18acb6eb947134e8
refs/heads/master
1,672,640,379,424
1,597,948,771,000
1,597,948,771,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
463
lean
import ...phys.src.classical_geometry namespace lang.classicalGeometry structure var : Type := mk :: (num : ℕ) def varEq : var → var → bool | v1 v2 := v1.num = v2.num -- implicit coercion here inductive expr | lit (s : classicalGeometry) : expr | var (v : var) : expr --| GeometricProduct (e1 e2 : classicalGeometr...
ea952ce661bd2f3e6c613d5d4d994309d5b7c6a7
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/tests/lean/interactive/config.lean
9a35fa712aa1f2a779ad4022a2483c318d790e17
[ "Apache-2.0" ]
permissive
codyroux/lean0.1
1ce92751d664aacff0529e139083304a7bbc8a71
0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef
refs/heads/master
1,610,830,535,062
1,402,150,480,000
1,402,150,480,000
19,588,851
2
0
null
null
null
null
UTF-8
Lean
false
false
103
lean
-- set_option default configuration for tests set_option pp::colors false set_option pp::unicode true
1ffd71d1896df84256d54e415a7ffe87a89aadc3
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/sites/induced_topology.lean
8c54a1624e1317105bbd714abe8df530d9d24d21
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
5,717
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 category_theory.sites.dense_subsite /-! # Induced Topology > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to math...
a38fb799be1930b0c377221f2ae79612cd2dd59b
88fb7558b0636ec6b181f2a548ac11ad3919f8a5
/library/init/data/nat/pow.lean
0f4979879fc0fcf766f2cfb7d2329312c64de56f
[ "Apache-2.0" ]
permissive
moritayasuaki/lean
9f666c323cb6fa1f31ac597d777914aed41e3b7a
ae96ebf6ee953088c235ff7ae0e8c95066ba8001
refs/heads/master
1,611,135,440,814
1,493,852,869,000
1,493,852,869,000
90,269,903
0
0
null
1,493,906,291,000
1,493,906,291,000
null
UTF-8
Lean
false
false
436
lean
/- Copyright (c) 2017 Galois Inc. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon exponentiation on natural numbers This is a work-in-progress -/ prelude import init.data.nat.basic init.meta namespace nat def pow (b : ℕ) : ℕ → ℕ | 0 := 1 | (succ n...
cb59b806c87170152048f5ea7d2bdef6168d1fa5
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/IO_test.lean
ba90095533f0a3e394b5263ca4d1ec71bbb136df
[ "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
2,961
lean
prelude import Init.System.IO import Init.Data.List.Control new_frontend open IO.FS instance : HasRepr UInt8 := ⟨ toString ⟩ def check_eq {α} [HasBeq α] [HasRepr α] (tag : String) (expected actual : α) : IO Unit := «unless» (expected == actual) $ throw $ IO.userError $ "assertion failure \"" ++ tag ++ "\":\n ...
c2f8cd475622da094fca3fbf9e8cc2bb4a2b25a3
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/metric_space/antilipschitz.lean
c1e657a6dd7c5d8ca632e8b20f91caff22d06b42
[]
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,293
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.metric_space.lipschitz import Mathlib.PostPort universes u_1 u_2 u_3 namespac...
95551c5a7101720ea45781dbdd1ae44951929060
947b78d97130d56365ae2ec264df196ce769371a
/stage0/src/Lean/Util/Path.lean
2c65b642d861d0a547cf718233756c43aef22b18
[ "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
3,416
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 Management of the Lean search path (`LEAN_PATH`), which is a list of paths containing package roots: an import `A.B.C` resolves to `path/A/...
5ecab4e554daf7a98022a1dee6c3dcc40aa560cf
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/analysis/normed_space/units.lean
a74dd44616bfa2cafdfce4611d78ddaa16f0914f
[ "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
3,398
lean
/- Copyright (c) 2020 Heather Macbeth. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Heather Macbeth -/ import analysis.specific_limits /-! # The group of units of a complete normed ring This file contains the basic theory for the group of units (invertible elements...
c252f47eb6c146aa16036782468a0b6bc5f6c023
4fa161becb8ce7378a709f5992a594764699e268
/src/topology/instances/ennreal.lean
b8cd8429a00af08f1b88a128ece1b5a215e40663
[ "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
38,823
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 -/ import topology.instances.nnreal /-! # Extended non-negative reals -/ noncomputable theory open classical set filter metric open_locale classical open_locale topologi...
54c0aee1160b0c3953a4ad1baa44caa34f618098
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebraic_geometry/locally_ringed_space.lean
99cc0267c1c1e7415bc7eb4212731a819bfd7b9a
[ "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
5,635
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 algebraic_geometry.sheafed_space import algebra.category.CommRing.limits import algebra.category.CommRing.colimits import algebraic_geometry.stalks import rin...
4a4e25cb3128dc85040c6593a001f61eb09b163c
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/437c.lean
e9dec6d67d1ac5bad02d717cb8c36aa90aaec2b3
[ "Apache-2.0" ]
permissive
leanprover-community/lean
12b87f69d92e614daea8bcc9d4de9a9ace089d0e
cce7990ea86a78bdb383e38ed7f9b5ba93c60ce0
refs/heads/master
1,687,508,156,644
1,684,951,104,000
1,684,951,104,000
169,960,991
457
107
Apache-2.0
1,686,744,372,000
1,549,790,268,000
C++
UTF-8
Lean
false
false
116
lean
example (a : ℕ) : true := begin have : ∀ n, n ≥ 0 → a ≤ a, { exact λ _ _, le_refl a }, trivial end
efc7789b91dfa26955a4181f1c65a69eed0e47d9
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/init/logic.lean
49746b59010f6b7d0bea0ab9f626c20562d46eae
[ "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
34,281
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad, Floris van Doorn -/ prelude import init.datatypes universe variables u v attribute [reducible] definition id {A : Type u} (a : A) : A := a /...
ad1fb850d634cc5cdced4e08d064952b72416d08
453dcd7c0d1ef170b0843a81d7d8caedc9741dce
/group_theory/coset.lean
9f943c09fa41046228325f47ba151d100d2ae4fa
[ "Apache-2.0" ]
permissive
amswerdlow/mathlib
9af77a1f08486d8fa059448ae2d97795bd12ec0c
27f96e30b9c9bf518341705c99d641c38638dfd0
refs/heads/master
1,585,200,953,598
1,534,275,532,000
1,534,275,532,000
144,564,700
0
0
null
1,534,156,197,000
1,534,156,197,000
null
UTF-8
Lean
false
false
8,184
lean
/- Copyright (c) 2018 Mitchell Rowett. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mitchell Rowett, Scott Morrison -/ import group_theory.subgroup data.equiv.basic data.quot open set function variable {α : Type*} def left_coset [has_mul α] (a : α) (s : set α) : se...
d228a7c9cc72addc398e5a621781fe0182ac65e1
968e2f50b755d3048175f176376eff7139e9df70
/examples/prop_logic_theory/unnamed_2674.lean
c92eaa6f43dbd33a599b70d98dfde37a7bf22255
[]
no_license
gihanmarasingha/mth1001_sphinx
190a003269ba5e54717b448302a27ca26e31d491
05126586cbf5786e521be1ea2ef5b4ba3c44e74a
refs/heads/master
1,672,913,933,677
1,604,516,583,000
1,604,516,583,000
309,245,750
1
0
null
null
null
null
UTF-8
Lean
false
false
790
lean
import logic.basic variables {p q : Prop} local attribute [instance] classical.prop_decidable namespace hidden -- BEGIN theorem not_imp_not : (¬q → ¬p) ↔ (p → q) := begin split, -- By iff intro., it suffices to prove 1. `¬q → ¬p → p → q` and 2. `p → q → ¬q → ¬p`. { intros h₁ h₂, -- Assume `h₁ : ¬q → ¬p`, `h₂ : p`. ...
d8b6c06489db97f92bd589f327e938e2482b69f7
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/cody2.lean
86cb26269a33838dcfaed242df136a03e7fe311e
[ "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
442
lean
import logic open eq definition subsets (P : Type) := P → Prop. section hypothesis A : Type. hypothesis r : A → subsets A. hypothesis i : subsets A → A. hypothesis retract {P : subsets A} {a : A} : r (i P) a = P a. definition delta (a:A) : Prop := ¬ (r a a). local notation `δ` := delta. theorem delta_aux : ¬ (δ...
7813879f8c79cffe6a773dd2cb193ce0424200ec
7c2dd01406c42053207061adb11703dc7ce0b5e5
/src/exercises/01_equality_rewriting.lean
c95d187003e38c3dd58904bb112c496d04fba96d
[ "Apache-2.0" ]
permissive
leanprover-community/tutorials
50ec79564cbf2ad1afd1ac43d8ee3c592c2883a8
79a6872a755c4ae0c2aca57e1adfdac38b1d8bb1
refs/heads/master
1,687,466,144,386
1,672,061,276,000
1,672,061,276,000
189,169,918
186
81
Apache-2.0
1,686,350,300,000
1,559,113,678,000
Lean
UTF-8
Lean
false
false
4,947
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...
f0d253480bd75b8a99ece7ec40ca866c6319e28b
4bcaca5dc83d49803f72b7b5920b75b6e7d9de2d
/stage0/src/Init/Data/Nat/Basic.lean
dd9205c92aea0fae8d4388b3fbbcaaa0a6c69941
[ "Apache-2.0" ]
permissive
subfish-zhou/leanprover-zh_CN.github.io
30b9fba9bd790720bd95764e61ae796697d2f603
8b2985d4a3d458ceda9361ac454c28168d920d3f
refs/heads/master
1,689,709,967,820
1,632,503,056,000
1,632,503,056,000
409,962,097
1
0
null
null
null
null
UTF-8
Lean
false
false
14,519
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.SimpLemmas universe u namespace Nat @[specialize] def foldAux {α : Type u} (f : Nat → α → α) (s : Nat) : Nat → α → α...
649585276f4d2e156bbf1adbf56e3a6eac1c7501
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Lean/Server/Rpc/RequestHandling.lean
61269d33d62a536e7ea9bf6b6db08978fc1e90aa
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
cipher1024/lean4
6e1f98bb58e7a92b28f5364eb38a14c8d0aae393
69114d3b50806264ef35b57394391c3e738a9822
refs/heads/master
1,642,227,983,603
1,642,011,696,000
1,642,011,696,000
228,607,691
0
0
Apache-2.0
1,576,584,269,000
1,576,584,268,000
null
UTF-8
Lean
false
false
2,789
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wojciech Nawrocki -/ import Lean.Data.Lsp.Extra import Lean.Server.Requests import Lean.Server.Rpc.Basic namespace Lean.Server private structure RpcProcedure where wrapper...
65169796e62c55feae46fa78d9c8c625ef8b4d3f
3dc4623269159d02a444fe898d33e8c7e7e9461b
/.github/workflows/geo/src/cartesian_closed.lean
d420a96ed633d0a927d1786359294f3bf0b42a96
[]
no_license
Or7ando/lean
cc003e6c41048eae7c34aa6bada51c9e9add9e66
d41169cf4e416a0d42092fb6bdc14131cee9dd15
refs/heads/master
1,650,600,589,722
1,587,262,906,000
1,587,262,906,000
255,387,160
0
0
null
null
null
null
UTF-8
Lean
false
false
10,908
lean
/- Copyright (c) 2020 Bhavik Mehta, Edward Ayers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta, Edward Ayers -/ import category_theory.limits.shapes.binary_products import category_theory.adjunction import adjunction import tactic import to_mathlib impo...
cd45df8c5c3e6b04ecda6300558357f8647dacf2
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/number_theory/multiplicity.lean
8231f6de58a9145842d891f3186df3266efc5c53
[ "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
17,630
lean
/- Copyright (c) 2022 Tian Chen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tian Chen, Mantas Bakšys -/ import algebra.geom_sum import data.int.parity import data.zmod.basic import number_theory.padics.padic_val import ring_theory.ideal.quotient_operations /-! # M...
4b082f057840286b42365bea4771652639d62cfc
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/nested_rec.lean
a248e4fb87ebc62c802759337aa7f440ee60daec
[ "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
1,263
lean
open nat prod sigma -- We will define the following example by well-foudned recursion -- g 0 := 0 -- g (succ x) := g (g x) definition g.F (x : nat) : (Π y, y < x → Σ r : nat, r ≤ y) → Σ r : nat, r ≤ x := nat.cases_on x (λ f, ⟨zero, nat.le_refl zero⟩) (λ x₁ (f : Π y, y < succ x₁ → Σ r : nat, r ≤ y), ...
7f134532115dd327609ecb24970d511302de8cdb
3f1a1d97c03bb24b55a1b9969bb4b3c619491d5a
/library/init/data/bool/lemmas.lean
35facc3a6b380ccc51847bf604d68edde36bf9a9
[ "Apache-2.0" ]
permissive
praveenmunagapati/lean
00c3b4496cef8e758396005013b9776bb82c4f56
fc760f57d20e0a486d14bc8a08d89147b60f530c
refs/heads/master
1,630,692,342,183
1,515,626,222,000
1,515,626,222,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,662
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.bool.basic init.meta attribute [simp] cond bor band bnot bxor @[simp] lemma {u} cond_a_a {α : Type u} (b : bool) (a : α) : cond b...
54acd03a848d2b5f6620ff632b3cfa5e6fca394d
07c76fbd96ea1786cc6392fa834be62643cea420
/library/init/reserved_notation.lean
9b8bf634cbcd2a3296ca095cfd39ab0b05d8d2c9
[ "Apache-2.0" ]
permissive
fpvandoorn/lean2
5a430a153b570bf70dc8526d06f18fc000a60ad9
0889cf65b7b3cebfb8831b8731d89c2453dd1e9f
refs/heads/master
1,592,036,508,364
1,545,093,958,000
1,545,093,958,000
75,436,854
0
0
null
1,480,718,780,000
1,480,718,780,000
null
UTF-8
Lean
false
false
7,794
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad, Floris van Doorn -/ prelude import init.datatypes notation `assume` binders `,` r:(scoped f, f) := r notation `take` binders `,` r:(scoped f...
13c0d7e130b50bf3636d65445dd9fb1cdf11bea2
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/data/fintype/basic.lean
09b5de12f8510fe2e237548ac7663221a7b23969
[ "Apache-2.0" ]
permissive
ayush1801/mathlib
78949b9f789f488148142221606bf15c02b960d2
ce164e28f262acbb3de6281b3b03660a9f744e3c
refs/heads/master
1,692,886,907,941
1,635,270,866,000
1,635,270,866,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
81,497
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.array.lemmas import data.finset.pi import data.finset.powerset import data.finset.option import data.sym.basic import data.ulift import group_theory.perm....
33d091e318682aced46e3329baf296d45da49e19
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/structured_arrow.lean
c709409c8d453d83e5b78149dbb4fc3fbb1c9fe5
[ "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
7,395
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Topaz, Scott Morrison -/ import category_theory.comma import category_theory.punit import category_theory.limits.shapes.terminal /-! # The category of "structured arrows" For `T...
305288e3d05616be3bed5cbdc4293b0a5b48c9ee
82e44445c70db0f03e30d7be725775f122d72f3e
/src/data/mv_polynomial/variables.lean
aa635e86fa2c312d822f311c80111a0895d81231
[ "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
23,126
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Johan Commelin, Mario Carneiro -/ import algebra.big_operators.order import data.mv_polynomial.monad import data.set.pairwise /-! # Degrees and variables of polynomial...
c0fda59803e845946aa44d580492a8a24279a018
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/category_theory/adjunction/limits.lean
3e6e4438e2693fb0473ffdccec7371964afd0eaa
[ "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
13,154
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Johan Commelin -/ import category_theory.adjunction.basic import category_theory.limits.creates /-! # Adjunctions and limits A left adjoint preserves colimits (`category_th...
ad947357ce2bfcc2798cebbecc39c9660a6a2c47
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/lean/run/121.lean
c85508e08b7dae394364896e2dbfbd56cafb509a
[ "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
227
lean
abbrev DelabM := Id abbrev Delab := DelabM Nat example : DelabM Nat := pure 1 -- works example : Delab := pure 1 -- works new_frontend example : DelabM Nat := pure 1 -- works example : Delab := pure 1 -- works
899945c7f1b1ec06111c85814d983d85e87079e1
f3849be5d845a1cb97680f0bbbe03b85518312f0
/library/init/wf.lean
0e288cab6183c74735ed09ba6ab6be0ef1dd9af6
[ "Apache-2.0" ]
permissive
bjoeris/lean
0ed95125d762b17bfcb54dad1f9721f953f92eeb
4e496b78d5e73545fa4f9a807155113d8e6b0561
refs/heads/master
1,611,251,218,281
1,495,337,658,000
1,495,337,658,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,086
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import init.data.nat.basic init.data.prod universes u v inductive acc {α : Type u} (r : α → α → Prop) : α → Prop | intro : ∀ x, (∀ y, r y x → acc y...
ba222b91036565818c35386b77f790c23d1465e9
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/nestedInductiveRecType.lean
af5ff378fe1a73e97b39c41ee51631f19d5e2f22
[ "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,990
lean
namespace Ex1 inductive T := | int : Int -> T | tuple : List T -> T @[reducible] def T.eval (t : T) : Type := @T.rec (motive_1 := fun _ => Type) (motive_2 := fun _ => Type) (fun _ => Int) (fun _ ih => ih) Unit (fun _ _ ih₁ ih₂ => ih₁ × ih₂) t @[reducible] def T.evalList (t : List T)...
1dab7068fd0a01ff7b7ae6e68a9e43ce7369222a
ff5230333a701471f46c57e8c115a073ebaaa448
/tests/lean/run/aexp.lean
ffd23647a5644c1ae37df7f321f997be77d6575f
[ "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,716
lean
namespace imp open tactic @[reducible] def uname := string inductive aexp | val : nat → aexp | var : uname → aexp | plus : aexp → aexp → aexp | times : aexp → aexp → aexp instance : decidable_eq aexp := by mk_dec_eq_instance @[reducible] def value := nat def state := uname → value open aexp def aval : aexp ...
aa129cc1b7c372306012eb3697f1ead8272269be
1446f520c1db37e157b631385707cc28a17a595e
/stage0/src/Init/Core.lean
4f15da8ad700007fd9e024dd218e4d34bcc1ad35
[ "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
61,832
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura notation, basic datatypes and type classes -/ prelude notation `Prop` := Sort 0 notation f ` $ `:1 a:0 := f a /- Logical operations and relations -/ reserv...
f451a71ab3a2f630e63c743cb27016cfaf44c822
00f20606b80ff481edcb3343798a879c6c568f6c
/M3P14/sheet1.lean
74d56494254ec3a093a993ce7d83cbc8abd1a201
[ "Apache-2.0" ]
permissive
SG4316/xena-UROP-2018
53c21afcc6909bde186e3d9b8e8bf4c888a5f32e
d20b155d317e210917e9ce88d91457a7c0f2efac
refs/heads/master
1,584,877,373,507
1,530,817,535,000
1,530,817,535,000
139,990,847
0
0
null
1,530,884,893,000
1,530,884,893,000
null
UTF-8
Lean
false
false
4,013
lean
import data.nat.gcd import data.nat.modeq import data.nat.prime import tactic.norm_num --import algebra.euclidean_domain namespace nat -- TODO: import mathlib -- TODO: change some theorem signatures from ℕ to ℤ (need to extend the definition of some gcd lemmas) -- Show that for a, b, d integers, we have (da, db) = d...
e1c1092fe9201e7c9674328b938cb420101f19e0
74caf7451c921a8d5ab9c6e2b828c9d0a35aae95
/tests/lean/run/xrewrite1.lean
4d176f231bda2944882d1c26cac4ba978e14bcf5
[ "Apache-2.0" ]
permissive
sakas--/lean
f37b6fad4fd4206f2891b89f0f8135f57921fc3f
570d9052820be1d6442a5cc58ece37397f8a9e4c
refs/heads/master
1,586,127,145,194
1,480,960,018,000
1,480,960,635,000
40,137,176
0
0
null
1,438,621,351,000
1,438,621,351,000
null
UTF-8
Lean
false
false
303
lean
open nat tactic constant zeroadd (a : nat) : 0 + a = a meta definition xrewrite (th_name : name) : tactic unit := do th ← mk_const th_name, rewrite_core semireducible tt occurrences.all ff th, try reflexivity example (a : nat) : (0 + a) + (0 + a) + (0 + a) = a + a + a := by xrewrite `zeroadd
ecae4d650f0055a562c600b60eb8b72803c45b5b
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/linear_algebra/ray.lean
503db73e8a277ac75e03e392c3e5d2626f042a5f
[ "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
26,543
lean
/- Copyright (c) 2021 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers -/ import group_theory.subgroup.actions import linear_algebra.linear_independent /-! # Rays in modules > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this fil...
ef79e854f46256793dbd0d08bf00edb11596926a
6b45072eb2b3db3ecaace2a7a0241ce81f815787
/algebra/lattice/fixed_points.lean
538e4a77faf9ad353b48c6b626f57a87873dc429
[]
no_license
avigad/library_dev
27b47257382667b5eb7e6476c4f5b0d685dd3ddc
9d8ac7c7798ca550874e90fed585caad030bbfac
refs/heads/master
1,610,452,468,791
1,500,712,839,000
1,500,713,478,000
69,311,142
1
0
null
1,474,942,903,000
1,474,942,902,000
null
UTF-8
Lean
false
false
4,457
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 Fixed point construction on complete lattices. -/ import .complete_lattice universes u v w variables {α : Type u} {β : Type v} {γ : Type w} lemma ge_of_eq [weak_orde...
45a86a29083f753cad1c7b73c3a7442e91e23c8a
a1179fa077c09acc49e4fbc8d67084ba89ac4f4c
/tutorials/src/solutions/00_first_proofs.lean
1fb0fb3bf2e4609d079480a0b5e8cf9d0e388f85
[]
no_license
Seeram/Lean-proof-assistant
11ca0ca0e0446bacdd1773c4c481a3653b2f1074
e672d46e0e5f39d8de2933ad4f4cac095ca6094f
refs/heads/master
1,682,754,224,366
1,620,959,431,000
1,620,959,431,000
299,000,950
0
1
null
1,620,680,462,000
1,601,200,258,000
Lean
UTF-8
Lean
false
false
18,055
lean
/- This file is intended for Lean beginners. The goal is to demonstrate what it feels like to prove things using Lean and mathlib. Complicated definitions and theory building are not covered. Everything is covered again more slowly and with exercises in the next files. -/ -- We want real numbers and their basic proper...
83bf880cefb09d4239f669595dcdc2e2dccf0fb8
aa101d73b1a3173c7ec56de02b96baa8ca64c42e
/src/exercises/05_sequence_limits.lean
116556e58610455ec445fcbcc2984a6e61566bc1
[ "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,893
lean
import data.real.basic import algebra.pi_instances import tuto_lib notation `|`x`|` := abs x /- In this file we manipulate the elementary definition of limits of sequences of real numbers. mathlib has a much more general definition of limits, but here we want to practice using the logical operators and relations cov...
62b916151f8d528af82e235b9b30d788af446544
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/test/elementwise.lean
ec94c57f84ca0a76ff54168969d64d265495f786
[ "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
1,821
lean
import algebra.category.Mon.basic import tactic.elementwise open category_theory universes w v u @[elementwise] lemma foo {C : Type u} [category.{v} C] {M N K : C} {f : M ⟶ N} {g : N ⟶ K} {h : M ⟶ K} (w : f ≫ g = h) : f ≫ 𝟙 N ≫ g = h := by simp [w] @[elementwise] lemma foo' {C : Type*} [category C] {M N K : C}...
a8bc9eb35e1727e85cc508f6f8c600c127952e0b
82e44445c70db0f03e30d7be725775f122d72f3e
/src/category_theory/subobject/factor_thru.lean
75d5ca9334817705cdcf93aa00b3093a5db532d3
[ "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
6,903
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta, Scott Morrison -/ import category_theory.subobject.basic /-! # Factoring through subobjects The predicate `h : P.factors f`, for `P : subobject Y` and `f : X ⟶ Y` asser...
ddd8960a2eadf9c1729563eb62a40f642024a0c9
80746c6dba6a866de5431094bf9f8f841b043d77
/src/topology/sequences.lean
8cda46c05ad1c5436224990f4f79cb1cc8418ce8
[ "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
10,549
lean
/- Copyright (c) 2018 Jan-David Salchow. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jan-David Salchow Sequences in topological spaces. In this file we define sequences in topological spaces and show how they are related to filters and the topology. In particular,...
0aa378f82fa318a2bf1c32ec59c54adfa2eccb17
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/tc_loop.lean
95b9df429915e70419123c7bce1e7f1070baa5bc
[ "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
304
lean
open tactic check (do { trace "foo", trace_state } : tactic unit) axiom Sorry {A : Type*} : A check λ (A : Type*) (a b c d : A) (H₁ : a = b) (H₂ : c = b) (H₃ : d = c), have a = c, by do { trace "have-expr...", trace_state, transitivity, assumption, symmetry, assumption }, show a = d, from Sorry
3a4886bc3168821e1282afb026e4d27b1ada6918
bb31430994044506fa42fd667e2d556327e18dfe
/src/algebra/module/equiv.lean
a9fc1ee36fbae97ba20b1fd8f40ebb1aad7f2350
[ "Apache-2.0" ]
permissive
sgouezel/mathlib
0cb4e5335a2ba189fa7af96d83a377f83270e503
00638177efd1b2534fc5269363ebf42a7871df9a
refs/heads/master
1,674,527,483,042
1,673,665,568,000
1,673,665,568,000
119,598,202
0
0
null
1,517,348,647,000
1,517,348,646,000
null
UTF-8
Lean
false
false
25,229
lean
/- Copyright (c) 2020 Anne Baanen. 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, Anne Baanen, Frédéric Dupuis, Heather Macbeth -/ import algebra.module.linear_map /-! # (Semi)linear equivalences In t...
fe40ec019f4ee477c5382dd0481739ecc5f80582
a726f88081e44db9edfd14d32cfe9c4393ee56a4
/src/game/world8/level7.lean
6b5152253e9caa589b036774915fcea35c6c2673
[]
no_license
b-mehta/natural_number_game
80451bf10277adc89a55dbe8581692c36d822462
9faf799d0ab48ecbc89b3d70babb65ba64beee3b
refs/heads/master
1,598,525,389,186
1,573,516,674,000
1,573,516,674,000
217,339,684
0
0
null
1,571,933,100,000
1,571,933,099,000
null
UTF-8
Lean
false
false
641
lean
import game.world8.level6 -- hide namespace mynat -- hide /- # Advanced Addition World ## Level 7: `add_right_cancel_iff` It's sometimes convenient to have the "if and only if" version of theorems like `add_right_cancel`. Remember that you can use `split` to split an `↔` goal into the `→` goal and the `←` goal. -/ ...
b27411139f894b2a15b31b956eb74bcc1e1de278
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/pfunctor/multivariate/W.lean
0db36a3207b4cc86cfbece9bf43a336b66bd1268
[]
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
11,903
lean
/- Copyright (c) 2018 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad, Simon Hudon -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.pfunctor.multivariate.basic import Mathlib.PostPort universes u l u_1 u_2 ...
312c76b426702f700037a1ff268147e2313f443c
63abd62053d479eae5abf4951554e1064a4c45b4
/src/measure_theory/category/Meas.lean
328dfac331bb7754dd1b30d978524d085eec5d90
[ "Apache-2.0" ]
permissive
Lix0120/mathlib
0020745240315ed0e517cbf32e738d8f9811dd80
e14c37827456fc6707f31b4d1d16f1f3a3205e91
refs/heads/master
1,673,102,855,024
1,604,151,044,000
1,604,151,044,000
308,930,245
0
0
Apache-2.0
1,604,164,710,000
1,604,163,547,000
null
UTF-8
Lean
false
false
4,264
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import topology.category.Top.basic import measure_theory.giry_monad import category_theory.monad.algebra /- * Meas, the category of measurable spaces Measurable spa...
69ef8d7beb38644fb4a267f86c4f99d01c9a9177
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/tactic/monotonicity/basic.lean
c613c21aae897b1ed0fb934ca19beda019f21c88
[ "Apache-2.0" ]
permissive
AntoineChambert-Loir/mathlib
64aabb896129885f12296a799818061bc90da1ff
07be904260ab6e36a5769680b6012f03a4727134
refs/heads/master
1,693,187,631,771
1,636,719,886,000
1,636,719,886,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,531
lean
/- Copyright (c) 2019 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import order.bounded_lattice namespace tactic.interactive open tactic list open lean lean.parser interactive open interactive.types @[derive inhabited] structure mono_cfg...
8a84cafd58fbdb991b41ffd2c2da12ba38f71eda
367134ba5a65885e863bdc4507601606690974c1
/src/group_theory/perm/sign.lean
4384b04c363de678cfeac22cb091b7e5b4a94a6f
[ "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
33,769
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 data.fintype.basic import data.finset.sort import group_theory.perm.basic import group_theory.order_of_element import tactic.norm_swap /-! # Sign of a permutation...
2bc9d41efdde35db96186f122dd5ceed8b2d673b
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/ring_theory/nullstellensatz.lean
b0dfe0bff6d209d545c07877fd56fd3edb6078dc
[]
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,646
lean
/- Copyright (c) 2021 Devon Tuma. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Devon Tuma -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.ring_theory.jacobson import Mathlib.field_theory.algebraic_closure import Mathlib.field_theory.mv_p...
2016ce6cf73ca368b52694b3ee6c6df643353a07
c777c32c8e484e195053731103c5e52af26a25d1
/src/combinatorics/set_family/compression/uv.lean
cec8c3800f4bb337bb3e58d6971be2bb339b58e6
[ "Apache-2.0" ]
permissive
kbuzzard/mathlib
2ff9e85dfe2a46f4b291927f983afec17e946eb8
58537299e922f9c77df76cb613910914a479c1f7
refs/heads/master
1,685,313,702,744
1,683,974,212,000
1,683,974,212,000
128,185,277
1
0
null
1,522,920,600,000
1,522,920,600,000
null
UTF-8
Lean
false
false
9,011
lean
/- Copyright (c) 2021 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies, Bhavik Mehta -/ import data.finset.card /-! # UV-compressions > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to mathlib4...