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
69a730ee928acf4b8d84be1597ce7a060589000a
9a0b1b3a653ea926b03d1495fef64da1d14b3174
/tidy/rewrite_search/metric/edit_distance_cm.lean
474ba4648cd2d1036c31313271790717291a2c13
[ "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
1,200
lean
import tidy.rewrite_search.core import tidy.rewrite_search.metric.edit_distance open tidy.rewrite_search open tidy.rewrite_search.edit_distance open tidy.rewrite_search.metric.edit_distance namespace tidy.rewrite_search.metric.edit_distance.weight.cm def cm_of_side (l : list token) (s : side) : list ℚ := let (tot,...
3b727a810c20344329b98976778df6a4734e05d5
63abd62053d479eae5abf4951554e1064a4c45b4
/src/category_theory/abelian/pseudoelements.lean
712e547675efd9128f602e462307549594fa67d0
[ "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
18,930
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.abelian.exact import category_theory.over /-! # Pseudoelements in abelian categories A *pseudoelement* of an object `X` in an abelian category ...
c9c29d2f3b4a447ce1d18076238420ded98c9a86
35b83be3126daae10419b573c55e1fed009d3ae8
/_target/deps/mathlib/data/equiv/basic.lean
94fa124f0e8c8cad8561e6c0aa31e02a9084fc3b
[]
no_license
AHassan1024/Lean_Playground
ccb25b72029d199c0d23d002db2d32a9f2689ebc
a00b004c3a2eb9e3e863c361aa2b115260472414
refs/heads/master
1,586,221,905,125
1,544,951,310,000
1,544,951,310,000
157,934,290
0
0
null
null
null
null
UTF-8
Lean
false
false
28,902
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Mario Carneiro In the standard library we cannot assume the univalence axiom. We say two types are equivalent if they are isomorphic. Two equivalent types h...
389700f3db175039e0d9593f330e0d4cbc5fc592
48f4f349e1bb919d14ab7e5921d0cfe825f4c423
/fabstract/Green_B_and_Tao_T_ArithmeticProgressionsInPrimes/fabstract.lean
1836410cb80268e3a706df6f86a0212cc1ccde9d
[]
no_license
thalesant/formalabstracts-2017
fdf4ff90d30ab1dcb6d4cf16a068a997ea5ecc80
c47181342c9e41954aa8d41f5049965b5f332bca
refs/heads/master
1,584,610,453,925
1,528,277,508,000
1,528,277,508,000
136,299,625
0
0
null
null
null
null
UTF-8
Lean
false
false
999
lean
import meta_data namespace Green_B_and_Tao_T_ArithmeticProgressionsInPrimes def prime (n : nat) : Prop := n > 1 ∧ (∀ m < n, (m = 0) ∨ (m = 1) ∨ (n % m ≠ 0)) -- A statement of Green & Tao's theorem about arithmetic progressions in primes axiom arithmetic_progressions_in_primes : ∀ n k : nat, ∃ m ≥ n, ∃ r ≥ 1, ∀ i < k...
01a3bad9ee481ae237a1ba1f284da7020b7f75b5
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/linear_algebra/affine_space/independent.lean
f452da9d6a21217467a76fb2b732d86d40e1d013
[ "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
21,893
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 data.finset.sort import data.matrix.notation import linear_algebra.affine_space.combination import linear_algebra.basis noncomputable theory open_locale big_opera...
918d50b3b7cf61a8f3a23352c893e59dd23f22da
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/playground/hash.lean
e5b5a3762bfdb2b245104d1c64495394cf96fc2f
[ "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
570
lean
import init.data.hashmap.basic def mkMap (s : String) : Nat → HashMap String Nat → HashMap String Nat | 0 m := m | (n+1) m := mkMap n (m.insert (s ++ toString n) n) def checkMap (s : String) (m : HashMap String Nat) : Nat → IO Unit | 0 := pure () | (n+1) := do let key := s ++ toString n, unless (m.contain...
2dfbefa4f6ba5c1ecea890275677b60d9f56bb2c
3dd1b66af77106badae6edb1c4dea91a146ead30
/tests/lean/run/t1.lean
9d2f3d6748f2cede51bef924c1183feb4b5f0d62
[ "Apache-2.0" ]
permissive
silky/lean
79c20c15c93feef47bb659a2cc139b26f3614642
df8b88dca2f8da1a422cb618cd476ef5be730546
refs/heads/master
1,610,737,587,697
1,406,574,534,000
1,406,574,534,000
22,362,176
1
0
null
null
null
null
UTF-8
Lean
false
false
317
lean
definition Prop : Type.{1} := Type.{0} print raw ((Prop)) print raw Prop print raw fun (x y : Prop), x x print raw fun (x y : Prop) {z : Prop}, x y print raw λ [x y : Prop] {z : Prop}, x z print raw Pi (x y : Prop) {z : Prop}, x print raw ∀ (x y : Prop) {z : Prop}, x print raw forall {x y : Prop} w {z : Prop}, x
1ecfb56d1c842eaa55d6e4e28c5a8ed894e227c6
e61a235b8468b03aee0120bf26ec615c045005d2
/stage0/src/Init/Control/EState.lean
63a54be6ef214b3f01d691587a817c52607f22da
[ "Apache-2.0" ]
permissive
SCKelemen/lean4
140dc63a80539f7c61c8e43e1c174d8500ec3230
e10507e6615ddbef73d67b0b6c7f1e4cecdd82bc
refs/heads/master
1,660,973,595,917
1,590,278,033,000
1,590,278,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,607
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.Control.State import Init.Control.Except universes u v namespace EStateM inductive Result (ε σ α : Type u) | ok : α → σ → Result | ...
c3a65a85b16dd7bd80fb9068a4643344320a06e6
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Compiler/LCNF/SpecInfo.lean
d0553efe669e591de7dafcb2a6a0e035b2e4a1d2
[ "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
8,611
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.Specialize import Lean.Compiler.LCNF.FixedParams import Lean.Compiler.LCNF.InferType namespace Lean.Compiler.LCNF /-- Each parameter ...
23ffbd35580295578a0e0ed19291badd6d903533
c777c32c8e484e195053731103c5e52af26a25d1
/src/analysis/complex/cauchy_integral.lean
d285e42c300b93223136435d20f727e71bf19d04
[ "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
37,811
lean
/- Copyright (c) 2021 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import measure_theory.measure.complex_lebesgue import measure_theory.integral.divergence_theorem import measure_theory.integral.circle_integral import analysis.calc...
fe7938bdb3e6d9fa1526a0347fa41c539c59b9e5
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/mathport_issue16.lean
b332353c513749e58196016431db22e39e1ecabf
[ "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
116
lean
class Foo (α : Type) where x : α instance : CoeSort (Foo α) Type where coe _ := α #check @id (Foo.mk ()) ()
70718577b1b22bebf6d7d7c4c6d3d772b9d2e795
359199d7253811b032ab92108191da7336eba86e
/src/instructor/lectures/lecture_2.lean
b4b5ef0b503a01070fab73dc688e0ecfaa65e3af
[]
no_license
arte-et-marte/my_cs2120f21
0bc6215cb5018a3b7c90d9d399a173233f587064
91609c3609ad81fda895bee8b97cc76813241e17
refs/heads/main
1,693,298,928,348
1,634,931,202,000
1,634,931,202,000
399,946,705
0
0
null
null
null
null
UTF-8
Lean
false
false
5,798
lean
/- In this file, we give formal statements (our version) of the two axioms of equality. We also present Lean's versions of these rules, and show how you can use them without giving all of the arguments explicitly. -/ /- INFERENCE RULE #1/2: EQUALITY IS REFLEXIVE Everything is equal to itself. A bit more formally, if ...
8e2f00b3fcb28137e04899cd58ebc104357ce41f
0c1546a496eccfb56620165cad015f88d56190c5
/tests/lean/run/auto_quote1.lean
a3b712bc2d6e6aed2ce3cbda496c8bc23096934e
[ "Apache-2.0" ]
permissive
Solertis/lean
491e0939957486f664498fbfb02546e042699958
84188c5aa1673fdf37a082b2de8562dddf53df3f
refs/heads/master
1,610,174,257,606
1,486,263,620,000
1,486,263,620,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,938
lean
example (a b c : nat) : a = b → b = c → c = a := begin intros, apply eq.symm, apply eq.trans, assumption, assumption end example (a b c : nat) : a = b → b = c → c = a := begin intro h1, intro h2, refine eq.symm (eq.trans h1 _), exact h2 end example (a b c : nat) : a = b → b = c → c = a := begin in...
6e6f4ff004b40dc89e6ec19c4f8d25c4bf90c0c1
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/library/algebra/group_set_bigops.lean
cc5da4260c3814197391dec74c608c344d4edea5
[ "Apache-2.0" ]
permissive
YHVHvx/lean
732bf0fb7a298cd7fe0f15d82f8e248c11db49e9
038369533e0136dd395dc252084d3c1853accbf2
refs/heads/master
1,610,701,080,210
1,449,128,595,000
1,449,128,595,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,945
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad Set-based version of group_bigops. -/ import .group_bigops data.set.finite open set classical namespace algebra namespace set variables {A B : Type} /- Prod: product in...
c1e2519dd98e4cf2b03673e3558ed67ffee67934
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/localization/predicate.lean
3e6a05039647cd3c1b99c683be68070f71d2e811
[ "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
15,675
lean
/- Copyright (c) 2022 Joël Riou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joël Riou -/ import category_theory.localization.construction /-! # Predicate for localized categories In this file, a predicate `L.is_localization W` is introduced for a functor `L : C...
74025bb1a25f9ac59e7dd81c3153ef3576c517bc
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/tests/lean/run/floatarray.lean
a6e04e82e45345b0a0d1287c409a7b71ca90e508
[ "Apache-2.0" ]
permissive
walterhu1015/lean4
b2c71b688975177402758924eaa513475ed6ce72
2214d81e84646a905d0b20b032c89caf89c737ad
refs/heads/master
1,671,342,096,906
1,599,695,985,000
1,599,695,985,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
258
lean
def tst : IO Unit := do let bs := [(1 : Float), 2, 3].toFloatArray; IO.println bs; let bs := bs.push (4 : Float); let bs := bs.set! 1 (20 / 3); IO.println bs; let bs₁ := bs.set! 2 30; IO.println bs₁; IO.println bs; IO.println bs.size; pure () #eval tst
b2242e6ee1bd19a92644bdf7e02c0c49ab0dfa6c
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebraic_geometry/limits.lean
6268fba92246ee841e0ee8b7e3da9125cec9c82a
[ "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
4,503
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 algebraic_geometry.pullbacks import algebraic_geometry.AffineScheme /-! # (Co)Limits of Schemes We construct various limits and colimits in the category of schemes...
f46d64798252793ea59279a846e0e0b1990b1d3d
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/ring_theory/fractional_ideal.lean
e3440a4d923037509082d52c0bbb4be341cbf792
[ "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
14,320
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen Fractional ideals of an integral domain. -/ import ring_theory.algebra_operations import ring_theory.localization /-! # Fractional ideals This file defines fractional ideal...
7e45395502232ccd5d5beebdf1416fdf62d5f7c3
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/tactic/observe.lean
7e63eebcae46568bfa5749b0d397bdd1c4af2109
[ "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,498
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 tactic.suggest /-! # observe The `observe` tactic is mainly intended for demo/educational purposes. Calling `observe hp : p` is equivalent to `have hp : p, ...
cab453b010d8db0bc5af67ca7a97e90c236e30e4
8b9f17008684d796c8022dab552e42f0cb6fb347
/tests/lean/run/calc_heq_symm.lean
b444c2b3ee1851de4c1294281bafb8dc879cba36
[ "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
292
lean
import logic theorem tst {A B C D : Type} {a₁ a₂ : A} {b : B} {c : C} {d : D} (H₀ : a₁ = a₂) (H₁ : a₂ == b) (H₂ : b == c) (H₃ : c == d) : d == a₁ := calc d == c : H₃ ... == b : H₂ ... == a₂ : H₁ ... = a₁ : H₀ print definition tst
c0536832214ec7955de2b70aa5d481c1cea1668c
5883d9218e6f144e20eee6ca1dab8529fa1a97c0
/src/data/finset/extra.lean
392713fbe0a2138206439364c995be7f4ff23766
[]
no_license
spl/alpha-conversion-is-easy
0d035bc570e52a6345d4890e4d0c9e3f9b8126c1
ed937fe85d8495daffd9412a5524c77b9fcda094
refs/heads/master
1,607,649,280,020
1,517,380,240,000
1,517,380,240,000
52,174,747
4
0
null
1,456,052,226,000
1,456,001,163,000
Lean
UTF-8
Lean
false
false
550
lean
/- This file contains extra definitions and theorems for `finset`. -/ import data.finset namespace finset --------------------------------------------------------------- variables {A : Type} [decidable_eq A] {a b : A} {s : finset A} -- Given `s : finset A`, `a ∈ s`, and `b ∉ s`, show that `a ≠ b`. theorem ne_of_m...
70f404764a8c98809b1810cc0c1cae0f4d1389c7
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/order/min_max.lean
b8652ef33265562cd6f81db88612f93f4e89fe21
[ "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
7,342
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 order.lattice /-! # `max` and `min` > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > https://github.com/leanprover-community/mathlib4/pull/728 > Any changes to t...
6795358606d808b30bdffee50a0630a995a1ab13
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/stage0/src/Init/Data/Stream.lean
fc1f07a7e7b20756e231f8a9d0771a6d676f5de3
[ "Apache-2.0" ]
permissive
williamdemeo/lean4
72161c58fe65c3ad955d6a3050bb7d37c04c0d54
6d00fcf1d6d873e195f9220c668ef9c58e9c4a35
refs/heads/master
1,678,305,356,877
1,614,708,995,000
1,614,708,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,178
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich, Andrew Kent, Leonardo de Moura -/ prelude import Init.Data.Array.Subarray import Init.Data.Range /- Remark: we considered using the following alternative des...
c59a57ada830c912d1cb83bf99004fffe7509000
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/control/monad/writer.lean
f2c720f70eef073651d26a83cf74d35c3f3ada39
[ "Apache-2.0" ]
permissive
robertylewis/mathlib
3d16e3e6daf5ddde182473e03a1b601d2810952c
1d13f5b932f5e40a8308e3840f96fc882fae01f0
refs/heads/master
1,651,379,945,369
1,644,276,960,000
1,644,276,960,000
98,875,504
0
0
Apache-2.0
1,644,253,514,000
1,501,495,700,000
Lean
UTF-8
Lean
false
false
7,924
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon The writer monad transformer for passing immutable state. -/ import algebra.group.defs import data.equiv.basic universes u v w u₀ u₁ v₀ v₁ structure writer_t (ω :...
92f0ddbc3edfb460e55153a871bcc8c1c8d60e4e
7cef822f3b952965621309e88eadf618da0c8ae9
/src/topology/maps.lean
c86d300107ffaa845b314f7c5553edf73014fbd7
[ "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
15,256
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...
29030c141afb5d3e55c1b088f32061e2c5f31e40
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/analysis/convex.lean
9ae75f68a724af02b102a2d8d1e080cb6a18dc52
[ "Apache-2.0" ]
permissive
fpvandoorn/mathlib
b21ab4068db079cbb8590b58fda9cc4bc1f35df4
b3433a51ea8bc07c4159c1073838fc0ee9b8f227
refs/heads/master
1,624,791,089,608
1,556,715,231,000
1,556,715,231,000
165,722,980
5
0
Apache-2.0
1,552,657,455,000
1,547,494,646,000
Lean
UTF-8
Lean
false
false
28,155
lean
/- Copyright (c) 2019 Alexander Bentkamp. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp Convex sets and functions on real vector spaces -/ import analysis.normed_space.basic import data.complex.basic import data.set.intervals import tactic.interac...
5eadd2461a2b1552f66b6696f574f2769b158b58
c777c32c8e484e195053731103c5e52af26a25d1
/src/number_theory/legendre_symbol/mul_character.lean
e3c827cc2fb1b89ea91a451eb494a193cb3bad3a
[ "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
17,627
lean
/- Copyright (c) 2022 Michael Stoll. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Michael Stoll -/ import algebra.char_p.basic import algebra.euclidean_domain.instances import data.fintype.units /-! # Multiplicative characters of finite rings and fields Let `R` and...
ebbcde616f188137561b0aff8348abeb0d9031db
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/algebra/direct_sum/module.lean
dc76dae379fcbc9c7bc5a7189f32a502ab2093b9
[ "Apache-2.0" ]
permissive
ayush1801/mathlib
78949b9f789f488148142221606bf15c02b960d2
ce164e28f262acbb3de6281b3b03660a9f744e3c
refs/heads/master
1,692,886,907,941
1,635,270,866,000
1,635,270,866,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,550
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.direct_sum.basic import linear_algebra.dfinsupp /-! # Direct sum of modules over commutative rings, indexed by a discrete type. This file provides constructors...
097ae6e7da6812ac175a627722e00de50448d2f9
b2e508d02500f1512e1618150413e6be69d9db10
/src/measure_theory/borel_space.lean
bf28d92d5bd5e05aa6adacb54f038d5f041080f6
[ "Apache-2.0" ]
permissive
callum-sutton/mathlib
c3788f90216e9cd43eeffcb9f8c9f959b3b01771
afd623825a3ac6bfbcc675a9b023edad3f069e89
refs/heads/master
1,591,371,888,053
1,560,990,690,000
1,560,990,690,000
192,476,045
0
0
Apache-2.0
1,568,941,843,000
1,560,837,965,000
Lean
UTF-8
Lean
false
false
20,995
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 Borel (measurable) space -- the smallest σ-algebra generated by open sets It would be nice to encode this in the topological space type class, i.e. each topological sp...
ede3ef453321d1d510db5dd62448283f6a4870ff
0c1546a496eccfb56620165cad015f88d56190c5
/library/init/meta/match_tactic.lean
a91d8623410c9bac858b2d7f1b4c15ed46494a9f
[ "Apache-2.0" ]
permissive
Solertis/lean
491e0939957486f664498fbfb02546e042699958
84188c5aa1673fdf37a082b2de8562dddf53df3f
refs/heads/master
1,610,174,257,606
1,486,263,620,000
1,486,263,620,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,966
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.meta.tactic init.function namespace tactic meta structure pattern := /- Term to match. -/ (target : expr) /- Set of terms that is insta...
26a49259ca38d845f09b0ea372ca493a20b5b1f2
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/omega/clause.lean
eedc711e8295ccaec6db6d327c82c3ac1f0c06b4
[]
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
1,703
lean
/- Copyright (c) 2019 Seul Baek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Seul Baek -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.omega.term import Mathlib.PostPort namespace Mathlib /- Definition of linear constrain clause...
036ec9ff4a29c2fb369f2db52e22a9902187c36a
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebraic_topology/extra_degeneracy.lean
fe97e110dc13168c48810ae7ed8a6b602e417a3f
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
15,573
lean
/- Copyright (c) 2022 Joël Riou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joël Riou -/ import algebraic_topology.alternating_face_map_complex import algebraic_topology.simplicial_set import algebraic_topology.cech_nerve import algebra.homology.homotopy import ta...
53b46c1fd6b7163d044a278a5784012ee26dd5c1
d406927ab5617694ec9ea7001f101b7c9e3d9702
/archive/100-theorems-list/83_friendship_graphs.lean
a60e1e69bdf6a5e5ff9e61fbb710261c22fa40ae
[ "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
13,788
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson, Jalex Stark, Kyle Miller -/ import combinatorics.simple_graph.adj_matrix import linear_algebra.matrix.charpoly.finite_field import data.int.modeq import data.zmod.basic...
59ea13623b98da9e5370239b6c623f0f38338e46
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/anonymous_ctor_error_msg.lean
916537c04c8b324aceacd3d4b8b6dbecd3634069
[ "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
318
lean
structure Foo := (n : Nat) def Foo.sum (xs : List Foo) : Foo := xs.foldl (λ s x => ⟨s.n + x.n⟩) ⟨0⟩ #check let x1 := ⟨1⟩ let x2 := ⟨2⟩ let x3 := ⟨3⟩ -- let x4 := ⟨4⟩; -- If this line is uncommented we get the error at `⟨` let x5 := ⟨5⟩ let x6 := ⟨6⟩ Foo.sum [x1, x2, x3, x5, x6]
bd2239a2a2bc8a638e0bb307c0dbd0647b81d479
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/src/Init/Data/Char/Basic.lean
fb504c7486b26cfe825ebca79051478fe66e25bc
[ "Apache-2.0" ]
permissive
mhuisi/lean4
28d35a4febc2e251c7f05492e13f3b05d6f9b7af
dda44bc47f3e5d024508060dac2bcb59fd12e4c0
refs/heads/master
1,621,225,489,283
1,585,142,689,000
1,585,142,689,000
250,590,438
0
2
Apache-2.0
1,602,443,220,000
1,585,327,814,000
C
UTF-8
Lean
false
false
2,839
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.UInt @[inline, reducible] def isValidChar (n : UInt32) : Prop := n < 0xd800 ∨ (0xdfff < n ∧ n < 0x110000) /-- The `Char` Type repr...
7f3090cd6b969d6864ced58daa423376a1a3cbe2
63abd62053d479eae5abf4951554e1064a4c45b4
/src/tactic/unfold_cases.lean
25e34d3ccebd4c213a6071b4096d9b25ea102b3b
[ "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
6,292
lean
/- Copyright (c) 2020 Dany Fabian. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Dany Fabian -/ import tactic.split_ifs /-! # Unfold cases tactic In Lean, pattern matching expressions are not atomic parts of the syntax, but rather they are compiled down into s...
a3c409ed28f7c186d7b1c9715e203359cf895407
2bafba05c98c1107866b39609d15e849a4ca2bb8
/src/week_3/kb_solutions/Part_A_limits_solutions.lean
55c1030e3bae046f0903781cf2eff1807f40fa88
[ "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
29,409
lean
-- need the real numbers import data.real.basic -- need the tactics import tactic /- # Limits We develop a theory of limits of sequences a₀, a₁, a₂, … of reals, following the way is it traditionally done in a first year undergraduate mathematics course. ## Overview of the file This file contains the basic definiti...
8ef7aacc65ec16fad12a55aad63f6fea6b5c38ca
2d34dfb0a1cc250584282618dc10ea03d3fa858e
/src/normed_with_aut.lean
3a5281d13eab3c4ea96839cb7de77e60f57836c2
[]
no_license
zeta1999/lean-liquid
61e294ec5adae959d8ee1b65d015775484ff58c2
96bb0fa3afc3b451bcd1fb7d974348de2f290541
refs/heads/master
1,676,579,150,248
1,610,771,445,000
1,610,771,445,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
423
lean
import NormedGroup /-- A `normed_with_aut r V` structure on a normed abelian group `V` consists of an automorphism `T` satisfying `∥T v∥ = r * ∥v∥`. In other words, it is a normed `ℤ[T^{±1}]`-module satisfying `∥T v∥ = r * ∥v∥`. Definition 8.13 of [Analytic] -/ class normed_with_aut (r : out_param ℝ) (V : NormedGrou...
694466d9342628071e56a6245a2d57dee6fe6557
9dc8cecdf3c4634764a18254e94d43da07142918
/src/topology/instances/real.lean
226dbffb45a0fda79268430781718544a5209f35
[ "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
11,027
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 topology.metric_space.basic import topology.algebra.uniform_group import topology.algebra.uniform_mul_action import topology.algebra.ring impor...
6e6b275e6d64d13a6144e82d01e0b2b4944da64c
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/lean/phashmap_inst_coherence.lean
c335013e27d4883cd7870ecfe1e07699b0cbb943
[ "Apache-2.0" ]
permissive
mhuisi/lean4
28d35a4febc2e251c7f05492e13f3b05d6f9b7af
dda44bc47f3e5d024508060dac2bcb59fd12e4c0
refs/heads/master
1,621,225,489,283
1,585,142,689,000
1,585,142,689,000
250,590,438
0
2
Apache-2.0
1,602,443,220,000
1,585,327,814,000
C
UTF-8
Lean
false
false
361
lean
import Init.Data.PersistentHashMap def m : PersistentHashMap Nat Nat := let m : PersistentHashMap Nat Nat := {}; m.insert 1 1 def natDiffHash : Hashable Nat := ⟨fun n => USize.ofNat $ n+10⟩ -- The following example should fail since the `Hashable` instance used to create `m` is not `natDiffHash` #eval @PersistentHas...
a6c64b12fb6502168949e3685d1b8926d5feef97
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/order/filter/default.lean
20469ede615cc56cde4ac0cea10d0d8e695ab1f3
[ "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
lean
import order.filter.partial
5b0f542172ab038edd12667c0a1165f21a3bbaf9
ebf7140a9ea507409ff4c994124fa36e79b4ae35
/src/solutions/thursday/category_theory/exercise5.lean
43ee1b00700ec5b345670987eeaa29f8a5da9556
[]
no_license
fundou/lftcm2020
3e88d58a92755ea5dd49f19c36239c35286ecf5e
99d11bf3bcd71ffeaef0250caa08ecc46e69b55b
refs/heads/master
1,685,610,799,304
1,624,070,416,000
1,624,070,416,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,685
lean
import category_theory.preadditive import category_theory.limits.shapes.biproducts /-! We prove that biproducts (direct sums) are preserved by any preadditive functor. This result is not in mathlib, so full marks for the exercise are only achievable if you contribute to a pull request! :-) -/ noncomputable theory o...
d6fa72f0ea666cb2c4e9a0b36003f0e9fe33475d
6214e13b31733dc9aeb4833db6a6466005763162
/src/freevars.lean
6ff96fc9c0470ffa2498894c1af40c3381150618
[]
no_license
joshua0pang/esverify-theory
272a250445f3aeea49a7e72d1ab58c2da6618bbe
8565b123c87b0113f83553d7732cd6696c9b5807
refs/heads/master
1,585,873,849,081
1,527,304,393,000
1,527,304,393,000
154,901,199
1
0
null
1,540,593,067,000
1,540,593,067,000
null
UTF-8
Lean
false
false
82,069
lean
-- lemmas about free variables and environments import .definitions3 lemma free_in_term.value.inv {x: var} {v: value}: ¬ free_in_term x v := assume x_free_in_v: free_in_term x v, show «false», by cases x_free_in_v lemma free_in_term.var.inv {x y: var}: free_in_term x y → (x = y) := assume x_free_in_y: free_in_...
a26796c7f92778d5f6fb6768aa4d50dda8fe89dd
e61a235b8468b03aee0120bf26ec615c045005d2
/src/Init/Lean/Class.lean
f5d8e9f7c6bdeccbdebb5ca177b5b593057dcc52
[ "Apache-2.0" ]
permissive
SCKelemen/lean4
140dc63a80539f7c61c8e43e1c174d8500ec3230
e10507e6615ddbef73d67b0b6c7f1e4cecdd82bc
refs/heads/master
1,660,973,595,917
1,590,278,033,000
1,590,278,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,135
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.Attributes namespace Lean inductive ClassEntry | «class» (name : Name) (hasOutParam : Bool) | «instance» (name : Name) (ofClas...
0b969f084b7e2074fc4d606ded6310da493cd7e1
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/forInUniv.lean
7edf2ee9657338c4610ae0816f41c79f457b7549
[ "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
417
lean
universe u def f {α : Type u} [BEq α] (xs : List α) (y : α) : α := Id.run <| do for x in xs do if x == y then return x return y structure S := (key val : Nat) instance : BEq S := ⟨fun a b => a.key == b.key⟩ theorem ex1 : f (α := S) [⟨1, 2⟩, ⟨3, 4⟩, ⟨5, 6⟩] ⟨3, 0⟩ = ⟨3, 4⟩ := rfl theorem ex2 : f (α := S) [⟨1,...
734b51936211fa4aa3dc209386c672a2f2c92dc7
b074a51e20fdb737b2d4c635dd292fc54685e010
/src/data/matrix.lean
1fb59f4109dba79e413f492e40182f69c9934e8c
[ "Apache-2.0" ]
permissive
minchaowu/mathlib
2daf6ffdb5a56eeca403e894af88bcaaf65aec5e
879da1cf04c2baa9eaa7bd2472100bc0335e5c73
refs/heads/master
1,609,628,676,768
1,564,310,105,000
1,564,310,105,000
99,461,307
0
0
null
null
null
null
UTF-8
Lean
false
false
10,734
lean
/- Copyright (c) 2018 Ellen Arlt. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ellen Arlt, Blair Shi, Sean Leather, Mario Carneiro, Johan Commelin Matrices -/ import algebra.module algebra.pi_instances import data.fintype universes u v def matrix (m n : Type u) [f...
629d64ae927108cadd7bd4b6171243ad122ad19b
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/tests/lean/interactive/run.lean
9c267760390143b2e7db4ea34ca5fa9a1b32a671
[ "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
3,603
lean
import Lean.Data.Lsp open Lean open Lean.Lsp open Lean.JsonRpc partial def main (args : List String) : IO Unit := do let uri := s!"file://{args.head!}" Ipc.runWith (←IO.appPath) #["--server"] do let hIn ← Ipc.stdin Ipc.writeRequest ⟨0, "initialize", { capabilities := ⟨⟩ : InitializeParams }⟩ let _ ← Ip...
4b85ecbd171c57bd268dd906cef68dd5d14e9f50
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/444.lean
e869075c28be445c0a6d27220b4d619ef97459d6
[ "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
56
lean
open nat #check succ 1 notation 1 := unit #check succ 1
2b22b53e4c2892f02503b0ba480216b5a8b46c2a
b815abf92ce063fe0d1fabf5b42da483552aa3e8
/library/debugger/cli.lean
cc0bf1e78131408047b40b477dd40ac82e010029
[ "Apache-2.0" ]
permissive
yodalee/lean
a368d842df12c63e9f79414ed7bbee805b9001ef
317989bf9ef6ae1dec7488c2363dbfcdc16e0756
refs/heads/master
1,610,551,176,860
1,481,430,138,000
1,481,646,441,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,322
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 Simple command line interface for debugging Lean programs and tactics. -/ import debugger.util namespace debugger inductive mode | init | step | run | done ...
00a4b4c40a004e376a1521fe4739f0c2122035ad
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/category_theory/abelian/exact.lean
2d3e9b1c1d974d47685a02f059740a7f19db5487
[ "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
16,791
lean
/- Copyright (c) 2020 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel, Adam Topaz, Johan Commelin, Jakob von Raumer -/ import category_theory.abelian.opposite import category_theory.limits.constructions.finite_products_of_binary_products imp...
f1a4f381ae1b666cf81562c082294b9b048c7f90
f10d66a159ce037d07005bd6021cee6bbd6d5ff0
/poly.lean
4d4772643595cfae68704a3bf5dc6993769b686e
[]
no_license
johoelzl/mason-stother
0c78bca183eb729d7f0f93e87ce073bc8cd8808d
573ecfaada288176462c03c87b80ad05bdab4644
refs/heads/master
1,631,751,973,492
1,528,923,934,000
1,528,923,934,000
109,133,224
0
1
null
null
null
null
UTF-8
Lean
false
false
22,828
lean
import .Sup_fin data.finsupp order.lattice data.nat.cast .euclidean_domain unique_factorization_domain import .to_finsupp .to_finset universes u v w noncomputable theory open classical set function finsupp lattice local attribute [instance] finsupp.to_comm_semiring local attribute [instance] finsupp.to_semiring loc...
046d9bd5a711007139f4113c0f9886a3fc130739
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/stage0/src/Lean/Compiler/Util.lean
76e67f585cee498a527cdfce66133e7fb2422c48
[ "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
3,775
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Environment namespace Lean.Compiler def neutralExpr : Expr := mkConst `_neutral def unreachableExpr : Expr := mkConst `_unreachable de...
84c8731ada5bd6600f671db710a6904e45d2b739
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/byCasesMetaM.lean
0d573bd973d3bc68e78aa3360b04294469843df0
[ "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
537
lean
import Lean axiom ex (p q : Prop) (h : p ∧ q) : q ∧ q open Lean in open Lean.Meta in def test : MetaM Unit := do let type := (← getConstInfo ``ex).type let mvar ← mkFreshExprMVar type let (#[p, q, h], mvarId) ← mvar.mvarId!.introNP 3 | throwError "unexpected" trace[Meta.debug] "{MessageData.ofGoal mvarId}" ...
b1e1ded3d2c8c30221b9432340fd62519a737752
c3f2fcd060adfa2ca29f924839d2d925e8f2c685
/tests/lean/run/sec_var.lean
a6a042064f0a0fffe7a7c7df15c652a5b8aa3d9c
[ "Apache-2.0" ]
permissive
respu/lean
6582d19a2f2838a28ecd2b3c6f81c32d07b5341d
8c76419c60b63d0d9f7bc04ebb0b99812d0ec654
refs/heads/master
1,610,882,451,231
1,427,747,084,000
1,427,747,429,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
548
lean
import logic context parameter A : Type definition foo : ∀ ⦃ a b : A ⦄, a = b → a = b := take a b H, H variable a : A set_option pp.implicit true check foo (eq.refl a) check foo check foo = (λ (a b : A) (H : a = b), H) end check foo = (λ (A : Type) (a b : A) (H : a = b), H) section variable A : Ty...
637006d52a6614ad2590de7659f22da6bf6b0d28
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/run/instuniv.lean
be578dc5b69b6e03bcecd7b15bb90a321bd7601b
[ "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
403
lean
import Lean open Lean unsafe def tst : IO Unit := withImportModules [{module := `Init.Data.Array}] {} 0 fun env => match env.find? `Array.foldl with | some info => do IO.println (info.instantiateTypeLevelParams [levelZero, levelZero]); IO.println (info.instantiateValueLevelParams [levelZero, levelZero...
a677ec0e32de827f4affd14dae43a35c859ca53d
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/analysis/specific_limits.lean
088d9031a7010440819e24c877ee5392fc046abb
[ "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
47,627
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 algebra.geom_sum import analysis.asymptotics.asymptotics import order.filter.archimedean import order.iterate import topology.instances.ennreal /-! # A collec...
094e7d17248d6e51b6b9da3937ecbb44af949a80
97f752b44fd85ec3f635078a2dd125ddae7a82b6
/hott/types/int/basic.hlean
eb07820410958d1eec43e568a2aac70cd0f8cef3
[ "Apache-2.0" ]
permissive
tectronics/lean
ab977ba6be0fcd46047ddbb3c8e16e7c26710701
f38af35e0616f89c6e9d7e3eb1d48e47ee666efe
refs/heads/master
1,532,358,526,384
1,456,276,623,000
1,456,276,623,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
25,910
hlean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Jeremy Avigad The integers, with addition, multiplication, and subtraction. The representation of the integers is chosen to compute efficiently. To faciliate prov...
65edafd3fb2bae94992bf65ad0402ac8fa757518
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/data/complex/is_R_or_C.lean
2d5d06f16ee6a417806a9a823abc3c03bb2cd49a
[ "Apache-2.0" ]
permissive
anthony2698/mathlib
03cd69fe5c280b0916f6df2d07c614c8e1efe890
407615e05814e98b24b2ff322b14e8e3eb5e5d67
refs/heads/master
1,678,792,774,873
1,614,371,563,000
1,614,371,563,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
28,842
lean
/- Copyright (c) 2020 Frédéric Dupuis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Frédéric Dupuis -/ import data.real.sqrt import field_theory.tower import analysis.normed_space.finite_dimension /-! # `is_R_or_C`: a typeclass for ℝ or ℂ This file defines the type...
ad5fcb45cf73590d50ea789e32f20b0657576a05
38ee9024fb5974f555fb578fcf5a5a7b71e669b5
/Mathlib/Data/List/Basic.lean
a994d11036d264fabb5fc12f6ba21060b870835f
[ "Apache-2.0" ]
permissive
denayd/mathlib4
750e0dcd106554640a1ac701e51517501a574715
7f40a5c514066801ab3c6d431e9f405baa9b9c58
refs/heads/master
1,693,743,991,894
1,636,618,048,000
1,636,618,048,000
373,926,241
0
0
null
null
null
null
UTF-8
Lean
false
false
49,739
lean
import Mathlib.Logic.Basic import Mathlib.Data.Nat.Basic import Mathlib.Init.SetNotation import Lean namespace List /-- The same as append, but with simpler defeq. (The one in the standard library is more efficient, because it is implemented in a tail recursive way.) -/ @[simp] def append' : List α → List α → List α |...
e3966268bf082798c672d0f11a64ac4b2ef8fe01
ff5230333a701471f46c57e8c115a073ebaaa448
/library/data/buffer/parser.lean
42e9f65c4bb7a7516ed6afc842d6b013ca1b5892
[ "Apache-2.0" ]
permissive
stanford-cs242/lean
f81721d2b5d00bc175f2e58c57b710d465e6c858
7bd861261f4a37326dcf8d7a17f1f1f330e4548c
refs/heads/master
1,600,957,431,849
1,576,465,093,000
1,576,465,093,000
225,779,423
0
3
Apache-2.0
1,575,433,936,000
1,575,433,935,000
null
UTF-8
Lean
false
false
7,638
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ import data.buffer data.dlist inductive parse_result (α : Type) | done (pos : ℕ) (result : α) : parse_result | fail (pos : ℕ) (expected : dlist string) : parse...
b34a9a3d6833d39cff972c2479772a3c682531a8
76df16d6c3760cb415f1294caee997cc4736e09b
/rosette-benchmarks-3/jitterbug/jitterbug/lean/src/jit.lean
72d5f870e8bf0d1dd72f2151a61c47776f20349d
[ "MIT" ]
permissive
uw-unsat/leanette-popl22-artifact
70409d9cbd8921d794d27b7992bf1d9a4087e9fe
80fea2519e61b45a283fbf7903acdf6d5528dbe7
refs/heads/master
1,681,592,449,670
1,637,037,431,000
1,637,037,431,000
414,331,908
6
1
null
null
null
null
UTF-8
Lean
false
false
27,463
lean
import tactic.tauto /-! This file contains the metatheory of JIT correctness. The main theorem is interpreter_equivalence, proved based on the following two sets of axioms. Two axioms are assumed to be correct (e.g., ensured by the Linux kernel): * ctx_correctness: the JIT computes a correct JIT context for the so...
55c727202679d04c741b01c693c1a80313941fb1
690889011852559ee5ac4dfea77092de8c832e7e
/src/tactic/omega/nat/main.lean
578707c360b9bd541a010b1ad7e5f581d4d82f73
[ "Apache-2.0" ]
permissive
williamdemeo/mathlib
f6df180148f8acc91de9ba5e558976ab40a872c7
1fa03c29f9f273203bbffb79d10d31f696b3d317
refs/heads/master
1,584,785,260,929
1,572,195,914,000
1,572,195,913,000
138,435,193
0
0
Apache-2.0
1,529,789,739,000
1,529,789,739,000
null
UTF-8
Lean
false
false
4,828
lean
/- Copyright (c) 2019 Seul Baek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Seul Baek Main procedure for linear natural number arithmetic. -/ import tactic.omega.prove_unsats import tactic.omega.nat.dnf import tactic.omega.nat.neg_elim import tactic.omega.nat.sub_...
fdda76b53532ca8f3ee080d193a85c242f027cd0
c777c32c8e484e195053731103c5e52af26a25d1
/src/topology/homotopy/homotopy_group.lean
045f1d84ad6d655899ad0dd2a7b99d2ae36d4a97
[ "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
6,695
lean
/- Copyright (c) 2021 Roberto Alvarez. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Roberto Alvarez -/ import algebraic_topology.fundamental_groupoid.fundamental_group /-! # `n`th homotopy group We define the `n`th homotopy group at `x`, `π n x`, as the equivalenc...
86194da4bfe2beedcabd85096921000829e154af
d0f9af2b0ace5ce352570d61b09019c8ef4a3b96
/hw8/lecture notes/associativity_and_precedence.lean
602457d7efa87172e8f1992c4b6b7fa4d0e74499
[]
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
3,475
lean
--justin import .propositional_logic_syntax_and_semantics open pExp -- lean left associative -- '+' is associative #check 2 + 3 + 4 #check (2 + 3) + 4 #check 2 + (3 + 4) #check 5 - 3 - 1 #check 5 - (3 - 1) #check (5 - 3) - 1 -- lean left associative -- '-' not associative #eval 5 - 3 - 1 #eval 5 - (3 - 1) -- pre...
e71e0016b17caad7dff3a056bec008b8daad69a1
ce4db867008cc96ee6ea6a34d39c2fa7c6ccb536
/src/Fait.lean
014074069775bf8515587fb64fd2bf6633d4fe0b
[]
no_license
PatrickMassot/lean-bavard
ab0ceedd6bab43dc0444903a80b911c5fbfb23c3
92a1a8c7ff322e4f575ec709b8c5348990d64f18
refs/heads/master
1,679,565,084,665
1,616,158,570,000
1,616,158,570,000
348,144,867
1
1
null
null
null
null
UTF-8
Lean
false
false
1,363
lean
import .commun import .tokens namespace tactic setup_tactic_parser meta def Fait_parser : lean.parser (name × pexpr × option pexpr) := with_desc "... : ... (par ... (appliqué à ...))" $ do n ← ident <* tk ":", enonce ← texpr, do { dem ← tk "par" *> texpr, args ← applique_a_parser, pure (n, enonc...
4a0a8079c0ca3620b591eb3d6f7662bcc3e493ea
5e3548e65f2c037cb94cd5524c90c623fbd6d46a
/src_icannos_totilas/applications_lineaires/cpge_applin_11.lean
0254f414587db561d2d5a5fbb5ed27d974d5aab0
[]
no_license
ahayat16/lean_exos
d4f08c30adb601a06511a71b5ffb4d22d12ef77f
682f2552d5b04a8c8eb9e4ab15f875a91b03845c
refs/heads/main
1,693,101,073,585
1,636,479,336,000
1,636,479,336,000
415,000,441
0
0
null
null
null
null
UTF-8
Lean
false
false
340
lean
import algebra.module.linear_map import linear_algebra.basic import data.real.basic theorem cpge_applin_11 (R : Type*) (E : Type*) (F : Type*) [field R] [add_comm_group E] [module R E] [add_comm_group F] [module R F] (f g : linear_map R E F) : (∀ x, ∃ (l:R), (g x) = l • (f x)) -> ∃ (l:R), (∀ x, g x = (l • f x)) ...
cab3ced22ed524190947e4f85a3dec9379cb2f01
bb31430994044506fa42fd667e2d556327e18dfe
/src/order/succ_pred/basic.lean
4b540794fae568648caa866a02a148a22f705051
[ "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
42,114
lean
/- Copyright (c) 2021 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import order.complete_lattice import order.cover import order.iterate /-! # Successor and predecessor > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this f...
13c7763bab5570b048a9005439d6cc354238017b
d9ed0fce1c218297bcba93e046cb4e79c83c3af8
/library/tools/super/simp.lean
582c618cebfe36676d91a215fb7f7e99918aa084
[ "Apache-2.0" ]
permissive
leodemoura/lean_clone
005c63aa892a6492f2d4741ee3c2cb07a6be9d7f
cc077554b584d39bab55c360bc12a6fe7957afe6
refs/heads/master
1,610,506,475,484
1,482,348,354,000
1,482,348,543,000
77,091,586
0
0
null
null
null
null
UTF-8
Lean
false
false
1,537
lean
/- Copyright (c) 2016 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ import .clause_ops .prover_state open tactic monad namespace super meta def prove_using_assumption : tactic unit := do tgt ← target, ass ← mk_local_def `h tgt, exact ...
4cbef4ca6cc5165749b63ec0e1dfcdf18bf6f459
01ae0d022f2e2fefdaaa898938c1ac1fbce3b3ab
/categories/repb.lean
300fcf311728632c103462c087538665b120e0da
[]
no_license
PatrickMassot/lean-category-theory
0f56a83464396a253c28a42dece16c93baf8ad74
ef239978e91f2e1c3b8e88b6e9c64c155dc56c99
refs/heads/master
1,629,739,187,316
1,512,422,659,000
1,512,422,659,000
113,098,786
0
0
null
1,512,424,022,000
1,512,424,022,000
null
UTF-8
Lean
false
false
1,563
lean
-- section linear_algebra -- parameter ( k : Type ) -- parameter [ field k ] -- class vector_space ( V : Type ) extends add_group V := -- ( scalar_multiplication : k → V → V ) -- ( module : ∀ ( c d : k ) ( v : V ), scalar_multiplication c (scalar_multiplication d v) = scalar_multiplication (c * d) v ) -- ( un...
ce515767bace788ba784cd07e25cf21e59b704e7
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Elab/Quotation/Precheck.lean
3e44fc9061e484df45eafc25fd23e9f3fc491617
[ "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,875
lean
/- Copyright (c) 2021 Sebastian Ullrich. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ import Lean.KeyedDeclsAttribute import Lean.Parser.Command -- for `precheckedQuot` import Lean.Elab.Term import Lean.Elab.Quotation.Util namespace Lean.Elab....
9f14e0833152bf8320cef6b1b631dd6ce05e30b0
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/rewriter13.lean
e10c1b0b4886d33890c924df973f0ee6d510cdd9
[ "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
118
lean
open nat example (x y : nat) (H1 : sigma.pr1 ⟨x, y⟩ = 0) : x = 0 := begin rewrite ▸* at H1, rewrite H1 end
cd0a77bc3a37c5f78a04d7e4d34d50b791e39326
3c9dc4ea6cc92e02634ef557110bde9eae393338
/tests/lean/doIssue.lean
52e1513688588654b444b7f1b5073a1613db0c21
[ "Apache-2.0" ]
permissive
shingtaklam1324/lean4
3d7efe0c8743a4e33d3c6f4adbe1300df2e71492
351285a2e8ad0cef37af05851cfabf31edfb5970
refs/heads/master
1,676,827,679,740
1,610,462,623,000
1,610,552,340,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
475
lean
def f (x : Nat) : IO Unit := do x -- Error IO.println x def f' (x : Nat) : IO Unit := do discard x IO.println x def g (xs : Array Nat) : IO Unit := do xs.set! 0 1 -- Error IO.println xs def g' (xs : Array Nat) : IO Unit := do discard <| xs.set! 0 1 -- Error IO.println xs def h (xs : Array Nat) : IO ...
3596c435d4c9488a398f6d0adf99593fcba5dd1d
968e2f50b755d3048175f176376eff7139e9df70
/examples/prop_logic_lean_summary/unnamed_283.lean
27e673683c1154755ba0d8a3c61857a43057b3bd
[]
no_license
gihanmarasingha/mth1001_sphinx
190a003269ba5e54717b448302a27ca26e31d491
05126586cbf5786e521be1ea2ef5b4ba3c44e74a
refs/heads/master
1,672,913,933,677
1,604,516,583,000
1,604,516,583,000
309,245,750
1
0
null
null
null
null
UTF-8
Lean
false
false
80
lean
variables p q : Prop -- BEGIN example (k : q) : p → q := assume h, k -- END
c19ebfdd4818dec5bce7edf74f9f1f053fbf700e
1a9d3677cccdaaccacb163507570e75d34043a38
/src/week_7/Part_A_quotients.lean
74b1357787c03b09901d5f125c9ce63f8c6ccc24
[ "Apache-2.0" ]
permissive
alreadydone/formalising-mathematics
687d386a72065795e784e270f5c05ea3948b67dd
65869362cd7a2ac74dd1a97c7f9471835726570b
refs/heads/master
1,680,260,936,332
1,616,563,371,000
1,616,563,371,000
348,780,769
0
0
null
null
null
null
UTF-8
Lean
false
false
21,790
lean
import tactic /- # Quotients The quotient of a type by an equivalence relation. ## Overview A binary relation on a type `X` is just a function `r : X → X → Prop`, that is, a true-false statement attached to each pair of elements of `X`. If `r` is also reflexive, symmetric and transitive, we say it is an equivalenc...
43fc86687b87f2918a26cd0988a6c7d4ec61114e
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/dec_trivial_problem.lean
f28d5fb4982b48437ceab9e684745770ec1e4da9
[ "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
400
lean
definition n : nat := 3 open tactic meta_definition dec_triv : tactic unit := do tgt ← target, inst ← to_expr `(decidable %%tgt) >>= mk_instance, to_expr `(@of_as_true %%tgt %%inst trivial) >>= exact example : 0 < n := by dec_triv notation `dec_trivial2` := by dec_triv example : 0 < n := dec_trivial2 notat...
dd169fdf80589b45ee313010106084692452e103
e0b0b1648286e442507eb62344760d5cd8d13f2d
/src/Init/Data/Nat/Div.lean
729bdf0b41c62fe57e7f58939ebcf133753ccbd8
[ "Apache-2.0" ]
permissive
MULXCODE/lean4
743ed389e05e26e09c6a11d24607ad5a697db39b
4675817a9e89824eca37192364cd47a4027c6437
refs/heads/master
1,682,231,879,857
1,620,423,501,000
1,620,423,501,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,784
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.WF import Init.Data.Nat.Basic namespace Nat private def div_rec_lemma {x y : Nat} : 0 < y ∧ y ≤ x → x - y < x := fun ⟨ypos, ylex⟩ => ...
33cc5389f396212546c870903879317bd8342989
26ac254ecb57ffcb886ff709cf018390161a9225
/src/measure_theory/set_integral.lean
3d36cdab96e8d9d6ce7b956146bb88541393a79e
[ "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
8,548
lean
/- Copyright (c) 2020 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou -/ import measure_theory.bochner_integration import measure_theory.indicator_function import measure_theory.lebesgue_measure /-! # Set integral This file is temporarily ...
6e8957cc2f358941895b0c4c2cba0b00faf2a86f
e0b0b1648286e442507eb62344760d5cd8d13f2d
/stage0/src/Lean/Server/FileWorker.lean
a36f15f9fbb8e682a0f46014bf34bafa14ec7b98
[ "Apache-2.0" ]
permissive
MULXCODE/lean4
743ed389e05e26e09c6a11d24607ad5a697db39b
4675817a9e89824eca37192364cd47a4027c6437
refs/heads/master
1,682,231,879,857
1,620,423,501,000
1,620,423,501,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
36,655
lean
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ import Init.System.IO import Std.Data.RBMap import Lean.Environment import Lean.PrettyPrinter import Lean.DeclarationRange import Lean.Data.Lsp im...
eda420d9556a5f11ea0aae2f64ed63a13bb205c7
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/tests/lean/t3.lean
830f4323fa75da972f7e4a40a359348704f5961f
[ "Apache-2.0" ]
permissive
jroesch/lean
30ef0860fa905d35b9ad6f76de1a4f65c9af6871
3de4ec1a6ce9a960feb2a48eeea8b53246fa34f2
refs/heads/master
1,586,090,835,348
1,455,142,203,000
1,455,142,277,000
51,536,958
1
0
null
1,455,215,811,000
1,455,215,811,000
null
UTF-8
Lean
false
false
1,099
lean
universe u print raw Type.{u} namespace tst universe v print raw Type.{v} print raw Type.{tst.v} end tst print raw Type.{tst.v} print raw Type.{v} -- Error: alias 'v' is not available anymore section universe variable z -- Remark: this is a local universe print raw Type.{z} end print raw Type.{z} -- Error: ...
8e11f2d1e51803453fc9bff93a4fa0e6cc88103a
b9a81ebb9de684db509231c4469a7d2c88915808
/src/super/defs.lean
a5ea880776e0d7550da3d15f4416dd3917109daa
[]
no_license
leanprover/super
3dd81ce8d9ac3cba20bce55e84833fadb2f5716e
47b107b4cec8f3b41d72daba9cbda2f9d54025de
refs/heads/master
1,678,482,996,979
1,676,526,367,000
1,676,526,367,000
92,215,900
12
6
null
1,513,327,539,000
1,495,570,640,000
Lean
UTF-8
Lean
false
false
1,096
lean
/- Copyright (c) 2017 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ import .clause_ops .prover_state open tactic expr monad namespace super meta def try_unfold_one_def (type : expr) : tactic expr := dunfold_head type transparency.all ...
79b97aeb6bb20a8c7786e213fd4fed63ac58fb77
4727251e0cd73359b15b664c3170e5d754078599
/src/topology/algebra/module/locally_convex.lean
5c4d97312a8536ce6ac4209706d3627b2ad96fa5
[ "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,984
lean
/- Copyright (c) 2022 Anatole Dedecker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anatole Dedecker -/ import analysis.convex.topology /-! # Locally convex topological modules A `locally_convex_space` is a topological semimodule over an ordered semiring in which a...
c55e59b7f80421ce7b68b78cd4d2fde4bdb3f022
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/simp_dsimp.lean
fec3a72d506e903151da5838be56e2c1101b5158
[ "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
332
lean
opaque A : Nat → Type opaque f (x : Nat) (a : A x) : Nat example (x : Nat) (a : A (x + 0)) : f (x + 0) a = x := by simp trace_state -- ⊢ f x a = x sorry example (x : Nat) (a : A (x + 0)) : f (x + 0) a = x := by simp (config := { dsimp := false, failIfUnchanged := false }) trace_state -- ⊢ f (x + 0) a = x ...
f3fcbfd36eaef8f44b7c618ccbdfd548099b1d8d
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/algebra/order/floor.lean
105f0863536908db5861fd76f00ff5edd46f4559
[ "Apache-2.0" ]
permissive
ayush1801/mathlib
78949b9f789f488148142221606bf15c02b960d2
ce164e28f262acbb3de6281b3b03660a9f744e3c
refs/heads/master
1,692,886,907,941
1,635,270,866,000
1,635,270,866,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
19,979
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Kevin Kappelmann -/ import tactic.abel import tactic.linarith /-! # Floor and ceil ## Summary We define the natural- and integer-valued floor and ceil functions on l...
416f88aac79af9a533eef1fc536896185148bbe1
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/analysis/analytic/radius_liminf.lean
14a68455567e63d890d848737503786ab1c2d61c
[ "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
2,491
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import analysis.analytic.basic import analysis.special_functions.pow /-! # Representation of `formal_multilinear_series.radius` as a `liminf` In this file we prov...
ad525bf3d446b2bfcfaaa260ccf54916e2caa1e8
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/omit.lean
3e2e25393c5138e09fcd425dd4980fa6aaf55179
[ "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
292
lean
prelude section variable A : Type variable a : A variable c : A omit A include A include A omit A variable B : Type variable b : B variable d : B include A include a include c definition foo := b inductive tst (C : Type) | mk : tst end #check foo #check tst
c0c0daeade67e3b841f0e8d5487d5eac942f883f
367134ba5a65885e863bdc4507601606690974c1
/src/tactic/omega/int/form.lean
0a4f73b71c777adf00390c7acb476a9c0da34f91
[ "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
4,169
lean
/- Copyright (c) 2019 Seul Baek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Seul Baek -/ /- Linear integer arithmetic formulas in pre-normalized form. -/ import tactic.omega.int.preterm namespace omega namespace int /-- Intermediate shadow syntax for LNA formula...
212f358cbfa9494cecd7898b8e7f40499aa925dc
32da3d0f92cab08875472ef6cacc1931c2b3eafa
/src/measure_theory/outer_measure.lean
917dd98ea36164f33a7bb91e8ead8d0804341b6a
[ "Apache-2.0" ]
permissive
karthiknadig/mathlib
b6073c3748860bfc9a3e55da86afcddba62dc913
33a86cfff12d7f200d0010cd03b95e9b69a6c1a5
refs/heads/master
1,676,389,371,851
1,610,061,127,000
1,610,061,127,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
40,622
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 analysis.specific_limits import measure_theory.measurable_space import topology.algebra.infinite_sum /-! # Outer Measures An outer measure is...
e5b3d8d26050a9a8c2f11437b9a11100ff730e66
6b2a480f27775cba4f3ae191b1c1387a29de586e
/group_rep1/Projection/projector.lean
88d688d398277fc3a9ab4a1eddb6476ce14fdd97
[]
no_license
Or7ando/group_representation
a681de2e19d1930a1e1be573d6735a2f0b8356cb
9b576984f17764ebf26c8caa2a542d248f1b50d2
refs/heads/master
1,662,413,107,324
1,590,302,389,000
1,590,302,389,000
258,130,829
0
1
null
null
null
null
UTF-8
Lean
false
false
12,356
lean
import linear_algebra.basic import data.sum import linear_algebra.finite_dimensional universes u v w w' w'' set_option pp.beta true notation `Σ` := finset.sum finset.univ /-! Goals : sudying familly of projector. We start by sudy i little projector. -/ namespace Projector open linear_map variables {R : Ty...
33b2632fd24446723c29e8a2386d1933469e29e8
37336e9dcf558f325cf43bdf45bab5d8e455a3b4
/M1F/2017-18/Example_Sheet_01/Question_01/question_real.lean
f6ebe640fb63645f37f860f6b6b16d0940f290d4
[]
no_license
rafaelbailo/xena
bfeab41b3b401c812689a4879d58f2ad046240b5
fad865c3d1bac6279f9a77e8aa6ba7e0cd572e06
refs/heads/master
1,626,002,809,060
1,507,793,086,000
1,507,793,086,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
623
lean
/- M1F 2017-18 Sheet 1 Question 1 Author : Kevin Buzzard Note: this version of the question uses rational numbers instead of real numbers. TODO (KMB) : Replace topology.real with more user-friendly real numbers. : figure out how to use x^2 instead of x*x : figure out how to make 3 mean 3:R rathe...
a24aad799eb73d61f28047810a923b835cf858cb
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/RightSpindle.lean
c1f62f27211d604f0acc081a86e771361aad72dd
[]
no_license
ysharoda/Deriving-Definitions
3e149e6641fae440badd35ac110a0bd705a49ad2
dfecb27572022de3d4aa702cae8db19957523a59
refs/heads/master
1,679,127,857,700
1,615,939,007,000
1,615,939,007,000
229,785,731
4
0
null
null
null
null
UTF-8
Lean
false
false
6,225
lean
import init.data.nat.basic import init.data.fin.basic import data.vector import .Prelude open Staged open nat open fin open vector section RightSpindle structure RightSpindle (A : Type) : Type := (rinv : (A → (A → A))) (rightDistributive : (∀ {x y z : A} , (rinv (rinv y z) x) = (rinv (rinv y x) (ri...
46069ac4e7999e62e9cc846ca6a98a22f36a3294
38bf3fd2bb651ab70511408fcf70e2029e2ba310
/src/category_theory/limits/cones.lean
8735cd7dbb02e2ff2e88183c404902a2797d2abb
[ "Apache-2.0" ]
permissive
JaredCorduan/mathlib
130392594844f15dad65a9308c242551bae6cd2e
d5de80376088954d592a59326c14404f538050a1
refs/heads/master
1,595,862,206,333
1,570,816,457,000
1,570,816,457,000
209,134,499
0
0
Apache-2.0
1,568,746,811,000
1,568,746,811,000
null
UTF-8
Lean
false
false
16,917
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, Floris van Doorn -/ import category_theory.const import category_theory.yoneda import category_theory.concrete_category.bundled_hom import category_theo...
a6b2e61d1b8be52e8863f545ccfde27d04fb3c69
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/string_block.lean
0279d07ab567d096e42830dcae6eaac9692fe373
[ "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
307
lean
#check /-" foo "-/ #check /-" /- foo -/ "-/ #check /-" /-"" foo -/ "-/ #check /-" /-"" foo -/ """-/ #check /-" /-"" foo -/ "-""""-/++"" #print /-" ## Markdown heading String blocks are like comments: ```lean /-- My declaration -/ def my_declaration : string := /-" They can be nicely nested "-/ ``` "-/
b4c0151e44666eb6320fca0ebdf42d1da00aef29
acc85b4be2c618b11fc7cb3005521ae6858a8d07
/data/num/bitwise.lean
a3b9731ffc6f4f521c16aaaca8907170dfa3c0ca
[ "Apache-2.0" ]
permissive
linpingchuan/mathlib
d49990b236574df2a45d9919ba43c923f693d341
5ad8020f67eb13896a41cc7691d072c9331b1f76
refs/heads/master
1,626,019,377,808
1,508,048,784,000
1,508,048,784,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,082
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Bitwise operations using binary representation of integers. -/ import data.num.basic namespace pos_num def lor : pos_num → pos_num → pos_num | 1 (bi...
58e2356a17aeca1097845f6bfef767e566bc4d58
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/ring_theory/subring.lean
89a2877fa5d3aa5eb7ad2475a965a2756375cc1f
[ "Apache-2.0" ]
permissive
hikari0108/mathlib
b7ea2b7350497ab1a0b87a09d093ecc025a50dfa
a9e7d333b0cfd45f13a20f7b96b7d52e19fa2901
refs/heads/master
1,690,483,608,260
1,631,541,580,000
1,631,541,580,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
37,998
lean
/- Copyright (c) 2020 Ashvni Narayanan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ashvni Narayanan -/ import group_theory.subgroup import ring_theory.subsemiring /-! # Subrings Let `R` be a ring. This file defines the "bundled" subring type `subring R`, a type ...
fb965d42c6f247cc9dd6576f2f92c363423a14cb
4727251e0cd73359b15b664c3170e5d754078599
/src/measure_theory/function/ae_measurable_order.lean
6bf64579b82748ea5530e6b68704f9e658dbee9a
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
6,235
lean
/- Copyright (c) 2021 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import measure_theory.constructions.borel_space /-! # Measurability criterion for ennreal-valued functions Consider a function `f : α → ℝ≥0∞`. If the level se...
c9a3d4eaaf350bf64719e7809e69c208d9ffc537
38bf3fd2bb651ab70511408fcf70e2029e2ba310
/src/algebra/category/CommRing/basic.lean
2eb7c7547777f90f38acd5a77e53d14baffcd70e
[ "Apache-2.0" ]
permissive
JaredCorduan/mathlib
130392594844f15dad65a9308c242551bae6cd2e
d5de80376088954d592a59326c14404f538050a1
refs/heads/master
1,595,862,206,333
1,570,816,457,000
1,570,816,457,000
209,134,499
0
0
Apache-2.0
1,568,746,811,000
1,568,746,811,000
null
UTF-8
Lean
false
false
3,750
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Johannes Hölzl, Yury Kudryashov -/ import algebra.category.Mon.basic import category_theory.fully_faithful import algebra.ring import data.int.basic /-! # Category in...
332d07cd0d0eed24e021328767cfcc68dd1bfaff
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/group_theory/group_action/quotient.lean
d9bd002eff0e8d63e7a62445fd1bc0802c1055ea
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
15,598
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Thomas Browning -/ import algebra.hom.group_action import data.fintype.big_operators import dynamics.periodic_pts import group_theory.group_action.conj_act import group_the...
42c44147b7c3a2e272af7b9a45cd82226debc492
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/normed/order/basic.lean
924b53f36f901e1e88ace52a6937ad45bbb6e9cc
[ "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
4,137
lean
/- Copyright (c) 2020 Anatole Dedecker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anatole Dedecker, Yaël Dillies -/ import algebra.order.group.type_tags import analysis.normed_space.basic /-! # Ordered normed spaces In this file, we define classes for fields and...
51dda2aa4e50c921daa2b9c18f0435f91491d45d
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/tests/lean/run/propagateExpectedType.lean
72033f214fad6a3b0f10a529ea00d4664f054d41
[ "Apache-2.0" ]
permissive
dupuisf/lean4
d082d13b01243e1de29ae680eefb476961221eef
6a39c65bd28eb0e28c3870188f348c8914502718
refs/heads/master
1,676,948,755,391
1,610,665,114,000
1,610,665,114,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,583
lean
variables {α : Type _} (r : α → α → Prop) (π : α → α) inductive rel : α → α → Prop | of {x y} : r x y → rel x y | compat {x y} : rel x y → rel (π x) (π y) | refl (x) : rel x x | symm {x y} : rel x y → rel y x | trans {x y z} : rel x y → rel y z → rel x z def thing : Setoid α := ⟨rel r π, ⟨rel.refl, rel.symm, rel.tran...
ea98e5f7a406e6824c26a1dd92fc2bab937c322d
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/group_theory/commensurable.lean
bf7f219b618b5b4eaaf9b2f6be1e0f92e3be22f0
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
4,260
lean
/- Copyright (c) 2021 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import group_theory.index import group_theory.subgroup.pointwise import group_theory.group_action.conj_act /-! # Commensurability for subgroups > THIS FILE IS SYNCHR...