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
a5eeb745a448c7f3c9e489fcea09adaf13eb2f47
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/computability/halting.lean
6f7b7b3d674d26da6c5249bd7633551b203c3b9f
[]
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
8,375
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.computability.partrec_code import Mathlib.PostPort universes u_1 u_4 u_2 u_3 namespace Ma...
6e790dfac6a84322e56e2280a8599350acb92cb9
f4bff2062c030df03d65e8b69c88f79b63a359d8
/kb_solns/sets_level04.lean
965a59f4ebd6bfa126875e8f8cf4746d43cd4629
[ "Apache-2.0" ]
permissive
adastra7470/real-number-game
776606961f52db0eb824555ed2f8e16f92216ea3
f9dcb7d9255a79b57e62038228a23346c2dc301b
refs/heads/master
1,669,221,575,893
1,594,669,800,000
1,594,669,800,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,602
lean
import game.sets.sets_level03 -- hide namespace xena -- hide variable X : Type --hide /- # Chapter 1 : Sets ## Level 4 -/ /- Axiom : set.subset.antisymm {A B : set X} (H : A βŠ† B) (G : B βŠ† A) : A = B -/ /- To prove the theorem below, remember that you can use `split` to change the goal into two goals, correspon...
5ef54d1cda9e9f94601bc969f9d772a465a7bd9a
491068d2ad28831e7dade8d6dff871c3e49d9431
/tests/lean/run/is_true.lean
537c8a122410c798d3a9b82b09e28000ebcfb1e2
[ "Apache-2.0" ]
permissive
davidmueller13/lean
65a3ed141b4088cd0a268e4de80eb6778b21a0e9
c626e2e3c6f3771e07c32e82ee5b9e030de5b050
refs/heads/master
1,611,278,313,401
1,444,021,177,000
1,444,021,177,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
218
lean
import data.nat open nat example : is_true (2 = 2) := trivial example : is_false (3 = 2) := trivial example : is_true (2 < 3) := trivial example : is_true (3 ∣ 9) := trivial example : is_false (3 ∣ 7) := trivial
07b95407a6aeb2c70bb4ea9b280e73d9abb95d9c
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/fourier/fourier_transform.lean
99c4df079aeed85ee2b5b7b2b2ae5d71d9bdf277
[ "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,779
lean
/- Copyright (c) 2023 David Loeffler. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: David Loeffler -/ import analysis.complex.circle import measure_theory.group.integration import measure_theory.measure.haar.of_basis /-! # The Fourier transform > THIS FILE IS SYNCH...
285de1486147640054096378ff5e645265ad3108
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/data/string/defs.lean
beab6e207c340a7a16289be4a15c330b63251b23
[ "Apache-2.0" ]
permissive
abentkamp/mathlib
d9a75d291ec09f4637b0f30cc3880ffb07549ee5
5360e476391508e092b5a1e5210bd0ed22dc0755
refs/heads/master
1,682,382,954,948
1,622,106,077,000
1,622,106,077,000
149,285,665
0
0
null
null
null
null
UTF-8
Lean
false
false
1,930
lean
/- Copyright (c) 2019 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Keeley Hoek, Floris van Doorn -/ import data.list.defs namespace string /-- `s.split_on c` tokenizes `s : string` on `c : char`. -/ def split_on (s : string) (c : char) : l...
a0255f3d6952339221c08a99dba0c4c34093ff5d
853df553b1d6ca524e3f0a79aedd32dde5d27ec3
/src/ring_theory/tensor_product.lean
348e23c3c662e811c568898085c34c1380036b59
[ "Apache-2.0" ]
permissive
DanielFabian/mathlib
efc3a50b5dde303c59eeb6353ef4c35a345d7112
f520d07eba0c852e96fe26da71d85bf6d40fcc2a
refs/heads/master
1,668,739,922,971
1,595,201,756,000
1,595,201,756,000
279,469,476
0
0
null
1,594,696,604,000
1,594,696,604,000
null
UTF-8
Lean
false
false
16,422
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 linear_algebra.tensor_product import ring_theory.algebra universes u v₁ vβ‚‚ v₃ vβ‚„ /-! The tensor product of R-algebras. We construct the R-algebra structur...
414705402a6f7d676b55f0e733a65359e4498941
853df553b1d6ca524e3f0a79aedd32dde5d27ec3
/src/category_theory/limits/shapes/constructions/pullbacks.lean
c89a7d62bd6b0f7cc104a6d1ced1074295042290
[ "Apache-2.0" ]
permissive
DanielFabian/mathlib
efc3a50b5dde303c59eeb6353ef4c35a345d7112
f520d07eba0c852e96fe26da71d85bf6d40fcc2a
refs/heads/master
1,668,739,922,971
1,595,201,756,000
1,595,201,756,000
279,469,476
0
0
null
1,594,696,604,000
1,594,696,604,000
null
UTF-8
Lean
false
false
3,907
lean
/- Copyright (c) 2020 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel -/ import category_theory.limits.shapes.binary_products import category_theory.limits.shapes.equalizers import category_theory.limits.shapes.pullbacks universes v u /-! ...
48e627e532d19bd3f781c139eceb76a17ee8dece
ca1ad81c8733787aba30f7a8d63f418508e12812
/clfrags/src/hilbert/wr/dc_neg.lean
a3f48df01daef6885bf5305714c81d3b6f750077
[]
no_license
greati/hilbert-classical-fragments
5cdbe07851e979c8a03c621a5efd4d24bbfa333a
18a21ac6b2e890060eb4ae65752fc0245394d226
refs/heads/master
1,591,973,117,184
1,573,822,710,000
1,573,822,710,000
194,334,439
2
0
null
null
null
null
UTF-8
Lean
false
false
381
lean
import core.connectives import hilbert.wr.dc namespace clfrags namespace hilbert namespace wr namespace dc_neg axiom dcn₁ : Ξ  {a b c d : Prop}, dc c d (dc b a (neg a)) β†’ dc c d b axiom dcnβ‚‚ : Ξ  {a b c d : Prop}, dc c d b β†’ dc c d (dc b a (neg a)) end...
5299e25de3054c5d6ef8edb97c66581e4af0366f
85d23ae5fcdcd77981feb67549852ff901e8a583
/cubes.lean
5280ca6297edaf2606a8c3bcb31b605274ad2579
[]
no_license
javra/cubes
5b480abcf1a869335a82b4fb5357ec4d16ab56bc
734bdf71b9086b0ba9ef7dba3ede0c71f10872cc
refs/heads/master
1,611,513,591,851
1,489,495,303,000
1,489,495,303,000
84,469,571
0
0
null
null
null
null
UTF-8
Lean
false
false
2,251
lean
/- THE CUBE CATEGORY -/ universes v u inductive cmonad (Ξ± : Type u) | ll {} : cmonad | rr {} : cmonad | dim {} : Ξ± β†’ cmonad open cmonad def bool_to_cmonad {Ξ± : Type u} : bool β†’ cmonad Ξ± | ff := ll | tt := rr instance inst_bool_to_cmonad (Ξ± : Type u...
faee58d2aad08fc03727ed563bec13bb5c81bcc5
26ac254ecb57ffcb886ff709cf018390161a9225
/src/deprecated/group.lean
eb2f5124f8f1cf195402b74fabd4069795d9083b
[ "Apache-2.0" ]
permissive
eric-wieser/mathlib
42842584f584359bbe1fc8b88b3ff937c8acd72d
d0df6b81cd0920ad569158c06a3fd5abb9e63301
refs/heads/master
1,669,546,404,255
1,595,254,668,000
1,595,254,668,000
281,173,504
0
0
Apache-2.0
1,595,263,582,000
1,595,263,581,000
null
UTF-8
Lean
false
false
12,514
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Yury Kudryashov -/ import algebra.group.type_tags import algebra.group.units_hom import algebra.ring /-! # Unbundled monoid and group homomorphisms (deprecated) This file defines typ...
a549287f186fbb34886c6956c6b55b546d0c8864
4727251e0cd73359b15b664c3170e5d754078599
/src/measure_theory/decomposition/signed_hahn.lean
c54a22e05ebb4e5bd2b230f25817245902c620ae
[ "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
21,736
lean
/- Copyright (c) 2021 Kexing Ying. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kexing Ying -/ import measure_theory.measure.vector_measure import order.symm_diff /-! # Hahn decomposition This file proves the Hahn decomposition theorem (signed version). The Hahn de...
7da4137edb7dd736a18dd72ea89e73119f67af55
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/analysis/asymptotics/superpolynomial_decay.lean
78a91151052c8a51223ea7d352e8c6d945e1b8e7
[ "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
15,105
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 analysis.normed_space.ordered import analysis.asymptotics.asymptotics import topology.algebra.ordered.liminf_limsup import data.polynomial.eval /-! # Super-Polynomial...
9ef7157e625b168eb070f93eed0fee305e2c56a2
d642a6b1261b2cbe691e53561ac777b924751b63
/src/topology/maps.lean
31d544244a8ffea0df8ea852dc48297d150ed016
[ "Apache-2.0" ]
permissive
cipher1024/mathlib
fee56b9954e969721715e45fea8bcb95f9dc03fe
d077887141000fefa5a264e30fa57520e9f03522
refs/heads/master
1,651,806,490,504
1,573,508,694,000
1,573,508,694,000
107,216,176
0
0
Apache-2.0
1,647,363,136,000
1,508,213,014,000
Lean
UTF-8
Lean
false
false
15,220
lean
/- Copyright (c) 2017 Johannes HΓΆlzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes HΓΆlzl, Mario Carneiro, Patrick Massot -/ import topology.order /-! # Specific classes of maps between topological spaces This file introduces the following properties of a m...
d40c4ea7337654b014c30f89dfff160b57a6fdb7
b794ca1df49bc5a3bd3fd5552eed3bc4f63b8b93
/src/homework/hw4.lean
544e571df9246f544fa2f6aef5df4a695df55395
[]
no_license
akraisinger/cs2120f21
8235ac98375e04ffcec504cff5cab7833ee69e54
4ef83d7151bb6a284028092aa4f1d509c0eb8237
refs/heads/main
1,691,714,771,612
1,632,889,465,000
1,632,889,465,000
399,946,508
0
0
null
null
null
null
UTF-8
Lean
false
false
2,149
lean
-- 1 example : 0 β‰  1 := begin -- Β¬ (0 = 1) -- (0 = 1) β†’ false assume h, cases h, end -- 2 example : 0 β‰  0 β†’ 2 = 3 := begin assume h, have f : false := h (eq.refl 0), exact false.elim (f), end -- 3 example : βˆ€ (P : Prop), P β†’ ¬¬P := begin assume P, assume (p : P), -- ¬¬P -- Β¬P β†’ false -- (P β†’ ...
5bdb8bd8fcb8552d84599e63855c8b3573f423c3
5a5e1bb8063d7934afac91f30aa17c715821040b
/lean4SOS/SOS/Dyadic.lean
4faa3c08de21b50c7ba98f69f4ac4e4dd4f2cb95
[]
no_license
ramonfmir/leanSOS
1883392d73710db5c6e291a2abd03a6c5b44a42b
14b50713dc887f6d408b7b2bce1f8af5bb619958
refs/heads/main
1,683,348,826,105
1,622,056,982,000
1,622,056,982,000
341,232,766
1
0
null
null
null
null
UTF-8
Lean
false
false
1,741
lean
import Init.Core import Init.Data.Int import Init.System.IO structure Dyadic := (m : Int) (e : Int) namespace Dyadic syntax term "β‚‚" term : term macro_rules | `($m β‚‚ $e) => `(mk $m $e) instance : ToString Dyadic where toString x := s!"{x.m}β‚‚{x.e}" -- Definitions. def Neg : Dyadic β†’ Dyadic := fun x => { m := ...
46abb69bc6cdfb1ef2f09db38bf5186e30e84791
9dc8cecdf3c4634764a18254e94d43da07142918
/src/ring_theory/algebra_tower.lean
99878f3a6a48ca3984c4c4742bce1063a244d3b4
[ "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
13,151
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import algebra.invertible import ring_theory.adjoin.fg import linear_algebra.basis import algebra.algebra.tower import algebra.algebra.restrict_scalars /-! # Towers of algebra...
56e80743344f2acff9e1e0d6f9531129f5bb099c
9028d228ac200bbefe3a711342514dd4e4458bff
/src/data/finsupp/basic.lean
75252d9fb792b3e163f7fa360850fe15b56c6815
[ "Apache-2.0" ]
permissive
mcncm/mathlib
8d25099344d9d2bee62822cb9ed43aa3e09fa05e
fde3d78cadeec5ef827b16ae55664ef115e66f57
refs/heads/master
1,672,743,316,277
1,602,618,514,000
1,602,618,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
77,339
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, Scott Morrison -/ import algebra.group.pi import algebra.big_operators.order import algebra.module.basic import data.fintype.card import data.finset.preimage import dat...
abfb441b59ece779b39b8fc225366648b9e184f0
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/homology/additive.lean
af7261722dc075074fd3a8e2c2dcea2adee50f64
[ "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
11,206
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.homology.homology import algebra.homology.single import category_theory.preadditive.additive_functor /-! # Homology is an additive functor When `V` i...
2ba8f3defada359feaecf1e062fa40992a97206f
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/988.lean
5fabf5bea807b466832669e9519850907b9100ef
[ "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,489
lean
instance {Ξ± : Type u} : HAppend (Fin m β†’ Ξ±) (Fin n β†’ Ξ±) (Fin (m + n) β†’ Ξ±) where hAppend a b i := if h : i < m then a ⟨i, h⟩ else b ⟨i - m, sorry⟩ def empty : Fin 0 β†’ Nat := (nomatch Β·) theorem append_empty (x : Fin i β†’ Nat) : x ++ empty = x := funext fun i => dif_pos _ opaque f : (Fin 0 β†’ Nat) β†’ Prop example : f...
4fca18a6f860bb7fe7d362fc7bd05cd2b6e45251
f3a5af2927397cf346ec0e24312bfff077f00425
/src/game/world10/level18a.lean
884f06657c78e317c1d2a47703a5d4e04e79426e
[ "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
6,703
lean
import game.world10.level17 -- hide namespace mynat -- hide -- todo INTRODUCE CONGR lemma lt_irrefl (a : mynat) : Β¬ (a < a) := begin [nat_num_game] intro h, cases h with h1 h2, apply h2, exact h1, end lemma ne_of_lt (a b : mynat) : a < b β†’ a β‰  b := begin [nat_num_game] intro h, intro h1, cases h with h...
5cbc6d922c8629b3f09199a6d7d8fd58b02210e7
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/data/stream/basic.lean
4f4aead265356a8479ded0efe02d2249150bc8eb
[ "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
911
lean
/- Copyright (c) 2020 Gabriel Ebner, Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner, Simon Hudon -/ import tactic.ext import data.stream.init import data.list.basic import data.list.range /-! # Additional instances and attributes for streams...
bf4d1073d0cdc8c40ba5285ead7a200df53f7a80
03bd658c402412f41d3026d1040ee8ca8c0fc579
/src/list/min/basic.lean
58ea688d32e9ef1f5f2f684aeccd4c44a9cbdc4d
[]
no_license
ImperialCollegeLondon/dots_and_boxes
c205f6dbad8af9625f56715e4d1bed96b0ac1022
f7bd0b1603674a657170c5395adb717c4f670220
refs/heads/master
1,663,752,058,476
1,591,438,614,000
1,591,438,614,000
139,707,103
2
0
null
null
null
null
UTF-8
Lean
false
false
5,317
lean
import data.list.basic tactic.linarith import list.lemmas.long_lemmas misc_lemmas open list /-- The minimum element of a non-empty list-/ def list.min {X : Type*} [decidable_linear_order X] : Ξ  (L : list X), (L β‰  []) β†’ X | ([]) hL := false.elim $ hL rfl | (x :: []) hL := x | (x :: y :: L) _ := min x (list.min (y :: ...
e76dc3808e510b074bc80716cf8d7f46f399f515
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/625.lean
b40c72c61389197310a592efd4508a2d4fb979ab
[ "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
564
lean
import Lean open Lean Lean.PrettyPrinter def foo : PUnit β†’ PUnit := id def x : PUnit := () @[appUnexpander foo] def unexpandFoo : Unexpander := fun _ => `(sorry) #eval do let e : Expr := mkApp (mkMData {} $ mkConst `foo [levelOne]) (mkConst `x) formatTerm (← delab e) #eval do let opts := ({}: Options).setBo...
191ee6a7b4f4214d0fa50ade4ec869298f273822
4bcaca5dc83d49803f72b7b5920b75b6e7d9de2d
/stage0/src/Init/Data/String/Basic.lean
002d9641b7c2ef0dd452131c20fdcaa0d14c5068
[ "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
17,075
lean
/- Copyright (c) 2016 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.List.Basic import Init.Data.Char.Basic import Init.Data.Option.Basic universe u def List.asString (s : List Char) : String := ⟨s⟩...
3c0e4a38cf7ce73cc635c6f6bb730475cead891c
02fbe05a45fda5abde7583464416db4366eedfbf
/library/init/meta/local_context.lean
590b7dd75dc42f3b4efb0aea59105ac63824654d
[ "Apache-2.0" ]
permissive
jasonrute/lean
cc12807e11f9ac6b01b8951a8bfb9c2eb35a0154
4be962c167ca442a0ec5e84472d7ff9f5302788f
refs/heads/master
1,672,036,664,637
1,601,642,826,000
1,601,642,826,000
260,777,966
0
0
Apache-2.0
1,588,454,819,000
1,588,454,818,000
null
UTF-8
Lean
false
false
2,081
lean
prelude import init.meta.name init.meta.expr init.data.option.basic meta structure local_decl := (unique_name : name) (pp_name : name) (type : expr) (value : option expr) (bi : binder_info) (idx : nat) meta def local_decl.to_expr : local_decl β†’ expr | ⟨un, pn, y, _, bi, _⟩ := expr.local_const un pn bi y /-- A local ...
85b6b4cd3cba213d0cb28d3bc4a28f1659e85fc2
e09201d437062e1f95e6e5360aab0c9f947901aa
/src/automata/epsnfa.lean
2baee70a1b865b8950f9c188d8650c8ef73bdc3c
[]
no_license
VArtem/lean-regular-languages
34f4b093f28ef2f09ba7e684e642a0f97c901560
e877243188253d0ac17ccf0ae2da7bf608686ff0
refs/heads/master
1,683,590,111,306
1,622,307,234,000
1,622,307,234,000
284,232,653
7
0
null
null
null
null
UTF-8
Lean
false
false
8,074
lean
import data.set.basic import data.fintype.basic import automata.nfa open set namespace epsnfa structure epsNFA (S : Type) (Q : Type) [fintype Q] [decidable_eq Q] := (start : Q) -- starting state (term : Q) -- terminal state (only one!) (next : Q β†’ S β†’ set Q) -- transitions (eps : Q β†’ set Q) -- eps-tr...
997932e6c6a21ffbeeabb3e42a49b5a20e59734d
c3de33d4701e6113627153fe1103b255e752ed7d
/algebra/lattice/complete_lattice.lean
998a612895ea2e555ff189e9cd25cfa1aa6390d2
[]
no_license
jroesch/library_dev
77d2b246ff47ab05d55cb9706a37d3de97038388
4faa0a45c6aa7eee6e661113c2072b8840bff79b
refs/heads/master
1,611,281,606,352
1,495,661,644,000
1,495,661,644,000
92,340,430
0
0
null
1,495,663,344,000
1,495,663,344,000
null
UTF-8
Lean
false
false
19,998
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 Theory of complete lattices. -/ import .bounded_lattice set_option old_structure_cmd true universes u v w wβ‚‚ variables {Ξ± : Type u} {Ξ² : Type v} {ΞΉ : Sort w} {ΞΉβ‚‚ : So...
a5d8dfb04243d89bc2d46c1cb7c1d4381bad6e75
d31b9f832ff922a603f76cf32e0f3aa822640508
/src/hott/hit/colimit.lean
c89117508617caa2a5dc398514ac4797167cd702
[ "Apache-2.0" ]
permissive
javra/hott3
6e7a9e72a991a2fae32e5764982e521dca617b16
cd51f2ab2aa48c1246a188f9b525b30f76c3d651
refs/heads/master
1,585,819,679,148
1,531,232,382,000
1,536,682,965,000
154,294,022
0
0
Apache-2.0
1,540,284,376,000
1,540,284,375,000
null
UTF-8
Lean
false
false
8,512
lean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn Definition of general colimits and sequential colimits. -/ import ..init universes u v w hott_theory namespace hott /- definition of a general colimit -/ open ho...
60ef1e1d6d177b9b5b874a17dd1863055cfd74d5
cf39355caa609c0f33405126beee2739aa3cb77e
/library/init/data/default.lean
396c368f1a12611e83a642a34faf9bab3a5349de
[ "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
472
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.data.basic init.data.sigma init.data.nat init.data.char init.data.string import init.data.list init.data.sum init.data.subtype init.data...
075a02b457b81fa7d3846a185f59181c3a5daaa3
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/playground/environment_extension.lean
fbc47155f72d5074feaae577861a5f44bc12dbea
[ "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
6,087
lean
import init.lean init.lean.parser.syntax namespace Lean /-- An extension of the State held by an `environment` object. The new State holds objects of Type `entryTy`, which optionally are persisted to the .olean file and collected when loading imports. Objects can be retrieved using an appropriate `stateTy`...
b672e0d8a17fbe1e85c2618f491a94119acc868c
618003631150032a5676f229d13a079ac875ff77
/src/topology/sequences.lean
4e95d334d826ac3576eece19a495ab21ac705cc2
[ "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
8,480
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, Patrick Massot -/ import topology.bases import topology.subset_properties /-! # Sequences in topological spaces In this file we define sequences in topological ...
a12f45e0668095e96a73ab28e1987c7878b95b55
9dc8cecdf3c4634764a18254e94d43da07142918
/src/algebra/field/basic.lean
3ba5aa0e83b4ec9e5a79214abe49d45da403f0c8
[ "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
21,808
lean
/- Copyright (c) 2014 Robert Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Lewis, Leonardo de Moura, Johannes HΓΆlzl, Mario Carneiro -/ import algebra.hom.ring import data.rat.defs /-! # Division (semi)rings and (semi)fields This file introduces fields ...
0e5159612fa17d02ebecea6f925598b15d06f735
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/linear_algebra/matrix/determinant.lean
f8b3209765491b5b6d28df8c42f2ef2120572cb6
[ "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
29,317
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Chris Hughes, Tim Baanen -/ import data.matrix.pequiv import data.matrix.block import data.fintype.card import group_theory.perm.fin import group_theory.perm.sign import algebra....
20fbc245653ae0fef3a24cec9985b3f03526b058
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/group_theory/congruence.lean
57519d86fbe36f56e37a9e4f1be5af969bb87667
[ "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
44,442
lean
/- Copyright (c) 2019 Amelia Livingston. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Amelia Livingston -/ import data.setoid.basic import algebra.group.pi import algebra.group.prod import data.equiv.mul_add import group_theory.submonoid.operations /-! # Congruence ...
4217bedf49acee4e451b4fcb5d6cac71bc4e17e4
2c096fdfecf64e46ea7bc6ce5521f142b5926864
/src/Lean/Elab/Notation.lean
710f6d728c17965681c2287ea4570e4b882d7160
[ "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
Kha/lean4
1005785d2c8797ae266a303968848e5f6ce2fe87
b99e11346948023cd6c29d248cd8f3e3fb3474cf
refs/heads/master
1,693,355,498,027
1,669,080,461,000
1,669,113,138,000
184,748,176
0
0
Apache-2.0
1,665,995,520,000
1,556,884,930,000
Lean
UTF-8
Lean
false
false
7,469
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Elab.Syntax import Lean.Elab.AuxDef import Lean.Elab.BuiltinNotation namespace Lean.Elab.Command open Lean.Syntax open Lean.Parser.Term hiding ...
1e8fe91b295d62f4c431355942b365498ef50f7c
137c667471a40116a7afd7261f030b30180468c2
/src/algebra/group/units.lean
946153b2d77cfc362abd3159211fcf322d1943de
[ "Apache-2.0" ]
permissive
bragadeesh153/mathlib
46bf814cfb1eecb34b5d1549b9117dc60f657792
b577bb2cd1f96eb47031878256856020b76f73cd
refs/heads/master
1,687,435,188,334
1,626,384,207,000
1,626,384,207,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,622
lean
/- Copyright (c) 2017 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro, Johannes HΓΆlzl, Chris Hughes, Jens Wagemaker -/ import algebra.group.basic import logic.nontrivial /-! # Units (i.e., invertible elements) of a multiplicative mo...
352e3816cfffb975642929fc5d6db5eab448ce27
1546f9083f4babf70df0329497d1ee05adc8c665
/src/monoidal_categories_reboot/monoid_object.lean
e0080d8c52fb05626a4d6ce15d5e2b9ef4c45915
[ "Apache-2.0" ]
permissive
khoek/monoidal-categories-reboot
0899b0d4552ff039388042059c91f7207c6c34e5
ed3df8ecce5d4e3d95cb858911bad12bb632cf8a
refs/heads/master
1,588,877,903,131
1,554,987,273,000
1,554,987,273,000
180,791,863
0
0
null
1,554,987,295,000
1,554,987,295,000
null
UTF-8
Lean
false
false
8,246
lean
-- Copyright (c) 2018 Michael Jendrusch. All rights reserved. import .monoidal_category import .braided_monoidal_category import tactic.rewrite_search import .monoidal_functor import .slice_tactic open tactic.rewrite_search.metric open tactic.rewrite_search.strategy open tactic.rewrite_search.tracer open category_theo...
3984b04e6af32db05d0ab0f54a40141ed7f2340b
4727251e0cd73359b15b664c3170e5d754078599
/src/topology/metric_space/holder.lean
6a4e9cb72c3886ee4d55ec9580534e1ef9252717
[ "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,684
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...
b555f51b250e50e3ec07318418d64ae59c326da7
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/basic.lean
d72bfaa70d7bb55dde55b948d28e4550e21f9f86
[ "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
1,793
lean
prelude constant {l1 l2} A : Type l1 β†’ Type l2 check A definition {l} tst (A : Type*) (B : Type*) (C : Type l) : Type* := A β†’ B β†’ C check tst constant {l} group : Type (l+1) constant {l} carrier : group.{l} β†’ Type l noncomputable definition to_carrier (g : group) := carrier g check to_carrier.{1} section variable ...
c5dd88fd516a7180d32c7643fa92a7b0edbc4bb4
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/monoidal/linear.lean
30269ad6723b55c740a3a25405ea62bebf97d733
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
1,543
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 category_theory.linear.linear_functor import category_theory.monoidal.preadditive /-! # Linear monoidal categories A monoidal category is `monoidal_linear R`...
db3c790293ee88b19d846a22821696a579331903
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/injIssue.lean
f9cd6c2dfe5f22026860ab40196e876c25bbac7b
[ "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
120
lean
theorem ex1 (n m : Nat) (f : Nat β†’ Nat) : some n = some m β†’ f n = f m := by intro h injection h with h rw [h]
42c9262a1ff6abe47d0ff3da20b464df28b48445
8cb37a089cdb4af3af9d8bf1002b417e407a8e9e
/tests/lean/json.lean
5d6c9a719e2a35a953d78eb4919bf4a30015c564
[ "Apache-2.0" ]
permissive
kbuzzard/lean
ae3c3db4bb462d750dbf7419b28bafb3ec983ef7
ed1788fd674bb8991acffc8fca585ec746711928
refs/heads/master
1,620,983,366,617
1,618,937,600,000
1,618,937,600,000
359,886,396
1
0
Apache-2.0
1,618,936,987,000
1,618,936,987,000
null
UTF-8
Lean
false
false
1,619
lean
#eval to_string $ json.parse $ "[0.7]" #eval to_string $ json.parse "{}" #eval to_string $ json.unparse (json.object []) run_cmd tactic.success_if_fail $ json.parse "spurgles" meta def ball : list bool β†’ bool := Ξ» xs, xs.foldl band tt meta instance : decidable_eq native.float := by apply_instance meta def json.compa...
4a6afcf60bb92b5a04a8018a1ffe9a03e195ded4
63abd62053d479eae5abf4951554e1064a4c45b4
/src/category_theory/single_obj.lean
b99a296cac514f91ac94bb22126d9bd16c2bade7
[ "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
5,558
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import category_theory.endomorphism import category_theory.category.Cat import algebra.category.Mon.basic /-! # Single-object category Single object category with...
5b1c5bdd9665d5398df537927b99a19cbd3e7ccd
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/group/type_tags_auto.lean
218a35313116c916ba1e46f4da833d6383feacfc
[]
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
13,074
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.group.hom import Mathlib.data.equiv.basic import Mathlib.PostPort universes u_1 u ...
9a1889cfe3ca4a59fddaf87d741001a605bb9b6d
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/rat/floor_auto.lean
8a19e2fd6e8eae249ba7afd2bdeb7db7ad5a1194
[]
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
2,183
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.floor import Mathlib.tactic.field_simp import Mat...
0c88c4654a95ed71bfd6e1df98427a06ef61ff28
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/extends_priority.lean
e42f382b35c8b2fb2bd838eb3475c2f301fbc739
[ "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
485
lean
class A (Ξ± : Type) class B (Ξ± : Type) extends A Ξ± #print B.to_A section prio set_option extends_priority 37 class C (Ξ± : Type) extends B Ξ± end prio #print C.to_B class D (Ξ± : Type) extends C Ξ± #print D.to_C set_option old_structure_cmd true class A' (Ξ± : Type) class B' (Ξ± : Type) extends A' Ξ± #print B'.to_A' s...
90a5d9f627a16561b789b7ca045b469969a94004
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Lean/Meta/Match/Basic.lean
f56b38bcfc309d71e6168793a11a6036e1fc9b3c
[ "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
12,334
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.Check import Lean.Meta.Match.MatcherInfo import Lean.Meta.Match.CaseArraySizes namespace Lean.Meta.Match inductive Pattern : Type where ...
f538c1469feb742b1c66ae5cd476e9ab6813d46a
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/linear_algebra/matrix/determinant.lean
5babd8c29f4d890d26b584e33b00c4f66f1a6cc0
[ "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
28,530
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Chris Hughes, Tim Baanen -/ import data.matrix.pequiv import data.fintype.card import group_theory.perm.fin import group_theory.perm.sign import algebra.algebra.basic import tact...
8445fa94490a34fd8283787adaf4d5ecc64b0497
07c6143268cfb72beccd1cc35735d424ebcb187b
/src/category_theory/limits/shapes/constructions/pullbacks.lean
41c4a4959e07e1d14aea96d3575d07a1e6e5cae0
[ "Apache-2.0" ]
permissive
khoek/mathlib
bc49a842910af13a3c372748310e86467d1dc766
aa55f8b50354b3e11ba64792dcb06cccb2d8ee28
refs/heads/master
1,588,232,063,837
1,587,304,803,000
1,587,304,803,000
176,688,517
0
0
Apache-2.0
1,553,070,585,000
1,553,070,585,000
null
UTF-8
Lean
false
false
3,932
lean
/- Copyright (c) 2020 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel -/ import category_theory.limits.shapes.binary_products import category_theory.limits.shapes.equalizers import category_theory.limits.shapes.pullbacks universes v u /-!...
49c1f57b89a716b6cf75e3254faa1c521d38fa84
2bafba05c98c1107866b39609d15e849a4ca2bb8
/src/week_6/Part_B_sequences_again.lean
f6fcaafe0173bb757790e1dfb37cc88ba8c32757
[ "Apache-2.0" ]
permissive
ImperialCollegeLondon/formalising-mathematics
b54c83c94b5c315024ff09997fcd6b303892a749
7cf1d51c27e2038d2804561d63c74711924044a1
refs/heads/master
1,651,267,046,302
1,638,888,459,000
1,638,888,459,000
331,592,375
284
24
Apache-2.0
1,669,593,705,000
1,611,224,849,000
Lean
UTF-8
Lean
false
false
14,049
lean
import data.real.basic import order.filter.at_top_bot import topology.instances.real /- ## Sequences, revisited Recall that in week 3 we made these definitions: -/ local notation `|` x `|` := abs x /-- `l` is the limit of the sequence `a` of reals -/ definition is_limit (a : β„• β†’ ℝ) (l : ℝ) : Prop := βˆ€ Ξ΅ > 0, βˆƒ N, ...
ea6eb1506fe86168d9ef677e94f692f14a76bcfb
1e3a43e8ba59c6fe1c66775b6e833e721eaf1675
/src/measure_theory/measure_space.lean
5be5db1bd9651cac6feaaaa07746a9d002f6263b
[ "Apache-2.0" ]
permissive
Sterrs/mathlib
ea6910847b8dfd18500486de9ab0ee35704a3f52
d9327e433804004aa1dc65091bbe0de1e5a08c5e
refs/heads/master
1,650,769,884,257
1,587,808,694,000
1,587,808,694,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
36,229
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 measure_theory.outer_measure /-! # Measure spaces Measures are restricted to a measurable space (associated by the type class `measurable_spa...
6f41e4e4f477b45a6779c1d7b1d4806b7b97e43b
ea5678cc400c34ff95b661fa26d15024e27ea8cd
/test1.lean
cc04c05740684f75438c00fb4196905d63000beb
[]
no_license
ChrisHughes24/leanstuff
dca0b5349c3ed893e8792ffbd98cbcadaff20411
9efa85f72efaccd1d540385952a6acc18fce8687
refs/heads/master
1,654,883,241,759
1,652,873,885,000
1,652,873,885,000
134,599,537
1
0
null
null
null
null
UTF-8
Lean
false
false
19
lean
#eval 9999999999^99
501a3a1a36f1ca34af47a93c8e8a4be1fe89cb0b
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/src/Init/Control/Option.lean
f78636d0309640fb5f6ae4b78e6c0768c7ef23d7
[ "Apache-2.0" ]
permissive
collares/lean4
861a9269c4592bce49b71059e232ff0bfe4594cc
52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee
refs/heads/master
1,691,419,031,324
1,618,678,138,000
1,618,678,138,000
358,989,750
0
0
Apache-2.0
1,618,696,333,000
1,618,696,333,000
null
UTF-8
Lean
false
false
1,982
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, Sebastian Ullrich -/ prelude import Init.Data.Option.Basic import Init.Control.Basic import Init.Control.Except universes u v instance {Ξ±} : ToBool (Option ...
3b84c2de10848733b7938dc15807ab3c5c0b61c3
367134ba5a65885e863bdc4507601606690974c1
/src/algebra/big_operators/basic.lean
2320cb2666f1383d7a54351bf39c0250cf3ea178
[ "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
53,648
lean
/- Copyright (c) 2017 Johannes HΓΆlzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes HΓΆlzl -/ import data.finset.fold import data.equiv.mul_add import tactic.abel /-! # Big operators In this file we define products and sums indexed by finite sets (specifica...
b1327d65c151cb33326a9e944a81dda4586afb4d
df7bb3acd9623e489e95e85d0bc55590ab0bc393
/lean/love08_operational_semantics_exercise_sheet.lean
2838056145b2a4082e74b00041976f21f9def9ad
[]
no_license
MaschavanderMarel/logical_verification_2020
a41c210b9237c56cb35f6cd399e3ac2fe42e775d
7d562ef174cc6578ca6013f74db336480470b708
refs/heads/master
1,692,144,223,196
1,634,661,675,000
1,634,661,675,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,546
lean
import .love08_operational_semantics_demo /- # LoVe Exercise 8: Operational Semantics -/ set_option pp.beta true set_option pp.generalized_field_notation false namespace LoVe /- ## Question 1: Program Equivalence For this question, we introduce the notion of program equivalence: `S₁ β‰ˆ Sβ‚‚`. -/ def big_step_equi...
fc1fe33b7748bc8bc32406d493af9e6cc9ed6d3b
367134ba5a65885e863bdc4507601606690974c1
/src/measure_theory/l1_space.lean
8a264b2af7998bbea9a6fd72b9fefd6c9f170d5c
[ "Apache-2.0" ]
permissive
kodyvajjha/mathlib
9bead00e90f68269a313f45f5561766cfd8d5cad
b98af5dd79e13a38d84438b850a2e8858ec21284
refs/heads/master
1,624,350,366,310
1,615,563,062,000
1,615,563,062,000
162,666,963
0
0
Apache-2.0
1,545,367,651,000
1,545,367,651,000
null
UTF-8
Lean
false
false
32,762
lean
/- Copyright (c) 2019 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou -/ import measure_theory.lp_space /-! # Integrable functions and `LΒΉ` space In the first part of this file, the predicate `integrable` is defined and basic properties o...
56180af41079139b23a2991cb74332ee4522c91b
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Data/Lsp/Capabilities.lean
a92f7fe652612a68ca458b72cae5a5d2c9c88fa2
[ "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
1,906
lean
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ import Lean.Data.JsonRpc import Lean.Data.Lsp.TextSync import Lean.Data.Lsp.LanguageFeatures /-! Minimal LSP servers/clients do not have to impleme...
e4ae73944d8d16717a98e50d9550c456833c7a66
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/data/equiv/nat.lean
191a9e3e4207a14b45cdb8b5ab2bf8db17d97df2
[ "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
1,321
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Additional facts about equiv and encodable using the pairing function on nat. -/ import data.equiv.basic data.nat.pairing data.pnat.basic open nat namespace equiv @[s...
09720a5d1cff4921120db7d1d47589f64041dbab
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/split2.lean
178fcb61aad4ad7cfa5f3159e39e04d09b1f6e2d
[ "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
980
lean
def f (x y z : Nat) : Nat := match x, y, z with | 5, _, _ => y | _, 5, _ => y | _, _, 5 => y | _, _, _ => 1 example (x y z : Nat) : x β‰  5 β†’ y β‰  5 β†’ z β‰  5 β†’ f x y z = 1 := by intros simp (config := { iota := false }) [f] split Β· contradiction Β· contradiction Β· contradiction Β· rfl example (x y z...
75a1862d076b141fb2986af3f28ef289af7dff90
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/src/Lean/Meta/Offset.lean
c6e8f0981e85203572f4229abe1e15958ffafc71
[ "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
5,861
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Data.LBool import Lean.Meta.InferType namespace Lean.Meta private abbrev withInstantiatedMVars (e : Expr) (k : Expr β†’ OptionT MetaM Ξ±) : Optio...
e38f97f3f869561d0fd21cc08a85201c3f3944d8
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/complex/module.lean
837a5a117ac3c35c767074812a4d8dfce7a874b1
[ "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,388
lean
/- Copyright (c) 2020 Alexander Bentkamp, SΓ©bastien GouΓ«zel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp, SΓ©bastien GouΓ«zel, Eric Wieser -/ import data.complex.basic import algebra.algebra.ordered import data.matrix.notation import field_theory.to...
3177f4e7d5fdad3f9191531a38c1bff13045c0c5
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/linear_algebra/affine_space/affine_subspace.lean
06a6eb7d288346b3fd1c5c289fc06be0dc9179ae
[ "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
66,986
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers -/ import linear_algebra.affine_space.affine_equiv /-! # Affine spaces This file defines affine subspaces (over modules) and the affine span of a set of points. ## Main d...
ed2c57d804bbeb970ff8791ccc8bb4ced0786b98
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/polynomial/lifts.lean
6487f49a26b134631d843050ad36809a97328e6a
[ "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
10,927
lean
/- Copyright (c) 2020 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca -/ import data.polynomial.algebra_map import data.polynomial.monic /-! # Polynomials that lift Given semirings `R` and `S` with a morphism `f : R β†’+* S`, we define a...
db901b08b03d0b24bc5c62fff76524febef69ee2
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/rewrite_loop.lean
945632383c12f15ec8104521b7cd0442e1da3123
[ "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
141
lean
import data.nat open algebra theorem test {A : Type} [s : comm_ring A] (a b c : A) : a + b + c = a + c + b := begin rewrite *add.comm end
e8e88e4cdf0a33398434e4772155faa1fe66638c
f618aea02cb4104ad34ecf3b9713065cc0d06103
/src/algebra/char_p.lean
1ff696a8ad6c2c91dfa26e95f94ea08b5c65fbc3
[ "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
8,777
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Kenny Lau, Joey van Langen, Casper Putz Characteristic of semirings. -/ import data.padics.padic_norm data.nat.choose data.fintype data.set import data.zmod.basic algebra.module local att...
856b4c230041c9d705e29e4be39c1ae29e9aa3b6
08bd4ba4ca87dba1f09d2c96a26f5d65da81f4b4
/src/Lean/Elab/Quotation.lean
9d247413c11b284a7605256747ab2c528471e436
[ "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "Apache-2.0", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
gebner/lean4
d51c4922640a52a6f7426536ea669ef18a1d9af5
8cd9ce06843c9d42d6d6dc43d3e81e3b49dfc20f
refs/heads/master
1,685,732,780,391
1,672,962,627,000
1,673,459,398,000
373,307,283
0
0
Apache-2.0
1,691,316,730,000
1,622,669,271,000
Lean
UTF-8
Lean
false
false
33,866
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich Elaboration of syntax quotations as terms and patterns (in `match_syntax`). See also `./Hygiene.lean` for the basic hygiene workings and data types. -/ import...
6ea31e7ca7e869463f464bde7fb0f0e233c03b66
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/field_theory/tower.lean
d3c38ccef9dff2a35ec8bb5c9c173483699ecfc4
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
6,659
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import data.nat.prime import ring_theory.algebra_tower import linear_algebra.finite_dimensional import linear_algebra.free_module.finite.matrix /-! # Tower of field extension...
704a46d52802c4a2c4fbcdd2c9297e604f53dd24
b7f22e51856f4989b970961f794f1c435f9b8f78
/hott/algebra/ordered_group.hlean
3507d6a6678c689f55ce5784edf2247794885bcc
[ "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
34,524
hlean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad Partially ordered additive groups, modeled on Isabelle's library. These classes can be refined if necessary. -/ import algebra.binary algebra.group algebra.order open eq ...
8a234822c41ac20b707d17db6aed05c50ede2abf
56e5b79a7ab4f2c52e6eb94f76d8100a25273cf3
/src/trythis.lean
02be44271e0e9e09186350488703ab2175e57761
[ "Apache-2.0" ]
permissive
DyeKuu/lean-tpe-public
3a9968f286ca182723ef7e7d97e155d8cb6b1e70
750ade767ab28037e80b7a80360d213a875038f8
refs/heads/master
1,682,842,633,115
1,621,330,793,000
1,621,330,793,000
368,475,816
0
0
Apache-2.0
1,621,330,745,000
1,621,330,744,000
null
UTF-8
Lean
false
false
5,045
lean
import evaluation import backends.bfs.openai /-- A tactic that will ring up GPT to ask for help solving a goal. Remember to set the `OPEN_AI_KEY` environment variable. Eg: ```sh # ~/.zshenv export OPEN_AI_KEY="<PUT YOUR SECRET KEY IN HERE>" ``` you may need to relogin to update. `n` is the number of iterations for th...
d9b064d4345e443f9880c206ed410ae3d8e34442
64874bd1010548c7f5a6e3e8902efa63baaff785
/hott/init/trunc.hlean
d8ed45571dd783cb2a50048dfb1e02154ba22f64
[ "Apache-2.0" ]
permissive
tjiaqi/lean
4634d729795c164664d10d093f3545287c76628f
d0ce4cf62f4246b0600c07e074d86e51f2195e30
refs/heads/master
1,622,323,796,480
1,422,643,069,000
1,422,643,069,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,438
hlean
-- Copyright (c) 2014 Microsoft Corporation. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Jeremy Avigad, Floris van Doorn -- Ported from Coq HoTT prelude import .path .logic .datatypes .equiv .types.empty .types.sigma open eq nat sigma unit set_option pp.univer...
2ab965a7bde6d4d149f0faec95a6d47e6d4c986e
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/order/conditionally_complete_lattice.lean
8ab0e6455e3c365a426261c1fc555be1427533c7
[ "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
44,410
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 -/ import order.bounds import data.set.intervals.basic import data.set.finite import data.set.lattice /-! # Theory of conditionally complete lattices. A conditio...
6e01af6dcfdb6bbf3074f946146b17a8ae4b2a69
3618c6e11aa822fd542440674dfb9a7b9921dba0
/src/multirelation/approach1/basic.lean
c92bcde3762eea90aaa16a6e857e5cabf509ada2
[]
no_license
ChrisHughes24/single_relation
99ceedcc02d236ce46d6c65d72caa669857533c5
057e157a59de6d0e43b50fcb537d66792ec20450
refs/heads/master
1,683,652,062,698
1,683,360,089,000
1,683,360,089,000
279,346,432
0
0
null
null
null
null
UTF-8
Lean
false
false
4,300
lean
import coprod.free_group tactic initial order.lexicographic namespace group_rel open native free_group @[derive decidable_rel] def lex_length : Ξ  (w₁ wβ‚‚ : free_group β„•), Prop := Ξ» w₁ wβ‚‚, prod.lex (<) (list.lex (Ξ» i₁ iβ‚‚ : Ξ£ i : β„•, C∞, prod.lex (<) (<) (i₁.1, i₁.2) (iβ‚‚.1, iβ‚‚.2))) (w₁.length, w₁.to_list) (wβ‚‚.le...
9f58435de814243e776aebdb84063e48b9684185
9a0b1b3a653ea926b03d1495fef64da1d14b3174
/tidy/rewrite_search/discovery/suggest.lean
3338af3cd5c94e991bc6fe9262b78a18b00a4985
[ "Apache-2.0" ]
permissive
khoek/mathlib-tidy
8623b27b4e04e7d598164e7eaf248610d58f768b
866afa6ab597c47f1b72e8fe2b82b97fff5b980f
refs/heads/master
1,585,598,975,772
1,538,659,544,000
1,538,659,544,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,142
lean
import tidy.lib.tactic import .bundle namespace tidy.rewrite_search.discovery open tactic private meta def suggest_fail {Ξ± : Type} : format β†’ tactic Ξ± := atrr_fail "suggest" -- Reads the name of a list/single annotated with `[suggest]`. meta def read_suggestion (n : name) : tactic (list name) := do n ← mk_const ...
2e6effb4372753d4b8138098f0d0d78cc5c9a24f
bb31430994044506fa42fd667e2d556327e18dfe
/src/topology/continuous_function/algebra.lean
d0f9763b02ed5b762551ffd9f9e9c1d421c40e9a
[ "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
36,295
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, NicolΓ² Cavalleri -/ import topology.algebra.module.basic import topology.continuous_function.ordered import topology.algebra.uniform_group import topology.uniform_space...
6be3711c93917b7b7200014030cde99612c861ee
46125763b4dbf50619e8846a1371029346f4c3db
/src/data/fintype.lean
132595c1be32c3e3be7815729fa1dd9b194f34fb
[ "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
37,465
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Finite types. -/ import data.finset data.array.lemmas logic.unique import tactic.wlog universes u v variables {Ξ± : Type*} {Ξ² : Type*} {Ξ³ : Type*} /-- `fintype Ξ±` means...
cae70e83c20984dee42685dcf688c5e02c2cd8c7
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/category_theory/limits/functor_category.lean
67ced450efad721f5cd90c51d9f90c145f0ff464
[ "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
4,877
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.products.basic import category_theory.limits.preserves open category_theory category_theory.category namespace category_theory.limits univer...
80417d8d536e035a895838b4535b55ed082637fa
d450724ba99f5b50b57d244eb41fef9f6789db81
/src/instructor/lectures/lecture_29.lean
340a5bfd3f829c982bad6c88c9a8f9611ec53cc1
[]
no_license
jakekauff/CS2120F21
4f009adeb4ce4a148442b562196d66cc6c04530c
e69529ec6f5d47a554291c4241a3d8ec4fe8f5ad
refs/heads/main
1,693,841,880,030
1,637,604,848,000
1,637,604,848,000
399,946,698
0
0
null
null
null
null
UTF-8
Lean
false
false
9,313
lean
import .lecture_28 -- defines sum_up_to /- To review, last time we ended applying induction to define two fundamental total functions, from β„• to β„•. The first returns the sum of all of the natural numbers from zero to any natural number, n. The second returns the product of all of the numbers from 1 up to any natural...
6323c762120fb499ad2207e77e001a138c9aa754
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/data/polynomial/basic.lean
d9f36d58acc9852545e0c296c4a9c0d556301ee1
[ "Apache-2.0" ]
permissive
lacker/mathlib
f2439c743c4f8eb413ec589430c82d0f73b2d539
ddf7563ac69d42cfa4a1bfe41db1fed521bd795f
refs/heads/master
1,671,948,326,773
1,601,479,268,000
1,601,479,268,000
298,686,743
0
0
Apache-2.0
1,601,070,794,000
1,601,070,794,000
null
UTF-8
Lean
false
false
5,499
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 tactic.ring_exp import tactic.chain import data.monoid_algebra import data.finset.sort /-! # Theory of univariate ...
d0e722730e027c78d5f102d426b9996c53d501c7
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/stage0/src/Lean/Meta/DiscrTreeTypes.lean
a8f49bbaa1b38dfc9e299512c5ced6745614ed57
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
tobiasgrosser/lean4
ce0fd9cca0feba1100656679bf41f0bffdbabb71
ebdbdc10436a4d9d6b66acf78aae7a23f5bd073f
refs/heads/master
1,673,103,412,948
1,664,930,501,000
1,664,930,501,000
186,870,185
0
0
Apache-2.0
1,665,129,237,000
1,557,939,901,000
Lean
UTF-8
Lean
false
false
1,160
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.Expr namespace Lean.Meta /-! See file `DiscrTree.lean` for the actual implementation and documentation. -/ namespace DiscrTree inductive Key...
a1e806687a5e9939627f878ab6819d30b9957736
99b5e6372af1f404777312358869f95be7de84a3
/src/hott/hit/quotient.lean
13899aa0dafe217083ffe6e7a1cf052bc3fe56f9
[ "Apache-2.0" ]
permissive
forked-from-1kasper/hott3
8fa064ab5e8c9d6752a783d74ab226ddc5b5232a
2db24de7a361a7793b0eae4ca5c3fd4d4a0fc691
refs/heads/master
1,584,867,131,028
1,530,766,841,000
1,530,766,841,000
139,797,034
0
0
Apache-2.0
1,530,766,961,000
1,530,766,961,000
null
UTF-8
Lean
false
false
11,334
lean
/- Copyright (c) 2017 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Ulrik Buchholtz Quotients. This is a quotient without truncation for an arbitrary type-valued binary relation (graph). See also .set_quotient -/ /- The hit quot...
2de3c0a44a1829440f7b03d138c408e2766e7ae8
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/archive/imo/imo2001_q6.lean
4b96c07090e1c5632f5cd3552c695a376a51068d
[ "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,718
lean
/- Copyright (c) 2021 Sara DΓ­az Real. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sara DΓ­az Real -/ import algebra.associated import tactic.linarith import tactic.linear_combination /-! # IMO 2001 Q6 > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this...
250e0eb098a3e411848b589983493afdbc4c92c5
fecda8e6b848337561d6467a1e30cf23176d6ad0
/src/data/padics/padic_integers.lean
ab4aeeaecb0521d6ee89832b8279f32429e804ce
[ "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
19,937
lean
/- Copyright (c) 2018 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis, Mario Carneiro, Johan Commelin -/ import data.int.modeq import data.zmod.basic import linear_algebra.adic_completion import data.padics.padic_numbers import ring_theo...
3b48f0a3940c8cc61f83052ae88b6e04f2434172
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/def19.lean
e0f87850416f4c94ae41391ad7252bf07755eb99
[ "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
1,605
lean
new_frontend universe u inductive Vec (Ξ± : Type u) : Nat β†’ Type u | nil : Vec Ξ± 0 | cons : Ξ± β†’ {n : Nat} β†’ Vec Ξ± n β†’ Vec Ξ± (n+1) def Vec.append1 {Ξ±} : {m n : Nat} β†’ Vec Ξ± m β†’ Vec Ξ± n β†’ Vec Ξ± (n + m) | _, m, nil, ys => ys | _, m, cons x xs, ys => cons x (append1 xs ys) def Vec.append2 {Ξ±} : {m n : Nat} β†’ Vec ...
37eaa46593038b403b180f826ce852fce706d754
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/group_theory/subgroup/basic.lean
778eb5ef5cf6a8d113f11372c006ad16852e1aa8
[ "Apache-2.0" ]
permissive
jumpy4/mathlib
d3829e75173012833e9f15ac16e481e17596de0f
af36f1a35f279f0e5b3c2a77647c6bf2cfd51a13
refs/heads/master
1,693,508,842,818
1,636,203,271,000
1,636,203,271,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
97,808
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.pointwise import group_theory.submonoid.membership import group_theory.submonoid.center import algebra.group.conj import order.atoms /-! # Su...
f8df1b9eea6ec59c495975ed847b3e762f937277
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/tests/lean/run/tacticExtOverlap.lean
e163b8bc7241f0abf46b16f8af6b9d5e0ffd5da0
[ "Apache-2.0" ]
permissive
collares/lean4
861a9269c4592bce49b71059e232ff0bfe4594cc
52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee
refs/heads/master
1,691,419,031,324
1,618,678,138,000
1,618,678,138,000
358,989,750
0
0
Apache-2.0
1,618,696,333,000
1,618,696,333,000
null
UTF-8
Lean
false
false
541
lean
open Lean syntax (name := myintro) "intros" sepBy(ident, ",") : tactic macro_rules [myintro] | `(tactic| intros $x,*) => pure $ Syntax.node `Lean.Parser.Tactic.intros #[mkAtom "intros", mkNullNode x] theorem tst1 {p q : Prop} : p β†’ q β†’ p := by { intros h1, h2; assumption } theorem tst2 {p q : Prop} : p β†’ q β†’ p ...
d6da7202179a3bfe9a0bb3a5f3449707da711ba6
02fbe05a45fda5abde7583464416db4366eedfbf
/library/init/data/list/instances.lean
fb199761638796dade78ab48c0799e932ff13099
[ "Apache-2.0" ]
permissive
jasonrute/lean
cc12807e11f9ac6b01b8951a8bfb9c2eb35a0154
4be962c167ca442a0ec5e84472d7ff9f5302788f
refs/heads/master
1,672,036,664,637
1,601,642,826,000
1,601,642,826,000
260,777,966
0
0
Apache-2.0
1,588,454,819,000
1,588,454,818,000
null
UTF-8
Lean
false
false
1,822
lean
/- Copyright (c) 2016 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.list.lemmas open list universes u v local attribute [simp] join list.ret instance : monad list := { pure := @list.ret, map := @l...
313f5b9e35a7168ec40c7ac3f5844efabcf4b656
4727251e0cd73359b15b664c3170e5d754078599
/src/data/set/intervals/surj_on.lean
2a55228f2367503f199be7ad2a21160e1f542b51
[ "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
3,362
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 data.set.intervals.basic import data.set.function /-! # Monotone surjective functions are surjective on intervals A monotone surjective function sends any ...
b04952c720726266de65b87992ad306b002f6af3
63abd62053d479eae5abf4951554e1064a4c45b4
/src/number_theory/dioph.lean
f913dd17802531ecb0a0c871e1186f06ecbe5cd9
[ "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
33,618
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 number_theory.pell import data.pfun import data.fin2 universe u open nat function namespace int lemma eq_nat_abs_iff_mul (x n) : nat_abs x = n ↔ (x - n) * ...
d8c5119def6c42e7f2c7f02c11a6ba3765c6d51f
94096349332b0a0e223a22a3917c8f253cd39235
/src/game/world3/level8.lean
f8987c2c4c783d68f30d3404b11ecabec7720246
[]
no_license
robertylewis/natural_number_game
26156e10ef7b45248549915cc4d1ab3d8c3afc85
b210c05cd627242f791db1ee3f365ee7829674c9
refs/heads/master
1,598,964,725,038
1,572,602,236,000
1,572,602,236,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,723
lean
import game.world3.level7 -- hide namespace mynat -- hide /- # Multiplication World ## Level 8: `mul_comm` Finally, the boss level of multiplication world. But (assuming you didn't cheat) you are well-prepared for it -- you have `zero_mul` and `mul_zero`, as well as `succ_mul` and `mul_succ`. After this level you ca...
5d4d047a9b1ddfe18e6adff6086290f13ee7f526
3f7026ea8bef0825ca0339a275c03b911baef64d
/src/analysis/normed_space/banach.lean
e8b803d9b2f662ee6806f34d892e27568e19c2f5
[ "Apache-2.0" ]
permissive
rspencer01/mathlib
b1e3afa5c121362ef0881012cc116513ab09f18c
c7d36292c6b9234dc40143c16288932ae38fdc12
refs/heads/master
1,595,010,346,708
1,567,511,503,000
1,567,511,503,000
206,071,681
0
0
Apache-2.0
1,567,513,643,000
1,567,513,643,000
null
UTF-8
Lean
false
false
10,494
lean
/- Copyright (c) 2019 SΓ©bastien GouΓ«zel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: SΓ©bastien GouΓ«zel Banach spaces, i.e., complete vector spaces. This file contains the Banach open mapping theorem, i.e., the fact that a bijective bounded linear map between Banac...
4d7eeeb2ec3ea97bffc415fa35f5aece360d38c4
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/09_Type_Classes.org.12.lean
18ef85b2140737de7fda133ee229734a9254abe5
[]
no_license
cjmazey/lean-tutorial
ba559a49f82aa6c5848b9bf17b7389bf7f4ba645
381f61c9fcac56d01d959ae0fa6e376f2c4e3b34
refs/heads/master
1,610,286,098,832
1,447,124,923,000
1,447,124,923,000
43,082,433
0
0
null
null
null
null
UTF-8
Lean
false
false
161
lean
import standard namespace hide -- BEGIN inductive decidable [class] (p : Prop) : Type := | inl : p β†’ decidable p | inr : Β¬p β†’ decidable p -- END end hide
c4e5af775fc16a4c6ac3f48c31855119f7a0fc77
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/computability/turing_machine.lean
e8a283b317b00305f8d9e1166d55b55830a444cd
[ "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
110,110
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.fintype.option import data.fintype.prod import data.fintype.pi import data.vector.basic import data.pfun import logic.function.iterate import order.basic ...
9386a72df5d3ba9fb04dae6e6ef841332cf8baca
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/tactic/monotonicity/basic.lean
870497709577f2364619c1e1d35ca4d13b61184a
[ "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,452
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...
c884098311ce7c8c8bfacc3cbfb7f90937f3f8f6
7da5ceac20aaab989eeb795a4be9639982e7b35a
/src/category_theory/basic.lean
f9bdb8fb6b430c823c1756d4ea6dfd992dfa974c
[ "MIT" ]
permissive
formalabstracts/formalabstracts
46c2f1b3a172e62ca6ffeb46fbbdf1705718af49
b0173da1af45421239d44492eeecd54bf65ee0f6
refs/heads/master
1,606,896,370,374
1,572,988,776,000
1,572,988,776,000
96,763,004
165
28
null
1,555,709,319,000
1,499,680,948,000
Lean
UTF-8
Lean
false
false
322
lean
import category_theory.category tactic.omitted @[obviously] meta def obviously_omitted : tactic unit := tactic.interactive.omitted open category_theory universes v u variables {C : Type u} [h : category.{v} C] {X Y Z : C} include h def factors_through (f : X ⟢ Z) (g : Y ⟢ Z) : Prop := βˆƒ(h : X ⟢ Y), f = h ≫ g
db90469afcf67d6c643ac0822de4cf4a92775a04
4727251e0cd73359b15b664c3170e5d754078599
/src/linear_algebra/finite_dimensional.lean
aa8c27228f419892b4a5d75f1c3eb69e96e02192
[ "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
75,106
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 algebra.algebra.subalgebra.basic import field_theory.finiteness /-! # Finite dimensional vector spaces Definition and basic properties of finite dimensional vect...
fec32a2b15bf2ff794f13c91c26a274323cabfeb
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/order/category/Preord.lean
1ca4aea91d877ad25f1f29697061e11d328323b7
[ "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,615
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 category_theory.category.Cat import category_theory.category.preorder import category_theory.concrete_category.bundled_hom import order.hom.basic /-! # Catego...
0abba121d8d53fe0563472e4ba33e0bb1a2bd943
649957717d58c43b5d8d200da34bf374293fe739
/src/category_theory/functor.lean
3b43da66c905932609c07edae29522f1dc87b4ca
[ "Apache-2.0" ]
permissive
Vtec234/mathlib
b50c7b21edea438df7497e5ed6a45f61527f0370
fb1848bbbfce46152f58e219dc0712f3289d2b20
refs/heads/master
1,592,463,095,113
1,562,737,749,000
1,562,737,749,000
196,202,858
0
0
Apache-2.0
1,562,762,338,000
1,562,762,337,000
null
UTF-8
Lean
false
false
3,128
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 Defines a functor between categories. (As it is a 'bundled' object rather than the `is_functorial` typeclass parametrised by the underlyin...
0794cba582819c24b914f17af8fb980fbb623224
367134ba5a65885e863bdc4507601606690974c1
/src/topology/instances/real_vector_space.lean
fa9aabb048c51ae95efc984cb5deaf0c26e65139
[ "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
1,498
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Yury Kudryashov -/ import topology.algebra.module import topology.instances.real /-! # Continuous additive maps are `ℝ`-linear In this file we prove that a continuous map `f : E β†’+ F...
71c19ba218846bec4a04eb99f8b8e2f4b5392aea
82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7
/src/Init/LeanInit.lean
18df55ec787f5cf4aa87cfaf3f13e39e6fe0a212
[ "Apache-2.0" ]
permissive
banksonian/lean4
3a2e6b0f1eb63aa56ff95b8d07b2f851072d54dc
78da6b3aa2840693eea354a41e89fc5b212a5011
refs/heads/master
1,673,703,624,165
1,605,123,551,000
1,605,123,551,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
23,070
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 and Sebastian Ullrich -/ prelude import Init.Data.Option.BasicAux import Init.Data.String.Basic import Init.Data.Array.Basic import Init.Data.UInt import Init....
7f47ff6b0cb38d31ecace661bdb8acea1275222e
49ffcd4736fa3bdcc1cdbb546d4c855d67c0f28a
/tests/lean/run/local_shadowing_projection.lean
595a0095b70a5db7e47c898804689edf2243b0a9
[ "Apache-2.0" ]
permissive
black13/lean
979e24d09e17b2fdf8ec74aac160583000086bc8
1a80ea9c8e28902cadbfb612896bcd45ba4ce697
refs/heads/master
1,626,839,620,164
1,509,113,016,000
1,509,122,889,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
74
lean
namespace prod def foo (a : nat Γ— nat) (cmp : nat) := a.cmp end prod