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
37418ccb3d70af8ff26c57bc3eb116186f2c8b0b
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/tests/lean/apply_tac2.lean
0681a9c9d28d3fb34b97417ef9a9eac13045c4bc
[ "Apache-2.0" ]
permissive
codyroux/lean0.1
1ce92751d664aacff0529e139083304a7bbc8a71
0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef
refs/heads/master
1,610,830,535,062
1,402,150,480,000
1,402,150,480,000
19,588,851
2
0
null
null
null
null
UTF-8
Lean
false
false
91
lean
(* import("tactic.lua") *) theorem T (a b : Bool) : a → b → b → a. exact. done.
2398f4aa381e68152fc46884ab97e20f58950ed4
4727251e0cd73359b15b664c3170e5d754078599
/src/measure_theory/probability_mass_function/basic.lean
b772140c53ceaa2b8aa5198eec14efe7432138e4
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
9,270
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, Devon Tuma -/ import topology.instances.ennreal import measure_theory.measure.measure_space /-! # Probability mass functions This file is about probability mass funct...
2ad350872cc640467c8059bc9f4cedab63ea3afe
9cb9db9d79fad57d80ca53543dc07efb7c4f3838
/src/pseudo_normed_group/FiltrationPow.lean
ad246fbf4bc2dcf68472def3dc692162369de90a
[]
no_license
mr-infty/lean-liquid
3ff89d1f66244b434654c59bdbd6b77cb7de0109
a8db559073d2101173775ccbd85729d3a4f1ed4d
refs/heads/master
1,678,465,145,334
1,614,565,310,000
1,614,565,310,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,951
lean
import pseudo_normed_group.breen_deligne import normed_group.NormedGroup open_locale classical nnreal noncomputable theory local attribute [instance] type_pow -- move this def Profinite.of (X : Type*) [topological_space X] [t2_space X] [totally_disconnected_space X] [compact_space X] : Profinite := { to_Top := To...
255c73efa2913e14f6eeb412ed3c4bdf47d568b7
a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7
/src/data/fintype/basic.lean
fae98a610ae9eab7512108f0f517b173123a4665
[ "Apache-2.0" ]
permissive
kmill/mathlib
ea5a007b67ae4e9e18dd50d31d8aa60f650425ee
1a419a9fea7b959317eddd556e1bb9639f4dcc05
refs/heads/master
1,668,578,197,719
1,593,629,163,000
1,593,629,163,000
276,482,939
0
0
null
1,593,637,960,000
1,593,637,959,000
null
UTF-8
Lean
false
false
44,490
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Finite types. -/ import data.finset.sort import data.finset.powerset import data.finset.pi import data.array.lemmas universes u v variables {α : Type*} {β : Type*} {γ ...
8a4be5793a777e800dfd247bf02b7f2298ad3e36
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/control/bitraversable/lemmas.lean
b2f76e42b630a818b1432ec34ea8ba39a596364f
[ "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
3,434
lean
/- Copyright (c) 2019 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import control.bitraversable.basic /-! # Bitraversable Lemmas > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to mathlib4...
020ecf9712ad382751377f3747979d648afa72e1
e030b0259b777fedcdf73dd966f3f1556d392178
/library/init/meta/decl_cmds.lean
2f086fd7ec2f2e7c530eb16aa054e4f48d881911
[ "Apache-2.0" ]
permissive
fgdorais/lean
17b46a095b70b21fa0790ce74876658dc5faca06
c3b7c54d7cca7aaa25328f0a5660b6b75fe26055
refs/heads/master
1,611,523,590,686
1,484,412,902,000
1,484,412,902,000
38,489,734
0
0
null
1,435,923,380,000
1,435,923,379,000
null
UTF-8
Lean
false
false
1,679
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.meta.rb_map open tactic /- Given a set of constant renamings `replacements` and a declaration name `src_decl_name`, cr...
b53d8503b6830d98b8d96dbdbda26683ed8975fd
7da5ceac20aaab989eeb795a4be9639982e7b35a
/src/category_theory/finite_limits.lean
da2ebc24b379b12344663e56ec8ffd77d687ef54
[ "MIT" ]
permissive
formalabstracts/formalabstracts
46c2f1b3a172e62ca6ffeb46fbbdf1705718af49
b0173da1af45421239d44492eeecd54bf65ee0f6
refs/heads/master
1,606,896,370,374
1,572,988,776,000
1,572,988,776,000
96,763,004
165
28
null
1,555,709,319,000
1,499,680,948,000
Lean
UTF-8
Lean
false
false
9,823
lean
-- Copyright (c) 2018 Jesse Han. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Jesse Han import .limits.shapes.products basic data.dvector .limits.shapes.equalizers category_theory.limits.limits universes v u open category_theory namespace cate...
7cd532e744dea0088dcda9d833c005c4e8605c30
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/1845.lean
1293657f94a786a9bc9feb7f0140d81597297a18
[ "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
362
lean
import Lean.Hygiene import Lean.Exception open Lean def bar : StateT Nat Unhygienic Syntax.Term := do modify (· + 1); `("hi") def foo : StateT Nat Unhygienic Syntax.Term := do `(throwError $(← bar)) #eval Unhygienic.run (foo.run 0) |>.2 -- don't do this syntax "←" term : term def foo' : StateT Nat Unhygienic Syntax...
3d2e43a06a7315932cc6c7df29e19f825d409ad6
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/convex/side.lean
b4f12bc9539d7f33951c065cfe4d044d6cd3fc41
[ "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
39,397
lean
/- Copyright (c) 2022 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers -/ import analysis.convex.between import analysis.convex.normed import analysis.normed.group.add_torsor /-! # Sides of affine subspaces > THIS FILE IS SYNCHRONIZED WITH MA...
04600ad456c5028ad4a66f84e4c4914efdc0dbb0
9dc8cecdf3c4634764a18254e94d43da07142918
/src/tactic/lint/default.lean
e9af66f3150b78a1e242a7050606c867e26c240a
[ "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
5,115
lean
/- Copyright (c) 2020 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Robert Y. Lewis, Gabriel Ebner -/ import algebra.group.to_additive import tactic.lint.frontend import tactic.lint.misc import tactic.lint.simp import tactic.lint.ty...
30bbbce55f43056bcd584790fd80f71929d73ded
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/analysis/calculus/mean_value.lean
bdc129e380f8d47ab6efbf0d750fce10969d392e
[ "Apache-2.0" ]
permissive
lacker/mathlib
f2439c743c4f8eb413ec589430c82d0f73b2d539
ddf7563ac69d42cfa4a1bfe41db1fed521bd795f
refs/heads/master
1,671,948,326,773
1,601,479,268,000
1,601,479,268,000
298,686,743
0
0
Apache-2.0
1,601,070,794,000
1,601,070,794,000
null
UTF-8
Lean
false
false
53,691
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel, Yury Kudryashov -/ import analysis.calculus.local_extr import analysis.convex.topology /-! # The mean value inequality and equalities In this file we prove the ...
2ac0127a06309ba2ea6067b48f5c03763540ac9e
88892181780ff536a81e794003fe058062f06758
/src/mod.lean
e4797e2f7bbe7a0140c940266bed63486a3c5da3
[]
no_license
AtnNn/lean-sandbox
fe2c44280444e8bb8146ab8ac391c82b480c0a2e
8c68afbdc09213173aef1be195da7a9a86060a97
refs/heads/master
1,623,004,395,876
1,579,969,507,000
1,579,969,507,000
146,666,368
0
0
null
null
null
null
UTF-8
Lean
false
false
1,321
lean
import data.nat.basic universe u namespace sandbox open nat def mod : nat → nat → nat | _ 0 := 0 | a (succ b) := if h : a ≥ succ b then have a - succ b < a := sub_lt_of_pos_le _ _ succ_pos' h, mod (a - succ b) (succ b) else a local infix % := mod lemma mod_zero {a} : mod a 0 = 0 := begin unfold mod end lemma m...
d863792b8d5c4c00280adcccc51c7fae3c88e2b8
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/run/synth1.lean
74477ca9bf1d871df2213ba009b7778dccd3f9df
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
EdAyers/lean4
57ac632d6b0789cb91fab2170e8c9e40441221bd
37ba0df5841bde51dbc2329da81ac23d4f6a4de4
refs/heads/master
1,676,463,245,298
1,660,619,433,000
1,660,619,433,000
183,433,437
1
0
Apache-2.0
1,657,612,672,000
1,556,196,574,000
Lean
UTF-8
Lean
false
false
1,556
lean
import Lean.Meta open Lean open Lean.Meta class HasCoerce (a b : Type) := (coerce : a → b) def coerce {a b : Type} [HasCoerce a b] : a → b := @HasCoerce.coerce a b _ instance coerceTrans {a b c : Type} [HasCoerce b c] [HasCoerce a b] : HasCoerce a c := ⟨fun x => coerce (coerce x : b)⟩ instance coerceBoolToProp : H...
030f885504349c6fe2d78e81deba17c4a285f0b1
a46d86797f98e604c71128429409acba8288c1f8
/algebra/lattice/flat.lean
9f9b430fde4492bc28bfcb39581898577b43393a
[]
no_license
tizmd/lean-abstract-interpretation
655213d76e84e093910bb6378796cdb4e1ae3565
ad69622adc082e7009f12b17568662a599779260
refs/heads/master
1,610,518,429,734
1,498,128,216,000
1,498,128,216,000
94,891,623
0
0
null
null
null
null
UTF-8
Lean
false
false
4,490
lean
import algebra.lattice.dcpo universe u open lattice namespace lattice inductive flat (α : Type u) : Type u | bot {} : flat | top {} : flat | elem : Π a : α, flat instance {α : Type u} : has_bot (flat α) := ⟨ flat.bot ⟩ instance {α : Type u} : has_top (flat α) := ⟨ flat.top ⟩ namespace flat variables {α ...
b19cec950e00012ac3e4196b2464512c73c477c3
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Util/Recognizers.lean
fc074065fca8ee052f0daa5eb09d579dee3fb0d4
[ "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
4,837
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.Environment namespace Lean namespace Expr @[inline] def const? (e : Expr) : Option (Name × List Level) := match e with | Expr.const n us =...
d072ffa5df712e032ccdbccc978e99292f7436e0
01ae0d022f2e2fefdaaa898938c1ac1fbce3b3ab
/categories/util/hlist.lean
21a66fa572b599e26721889e89396e0cdb84e98c
[]
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,004
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison namespace categories.util inductive {u} hlist : list (Type u) → Type (u+1) | nil : hlist [] | cons : Π {α : Type u} {l : list (Type u)}, α → hlist l → hlist (α:...
78a82873f25315cc5f71f35942db563f98c64438
9dc8cecdf3c4634764a18254e94d43da07142918
/src/algebra/group_power/basic.lean
6448fec7ca7dc1e3aaaa1be2749ad1ceaa563eba
[ "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,978
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis -/ import algebra.divisibility import algebra.group.commute import data.nat.basic /-! # Power operations on monoids and groups The power operation on mo...
75bf2f844f92511137acdc24389c6ca4c7ec4d51
9dc8cecdf3c4634764a18254e94d43da07142918
/src/group_theory/p_group.lean
e7114d7c0122554eb6d605659eaf27dd57580e6f
[ "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
14,663
lean
/- Copyright (c) 2018 . All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Thomas Browning -/ import data.zmod.basic import group_theory.index import group_theory.group_action.conj_act import group_theory.group_action.quotient import group_theory.perm.cycle....
b8eab33c09aea486e02430ab9bfade3db9419131
9028d228ac200bbefe3a711342514dd4e4458bff
/src/data/padics/padic_integers.lean
2adc613e6fa8b6a4b3ceca0297fe6783976a39e1
[ "Apache-2.0" ]
permissive
mcncm/mathlib
8d25099344d9d2bee62822cb9ed43aa3e09fa05e
fde3d78cadeec5ef827b16ae55664ef115e66f57
refs/heads/master
1,672,743,316,277
1,602,618,514,000
1,602,618,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
19,816
lean
/- Copyright (c) 2018 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis, Mario Carneiro, Johan Commelin -/ import data.int.modeq import data.zmod.basic import linear_algebra.adic_completion import data.padics.padic_numbers import ring_theo...
43242b74d5fd2f4e3ec2c8ff78ac1b82897b1086
c777c32c8e484e195053731103c5e52af26a25d1
/src/number_theory/number_field/basic.lean
537628af9ebf9f043e5fb14a7251e3de62bc7c59
[ "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,370
lean
/- Copyright (c) 2021 Ashvni Narayanan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ashvni Narayanan, Anne Baanen -/ import algebra.char_p.algebra import ring_theory.dedekind_domain.integral_closure /-! # Number fields This file defines a number field and the ring ...
fd7dd43917f7763d7b62003a9d7defab29eaf444
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/limits/colimit_limit.lean
ef17325dcf8b30e688e08a79477a8fdb53dfc16d
[]
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
3,753
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.limits.types import Mathlib.category_theory.currying import Mathlib.PostPor...
a7640a6f12389d830e44536ddec82db22878ad52
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/analysis/convex/basic.lean
10c6da16a19b4557c147f04496fd07ed00bb9c69
[ "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
58,182
lean
/- Copyright (c) 2019 Alexander Bentkamp. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp, Yury Kudriashov -/ import data.set.intervals.ord_connected import data.set.intervals.image_preimage import data.complex.module import linear_algebra.affine_spac...
7b2fcd280118165d609f99dfeb9a226c610e7dff
64874bd1010548c7f5a6e3e8902efa63baaff785
/tests/lean/slow/nat_wo_hints.lean
e4ea3f41348f5b5a33fe7aa8ab2736aae5ab8025
[ "Apache-2.0" ]
permissive
tjiaqi/lean
4634d729795c164664d10d093f3545287c76628f
d0ce4cf62f4246b0600c07e074d86e51f2195e30
refs/heads/master
1,622,323,796,480
1,422,643,069,000
1,422,643,069,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
49,610
lean
---------------------------------------------------------------------------------------------------- -- Copyright (c) 2014 Floris van Doorn. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Author: Floris van Doorn -----------------------------------------------------------...
7118c21eaf881a12585bb1d902fbcb51ece5863e
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/run/int_eq_num.lean
60acc024961e98414b7d9392fb4edb1e876b5751
[ "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
122
lean
def f : int → nat | -100 := 0 | 0 := 1 | 3 := 2 | _ := 4 vm_eval f (-100) vm_eval f 0 vm_eval f 3 vm_eval f 5
66130b875b9bb3737b6412f8b2412a850931317a
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/polynomial/quotient.lean
c476511b7c12261a79c3d97440e31bbd02c2edd9
[ "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
10,665
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, David Kurniadi Angdinata, Devon Tuma, Riccardo Brasca -/ import data.polynomial.div import ring_theory.polynomial.basic import ring_theory.ideal.quotient_operations /-! # Quoti...
ccc63900b9fadb194aa934878aa4fd690cf8c05e
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/geometry/manifold/manifold.lean
8215986d2fa0d5bccf09ecb4d701040ca9c13ed3
[ "Apache-2.0" ]
permissive
anrddh/mathlib
6a374da53c7e3a35cb0298b0cd67824efef362b4
a4266a01d2dcb10de19369307c986d038c7bb6a6
refs/heads/master
1,656,710,827,909
1,589,560,456,000
1,589,560,456,000
264,271,800
0
0
Apache-2.0
1,589,568,062,000
1,589,568,061,000
null
UTF-8
Lean
false
false
27,206
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import topology.local_homeomorph /-! # Manifolds A manifold is a topological space M locally modelled on a model space H, i.e., the manifold is covered by ope...
b5c60eb1633121b0edb5c9021a5dbe02c02d1597
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/order/category/Preorder_auto.lean
c3ea43ca3b9bf855589b98b672f9ac10ea23a95d
[]
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,269
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.order.preorder_hom import Mathlib.category_theory.concrete_category.default import Mathlib....
e0deabea20b9c182be4a47adb54d0e2f4f515e9a
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/topology/instances/nnreal.lean
20e4f7237f14871c985497763bf3abaac08ae39d
[ "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,363
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin Nonnegative real numbers. -/ import topology.algebra.infinite_sum import topology.algebra.group_with_zero noncomputable theory open set topological_space metric open_l...
6a3ab6f5d873c4e52f75e2a001aa8eaeaa914508
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/group_theory/perm/fin.lean
e6f940f11e3281e61a00378baf66fa879879e010
[ "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
10,755
lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import data.equiv.fin import data.equiv.fintype import group_theory.perm.option import group_theory.perm.cycle_type /-! # Permutations of `fin n` -/ open equiv /-- Permut...
dea2c4c5b1833240e5fcf5eeddc11876101a9931
4727251e0cd73359b15b664c3170e5d754078599
/src/number_theory/zsqrtd/gaussian_int.lean
6f8d254623e9f7186c29958a9c0df5ba8646e63d
[ "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) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import number_theory.zsqrtd.basic import data.complex.basic import ring_theory.principal_ideal_domain import number_theory.legendre_symbol.quadratic_reciprocity /-! # Gau...
875c309f3a4a17bfb5c639a9b4098e5fd415c56f
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/continuous_function/ordered.lean
7bbf9121a9ebe159959f8959f7f9c06476f5937f
[ "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,804
lean
/- Copyright © 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Shing Tak Lam -/ import topology.algebra.order.proj_Icc import topology.algebra.order.group import topology.continuous_function.basic /-! # Bundled continuous maps into...
48f8deb4c3b578a78b18c92cddd947aaa20c77f6
5d166a16ae129621cb54ca9dde86c275d7d2b483
/leanpkg/leanpkg/toml.lean
73e5b86eec2ccf025185a60655d7337d66701646
[ "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
3,816
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Gabriel Ebner -/ import data.buffer.parser -- I'd like to contribute a new naming convention: -- CamelCase for non-terminals. def join (sep : string) : list string → string | [...
03b37a659f28cf41d7581218e895eea63cf14032
30b012bb72d640ec30c8fdd4c45fdfa67beb012c
/data/list/perm.lean
a475bfb16ece48eb6b6938885e65ec6fae4abfc3
[ "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
38,751
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 List permutations. -/ import data.list.basic namespace list universe variables uu vv variables {α : Type uu} {β : Type vv} /-...
34f853e542af15fd2db2ba973ae826ea08b16905
b7f22e51856f4989b970961f794f1c435f9b8f78
/library/theories/finite_group_theory/action.lean
fe044a84a639dc701a37bb7992a0a5182ceb72ee
[ "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
22,566
lean
/- Copyright (c) 2015 Haitao Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author : Haitao Zhang -/ import algebra.group data .hom .perm .finsubg namespace group_theory open finset function local attribute perm.f [coercion] private lemma and_left_true {a b : Prop} (...
ea02a0a4c0e85f3c3281144ef9cc81fa34a91109
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/limits/preserves/shapes/biproducts.lean
d98231a3610dcea8b058a8f608b0f777eb87a510
[ "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,241
lean
/- Copyright (c) 2022 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel -/ import category_theory.limits.shapes.biproducts import category_theory.limits.preserves.shapes.zero /-! # Preservation of biproducts > THIS FILE IS SYNCHRONIZED WITH ...
9ad0a059c6a7b602e3cb73477bc06bc455bc9462
6fca17f8d5025f89be1b2d9d15c9e0c4b4900cbf
/src/game/world5/level4.lean
bde858cd54118c08c53e7f4805cf71c5798575b9
[ "Apache-2.0" ]
permissive
arolihas/natural_number_game
4f0c93feefec93b8824b2b96adff8b702b8b43ce
8e4f7b4b42888a3b77429f90cce16292bd288138
refs/heads/master
1,621,872,426,808
1,586,270,467,000
1,586,270,467,000
253,648,466
0
0
null
1,586,219,694,000
1,586,219,694,000
null
UTF-8
Lean
false
false
1,997
lean
/- Tactic : apply ## Summary If `h : P → Q` is a hypothesis, and the goal is `⊢ Q` then `apply h` changes the goal to `⊢ P`. ## Details If you have a function `h : P → Q` and your goal is `⊢ Q` then `apply h` changes the goal to `⊢ P`. The logic is simple: if you are trying to create a term of type `Q`, but `h` is...
f992cc3ff72450b6fae203a6d49cdb6f4b8e6731
5756a081670ba9c1d1d3fca7bd47cb4e31beae66
/Mathport/Binary/Apply.lean
8260a899b493873b7cef1d77f8d47c9f12ae76c5
[ "Apache-2.0" ]
permissive
leanprover-community/mathport
2c9bdc8292168febf59799efdc5451dbf0450d4a
13051f68064f7638970d39a8fecaede68ffbf9e1
refs/heads/master
1,693,841,364,079
1,693,813,111,000
1,693,813,111,000
379,357,010
27
10
Apache-2.0
1,691,309,132,000
1,624,384,521,000
Lean
UTF-8
Lean
false
false
18,701
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Selsam -/ import Lean import Mathport.Util.Misc import Mathport.Bridge.Config import Mathport.Binary.Basic import Mathport.Binary.NDRec import Mathport.Binary.EnvModifica...
8c407f7832d22d9fe07db1ec32749255e3903af2
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/ACltBug.lean
50f9337833af5916cbcca1b403ea5a67df65a47d
[ "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
454
lean
attribute [local simp] Nat.mul_comm Nat.mul_assoc Nat.mul_left_comm attribute [local simp] Nat.add_assoc Nat.add_comm Nat.add_left_comm example (w x y z : Nat) (p : Nat → Prop) (h : p (x * y + z * w * x)) : p (x * w * z + y * x) := by simp at *; assumption example (x y z : Nat) (p : Nat → Prop) (h₁ ...
25b2475161bf9c6eaa58c93b6690c8dd9a8ecc8b
86f6f4f8d827a196a32bfc646234b73328aeb306
/examples/sets_functions_and_relations/unnamed_110.lean
ac521b06af9f89f8dea5262505ab4f7fcc520d1a
[]
no_license
jamescheuk91/mathematics_in_lean
09f1f87d2b0dce53464ff0cbe592c568ff59cf5e
4452499264e2975bca2f42565c0925506ba5dda3
refs/heads/master
1,679,716,410,967
1,613,957,947,000
1,613,957,947,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
167
lean
variable {α : Type*} variables (s t u : set α) -- BEGIN example (h : s ⊆ t) : s ∩ u ⊆ t ∩ u := begin intros x xsu, exact ⟨h xsu.1, xsu.2⟩ end -- END
81a5c6da59ec18a6a7434b9c5b950fb503c35578
ee8cdbabf07f77e7be63a449b8483ce308d37218
/lean/src/test/amc12a-2002-p13.lean
29fbe1b4c25e680e593d0cbc3d60a84e8159ba4f
[ "MIT", "Apache-2.0" ]
permissive
zeta1999/miniF2F
6d66c75d1c18152e224d07d5eed57624f731d4b7
c1ba9629559c5273c92ec226894baa0c1ce27861
refs/heads/main
1,681,897,460,642
1,620,646,361,000
1,620,646,361,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
350
lean
/- Copyright (c) 2021 OpenAI. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kunhao Zheng -/ import data.real.basic import data.real.sqrt example (a b : ℝ) (h₀ : 0 < a ∧ 0 < b) (h₁ : a ≠ b) (h₂ : abs (a - 1/a) = 1 ) (h₃ : abs (b - 1/b) = 1) : a + b = real.sqrt 5 := be...
15c6cd0df25d3c3fb934ad0e074555388ef49177
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/group_theory/group_action/defs.lean
919f5becf0d84ff0727810235a72516200f0875e
[ "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
9,195
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import data.equiv.basic import algebra.group.defs import algebra.group.hom import logic.embedding /-! # Definitions of group actions This file defines a hierarchy of gr...
b5d46221f90fa68172e763f8f20c4310ee3d283d
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/NonassociativeRing.lean
86bfc22b915f6ef2416b8db75bccf53be6694f7c
[]
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
13,993
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 NonassociativeRing structure NonassociativeRing (A : Type) : Type := (times : (A → (A → A))) (plus : (A → (A → A))) (one : A) (lunit_one : (∀ {x :...
b1de76406e0d37b81ee3f97f18a307f7257d3af9
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/assert_tac.lean
ad95c5112593da4a09fd156c24ef3ed61405e7a4
[ "Apache-2.0" ]
permissive
soonhokong/lean
cb8aa01055ffe2af0fb99a16b4cda8463b882cd1
38607e3eb57f57f77c0ac114ad169e9e4262e24f
refs/heads/master
1,611,187,284,081
1,450,766,737,000
1,476,122,547,000
11,513,992
2
0
null
1,401,763,102,000
1,374,182,235,000
C++
UTF-8
Lean
false
false
1,336
lean
import logic variables {A : Type} {a a' : A} definition to_eq₁ (H : a == a') : a = a' := begin assert H₁ : ∀ (Ht : A = A), eq.rec_on Ht a = a, intro Ht, exact (eq.refl (eq.rec_on Ht a)), show a = a', from heq.rec_on H H₁ (eq.refl A) end definition to_eq₂ (H : a == a') : a = a' := begin have H₁ : ∀ (H...
c5b912ca1bad03ed5428f57e16c4379409abc695
ebfc36a919e0b75a83886ec635f471d7f2dca171
/archive/2021/AoC/Day1.lean
ca97ead0cb46b6d28d91eaca6f676d28994e0e8c
[]
no_license
kaychaks/AoC
b933a125e2c55f632c7728eea841d827d1b5ef38
962cc536dda5156ac0b624f156146bf6d12ad8d2
refs/heads/master
1,671,715,037,914
1,671,632,408,000
1,671,632,408,000
160,005,656
0
0
null
null
null
null
UTF-8
Lean
false
false
1,954
lean
namespace Day1 open IO.FS section Common variable {α β γ ζ : Type u} variable {a : Type u -> Type v} def liftA3 [Applicative a] (f: α -> β -> γ -> ζ) (x: a α) (y: a β) (z: a γ) : a ζ := f <$> x <*> y <*> z end Common section Part1 open Prod def measureLarge (x: Nat × String) (z: String) : Nat × String := ...
2ac281dc8f12b81b979943ff7d85e2d2f36d85df
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/data/rat/basic.lean
b005167adf5abb18da0334c81635c23d0d02b75c
[ "Apache-2.0" ]
permissive
keeferrowan/mathlib
f2818da875dbc7780830d09bd4c526b0764a4e50
aad2dfc40e8e6a7e258287a7c1580318e865817e
refs/heads/master
1,661,736,426,952
1,590,438,032,000
1,590,438,032,000
266,892,663
0
0
Apache-2.0
1,590,445,835,000
1,590,445,835,000
null
UTF-8
Lean
false
false
24,729
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import data.int.sqrt import data.equiv.encodable import algebra.group import algebra.euclidean_domain import algebra.ordered_field /-! # Basics for t...
96054b2658321112d44ce94962da1759be118ebe
82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7
/tests/lean/run/match1.lean
21c9a976ddff8833c2dd9062705aca0dfd85037a
[ "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
3,356
lean
def f (xs : List Nat) : List Bool := xs.map fun | 0 => true | _ => false #eval f [1, 2, 0, 2] theorem ex1 : f [1, 0, 2] = [false, true, false] := rfl #check f def g (xs : List Nat) : List Bool := xs.map $ by { intro | 0 => exact true | _ => exact false } theorem ex2 : g [1, 0, 2] = [false, true, fa...
e89c05ff03c7fe78d10a4c5fd31c9418c7000f4f
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/rwEqThms.lean
d320382b20a016af79cf9dd60bd99a89b695744e
[ "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
791
lean
example {a : α} {as bs : List α} (h : bs = a::as) : as.length + 1 = bs.length := by rw [← List.length] trace_state -- lhs was folded rw [h] example {a : α} {as bs : List α} (h : as = bs) : (a::b::as).length = bs.length + 2 := by rw [List.length, List.length] trace_state -- lhs was unfolded rw [h] example ...
f672df0f7e00096b7b94c80c52ab3636629662d0
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/free_auto.lean
013d7d6b7952eb4d63f94d8c91d5ae1ae413e96b
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
21,820
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.equiv.basic import Mathlib.control.applicative import Mathlib.control.traversable.basic import M...
db283a2d29265916775168ef3b6ee84f43932280
1a61aba1b67cddccce19532a9596efe44be4285f
/tests/lean/run/rewriter12.lean
e20076f20f7896763872a16f42b9e19da6fa38cc
[ "Apache-2.0" ]
permissive
eigengrau/lean
07986a0f2548688c13ba36231f6cdbee82abf4c6
f8a773be1112015e2d232661ce616d23f12874d0
refs/heads/master
1,610,939,198,566
1,441,352,386,000
1,441,352,494,000
41,903,576
0
0
null
1,441,352,210,000
1,441,352,210,000
null
UTF-8
Lean
false
false
302
lean
import data.nat open nat constant f : nat → nat example (x y : nat) (H1 : (λ z, z + 0) x = y) : f x = f y := by rewrite [▸* at H1, ^[add, nat.rec_on, of_num] at H1, H1] example (x y : nat) (H1 : (λ z, z + 0) x = y) : f x = f y := by rewrite [▸* at H1, ↑[add, nat.rec_on, of_num] at H1, H1]
4353558909aaefddafd380abb54d5562bec5e1d8
853df553b1d6ca524e3f0a79aedd32dde5d27ec3
/src/algebra/pointwise.lean
d57aaf48f22ec462705219faf042b97f1938ca70
[ "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
13,129
lean
/- Copyright (c) 2019 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Floris van Doorn -/ import algebra.module /-! # Pointwise addition, multiplication, and scalar multiplication of sets. This file defines pointwise algebraic operation...
29c1115187c57b8356c81ad79b5d92869876cfcc
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/combinatorics/set_family/harris_kleitman.lean
236ffca1e72bfc4165a084b848a5a8e25b2afb3f
[ "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,256
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 combinatorics.set_family.compression.down import order.upper_lower.basic import data.fintype.big_operators /-! # Harris-Kleitman inequality > THIS FILE IS SYNCHR...
6828fc1742b536f76c3fcfbecb02ea512637c380
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/algebra/invertible.lean
9d78a1351b3872d1920db2bf391200a1e40b4475
[ "Apache-2.0" ]
permissive
lacker/mathlib
f2439c743c4f8eb413ec589430c82d0f73b2d539
ddf7563ac69d42cfa4a1bfe41db1fed521bd795f
refs/heads/master
1,671,948,326,773
1,601,479,268,000
1,601,479,268,000
298,686,743
0
0
Apache-2.0
1,601,070,794,000
1,601,070,794,000
null
UTF-8
Lean
false
false
8,810
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Anne Baanen A typeclass for the two-sided multiplicative inverse. -/ import algebra.char_zero import algebra.char_p /-! # Invertible elements This file defines a typeclass `invertible ...
9980aaa1d663bd643d06282774df0efd3b4e7821
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/closure1.lean
a2cf62402f84ed5345f490532ac014c88a0a6578
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
1,645
lean
import Lean open Lean open Lean.Meta universe u inductive Vec (α : Type u) : Nat → Type u | nil : Vec α 0 | cons {n} : α → Vec α n → Vec α (n+1) set_option trace.Meta.debug true def printDef (declName : Name) : MetaM Unit := do let cinfo ← getConstInfo declName; trace[Meta.debug] cinfo.value! instance : Coe ...
860bb2c2d911132a421702bc6c7b86485b77d4cc
9dc8cecdf3c4634764a18254e94d43da07142918
/src/topology/uniform_space/basic.lean
22e1275bd01b62eb473348f226dd837210bcac81
[ "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
82,465
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 order.filter.small_sets import topology.subset_properties import topology.nhds_set /-! # Uniform spaces Uniform spaces are a ...
3f55287f6c054a28531a62450d98cc9563099336
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebra/category/Module/subobject.lean
5999a7b57538e53d2b2aef9f002161c3ed5c6f4f
[ "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,171
lean
/- Copyright (c) 2021 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel -/ import algebra.category.Module.epi_mono import category_theory.subobject.well_powered /-! # Subobjects in the category of `R`-modules We construct an explicit order i...
009926570216f785c2aee89a25529a29b6f36712
3c693e12637d1cf47effc09ab5e21700d1278e73
/src/equivalence_relations/structure_examples.lean
0cf08d42987a3a451029f12c0ca83aba6d923ecf
[]
no_license
ImperialCollegeLondon/Example-Lean-Projects
e731664ae046980921a69ccfeb2286674080c5bb
87b27ba616eaf03f3642000829a481a1932dd08e
refs/heads/master
1,685,399,670,721
1,623,092,696,000
1,623,092,696,000
275,571,570
19
1
null
1,593,361,524,000
1,593,344,124,000
Lean
UTF-8
Lean
false
false
1,342
lean
import tactic -- what's a structure? structure group' (G : Type) [has_mul G] [has_one G] [has_inv G] := (mul_assoc : ∀ a b c : G, (a * b) * c = a * (b * c)) (one_mul : ∀ a : G, 1 * a = a) (mul_one : ∀ a : G, a * 1 = a) (mul_left_inv : ∀ a : G, a⁻¹ * a = 1) -- easy structure @[ext] structure silly := (sillyint : ℤ) ...
27123bf50727268b84a44400abb26cbe979d88bb
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/inductiveUnivErrorMsg.lean
6eb27f2c3f685959f81f16886f6be8fac96b05be
[ "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
145
lean
inductive Bar | foobar : Foo → Bar | somelist : List Bar → Bar inductive Bar2 | foobar : (x : Foo) → Bar2 | somelist : List Bar2 → Bar2
c829e8017666888c0d8dc893a7a1a6e54bcd366a
969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb
/src/geometry/manifold/smooth_manifold_with_corners.lean
a257ef7545a57d94217dde4b2a5e95c50d8cdc4c
[ "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
38,960
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import analysis.calculus.times_cont_diff import geometry.manifold.charted_space /-! # Smooth manifolds (possibly with boundary or corners) A smooth manifold i...
f5e438a8fd868162b4bc0aa1e415c0fcee74de20
aa5a655c05e5359a70646b7154e7cac59f0b4132
/src/Init/Data/Format.lean
7f56a4d18a78d8c2d8a70f4a4f858f800793522b
[ "Apache-2.0" ]
permissive
lambdaxymox/lean4
ae943c960a42247e06eff25c35338268d07454cb
278d47c77270664ef29715faab467feac8a0f446
refs/heads/master
1,677,891,867,340
1,612,500,005,000
1,612,500,005,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
265
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 -/ prelude import Init.Data.Format.Basic import Init.Data.Format.Macro import Init.Data.Format.Instances
aacd75d3564d07511f7f6f1d77c87cd08ae1021a
46125763b4dbf50619e8846a1371029346f4c3db
/src/analysis/normed_space/bounded_linear_maps.lean
314c21737139a0223310ae79a289d659506e9de2
[ "Apache-2.0" ]
permissive
thjread/mathlib
a9d97612cedc2c3101060737233df15abcdb9eb1
7cffe2520a5518bba19227a107078d83fa725ddc
refs/heads/master
1,615,637,696,376
1,583,953,063,000
1,583,953,063,000
246,680,271
0
0
Apache-2.0
1,583,960,875,000
1,583,960,875,000
null
UTF-8
Lean
false
false
18,759
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 Continuous linear functions -- functions between normed vector spaces which are bounded and linear. -/ import algebra.field import analysis.normed_space...
fbc9c498b2f0e7af5e43696c96a66135b177d65e
38bf3fd2bb651ab70511408fcf70e2029e2ba310
/src/category_theory/concrete_category/bundled.lean
6969fa8ee7cddce31fd16413bab26886263b86e3
[ "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
1,386
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, Reid Barton, Sean Leather Bundled types. -/ /-! `bundled c` provides a uniform structure for bundling a type equipped with a type class. We provide `...
1bbc3a5c2f5eef81610592bb57c437a2adf04344
6f1049e897f569e5c47237de40321e62f0181948
/src/solutions/04_exists.lean
590c63b025961489df15703c7f244edbb77d5487
[ "Apache-2.0" ]
permissive
anrddh/tutorials
f654a0807b9523608544836d9a81939f8e1dceb8
3ba43804e7b632201c494cdaa8da5406f1a255f9
refs/heads/master
1,655,542,921,827
1,588,846,595,000
1,588,846,595,000
262,330,134
0
0
null
1,588,944,346,000
1,588,944,345,000
null
UTF-8
Lean
false
false
3,017
lean
import data.real.basic import data.int.parity /- In this file, we learn how to handle the ∃ quantifier. In order to prove `∃ x, P x`, we give some x₀ using tactic `use x₀` and then prove `P x₀`. This x₀ can be an object from the local context or a more complicated expression. -/ example : ∃ n : ℕ, 8 = 2*n := begin ...
3db47cb5314e4abd242a0e28fd49b85df53294e0
bb31430994044506fa42fd667e2d556327e18dfe
/src/order/liminf_limsup.lean
8540b8d61e19fae74a113c7d6fec18385988dd3a
[ "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
45,239
lean
/- Copyright (c) 2018 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel, Johannes Hölzl, Rémy Degenne -/ import order.filter.cofinite import order.hom.complete_lattice /-! # liminfs and limsups of functions and filters Defines the Li...
3b2e30d622f066ebd136eaf673c6d6cbc9f63b1d
0003047346476c031128723dfd16fe273c6bc605
/src/ring_theory/algebra.lean
232c77ff933885d8d510c76edeeb38bf4bf30261
[ "Apache-2.0" ]
permissive
ChandanKSingh/mathlib
d2bf4724ccc670bf24915c12c475748281d3fb73
d60d1616958787ccb9842dc943534f90ea0bab64
refs/heads/master
1,588,238,823,679
1,552,867,469,000
1,552,867,469,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
18,606
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau Algebra over Commutative Ring (under category) -/ import data.polynomial data.multivariate_polynomial import linear_algebra.tensor_product import ring_theory.subring universes ...
85b0ebf6de8419cca5323c4b086ec98eda7a9e47
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/tactic/slim_check.lean
103c2cfb005f0fae37993da646f09155bdfc932b
[ "Apache-2.0" ]
permissive
lacker/mathlib
f2439c743c4f8eb413ec589430c82d0f73b2d539
ddf7563ac69d42cfa4a1bfe41db1fed521bd795f
refs/heads/master
1,671,948,326,773
1,601,479,268,000
1,601,479,268,000
298,686,743
0
0
Apache-2.0
1,601,070,794,000
1,601,070,794,000
null
UTF-8
Lean
false
false
7,282
lean
/- Copyright (c) 2020 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon -/ import testing.slim_check.testable /-! ## Finding counterexamples automatically using `slim_check` A proposition can be tested by writing it out as: ```lean example (xs ...
458f71a5a79783b9c667eef1f0058837719fd9f2
7cef822f3b952965621309e88eadf618da0c8ae9
/src/topology/basic.lean
70bfe9a95d65c4d017db3a41814a80c4dba6fbe4
[ "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
33,416
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, Jeremy Avigad -/ import order.filter /-! # Basic theory of topological spaces. The main definition is the type class `topological space α` which endo...
3670ee2bcc4d112d59cb7420aa041d2eaa69f9c5
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/AuxRecursor.lean
3381a656c8764d065069d88a4b0e42ba2220cbcf
[ "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
2,336
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 def casesOnSuffix := "casesOn" def recOnSuffix := "recOn" def brecOnSuffix := "brecOn" def bin...
6d78e1b050b865f5df3c78110ca3850bffa97af4
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/frontend1.lean
fb97e67bd723dd2506c111f86a315a78c7380201
[ "Apache-2.0" ]
permissive
shyamalschandra/lean4
27044812be8698f0c79147615b1d5090b9f4b037
6e7a883b21eaf62831e8111b251dc9b18f40e604
refs/heads/master
1,671,417,126,371
1,601,859,995,000
1,601,860,020,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,438
lean
import Lean.Elab new_frontend open Lean open Lean.Elab def runM (input : String) (failIff : Bool := true) : CoreM Unit := do let env ← getEnv; let opts ← getOptions; let (env, messages) ← liftIO $ process input env opts; messages.forM $ fun msg => (liftIO msg.toString) >>= IO.println; when (failIff && messages.hasErr...
b076183c9b6645d59a86790575920455b38c71da
a721fe7446524f18ba361625fc01033d9c8b7a78
/src/principia/myint/basic.lean
806a35aa5f4e103b5a0f3b41ee846131b14232f3
[]
no_license
Sterrs/leaning
8fd80d1f0a6117a220bb2e57ece639b9a63deadc
3901cc953694b33adda86cb88ca30ba99594db31
refs/heads/master
1,627,023,822,744
1,616,515,221,000
1,616,515,221,000
245,512,190
2
0
null
1,616,429,050,000
1,583,527,118,000
Lean
UTF-8
Lean
false
false
7,972
lean
-- vim: ts=2 sw=0 sts=-1 et ai tw=70 import ..logic import ..mynat.basic import ..mynat.le import ..mynat.nat_sub import .int_pair import ..myring.integral_domain namespace hidden open mynat def myint := quotient int_pair.int_pair.setoid namespace myint instance: decidable_eq myint := quotient.decidable_eq instan...
f2acab20d2f2fdccf0d2e715fe75953269754ab9
94e33a31faa76775069b071adea97e86e218a8ee
/src/deprecated/ring.lean
7ef81059d04503c655154ffe8f640b8616da6a49
[ "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
4,991
lean
/- Copyright (c) 2020 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import deprecated.group /-! # Unbundled semiring and ring homomorphisms (deprecated) This file is deprecated, and is no longer imported by anything in mathlib other...
dc3323dd70b49102b8516f11b4f3eed9f500b1e7
0c1546a496eccfb56620165cad015f88d56190c5
/library/init/meta/smt/smt_tactic.lean
79b84abc1d379addef716c426d360b32d78b22d2
[ "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
14,080
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.simp_tactic import init.meta.smt.congruence_closure import init.meta.smt.ematch universe variables u run_command mk_simp_attr `pr...
479c3d5458696ace1ea38bf1b7982dda971acd28
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/field_theory/splitting_field.lean
b43291a8b4f437c44b195b989d74a21324e440b0
[ "Apache-2.0" ]
permissive
keeferrowan/mathlib
f2818da875dbc7780830d09bd4c526b0764a4e50
aad2dfc40e8e6a7e258287a7c1580318e865817e
refs/heads/master
1,661,736,426,952
1,590,438,032,000
1,590,438,032,000
266,892,663
0
0
Apache-2.0
1,590,445,835,000
1,590,445,835,000
null
UTF-8
Lean
false
false
7,590
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes Definition of splitting fields, and definition of homomorphism into any field that splits -/ import data.polynomial import ring_theory.principal_ideal_domain universes u v...
a5b646829a4233f9241cb946fc5ad94542886868
7bc35d4fbdda0c01e9b22a949940ee5cbb9800d0
/manifold/manifold.lean
2ec5167d4093872f61141e20e4c7da7d53bae137
[]
no_license
truonghoangle/manifolds
e6c2534dd46579f56ba99a48e2eb7ce51640e7c0
dcf4815b29ad363ec9712fd00b7756c36cfa7c1c
refs/heads/main
1,638,501,090,139
1,636,918,550,000
1,636,918,550,000
185,779,631
0
0
null
null
null
null
UTF-8
Lean
false
false
2,578
lean
import manifold.differentiable open topological_space noncomputable theory universes u v w variables {α : Type} {β : Type} {γ : Type w} {n : ℕ} variable [normed_field α] variables {E : euclidean α } variables {F : euclidean α } structure chart (X : Top) (E : euclidean α ) := (iso : X ≃ₜ. E.to_Top) (h1 : i...
c4897340545798ff402990488dbd1c5486402f68
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/run/smt_ematch2.lean
7549aee7c72e905b8a2ea7f4207d38faf988b8db
[ "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
2,728
lean
universe variables u namespace foo variables {α : Type u} open smt_tactic meta def no_ac : smt_config := { cc_cfg := { ac := ff }} meta def blast : tactic unit := using_smt_with no_ac $ intros >> repeat (ematch >> try close) section add_comm_monoid variables [add_comm_monoid α] attribute [ematch] add_comm add_assoc ...
a5f87e7e21da358cf2404cdd1f2cc8efaaeaf8b4
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/mean_inequalities.lean
af5cfd68579f8fc1cefa905eb66775039d16d4a1
[ "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
38,265
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov, Sébastien Gouëzel, Rémy Degenne -/ import analysis.convex.specific_functions import data.real.conjugate_exponents /-! # Mean value inequalities In this file we prov...
e9c366abca601a7775179a65f331c6ab27f1764c
4727251e0cd73359b15b664c3170e5d754078599
/src/data/set/opposite.lean
f2866a025d0995f8655a32538dc593ac551ca88d
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
2,093
lean
/- Copyright (c) 2022 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel -/ import data.opposite import data.set.basic /-! # The opposite of a set The opposite of a set `s` is simply the set obtained by taking the opposite of each member of `...
f93098dbe9f61ee8f99288d86cc7845a44da9d84
9a0192b31a07f48502dacee8122e0b8beda7b110
/lista4.lean
24c5cbeb9ab6a67e7c2a96394613caebb4a006cc
[]
no_license
ana-/Lean
8a5b9f2e13685bd43efd72c6665401c0851157cb
4527da83de947fa1df368b2f9bcf322a4d14e121
refs/heads/master
1,593,588,619,552
1,565,196,720,000
1,565,196,720,000
201,090,102
0
0
null
null
null
null
UTF-8
Lean
false
false
631
lean
/- Lista 3 do EAD Questão 3- Existem duas caixas, A e B. Um aviso na caixa A diz “O aviso na caixa B é falso e o ouro está na caixa B”. Um aviso na caixa B diz “O aviso na caixa A é verdadeiro e o ouro está na caixa B”. Assumindo que existe ouro em uma das caixas, qual delas contém o ouro? Justifique sua resposta...
060dbdf700ff47ae8f9f8700491b37a38d1740bf
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/tactic/abel.lean
dbd6a874b02a6bd73deefd97c1e17a9d771658c1
[ "Apache-2.0" ]
permissive
vaibhavkarve/mathlib
a574aaf68c0a431a47fa82ce0637f0f769826bfe
17f8340912468f49bdc30acdb9a9fa02eeb0473a
refs/heads/master
1,621,263,802,637
1,585,399,588,000
1,585,399,588,000
250,833,447
0
0
Apache-2.0
1,585,410,341,000
1,585,410,341,000
null
UTF-8
Lean
false
false
13,361
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import algebra.group_power tactic.norm_num /-! # The `abel` tactic Evaluate expressions in the language of additive, commutative monoids and groups. -/ namespac...
2ef000b255dfeb9744faf95fc0248ad0edc0bdd7
947b78d97130d56365ae2ec264df196ce769371a
/src/Lean/Compiler/IR/NormIds.lean
13de2760c3e5db6a2fcc44029c56b1cfd40c7371
[ "Apache-2.0" ]
permissive
shyamalschandra/lean4
27044812be8698f0c79147615b1d5090b9f4b037
6e7a883b21eaf62831e8111b251dc9b18f40e604
refs/heads/master
1,671,417,126,371
1,601,859,995,000
1,601,860,020,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,366
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.Compiler.IR.Basic namespace Lean namespace IR namespace UniqueIds abbrev M := StateT IndexSet Id def checkId (id : Index) : M Bool := modifyG...
905acbae90928ea5f8ae04bb0cfc0fdd102885f7
690889011852559ee5ac4dfea77092de8c832e7e
/src/category_theory/products/associator.lean
30fe3623f92d6055eeacf78fb974a9c803f63353
[ "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
1,956
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 -/ import category_theory.products.basic /-# The associator functor `((C × D) × E) ⥤ (C × (D × E))` and its inverse form an equivalence. -/ universes v...
b985eb1358d5137f0dc1d2fc45fa13cd26671a00
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/group_theory/perm/list.lean
6afbf9fe5248f8996acd1b489862ee5fc07f186f
[ "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
16,389
lean
/- Copyright (c) 2021 Yakov Pechersky. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yakov Pechersky -/ import data.list.rotate import group_theory.perm.support /-! # Permutations from a list A list `l : list α` can be interpreted as a `equiv.perm α` where each ele...
7e6b3a92e24e7400b7ea4d95d8b1919cc85f6955
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Init/Data/Nat/Basic.lean
0be29b289e79147b7d2fae9a41348455f38bebb5
[ "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
14,877
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Leonardo de Moura -/ prelude import Init.SimpLemmas universe u namespace Nat @[specialize] def foldAux {α : Type u} (f : Nat → α → α) (s : Nat) : Nat → α → α...
3641068540a5006cd818cac183a6d57df664ec1a
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/topology/compacts.lean
9c0a9caa962d42864e219cd95439ffecf771f326
[ "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
4,467
lean
/- Copyright (c) 2020 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import topology.homeomorph /-! # Compact sets ## Summary We define the subtype of compact sets in a topological space. ## Main Definitions - `closeds α` is th...
ea8399b20dfcb1b013641ef0d5c6fb76582c0b3c
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/data/equiv/encodable/basic.lean
aca7245fa3b847151438519fa7bda6248fae7293
[ "Apache-2.0" ]
permissive
AntoineChambert-Loir/mathlib
64aabb896129885f12296a799818061bc90da1ff
07be904260ab6e36a5769680b6012f03a4727134
refs/heads/master
1,693,187,631,771
1,636,719,886,000
1,636,719,886,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
18,130
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 -/ import data.equiv.nat import order.rel_iso import order.directed /-! # Encodable types This file defines encodable (constructively countab...
141802d5cbcab1aa1dc8da0a56e5b05abedc3587
5fbbd711f9bfc21ee168f46a4be146603ece8835
/lean/natural_number_game/tutorial/4.lean
02b53b4a92de38807574e60226e442dc495529a1
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
goedel-gang/maths
22596f71e3fde9c088e59931f128a3b5efb73a2c
a20a6f6a8ce800427afd595c598a5ad43da1408d
refs/heads/master
1,623,055,941,960
1,621,599,441,000
1,621,599,441,000
169,335,840
0
0
null
null
null
null
UTF-8
Lean
false
false
91
lean
lemma add_succ_zero (a : mynat) : a + succ(0) = succ(a) := rwa [add_succ, add_zero], end
4bb2b58fadaccc6e1a44bfb54162fb6ac93a4fcc
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/fp/basic.lean
3936873bc42a4b3e8d785333d0ebcaa308ea5ebc
[ "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,487
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.semiquot import data.rat.floor /-! # Implementation of floating-point numbers (experimental). > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to...
56a0e278a70acf03e8ec025f0a715f50ed8a98ed
5756a081670ba9c1d1d3fca7bd47cb4e31beae66
/Mathport/Syntax/Translate/Tactic/Mathlib/Converter.lean
23f074a7d94ddd3ca06ed32db15f8da8b0d61fc8
[ "Apache-2.0" ]
permissive
leanprover-community/mathport
2c9bdc8292168febf59799efdc5451dbf0450d4a
13051f68064f7638970d39a8fecaede68ffbf9e1
refs/heads/master
1,693,841,364,079
1,693,813,111,000
1,693,813,111,000
379,357,010
27
10
Apache-2.0
1,691,309,132,000
1,624,384,521,000
Lean
UTF-8
Lean
false
false
1,478
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import Mathport.Syntax.Translate.Tactic.Basic import Mathport.Syntax.Translate.Tactic.Lean3 open Lean namespace Mathport.Translate.Tactic open Mathport.Trans...
d2d3bd46bf85f1ceb8bbbe485e49b6b7af827536
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/08_Building_Theories_and_Proofs.org.36.lean
08d92a1d77593df4bc81fabd2995b254cd1a35cf
[]
no_license
cjmazey/lean-tutorial
ba559a49f82aa6c5848b9bf17b7389bf7f4ba645
381f61c9fcac56d01d959ae0fa6e376f2c4e3b34
refs/heads/master
1,610,286,098,832
1,447,124,923,000
1,447,124,923,000
43,082,433
0
0
null
null
null
null
UTF-8
Lean
false
false
54
lean
import standard import data.nat open nat (hiding add)
fac8248bf99943794ae69e5a83a8f154a2ff67c2
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/category_theory/natural_isomorphism.lean
ce931c5699a6197542baec4f599b39a76e6676f7
[ "Apache-2.0" ]
permissive
anrddh/mathlib
6a374da53c7e3a35cb0298b0cd67824efef362b4
a4266a01d2dcb10de19369307c986d038c7bb6a6
refs/heads/master
1,656,710,827,909
1,589,560,456,000
1,589,560,456,000
264,271,800
0
0
Apache-2.0
1,589,568,062,000
1,589,568,061,000
null
UTF-8
Lean
false
false
5,359
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tim Baumann, Stephen Morgan, Scott Morrison, Floris van Doorn -/ import category_theory.functor_category import category_theory.isomorphism open category_theory universes v₁ v₂ v₃ v₄...
b771555d1a027eb60b37334a1dcc3608646c37c0
b147e1312077cdcfea8e6756207b3fa538982e12
/data/finset.lean
6262d43351a2323eb20a1fb534d78e1a9f7b403c
[ "Apache-2.0" ]
permissive
SzJS/mathlib
07836ee708ca27cd18347e1e11ce7dd5afb3e926
23a5591fca0d43ee5d49d89f6f0ee07a24a6ca29
refs/heads/master
1,584,980,332,064
1,532,063,841,000
1,532,063,841,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
57,237
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura, Jeremy Avigad, Minchao Wu, Mario Carneiro Finite sets. -/ import logic.embedding order.boolean_algebra algebra.order_functions data.multiset data.sigma.basi...
3dfc56a505363484d77c634d3c50b0f209aee905
dc15192b741b5d1c22cea8d65d6eb38bce3d838d
/src/circuit.lean
39ccf51f5e4b2523bc17929e2b0d84b96dc6e678
[]
no_license
VArtem/lean-matroids
86910241ac8d1a5ec7b35adb77c1cc9969480fb9
a8969b1cb2456820ccbdce65e2e168c48c30d9bf
refs/heads/main
1,678,556,999,525
1,614,537,008,000
1,614,537,008,000
338,915,729
0
1
null
null
null
null
UTF-8
Lean
false
false
5,104
lean
import data.nat.basic import data.finset.basic import tactic import matroid import finset import base_of variables {α : Type*} [fintype α] [decidable_eq α] {m : matroid α} {A B : finset α} open finset namespace matroid lemma circuit_sdiff : m.circuit A → B ⊆ A → B ≠ ∅ → m.ind (A \ B) := begin rintro ⟨Anind, Aera...
27fc71b06a2bdcc944698c27bdd04c38fe228604
8e6cad62ec62c6c348e5faaa3c3f2079012bdd69
/src/topology/algebra/infinite_sum.lean
a3bd35220256758c7e68f276b4ba68fd37de38d7
[ "Apache-2.0" ]
permissive
benjamindavidson/mathlib
8cc81c865aa8e7cf4462245f58d35ae9a56b150d
fad44b9f670670d87c8e25ff9cdf63af87ad731e
refs/heads/master
1,679,545,578,362
1,615,343,014,000
1,615,343,014,000
312,926,983
0
0
Apache-2.0
1,615,360,301,000
1,605,399,418,000
Lean
UTF-8
Lean
false
false
46,513
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.intervals import topology.instances.real import topology.algebra.module import data.indicator_function import data.equiv.encodable.lattic...
fe5832fd072cd25e5a8effd48e03e68390f79235
54d7e71c3616d331b2ec3845d31deb08f3ff1dea
/tests/lean/run/tc_inout1.lean
858511ce0d91b40fc888bcac3490553782e34ea1
[ "Apache-2.0" ]
permissive
pachugupta/lean
6f3305c4292288311cc4ab4550060b17d49ffb1d
0d02136a09ac4cf27b5c88361750e38e1f485a1a
refs/heads/master
1,611,110,653,606
1,493,130,117,000
1,493,167,649,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,141
lean
universe variables u v /- Type class parameter can be annotated with out_param. Given (C a_1 ... a_n), we replace a_i with a temporary metavariable ?m_i IF 1- a_i is an out_param and it contains metavariables. 3- a_i depends on a_j for j < i, and a_j was replaced with a temporary metavariable ?m_j. This case is ne...
0effb21674e934fd37b341ce069b0e29d6de1759
df561f413cfe0a88b1056655515399c546ff32a5
/4-power-world/l8.lean
3e41a378d84d062938bd306d08c56cab71b765c4
[]
no_license
nicholaspun/natural-number-game-solutions
31d5158415c6f582694680044c5c6469032c2a06
1e2aed86d2e76a3f4a275c6d99e795ad30cf6df0
refs/heads/main
1,675,123,625,012
1,607,633,548,000
1,607,633,548,000
318,933,860
3
1
null
null
null
null
UTF-8
Lean
false
false
481
lean
lemma add_squared (a b : mynat) : (a + b) ^ (2 : mynat) = a ^ (2 : mynat) + b ^ (2 : mynat) + 2 * a * b := begin rw two_eq_succ_one, rw one_eq_succ_zero, repeat { rw pow_succ }, repeat { rw pow_zero }, repeat { rw one_mul }, rw mul_add, repeat { rw add_mul }, rw mul_comm b a, rw add_assoc, rw ← add_assoc (a * b) _ _...
129e110ba9081894d06b46110fff4136f382b5c5
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/bundle.lean
b916ce0d124578e28a65effbf07beab8ff0ae9ce
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
5,515
lean
/- Copyright © 2021 Nicolò Cavalleri. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nicolò Cavalleri -/ import algebra.module.basic /-! # Bundle > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to mathlib4. Basic data ...
bb4eb30856cf923421cd639952760bc34bde32d1
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/discrTreeSimp.lean
1e2c1b377fc2df0d6508e6babe09955f05b05ab9
[ "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
694
lean
prelude import Init.Data.List.Basic @[simp] theorem map_comp_map (f : α → β) (g : β → γ) : List.map g ∘ List.map f = List.map (g ∘ f) := sorry theorem map_map (f : α → β) (g : β → γ) (xs : List α) : (xs.map f |>.map g) = xs.map (g ∘ f) := sorry theorem ex1 (f : Nat → Nat) (xs : List Nat) : (xs.map f |>.map f) = ...
679c7bbd26eaa3655f1acbb09d5c5c778f8ecac9
4bcaca5dc83d49803f72b7b5920b75b6e7d9de2d
/src/Lean/Elab/DeclModifiers.lean
3a332d96302a72adeea2f24d903e52bbf8f6ad04
[ "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
8,011
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, Sebastian Ullrich -/ import Lean.Modifiers import Lean.DocString import Lean.Elab.Attributes import Lean.Elab.Exception import Lean.Elab.DeclUtil namespace L...
cf8a8537e5e835b27bf01dbf8127d6447d39ba1d
abd85493667895c57a7507870867b28124b3998f
/src/ring_theory/localization.lean
074ccb788473f27101645e10808cc6dbb573ce0a
[ "Apache-2.0" ]
permissive
pechersky/mathlib
d56eef16bddb0bfc8bc552b05b7270aff5944393
f1df14c2214ee114c9738e733efd5de174deb95d
refs/heads/master
1,666,714,392,571
1,591,747,567,000
1,591,747,567,000
270,557,274
0
0
Apache-2.0
1,591,597,975,000
1,591,597,974,000
null
UTF-8
Lean
false
false
33,931
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro, Johan Commelin, Amelia Livingston -/ import data.equiv.ring import tactic.ring_exp import ring_theory.ideal_operations import group_theory.monoid_localization /...
03fef68ff07414000aecc75ee8e963b4e5b1ca86
6f4750ff03c8be1d6c0b1b809ff6ac541b9d5a22
/WhileSyntax.lean
d084844ac0ec59584a229993e06b1284cd9dae1b
[]
no_license
benating/Lean_Test
1809b5e15df9edcdf4a3388f53d2205f29c89ac2
c07099804a86347b4ec836f54530f62e22534bdb
refs/heads/master
1,628,468,905,337
1,510,426,597,000
1,510,426,597,000
108,762,297
0
0
null
null
null
null
UTF-8
Lean
false
false
1,033
lean
namespace whileSyntax inductive wExpr : Type | ident : string → wExpr | num : ℕ → wExpr | add : wExpr → wExpr → wExpr | mul : wExpr → wExpr → wExpr namespace wExpr infixl `+` := add infixl `*` := mul end wExpr inductive wBool : Type | true : wBool | false : wBool | eq : wBool → wBool → wBool | lt : wBool → ...
c1f77eec7369b25888139e8b519bcdfca782c8be
82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7
/src/Std/Data/HashMap.lean
f2f981a5b7db3f9652bc371c7e365e5d78d66c8f
[ "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
7,220
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 Std.Data.AssocList namespace Std universes u v w def HashMapBucket (α : Type u) (β : Type v) := { b : Array (AssocList α β) // b.size > 0 } def Ha...