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
c786917b0ec802f8aeaf472c38d2e53f00f651da
e61a235b8468b03aee0120bf26ec615c045005d2
/src/Init/Lean/Meta.lean
5214c9173c7deb2fefe758fdb67936e340398684
[ "Apache-2.0" ]
permissive
SCKelemen/lean4
140dc63a80539f7c61c8e43e1c174d8500ec3230
e10507e6615ddbef73d67b0b6c7f1e4cecdd82bc
refs/heads/master
1,660,973,595,917
1,590,278,033,000
1,590,278,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
720
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Lean.Meta.Basic import Init.Lean.Meta.LevelDefEq import Init.Lean.Meta.WHNF import Init.Lean.Meta.InferType import Init.Lean.Meta.FunInf...
4047e2e39b48f8b4da5140ff20e8a56294cb1b7f
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/group/semiconj_auto.lean
dcb31110f7d19d8f5be21a8a97ecc8a874d1d29d
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
6,296
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov Some proofs and docs came from `algebra/commute` (c) Neil Strickland -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.group.units...
a6bcdae1ecb9caf02f681b19521d7f0b3cb13ba8
ed27983dd289b3bcad416f0b1927105d6ef19db8
/src/inClassNotes/higherOrderFunctions/right_fold_test.lean
a1287fdbe4d57ccdf81a7ec322f9c2bb951c0518
[]
no_license
liuxin-James/complogic-s21
0d55b76dbe25024473d31d98b5b83655c365f811
13e03e0114626643b44015c654151fb651603486
refs/heads/master
1,681,109,264,463
1,618,848,261,000
1,618,848,261,000
337,599,491
0
0
null
1,613,141,619,000
1,612,925,555,000
null
UTF-8
Lean
false
false
4,882
lean
/- In this file, I explain why the foldr function has such a funny-looking type. The following examples have much in common - Reducing a list of strings to a bool that indicates whether all of them have a given property - Reducing a list of strings to a natural number that indicates the sum of all of their lengths ...
0abdd0fa9ce902057ede7e118294b13b6392607a
54518a41e0f0c03b53f961e37a3ac2fed5cfeaa9
/src/cantor_space.lean
9d4a2ea12bf0ec83c771fb2feaa418c7a1fbcfe0
[ "Apache-2.0" ]
permissive
cipher1024/flypitch
9110cbfc99aa2195fe0a903fffc7034cdb00e87c
357cd9cc344d7b6ea0c1f5d7232956b9ddb39359
refs/heads/master
1,598,733,974,743
1,572,308,681,000
1,572,992,816,000
218,170,521
0
0
Apache-2.0
1,572,308,724,000
1,572,308,723,000
null
UTF-8
Lean
false
false
21,558
lean
/- Copyright (c) 2019 The Flypitch Project. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jesse Han, Floris van Doorn -/ import .regular_open_algebra universes u v local attribute [instance] classical.prop_decidable /- Some facts about Cantor spaces: topological sp...
e6a21f37f1fbd603a125210bdeece1e54caaba18
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/tactic/elide.lean
42d667b0e3fb69afefef609e522d0a1b96ca352d
[ "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
3,023
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Simon Hudon -/ import tactic.core namespace tactic namespace elide meta def replace : ℕ → expr → tactic expr | 0 e := do t ← infer_type e, expr.sort u ← infer_typ...
1144df8a14e619aee8d5feb12215333fbc987a6e
08bd4ba4ca87dba1f09d2c96a26f5d65da81f4b4
/src/Lean/Data/HashSet.lean
c266531e6d7c0b33eb44552ec97713e2cb2f36ad
[ "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "Apache-2.0", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
gebner/lean4
d51c4922640a52a6f7426536ea669ef18a1d9af5
8cd9ce06843c9d42d6d6dc43d3e81e3b49dfc20f
refs/heads/master
1,685,732,780,391
1,672,962,627,000
1,673,459,398,000
373,307,283
0
0
Apache-2.0
1,691,316,730,000
1,622,669,271,000
Lean
UTF-8
Lean
false
false
7,158
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ namespace Lean universe u v w def HashSetBucket (α : Type u) := { b : Array (List α) // b.size.isPowerOfTwo } def HashSetBucket.update {α : Type u} (data...
6b0f6b816728398938083f3689026017b8194024
46125763b4dbf50619e8846a1371029346f4c3db
/src/algebra/category/Group.lean
28c135e770322aad958876de0240839505c36708
[ "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
6,147
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import algebra.punit_instances import algebra.category.Mon.basic import category_theory.endomorphism /-! # Category instances for group, add_group, comm_group, and ...
e4220609c0f8f786306ea7fdf7bc5a226de93558
9dc8cecdf3c4634764a18254e94d43da07142918
/src/geometry/manifold/whitney_embedding.lean
b5be8c77521f8a98383e35504eb4b42b042bab9f
[ "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
6,336
lean
/- Copyright (c) 2021 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import geometry.manifold.diffeomorph import geometry.manifold.instances.real import geometry.manifold.partition_of_unity /-! # Whitney embedding theorem In ...
39d2a8bf1891a82ed94d2077b979a0524ea5bea4
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/sites/adjunction.lean
d560f26d1e7072d1bc8699e222501384fdc2a644
[ "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,216
lean
/- Copyright (c) 2021 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Topaz -/ import category_theory.adjunction.whiskering import category_theory.sites.sheafification import category_theory.sites.whiskering /-! > THIS FILE IS SYNCHRONIZED WITH MATHLIB...
bc070f27f289d0c128051ab03809c07420c6daea
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/order/filter/extr.lean
8565c5d556ec4277274075a415beebebe45df76f
[ "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
18,652
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import order.filter.basic logic.relator tactic.alias /-! # Minimum and maximum w.r.t. a filter and on a aet ## Main Definitions This file defines six predicates...
229774bca511540c7c15bb11b5371409a4dd1497
4727251e0cd73359b15b664c3170e5d754078599
/counterexamples/canonically_ordered_comm_semiring_two_mul.lean
7474e07b5368156c1c05fe4fb175e41ffe0160ed
[ "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,360
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 data.zmod.basic import ring_theory.subsemiring.basic import algebra.order.monoid /-! A `canonically_ordered_comm_semiring` with two different elements `a` and `...
f8d3f39a6336fd72377204ea3b675b2487bef7ce
54deab7025df5d2df4573383df7e1e5497b7a2c2
/order/boolean_algebra.lean
c573846789e52b157fcb49c2cc0a458e03e815eb
[ "Apache-2.0" ]
permissive
HGldJ1966/mathlib
f8daac93a5b4ae805cfb0ecebac21a9ce9469009
c5c5b504b918a6c5e91e372ee29ed754b0513e85
refs/heads/master
1,611,340,395,683
1,503,040,489,000
1,503,040,489,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,635
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 Type class hierarchy for Boolean algebras. -/ import order.bounded_lattice set_option old_structure_cmd true universes u variables {α : Type u} {x y z : α} namespace...
78dff929611861eb1c375df07095bcb470420375
ff5230333a701471f46c57e8c115a073ebaaa448
/library/init/util.lean
4703821ee2a7c129296373af4c80ba9bb4f47311
[ "Apache-2.0" ]
permissive
stanford-cs242/lean
f81721d2b5d00bc175f2e58c57b710d465e6c858
7bd861261f4a37326dcf8d7a17f1f1f330e4548c
refs/heads/master
1,600,957,431,849
1,576,465,093,000
1,576,465,093,000
225,779,423
0
3
Apache-2.0
1,575,433,936,000
1,575,433,935,000
null
UTF-8
Lean
false
false
1,675
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.format universes u /-- This function has a native implementation that tracks time. -/ def timeit {α : Type u} (s : string) (f : th...
23bba0f1865163ec8a7f7157f5ed327245c4793a
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/calculus/series.lean
bc0e56143e4bc9c4f3cde22b2d47e79d47b59b20
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
15,269
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 analysis.calculus.uniform_limits_deriv import analysis.calculus.cont_diff import data.nat.cast.with_top /-! # Smoothness of series We show that series ...
efad1510aed0b6656c7db79f916af142ebbca234
618003631150032a5676f229d13a079ac875ff77
/src/data/real/basic.lean
9a5ed492704a9f09ecbe9ae392d86ab5abd2000f
[ "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
26,280
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Floris van Doorn The (classical) real numbers ℝ. This is a direct construction from Cauchy sequences. -/ import order.conditionally_complete_lattice import data.real.c...
e57f87533481fe362398161aab9390889177e1a3
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/library/standard/struc/wf.lean
e27f1111f98c5067282aa92b2cddbba5baf56dbd
[ "Apache-2.0" ]
permissive
codyroux/lean
7f8dff750722c5382bdd0a9a9275dc4bb2c58dd3
0cca265db19f7296531e339192e9b9bae4a31f8b
refs/heads/master
1,610,909,964,159
1,407,084,399,000
1,416,857,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,672
lean
---------------------------------------------------------------------------------------------------- -- Copyright (c) 2014 Microsoft Corporation. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Author: Leonardo de Moura -----------------------------------------------------...
2334372bf5e52dc9b8f0de90b0bb00661e3429bf
08bd4ba4ca87dba1f09d2c96a26f5d65da81f4b4
/src/Lean/Meta/Tactic/Simp/SimpAll.lean
2b91db680cb899e57af5273a70e80e8e96a691b5
[ "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "Apache-2.0", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
gebner/lean4
d51c4922640a52a6f7426536ea669ef18a1d9af5
8cd9ce06843c9d42d6d6dc43d3e81e3b49dfc20f
refs/heads/master
1,685,732,780,391
1,672,962,627,000
1,673,459,398,000
373,307,283
0
0
Apache-2.0
1,691,316,730,000
1,622,669,271,000
Lean
UTF-8
Lean
false
false
4,945
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 open Simp (UsedSimps) namespace SimpAll ...
15e32d3e0a5aa4e4cbf12994a6493a33401ef070
4727251e0cd73359b15b664c3170e5d754078599
/src/set_theory/game/winner.lean
1ba90d07d27acc625a96fe2345b61ee4424b9590
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
3,278
lean
/- Copyright (c) 2020 Fox Thomson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Fox Thomson -/ import set_theory.game.pgame /-! # Basic definitions about who has a winning stratergy We define `G.first_loses`, `G.first_wins`, `G.left_wins` and `G.right_wins` for a p...
b9306e486142f1610286c72dfa4cb0895b9361ab
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/mk_constructor_fresh_names.lean
dc0f50c5e86cf0fbf3aa613172e746145a1b9f97
[ "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
519
lean
open tactic example (fst fst_1 : nat) : fst = fst := by do ns ← mk_constructors_fresh_names `prod, trace ns, -- [[fst_2, snd]] constructor example (h : nat) : h = h := by do ns ← mk_constructors_fresh_names `acc, trace ns, -- [[x, a_1] constructor inductive Foo | mk₁ (a b c : nat) : Foo | mk₂ (d e : boo...
6bbcb19defb6e901ec8836f0d1f4f8bfc83386ff
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/group_action_hom.lean
6733af8d4f6684f56a7ce912f00f84596c4f3f65
[]
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
16,513
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.group_ring_action import Mathlib.group_theory.group_action.default import Mathlib.PostPort u...
1c978b292fb55e15e29e24069e47a323eca6dca8
205f0fc16279a69ea36e9fd158e3a97b06834ce2
/HOMEWORK/HW4.lean
ea0f0365338bd0b6b419f63a2f0bbee327576027
[]
no_license
kevinsullivan/cs-dm-lean
b21d3ca1a9b2a0751ba13fcb4e7b258010a5d124
a06a94e98be77170ca1df486c8189338b16cf6c6
refs/heads/master
1,585,948,743,595
1,544,339,346,000
1,544,339,346,000
155,570,767
1
3
null
1,541,540,372,000
1,540,995,993,000
Lean
UTF-8
Lean
false
false
4,909
lean
/- THIS ASSIGNMENT IS DUE BEFORE 9AM ON TUESDAY NEXT WEEK, BEFORE THE DAY'S 2101 CLASSES BEGIN. WE WILL REVIEW THE ANSWERS IN CLASS. THEN WE WILL GIVE An IN-CLASS, GRADED EXERCISE TO TEST YOUR UNDERSTANDING. This file comes in two parts. The first part presents an example that you are to read and understand. It's...
a9d82a30eb9101f0248bc33e05c146490c2876e1
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/tactic/lint/misc.lean
fcfc9ac60adfb133a08157c83b249aa704c297ef
[ "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
11,215
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 -/ import tactic.lint.basic /-! # Various linters This file defines several small linters: - `ge_or_gt` checks that `>` and `≥` do not occur in ...
4d12a59025e4f7c926012e35f4c75f93f70e7a01
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/linear_algebra/affine_space/affine_equiv.lean
f56ec333674b95c974b998cba534caa71f2107bc
[ "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
16,095
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 linear_algebra.affine_space.affine_map import algebra.invertible /-! # Affine equivalences In this file we define `affine_equiv k P₁ P₂` (notation: `...
74147e1ae199a26786c407d1aa5d0ab3727841c6
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/lean/run/IO_test.lean
81a76c27d7386fff7cfc119f669f81e94e213a34
[ "Apache-2.0" ]
permissive
mhuisi/lean4
28d35a4febc2e251c7f05492e13f3b05d6f9b7af
dda44bc47f3e5d024508060dac2bcb59fd12e4c0
refs/heads/master
1,621,225,489,283
1,585,142,689,000
1,585,142,689,000
250,590,438
0
2
Apache-2.0
1,602,443,220,000
1,585,327,814,000
C
UTF-8
Lean
false
false
2,905
lean
prelude import Init.System.IO import Init.Data.List.Control open IO.FS instance : HasRepr UInt8 := ⟨ toString ⟩ def check_eq {α} [HasBeq α] [HasRepr α] (tag : String) (expected actual : α) : IO Unit := unless (expected == actual) $ throw $ IO.userError $ "assertion failure \"" ++ tag ++ "\":\n expected: " ++ ...
9e7af4d0bc4c54dabb3e7db20a1e969f08eb784f
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/run/inliner_bug.lean
e939a2132b199be69ef25bb9b24fb3f7eca9db7c
[ "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
80
lean
@[inline] def g (n : nat) : nat := nat.rec_on n 0 (λ m r, r + 2) vm_eval g 10
db73943859c1d27ed3fe71035f3669b51221765c
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/tactic_op_overload_bug.lean
79f8b250bd1c636b02a3085ad70e3694e63787c4
[ "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
526
lean
import data.num data.bool open bool well_founded namespace pos_num definition lt_pred (a b : pos_num) : Prop := lt a b = tt definition not_lt_one1 (a : pos_num) : ¬ lt_pred a one := begin esimp [lt_pred], intro H, apply (absurd_of_eq_ff_of_eq_tt (lt_one_right_eq_ff a) H) end open tactic well_founded print r...
6c3cb25b2acd7ebd8880a02db4d61a95937eecf7
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/linear_algebra/invariant_basis_number.lean
aa743ff5dc0bc6ab91902b915ff0dc2eea7ae7f6
[]
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,002
lean
/- Copyright (c) 2020 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.linear_algebra.finite_dimensional import Mathlib.ring_theory.ideal.basic import Mathlib.PostP...
3ed2a224bc1903360bd65d84a70b0f03524e618f
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/algebra/ordered_ring.lean
44eb5c352e3891641ce7a32d525b17b53fc5fc50
[ "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
43,414
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura, Mario Carneiro -/ import algebra.ordered_group set_option old_structure_cmd true universe u variable {α : Type u} /-- An `ordered_semiring α` is a s...
b3ffbb1dd8b7aacf3125290b9452b085ab1ed919
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/ppNotationCode.lean
4807ec5ced05d0f80ca6060fa34699931b15e90a
[ "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
70
lean
set_option trace.Elab.definition.body true infix:45 "+++" => Nat.add
a782d8acf18bb9b37a852475acd6e6075b3f7e99
63abd62053d479eae5abf4951554e1064a4c45b4
/src/topology/uniform_space/separation.lean
a25f94984920e1d9df82f07fade1b69432ca7e71
[ "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
21,528
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, Patrick Massot -/ import topology.uniform_space.basic import tactic.apply_fun /-! # Hausdorff properties of uniform spaces. Separation quotient. This file studies un...
82ca59c0c558dfbecd6e3a3613dacbf9e9442bfe
7cef822f3b952965621309e88eadf618da0c8ae9
/src/category_theory/epi_mono.lean
88cc5cf37ef8407b2564a2b3f2fbcf81ca10890c
[ "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,746
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton Facts about epimorphisms and monomorphisms. The definitions of `epi` and `mono` are in `category_theory.category`, since they are used by some lemmas for `iso`, which is use...
1c42c002db3313a8500bb9d414f6469654b7363a
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/1467.lean
0e0fd6abfa90674f34d0457a92a109d26839ffcf
[ "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
794
lean
constants f g h : ℕ → ℕ axiom H_f_g : ∀ n, f (g n) = n example (m : ℕ) : h m = h m := begin let n : ℕ := g m, have H : f n = m := begin rw H_f_g end, subst H, -- Error here end set_option pp.instantiate_mvars false example (m : ℕ) : h m = h m := begin let n : ℕ, -- add metavar exact g m, have H : f n = m := begin rw...
075806e09d56170f630753743fcb79beee98f937
e94d3f31e48d06d252ee7307fe71efe1d500f274
/hott/hit/pushout.hlean
f9fd7d51e99461497607c5a0659de5b4102d8c7b
[ "Apache-2.0" ]
permissive
GallagherCommaJack/lean
e4471240a069d82f97cb361d2bf1a029de3f4256
226f8bafeb9baaa5a2ac58000c83d6beb29991e2
refs/heads/master
1,610,725,100,482
1,459,194,829,000
1,459,195,377,000
55,377,224
0
0
null
1,459,731,701,000
1,459,731,700,000
null
UTF-8
Lean
false
false
13,861
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn Declaration of the pushout -/ import .quotient types.sigma types.arrow_2 open quotient eq sum equiv is_trunc namespace pushout section parameters {TL BL TR : Ty...
97a79a135333061e263ed5d590322e9015c177af
88fb7558b0636ec6b181f2a548ac11ad3919f8a5
/library/init/data/list/basic.lean
1a05cd877c62f4da52f7c434d1e70010ea5a01d4
[ "Apache-2.0" ]
permissive
moritayasuaki/lean
9f666c323cb6fa1f31ac597d777914aed41e3b7a
ae96ebf6ee953088c235ff7ae0e8c95066ba8001
refs/heads/master
1,611,135,440,814
1,493,852,869,000
1,493,852,869,000
90,269,903
0
0
null
1,493,906,291,000
1,493,906,291,000
null
UTF-8
Lean
false
false
5,832
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.logic init.data.nat.basic open decidable list universes u v w instance (α : Type u) : inhabited (list α) := ⟨list.nil⟩ variables {α : ...
bae22e5604ac325714ed37fa3945ca2b4b18ed25
491068d2ad28831e7dade8d6dff871c3e49d9431
/tests/lean/whnf.lean
e6405e7301cd76e20af7d97f982a05f708fbed76
[ "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
124
lean
open nat eval [whnf] (fun x, x + 1) 2 eval (fun x, x + 1) 2 variable a : nat eval [whnf] a + succ zero eval a + succ zero
8179c57be43fea3baf31d35c7d0c19a8d0c1ff22
c777c32c8e484e195053731103c5e52af26a25d1
/src/model_theory/order.lean
c14ca9cadf61d502ec9e6c6980bb27f89b29d8ba
[ "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
9,226
lean
/- Copyright (c) 2022 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import model_theory.semantics /-! # Ordered First-Ordered Structures This file defines ordered first-order languages and structures, as well as their theories. ## M...
4f7b8b31c2b088bf25710ab3224731c23ff83708
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/matrix/block.lean
34a97c6775854e70360aaae5269b471faae616db
[ "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
30,670
lean
/- Copyright (c) 2018 Ellen Arlt. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ellen Arlt, Blair Shi, Sean Leather, Mario Carneiro, Johan Commelin -/ import data.matrix.basic /-! # Block Matrices > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file...
fc114cfae050e1e4731eedcfea3bf8fe305333a8
d1bbf1801b3dcb214451d48214589f511061da63
/src/algebra/big_operators/basic.lean
c3234b0ca9e4f7be11408025da159d89b0f60f11
[ "Apache-2.0" ]
permissive
cheraghchi/mathlib
5c366f8c4f8e66973b60c37881889da8390cab86
f29d1c3038422168fbbdb2526abf7c0ff13e86db
refs/heads/master
1,676,577,831,283
1,610,894,638,000
1,610,894,638,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
50,451
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import data.finset.fold import data.equiv.mul_add import tactic.abel /-! # Big operators In this file we define products and sums indexed by finite sets (specifica...
00081f610538653fb3103f87b86ee0ee68136288
5a8eb1c11f93715e070b588e85f2961065c3714d
/books/theorem-proving-in-lean/ch02-07.lean
174f6a792dc9d521c3249bdaa6a25c9da43f10ac
[ "MIT" ]
permissive
luksamuk/study
0e19bf99d33e0793127c3d3f8ad3936fbeb36505
6a9417e071a8624c4cd9db696c16a3abcc430219
refs/heads/master
1,677,960,533,266
1,676,234,529,000
1,676,234,529,000
151,009,060
4
1
MIT
1,676,234,531,000
1,538,343,224,000
C++
UTF-8
Lean
false
false
1,001
lean
namespace foo def a : ℕ := 5 def f (x : ℕ) : ℕ := x + 7 def fa : ℕ := f a def ffa : ℕ := f (f a) #print "inside foo" #check a #check f #check fa #check ffa #check foo.fa end foo #print "outside the namespace" #check foo.a #check foo.f #check foo.fa #check foo.ffa open foo -- imports the namesp...
cadeb0311405fffbaa282a60c13ad54c8186843f
969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb
/src/measure_theory/borel_space.lean
df93625508c99bd8fd9be4fd12aced3c9c604f06
[ "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
66,654
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, Yury Kudryashov -/ import measure_theory.measure_space import measure_theory.ae_measurable_sequence import analysis.complex.basic import analysis.normed_space.finite_di...
2ecb2be432f6fc646c17cc373a61ab75b4d2a186
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/data/padics/padic_numbers.lean
1b934e78f5927b8eced6b338412c28b15aa4f096
[ "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
32,457
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 -/ import data.padics.padic_norm import analysis.normed_space.basic /-! # p-adic numbers This file defines the p-adic numbers (rationals) ℚ_p as the completion of ℚ...
6a45a0ad522dc52b067827793502fba3e1a6e01a
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/nat_bug7.lean
db979c095572df25e8f64245742a7893608e14d4
[ "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
434
lean
import logic namespace experiment inductive nat : Type := | zero : nat | succ : nat → nat namespace nat definition add (x y : nat) : nat := nat.rec x (λn r, succ r) y infixl `+` := add axiom add_right_comm (n m k : nat) : n + m + k = n + k + m open eq print "===========================" theorem bug (a b c d : nat) : ...
2cd30247e6986f4976d494cd45fd7bedca81c64b
57fdc8de88f5ea3bfde4325e6ecd13f93a274ab5
/data/multiset.lean
73fff7220618debbbe28e6f3e1511aed4bbad2b4
[ "Apache-2.0" ]
permissive
louisanu/mathlib
11f56f2d40dc792bc05ee2f78ea37d73e98ecbfe
2bd5e2159d20a8f20d04fc4d382e65eea775ed39
refs/heads/master
1,617,706,993,439
1,523,163,654,000
1,523,163,654,000
124,519,997
0
0
Apache-2.0
1,520,588,283,000
1,520,588,283,000
null
UTF-8
Lean
false
false
91,409
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Multisets. -/ import logic.function data.list.basic data.list.perm data.list.sort order.boolean_algebra algebra.order_functions data.quot algebra.group_pow...
0b84c7c0ce1e84410f6898f92592e7045206a864
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/data/nat/multiplicity.lean
5d4c62d45f96f2a2b2204af7a96767b3b36a215c
[ "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
11,152
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 data.nat.bitwise import data.nat.parity import data.nat.log import ring_theory.int.basic import algebra.big_operators.intervals /-! # Natural number multiplicity...
7da82aa8d130df45f3250279f0799bbd46d16814
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/topology/metric_space/basic.lean
06c41df87b27d0c4bf5006db5020e36a67ba3561
[ "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
93,964
lean
/- Copyright (c) 2015, 2017 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Metric spaces. Authors: Jeremy Avigad, Robert Y. Lewis, Johannes Hölzl, Mario Carneiro, Sébastien Gouëzel Many definitions and theorems expected on metric spaces are already introduced o...
4b0f05f4d273dccce8ae6ac5bd0fa3706e6cedf9
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/topology/instances/nnreal.lean
54dbef20e6f0b3553392960980d49db6f7ad6a3e
[ "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
4,695
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 data.real.nnreal topology.instances.real topology.algebra.infinite_sum noncomputable theory open set topological_space metric open_l...
2931317fbfaf95f838810d4d42e1a6e955fd9dd1
453dcd7c0d1ef170b0843a81d7d8caedc9741dce
/category/traversable/instances.lean
8038dc1fca63139981311462b7af25f42b8863bf
[ "Apache-2.0" ]
permissive
amswerdlow/mathlib
9af77a1f08486d8fa059448ae2d97795bd12ec0c
27f96e30b9c9bf518341705c99d641c38638dfd0
refs/heads/master
1,585,200,953,598
1,534,275,532,000
1,534,275,532,000
144,564,700
0
0
null
1,534,156,197,000
1,534,156,197,000
null
UTF-8
Lean
false
false
7,404
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon Instances of `traversable` for types from the core library -/ import category.traversable.basic import category.basic import category.functor import category.applicative uni...
35991e838eee0282bdba5bfae2b12a7810ee60a4
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/analysis/normed_space/basic.lean
c44c753ad0b24f250aceee7789eff8abf3221001
[ "Apache-2.0" ]
permissive
ayush1801/mathlib
78949b9f789f488148142221606bf15c02b960d2
ce164e28f262acbb3de6281b3b03660a9f744e3c
refs/heads/master
1,692,886,907,941
1,635,270,866,000
1,635,270,866,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
53,795
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 -/ import algebra.algebra.restrict_scalars import algebra.algebra.subalgebra import data.matrix.basic import topology.algebra.group_completion import top...
dfa4950b742ba753f2735138ee044ff9224385f2
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/overAndPartialAppsAtWF.lean
c757f5ae77c007905b71585fffafb86c4dabb448
[ "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
917
lean
theorem eq_of_isEqvAux [DecidableEq α] (a b : Array α) (hsz : a.size = b.size) (i : Nat) (hi : i ≤ a.size) (heqv : Array.isEqvAux a b hsz (fun x y => x = y) i) : ∀ (j : Nat) (hl : i ≤ j) (hj : j < a.size), a.get ⟨j, hj⟩ = b.get ⟨j, hsz ▸ hj⟩ := by intro j low high by_cases h : i < a.size · unfold Array.isEqvAux a...
acb630a8a3eeacc39f3e730b5e6455a6595365f4
367134ba5a65885e863bdc4507601606690974c1
/test/transport/basic.lean
af0aa13fd0bc3a75465598c01b54ecdec39d754b
[ "Apache-2.0" ]
permissive
kodyvajjha/mathlib
9bead00e90f68269a313f45f5561766cfd8d5cad
b98af5dd79e13a38d84438b850a2e8858ec21284
refs/heads/master
1,624,350,366,310
1,615,563,062,000
1,615,563,062,000
162,666,963
0
0
Apache-2.0
1,545,367,651,000
1,545,367,651,000
null
UTF-8
Lean
false
false
2,526
lean
import tactic.transport import order.bounded_lattice import algebra.lie.basic -- We verify that `transport` can move a `semiring` across an equivalence. -- Note that we've never even mentioned the idea of addition or multiplication to `transport`. def semiring.map {α : Type} [semiring α] {β : Type} (e : α ≃ β) : semir...
1f817f03741bd622d58d960ea7f91cded09635a3
5756a081670ba9c1d1d3fca7bd47cb4e31beae66
/Mathport/Binary/TranslateName.lean
6395d00d88dbe8689035c506ca0f194c8e6ee08d
[ "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
11,913
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Selsam Lean3 uses snake_case for everything. As of now, Lean4 uses: - camelCase for defs - PascalCase for types - snake_case for proofs -/ import Lean import Mathport.U...
0e1a726b6fa52a166fab860a7f27a6f07f676b77
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/dynamics/ergodic/measure_preserving.lean
9942a6e3fcffd4cd64ae7ef757e259876501a2ed
[ "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,242
lean
/- Copyright (c) 2021 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import measure_theory.measure.ae_measurable /-! # Measure preserving maps > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a correspo...
e60d7abc58396aa390b3c0ed62e41aca700c92ea
7cef822f3b952965621309e88eadf618da0c8ae9
/src/analysis/calculus/fderiv.lean
927ff9a37aa3a18e6841b1661faed027d9f19f44
[ "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
60,758
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Sébastien Gouëzel -/ import analysis.asymptotics analysis.calculus.tangent_cone /-! # The Fréchet derivative Let `E` and `F` be normed spaces, `f : E → F`, and `f' : E...
d2f51f8e17b54805a3fb519e8c849ee11185af1b
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/791.lean
c22c76e477a09788312ebf01810e85e2f43d2bea
[ "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
174
lean
open nat definition foo.bar : nat := 10 definition boo.bla.foo : nat := 20 open foo open boo.bla eval bar eval foo constant x.y.z : nat open x check y.z open x.y check z
e8e631461a9d7e9dd98a8ddfe9837c0fec0be78a
7cef822f3b952965621309e88eadf618da0c8ae9
/src/topology/category/UniformSpace.lean
5f13d54bb164b4860e20a8d2c26699e1fa68fff0
[ "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
6,316
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Patrick Massot, Scott Morrison -/ import category_theory.concrete_category.unbundled_hom import category_theory.full_subcategory import category_theory.monad.limits impor...
1c8b18eacf8c9e5c63bbddb64171948422f3c94e
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/hinst_lemmas2.lean
4b57ccf0eec56c6ffc719256f1a99f8c6b4dfbca
[ "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
763
lean
run_command mk_hinst_lemma_attr_set `attr_main [`attr1, `attr2] [`sattr1, `sattr2] constant f : nat → nat constant g : nat → nat → nat constant p : nat → Prop constant fax1 : ∀ x, f x = g x x constant gax1 : ∀ x y, p x → p y → g x y = x constant gax2 : ∀ x y, g x y = 0 → g x (f y) = g x y constant gax3 : ∀ x, g x x =...
a4b13ae8ef3aa2172f198f0ecfa17a58786b71f2
e4850d3690538c747274f940d23178380b465a23
/LeanNixStatic1.lean
d55de0b06dd3a036c04c673c772f753d8ae216c7
[]
no_license
zygi/leannixstatic1
5d81973a69c98e6f29e9283c245d10f81303155c
b10ce543ec1d990186295bfd33bc84d3a69a6fd7
refs/heads/master
1,678,438,994,937
1,614,394,028,000
1,614,394,028,000
342,754,763
0
0
null
null
null
null
UTF-8
Lean
false
false
246
lean
import LeanNixStatic1.Inline import LeanNixStatic1.Extern #reduce ifNative1Else0 0 == 0 def main(argv: List String): IO UInt32 := do IO.println s!"{ifNative1Else0 0} should be 1" IO.println s!"{addMagicConstant 0} should be 12345" return 0
f279169373b6ed28a5ec6860b0afeaebc3f5bc08
f4bff2062c030df03d65e8b69c88f79b63a359d8
/src/game/functions/bothSurjective.lean
d97c51a162f4d6de9347a735d310d58b864c9907
[ "Apache-2.0" ]
permissive
adastra7470/real-number-game
776606961f52db0eb824555ed2f8e16f92216ea3
f9dcb7d9255a79b57e62038228a23346c2dc301b
refs/heads/master
1,669,221,575,893
1,594,669,800,000
1,594,669,800,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
644
lean
import data.real.basic open function /- # Chapter 6 : Functions ## Level 2 A classical result in composition of functions. -/ /- Lemma If $f : X \to Y$ and $g : Y \to Z$ are both surjective functions, then the function resulting from their composition is also surjective. -/ theorem both_surjective (X Y Z : set ...
20715993dd7d1fa26d89b1f69c685139071008f4
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/sorry.lean
893da3cb54d194934af4f9683d13a2a41c903771
[ "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
80
lean
import logic definition b : Prop := sorry theorem tst : true = false := sorry
a75b4fcaf3ed9a6d8cf161c7bb63511ecc935a4c
67dc347ff8e6eaa780fd69518f3e69b2fa5eef96
/src/smt2/builder.lean
4f87465eb52e075d0a5ec33c205098da54bb0c8c
[ "Apache-2.0" ]
permissive
Kha/smt2_interface
74589568b30d32a500fb3a9abb299a28f19d75e9
d92be33fbf4d56e3745e255ab423ba8da7d7695b
refs/heads/master
1,619,785,421,091
1,518,453,826,000
1,518,453,826,000
121,273,425
0
0
null
1,518,453,882,000
1,518,453,882,000
null
UTF-8
Lean
false
false
3,006
lean
import .syntax import .except import init.category.transformers @[reducible] def smt2.builder := except_t (state (list smt2.cmd)) string instance smt2.builder.monad : monad smt2.builder := by apply_instance meta def smt2.builder.to_format {α : Type} (build : smt2.builder α) : format := format.join $ list.intersperse...
5e3de23957a533ca94f39d6f10ef9fdfe70b8630
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/seq/seq.lean
e489ea22bfe8b728c9b17d4c92f139ecdd1ce720
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
28,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 -/ import data.list.basic import data.stream import data.lazy_list import data.seq.computation universes u v w /- coinductive seq (α : Type u) : Type u | nil : seq α |...
7da3536f3858d6c7f4e9fe06bb8a098d0bc1be1e
a623837965543f72645ad3de4797a693f5c64274
/test/rfl_lemma.lean
16b9dfbe1591cfee9f72e0661f841f640bb68a76
[]
no_license
khoek/lean-tidy
9e1c8ffebc6a3e4739128e6cf7b7e84cba3a0625
995fbf6efa56f6c01cdb3754fc4a84b648a6dd91
refs/heads/master
1,619,535,208,982
1,549,094,268,000
1,549,094,268,000
122,460,123
0
0
null
1,534,214,616,000
1,519,293,337,000
Lean
UTF-8
Lean
false
false
917
lean
import tidy.command.rfl_lemma structure metype (A B : Type) := (v : ℕ) structure a_dummy (C D : Type) := (map' : Π {X Y : Type}, (C → X → Y) → metype C D) def a_dummy.map {C D : Type} (F : a_dummy C D) {X Y : Type} (f : C → X → Y) : metype C D := F.map' f def lol (E F : Type) [has_lt ℕ] : a_dummy F E := { map'...
9fbe2c01abef197faa0bf6f1d106cfb976225d06
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/category/Mon/adjunctions.lean
d3e500532d24912c8971c7cb3520e86be4101c5f
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
2,385
lean
/- Copyright (c) 2021 Julian Kuelshammer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julian Kuelshammer -/ import algebra.category.Mon.basic import algebra.category.Semigroup.basic import algebra.group.with_one.basic import algebra.free_monoid.basic /-! # Adjuncti...
bd3f9f2c2ba5ae6fa83b3c63a6eb15f71cba0888
9dc8cecdf3c4634764a18254e94d43da07142918
/src/order/well_founded.lean
2ad3a0b402a0d3566cf4578cd19cebd6116289b3
[ "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
8,013
lean
/- Copyright (c) 2020 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Mario Carneiro -/ import tactic.by_contra import data.set.basic /-! # Well-founded relations A relation is well-founded if it can be used for induction: for each `x`, `...
7dd72c86db08384f1089b8d6b7768499a5671114
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/uniform_space/compact_convergence.lean
f10663527d9b2ee522126de01c29b7e14b3cfe50
[ "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
22,206
lean
/- Copyright (c) 2021 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import topology.compact_open import topology.uniform_space.uniform_convergence /-! # Compact convergence (uniform convergence on compact sets) > THIS FILE IS SYNCHRONIZED...
d421334faef14c3bea6cd97f4c5dc67dde550f3b
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/interactive/highlight.lean
93f0ec278df50aff95a48e8d5ba7032174852005
[ "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,111
lean
def foo1(bar : Nat) : Bool := true --^ textDocument/documentHighlight #eval foo1 2 #eval foo1 3 --^ textDocument/documentHighlight def foo2 : Nat := let bar := 2 bar + 3 --^ textDocument/documentHighlight structure Baz where bar : Nat bar' : Nat --^ textDocument/documentHighlight...
ee912bb5fa70d294e79be2e01e6dbc97c4d99841
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/order/symm_diff.lean
03b12b22de22a9344662ea6be15d1a84b822b4e6
[ "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
23,628
lean
/- Copyright (c) 2021 Bryan Gin-ge Chen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Topaz, Bryan Gin-ge Chen, Yaël Dillies -/ import order.boolean_algebra import logic.equiv.basic /-! # Symmetric difference and bi-implication > THIS FILE IS SYNCHRONIZED WIT...
03d7dd3cc7ed14f34442c52f91eee1146def6d22
9dc8cecdf3c4634764a18254e94d43da07142918
/src/ring_theory/etale.lean
a3f16ba25edf13795510deaff1c7e24bc78cd66c
[ "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
20,704
lean
/- Copyright (c) 2022 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import ring_theory.ideal.operations import ring_theory.nilpotent import ring_theory.tensor_product import linear_algebra.isomorphisms import ring_theory.ideal.cotangent /-...
84d24d08afc094af8497c4fabb7776bd99e47644
95a02f25ddbaf30f9e6fdb8043e6fd3c197ea01c
/src/proofmethod.lean
21f1842949a164cb02c1a0686736ae128a8ac817
[ "MIT" ]
permissive
praalhans/lean-abs
b23aad54878c06f5a495dfff63260b72d17e9b99
5d23eec7234c880f5ebc0d7b831caf55119edef8
refs/heads/master
1,587,416,771,564
1,575,885,115,000
1,575,885,115,000
169,097,861
0
0
null
null
null
null
UTF-8
Lean
false
false
643
lean
import semantics variables {α β : Type} [objects α β] /- A local history is obtained from a global history and an object identity: it consists of the outgoing calls, an method selections involving the object. -/ @[reducible] def event.is_local_to (α : Type) [objects α β] (x : β) : event α β → Prop | (event.call ...
cccb959df5d2294d5c821203f906208d4d403314
8ba901cf307a2677c194984e82644023b5d8f5d8
/mm0-lean/x86/determ.lean
63a4090a3677d13c08f01fa3cc114c58489ec2e2
[ "CC0-1.0" ]
permissive
julian-becker/mm0
af57d3043477e1f17bdedcb29d4099bb8a25f692
79e2755dec1e6ee238e23e3494e84f82b6c138ac
refs/heads/master
1,598,672,691,658
1,572,192,390,000
1,572,192,390,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
44,309
lean
import x86.x86 data.list.basic namespace bitvec @[class] def reify {n} (v : bitvec n) (l : out_param (list bool)) : Prop := from_bits_fill ff l = v theorem reify.mk {n} (v) {l} [h : @reify n v l] : from_bits_fill ff l = v := h theorem reify_eq {n v l l'} [@reify n v l] (h : l' = v.1) : l' = (@from_bits_fill ff...
2e30ecb918ca39929e60a24c4231755c847293a3
aa101d73b1a3173c7ec56de02b96baa8ca64c42e
/src/my_exercises/03_forall_or.lean
6d8026aed4d3126d5fc589745a66812c4d47dc24
[ "Apache-2.0" ]
permissive
gihanmarasingha/tutorials
b554d4d53866c493c4341dc13e914b01444e95a6
56617114ef0f9f7b808476faffd11e22e4380918
refs/heads/master
1,671,141,758,153
1,599,173,318,000
1,599,173,318,000
282,405,870
0
0
Apache-2.0
1,595,666,751,000
1,595,666,750,000
null
UTF-8
Lean
false
false
8,604
lean
import data.real.basic import algebra.pi_instances set_option pp.beta true /- In this file, we'll learn about the ∀ quantifier, and the disjunction operator ∨ (logical OR). Let P be a predicate on a type X. This means for every mathematical object x with type X, we get a mathematical statement P x. In Lean, P x ha...
4058f408aa14285f5887e2c042cb2cb384e9f419
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/algebra/pointwise.lean
938e7a977a41652bb62c3fc52e5c7bb15edb6f63
[ "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
34,758
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.basic import data.set.finite import group_theory.submonoid.basic /-! # Pointwise addition, multiplication, and scalar multipl...
00bce63d658fd29b1ad2dc3a0c839dbe989afdc2
9060db28f6353f040da7481ea5ebcdac426589ff
/fabstract/Bauer_A_InjBaireNat/fabstract.lean
6c2bfc5941535baf28d93301aa62babe5bd39c92
[]
no_license
picrin/formalabstracts
9ccd859fb34a9194fa5ded77ab1bc734ababe194
8ebd529598cfc8b6bd02530dd21b7bf3156de174
refs/heads/master
1,609,476,202,073
1,500,070,922,000
1,500,070,922,000
97,234,461
0
0
null
1,500,037,389,000
1,500,037,389,000
null
UTF-8
Lean
false
false
920
lean
import meta_data import folklore.categories import folklore.toposes import .realizability noncomputable theory namespace Bauer_A_InjBaireNat -- we construct a partial combinatory algebra based on -- infinite-time Turing machines constant IITM : PCA def T := RT IITM definition N := T.nno.nno_object definition Bair...
bfc8a2d5ac8879cea15247e00982ced34573a43d
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/src/Init/Lean/Parser.lean
908278de22736ad17cfc4f5a7472f60e38ce63ad
[ "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
406
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, Sebastian Ullrich -/ prelude import Init.Lean.Parser.Parser import Init.Lean.Parser.Level import Init.Lean.Parser.Term import Init.Lean.Parser.Tactic import I...
b273942e657af1a5d8047f4026c9e0c47a90c350
c777c32c8e484e195053731103c5e52af26a25d1
/src/analysis/special_functions/improper_integrals.lean
1d10e1374d9ea0fd84c077f432d053550cd03ac5
[ "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
5,133
lean
/- Copyright (c) 2023 David Loeffler. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: David Loeffler -/ import measure_theory.integral.integral_eq_improper import measure_theory.group.integration import measure_theory.integral.exp_decay import analysis.special_functions...
4662a4278bba2e2bfb87fd0a17d968987a6e7315
4950bf76e5ae40ba9f8491647d0b6f228ddce173
/src/tactic/localized.lean
8284d793c60a8d74c3a5e49b16c532bccdf14495
[ "Apache-2.0" ]
permissive
ntzwq/mathlib
ca50b21079b0a7c6781c34b62199a396dd00cee2
36eec1a98f22df82eaccd354a758ef8576af2a7f
refs/heads/master
1,675,193,391,478
1,607,822,996,000
1,607,822,996,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,531
lean
/- Copyright (c) 2019 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import tactic.core /-! # Localized notation This consists of two user-commands which allow you to declare notation and commands localized to a namespace. * Dec...
c57b045f8330d248e0297ae42636fbb6dd1d7b6c
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/analysis/special_functions/pow.lean
5b6eacd69bc387eeafc2f782e640db385e8ade0c
[ "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
85,321
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne, Sébastien Gouëzel, Rémy Degenne, David Loeffler -/ import analysis.special_functions.complex.log /-! # Power function on ...
6ece095ca1f8d1de10cc800cfb07c5ba3f966228
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/topology/algebra/uniform_ring.lean
e8cb323bdbade124bc0eb57f4bad1abbaf39a224
[ "Apache-2.0" ]
permissive
ChrisHughes24/mathlib
98322577c460bc6b1fe5c21f42ce33ad1c3e5558
a2a867e827c2a6702beb9efc2b9282bd801d5f9a
refs/heads/master
1,583,848,251,477
1,565,164,247,000
1,565,164,247,000
129,409,993
0
1
Apache-2.0
1,565,164,817,000
1,523,628,059,000
Lean
UTF-8
Lean
false
false
7,532
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Johannes Hölzl Theory of topological rings with uniform structure. -/ import topology.algebra.group_completion topology.algebra.ring open classical set lattice filte...
3166998fead9bcdb3fe866a867f7b30ba450137b
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/ho.lean
d8b6edb42af9b7fbe14e8a96defbfbe5dec4eb51
[ "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
187
lean
inductive star : Type | z : star | s : (nat → star) → star check @star.rec check @star.cases_on example (f : nat → star) : ¬ star.z = star.s f := assume H, star.no_confusion H
83026090286e164d2899b2ec46cc2f3097e63432
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/tests/lean/struct1.lean
762bbf7fe9dd678c167b84681044b9b7a45355c8
[ "Apache-2.0" ]
permissive
WojciechKarpiel/lean4
7f89706b8e3c1f942b83a2c91a3a00b05da0e65b
f6e1314fa08293dea66a329e05b6c196a0189163
refs/heads/master
1,686,633,402,214
1,625,821,189,000
1,625,821,258,000
384,640,886
0
0
Apache-2.0
1,625,903,617,000
1,625,903,026,000
null
UTF-8
Lean
false
false
992
lean
structure A (α : Type) := (x : α) structure B (α : Type) := (x : α) structure S : Nat := -- error expected Type (x : Nat) structure S extends Nat → Nat := -- error expected structure (x : Nat) structure S extends A Nat, A Bool := -- error field toA already declared (x : Nat) structure S extends A Nat, B Bool := ...
cae6bb4d10279068295a68ca6b3b56c0cd3d2e19
7cef822f3b952965621309e88eadf618da0c8ae9
/src/data/prod.lean
2cb13b1ee8852d17444c567a14bf4d7afc6762bf
[ "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
3,462
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 Extends theory on products -/ variables {α : Type*} {β : Type*} {γ : Type*} {δ : Type*} @[simp] theorem prod.forall {p : α × β → Prop} : (∀ x, p x) ↔ (∀ a b, p (a, b)...
719a94b5bfdfd276aa5d8cb7202e755dce457e6a
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/src/Lean/Meta/Tactic/Simp/Rewrite.lean
33774cc6f7e0175605bd224b6ecf2dd04e0bba08
[ "Apache-2.0" ]
permissive
WojciechKarpiel/lean4
7f89706b8e3c1f942b83a2c91a3a00b05da0e65b
f6e1314fa08293dea66a329e05b6c196a0189163
refs/heads/master
1,686,633,402,214
1,625,821,189,000
1,625,821,258,000
384,640,886
0
0
Apache-2.0
1,625,903,617,000
1,625,903,026,000
null
UTF-8
Lean
false
false
6,244
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.SynthInstance import Lean.Meta.Tactic.Simp.Types namespace Lean.Meta.Simp def synthesizeArgs (lemmaName : Name) (xs : Array Expr) (bis : ...
192ff72422a86dde2e3578f6c050311bc1684445
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/algebra/continuous_functions_auto.lean
a64e69c7b55c9100675c372016375a199fd244af
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
13,581
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Nicolò Cavalleri -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.algebra.module import Mathlib.topology.continuous_map import Mat...
a81beb168f2ef7a9a877c2623627bf6ef5d4faa9
41ebf3cb010344adfa84907b3304db00e02db0a6
/uexp/tactic_paper_supplemental_material/mk_dec_eq_instance/benchmark.lean
bf5e6979b2b361ae467f1895a766162419d0f263
[ "BSD-2-Clause" ]
permissive
ReinierKoops/Cosette
e061b2ba58b26f4eddf4cd052dcf7abd16dfe8fb
eb8dadd06ee05fe7b6b99de431dd7c4faef5cb29
refs/heads/master
1,686,483,953,198
1,624,293,498,000
1,624,293,498,000
378,997,885
0
0
BSD-2-Clause
1,624,293,485,000
1,624,293,484,000
null
UTF-8
Lean
false
false
521
lean
inductive vect (α : Type) : ℕ → Type | nil : vect 0 | cons : ∀ {n}, α → vect n → vect (n+1) instance dec_eq_vect {α n} [decidable_eq α] : decidable_eq (vect α n) := by tactic.mk_dec_eq_instance -- The runtime for the following definition will not show up when run with `--profile`, -- it is not shown if takes less tha...
cae36f7938797f20142f02c2e473338a8d269f2c
c777c32c8e484e195053731103c5e52af26a25d1
/src/number_theory/cyclotomic/gal.lean
e9df88c21c521dfae23fd85698383dfe6f361cd9
[ "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,252
lean
/- Copyright (c) 2022 Eric Rodriguez. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Rodriguez -/ import number_theory.cyclotomic.primitive_roots import field_theory.polynomial_galois_group /-! # Galois group of cyclotomic extensions In this file, we show the r...
4302861dc64e78ec7e72015191bf63d0e4d84f2b
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/dynamics/periodic_pts.lean
bebf8b7ba3ac2be5ee500ff583a4b29688fa3345
[ "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
23,362
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 algebra.hom.iterate import data.list.cycle import data.pnat.basic import data.nat.prime import dynamics.fixed_points.basic import group_theory.group_ac...
ef25e2c47a658380586a2c9d218af2af1400e471
a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7
/src/data/fintype/card.lean
5d43bf981ec356dac52eaaea485ff6554c0ea869
[ "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
15,338
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import data.fintype.basic import data.nat.choose import tactic.ring /-! Results about "big operations" over a `fintype`, and consequent results about cardinalities of...
fc2992bd18ce732d33e20c01ff4c6389843319e6
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/order/omega_complete_partial_order.lean
4a89312150f14d81ee001d436b213e97e0aaebce
[ "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
27,197
lean
/- Copyright (c) 2020 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import data.pfun import order.preorder_hom import tactic.wlog import tactic.monotonicity /-! # Omega Complete Partial Orders An omega-complete partial order is a partial ...
35ed5a246737687f3fac201728cf85d8f9d7480f
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/pnat/prime.lean
834aaa1ce29e6b591087f787a208a0e8365a3f45
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
7,472
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Neil Strickland -/ import data.nat.prime import data.pnat.basic /-! # Primality and GCD on pnat This file extends the theory of `ℕ+` with `gcd`, `lcm` and `pri...
80b0d84a1b4de5d945cc588b9356cf1212994e94
29cc89d6158dd3b90acbdbcab4d2c7eb9a7dbf0f
/12_lecture.lean
c475fd64e1852bc2ea97281690ee8f5d32ba6ba5
[]
no_license
KjellZijlemaker/Logical_Verification_VU
ced0ba95316a30e3c94ba8eebd58ea004fa6f53b
4578b93bf1615466996157bb333c84122b201d99
refs/heads/master
1,585,966,086,108
1,549,187,704,000
1,549,187,704,000
155,690,284
0
0
null
null
null
null
UTF-8
Lean
false
false
5,063
lean
/- Lecture 1.2: Basics — Proofs -/ /- Computation -/ -- β-reduction (reduce λ-abstraction + application) example {α β : Type} (f : α → β) (a : α) : (λx, f x) a = f a := by refl -- δ-reduction (unfold definition) section def f (n : ℕ) : ℕ := n + n example (m : ℕ) : f m = m + m := by refl end -- ι-reduction (pro...
60ea8c9c14e48c70321b822bc292d4c7330e4091
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/data/nat/enat.lean
b3376e0371a6ab45ca7ee4f6ec9c4d3028eb2078
[ "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
20,064
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.pfun import tactic.norm_num import data.equiv.mul_add /-! # Natural numbers with infinity The natural numbers and an extra `top` element `⊤`. ## Main defin...
212a45e5313abd4801749285d0c2f26d6549105b
3c9dc4ea6cc92e02634ef557110bde9eae393338
/stage0/src/Lean/Elab/Declaration.lean
40465032ea86b9aee19bf13f926b4d42fe08fa8f
[ "Apache-2.0" ]
permissive
shingtaklam1324/lean4
3d7efe0c8743a4e33d3c6f4adbe1300df2e71492
351285a2e8ad0cef37af05851cfabf31edfb5970
refs/heads/master
1,676,827,679,740
1,610,462,623,000
1,610,552,340,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,711
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.Util.CollectLevelParams import Lean.Elab.DeclUtil import Lean.Elab.DefView import Lean.Elab.Inductive import Lean.Elab.Struct...
9274d3bda716315db8640df961cf4754cd192950
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/library/standard/logic/axioms/prop_decidable.lean
b840ba04cf7318d12d4bb436388acf9a77464655
[ "Apache-2.0" ]
permissive
codyroux/lean
7f8dff750722c5382bdd0a9a9275dc4bb2c58dd3
0cca265db19f7296531e339192e9b9bae4a31f8b
refs/heads/master
1,610,909,964,159
1,407,084,399,000
1,416,857,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,031
lean
---------------------------------------------------------------------------------------------------- -- Copyright (c) 2014 Microsoft Corporation. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Author: Leonardo de Moura -----------------------------------------------------...
0111c40043cd89955cfe82c3b810df6f34d40d2a
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/bench/rbmap.lean
e914dbce7d7ab8536244db3381e2cf70bb8b0bfb
[ "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,902
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Data.Option.Basic import Init.Data.List.BasicAux import Init.Data.String import Init.System.IO universe u v w w' inductive color | Red...
103fb75ec5cf977247a27e04f630dbafd3301a10
957a80ea22c5abb4f4670b250d55534d9db99108
/library/init/data/nat/div.lean
fa8678d5be0234f64b45dcfb273c7ac45fc50944
[ "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,168
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.wf init.data.nat.basic namespace nat private def div_rec_lemma {x y : nat} : 0 < y ∧ y ≤ x → x - y < x := λ h, and.rec (λ ypos ylex, su...
ec7ef340448b05c001e481114d0e1b32a4ecf1c2
94e33a31faa76775069b071adea97e86e218a8ee
/src/field_theory/subfield.lean
4bf247583770761cc06e5ccd62263db40331c7c2
[ "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
26,761
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import algebra.algebra.basic /-! # Subfields Let `K` be a field. This file defines the "bundled" subfield type `subfield K`, a type whose terms correspond to subfields o...
752141082ee57051b708fed203332ab551f02c9f
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/06_Inductive_Types.org.52.lean
6d56fdde2b80309392fd15ac5f0c7db7dbfdd69b
[]
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
201
lean
/- page 95 -/ import standard open nat check @nat.no_confusion -- Π {P : Type} {v1 v2 : ℕ}, v1 = v2 → nat.no_confusion_type P v1 v2 check nat.no_confusion_type -- Type → ℕ → ℕ → Type
9a3618ab10c99d52b970cffb27ebf85c034c1d41
82e44445c70db0f03e30d7be725775f122d72f3e
/src/data/finset/basic.lean
35af57e749c7db350b87644732795e73fd48ffa3
[ "Apache-2.0" ]
permissive
stjordanis/mathlib
51e286d19140e3788ef2c470bc7b953e4991f0c9
2568d41bca08f5d6bf39d915434c8447e21f42ee
refs/heads/master
1,631,748,053,501
1,627,938,886,000
1,627,938,886,000
228,728,358
0
0
Apache-2.0
1,576,630,588,000
1,576,630,587,000
null
UTF-8
Lean
false
false
125,472
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, Minchao Wu, Mario Carneiro -/ import data.multiset.finset_ops import tactic.apply import tactic.monotonicity import tactic.nth_rewrite /-! # F...
6bf0f2ff658e9f870f075b93302d01b2a3692632
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/combinatorics/set_family/intersecting.lean
b143e00a342b0a8352f4ea674225a75817a28335
[ "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,730
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 data.fintype.card import order.upper_lower.basic /-! # Intersecting families > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corr...
56a6371ff9ef3df1681c0b35ed0903cd9b1142c7
618003631150032a5676f229d13a079ac875ff77
/src/ring_theory/unique_factorization_domain.lean
400b4f73dacee4f5eb00e9037390d8e8ae529e54
[ "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
19,714
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 Theory of unique factorization domains. @TODO: setup the complete lattice structure on `factor_set`. -/ import algebra.gcd_domain variables {α : Type*...