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
a3453061eed2d38869350ff0fd4fb7349dfe3d03
54d7e71c3616d331b2ec3845d31deb08f3ff1dea
/tests/lean/run/quote_bas.lean
ccef44518dfc0fa93e6ff57fd96a6c0f83bfd3e6
[ "Apache-2.0" ]
permissive
pachugupta/lean
6f3305c4292288311cc4ab4550060b17d49ffb1d
0d02136a09ac4cf27b5c88361750e38e1f485a1a
refs/heads/master
1,611,110,653,606
1,493,130,117,000
1,493,167,649,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,530
lean
universes u v w namespace quote_bas inductive Expr (V : Type u) | One {} : Expr | Var (v : V) : Expr | Mult (a b : Expr) : Expr @[reducible] def Value := nat def Env (V : Type u) := V → Value open Expr def evalExpr {V} (vs : Env V) : Expr V → Value | One := 1 | (Var v) := vs v | (Mult a ...
b4825247e7abc7d1f1a8e5cb33c640b26360fdcf
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/order/kleene.lean
ed2ef7a143c8ef30f8212c9d28580578f0c41f21
[ "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,910
lean
/- Copyright (c) 2022 Siddhartha Prasad, Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Siddhartha Prasad, Yaël Dillies -/ import algebra.order.ring.canonical import algebra.ring.pi import algebra.ring.prod import order.hom.complete_lattice /-! # Kleene ...
3401676ab42fe9bb46b63180513bf32a00422c5c
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/order/rel_iso.lean
16c7ecbe6a835cf0f07db4358fd2a4c233c85be9
[ "Apache-2.0" ]
permissive
hamdysalah1/mathlib
b915f86b2503feeae268de369f1b16932321f097
95454452f6b3569bf967d35aab8d852b1ddf8017
refs/heads/master
1,677,154,116,545
1,611,797,994,000
1,611,797,994,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
29,400
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import logic.embedding import order.rel_classes import data.set.intervals.basic open function universes u v w variables {α : Type*} {β : Type*} {γ : Type*} {r : α...
3b42a9c1308a4407d54c663a870e7b50f0f56424
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/data/pequiv.lean
558c23baab78be144aa07be20521774683eaecc5
[ "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,735
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.equiv.basic data.set.lattice tactic.tauto universes u v w x /-- A `pequiv` is a partial equivalence, a representation of a bijection between a subset of ...
776466101b7857cc18b61dd70f86db503243c5dc
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/number_theory/class_number/admissible_abs.lean
53bff2817009c5feaf186fa548aba993b16939ab
[ "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
2,566
lean
/- Copyright (c) 2021 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import algebra.algebra.basic import number_theory.class_number.admissible_absolute_value /-! # Admissible absolute value on the integers This file defines an admissible ab...
c2986dddaea982f3bdb116fc2ec61532f10d9fff
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/number_theory/bernoulli_polynomials.lean
47398b8ea4b48361a48eac173ff8f4c93c3e05ca
[ "Apache-2.0" ]
permissive
troyjlee/mathlib
e18d4b8026e32062ab9e89bc3b003a5d1cfec3f5
45e7eb8447555247246e3fe91c87066506c14875
refs/heads/master
1,689,248,035,046
1,629,470,528,000
1,629,470,528,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,088
lean
/- Copyright (c) 2021 Ashvni Narayanan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ashvni Narayanan -/ import number_theory.bernoulli /-! # Bernoulli polynomials The Bernoulli polynomials (defined here : https://en.wikipedia.org/wiki/Bernoulli_polynomials) are a...
30d9735079a4852e689f7c0bf4830e02fe8a3eb7
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/limits/shapes/wide_pullbacks.lean
03cec603eb75f801588ba0d1ba507d5cafae554e
[ "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
16,944
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta, Jakob von Raumer -/ import category_theory.limits.has_limits import category_theory.thin /-! # Wide pullbacks > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to ...
2e429baceb7231d1d2234d9d608bdbe41f69494b
0845ae2ca02071debcfd4ac24be871236c01784f
/tests/bench/rbmap2.lean
b90acd7802728e26ea0372f2bbf1ac5c9e1943be
[ "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
2,899
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.ordering.basic init.coe init.data.option.basic init.io universes u v w w' inductive color | Red | Black inductive Tree | Leaf {...
9513a7e2f9202f6bd34475a5f7ab597f3664f7b8
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/ring_theory/matrix_algebra.lean
63221f7c909f7b950c746aa9c7decb6497d5be3a
[ "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
6,718
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 ring_theory.tensor_product /-! We provide the `R`-algebra structure on `matrix n n A` when `A` is an `R`-algebra, and show `matrix n n A ≃ₐ[R] (A ⊗[R] matrix ...
9d3fbc747adac3ac5ae0f01a3090392c3b819063
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/record10.lean
00aa05c003b264cb10d628ceac1dc8f3697e6eb8
[ "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
578
lean
import logic structure semigroup [class] (A : Type) extends has_mul A := (assoc : ∀ a b c, mul (mul a b) c = mul a (mul b c)) print prefix semigroup print "=======================" structure has_two_muls [class] (A : Type) extends has_mul A renaming mul→mul1, private has_mu...
30a68e50d58a1a9062e03731ef6fdde1fcb8be76
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/bench/rbmap2.lean
6a1d928574c438eb548c54b18761b0beb0c62d29
[ "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,897
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.coe init.data.option.basic init.system.io universe u v w w' inductive color | Red | Black inductive Tree | Leaf {} ...
82a193bafa4ec4841d2d92032a59560cf9fdf7bd
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/group_theory/perm/cycles.lean
c0ee3a842d274433289499a6be012f5250fab3df
[ "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
40,508
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.nat.parity import data.equiv.fintype import group_theory.perm.sign import data.finset.noncomm_prod /-! # Cyclic permutations ## Main definitions In the foll...
a7d2e90c02731206cd993b90442d9f41571dcb17
fe84e287c662151bb313504482b218a503b972f3
/src/commutative_algebra/bool_field.lean
520fd3ffa2cf9f9fb40a0fa786112e20debe096b
[]
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
942
lean
import algebra.field.basic instance : field bool := { zero := ff, one := tt, neg := id, inv := id, add := bxor, mul := band, zero_add := by { repeat { rintro ⟨_⟩ }; refl }, add_zero := by { repeat { rintro ⟨_⟩ }; refl }, one_mul := by { repeat { rintro ⟨_⟩ }; refl }, mul_one := b...
28e4ccff6cbb07f469465e7897d78e7b46cacc29
07c76fbd96ea1786cc6392fa834be62643cea420
/hott/algebra/category/functor/adjoint2.hlean
475924dba435f4352a6734a293fc7c738258ce24
[ "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
1,556
hlean
import .equivalence open eq functor nat_trans prod prod.ops namespace category variables {C D E : Precategory} (F : C ⇒ D) (G : D ⇒ C) (H : D ≅c E) /- definition adjoint_compose [constructor] (K : F ⊣ G) : H ∘f F ⊣ G ∘f H⁻¹ᴱ := begin fconstructor, { fapply change_natural_map, { exact calc ...
e8c14467de5032529346ef07850a83a7b4d6fef5
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/st_options.lean
f981d9a6ca24dab962d4c8251ba10af5dd9964a9
[ "Apache-2.0" ]
permissive
soonhokong/lean-osx
4a954262c780e404c1369d6c06516161d07fcb40
3670278342d2f4faa49d95b46d86642d7875b47c
refs/heads/master
1,611,410,334,552
1,474,425,686,000
1,474,425,686,000
12,043,103
5
1
null
null
null
null
UTF-8
Lean
false
false
2,498
lean
structure [class] semigroup (A : Type*) extends has_mul A := (mul_assoc : ∀a b c, mul (mul a b) c = mul a (mul b c)) structure [class] comm_semigroup (A : Type*) extends semigroup A := (mul_comm : ∀a b, mul a b = mul b a) structure [class] left_cancel_semigroup (A : Type*) extends semigroup A := (mul_left_cancel : ∀a...
9fcc8d15422058a71f8fb1fc077ba713d691c833
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/analysis/special_functions/trigonometric/arctan_deriv.lean
80962df871ee936997c3d4738cb439f4bdad8c09
[ "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
7,635
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.arctan import analysis.special_functions.trigonometric....
3f8d61d3e88e8cebdbdab9ac5a5ca63aed188dfd
8b9f17008684d796c8022dab552e42f0cb6fb347
/hott/hit/colimit.hlean
3ee947f81d1e98682be002f15751d6a336c2cbbe
[ "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
6,009
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: hit.colimit Authors: Floris van Doorn Definition of general colimits and sequential colimits. -/ /- definition of a general colimit -/ open eq nat type_quotient sigma equiv namesp...
480209021cc5ce36d34e7dde8ea114d2ce65d74a
4727251e0cd73359b15b664c3170e5d754078599
/src/linear_algebra/coevaluation.lean
32dcc3dd480c5901b2b2ce8f4715c2f4c24dba6f
[ "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
4,156
lean
/- Copyright (c) 2021 Jakob von Raumer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jakob von Raumer -/ import linear_algebra.contraction import linear_algebra.finite_dimensional import linear_algebra.dual /-! # The coevaluation map on finite dimensional vector spa...
bead80dc819e4683b39caf5fb6d162997e566cb0
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/limits/shapes/wide_equalizers.lean
552590841f4630502b3e2f22dc5de7944c32d7f0
[ "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
27,879
lean
/- Copyright (c) 2021 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta -/ import category_theory.epi_mono import category_theory.limits.has_limits import category_theory.limits.shapes.equalizers /-! # Wide equalizers and wide coequalizers Thi...
bdcf3c44e905e828e1d15256aa48b95212178bd2
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/group/opposite.lean
11891aa81b4159c1ab1aabd6dac7ce96c1f5d022
[ "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
23,678
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import algebra.group.inj_surj import algebra.group.commute import algebra.hom.equiv.basic import algebra.opposites import data.int.cast.defs /-! # Group structures on the mult...
e0d002241a237e4307a7efb324fe970e03a8ac44
5c4b17dae42fab1d4f493f3b52977bffa54fefea
/2-vec-matrix.lean
266e6c381621705e0f844a8a48077d9dad162fc9
[]
no_license
hyponymous/theorem-proving-in-lean-solutions
9214cb45cc87347862fd17dfdea79fdf24b9df92
a95320ae81c90c1b15da04574602cd378794400d
refs/heads/master
1,585,777,733,214
1,541,039,359,000
1,541,039,359,000
153,676,525
2
0
null
null
null
null
UTF-8
Lean
false
false
1,880
lean
universe u constant vec : Type u → ℕ → Type u namespace vec constant empty : Π α : Type u, vec α 0 constant cons : Π {α : Type u} {n : ℕ}, α → vec α n → vec α (n + 1) constant append : Π {α : Type u} {n m : ℕ}, vec α m → vec α n → vec α (n + m) end vec #check vec -- Above, we used the example vec α n ...
a251400f6a838b04b1bf9874cb4511cd82f32de3
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/rat/floor.lean
01eb966c96aaf71adc49deb4c97860428c4e3d5d
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
6,421
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, Mario Carneiro, Kevin Kappelmann -/ import algebra.floor import tactic.field_simp /-! # Floor Function for Rational Numbers ## Summary We define the `floor` function...
e658c1433097a6f83ddac93aa7a0633c28bcaf78
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/inlineLoop.lean
514bfe9d766a284e3bbd22e7cf20bce8888ccf3b
[ "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
396
lean
namespace Test1 mutual partial def f (a : Nat) : Nat := g a partial def g (a : Nat) : Nat := f a end end Test1 namespace Test2 mutual @[inline] partial def f (a : Nat) : Nat := g a + g a + g a + g a @[inline] partial def g (a : Nat) : Nat := f a + f a + f a + f a end end Test2 namespace Test3 parti...
55cee33faca8ca8c7a702433d3fa3b3c455b7d2a
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/match_fun.lean
5e9b9006309659270eb22eeeb8efaaf1a1069faf
[ "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
441
lean
open bool nat definition foo (b : bool) : nat → nat := match b with | tt := λ x : nat, zero | ff := λ y : nat, (succ zero) end example : foo tt 1 = zero := rfl example : foo ff 1 = 1 := rfl definition zero_fn := λ x : nat, zero definition foo2 : bool → nat → nat | foo2 tt := succ | foo2 ff := zero_fn example : fo...
44a209747a7956e5b98315107db65418d0550a87
4727251e0cd73359b15b664c3170e5d754078599
/src/algebraic_geometry/EllipticCurve.lean
b7eab79cba7a8779851adab99065a1c41af3bcd8
[ "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
4,006
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 data.rat.basic import tactic.norm_num /-! # The category of elliptic curves (over a field or a PID) We give a working definition of elliptic curves which is m...
4864e67c80955bf2d22819f3676afe4dd9bd5d65
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Compiler/LCNF/OtherDecl.lean
560ed28834aeb5a96a53671c940aede6b9c5d578
[ "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
610
lean
/- Copyright (c) 2022 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Compiler.LCNF.BaseTypes import Lean.Compiler.LCNF.MonoTypes namespace Lean.Compiler.LCNF /-- Return the LCNF type for constructors, inductive ...
0d64ce49ec604a8f9255b77360c30c17b9ab95fd
fecda8e6b848337561d6467a1e30cf23176d6ad0
/src/data/list/basic.lean
46ae32be6ffa547df20dc80980f28feb0fc16ce8
[ "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
161,235
lean
/- Copyright (c) 2014 Parikshit Khanna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Mario Carneiro -/ import algebra.order_functions import control.monad.basic import data.nat.choose.basic import ...
e74c3c6d26797cc97cc390a3999dc96dd63fd690
86f6f4f8d827a196a32bfc646234b73328aeb306
/examples/logic/unnamed_1636.lean
76e5940c1cd6268d5ec05e92b2dfbab8cd251663
[]
no_license
jamescheuk91/mathematics_in_lean
09f1f87d2b0dce53464ff0cbe592c568ff59cf5e
4452499264e2975bca2f42565c0925506ba5dda3
refs/heads/master
1,679,716,410,967
1,613,957,947,000
1,613,957,947,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
430
lean
import data.real.basic import data.nat.prime open nat -- BEGIN example : ∃ x : ℝ, 2 < x ∧ x < 4 := begin use 5 / 2, split; norm_num end example : ∃ m n : ℕ, 4 < m ∧ m < n ∧ n < 10 ∧ prime m ∧ prime n := begin use [5, 7], norm_num end example {x y : ℝ} : x ≤ y ∧ x ≠ y → x ≤ y ∧ ¬ y ≤ x := begin rintros ⟨...
19b05bf9b41c56261649c2f493ce2bee567f8206
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/1113.lean
f4036fd1e3a3b18caf3c6efb956ec7a3ce24f9b1
[ "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
334
lean
def foo: {n: Nat} → Fin n → Nat | 0, _ => 0 | n+1, _ => 0 theorem t3 {f: Fin (n+1)}: foo f = 0 := by simp only [←Nat.succ_eq_add_one n] at f trace_state simp only [←Nat.succ_eq_add_one n, foo] example {n: Nat} {f: Fin (n+1)}: foo f = 0 := by revert f rw[←Nat.succ_eq_add_one n] intro f simp only [f...
374ba35e4bb84ddfb7dd40d6fcf4344415af8a88
7cef822f3b952965621309e88eadf618da0c8ae9
/src/order/bounded_lattice.lean
14fd9cd67bfc4427f3bff4ca16b30d4b047d4172
[ "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
29,323
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 Defines bounded lattice type class hierarchy. Includes the Prop and fun instances. -/ import order.lattice data.option.basic tactic.pi_instances set_option ol...
1b6e817606b748ad8e1086ee4aed8f4dda83243b
fffbc47930dc6615e66ece42324ce57a21d5b64b
/src/category_theory/types.lean
8925f61814404cff2d354c1a1c4f9df4dec4c4c4
[ "Apache-2.0" ]
permissive
skbaek/mathlib
3caae8ae413c66862293a95fd2fbada3647b1228
f25340175631cdc85ad768a262433f968d0d6450
refs/heads/master
1,588,130,123,636
1,558,287,609,000
1,558,287,609,000
160,935,713
0
0
Apache-2.0
1,544,271,146,000
1,544,271,146,000
null
UTF-8
Lean
false
false
4,399
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Stephen Morgan, Scott Morrison, Johannes Hölzl import category_theory.functor_category import category_theory.fully_faithful import data.equiv.basic namespace category_theory ...
f19240de38e2297d81944d8603077a57f3775e78
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/import_invalid_tk.lean
5ff4c774c4ac01c08544d35e37951c29b0f14b9e
[ "Apache-2.0" ]
permissive
bre7k30/lean
de893411bcfa7b3c5572e61b9e1c52951b310aa4
5a924699d076dab1bd5af23a8f910b433e598d7a
refs/heads/master
1,610,900,145,817
1,488,006,845,000
1,488,006,845,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
39
lean
import data.bitvec 0b311 print bitvec
049d5a6c3a7e5bcf045809a7d10190a858ebf173
c777c32c8e484e195053731103c5e52af26a25d1
/src/topology/continuous_function/bounded.lean
7207cb70e936d629751ef6d2333565b9cc93451a
[ "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
60,484
lean
/- Copyright (c) 2018 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel, Mario Carneiro, Yury Kudryashov, Heather Macbeth -/ import analysis.normed.order.lattice import analysis.normed_space.operator_norm import analysis.normed_space.s...
228445ce5ee2082f82a2c7d1254e4fca6f406b3f
618003631150032a5676f229d13a079ac875ff77
/test/simps.lean
449306e006d76c77725b01b96188863c6d1f841b
[ "Apache-2.0" ]
permissive
awainverse/mathlib
939b68c8486df66cfda64d327ad3d9165248c777
ea76bd8f3ca0a8bf0a166a06a475b10663dec44a
refs/heads/master
1,659,592,962,036
1,590,987,592,000
1,590,987,592,000
268,436,019
1
0
Apache-2.0
1,590,990,500,000
1,590,990,500,000
null
UTF-8
Lean
false
false
7,328
lean
import tactic.simps open function tactic expr structure equiv (α : Sort*) (β : Sort*) := (to_fun : α → β) (inv_fun : β → α) (left_inv : left_inverse inv_fun to_fun) (right_inv : right_inverse inv_fun to_fun) infix ` ≃ `:25 := equiv namespace foo @[simps] protected def rfl {α} : α ≃ α := ⟨id, λ x, x, λ x, rfl,...
4d55e0439d1db754619888351ff3f816d6008c5b
217bb195841a8be2d1b4edd2084d6b69ccd62f50
/library/init/lean/compiler/default.lean
d30910f3a6eb854fcea14ccc01b787132edeb8a6
[ "Apache-2.0" ]
permissive
frank-lesser/lean4
717f56c9bacd5bf3a67542d2f5cea721d4743a30
79e2abe33f73162f773ea731265e456dbfe822f9
refs/heads/master
1,589,741,267,933
1,556,424,200,000
1,556,424,281,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
211
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.lean.compiler.constfolding
7025f1a5899b09a8349b281a725bbc0775efad1f
f618aea02cb4104ad34ecf3b9713065cc0d06103
/src/algebra/archimedean.lean
d6ac88f7e0aeef9a037947b4bc7bd2e8d9af9ae1
[ "Apache-2.0" ]
permissive
joehendrix/mathlib
84b6603f6be88a7e4d62f5b1b0cbb523bb82b9a5
c15eab34ad754f9ecd738525cb8b5a870e834ddc
refs/heads/master
1,589,606,591,630
1,555,946,393,000
1,555,946,393,000
182,813,854
0
0
null
1,555,946,309,000
1,555,946,308,000
null
UTF-8
Lean
false
false
15,912
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro Archimedean groups and fields. -/ import algebra.group_power algebra.field_power import data.rat tactic.linarith tactic.abel local attribute [instance, priority 0] nat...
d2dc6aa81282fcdf0c1ef25ff0bff5fb01c3d15d
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/topology/metric_space/holder.lean
32aff15a77245517ec6046b9d7bf301efe1f4a5a
[ "Apache-2.0" ]
permissive
troyjlee/mathlib
e18d4b8026e32062ab9e89bc3b003a5d1cfec3f5
45e7eb8447555247246e3fe91c87066506c14875
refs/heads/master
1,689,248,035,046
1,629,470,528,000
1,629,470,528,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,701
lean
/- Copyright (c) 2021 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import topology.metric_space.lipschitz import analysis.special_functions.pow /-! # Hölder continuous functions In this file we define Hölder continuity on a...
6c8b0f06ece3a913ef89fa366f75114854b9508d
b7f22e51856f4989b970961f794f1c435f9b8f78
/library/algebra/ring_bigops.lean
de64b7963fea65e39bbb23b199bf2b3497332e0d
[ "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
6,051
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad Properties of finite sums and products in various structures, including ordered rings and fields. There are two versions of every theorem: one for finsets, and one for fin...
7ea87b6e4601e7a7c82bf38b40e53b1508040a99
1b8f093752ba748c5ca0083afef2959aaa7dace5
/src/category_theory/examples/graphs.lean
06872140305927b2dd5d328ac667e5a13537d896
[]
no_license
khoek/lean-category-theory
7ec4cda9cc64a5a4ffeb84712ac7d020dbbba386
63dcb598e9270a3e8b56d1769eb4f825a177cd95
refs/heads/master
1,585,251,725,759
1,539,344,445,000
1,539,344,445,000
145,281,070
0
0
null
1,534,662,376,000
1,534,662,376,000
null
UTF-8
Lean
false
false
1,291
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison import category_theory.category import category_theory.graphs open category_theory open category_theory.graphs namespace category_theory.examples.graphs univer...
c19cbc61105248b11ad2ff4e1c1aa0cf26766922
5bf112cf7101c6c6303dc3fd0b3179c860e61e56
/lean/problems/number_theory/imo_2018_sl.lean
ba2a2f19cc71775adf990678fa2ea1accfdc2f1a
[ "Apache-2.0" ]
permissive
fredfeng/formal-encoding
7ab645f49a553dfad2af03fcb4289e40fc679759
024efcf58672ac6b817caa10dfe8cd9708b07f1b
refs/heads/master
1,597,236,551,123
1,568,832,149,000
1,568,832,149,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,229
lean
import background namespace IMOGrandChallenge namespace Problems namespace NumberTheory def IMO_2018_SL_N1 : Type := -- note: assuming divisors returns a multiset (list would do as well) determine $ λ (nk : ℕgt0 × ℕgt0) => match nk with | n, k => n ≠ k ∧ ∃ (s : ℕgt0), |divisors (s * n)| = |div...
f68147e922ccc102ffe88e31c6674f7bced98c41
d436468d80b739ba7e06843c4d0d2070e43448e5
/src/data/setoid.lean
0824a600abe271cc794ef1e2db50d134f418a7d0
[ "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
24,295
lean
/- Copyright (c) 2019 Amelia Livingston. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Amelia Livingston, Bryan Gin-ge Chen -/ import data.quot data.set.lattice data.fintype order.galois_connection /-! # Equivalence relations The first section of the file defines t...
b176a9757af09ef2d988038fff84cac0abf01db2
618003631150032a5676f229d13a079ac875ff77
/src/set_theory/ordinal.lean
f01b8bd1387fa1ce015a37c1843b5b07d40856f6
[ "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
138,183
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import set_theory.cardinal /-! # Ordinal arithmetic Ordinals are defined as equivalences of well-ordered sets by order isomorphism. -/ noncomputable theory open fu...
851ac14511f4f3241b64df65f16da5937ef895ae
4fa161becb8ce7378a709f5992a594764699e268
/src/data/real/basic.lean
1d7d5ea697ef42e51de0ea0dc5ddfb3c454f2180
[ "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
26,549
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Floris van Doorn The (classical) real numbers ℝ. This is a direct construction from Cauchy sequences. -/ import order.conditionally_complete_lattice import data.real.c...
439b9d43a018b02adde5816de202c67681bd4554
2f291cee459e0e7f5af2abd1034c11b969936560
/src/faulhaber_with_power_series.lean
676e890bfaa291e403d13a75cc1f6a50c10cd08c
[]
no_license
mo271/faulhaber
be5a22e717f59b5a0a5b1f1e1acf61ff768c5400
2e39d9cb7bc6fc400a818b2581ee921d41a7871a
refs/heads/master
1,678,216,700,259
1,613,991,672,000
1,613,991,672,000
338,251,172
1
0
null
null
null
null
UTF-8
Lean
false
false
24,373
lean
import tactic import data.nat.prime import data.nat.parity import algebra.divisibility import algebra.big_operators import data.set.finite import number_theory.bernoulli import data.finset import data.finset.basic import data.nat.basic import data.finset.nat_antidiagonal import ring_theory.power_series.basic open pow...
b521737b9c83a9c1e01fe54461c94dba2d7cd93e
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/data/equiv/mul_add.lean
006f3da6b67284e64d5a649a5016e5885042bc53
[ "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
9,211
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Callum Sutton, Yury Kudryashov -/ import data.equiv.basic algebra.group.hom deprecated.group /-! # Multiplicative and additive equivs In this file we define two exte...
5e5d82dfed0c2fcb0482ffb0fde8a56265e49269
abd85493667895c57a7507870867b28124b3998f
/src/linear_algebra/affine_space.lean
0f0dad89f7b567c277a53d474aea68cf1a7e1ed1
[ "Apache-2.0" ]
permissive
pechersky/mathlib
d56eef16bddb0bfc8bc552b05b7270aff5944393
f1df14c2214ee114c9738e733efd5de174deb95d
refs/heads/master
1,666,714,392,571
1,591,747,567,000
1,591,747,567,000
270,557,274
0
0
Apache-2.0
1,591,597,975,000
1,591,597,974,000
null
UTF-8
Lean
false
false
11,163
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Joseph Myers. -/ import algebra.add_torsor import linear_algebra.basis noncomputable theory /-! # Affine spaces This file defines affine spaces (over modules) and subspaces, affine map...
0c0351c8cbced4b78c9789a575a66660ce78f6a9
bb31430994044506fa42fd667e2d556327e18dfe
/src/group_theory/quotient_group.lean
14fc5da61645ddeea18b25e9435f99ac0f403ee6
[ "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
23,662
lean
/- Copyright (c) 2018 Kevin Buzzard, Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, Patrick Massot This file is to a certain extent based on `quotient_module.lean` by Johannes Hölzl. -/ import group_theory.congruence import group_theory....
fa89dd98810ea8c231c7f6332fdb3e67bf7f3e41
ed27983dd289b3bcad416f0b1927105d6ef19db8
/src/inClassNotes/higherOrderFunctions/option_mapTest.lean
4281f02edc2e8d7c761dc81bef95666a493aa1b3
[]
no_license
liuxin-James/complogic-s21
0d55b76dbe25024473d31d98b5b83655c365f811
13e03e0114626643b44015c654151fb651603486
refs/heads/master
1,681,109,264,463
1,618,848,261,000
1,618,848,261,000
337,599,491
0
0
null
1,613,141,619,000
1,612,925,555,000
null
UTF-8
Lean
false
false
477
lean
import ..type_library.option namespace hidden -- concrete example def map_option_nat_nat : (nat → nat) → (option nat) → option nat | f option.none := option.none | f (option.some v) := option.some (f v) -- API, general case universes u₁ u₂ #check option def map_option {α : Type u₁} {β : Type u...
eb7695307fe64a8134ce2b831e46d27b6f33ad43
dc253be9829b840f15d96d986e0c13520b085033
/archive/smash_assoc.hlean
c056ca6e7d61fa58b753a0de89d3fb154235f25f
[ "Apache-2.0" ]
permissive
cmu-phil/Spectral
4ce68e5c1ef2a812ffda5260e9f09f41b85ae0ea
3b078f5f1de251637decf04bd3fc8aa01930a6b3
refs/heads/master
1,685,119,195,535
1,684,169,772,000
1,684,169,772,000
46,450,197
42
13
null
1,505,516,767,000
1,447,883,921,000
Lean
UTF-8
Lean
false
false
24,031
hlean
-- Authors: Floris van Doorn -- In collaboration with Stefano, Robin import ..homotopy.smash homotopy.red_susp open bool pointed eq equiv is_equiv sum bool prod unit circle cofiber prod.ops wedge is_trunc function red_susp unit sigma exit namespace smash variables {A B C : Type*} open pushout definition...
88b08a613b81a4b7404a71e14764b0c48c11a167
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/blast_unit_edges.lean
8de83de11450d7ddc47956456eb240202cf0cd47
[ "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
657
lean
-- Testing all possible cases of [unit_action] set_option blast.strategy "unit" universes l1 l2 variables {A B C : Prop} variables {X : Type.{l1}} {Y : Type.{l2}} variables {P : Y → Prop} -- Types as antecedents example (H : X → A) (x : X) : A := by blast example (H : X → A → B) (x : X) (nb : ¬ B) : ¬ A := by blast e...
4fd13029e999301cc44d771dc0f825cef331c56a
b147e1312077cdcfea8e6756207b3fa538982e12
/analysis/topology/topological_structures.lean
e772685d1faae62a0b57536103bc34544153e077
[ "Apache-2.0" ]
permissive
SzJS/mathlib
07836ee708ca27cd18347e1e11ce7dd5afb3e926
23a5591fca0d43ee5d49d89f6f0ee07a24a6ca29
refs/heads/master
1,584,980,332,064
1,532,063,841,000
1,532,063,841,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
46,858
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 Theory of topological monoids, groups and rings. TODO: generalize `topological_monoid` and `topological_add_monoid` to semigroups, or add a type class ...
a87668e77b09ffd83acdcfa331204e838ed635e5
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/limits/constructions/over/default.lean
f3e8c432810860374a1176312d67a531dffcb33d
[ "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,154
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Reid Barton, Bhavik Mehta -/ import category_theory.limits.connected import category_theory.limits.constructions.over.products import category_theory.limits.constructio...
20a21c94f4ffc575ee728e6d76253e81a112fb66
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/data/polynomial/monic.lean
f20789c86632a03f6a3a06fa86027825dd4863db
[ "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
16,846
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.reverse import algebra.associated import algebra.regular.smul /-! # Theory of monic polynomials W...
4fe909076b8de148cb0ab11f8120b29da5ee4d20
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Class.lean
c8e052d701e93b18158f3276d720b9005c24137c
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
EdAyers/lean4
57ac632d6b0789cb91fab2170e8c9e40441221bd
37ba0df5841bde51dbc2329da81ac23d4f6a4de4
refs/heads/master
1,676,463,245,298
1,660,619,433,000
1,660,619,433,000
183,433,437
1
0
Apache-2.0
1,657,612,672,000
1,556,196,574,000
Lean
UTF-8
Lean
false
false
5,028
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.Attributes namespace Lean /-- An entry for the persistent environment extension for declared type classes -/ structure ClassEntry where /-- ...
51939990b7f92fa9454232df9f15fa0c6c7bbbea
57c233acf9386e610d99ed20ef139c5f97504ba3
/archive/imo/imo2006_q3.lean
4b6f9377eecb3d4d9a1618ab8bf59e68f154b67d
[ "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,394
lean
/- Copyright (c) 2021 Tian Chen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tian Chen -/ import analysis.special_functions.sqrt /-! # IMO 2006 Q3 Determine the least real number $M$ such that $$ \left| ab(a^2 - b^2) + bc(b^2 - c^2) + ca(c^2 - a^2) \right| ≤ M (a...
5b1f0879b3b76543fb8e65d351ea67a1d24c46ae
4727251e0cd73359b15b664c3170e5d754078599
/src/model_theory/skolem.lean
dcc2bb75a2a6ec040b2472f5e64f81b6d779fcd4
[ "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
5,897
lean
/- Copyright (c) 2022 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import model_theory.elementary_maps /-! # Skolem Functions and Downward Löwenheim–Skolem ## Main Definitions * `first_order.language.skolem₁` is a language consisti...
b41375e2189e29bac9ff659fd0c2d88ec3276da7
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/data/polynomial/module.lean
c2d4f4f2744f3fa18f10cbc44c7b8fc55ffd3b69
[ "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
6,626
lean
/- Copyright (c) 2022 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import ring_theory.finiteness /-! # Polynomial module In this file, we define the polynomial module for an `R`-module `M`, i.e. the `R[X]`-module `M[X]`. This is define...
e6734747d3a310da8c94ecfdb45f9884c21f6f18
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/category/CompHaus/projective.lean
7a9b8800539928c4e08a90124aee96f42e5c7c22
[ "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,202
lean
/- Copyright (c) 2021 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import topology.category.CompHaus.basic import topology.stone_cech import category_theory.preadditive.projective /-! # CompHaus has enough projectives > THIS FILE ...
c6742c7af3b16cbef033efebeff4a83f6111e6b7
54deab7025df5d2df4573383df7e1e5497b7a2c2
/data/fp/basic.lean
8fa853a16f80e0e9fed85bd233ba8639a641c006
[ "Apache-2.0" ]
permissive
HGldJ1966/mathlib
f8daac93a5b4ae805cfb0ecebac21a9ce9469009
c5c5b504b918a6c5e91e372ee29ed754b0513e85
refs/heads/master
1,611,340,395,683
1,503,040,489,000
1,503,040,489,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,005
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. -/ import data.rat namespace fp inductive rmode | NE -- round to nearest even class float_cfg := (prec emax : ℕ) (prec_pos...
7836f2712f9455fc7816974f59ec3ebe90620610
07c76fbd96ea1786cc6392fa834be62643cea420
/hott/types/list.hlean
41c24cb53b4d74660e692e46ee4bd0a445afac75
[ "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
39,413
hlean
/- 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 Basic properties of lists. Ported from the standard library (list.basic and list.comb) Some lemmas are commented...
8fb5f66034a87b56f961cf7e449eb21c4facde28
aa2345b30d710f7e75f13157a35845ee6d48c017
/logic/schroeder_bernstein.lean
52a4f5a0c00c431d8e0e96c85454b4f2ff43673a
[ "Apache-2.0" ]
permissive
CohenCyril/mathlib
5241b20a3fd0ac0133e48e618a5fb7761ca7dcbe
a12d5a192f5923016752f638d19fc1a51610f163
refs/heads/master
1,586,031,957,957
1,541,432,824,000
1,541,432,824,000
156,246,337
0
0
Apache-2.0
1,541,434,514,000
1,541,434,513,000
null
UTF-8
Lean
false
false
5,449
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 The Schröder-Bernstein theorem, and well ordering of cardinals. -/ import order.fixed_points data.set.lattice logic.function logic.embedding order.zorn ...
00ab283bb8c387f1d26346ae3d9ddea99ef9c786
5d166a16ae129621cb54ca9dde86c275d7d2b483
/library/init/category/functor.lean
52702aa1342340556adc86dc35536023d8401ced
[ "Apache-2.0" ]
permissive
jcarlson23/lean
b00098763291397e0ac76b37a2dd96bc013bd247
8de88701247f54d325edd46c0eed57aeacb64baf
refs/heads/master
1,611,571,813,719
1,497,020,963,000
1,497,021,515,000
93,882,536
1
0
null
1,497,029,896,000
1,497,029,896,000
null
UTF-8
Lean
false
false
1,062
lean
/- Copyright (c) Luke Nelson and Jared Roesch. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Luke Nelson, Jared Roesch, Sebastian Ullrich, Leonardo de Moura -/ prelude import init.core init.function init.meta.name open function universes u v section set_option auto_p...
ed24f901b840f47373e16aef8864086c9a044678
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/src/Lean/Meta/Closure.lean
b80e5ddfd0633025aa3d5ae8ac6861bbe9503e58
[ "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
14,428
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Std.ShareCommon import Lean.MetavarContext import Lean.Environment import Lean.Util.FoldConsts import Lean.Meta.Basic import Lean.Meta.Check /- Thi...
5127df1182c3595afa684185a8d9fd82dbefb7da
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/768.lean
dcea7d200f683417b213d4cc018ee06cdadd7f6e
[ "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
245
lean
import data.set data.finset open set finset variables (A : Type) [deceqA : decidable_eq A] include deceqA variables s t : finset A set_option pp.coercions true set_option pp.notation false set_option pp.full_names true check (s ∪ t : set A)
14815b1a2723e6d1a254d527fb397243879ba893
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/algebra/module/basic.lean
f7d3e1befccefa1edc188e7c9caf74a12af15c21
[ "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
95,234
lean
/- Copyright (c) 2019 Sébastien Gouëzel. 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, Yury Kudryashov, Frédéric Dupuis, Heather Macbeth -/ import topology.algebra.ring.basic import topology.algebra.mul_action import to...
c1c46e1f605c906ce0bc30420882b0b005b887ab
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/pfunctor/multivariate/M.lean
aa4e27e0619315909dee800a4e1768dfbc95f5cc
[ "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
11,518
lean
/- Copyright (c) 2018 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Mario Carneiro, Simon Hudon -/ import data.pfunctor.univariate import data.pfunctor.multivariate.basic /-! # The M construction as a multivariate polynomial functor. M ...
e1aee70117959e1f7ac8f21423d4aeede080265e
93366ecea09eebeeb0b320567c6f71715434c3f0
/src/bum/bum.lean
5794e93d2ed0707545a5c43e7f626d25b220f40a
[ "LicenseRef-scancode-mit-taylor-variant", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
o89/bum
9c1286cedb878c1e14c618e81b33d365f62c8a8a
18ffb2b46932ba767c50758a93cc99846ef1b46a
refs/heads/master
1,670,171,693,018
1,669,086,393,000
1,669,086,393,000
205,409,352
8
6
null
null
null
null
UTF-8
Lean
false
false
2,811
lean
import bum.io def getTools (conf : Project) : IO Tools := do let leanHomeOpt ← IO.getEnv "LEAN_HOME" match leanHomeOpt with | some leanHome => do discard (IO.setEnv "LEAN_PATH" "") addToLeanPath [ leanHome, "lib", "lean" ].joinPath let src ← IO.FS.realPath conf.srcDir addToLeanPath src disca...
658041b261ed8aae56f7e166f78487e6a0b44e4e
aa2345b30d710f7e75f13157a35845ee6d48c017
/data/list/basic.lean
1d9dc891012edc37df63604106e4e33b60137e63
[ "Apache-2.0" ]
permissive
CohenCyril/mathlib
5241b20a3fd0ac0133e48e618a5fb7761ca7dcbe
a12d5a192f5923016752f638d19fc1a51610f163
refs/heads/master
1,586,031,957,957
1,541,432,824,000
1,541,432,824,000
156,246,337
0
0
Apache-2.0
1,541,434,514,000
1,541,434,513,000
null
UTF-8
Lean
false
false
183,433
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 Basic properties of lists. -/ import tactic.interactive tactic.mk_iff_of_inductive_prop tactic...
4bc2430aa6c4e6a69c3ae9371b51134fd425b686
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/measure_theory/borel_space.lean
d88d96735c685c229e5e7491da53d9a81ac045c5
[ "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
29,516
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, Yury Kudryashov -/ import measure_theory.measurable_space topology.instances.ennreal analysis.normed_space.basic /-! # Borel (measurable) space ## Main definitions *...
eaa820f7fa577b6a03a2d3ec87ead321c4b69caf
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/analysis/normed_space/operator_norm.lean
146b6b126a8f0b0ea933d6582760e39b61bb081d
[ "Apache-2.0" ]
permissive
agjftucker/mathlib
d634cd0d5256b6325e3c55bb7fb2403548371707
87fe50de17b00af533f72a102d0adefe4a2285e8
refs/heads/master
1,625,378,131,941
1,599,166,526,000
1,599,166,526,000
160,748,509
0
0
Apache-2.0
1,544,141,789,000
1,544,141,789,000
null
UTF-8
Lean
false
false
40,013
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 -/ import linear_algebra.finite_dimensional import analysis.normed_space.riesz_lemma import analysis.asymptotics /-! # Operator norm o...
f89093d325ce94bc24f44789b11f206c06101677
4fa161becb8ce7378a709f5992a594764699e268
/src/linear_algebra/affine_space.lean
0c8896a0c7a5024cf03833cb96ac75d695bc00d6
[ "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
27,751
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Joseph Myers. -/ import algebra.add_torsor import linear_algebra.basis noncomputable theory open_locale big_operators /-! # Affine spaces This file defines affine spaces (over modules)...
f99da1e762a208b6c4f6770a6661e72380b62460
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/data/mv_polynomial/pderiv.lean
3abc1097912dab97f46e82d094612c1e62c1b462
[ "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
5,458
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Shing Tak Lam -/ import data.mv_polynomial.variables import algebra.module.basic import tactic.ring /-! # Partial derivatives of polynomials This file defines the notion of the form...
b0b18fc68fec29a6fe94133b71c39bc420b54265
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/algebra/group/pi.lean
9d28f284a42c0e0a9a99198f3b4a18f8604d17b1
[ "Apache-2.0" ]
permissive
hjvromen/lewis
40b035973df7c77ebf927afab7878c76d05ff758
105b675f73630f028ad5d890897a51b3c1146fb0
refs/heads/master
1,677,944,636,343
1,676,555,301,000
1,676,555,301,000
327,553,599
0
0
null
null
null
null
UTF-8
Lean
false
false
4,832
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 data.pi import tactic.pi_instances import algebra.group.defs import algebra.group.hom /-! # Pi instances for groups and monoids This file defines in...
09a751ec7b1be85f05da80a32bce8e99f90e0fec
9dc8cecdf3c4634764a18254e94d43da07142918
/src/linear_algebra/tensor_power.lean
abb55292695bc098c44628069fbc74659fb4a671
[ "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
2,531
lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import linear_algebra.pi_tensor_product import logic.equiv.fin import algebra.direct_sum.algebra /-! # Tensor power of a semimodule over a commutative semirings We defin...
eb5a3e593abd4878900b5a2ba1d7589af255e0a6
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/ring_theory/integral_closure.lean
a168ff1259c0df24ecb7d821b00a5b8f76c2bcaa
[]
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
16,831
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.ring_theory.algebra_tower import Mathlib.ring_theory.polynomial.scale_roots import Mathlib.PostPort ...
ee3909afccc6fca3dc8650ff801908a9fcb87bc7
dd4e652c749fea9ac77e404005cb3470e5f75469
/src/missing_mathlib/ring_theory/algebra.lean
bca5aabb91d2bee24d893d0995be51bdf0eb92b8
[]
no_license
skbaek/cvx
e32822ad5943541539966a37dee162b0a5495f55
c50c790c9116f9fac8dfe742903a62bdd7292c15
refs/heads/master
1,623,803,010,339
1,618,058,958,000
1,618,058,958,000
176,293,135
3
2
null
null
null
null
UTF-8
Lean
false
false
641
lean
import ring_theory.algebra universes u v w u₁ v₁ namespace algebra variables {R : Type u} {S : Type v} {A : Type w} variables [comm_ring R] [comm_ring S] [ring A] [algebra R A] lemma mul_sub_algebra_map_commutes (x : A) (r : R) : x * (x - algebra_map R A r) = (x - algebra_map R A r) * x := by rw [mul_sub, ←comm...
3784db567ee7441d6035b1d9d0a81a4d0dd5a447
e21db629d2e37a833531fdcb0b37ce4d71825408
/src/use_cases/arrcp_mcl.lean
fc2783279cccf8fd108a2bf776e4d1b942579ffa
[]
no_license
fischerman/GPU-transformation-verifier
614a28cb4606a05a0eb27e8d4eab999f4f5ea60c
75a5016f05382738ff93ce5859c4cfa47ccb63c1
refs/heads/master
1,586,985,789,300
1,579,290,514,000
1,579,290,514,000
165,031,073
1
0
null
null
null
null
UTF-8
Lean
false
false
2,365
lean
/- import mcl import parlang open mcl open mcl.mclk namespace arrcp_mcl -- open classical -- local attribute [instance] prop_decidable -- instance a : decidable_eq string := sorry #check ([5] : vector _ _) def sig : signature --:= λ n, if n = "i" then { scope := scope.tlocal, type := ⟨_, [1], type.int⟩ } else { s...
1f032f03c12f216023f586c8b26e039a0d10c724
d0f9af2b0ace5ce352570d61b09019c8ef4a3b96
/exam_1/exam_1_key.lean
b48755b9af4a72b0fce9052f5d1032e4f475f5d0
[]
no_license
jngo13/Discrete-Mathematics
8671540ef2da7c75915d32332dd20c02f001474e
bf674a866e61f60e6e6d128df85fa73819091787
refs/heads/master
1,675,615,657,924
1,609,142,011,000
1,609,142,011,000
267,190,341
0
0
null
null
null
null
UTF-8
Lean
false
false
11,213
lean
/- CS 2102 Spring 2020, Sullivan, Exam #1 READ THIS:Put away all electronics except for your laptops. Included in the list are watched and headphones. Do not access *any* electronics at all except for your laptop. Close all browser windows and *all* other applications except for VS Code and any browser tab you need t...
d1c445b572fe9dd9ab8f366474b2a33ce93d49fd
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/complex/conformal.lean
9e8d060c0fb906ffc8fd47392b373c8a31270022
[ "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
4,857
lean
/- Copyright (c) 2021 Yourong Zang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yourong Zang -/ import analysis.complex.isometry import analysis.normed_space.conformal_linear_map /-! # Conformal maps between complex vector spaces We prove the sufficient and necess...
2bd10121de68b075812f42c8da9502cb94410ea2
82e44445c70db0f03e30d7be725775f122d72f3e
/src/algebra/module/projective.lean
0730192a1210812aa4c921f05b658f84995635a6
[ "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,834
lean
/- Copyright (c) 2021 Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard -/ import algebra.module.basic import linear_algebra.finsupp import linear_algebra.free_module /-! # Projective modules This file contains a definition of a projective...
24a768a5188b642ac75c7a32e32efc722f2e492a
b3fced0f3ff82d577384fe81653e47df68bb2fa1
/src/algebra/group/hom.lean
0137e842f31762159cb2cf0a47a1c8287c78d34b
[ "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
14,381
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Kevin Buzzard, Scott Morrison, Johan Commelin, Chris Hughes, Johannes Hölzl, Yury Kudryashov Homomorphisms of multiplicative and additive (semi)groups and monoids. ...
fb3520c1d2ccdc944ceb8e43248f5ec81f6fc798
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/specbug.lean
37a191da0cfdf11b2e4829aeb414bff7c3e27b90
[ "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
802
lean
@[noinline] def f (x : Bool) := x @[noinline] def g (x y : Bool) := x def h (x : Bool) (xs : List Nat) : List Bool := match x with | true => let z := f true let y := f false xs.map fun x => g y z | false => let y := f false let z := f true xs.map fun x => g y z theorem ex1 : h true [1]...
29416f26c607c3af42c8358205063636a33c9de3
46125763b4dbf50619e8846a1371029346f4c3db
/src/logic/basic.lean
90c9a5c9898a274890f0335f035908d35b9a8402
[ "Apache-2.0" ]
permissive
thjread/mathlib
a9d97612cedc2c3101060737233df15abcdb9eb1
7cffe2520a5518bba19227a107078d83fa725ddc
refs/heads/master
1,615,637,696,376
1,583,953,063,000
1,583,953,063,000
246,680,271
0
0
Apache-2.0
1,583,960,875,000
1,583,960,875,000
null
UTF-8
Lean
false
false
31,859
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura -/ import tactic.library_note /-! # Basic logic properties This file is one of the earliest imports in mathlib. ## Implementation notes Theorems th...
acbf6d6e8dbf51ee04fc5699399359f570420093
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/src/Lean/PrettyPrinter/Delaborator/Basic.lean
ab01388165e28cd8b15692ba34e1720f632a65f9
[ "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
17,709
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ /-! The delaborator is the first stage of the pretty printer, and the inverse of the elaborator: it turns fully elaborated `Expr` core terms back into surf...
affb270bc781f0433cdbfa89b62c9c1721d8b87d
957a80ea22c5abb4f4670b250d55534d9db99108
/library/init/classical.lean
2b7a8c50c56bd2cc6d81038f3e5cf349c751684b
[ "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
5,721
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, Mario Carneiro -/ prelude import init.data.subtype.basic init.funext namespace classical universes u v /- the axiom -/ axiom choice {α : Sort...
e4f6dbc20b7e8fd831b6411c2bfb740fef46c05b
618003631150032a5676f229d13a079ac875ff77
/src/topology/instances/complex.lean
8507e4cc71f8451870d490e407834019d7c4f6cf
[ "Apache-2.0" ]
permissive
awainverse/mathlib
939b68c8486df66cfda64d327ad3d9165248c777
ea76bd8f3ca0a8bf0a166a06a475b10663dec44a
refs/heads/master
1,659,592,962,036
1,590,987,592,000
1,590,987,592,000
268,436,019
1
0
Apache-2.0
1,590,990,500,000
1,590,990,500,000
null
UTF-8
Lean
false
false
6,098
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Topology of the complex numbers. -/ import data.complex.basic import topology.instances.real noncomputable theory open filter metric open_locale topological_space name...
03cb39ca3bd6e494b808d696aa90b6600874e506
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/tactic/aesop/tree.lean
87312d29f3145bcef3b8764019bc7061169a05fa
[ "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
12,718
lean
/- Copyright (c) 2021 Jannis Limperg. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jannis Limperg -/ import tactic.aesop.priority_queue import tactic.aesop.rule import tactic.aesop.util namespace tactic namespace aesop open native /-! ## Node IDs -/ @[derive dec...
46adb07f2336ae0d4f2eebb69779d66c78330666
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/as_is_leak_bug.lean
0c51bede19e28b616eacdd9cb02e7e14c1ddfe79
[ "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
218
lean
section set_option pp.annotations true parameters {α : Type} [has_to_string α] def f (a : α) : string := to_string a def g := f def g' := (f, α) def h := (f, g, g', α) #print f #print g #print g' #print h end
e01ad2a040d9ae43b89dca12c82bd46cd0f9f151
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/normed_space/weak_dual.lean
472fd416adc9c4a4718e1316f63f13c3dcb485a5
[ "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
9,916
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...
0b236b466eb42745b99ce31e86da3dee97941d11
9ad8d18fbe5f120c22b5e035bc240f711d2cbd7e
/src/homotopy/itloc.lean
5799c489bed573964a7277fa5d369b4b4bf1b66c
[]
no_license
agusakov/lean_lib
c0e9cc29fc7d2518004e224376adeb5e69b5cc1a
f88d162da2f990b87c4d34f5f46bbca2bbc5948e
refs/heads/master
1,642,141,461,087
1,557,395,798,000
1,557,395,798,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
30,003
lean
/- Copyright (c) 2019 Neil Strickland. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Neil Strickland This file formalises some of the combinatorial part of the paper "Iterated chromatic localization" by Nicola Bellumat and Neil Strickland (which is in preparation). ...
1e15cbabbdfc62cdf8fbf088c1ac90acbe28033f
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/unfold_rec2.lean
4f601b92db3ad9ad7022fcbeea034c5605a1b87c
[ "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
588
lean
import data.examples.vector open nat vector variable {A : Type} definition rev : Π {n : nat}, vector A n → vector A n | ⌞0⌟ [] := [] | ⌞n+1⌟ (x :: xs) := concat (rev xs) x theorem rev_concat : Π {n : nat} (xs : vector A n) (a : A), rev (concat xs a) = a :: rev xs | 0 [] a := rfl | (n+1) (x :: xs...
e5a72c78433a6f6a4727f231214ea5729287c37d
4e3bf8e2b29061457a887ac8889e88fa5aa0e34c
/lean/love03_structured_proofs_and_proof_terms_homework_solution.lean
5f96ec38745cc56bd47753b6875481807477479c
[]
no_license
mukeshtiwari/logical_verification_2019
9f964c067a71f65eb8884743273fbeef99e6503d
16f62717f55ed5b7b87e03ae0134791a9bef9b9a
refs/heads/master
1,619,158,844,208
1,585,139,500,000
1,585,139,500,000
249,906,380
0
0
null
1,585,118,728,000
1,585,118,727,000
null
UTF-8
Lean
false
false
1,105
lean
/- LoVe Homework 3: Structured Proofs and Proof Terms -/ import .love02_tactical_proofs_exercise_sheet namespace LoVe /- Question 2: Logic Puzzles -/ /- 2.2 (**optional**). Prove the same lemma again, this time by providing a proof term. Hint: There is an easy way. -/ lemma weak_peirce₂ : ∀a b : Prop, ((((a → ...
9000d1dddef281c4119363545e0085ae0dbd518a
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/t12.lean
f79c62142100352df85fc98fbb83d9007f5d2498
[ "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
255
lean
prelude precedence `+` : 65 precedence `*` : 75 constant N : Type.{1} check λ (f : N -> N -> N) (g : N → N → N) (infix + := f) (infix * := g) (x y : N), x+x*y constant f : N → N → N constant a : N check a+a -- + notation is not available anymore
b512fbcfab0df9b7bffe0b193a8844960c3e6d3a
682dc1c167e5900ba3168b89700ae1cf501cfa29
/src/del/syntax/syntaxlemmasDEL.lean
52ea3becf495625461ef61ec2d07186fa85004bc
[]
no_license
paulaneeley/modal
834558c87f55cdd6d8a29bb46c12f4d1de3239bc
ee5d149d4ecb337005b850bddf4453e56a5daf04
refs/heads/master
1,675,911,819,093
1,609,785,144,000
1,609,785,144,000
270,388,715
13
1
null
null
null
null
UTF-8
Lean
false
false
8,338
lean
/- Copyright (c) 2021 Paula Neeley. All rights reserved. Author: Paula Neeley Following the textbook "Dynamic Epistemic Logic" by Hans van Ditmarsch, Wiebe van der Hoek, and Barteld Kooi -/ import del.languageDEL del.syntax.syntaxDEL data.set.basic local attribute [instance] classical.prop_decidable variables {agent...
e6f8e41950b5d6c50031653b2fe89c501637f6e1
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/data/matrix.lean
a24219638e1b29797032228abbf6f56597ab6a5d
[ "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
3,296
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura Matrices -/ import algebra.ring data.fin data.fintype open fin nat attribute [reducible] definition matrix (A : Type) (m n : nat) := fin m → fin n → A namesp...
843767d19e6edd8ece4ba6e76d81923bf8980add
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/tests/lean/run/basic.lean
5f9b4cc2302a6ce4ac48c3b764c03b68d8866df7
[ "Apache-2.0" ]
permissive
codyroux/lean
7f8dff750722c5382bdd0a9a9275dc4bb2c58dd3
0cca265db19f7296531e339192e9b9bae4a31f8b
refs/heads/master
1,610,909,964,159
1,407,084,399,000
1,416,857,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,647
lean
constant A.{l1 l2} : Type.{l1} → Type.{l2} check A definition tst.{l} (A : Type) (B : Type) (C : Type.{l}) : Type := A → B → C check tst constant group.{l} : Type.{l+1} constant carrier.{l} : group.{l} → Type.{l} definition to_carrier (g : group) := carrier g check to_carrier.{1} section variable A : Type check A...
c3da4dd3357aa350e2448472baca82eba7c4ec3e
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/meta5.lean
0d338d5b67896d8fd90e514fbf2bedfe05b61359
[ "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
656
lean
import Lean.Meta new_frontend 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 mvar; let r ← mkLambdaFVars #[y, x] mvar; ...
89bfed3b2c5a2bd0691f36a2cb280593a93610f6
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/tactic/congr.lean
c81c486d366f02c3dc2be7179d72df23f5cab7b1
[ "Apache-2.0" ]
permissive
agjftucker/mathlib
d634cd0d5256b6325e3c55bb7fb2403548371707
87fe50de17b00af533f72a102d0adefe4a2285e8
refs/heads/master
1,625,378,131,941
1,599,166,526,000
1,599,166,526,000
160,748,509
0
0
Apache-2.0
1,544,141,789,000
1,544,141,789,000
null
UTF-8
Lean
false
false
7,504
lean
/- Copyright (c) 2020 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import tactic.lint import tactic.ext /-! # Congruence and related tactics This file contains the tactic `congr'`, which is an extension of `congr`, and various ...
8b3fc2ae7a2b26d4ff1145ba7503d9ca733cb13b
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/field_theory/minpoly/field.lean
dc6c8381ecff9e48e53d58f528266ea58ffb1656
[ "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
11,883
lean
/- Copyright (c) 2019 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca, Johan Commelin -/ import data.polynomial.field_division import field_theory.minpoly.basic import ring_theory.algebraic /-! # Minimal polynomials on an algebra over a ...
dddb1c7af7868d152164022694bf8526ed1fb47b
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/order/fixed_points.lean
99ae88801f222503330c9380ba732f8a99eeaa00
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
9,538
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, Kenny Lau, Yury Kudryashov -/ import dynamics.fixed_points.basic import order.hom.order /-! # Fixed point construction on complete lattices > THIS FILE IS SYNCHRONIZE...