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
e14c59420cdf4f932778f2aa4e96c404eaa3236e
ff5230333a701471f46c57e8c115a073ebaaa448
/library/system/io.lean
b05bc7edd42b1f6091beef542ec584926669d200
[ "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
9,288
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Luke Nelson, Jared Roesch and Leonardo de Moura -/ import system.io_interface /- The following constants have a builtin implementation -/ constant io_core : Type → Type → Type ...
b3f9ce271c6f42e7de1816b28c9d0e540a1dac46
c777c32c8e484e195053731103c5e52af26a25d1
/src/algebra/big_operators/ring.lean
8ed6121b1b0d7c71bfb10f3162979a0937876bbf
[ "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
11,114
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.big_operators.basic import algebra.field.defs import data.finset.pi import data.finset.powerset /-! # Results about big operators with values in a (s...
d7b478f74e35b2a8286814d94e2c5e6490ae112e
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/normed_space/ray.lean
338d77836a30dba38d44f4f9a324e06147ae67f4
[ "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
4,675
lean
/- Copyright (c) 2022 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov, Yaël Dillies -/ import linear_algebra.ray import analysis.normed_space.basic /-! # Rays in a real normed vector space In this file we prove some lemmas about the `s...
ed4acb871c84a5bd872e1078fa36cd85d8b8241d
c1a29ca460720df88ab68dc42d9a1a02e029d505
/examples/basics/unnamed_1567.lean
697f45ee48efb63c46dbddac5e68ec081dbe9856
[]
no_license
agusakov/mathematics_in_lean
acb5b3d659e4522ae4b4836ea550527f03f6546c
2539562e4d91c858c73dbecb5b282ce1a7d38b6d
refs/heads/master
1,665,963,365,241
1,592,080,022,000
1,592,080,022,000
272,078,062
0
0
null
1,592,078,772,000
1,592,078,772,000
null
UTF-8
Lean
false
false
281
lean
import data.nat.gcd variables x y z : ℕ example (h₀ : x ∣ y) (h₁ : y ∣ z) : x ∣ z := dvd_trans h₀ h₁ example : x ∣ y * x * z := begin apply dvd_mul_of_dvd_left, apply dvd_mul_left end example : x ∣ x^2 := begin rw nat.pow_two, apply dvd_mul_left end
7fd8a8085d5c5b0a1c8e94a37902f7310286e66e
799b5de27cebaa6eaa49ff982110d59bbd6c6693
/mechanized/instantiation.lean
9a24296e21bdc82d92c26a872623044e6e5c0288
[ "MIT" ]
permissive
philnguyen/soft-contract
263efdbc9ca2f35234b03f0d99233a66accda78b
13e7d99e061509f0a45605508dd1a27a51f4648e
refs/heads/master
1,625,975,131,435
1,617,775,585,000
1,617,775,704,000
17,326,137
33
7
MIT
1,613,722,535,000
1,393,714,126,000
Racket
UTF-8
Lean
false
false
5,911
lean
import data.set definitions metafunctions reduction assumptions -- Instantiation of expression inductive inst_e: e → e → Prop -- Structural cases | n : ∀ {n}, inst_e (e.n n) (e.n n) | lam: ∀ {x e e'}, kn_x x → inst_e e e' → inst_e (e.lam x e) (e.lam x e') | x : ∀ {x}, kn_x x → inst_e (e.x ...
e77d717bc0eaef66250ab89c29d2c4819fa72679
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/category_theory/subobject/basic.lean
15bf310804562f03687f95688c3dfd50ba08fea1
[ "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
22,748
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta, Scott Morrison -/ import category_theory.subobject.mono_over import category_theory.skeletal /-! # Subobjects We define `subobject X` as the quotient (by isomorphisms) of...
0e4c9f4470d3413a3f3565cb3518cbc2fdf5732e
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/uniform_space/uniform_embedding.lean
863c6714f2b13b56eb3590f4a50b2dfbfe438576
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
26,845
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, Sébastien Gouëzel, Patrick Massot -/ import topology.uniform_space.cauchy import topology.uniform_space.separation import topology.dense_embedding /-! # Uniform embedd...
50ff299f15f0e48b0f0a07cd6d449f3e65786654
2d041ea7f2e9b29093ffd7c99b11decfaa8b20ca
/ch3.lean
45f009b4b8155d7b2240d460511a7152056f0d64
[]
no_license
0xpr/lean_tutorial
1a66577602baa9a52c2b01130b9d70089653ea37
56ef609d8df9e392916012db5354bf182cbbb8d8
refs/heads/master
1,606,955,421,810
1,499,014,388,000
1,499,014,388,000
96,036,899
1
0
null
null
null
null
UTF-8
Lean
false
false
7,646
lean
open classical variables p q r s : Prop -- commutativity of ∧ and ∨ example : p ∧ q ↔ q ∧ p := iff.intro (assume H : p ∧ q, show q ∧ p, from and.intro (and.elim_right H) (and.elim_left H)) (assume H : q ∧ p, show p ∧ q, from and.intro (and.elim_right H) (and.elim_left H)) example : p ∨ ...
5a35e9cd6ab8f9d34fcde87a7827baf762ae5149
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch5/ex0409.lean
0c14d0b6e02941006d3db851425719fc79b49e08
[]
no_license
Ailrun/Theorem_Proving_in_Lean
ae6a23f3c54d62d401314d6a771e8ff8b4132db2
2eb1b5caf93c6a5a555c79e9097cf2ba5a66cf68
refs/heads/master
1,609,838,270,467
1,586,846,743,000
1,586,846,743,000
240,967,761
1
0
null
null
null
null
UTF-8
Lean
false
false
306
lean
example (p q r : Prop) : p ∧ (q ∨ r) → (p ∧ q) ∨ (p ∧ r) := begin intro h, cases h with hp hqr, show (p ∧ q) ∨ (p ∧ r), cases hqr with hq hr, have : p ∧ q, split; assumption, left, exact this, have : p ∧ r, split; assumption, right, exact this end
0a5d65cc100c7e3c432acf612bed04f9d1d9ff42
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/bornology/constructions.lean
1cbbd2438f29fba8623d7986d3f17df28616d64a
[ "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
6,131
lean
/- Copyright (c) 2022 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import topology.bornology.basic /-! # Bornology structure on products and subtypes In this file we define `bornology` and `bounded_space` instances on `α × ...
2c037df2aa7a5de5e5aac346282f3b63cb10015b
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/testing/slim_check/functions.lean
6b1944c1b0d9d1078619ed068138d298280478fa
[ "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
16,688
lean
/- Copyright (c) 2020 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import data.list.sigma import testing.slim_check.sampleable import testing.slim_check.testable import tactic.pretty_cases /-! ## `slim_check`: generators for functions Th...
8ce8c9c73e2bbf96e48459da5a07cc7202318bc0
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch5/ex0106.lean
a8096383bdf3e6f767623a821483018dcae75a35
[]
no_license
Ailrun/Theorem_Proving_in_Lean
ae6a23f3c54d62d401314d6a771e8ff8b4132db2
2eb1b5caf93c6a5a555c79e9097cf2ba5a66cf68
refs/heads/master
1,609,838,270,467
1,586,846,743,000
1,586,846,743,000
240,967,761
1
0
null
null
null
null
UTF-8
Lean
false
false
118
lean
theorem test (p q : Prop) (hp : p) (hq : q) : p ∧ q ∧ p := begin apply and.intro hp; exact and.intro hq hp, end
132befc4774c60725c2afdc38f2a1a791c4062d7
43390109ab88557e6090f3245c47479c123ee500
/src/Topology/Material/Path_Homotopy_09_08.lean
e8f9153cac6598ec1cb4ec50f4f546813ec9761a
[ "Apache-2.0" ]
permissive
Ja1941/xena-UROP-2018
41f0956519f94d56b8bf6834a8d39473f4923200
b111fb87f343cf79eca3b886f99ee15c1dd9884b
refs/heads/master
1,662,355,955,139
1,590,577,325,000
1,590,577,325,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
40,872
lean
import analysis.topology.continuity import analysis.topology.topological_space import analysis.topology.infinite_sum import analysis.topology.topological_structures import analysis.topology.uniform_space import analysis.real import data.real.basic tactic.norm_num import data.set.basic import Topology.Material.subsets ...
5ecd2734cc3ec839175b90ef3eeee29e697d2242
8be24982c807641260370bd09243eac768750811
/src/algebraic_countable_over_Z.lean
5a385f1c03054042b3539a421c025ebeee1ae2e3
[]
no_license
jjaassoonn/transcendental
8008813253af3aa80b5a5c56551317e7ab4246ab
99bc6ea6089f04ed90a0f55f0533ebb7f47b22ff
refs/heads/master
1,607,869,957,944
1,599,659,687,000
1,599,659,687,000
234,444,826
9
1
null
1,598,218,307,000
1,579,224,232,000
HTML
UTF-8
Lean
false
false
23,845
lean
import ring_theory.algebraic import data.real.cardinality import small_things import tactic noncomputable theory open_locale classical notation α`[X]` := polynomial α /-- - For the purpose of this project, we define a real number $x$ to be algebraic if and only if there is a non-zero polynomial $p ∈ ℤ[T]$ such that ...
eedad57ed398ec66d97d44f74cc295527947121f
c3de33d4701e6113627153fe1103b255e752ed7d
/tools/tactic/simp_tactic.lean
ec3f0b481abbe7cc081db2126a4f74da651145b0
[]
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
11,042
lean
/- Copyright (c) 2017 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad Variants of the simplifier tactics. -/ import init.meta.lean.parser import .tactic open expr namespace tactic /- In the main library, (simp_at h) replaces the local con...
b5e0af128608773b1206eca17484c3312ebe8745
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/sequences.lean
5b71cc2becf914f606eac79888c19e47f4508bd9
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
19,445
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, Yury Kudryashov -/ import topology.subset_properties import topology.metric_space.basic /-! # Sequences in topological spaces In this file we de...
eaf46157bd68079a47b8cb1681f7af437959b7df
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/measure_theory/measure/vector_measure.lean
3d76cc55ff340f3777e7d84b7116d714196d2307
[ "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
44,700
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.integral.lebesgue /-! # Vector valued measures This file defines vector valued measures, which are σ-additive functions from a set to a add monoid ...
8e842d0a259b2ef4d83050bc6f3e02e2371288af
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/sub_bug.lean
c2d8664ea6c3f1987b7352e9c3e0117335c21290
[ "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
44
lean
open nat subtype #check { x : nat // x > 0}
5ffdc63072adfada5ab9b00843394f11c1dc2aaa
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/adjunction/opposites.lean
45bd32f1334c11047948318b0f7a298f7d3867bd
[ "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
4,628
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta, Thomas Read -/ import category_theory.adjunction.basic import category_theory.yoneda import category_theory.opposites /-! # Opposite adjunctions This file contains const...
f1d3a5e644394b982b62f34ee222e43a95f8c86f
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/2005.lean
79616ee7e43b510e9cc442434a92afbbecdfd493
[ "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
189
lean
import Lean open Lean syntax (docComment)? "foo" term : command def foo2 : Syntax → Nat | `($[$_]? foo !$_) => 1 | `(foo -$_) => 2 | _ => 0 #eval foo2 (Unhygienic.run `(foo -x))
d493e849a5151a8bb293440c3fd307847cf0c3a0
4727251e0cd73359b15b664c3170e5d754078599
/src/topology/bornology/hom.lean
aeca18629976d0618c80e6680933fd3b3b07ef4b
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
4,967
lean
/- Copyright (c) 2022 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import topology.bornology.basic /-! # Locally bounded maps This file defines locally bounded maps between bornologies. We use the `fun_like` design, so each type of mo...
f0b548f7ca867e2b269c2b8aff9a8fa19a94ec13
34c1747a946aa0941114ffca77a3b7c1e4cfb686
/src/sheaves/presheaf_of_rings_extension.lean
8498508ba32a2d8b20c943166db688bacaebb7e4
[]
no_license
martrik/lean-scheme
2b9edd63550c4579a451f793ab289af9fc79a16d
033dc47192ba4c61e4e771701f5e29f8007e6332
refs/heads/master
1,588,866,287,405
1,554,922,682,000
1,554,922,682,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,668
lean
/- Presheaf of rings extension. https://stacks.math.columbia.edu/tag/009N -/ import to_mathlib.opens import sheaves.presheaf_of_rings import sheaves.presheaf_of_rings_on_basis import sheaves.sheaf_on_basis import sheaves.stalk_of_rings_on_standard_basis universes u v w open topological_space open lattice open c...
3951a33c02b83e6fa45c2afdeb72f3051f990a00
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/linear_algebra/matrix/reindex.lean
56e22e46b138b8ee78f7979b0089437f3d302eac
[ "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
5,487
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, Patrick Massot, Casper Putz, Anne Baanen -/ import linear_algebra.matrix.determinant /-! # Changing the index type of a matrix This file concerns the map `matrix.rei...
d7f7b8e92e13d11f8525040fd9a84700ae81eef8
63abd62053d479eae5abf4951554e1064a4c45b4
/src/linear_algebra/finsupp_vector_space.lean
301c9c2a9c934a9da09ef98e3c49c3e1309cd82e
[ "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
7,424
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl Linear structures on function with finite support `ι →₀ β`. -/ import data.mv_polynomial import linear_algebra.dimension import linear_algebra.direct_sum.finsupp noncom...
8aef4cab6dc55a7dc8ee09760b7f481fa3a97a90
5d76f062116fa5bd22eda20d6fd74da58dba65bb
/src/polynomial_tactic_test.lean
0ae84a1cdca6b8f4fdfdfe06aae5c5284fa0b37b
[]
no_license
brando90/formal_baby_snark
59e4732dfb43f97776a3643f2731262f58d2bb81
4732da237784bd461ff949729cc011db83917907
refs/heads/master
1,682,650,246,414
1,621,103,975,000
1,621,103,975,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
642
lean
import polynomial_tactic open_locale big_operators section open mv_polynomial noncomputable theory universes u /-- The finite field parameter of our SNARK -/ parameter {F : Type u} parameter [field F] @[derive decidable_eq] inductive vars : Type | x : vars | y : vars | z : vars def my_polynomial : mv_polynom...
26663692accf6b523ae790becbbc6750e50aa435
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Lean/Compiler/NameMangling.lean
3a763657f227b6c13cd58d6a1cbe3f5179b2c21c
[ "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
1,930
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ import Lean.Data.Name namespace String private def mangleAux : Nat → String.Iterator → String → String | 0, it, r => r | i+1, it, r => let c := i...
e15586071ba1c24c0b6963b30192efc4641eaaf7
4d3f29a7b2eff44af8fd0d3176232e039acb9ee3
/Mathlib/Mathlib/Tactic/NormNum.lean
e38fea730579d7f3896ac92eeb14f4be6984abfd
[]
no_license
marijnheule/lamr
5fc5d69d326ff92e321242cfd7f72e78d7f99d7e
28cc4114c7361059bb54f407fa312bf38b48728b
refs/heads/main
1,689,338,013,620
1,630,359,632,000
1,630,359,632,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,277
lean
/- Copyright (c) 2021 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import Lean.Elab.Tactic.Basic import Mathlib.Algebra.Ring.Basic import Mathlib.Tactic.Core namespace Lean /-- Return true if `e` is one of the following - A nat...
a5c99a5b6c4f99eed4f169fa3a6f892485200444
98e19516c8c6ccdcd3b092955d47773a0aaabf7b
/test/bench/lean/rbtree.lean
11412470691efdbf9783ab1453ce40703cb464ad
[ "Apache-2.0" ]
permissive
koka-lang/koka
d31daf7d06b28ea7b1fc8084cc76cdf5459610b6
b3122869ac74bfb6f432f7e76eeb723b1f69a491
refs/heads/master
1,693,461,288,476
1,688,408,308,000
1,688,408,308,000
75,982,258
2,806
154
NOASSERTION
1,689,870,454,000
1,481,238,037,000
Haskell
UTF-8
Lean
false
false
2,887
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Coe import Init.Data.Option.Basic import Init.Data.List.BasicAux import Init.System.IO universes u v w w' inductive color | Red | Blac...
f05d3999b2ab99fcb5160b727a41f1042673124d
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/src/Init/Data/Option/Basic.lean
ae88231c3a9b2b56c9f1fe9763bc89671d38d166
[ "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
2,439
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Core import Init.Control.Basic import Init.Coe namespace Option def toMonad [Monad m] [Alternative m] : Option α → m α | none =>...
1ddb239194533d0682bde32c6982b69e21c737e3
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/src/Init/Lean/Delaborator.lean
5f8a01919e38aa98523f2a15b579c52f2f54d742
[ "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
17,214
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ /-! The delaborator is the first stage of the pretty printer, and the inverse of the elaborator: it turns fully elaborated `Expr` core terms back into surf...
202ae1dacd759bab2ae330bb1c581dd195327fc5
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/meta/injection_tactic.lean
1eb7b67c15d521238378215a5378534a80646abc
[]
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,193
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, Jannis Limperg -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.meta.tactic namespace Mathlib namespace tactic /- Given a local constant `H : C x₁...
ecaaec674f4a2911cf9c4ccd17d30d87827bcfb2
d1a52c3f208fa42c41df8278c3d280f075eb020c
/src/Lean/Elab/Tactic/Delta.lean
158d12abef2d7e5413a1630c1d9646b078b06cdd
[ "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
1,398
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.Meta.Tactic.Delta import Lean.Elab.Tactic.Basic import Lean.Elab.Tactic.Location namespace Lean.Elab.Tactic open Meta def deltaLocalDecl (decl...
f2374af51c53d4ebbb92cdc43567f3aaae5a88c2
c777c32c8e484e195053731103c5e52af26a25d1
/src/analysis/quaternion.lean
f00c116fe91f626e186d6f65dadbb3c14dddc20f
[ "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
7,305
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov, Eric Wieser -/ import algebra.quaternion import analysis.inner_product_space.basic import analysis.inner_product_space.pi_L2 import topology.algebra.algebra /-! # Qu...
68d6a0ea60d7aa1e9d63f523ec41263456ec019b
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/algebra/support.lean
9dec2b5e0b82a6441d798d285cfd473927708647
[ "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
10,899
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 order.conditionally_complete_lattice import algebra.big_operators.basic import algebra.group.prod import algebra.group.pi import algebra.module.pi /-! # Sup...
7ecd52de86544a934fff5c6affaf2ee82ab817c8
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/measure_theory/integral/set_integral.lean
ea05ed0a36bb590dfc91a5775367e7e610b39642
[ "Apache-2.0" ]
permissive
troyjlee/mathlib
e18d4b8026e32062ab9e89bc3b003a5d1cfec3f5
45e7eb8447555247246e3fe91c87066506c14875
refs/heads/master
1,689,248,035,046
1,629,470,528,000
1,629,470,528,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
36,902
lean
/- Copyright (c) 2020 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou, Yury Kudryashov -/ import measure_theory.integral.integrable_on import measure_theory.integral.bochner /-! # Set integral In this file we prove some properties of `∫ x ...
5c765ef46fda1f60984858e44bb7ce8dbd309e88
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/group_theory/index.lean
92cb3e3464e34a8bf85a3094af63b34f403efcc8
[ "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
2,800
lean
/- Copyright (c) 2021 Thomas Browning. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Thomas Browning -/ import group_theory.coset import set_theory.cardinal /-! # Index of a Subgroup In this file we define the index of a subgroup, and prove several divisibility pro...
73dca2493b480ce5383b2e1db5d920ed161dd775
71c05f289da9a856f1d16197a32b6a874eb1052e
/hlean/rats.hlean
e2ac740882b1592cce14ddad0a1914d14bf51fdd
[]
no_license
gbaz/works-in-progress
e7701b1c2f8d0cfb6bfb8d84fc4d21ffd9937521
af7bacd7f68649106a3581c232548958aca79a08
refs/heads/master
1,661,485,946,844
1,659,018,408,000
1,659,018,408,000
32,045,948
14
1
null
null
null
null
UTF-8
Lean
false
false
7,417
hlean
import types.int algebra.field hit.set_quotient hit.trunc int_order open eq sigma sigma.ops equiv is_equiv equiv.ops eq.ops int algebra set_quotient is_trunc trunc quotient record prerat : Type := (num : ℤ) (denom : ℤ) --(dp : denom > 0) inductive rat_rel : prerat → prerat → Type := | Rmk : Π (a b : prerat), int.mul...
679d61e061a6dd4412bb9997a40f1e95e1c9c3fb
9cba98daa30c0804090f963f9024147a50292fa0
/old/metrology/quantity_test.lean
50c3798ef6ec12285f9212fdbd1e9a8cfb3feec3
[]
no_license
kevinsullivan/phys
dcb192f7b3033797541b980f0b4a7e75d84cea1a
ebc2df3779d3605ff7a9b47eeda25c2a551e011f
refs/heads/master
1,637,490,575,500
1,629,899,064,000
1,629,899,064,000
168,012,884
0
3
null
1,629,644,436,000
1,548,699,832,000
Lean
UTF-8
Lean
false
false
554
lean
import .quantity open quantity open dimension open measurementSystem -- Examples def oneMeter := mkQuantity BasicDimension.length si_measurement_system (1 : ℝ) def twoSeconds := mkQuantity BasicDimension.time si_measurement_system (2 : ℝ) def threePounds := mkQuantity BasicDimension.mass imperial_measurement_system ...
8c19b9c64a46b9a5d461ea248a85b5b3a8f65829
a5271082abc327bbe26fc4acdaa885da9582cefa
/src/test.lean
814f2d97ac81793cf6332d4a42d2c8eaf0d67ea2
[ "Apache-2.0" ]
permissive
avigad/embed
9ee7d104609eeded173ca1e6e7a1925897b1652a
0e3612028d4039d29d06239ef03bc50576ca0f8b
refs/heads/master
1,584,548,951,613
1,527,883,346,000
1,527,883,346,000
134,967,973
0
0
null
null
null
null
UTF-8
Lean
false
false
192
lean
/-example : 1 + 2222 = 2223 := begin reflexivity end theorem foo : 1 + (2222222222222 : nat) = 2222222222223 := begin reflexivity end -/ theorem bar : 100003 + 100003 = 200006 := rfl
391630b4de25faf572271d1875c3cf5e9ba9c6e8
c3de33d4701e6113627153fe1103b255e752ed7d
/data/nat/basic.lean
43e74d2371736670c4545251a86821d44d03dff9
[]
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
3,255
lean
/- 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, Leonardo de Moura, Jeremy Avigad Basic operations on the natural numbers. -/ import tools.super.prover open tactic namespace nat -- TODO(gabriel): can we drop ad...
9165f4c55a4a356c084e81932dc52749a294320b
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/1143.lean
355c330632d2e2f3b563d09068b9598e94d7231c
[ "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
135
lean
inductive Foo | foo | bar def baz (b : Bool) (x : Foo := .foo) : Foo := Id.run <| do let mut y := x if b then y := .bar y
109626eb87aadf489b99f4b0f4475b69ebf1bb1c
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/algebra_auto.lean
dca578fcc022ed93327e62240f02a35d15eee4c2
[]
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
309
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.core import Mathlib.PostPort namespace Mathlib namespace tactic end Mathlib
ab15d9ac91dc290e1e67f55ccfda7ff9e6c51671
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/qpf/multivariate/constructions/comp.lean
00e56d65ee4c59ef3068a65986e84a1b21f3ff7b
[ "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,662
lean
/- Copyright (c) 2018 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Simon Hudon -/ import data.pfunctor.multivariate.basic import data.qpf.multivariate.basic /-! # The composition of QPFs is itself a QPF We define composition between o...
f439b8f35db39b9fe5fc716da9efd7bccb4c2897
bb31430994044506fa42fd667e2d556327e18dfe
/src/topology/continuous_function/stone_weierstrass.lean
581de93c3648ea7d0870d6ebbd3bf839c2a8c333
[ "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
21,051
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Heather Macbeth -/ import topology.continuous_function.weierstrass import data.complex.is_R_or_C /-! # The Stone-Weierstrass theorem If a subalgebra `A` of `C(X, ℝ)`,...
cf18367005f2ad35f6ffe6093be2f526fd84658c
82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7
/tests/lean/run/coeIssues4.lean
f96296207b141ae1c9a156cc056ec301e61debed
[ "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
534
lean
def f : List Int → Bool := fun _ => true def ex3 : IO Bool := do let xs ← pure [1, 2, 3]; pure $ f xs -- Works inductive Expr | val : Nat → Expr | app : Expr → Expr → Expr instance : Coe Nat Expr := ⟨Expr.val⟩ def foo : Expr → Expr := fun e => e def ex1 : Bool := f [1, 2, 3] -- Works def ex2 : Bool := let xs :...
9b7d9ce1064cfc58096b0bb4eacb3e7b48fd2bd1
969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb
/src/topology/algebra/algebra.lean
6d263e60b12a51f5b96a6696183589fce89b04b9
[ "Apache-2.0" ]
permissive
SAAluthwela/mathlib
62044349d72dd63983a8500214736aa7779634d3
83a4b8b990907291421de54a78988c024dc8a552
refs/heads/master
1,679,433,873,417
1,615,998,031,000
1,615,998,031,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,926
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.algebra.subalgebra import topology.algebra.module /-! # Topological (sub)algebras A topological algebra over a topological ring `R` is a topological ...
c5bade9a43e9174f84f10f6b76617bfafd8ec5f1
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/topology/algebra/ring.lean
b12b9aecb6746662bb2c0c0ee65c838e7c944f1f
[ "Apache-2.0" ]
permissive
dupuisf/mathlib
62de4ec6544bf3b79086afd27b6529acfaf2c1bb
8582b06b0a5d06c33ee07d0bdf7c646cae22cf36
refs/heads/master
1,669,494,854,016
1,595,692,409,000
1,595,692,409,000
272,046,630
0
0
Apache-2.0
1,592,066,143,000
1,592,066,142,000
null
UTF-8
Lean
false
false
4,007
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Johannes Hölzl Theory of topological rings. -/ import topology.algebra.group import ring_theory.ideals open classical set filter topological_space open_locale classic...
c1e5cd6e53ac342fe7fedc33b3d36b85179d66c2
b815abf92ce063fe0d1fabf5b42da483552aa3e8
/library/data/bitvec.lean
7f079bece1448e7f5a6d2028f3040de8cd73360f
[ "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
5,259
lean
/- Copyright (c) 2015 Joe Hendrix. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Joe Hendrix Basic operations on bitvectors. This is a work-in-progress, and contains additions to other theories. -/ import data.tuple def bitvec (n : ℕ) := tuple bool n namespace bitv...
44e49940ca36eee58812c36921f59751fcf317f3
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/concrete_category/default_auto.lean
e5b03c5c3696a58c52f5005f756c227dbc0eecf1
[]
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
178
lean
import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.concrete_category.unbundled_hom import Mathlib.PostPort namespace Mathlib end Mathlib
5c587ca0e608c20001de9879e8eae2b3f282b851
efa51dd2edbbbbd6c34bd0ce436415eb405832e7
/20161026_ICTAC_Tutorial/ex42.lean
e214463ecf4485a5216c95e418cb9268360c233d
[ "Apache-2.0" ]
permissive
leanprover/presentations
dd031a05bcb12c8855676c77e52ed84246bd889a
3ce2d132d299409f1de269fa8e95afa1333d644e
refs/heads/master
1,688,703,388,796
1,686,838,383,000
1,687,465,742,000
29,750,158
12
9
Apache-2.0
1,540,211,670,000
1,422,042,683,000
Lean
UTF-8
Lean
false
false
294
lean
variables (A : Type) (r : A → A → Prop) variable refl_r : ∀ x, r x x variable symm_r : ∀ {x y}, r x y → r y x variable trans_r : ∀ {x y z}, r x y → r y z → r x z example (a b c d : A) (hab : r a b) (hcb : r c b) (hcd : r c d) : r a d := trans_r (trans_r hab (symm_r hcb)) hcd
336f34ee8e3a559580db39c2872c2425218cb64e
e38e95b38a38a99ecfa1255822e78e4b26f65bb0
/src/certigrad/label.lean
955eb2f450401e0f6a6d135c2b81f86136c72f37
[ "Apache-2.0" ]
permissive
ColaDrill/certigrad
fefb1be3670adccd3bed2f3faf57507f156fd501
fe288251f623ac7152e5ce555f1cd9d3a20203c2
refs/heads/master
1,593,297,324,250
1,499,903,753,000
1,499,903,753,000
97,075,797
1
0
null
1,499,916,210,000
1,499,916,210,000
null
UTF-8
Lean
false
false
2,802
lean
/- Copyright (c) 2017 Daniel Selsam. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Daniel Selsam Labels. Note: this file is just because strings are slow and cumbersome in current Lean. -/ import .tactics namespace certigrad inductive label : Type | default | batch_...
b7deb2554d1a1782f0d4df64f693344767f1e97f
5d166a16ae129621cb54ca9dde86c275d7d2b483
/tests/lean/run/smt_assert_define.lean
d09d890b8ec9d6e5249da700274c62fb31ff161c
[ "Apache-2.0" ]
permissive
jcarlson23/lean
b00098763291397e0ac76b37a2dd96bc013bd247
8de88701247f54d325edd46c0eed57aeacb64baf
refs/heads/master
1,611,571,813,719
1,497,020,963,000
1,497,021,515,000
93,882,536
1
0
null
1,497,029,896,000
1,497,029,896,000
null
UTF-8
Lean
false
false
893
lean
open smt_tactic constant p : nat → nat → Prop constant f : nat → nat axiom pf (a : nat) : p (f a) (f a) → p a a lemma ex1 (a b c : nat) : a = b + 0 → a + c = b + c := by using_smt $ do pr ← tactic.to_expr ```(add_zero b), note `h none pr, trace_state, return () lemma ex2(a b c : nat) : a = b → p (f a) (f b) → ...
3213afc9b8b54d4c66f110d64ae764616a4f7233
618003631150032a5676f229d13a079ac875ff77
/src/algebra/category/Module/basic.lean
6d640759abbaf713c255d9d4d8f9a8c6391101b1
[ "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
5,740
lean
/- Copyright (c) 2019 Robert A. Spencer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert A. Spencer, Markus Himmel -/ import algebra.category.Group.basic import category_theory.concrete_category import category_theory.limits.shapes.kernels import category_theory....
f6e094a5392d94d349a8f1549da746d88a234db1
49bd2218ae088932d847f9030c8dbff1c5607bb7
/src/topology/constructions.lean
de28bdc2ca6abd713d05c0250a7983a2a15c39b8
[ "Apache-2.0" ]
permissive
FredericLeRoux/mathlib
e8f696421dd3e4edc8c7edb3369421c8463d7bac
3645bf8fb426757e0a20af110d1fdded281d286e
refs/heads/master
1,607,062,870,732
1,578,513,186,000
1,578,513,186,000
231,653,181
0
0
Apache-2.0
1,578,080,327,000
1,578,080,326,000
null
UTF-8
Lean
false
false
29,790
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.maps /-! # Constructions of new topological spaces from old ones This file constructs products, sums, subtypes and q...
d22c13dc190b22f5f141cc55c9c4b0f7bda5f95b
3dc4623269159d02a444fe898d33e8c7e7e9461b
/.github/workflows/project_1_a_decrire/lean-scheme-submission/src/to_mathlib/localization/localization_ideal.lean
3ac29108fa0b90f959a341335cb93d930c0f9267
[]
no_license
Or7ando/lean
cc003e6c41048eae7c34aa6bada51c9e9add9e66
d41169cf4e416a0d42092fb6bdc14131cee9dd15
refs/heads/master
1,650,600,589,722
1,587,262,906,000
1,587,262,906,000
255,387,160
0
0
null
null
null
null
UTF-8
Lean
false
false
4,418
lean
/- A concrete characterisation of the ideal map induced by a ring homomorphism with the localization property. -/ import ring_theory.ideal_operations import ring_theory.localization import to_mathlib.localization.localization_alt open localization_alt universe u section parameters {R : Type u} [comm_ring R] ...
6edf855dd7fd10d4b3d18e3d5dae2cc40faeaae1
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/src/Init/Lean/Compiler/IR/CtorLayout.lean
e3fe13f61a209872a349e76ca15a02fa070b2683
[ "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
1,001
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.Environment import Init.Lean.Compiler.IR.Format namespace Lean namespace IR inductive CtorFieldInfo | irrelevant | object (i : Na...
83afb4a0ae46dae0898035b85e75fe4697d8d5fc
63abd62053d479eae5abf4951554e1064a4c45b4
/src/category_theory/closed/cartesian.lean
9de363075a2f3e24149406c69bb615c20873aece
[ "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
16,332
lean
/- Copyright (c) 2020 Bhavik Mehta, Edward Ayers, Thomas Read. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta, Edward Ayers, Thomas Read -/ import category_theory.limits.shapes.finite_products import category_theory.limits.shapes.constructions.preserve_bi...
cef1f4a65a6dfe9edcb385e0d60ef25b9c2af8ee
f083c4ed5d443659f3ed9b43b1ca5bb037ddeb58
/analysis/metric_space.lean
636a91be4e6d112e457435c9bcd914a1b38d7a18
[ "Apache-2.0" ]
permissive
semorrison/mathlib
1be6f11086e0d24180fec4b9696d3ec58b439d10
20b4143976dad48e664c4847b75a85237dca0a89
refs/heads/master
1,583,799,212,170
1,535,634,130,000
1,535,730,505,000
129,076,205
0
0
Apache-2.0
1,551,697,998,000
1,523,442,265,000
Lean
UTF-8
Lean
false
false
21,888
lean
/- Copyright (c) 2015, 2017 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Metric spaces. Authors: Jeremy Avigad, Robert Y. Lewis, Johannes Hölzl, Mario Carneiro Many definitions and theorems expected on metric spaces are already introduced on uniform spaces an...
03a5cb7e81c68d0e4255de8d5c2fa0bbc22549c4
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/algebra/direct_sum/decomposition.lean
359f406bbb84dea83f9bd4d147d3627fc008ccd5
[ "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
8,272
lean
/- Copyright (c) 2022 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser, Jujian Zhang -/ import algebra.direct_sum.module import algebra.module.submodule.basic /-! # Decompositions of additive monoids, groups, and modules into direct sums ## Mai...
b4e2cd720b0ae3df17d130f3c080c6ec97fcaa09
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebra/category/Module/epi_mono.lean
2a793833675e0811c1efaba4bfe9045eff5bc5ff
[ "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
1,720
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.category.Module.adjunctions import category_theory.epi_mono /-! # Monomorphisms in `Module R` This file shows that an `R`-linear map is a monomorphism...
25e56d9547fec5fa2a0e76368e16b3de1b2ac036
56e5b79a7ab4f2c52e6eb94f76d8100a25273cf3
/src/backends/bfs/openai.lean
a03d4913b3c573f0863025d23d5a25f8145e319d
[ "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
11,048
lean
import evaluation import utils -- TODO(jesse): code duplication >:( namespace openai section openai_api meta structure CompletionRequest : Type := (prompt : string) (max_tokens : int := 16) (temperature : native.float := 1.0) (top_p : native.float := 1) (n : int := 1) (best_of : option int := none) (stream : option...
11ae5237a59115c9c65594fe04ecab70a4274ba8
c86b74188c4b7a462728b1abd659ab4e5828dd61
/stage0/src/Std/Data/HashSet.lean
875816169ecea4872163d4d8e78e2a6921e17800
[ "Apache-2.0" ]
permissive
cwb96/lean4
75e1f92f1ba98bbaa6b34da644b3dfab2ce7bf89
b48831cda76e64f13dd1c0edde7ba5fb172ed57a
refs/heads/master
1,686,347,881,407
1,624,483,842,000
1,624,483,842,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,119
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ namespace Std universes u v w def HashSetBucket (α : Type u) := { b : Array (List α) // b.size > 0 } def HashSetBucket.update {α : Type u} (data : HashSe...
a3dc823a64e1bd894780a66939806645913bc72f
8cb37a089cdb4af3af9d8bf1002b417e407a8e9e
/tests/lean/run/simp_tc_err.lean
41c1932796dfed4abfdaef1aa0e733e95c7dd5a2
[ "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
507
lean
def c : ℕ := default _ def d : ℕ := default _ local attribute [simp] nat.add_zero class foo (α : Type) -- type class resolution for [foo α] will always time out instance foo.foo {α} [foo α] : foo α := ‹foo α› -- would break simp on any term containing c @[simp] lemma c_eq_d [foo ℕ] : c = d := by refl set_option tra...
58a012990721e75415bcde04fa76232b09f8dc5b
626e312b5c1cb2d88fca108f5933076012633192
/src/field_theory/separable.lean
0bc6f2e9738b94dc05f7d1f9988147f5e6e16847
[ "Apache-2.0" ]
permissive
Bioye97/mathlib
9db2f9ee54418d29dd06996279ba9dc874fd6beb
782a20a27ee83b523f801ff34efb1a9557085019
refs/heads/master
1,690,305,956,488
1,631,067,774,000
1,631,067,774,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
28,115
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.polynomial.big_operators import field_theory.minpoly import field_theory.splitting_field import field_theory.tower import algebra.squarefree /-! # Separable p...
ba053915d88d1564dd97a425e6e89b3b4dd18d69
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/qexpr1.lean
8f6e3c6bee21227b22440f45b90149c9c635af91
[ "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
322
lean
open tactic set_option pp.all true example (a b c : nat) : true := by do x ← to_expr ```(a + b), trace x, infer_type x >>= trace, constructor example (a b c : nat) : true := by do x ← get_local `a, x ← mk_app `nat.succ [x], r ← to_expr ```(%%x + b), trace r, infer_type r >>= trace, constructor
d67f9252f5252082ce82cde4b0dee4474f351999
6b10c15e653d49d146378acda9f3692e9b5b1950
/examples/basic_skills/unnamed_207.lean
ca835e473a66589193f6b47b15a814a7ce6352fd
[]
no_license
gebner/mathematics_in_lean
3cf7f18767208ea6c3307ec3a67c7ac266d8514d
6d1462bba46d66a9b948fc1aef2714fd265cde0b
refs/heads/master
1,655,301,945,565
1,588,697,505,000
1,588,697,505,000
261,523,603
0
0
null
1,588,695,611,000
1,588,695,610,000
null
UTF-8
Lean
false
false
315
lean
import data.real.basic -- BEGIN example (a b c d e f : ℝ) (h : a * b = c * d) (h' : e = f) : a * (b * e) = c * (d * f) := begin rw [h', ←mul_assoc, h, mul_assoc] end example (a b c d e f : ℝ) (h : a * b = c * d) (h' : e = f) : a * (b * e) = c * (d * f) := by rw [h', ←mul_assoc, h, mul_assoc] -- END
aed1184d348fceb77884521e717b3d162e6446f2
367134ba5a65885e863bdc4507601606690974c1
/src/order/filter/bases.lean
ab198170ca6a5e30fd25ea28d9ac1969256b33b2
[ "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
36,639
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Yury Kudryashov, Johannes Hölzl, Mario Carneiro, Patrick Massot -/ import order.filter.basic import data.set.countable /-! # Filter bases A filter basis `B : filter_basis α` on a typ...
0b11ac47c84eadfa48316e69014a859888f8bdab
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/inductive_pred.lean
19ef52b70a522ae4dc6f20e830d428ec18289474
[ "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
3,941
lean
import Lean open Lean namespace Ex inductive LE : Nat → Nat → Prop | refl : LE n n | succ : LE n m → LE n m.succ def typeOf {α : Sort u} (a : α) := α theorem LE.trans' : LE m n → LE n o → LE m o | h1, refl => h1 | h1, succ h2 => succ (trans' h1 h2) -- the structural recursion in being performed on the im...
98ba395e77177aa1e377cb261585150e74c2f407
9dc8cecdf3c4634764a18254e94d43da07142918
/src/topology/algebra/field.lean
f394d0115f4f0e020aadf0815c8c8be85a68f116
[ "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
4,518
lean
/- Copyright (c) 2021 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Scott Morrison -/ import topology.algebra.ring import topology.algebra.group_with_zero /-! # Topological fields A topological division ring is a topological ring whos...
98eca398aa3f1b7af1f88a74801a5037fe8e9bb6
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tmp/new-frontend/parser/trie.lean
16b4baad8aae09408efe55b42d79c8e0f347e118
[ "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
3,507
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Sebastian Ullrich, Leonardo de Moura Trie for tokenizing the Lean language -/ prelude import init.data.rbmap import init.lean.format init.lean.parser.parsec namespace Lean name...
ecd8a873632d4f9cfdb7842018df365daaec2f05
30b012bb72d640ec30c8fdd4c45fdfa67beb012c
/ring_theory/ideals.lean
9b9071906719662bd435ac4ddd0662d36d68834d
[ "Apache-2.0" ]
permissive
kckennylau/mathlib
21fb810b701b10d6606d9002a4004f7672262e83
47b3477e20ffb5a06588dd3abb01fe0fe3205646
refs/heads/master
1,634,976,409,281
1,542,042,832,000
1,542,319,733,000
109,560,458
0
0
Apache-2.0
1,542,369,208,000
1,509,867,494,000
Lean
UTF-8
Lean
false
false
12,233
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, Mario Carneiro -/ import linear_algebra.basic ring_theory.associated order.zorn universes u v variables {α : Type u} {β : Type v} [comm_ring α] {a b : α} open set ...
88bd03db4c46fc66f7809d8ab12ad363b861e7d4
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/tests/lean/run/blast_cc5.lean
b7b0c9b46f13b5feb26f8431cfc261c844b606c8
[ "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
608
lean
set_option blast.simp false set_option blast.subst false example (a b c : Prop) : (a ↔ b) → ((a ∧ (c ∨ b)) ↔ (b ∧ (c ∨ a))) := by blast example (a b c : Prop) : (a ↔ b) → ((a ∧ (c ∨ (b ↔ a))) ↔ (b ∧ (c ∨ (a ↔ b)))) := by blast example (a₁ a₂ b₁ b₂ : Prop) : (a₁ ↔ b₁) → (a₂ ↔ b₂) → (a₁ ∧ a₂ ∧ a₁ ∧ a₂ ↔ b₁ ∧ b₂ ∧ b₁ ...
bfa92ba04fff5ae0da526785265e28881a335e44
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/print_ax3.lean
1c36701678c25f4e206c1967ae6e3095b879495d
[ "Apache-2.0" ]
permissive
bre7k30/lean
de893411bcfa7b3c5572e61b9e1c52951b310aa4
5a924699d076dab1bd5af23a8f910b433e598d7a
refs/heads/master
1,610,900,145,817
1,488,006,845,000
1,488,006,845,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
308
lean
theorem foo1 : 0 = (0:num) := rfl theorem foo2 : 0 = (0:num) := rfl theorem foo3 : 0 = (0:num) := foo2 definition foo4 : 0 = (0:num) := eq.trans foo2 foo1 lemma foo5 : true = false := propext sorry print axioms foo4 print "------" print axioms print "------" print foo3 print "------" print axioms foo5
905ca7e4bf1915ae617a429b1644e525029bcb4b
94e33a31faa76775069b071adea97e86e218a8ee
/src/order/compare.lean
5dd03daff8d5c6474e9b50a83852d143d4a4f111
[ "Apache-2.0" ]
permissive
urkud/mathlib
eab80095e1b9f1513bfb7f25b4fa82fa4fd02989
6379d39e6b5b279df9715f8011369a301b634e41
refs/heads/master
1,658,425,342,662
1,658,078,703,000
1,658,078,703,000
186,910,338
0
0
Apache-2.0
1,568,512,083,000
1,557,958,709,000
Lean
UTF-8
Lean
false
false
8,239
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.synonym /-! # Comparison This file provides basic results about orderings and comparison in linear orders. ## Definitions * `cmp_le`: An `ordering` ...
a3a4680bb4303b9cade595b7f09ac96389a3cf4d
de91c42b87530c3bdcc2b138ef1a3c3d9bee0d41
/old/expressions/boolean_test.lean
1d49a113d65bf8d760b908936b6650e1cc945c06
[]
no_license
kevinsullivan/lang
d3e526ba363dc1ddf5ff1c2f36607d7f891806a7
e9d869bff94fb13ad9262222a6f3c4aafba82d5e
refs/heads/master
1,687,840,064,795
1,628,047,969,000
1,628,047,969,000
282,210,749
0
1
null
1,608,153,830,000
1,595,592,637,000
Lean
UTF-8
Lean
false
false
177
lean
import .boolean def init_benv : benv := λ v, ff def myFirstProg := bCmd.bAssm (bvar.mk 0) (bExpr.BLit ff) def newEnv := cEval init_benv myFirstProg #eval newEnv (bvar.mk 0)
2eaa764fb7c5c49748db3c4757aafa1630aaf7fd
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/topology/connected.lean
6b12847670692f6087c5ae72995c484a131f2691
[ "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
40,077
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, Yury Kudryashov -/ import topology.subset_properties /-! # Connected subsets of topological spaces In this file we define connected subsets of a topol...
53a1e21062d40fd9e5937852be40c19a7ebdfebb
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/list/perm_auto.lean
bce87e74d18d7749d30e1e79e513ebeb952f235f
[]
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
30,085
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad, Mario Carneiro -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.list.bag_inter import Mathlib.data.list.erase...
9ec35b430d587062aa6db1b69e85eee0e4111900
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/combinatorics/simple_graph/adj_matrix.lean
6363e3062da21dc518237a89e8ed9ce8e1135b1d
[ "Apache-2.0" ]
permissive
JLimperg/aesop3
306cc6570c556568897ed2e508c8869667252e8a
a4a116f650cc7403428e72bd2e2c4cda300fe03f
refs/heads/master
1,682,884,916,368
1,620,320,033,000
1,620,320,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,154
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson, Jalex Stark -/ import linear_algebra.matrix import data.rel import combinatorics.simple_graph.basic /-! # Adjacency Matrices This module defines the adjacency matrix ...
f75cabb8b9a05787459a7048488e8dae1a1fff8a
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/theories/topology/order_topology.lean
308835100c1337379f6ab1fad97607fae9cc251e
[ "Apache-2.0" ]
permissive
soonhokong/lean-osx
4a954262c780e404c1369d6c06516161d07fcb40
3670278342d2f4faa49d95b46d86642d7875b47c
refs/heads/master
1,611,410,334,552
1,474,425,686,000
1,474,425,686,000
12,043,103
5
1
null
null
null
null
UTF-8
Lean
false
false
3,241
lean
/- Copyright (c) 2016 Jacob Gross. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jacob Gross The order topology. -/ import data.set theories.topology.basic algebra.interval open algebra eq.ops set interval topology namespace order_topology variables {X : Type} [lin...
d3e0a9c6fd2c6d45ad8e3ed21ea98d4725dd8f61
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/whiskering.lean
f63f6ec9a485e35309ddc55ba3cbe5bf0d6d1c71
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
7,095
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.natural_isomorphism namespace category_theory universes u₁ v₁ u₂ v₂ u₃ v₃ u₄ v₄ section variables {C : Type u₁} [category.{v₁} C] ...
bcbd5f539443fc3e0233ccd8260534b1539935cf
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/library/data/nat/bigops.lean
4307166cff0b127136cd95406d8a4b42e36c1fef
[ "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
7,409
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad Finite sums and products over intervals of natural numbers. -/ import data.nat.order algebra.group_bigops algebra.interval namespace nat /- sums -/ section add_monoid ...
3d1f9d48a0c6ba429aef8c38d452156b115034bb
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/topology/metric_space/emetric_paracompact.lean
39cd889359e506647849b4d4aab160857fdbfbc9
[ "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
8,360
lean
/- Copyright (c) 202 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.emetric_space import topology.paracompact import set_theory.ordinal /-! # (Extended) metric spaces are paracompact In this file ...
c85e4c3335bb7af9d169955c9cfcf66c96afd2b3
e4a7c8ab8b68ca0e53d2c21397320ea590fa01c6
/src/data/polya/field/sterm.lean
babc4c2452a2bcbfad557225516411372339bd8a
[]
no_license
lean-forward/field
3ff5dc5f43de40f35481b375f8c871cd0a07c766
7e2127ad485aec25e58a1b9c82a6bb74a599467a
refs/heads/master
1,590,947,010,909
1,563,811,881,000
1,563,811,881,000
190,415,651
1
0
null
1,563,643,371,000
1,559,746,688,000
Lean
UTF-8
Lean
false
false
8,134
lean
import .basic namespace polya.field open nterm --@[derive decidable_eq] structure cterm (γ : Type) [const_space γ] : Type := (term : nterm γ) (coeff : γ) (pr : coeff ≠ 0) namespace cterm variables {α : Type} [discrete_field α] variables {γ : Type} [const_space γ] variables [morph γ α] {ρ : dict α} instance : inhab...
8a85c4f4ac6e3f6ad5f32dbb7875ab8ca786fc90
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/lake/test/75/foo/Main.lean
fbeacd4c97339bf797d712b0d39f57d0a2970357
[ "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
67
lean
import Foo def main : IO Unit := IO.println s!"Hello, {hello}!"
3e395cd9cdf2a84adb72f2eb99508667f641885f
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/topology/metric_space/antilipschitz.lean
596c61b8444839447226aa2109e6611148eb5771
[ "Apache-2.0" ]
permissive
hamdysalah1/mathlib
b915f86b2503feeae268de369f1b16932321f097
95454452f6b3569bf967d35aab8d852b1ddf8017
refs/heads/master
1,677,154,116,545
1,611,797,994,000
1,611,797,994,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,443
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 topology.metric_space.lipschitz /-! # Antilipschitz functions We say that a map `f : α → β` between two (extended) metric spaces is `antilipschitz_with K`,...
78253573671e9280b1e989edbacec29f66c772f1
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/hott/619.hlean
27e8565f5968f96c224c5c07a9236dd8098b975d
[ "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
312
hlean
-- HoTT open is_equiv equiv eq definition my_rec_on_ua [recursor] {A B : Type} {P : A ≃ B → Type} (f : A ≃ B) (H : Π(q : A = B), P (equiv_of_eq q)) : P f := right_inv equiv_of_eq f ▸ H (ua f) theorem foo {A B : Type} (f : A ≃ B) : A = B := begin induction f using my_rec_on_ua, assumption end
f180d1893191679a27b624c56225ecdceed6fef6
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/field_theory/subfield.lean
7646e4832fa7991df4bbb05ed779dccb0eb52905
[ "Apache-2.0" ]
permissive
dexmagic/mathlib
ff48eefc56e2412429b31d4fddd41a976eb287ce
7a5d15a955a92a90e1d398b2281916b9c41270b2
refs/heads/master
1,693,481,322,046
1,633,360,193,000
1,633,360,193,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
24,848
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import algebra.algebra.basic /-! # Subfields Let `K` be a field. This file defines the "bundled" subfield type `subfield K`, a type whose terms correspond to subfields o...
d9ca257378cfc4a9e12c67789716a3c024f70b56
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/glue_data.lean
422f45d391d19446cc017da70633ba28d5d07c47
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
12,568
lean
/- Copyright (c) 2021 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import tactic.elementwise import category_theory.limits.shapes.multiequalizer import category_theory.limits.constructions.epi_mono import category_theory.limits.preserves.l...
44764b10243af82fc3c4e171779febe3a8255c78
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/polynomial/lifts_auto.lean
fe90170e859b459db0d9909a3f0a5f904d73be00
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
6,884
lean
/- Copyright (c) 2020 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Riccardo Brasca -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.polynomial.algebra_map import Mathlib.algebra.algebra.subalgebra import Mathlib.algeb...
e5250aa4249ea49d80a9f5e682e9ce229273400e
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/bad_quoted_symbol.lean
a75c825d3e4cfb3b5e194ebbfebd85bbe3d1e4e7
[ "Apache-2.0" ]
permissive
GaloisInc/lean
aa1e64d604051e602fcf4610061314b9a37ab8cd
f1ec117a24459b59c6ff9e56a1d09d9e9e60a6c0
refs/heads/master
1,592,202,909,807
1,504,624,387,000
1,504,624,387,000
75,319,626
2
1
Apache-2.0
1,539,290,164,000
1,480,616,104,000
C++
UTF-8
Lean
false
false
152
lean
notation a ` \/ ` b := a ∨ b notation a `1\/` b := a ∨ b notation a ` 1\/` b := a ∨ b notation a ` \ / ` b := a ∨ b notation a ` ` b := a ∨ b
837e94062dd932ce974ab408b9e63d4bbdd9c3d7
e61a235b8468b03aee0120bf26ec615c045005d2
/stage0/src/Init/Lean/Compiler/IR/ElimDeadBranches.lean
357d3005ff261c501eeb6ca3a41d319582efe3bb
[ "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
9,650
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.Reader import Init.Data.Option import Init.Data.Nat import Init.Lean.Compiler.IR.Format import Init.Lean.Compiler.IR.Basic impor...
167372458cfc04d40efc95ba2333f197f51c2d86
4bcaca5dc83d49803f72b7b5920b75b6e7d9de2d
/src/Lean/Elab/Tactic/Location.lean
ead32d6082b447657ed60a2b7b851894cb91906b
[ "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
1,716
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Elab.Tactic.Basic namespace Lean.Elab.Tactic inductive Location where | wildcard | targets (hypotheses : Array Name) (type : Bool) /- Rec...
3f60c86cdcb6014b32761615f1aa26f3b33837da
9d00e4b237465921fb33aa10eed92a2495ca2e46
/negBotRules.lean
c043d43a54df4edd67379c22b68515bc11ac4d97
[]
no_license
Bpalkmim/LeanNatD
7756abf1ed7b0e7a3e3b9d16ad756018f5c70c7c
2e73bb44e44b955839e7a0874cd7013fbfb9c4e3
refs/heads/master
1,610,999,141,530
1,475,515,895,000
1,475,515,895,000
69,893,600
0
0
null
null
null
null
UTF-8
Lean
false
false
1,094
lean
namespace negBotRules -- Requer o namespace de implicação open implRules print " " print "Provas com NEG & BOT - início" print " " constant neg : Prop → Prop constant Bottom : Prop constant A : Prop -- Definições constant neg_intro {X : Prop} : (Π x : Proof X, Proof Bottom) → Proof Bottom → Proof (neg X) constant ...
8f7d9de71aa81eb896e1161ac7eb819bcbe7d617
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Leanpkg/Proc.lean
cd4db43195a73b3846a9be6b6adaa65f161f3e71
[ "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
729
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner, Sebastian Ullrich -/ namespace Leanpkg def execCmd (args : IO.Process.SpawnArgs) : IO Unit := do let envstr := String.join <| args.env.toList.map fun (k, v) =>...
9fbea9e743b4d38d3a8c590dd85de8651c0808d3
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/tactic/tidy.lean
0079c54baa3bf7e5283f77d5e4b31b1b18c531c8
[ "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
3,084
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison import tactic.ext import tactic.auto_cases import tactic.chain import tactic.interactive namespace tactic namespace tidy meta def tidy_attribute : user_attribut...
0a748d54618d042e4303111acd17f909c79314c8
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/stage0/src/Lean/Compiler/LCNF/PassManager.lean
2ec91334cb32412394888833134eb273bae42cee
[ "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
5,950
lean
/- Copyright (c) 2022 Henrik Böving. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Henrik Böving -/ import Lean.Attributes import Lean.Environment import Lean.Meta.Basic import Lean.Compiler.LCNF.CompilerM namespace Lean.Compiler.LCNF /-- A single compiler `Pass`, c...
a6e931e2a6018b01fdd12d39569a9ca8e7dbd816
853df553b1d6ca524e3f0a79aedd32dde5d27ec3
/src/category_theory/closed/cartesian.lean
e99ad286c72bcb4ac149fa6181222208e6a2a1c0
[ "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,087
lean
/- Copyright (c) 2020 Bhavik Mehta, Edward Ayers, Thomas Read. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta, Edward Ayers, Thomas Read -/ import category_theory.limits.shapes.finite_products import category_theory.limits.shapes.constructions.preserve_bi...
9b233ecafa87e349b49fa789dbb221bf158b3f2a
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/calculus/dslope.lean
594cc93865f6d48da6091470b392eab06e938845
[ "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,410
lean
/- Copyright (c) 2022 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import analysis.calculus.deriv.slope import analysis.calculus.deriv.inv /-! # Slope of a differentiable function > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any ...
7c5a522f9189debef9a727f782239eed9f895f57
ac49064e8a9a038e07cf5574b4fccd8a70d115c8
/hott/algebra/homomorphism.hlean
3cfa8c31b0830fbd91e92c135ecdc48e0b68b3d8
[ "Apache-2.0" ]
permissive
Bolt64/lean2
7c75016729569e04a3f403c7a4fc7c1de4377c9d
75fd8162488214a959dbe3303a185cbbb83f60f9
refs/heads/master
1,611,290,445,156
1,493,763,922,000
1,493,763,922,000
81,566,307
0
0
null
1,486,732,167,000
1,486,732,167,000
null
UTF-8
Lean
false
false
6,175
hlean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad Homomorphisms between structures. -/ import algebra.ring algebra.category.category open eq function is_trunc namespace algebra /- additive structures -/ variables {A B ...
48b8c88b077b3305d8748e83a1756b98fd464c1a
c777c32c8e484e195053731103c5e52af26a25d1
/src/ring_theory/localization/norm.lean
5eba4dbb697eaaada658a93e5a563e76f0726172
[ "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
2,055
lean
/- Copyright (c) 2023 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import ring_theory.localization.module import ring_theory.norm /-! # Field/algebra norm and localization This file contains results on the combination of `algebra.norm`...