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
f926807e19a81c28835dfec193a117d49a549fb2
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/real/pi/leibniz.lean
7d26a16f6aa2b115cbe80bd5fa115367fe15afec
[ "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
7,758
lean
/- Copyright (c) 2020 Benjamin Davidson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Benjamin Davidson -/ import analysis.special_functions.trigonometric.arctan_deriv /-! ### Leibniz's Series for Pi > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this...
35f5bcdf84756cac41f9abf345c79e36cab38594
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/tactic/slim_check.lean
ecbdff6d56c632a2aece28ebf01dd465fac65fd5
[ "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,208
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 testing.slim_check.testable import data.list.sort /-! ## Finding counterexamples automatically using `slim_check` A proposition can be tested by writing it out as...
953641e1e8c445aa6352d27266ac0483a2e554f8
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/tests/compiler/partial.lean
aeef0db262ff47f2c6b8fa3104b1fb7152f1dc4f
[ "Apache-2.0" ]
permissive
dupuisf/lean4
d082d13b01243e1de29ae680eefb476961221eef
6a39c65bd28eb0e28c3870188f348c8914502718
refs/heads/master
1,676,948,755,391
1,610,665,114,000
1,610,665,114,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
374
lean
set_option pp.implicit true set_option pp.binder_types false -- set_option trace.compiler.boxed true partial def contains : String → Char → Nat → Bool | s, c, i => if s.atEnd i then false else if s.get i == c then true else contains s c (s.next i) def main : IO Unit := let s1 := "hello"; IO.println (conta...
a4603be524fd6af7ed695da335ae02a500a4b8ea
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/ring_theory/unique_factorization_domain.lean
32a70fc3feee25d29d2f5b471e2df7e28891a7ea
[ "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
53,322
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Jens Wagemaker, Aaron Anderson -/ import algebra.gcd_monoid.basic import ring_theory.integral_domain import ring_theory.noetherian /-! # Unique factorization ## Mai...
576153df9b218570ce4a88d04d3c45b625ad8860
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/lean/run/instances.lean
cea856cdd7344cc4487e31c320efcddb795e5bef
[ "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
249
lean
import Init.Lean open Lean open Lean.Meta def tst1 : IO Unit := do let mods := [`Init.Lean]; env ← importModules $ mods.map $ fun m => {module := m}; let insts := env.getGlobalInstances; IO.println (format insts); pure () #eval tst1
2e4baad941fc57bfff515744d588c1a19bd543de
737dc4b96c97368cb66b925eeea3ab633ec3d702
/stage0/src/Lean/Elab/Command.lean
0882e2417507f03426cb12964cc86c6114d04cae
[ "Apache-2.0" ]
permissive
Bioye97/lean4
1ace34638efd9913dc5991443777b01a08983289
bc3900cbb9adda83eed7e6affeaade7cfd07716d
refs/heads/master
1,690,589,820,211
1,631,051,000,000
1,631,067,598,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
18,108
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.Parser.Command import Lean.ResolveName import Lean.Meta.Reduce import Lean.Elab.Log import Lean.Elab.Term import Lean.Elab.Binders import Lean.E...
8b7f76128a8816c860c2d2fb0bdbc99f9eab8de0
d1a52c3f208fa42c41df8278c3d280f075eb020c
/src/Lean/Compiler/FFI.lean
d1f4bc525531bf53829fe1d7653b553bba81f9d7
[ "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
904
lean
/- Copyright (c) 2021 Sebastian Ullrich. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ open System namespace Lean.Compiler.FFI @[extern "lean_get_leanc_extra_flags"] private constant getLeancExtraFlags : Unit → String /-- Return C compiler fla...
a7e4a6d63e416473b91356aa323915e1cf989688
4727251e0cd73359b15b664c3170e5d754078599
/src/order/iterate.lean
2b0b78c82ce618c8492ad30f1a3f6856d1728b8e
[ "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
8,960
lean
/- Copyright (c) 2020 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import logic.function.iterate import data.nat.basic /-! # Inequalities on iterates In this file we prove some inequalities comparing `f^[n] x` and `g^[n] x`...
2e6fff56f03857e11063e1422a3c613ac57e6a89
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/set/intervals/proj_Icc.lean
41a033fc0ed3a8346048c834dcc0cf1f3ebc7f80
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
11,046
lean
/- Copyright (c) 2020 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov, Patrick Massot -/ import data.set.function import data.set.intervals.ord_connected /-! # Projection of a line onto a closed interval > THIS FILE IS SYNCHRONIZ...
77e52f5c448d26aa8026f9e44e612583f66652ef
bb31430994044506fa42fd667e2d556327e18dfe
/src/field_theory/is_alg_closed/basic.lean
b23f594b1fee5dea1ca26f234e7d5b1094beeb51
[ "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,001
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 field_theory.perfect_closure import field_theory.separable import ring_theory.adjoin.field import ring_theory.localization.integral /-! # Algebraically Closed Field I...
7588c835f705736bb74df015bda3209d4994a9a2
3dd1b66af77106badae6edb1c4dea91a146ead30
/tests/lean/run/have6.lean
758bf68fd05ed853ec6869b5fc8d5ffc13287c42
[ "Apache-2.0" ]
permissive
silky/lean
79c20c15c93feef47bb659a2cc139b26f3614642
df8b88dca2f8da1a422cb618cd476ef5be730546
refs/heads/master
1,610,737,587,697
1,406,574,534,000
1,406,574,534,000
22,362,176
1
0
null
null
null
null
UTF-8
Lean
false
false
640
lean
abbreviation Prop : Type.{1} := Type.{0} variable and : Prop → Prop → Prop infixl `∧`:25 := and variable and_intro : forall (a b : Prop), a → b → a ∧ b variables a b c d : Prop axiom Ha : a axiom Hb : b axiom Hc : c check have a ∧ b, from and_intro a b Ha Hb, have [fact] b ∧ a, from and_intro b a Hb Ha, have H : ...
2be266475408949fabb410648a876ebeb8320ad0
3bdd27ffdff3ffa22d4bb010eba695afcc96bc4a
/src/combinatorics/simplicial_complex/subdivision.lean
fca00818dfaacd4505bad6aebe67ad5e6034d38e
[]
no_license
mmasdeu/brouwerfixedpoint
684d712c982c6a8b258b4e2c6b2eab923f2f1289
548270f79ecf12d7e20a256806ccb9fcf57b87e2
refs/heads/main
1,690,539,793,996
1,631,801,831,000
1,631,801,831,000
368,139,809
4
3
null
1,624,453,250,000
1,621,246,034,000
Lean
UTF-8
Lean
false
false
7,013
lean
/- Copyright (c) 2021 Yaël Dillies, Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies, Bhavik Mehta -/ import analysis.specific_limits import combinatorics.simplicial_complex.basic import set_theory.fincard open affine set variables {m : ℕ} {E...
7d8d8e15242569787ea719527ca24113c2cd9275
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Meta/Tactic/Simp/SimpAll.lean
61bb68a4b3912916d911c150716655009e3f04fb
[ "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
4,682
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.Clear import Lean.Meta.Tactic.Util import Lean.Meta.Tactic.Simp.Main namespace Lean.Meta namespace SimpAll structure Entry where ...
c09bbef3736ca344c00edf03d0dfb9e34aa9f920
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/algebra/algebra/subalgebra.lean
37afcae1d33590bbfe5aca7c63ac8dfb09e48b4c
[ "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
39,909
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Yury Kudryashov -/ import algebra.algebra.operations import data.set.Union_lift /-! # Subalgebras over Commutative Semiring In this file we define `subalgebra`s and the usual o...
daa8d56d04f7e9bb3cf4b501d728dac566ef00d5
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/normed_space/affine_isometry.lean
269c09455175d08f2b3d49434b58212271ced24b
[ "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
22,009
lean
/- Copyright (c) 2021 Heather Macbeth. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Heather Macbeth -/ import analysis.normed_space.add_torsor import analysis.normed_space.linear_isometry /-! # Affine isometries In this file we define `affine_isometry 𝕜 P P₂` to b...
4faa593d6a7bafc9e31d4f79677feaca04667986
1136b4d61007050cc632ede270de45a662f8dba4
/library/init/data/list/instances.lean
a71f02f5730032d0109372d5fbb4468c5266f8e6
[ "Apache-2.0" ]
permissive
zk744750315/lean
7fe895f16cc0ef1869238a01cae903bbd623b4a9
c17e5b913b2db687ab38f53285326b9dbb2b1b6e
refs/heads/master
1,618,208,425,413
1,521,520,544,000
1,521,520,936,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,851
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import init.data.list.lemmas import init.meta.mk_dec_eq_instance open list universes u v local attribute [simp] join list.ret instance : monad lis...
6da617513fb6c15cff78291720f5c675b05ec720
618003631150032a5676f229d13a079ac875ff77
/src/category_theory/monoidal/category.lean
4cd1c958ad50683d0f1000ade6211a5e7533cc7c
[ "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
16,010
lean
/- Copyright (c) 2018 Michael Jendrusch. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Michael Jendrusch, Scott Morrison -/ import category_theory.products.basic open category_theory universes v u open category_theory open category_theory.category open category_the...
228ecd25f5c3b8093fef43cabdc9cf768cbf3ac9
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/algebra/category/Algebra/limits.lean
bfed0f4c8193e32006094ea64cffabb74cf100d6
[ "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
4,936
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 algebra.category.Algebra.basic import algebra.category.Module.limits import algebra.category.CommRing.limits /-! # The category of R-algebras has all limits ...
b598a6c8e116966b301baf3823f6a17b144462ee
c31182a012eec69da0a1f6c05f42b0f0717d212d
/src/polyhedral_lattice/basic.lean
4514b7357c9cbbcf27eeeb58b625d98ed4dcf570
[]
no_license
Ja1941/lean-liquid
fbec3ffc7fc67df1b5ca95b7ee225685ab9ffbdc
8e80ed0cbdf5145d6814e833a674eaf05a1495c1
refs/heads/master
1,689,437,983,362
1,628,362,719,000
1,628,362,719,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,217
lean
import analysis.normed_space.normed_group_hom import ring_theory.finiteness import linear_algebra.free_module import ring_theory.int.basic /-! # Polyhedral lattices A polyhedral lattice is a finite free ℤ-module with a real-valued norm making it into a normed group, such that the closed unit ball of the Banach space...
0c58426db012002fe50d794387c55c7484e52fdf
7cef822f3b952965621309e88eadf618da0c8ae9
/src/data/analysis/topology.lean
bea51477e551d2a0cda94ed1b5762892fa559c94
[ "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
8,454
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro Computational realization of topological spaces (experimental). -/ import topology.bases data.analysis.filter open set open filter (hiding realizer) open_locale topolog...
29551f6d22746b19fd8f1ace1655add1ed822c8b
2fbe653e4bc441efde5e5d250566e65538709888
/src/tactic/tauto.lean
8b267a5d9338675403619539855fb8e7ee83df35
[ "Apache-2.0" ]
permissive
aceg00/mathlib
5e15e79a8af87ff7eb8c17e2629c442ef24e746b
8786ea6d6d46d6969ac9a869eb818bf100802882
refs/heads/master
1,649,202,698,930
1,580,924,783,000
1,580,924,783,000
149,197,272
0
0
Apache-2.0
1,537,224,208,000
1,537,224,207,000
null
UTF-8
Lean
false
false
8,839
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 logic.basic tactic.solve_by_elim namespace tactic open expr open tactic.interactive ( casesm constructor_matching ) /-- find all assumptions of the shape `¬ (p ...
d9da6f89221e9498f5c93a88d2640d3994b26097
952248371e69ccae722eb20bfe6815d8641554a8
/src/reconstruction_theorems.lean
f0859427655be9babd892a29b242b9b4d0659f42
[]
no_license
robertylewis/lean_polya
5fd079031bf7114449d58d68ccd8c3bed9bcbc97
1da14d60a55ad6cd8af8017b1b64990fccb66ab7
refs/heads/master
1,647,212,226,179
1,558,108,354,000
1,558,108,354,000
89,933,264
1
2
null
1,560,964,118,000
1,493,650,551,000
Lean
UTF-8
Lean
false
false
29,143
lean
import .datatypes tactic.norm_num namespace polya theorem eq_or_gt_of_ge {α} [decidable_linear_order α] {a b : α} (h : a ≥ b) : a = b ∨ a > b := have h1 : ¬ b > a, from not_lt_of_ge h, eq_or_lt_of_not_lt h1 theorem eq_or_lt_of_le {α} [decidable_linear_order α] {a b : α} (h : a ≤ b) : a = b ∨ a < b := have h1 : ¬ b < ...
ff4944a5f5f5fc372727aa765512b5a82c9da206
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/prod/basic.lean
eb8f6034c7058c937d4393f7af98a747a1e11f0f
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
12,896
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 tactic.basic import logic.function.basic /-! # Extra facts about `prod` > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corre...
ff428b1dd00f923b6229039eed72f1cc7b215be4
94e33a31faa76775069b071adea97e86e218a8ee
/src/ring_theory/integral_closure.lean
9bbae86e7bd233bb5a5730607e62b9715afb0cda
[ "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
40,364
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 data.polynomial.expand import linear_algebra.finite_dimensional import linear_algebra.matrix.determinant import ring_theory.adjoin.fg import ring_theory.polynomial.scale...
178102f45e75bc68d011034402ca91d8be6f37d2
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/topology/bases.lean
0d59c5b914e303ec41344436f7406765ff1ddf3a
[ "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
25,619
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import topology.continuous_on import topology.constructions /-! # Bases of topologies. Countability axioms. A topological basis on a topological sp...
76c339ed96a13e82a8c1d8f393021f881c24b855
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/control/bitraversable/basic.lean
4582d5549434e0792793daf5a9435e6db9132ba1
[]
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
4,384
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.control.bifunctor import Mathlib.control.traversable.basic import Mathlib.PostPort universes u l ...
a3b0cb72d971062492889523254371a93639fd5b
969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb
/src/data/support.lean
2b368b884beaafddd3b2367396242f479adfcd91
[ "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
7,312
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...
152deea6bf6d8d7284a28cb90fc4ecf2510f8797
e38e95b38a38a99ecfa1255822e78e4b26f65bb0
/src/certigrad/backprop_correct.lean
7491a2d4188ed4d1bb1934e6582feb3c7c51760a
[ "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,417
lean
/- Copyright (c) 2017 Daniel Selsam. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Daniel Selsam Main functional correctness theorem for stochastic backpropagation. -/ import .util .graph .compute_grad .predicates .estimators .env .dvec .compute_grad_slow_correct .mem...
9358f3a980060ca95cae1174ba84bed7deb81f2d
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/finset/order.lean
29cd1a6aeb861c59cd038dcb4d7a83c8047d4cb4
[]
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
780
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Kenny Lau -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.finset.basic import Mathlib.PostPort universes u u_1 namespace Mathlib ...
dd91c47ace8f78f2490b1dbe8b3a1f1d1414df38
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/02_Dependent_Type_Theory.org.22.lean
b09cfaa4a8e224392f0fcc7dd3f82daadacd5957
[]
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
259
lean
/- page 22 -/ import standard definition compose (A B C : Type) (g : B → C) (f : A → B) (x : A) : C := g (f x) definition do_twice (A : Type) (h : A → A) (x : A) : A := h (h x) definition do_thrice (A : Type) (h : A → A) (x : A) : A := h (h (h x))
d28f79a8ab8cfdd344f7510ac733555fd426e7ee
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/algebra/order/floor.lean
51db0112d08549e375214378092c5a2c8cd724a6
[ "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
21,036
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Kevin Kappelmann -/ import tactic.abel import tactic.linarith /-! # Floor and ceil ## Summary We define the natural- and integer-valued floor and ceil functions on l...
8361a47ccb9c064caa7e1417930156af19192c07
26b8b0964ca8e1c2e203585ba5940f83fe05e48a
/test/rewrite_all.lean
c80656b8346695a214bc6447a8d9333de5507760
[]
no_license
jcommelin/lean-tidy
ef3cd32a3804221d93f0dff9e180bb2c52f4b143
9cecf497e90db64b5ea140ad6ae1603976dcd402
refs/heads/master
1,585,129,919,276
1,533,512,680,000
1,533,512,680,000
143,677,361
0
0
null
1,616,803,481,000
1,533,530,576,000
Lean
UTF-8
Lean
false
false
139
lean
import tidy.rewrite_all axiom foo : [1] = [2] example : [[1], [1], [1]] = [[1], [2], [1]] := begin perform_nth_rewrite_lhs [foo] 1, end
cadd6f7c6bd5b41caa780f8c074dd5fd7eaeef85
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/topology/algebra/uniform_group.lean
ab2160a3ad44912383f74e74436dbf99b33840ed
[ "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
19,584
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 Uniform structure on topological groups: * `topological_add_group.to_uniform_space` and `topological_add_group_is_uniform` can be used to construct a...
17de9ee00fadea0bc48c29892fe4b177144314ff
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Meta/ExprDefEq.lean
0a860850761ee86cbc4cf91570dad0fd27a7e665
[ "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
83,128
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.Meta.Offset import Lean.Meta.UnificationHint import Lean.Util.OccursCheck namespace Lean.Meta /-- Return `true` if `e` is of the form `fun (...
809170bbafe2ed6a1c8a7ff15af5054571dedd6d
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/algebra/module/weak_dual.lean
5b1339fe4fb96b0eabe07067f55f6d10b3081dc6
[ "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
12,522
lean
/- Copyright (c) 2021 Kalle Kytölä. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kalle Kytölä, Moritz Doll -/ import topology.algebra.module.basic import linear_algebra.bilinear_map /-! # Weak dual topology This file defines the weak topology given two vector space...
503073dc2fef10818cbefe002c8de40a6d0b0143
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/list/sublists.lean
c86ab9b33afc43b2cbab27e0cbd00305f92bfa75
[ "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
12,217
lean
/- Copyright (c) 2019 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.list.basic import data.nat.choose.basic /-! # sublists `list.sublists` gives a list of all (not necessarily contiguous) sublists of a list. This file c...
3da8c676f49b6b845b99163a30b2728790a5d2dc
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/calculus/monotone.lean
d7f179ff054916174a0057daebf37d685d9c9459
[ "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
14,532
lean
/- Copyright (c) 2022 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import measure_theory.measure.lebesgue import analysis.calculus.deriv import measure_theory.covering.one_dim /-! # Differentiability of monotone functions We ...
d15289c70939ceda5c3b4fc7df7203a19304393a
491068d2ad28831e7dade8d6dff871c3e49d9431
/tests/lean/hott/457.hlean
cf24871b6068cd838492f3e11089ac97d4a1015c
[ "Apache-2.0" ]
permissive
davidmueller13/lean
65a3ed141b4088cd0a268e4de80eb6778b21a0e9
c626e2e3c6f3771e07c32e82ee5b9e030de5b050
refs/heads/master
1,611,278,313,401
1,444,021,177,000
1,444,021,177,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
184
hlean
import algebra.group open eq algebra definition foo {A : Type} (a b c : A) (H₁ : a = c) (H₂ : c = b) : a = b := begin apply concat, rotate 1, apply H₂, apply H₁ end
0d84f050ebab1cec200c3a31b9f803b6d188e924
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/run/smt_destruct.lean
1a118e10a3e69761fd93cda875f16f3f8e26aa92
[ "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
1,654
lean
open smt_tactic lemma ex1 (p q : Prop) : p ∨ q → p ∨ ¬q → ¬p ∨ q → ¬p ∨ ¬q → false := by using_smt $ do intros, trace_state, a_1 ← tactic.get_local `a_1, destruct a_1, repeat close lemma ex2 (p q : Prop) : p ∨ q → p ∨ ¬q → ¬p ∨ q → ¬p ∨ ¬q → false := begin [smt] intros, have h : p ∨ q, destruc...
69f7b0b6700a57c2d095db5f567dba696485ba7e
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/ring_theory/polynomial/basic.lean
210cc0b618da41e7e22000ece7d740e4d5bd6144
[ "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
43,757
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 algebra.char_p.basic import data.mv_polynomial.comm_ring import data.mv_polynomial.equiv import ring_theory.principal_ideal_domain import ring_theory.polynomial.content...
5924bf4d199df071f3402b2edd1eccbf5b1cd61a
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/tactic/norm_num.lean
7b1943a36055a8a58ba29b74b8a497d1a2a2ada9
[ "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
62,118
lean
/- Copyright (c) 2017 Simon Hudon All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Mario Carneiro -/ import data.rat.cast import data.rat.meta_defs /-! # `norm_num` Evaluating arithmetic expressions including *, +, -, ^, ≤ -/ universes u v w namespace ta...
282815d661a2883108ab0712a6db8dbace55bcfd
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/src/Lean/Server/FileWorker.lean
9a3e28e3415e540d3452c91b247a0c579b2542bb
[ "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
23,218
lean
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ import Init.System.IO import Lean.Data.RBMap import Lean.Environment import Lean.Data.Lsp import Lean.Data.Json.FromToJson import Lean.Util.Paths...
afd7834253962788fe965ffeab421ca5d0acd102
4f643cce24b2d005aeeb5004c2316a8d6cc7f3b1
/omin/gen_presheaf.lean
320136290dd1370e8d45bbeb00f7b315d0000ea6
[]
no_license
rwbarton/lean-omin
da209ed061d64db65a8f7f71f198064986f30eb9
fd733c6d95ef6f4743aae97de5e15df79877c00e
refs/heads/master
1,674,408,673,325
1,607,343,535,000
1,607,343,535,000
285,150,399
9
0
null
null
null
null
UTF-8
Lean
false
false
3,251
lean
import category_theory.concrete_category import category_theory.comma import category_theory.punit /- Attempt at avoiding the infinite sequence `definable_psh`, `definable_fam`, ?, ... by abstracting over the index category, and passing to the slice category over X (or really, the category of elements of X) to handle ...
3e3a82ce94b7ddabbab678fb9e05a41f564e4e3a
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/number_theory/liouville/liouville_constant.lean
32bafe6a54c0a9f735e573a253c9b1670d87a3f7
[ "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
8,830
lean
/- Copyright (c) 2020 Jujian Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Damiano Testa, Jujian Zhang -/ import number_theory.liouville.basic /-! # Liouville constants This file contains a construction of a family of Liouville numbers, indexed by a natural n...
127f3e5e10f841d334a9b99a1802a9e9f2ce66f8
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/data/polynomial/monic.lean
7b72537d5847e6d39d55e6041e8952620fdd7198
[ "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
15,919
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker -/ import data.polynomial.reverse import algebra.associated import algebra.regular.smul /-! # Theory of monic polynomials W...
6f76eff7aab10a53e111c873a13477cf36f453dd
da23b545e1653cafd4ab88b3a42b9115a0b1355f
/src/tidy/rewrite_search/init.lean
eeae7257bafa7d5720d6e56213ac456e05fdc9e8
[]
no_license
minchaowu/lean-tidy
137f5058896e0e81dae84bf8d02b74101d21677a
2d4c52d66cf07c59f8746e405ba861b4fa0e3835
refs/heads/master
1,585,283,406,120
1,535,094,033,000
1,535,094,033,000
145,945,792
0
0
null
null
null
null
UTF-8
Lean
false
false
1,472
lean
-- Never import tidy.rewrite_search.engine directly. Go through me. import .engine -- Default strategy and tracer used as a fallback by the engine (so mush be present) import .strategy.edit_distance import .tracer.unit open tactic namespace tidy.rewrite_search meta def default_tracer := by pick_default_tracer meta...
95ebad4720d182eaa59aeb0ae0131f6ce1d8e5ce
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Server/Requests.lean
901fdfb9f219d6b9fb71eb7ca2bdf2c564054d88
[ "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
10,352
lean
/- Copyright (c) 2021 Wojciech Nawrocki. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wojciech Nawrocki, Marc Huisinga -/ import Lean.DeclarationRange import Lean.Data.Json import Lean.Data.Lsp import Lean.Elab.Command import Lean.Server.FileSource import Lean.Ser...
f47ed28b467691b9cd1c2f8a31c6136167d6fd9c
a46270e2f76a375564f3b3e9c1bf7b635edc1f2c
/4.6.3.lean
330451802655495cc7091bba00dc02ef4ca11ca2
[ "CC0-1.0" ]
permissive
wudcscheme/lean-exercise
88ea2506714eac343de2a294d1132ee8ee6d3a20
5b23b9be3d361fff5e981d5be3a0a1175504b9f6
refs/heads/master
1,678,958,930,293
1,583,197,205,000
1,583,197,205,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
349
lean
variables (men : Type) (barber : men) variable (shaves : men → men → Prop) example (h : ∀ x : men, shaves barber x ↔ ¬ shaves x x) : false := have hc: shaves barber barber ↔ ¬ shaves barber barber, from h barber, have h1: shaves barber barber -> false, from λ l, hc.mp l l, have h2: shaves barber barber, from h...
8e918f76754cdb554cb324ce900af25699cc198f
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/library/tools/super/utils.lean
665f1c91b09c0d0515650d40536621b6c9981dc4
[ "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
5,051
lean
/- Copyright (c) 2016 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ open tactic expr list meta def get_metas : expr → list expr | (var _) := [] | (sort _) := [] | (const _ _) := [] | (mvar n t) := expr.mvar n t :: get_metas t | (local_...
94daa0414b6d15a0cd21b8486fc71a03a1dd96c1
9028d228ac200bbefe3a711342514dd4e4458bff
/src/data/pnat/factors.lean
3c8211d5875f376f50218b9ed25c20c2a9f311e1
[ "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
14,413
lean
/- Copyright (c) 2019 Neil Strickland. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Neil Strickland -/ import data.pnat.basic import data.multiset.sort import data.int.gcd import algebra.group /-- The type of multisets of prime numbers. Unique factorization gives a...
f44e300e6e523a9d826ac0877edb084cbe5880db
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/struct1.lean
4207941ac7c84e540349018bdd01d55e3c8271d7
[ "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
973
lean
structure A0.{u} (α : Type u) := (x : α) structure A.{u} (α : Type u) extends A0 α := (y : α) structure B.{u} (α : Type u) := (z : α) variable (β : Type _) variable (β' : Type _) universe u structure C.{v} (α : Type _) (δ : Type u) (η : Type v) extends A β, B α := mk2 :: (w : Nat := 10) #check C #check @C #chec...
2117f06f948e0ab88c1b93cde7b328c0edc2bc65
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/revert_crash.lean
4f4861d86b8c0a6ba70c6f60b7e02123c155ae71
[ "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
238
lean
constant α: Type inductive P: α → Prop inductive Q: α → α → Prop | of: ∀ {a₁ a₂}, Q a₁ a₂ example {a: α} (P_a: P a) (Q_a: ∃ a', Q a' a): true := begin cases Q_a with a' Q_a'_a, cases Q_a'_a, cases P_a, end
b5578072fe618d6c6e98567dabc278505a6716e7
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/tactic/unify_equations.lean
325e58e213bc80c49e3c2c1311f98103410201b2
[ "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
14,572
lean
/- Copyright (c) 2020 Jannis Limperg. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jannis Limperg -/ import tactic.core /-! # The `unify_equations` tactic This module defines `unify_equations`, a first-order unification tactic that unifies one or more equations in ...
322f9e8893224d0a520ce994c18a16d0592e422a
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/cc6.lean
413e2157cd4e5bb61715bbcaf97fa84ef50afe00
[ "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
551
lean
open tactic example (a b c a' b' c' : nat) : a = a' → b = b' → c = c' → a + b + c + a = a' + b' + c' + a' := by cc example (a b : unit) : a = b := by cc example (a b : nat) (h₁ : a = 0) (h₂ : b = 0) : a = b → h₁ == h₂ := by cc constant inv' : ∀ (a : nat), a ≠ 0 → nat example (a b : nat) (h₁ : a ≠ 0) (h₂ : b ≠ 0) :...
f0936ede9490114dd68c67ea2182c02ca45372b2
43390109ab88557e6090f3245c47479c123ee500
/src/M3P14/pminusone.lean
33da4492395cf242c13acfa82c3c9609ccf4fa36
[ "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
551
lean
import data.int.basic example (p : ℤ) (q : 2 ∣ int.nat_abs (p - 1)) : int.nat_abs ((p - 1) / 2) = int.nat_abs (p - 1) / 2 := begin cases q with d hd, have H : ∃ e, (p - 1) = 2 * e, cases (int.nat_abs_eq (p - 1)), existsi (d : ℤ), rw [h,hd], refl, existsi (- (d : ℤ)), rw [h,hd], rw int.coe_nat...
281fa78f889f26881792c52e3d297201f9ef674d
46125763b4dbf50619e8846a1371029346f4c3db
/src/data/set/lattice.lean
f471c46756d630c65036eb530f91a16816d890bd
[ "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
34,671
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura, Johannes Hölzl, Mario Carneiro -- QUESTION: can make the first argument in ∀ x ∈ a, ... implicit? -/ import logic.basic data.set.basic data.equiv.basi...
23c016fdc4d52a074da942c87f4a9e3afd457c8d
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/stage0/src/Lean/Elab/Deriving/Basic.lean
aa7afdbaef418e38fe4e2b762b18d08abaec674d
[ "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,626
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.Command namespace Lean.Elab open Command def DerivingHandler := (typeNames : Array Name) → CommandElabM Bool builtin_initialize deriving...
cbccf35ebe9a2e5bb5aaba8843eb0e3ef11cb090
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/field/defs.lean
ffbf64f8366df744ace633d255b65d4ee60420e9
[ "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
9,339
lean
/- Copyright (c) 2014 Robert Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Lewis, Leonardo de Moura, Johannes Hölzl, Mario Carneiro -/ import data.rat.init import algebra.ring.defs /-! # Division (semi)rings and (semi)fields > THIS FILE IS SYNCHRONIZED...
fb130ee8c6029a5c43eb9c771a2f3fb62e2d4eed
94e33a31faa76775069b071adea97e86e218a8ee
/src/topology/algebra/uniform_mul_action.lean
a541a115c4b66196e027c89e2595a46017b84707
[ "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,703
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 algebra.hom.group_instances import topology.algebra.uniform_group import topology.uniform_space.completion /-! # Multiplicative action on the completi...
df48aa6b6a044050eca1163cf8eabaee59f8395e
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/965.lean
5af339523fcc24560b9d164ce92c07a78a68dc50
[ "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
155
lean
import algebra.bundled variable G : Group check (1 : G) check (1 : Group.carrier G) set_option pp.coercions true check (1 : G) check (1 : Group.carrier G)
085320e079c0660ef64fbcd85ea0afd7d6fabac9
12b755d17b2fc1d2a08d39a11658674c4dc6c2c3
/src/week04.lean
c91cbc19646501418e03b23d1e439c9dbe6dab39
[]
no_license
UVM-M52/lean-hdthomas
a0066caf3bddd8fc8075016257a63a4d80a8fb33
1d399a5bb22544831ff466b2fe4cec38832b8ba6
refs/heads/master
1,609,092,927,189
1,580,748,817,000
1,580,748,817,000
238,001,939
0
0
null
null
null
null
UTF-8
Lean
false
false
1,960
lean
-- Math 52: Week 4 import .utils.int_refl -- Lakins Definition 1.2.1: definition is_even (n : ℤ) := ∃ (k : ℤ), n = 2 * k definition is_odd (n : ℤ) := ∃ (k : ℤ), n = 2 * k + 1 -- Lakins Definition 2.1.1: definition divides (a b : ℤ) : Prop := ∃ (k : ℤ), a * k = b -- The notation `a ∣ b` can be used for `divides a b`...
76c9efdcc38f8bfd8ea374d0c4382f89902ee470
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/probability/integration.lean
7a28eaab17b53e2e4480b7d15f440def121ad9f8
[ "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
13,671
lean
/- Copyright (c) 2021 Martin Zinkevich. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Martin Zinkevich, Vincent Beffara -/ import measure_theory.integral.set_integral import probability.independence /-! # Integration in Probability Theory Integration results for ind...
2161915d7cd975d2d36fad3f05141bfecc0eb7d6
54d7e71c3616d331b2ec3845d31deb08f3ff1dea
/library/init/algebra/group.lean
1222ab6b2418695c0078f03f55ce42cd758acd68
[ "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
15,768
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura -/ prelude import init.logic init.algebra.classes init.meta init.meta.decl_cmds init.meta.smt.rsimp /- Make sure instances defined in this file...
421e26d83106fdd477ad76004b9e0c84f6e03f9c
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/data/polynomial/div.lean
c93dd99cb2008a79927577904fee7b6f193787cd
[ "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
20,835
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker -/ import data.polynomial.monic import ring_theory.multiplicity /-! # Division of univariate polynomials The main defs are ...
354b0c12c0e8db10386925d2754aad8a8aded22b
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/ring_theory/subsemiring.lean
8fe55de987fedcda9803b8992f4f1a69c279ed93
[ "Apache-2.0" ]
permissive
ilitzroth/mathlib
ea647e67f1fdfd19a0f7bdc5504e8acec6180011
5254ef14e3465f6504306132fe3ba9cec9ffff16
refs/heads/master
1,680,086,661,182
1,617,715,647,000
1,617,715,647,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
26,189
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 algebra.ring.prod import group_theory.submonoid import data.equiv.ring /-! # Bundled subsemirings We define bundled subsemirings and some standard construc...
c04baad814d571d3f8577cd1ba307c5607223b4d
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/topology/sheaves/sheafify.lean
8b3baf6f4c07cd2f021b5bb829a0d4aacbeeeffc
[ "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
4,419
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 topology.sheaves.local_predicate import topology.sheaves.stalks /-! # Sheafification of `Type` valued presheaves We construct the sheafification of a `Type` ...
e678e6e586f252a9c4f89312d20cb11e7958502d
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/tests/lean/add_assoc.lean
ab4a875aa62294dbd15cdd50c025ee7e8b543c75
[ "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
405
lean
import tactic using Nat rewrite_set basic add_rewrite add_zerol add_succl eq_id : basic theorem add_assoc (a b c : Nat) : a + (b + c) = (a + b) + c := induction_on a (show 0 + (b + c) = (0 + b) + c, by simp basic) (λ (n : Nat) (iH : n + (b + c) = (n + b) + c), show (n + 1) + (b + c) = ((n + 1) + b) + ...
fe12163a2c8f9d9f45d3f552f3e3bf6676981f22
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebraic_geometry/prime_spectrum/is_open_comap_C.lean
b8802891a5ab37089f0cfdc12a672ec3c57f38b0
[ "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,171
lean
/- Copyright (c) 2021 Damiano Testa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Damiano Testa -/ import algebraic_geometry.prime_spectrum.basic import ring_theory.polynomial.basic /-! > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a c...
1d28813315d61dcf48136a7d3392c55d9d10aa0a
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/topology/metric_space/premetric_space.lean
c669634bd10aa9effa1a2510d3eda70d31d9487d
[ "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,506
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Premetric spaces. Author: Sébastien Gouëzel Metric spaces are often defined as quotients of spaces endowed with a "distance" function satisfying the triangular inequality, but for which `d...
c8f45d44b8583223f800d73f0aaad478ba53daf2
3dc4623269159d02a444fe898d33e8c7e7e9461b
/.github/workflows/project_1_a_decrire/lean-scheme-submission/src/spectrum_of_a_ring/standard_basis.lean
2e34d12c8806fd3ae64d9a49a9249dfd21df635a
[]
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
2,160
lean
/- Standard opens form basis. https://stacks.math.columbia.edu/tag/04PM -/ import topology.basic import to_mathlib.opens import spectrum_of_a_ring.zariski_topology import spectrum_of_a_ring.properties universe u open topological_space local attribute [instance] classical.prop_decidable section standard_basis...
7931f7ed175afb4c41fced31cd4332f04f6fa82e
5ee26964f602030578ef0159d46145dd2e357ba5
/src/for_mathlib/nonarchimedean/basic.lean
bd107e2fcb1cd2e3826b48dcd77eaaf482d78ddb
[ "Apache-2.0" ]
permissive
fpvandoorn/lean-perfectoid-spaces
569b4006fdfe491ca8b58dd817bb56138ada761f
06cec51438b168837fc6e9268945735037fd1db6
refs/heads/master
1,590,154,571,918
1,557,685,392,000
1,557,685,392,000
186,363,547
0
0
Apache-2.0
1,557,730,933,000
1,557,730,933,000
null
UTF-8
Lean
false
false
4,080
lean
import topology.algebra.ring import ring_theory.algebra import ring_theory.ideal_operations import tactic.abel tactic.chain import for_mathlib.submodule import for_mathlib.rings import for_mathlib.nonarchimedean.open_subgroup local attribute [instance] set.pointwise_mul_semiring /--A topological group is non-archim...
1aaeb072d97100b9b3c6991d0c8cc8f99c4627e9
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/order/filter/pi.lean
d069ed0dcd5125ec49e88d02c172113e39fe6777
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
9,165
lean
/- Copyright (c) 2021 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov, Alex Kontorovich -/ import order.filter.bases /-! # (Co)product of a family of filters > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file r...
240ae5fcc814736bab3acaf485000575c72ea879
0845ae2ca02071debcfd4ac24be871236c01784f
/library/init/data/fin/default.lean
d3e08907ec76425027b7786deae3bc95ee96dac3
[ "Apache-2.0" ]
permissive
GaloisInc/lean4
74c267eb0e900bfaa23df8de86039483ecbd60b7
228ddd5fdcd98dd4e9c009f425284e86917938aa
refs/heads/master
1,643,131,356,301
1,562,715,572,000
1,562,715,572,000
192,390,898
0
0
null
1,560,792,750,000
1,560,792,749,000
null
UTF-8
Lean
false
false
198
lean
/- Copyright (c) 2017 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.fin.basic
2d9d47826dfc5d83b18489053b94f8059a121357
63abd62053d479eae5abf4951554e1064a4c45b4
/src/logic/relator.lean
5b4c783126e039dcef275a1eb031c106fb502183
[ "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
3,835
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 Relator for functions, pairs, sums, and lists. -/ namespace relator universe variables u₁ u₂ v₁ v₂ reserve infixr ` ⇒ `:40 /- TODO(johoelzl): * should we introduce ...
a4f52a7f91152143e94a1a256adf4bbd67e58c90
1e7164e9c5aacccd114777e0ea8f8201177f1289
/src/traversals/geom_real_rec.lean
101766fcdf491283c14d8b3ea5039fa262629884
[]
no_license
floriscnossen/simplicial_sets_in_lean
e7cb1780474407668208ec5b8f19de7eb5936701
c260d8196964bb288331bff7a3bfe24266792f0c
refs/heads/master
1,685,636,159,913
1,624,118,064,000
1,624,118,064,000
352,801,219
0
0
null
null
null
null
UTF-8
Lean
false
false
19,977
lean
import traversals.basic import category_theory.currying open category_theory open category_theory.limits open simplex_category open sSet open_locale simplicial namespace traversal namespace geom_real_rec variables {n : ℕ} def sSet_colimit {sh : Type*} [small_category sh] (diag : sh ⥤ sSet) : colimit_cocone (diag...
89b89d129d8c80a63a6d3dce4e8c1ebb3e6d9a50
cf39355caa609c0f33405126beee2739aa3cb77e
/library/init/meta/vm.lean
80f6d27e0c3466083024cc9e4b14c589e50087e4
[ "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
6,958
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.control.option import init.meta.mk_dec_eq_instance meta constant vm_obj : Type @[derive decidable_eq] inductive vm_ob...
cbaa5f36f27269a2bb1710e694da23492756d480
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/user_simp_attributes.lean
bdeaaaf3f350dccd9e30ae862a124ab17174d0e7
[ "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
522
lean
run_cmd mk_simp_attr `boo run_cmd mk_simp_attr `bla constant f : nat → nat set_option trace.user_attributes_cache true @[boo] lemma ex : ∀ x, f x = 1 := sorry example : f 0 = 1 := by simp with boo #print "----" example : f 2 = 1 := by simp with boo #print "----" constant g : nat → nat @[boo] lemma ex2 : ∀ x, g...
f6ec7aa6d506efc908495cd562e0ba0ebfccae21
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Lean/Declaration.lean
4ac13a136b72bc6070bff0088208434fe2a135cc
[ "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
17,175
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Expr namespace Lean /-- Reducibility hints are used in the convertibility checker. When trying to solve a constraint such a (f ...)...
c40dfae1e33eee775be854f5d946b2bf37bc17d2
42610cc2e5db9c90269470365e6056df0122eaa0
/library/theories/group_theory/quotient.lean
f265af55a2c43c7c6c146ddc954c6757079f522b
[ "Apache-2.0" ]
permissive
tomsib2001/lean
2ab59bfaebd24a62109f800dcf4a7139ebd73858
eb639a7d53fb40175bea5c8da86b51d14bb91f76
refs/heads/master
1,586,128,387,740
1,468,968,950,000
1,468,968,950,000
61,027,234
0
0
null
1,465,813,585,000
1,465,813,585,000
null
UTF-8
Lean
false
false
21,300
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Zipperer, Jeremy Avigad We provide two versions of the quoptient construction. They use the same names and notation: one lives in the namespace 'quotient_group' and the other li...
e6f10f2476b5b8763aecd7144107d41e5fa3bc9e
4727251e0cd73359b15b664c3170e5d754078599
/src/ring_theory/algebra_tower.lean
8d019859161ba669221e53eea67bf5205ef49970
[ "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
13,551
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import algebra.invertible import ring_theory.adjoin.fg import linear_algebra.basis import algebra.algebra.tower import algebra.algebra.restrict_scalars /-! # Towers of algebra...
dee2a14fded94201a8a9a4ef0e79f1dfa8d48da8
4727251e0cd73359b15b664c3170e5d754078599
/src/topology/metric_space/thickened_indicator.lean
bc45cf672a098d2072e4727061dff275603a59fb
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
11,344
lean
/- Copyright (c) 2022 Kalle Kytölä. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kalle Kytölä -/ import data.real.ennreal import topology.continuous_function.bounded /-! # Thickened indicators This file is about thickened indicators of sets in (pseudo e)metric spac...
f42bed03e137e5c978ce5516795803cf25a11333
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/data/to_string_auto.lean
7a41fae4f8785542c5dcf56e6ece24356d468f7e
[]
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
889
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.data.string.basic import Mathlib.Lean3Lib.init.data.bool.basic import Mathlib.Lean3Lib.init.data.subtype....
c0c26894ab5264b0414600dc18cda4e11bb89f72
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/expr1.lean
c5116762697268aecf1f94843328fbadf1286a59
[ "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,219
lean
import Lean.Expr open Lean def tst1 : IO Unit := do let f := mkConst `f []; let a := mkConst `a []; let b := mkConst `b []; let t := mkAppN f #[a, b, b]; let as₁ := t.getAppArgs; let as₂ := t.getAppRevArgs; IO.println as₁; IO.println as₂; unless as₁.reverse == as₂ do throw $ IO.userErr...
cccff1cff7153c3800b0561956cd200c7d484c5f
7cef822f3b952965621309e88eadf618da0c8ae9
/src/topology/category/Top/adjunctions.lean
eab933877f42434bd44d66ac0c1ec433a1733713
[ "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
1,073
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Mario Carneiro -/ import topology.category.Top.basic import category_theory.adjunction.basic universe u open category_theory open Top namespace Top /-- Equipping a ...
8b44612e2bedb6cc07b9d1d92bb81c1742a827ab
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/sheaves/sheaf_condition/equalizer_products.lean
fc7026f122e635d5c096d3db0508b8c717a7b4b7
[]
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
12,059
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.topology.sheaves.presheaf import Mathlib.category_theory.limits.punit import Mathlib.catego...
02cfa9877df84ab5c861c8428c8fd872858751db
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebra/category/Group/zero.lean
ff16c712bbe243b12fefde4978303b721e8ff924
[ "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,068
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 algebra.category.Group.basic import category_theory.limits.shapes.zero /-! # The category of (commutative) (additive) groups has a zero object. `AddCommGroup...
b55e06b05ad4a87aa5855978426f4f0cc1e4eeb1
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/record9.lean
3cf0c476dd21cc35a98ddb385900b1e641f8e38a
[ "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
111
lean
constant fibrant : Type* → Prop structure Fib : Type* := {type : Type*} (pred : fibrant type) check Fib.mk
b01958e71fc032e291fa8c56cd4af5cd078d9546
ce89339993655da64b6ccb555c837ce6c10f9ef4
/bluejam/topprover/10.lean
4392e9b4b7be34647a4094c5edaf40b8788d5594
[]
no_license
zeptometer/LearnLean
ef32dc36a22119f18d843f548d0bb42f907bff5d
bb84d5dbe521127ba134d4dbf9559b294a80b9f7
refs/heads/master
1,625,710,824,322
1,601,382,570,000
1,601,382,570,000
195,228,870
2
0
null
null
null
null
UTF-8
Lean
false
false
2,136
lean
/- Require Import List. Fixpoint prefix_sum sum l := match l with | nil => sum :: nil | head :: tail => sum :: prefix_sum (sum + head) tail end. Fixpoint plus_list l1 l2 := match (l1, l2) with | (nil, _) => nil | (_, nil) => nil | (h1 :: t1, h2 :: t2) => (h1 + h2) :: plus_list t1 t2 end. Definition...
d2d7349340433b5662bb1ca76c50863bbfa7f541
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/theories/group_theory/action.lean
12f72aa843780e69234d7e44744ffa70ede5bc29
[ "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
22,609
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...
9bad29e8db291410cd966a081d6ee0795d6bf97c
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/data/string/ops_auto.lean
2eca37e79f0a83d43ee892289a3f94e02e5485cc
[]
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,119
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.data.bool.lemmas import Mathlib.Lean3Lib.init.data.string.basic import Mathlib.Lean3Lib.init.meta.well_f...
323b72688d818ff875433537a9be2e9aa49cfaa9
2272e503179a58556187901b8698b789fad7e0c4
/src/adjunction_examples.lean
ff3fd8bd276f61472865c5a08a9e76d37f3b4825
[]
no_license
kckennylau/category-theory
f15e582be862379453a5341d83b8cd5ebc686729
b24962838c7370b5257e38b7648040aec95922bb
refs/heads/master
1,583,605,043,449
1,525,154,882,000
1,525,154,882,000
127,633,452
0
0
null
null
null
null
UTF-8
Lean
false
false
7,057
lean
import .adjunction .functor_examples universes u v namespace category namespace examples @[reducible] def Set_.free_forgetful : adjunction.{u+1 u} Set_ Set := adjunction.free_forgetful _ Set_.free Set_.forgetful (λ S P f, ⟨(plift.up $ unit_eq _ _, λ t, option.rec_on t (P.2.2 punit.star) f), ...
cff83f22b6479b97c70a743c898fe0239149625b
4fa161becb8ce7378a709f5992a594764699e268
/src/category_theory/epi_mono.lean
c60caa692e22aa2102b71204741a4c08ea35d277
[ "Apache-2.0" ]
permissive
laughinggas/mathlib
e4aa4565ae34e46e834434284cb26bd9d67bc373
86dcd5cda7a5017c8b3c8876c89a510a19d49aad
refs/heads/master
1,669,496,232,688
1,592,831,995,000
1,592,831,995,000
274,155,979
0
0
Apache-2.0
1,592,835,190,000
1,592,835,189,000
null
UTF-8
Lean
false
false
6,281
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison Facts about epimorphisms and monomorphisms. The definitions of `epi` and `mono` are in `category_theory.category`, since they are used by some lemmas for `is...
b37ac5dfabfb22564586da8c66047d02f59c969e
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/uintMatch.lean
8629d967082ac405d0fdf678621906f338063291
[ "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
def f : UInt8 → Bool | 5 => true | _ => false #eval f 8 #eval f 5 def g : UInt32 → String | 5 => "hello" | 1555 => "world" | _ => "bla" #eval g 5 #eval g 1555 #eval g 555
6ebae24af0f42c414f4de23dd63133445e17e438
f5f7e6fae601a5fe3cac7cc3ed353ed781d62419
/src/group_theory/subgroup.lean
09e9b122ef397ec866370dbfc3a638463da2801d
[ "Apache-2.0" ]
permissive
EdAyers/mathlib
9ecfb2f14bd6caad748b64c9c131befbff0fb4e0
ca5d4c1f16f9c451cf7170b10105d0051db79e1b
refs/heads/master
1,626,189,395,845
1,555,284,396,000
1,555,284,396,000
144,004,030
0
0
Apache-2.0
1,533,727,664,000
1,533,727,663,000
null
UTF-8
Lean
false
false
30,067
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mitchell Rowett, Scott Morrison, Johan Commelin, Mario Carneiro -/ import group_theory.submonoid open set function variables {α : Type*} {β : Type*} {a a₁ a₂ b c: α} ...
0153bdccd817cd9f07e4f780dea1d080e670af41
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/category_theory/const.lean
328f372ed284d4aebb254306c7aa2c5a860f8170
[ "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
1,693
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.functor_category import category_theory.isomorphism universes v₁ v₂ v₃ u₁ u₂ u₃ -- declare the `v`'s first; see `category_theory.category`...
8b930c22c7c4c19261d4280cba887ee6f6a44759
f5373ccdc976e6390397d9f4220a74c76f706f4a
/src/examples/interactive_tactic_entry.lean
a1cbe9c1dc556e94412e33476d1f84e934989996
[]
no_license
jasonrute/lean_gym_prototype
fcd91fdc454f9e351bbe258c765f50276407547e
ab29624d14e4e069e15afe0b1d90248b5b394b86
refs/heads/master
1,682,628,526,780
1,590,539,315,000
1,590,539,315,000
264,938,525
3
0
null
null
null
null
UTF-8
Lean
false
false
404
lean
import lean_gym.server -- set up server meta def json_config : json_server lean_server_request lean_server_response := { read_write := io_streams.stdin_stdout_streams, get_json := json_server.get_custom_json, -- use custom format since faster put_json := json_server.put_standard_json, -- use standard format ...
5fda1c3f6abf530ea88514d244d30ac29cc0ad5f
54f4ad05b219d444b709f56c2f619dd87d14ec29
/my_project/src/love03_forward_proofs_demo.lean
dc375e81dc58a398bb17766d53cf26a6940e2099
[]
no_license
yizhou7/learning-lean
8efcf838c7276e235a81bd291f467fa43ce56e0a
91fb366c624df6e56e19555b2e482ce767cd8224
refs/heads/master
1,675,649,087,737
1,609,022,281,000
1,609,022,281,000
272,072,779
0
0
null
null
null
null
UTF-8
Lean
false
false
10,641
lean
import .love01_definitions_and_statements_demo /-! # LoVe Demo 3: Forward Proofs When developing a proof, often it makes sense to work __forward__: to start with what we already know and proceed step by step towards our goal. Structured proofs are a style that supports this reasoning. -/ set_option pp.beta true n...
c972a4cd7f9bd2d944c2bf3e4f00aea460b11bf3
4727251e0cd73359b15b664c3170e5d754078599
/src/data/fin/basic.lean
a5f7a3788fc1fdb314239cf5f6a8432377e303ce
[ "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
61,636
lean
/- Copyright (c) 2017 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis, Keeley Hoek -/ import tactic.apply_fun import data.nat.cast import order.rel_iso import tactic.localized /-! # The finite type with `n` elements `fin n` is the type...
70e95b4d4f31ee939d654bec92d6f26235fb27a6
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/meta/mk_has_reflect_instance_auto.lean
7a2984f75ade3cff35da9b995f3e6892254dc57a
[]
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
417
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich Helper tactic for constructing a has_reflect instance. -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.meta.rec_util namespace Mathlib namespace tact...
4759ed7798d6605865939f4bfc7717869a298353
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/tactic/nth_rewrite/congr.lean
03adfc96cc3fd45c3aaea76c30311efe5015908e
[ "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,179
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Keeley Hoek, Scott Morrison -/ import tactic.core import tactic.nth_rewrite.basic namespace tactic namespace nth_rewrite.congr open nth_rewrite /-- Helper function which just tries...