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
485fef08deb82d5130c23e8673472279480c7ac1
6fca17f8d5025f89be1b2d9d15c9e0c4b4900cbf
/src/game/world8/level10.lean
6108d04fe6abb265b0cc7d4e6a6f654aec15d864
[ "Apache-2.0" ]
permissive
arolihas/natural_number_game
4f0c93feefec93b8824b2b96adff8b702b8b43ce
8e4f7b4b42888a3b77429f90cce16292bd288138
refs/heads/master
1,621,872,426,808
1,586,270,467,000
1,586,270,467,000
253,648,466
0
0
null
1,586,219,694,000
1,586,219,694,000
null
UTF-8
Lean
false
false
1,879
lean
import game.world8.level9 -- hide namespace mynat -- hide /- # Advanced Addition World ## Level 10: `add_left_eq_zero` ## Important: the definition of `≠` In Lean, `a ≠ b` is *defined to mean* `(a = b) → false`. This means that if you see `a ≠ b` you can *literally treat it as saying* `(a = b) → false`. Computer s...
b552b6a883eec4d2947aa45397276a9c5371fbaa
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/test/continuity.lean
ab6e8fd858c08494cf66dd9ffde728eff7bc7f3b
[ "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
1,826
lean
import topology.tactic import topology.algebra.monoid import topology.instances.real import analysis.special_functions.trigonometric example {X Y : Type*} [topological_space X] [topological_space Y] (f₁ f₂ : X → Y) (hf₁ : continuous f₁) (hf₂ : continuous f₂) (g : Y → ℝ) (hg : continuous g) : continuous (λ x, (max ...
b537c68bcec7b86a60c12f51cc7ef63b8c742ce2
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/order/pilex.lean
5c55edfe00a1f4594d8ee3a9a651e00534482c6a
[ "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
4,050
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 algebra.order_functions tactic.tauto algebra.pi_instances variables {ι : Type*} {β : ι → Type*} (r : ι → ι → Prop) (s : Π {i}, β i → β i → Prop) def pi.lex (x...
9f41e8d97c1e32e93df7084de92284ff82e11ba2
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/lie/basic_auto.lean
8d80f6d728dc84c21e68427e4e1cd6857314286f
[]
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
116,058
lean
/- Copyright (c) 2019 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.bracket import Mathlib.algebra.algebra.basic import Mathlib.linear_algebra.bilinear_form imp...
419ddf1f24ed0bb1df0c459708ad03a255e1c50e
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/order/filter/filter_product.lean
08963ecea223c987749e410adddf43f6218fd052
[ "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
22,854
lean
/- Copyright (c) 2019 Abhimanyu Pallavi Sudhir. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Abhimanyu Pallavi Sudhir "Filterproducts" (ultraproducts on general filters), ultraproducts. -/ import order.filter.basic import algebra.pi_instances universes u v variable...
cd7e9095aa0a83f90cd75a87c3784c9c87a7fe7e
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/tactic/norm_fin.lean
287ec82dbd425a4fde7faa7cbe3776b3e5f781e4
[ "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
25,252
lean
/- Copyright (c) 2021 Yakov Pechersky All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yakov Pechersky, Mario Carneiro -/ import tactic.norm_num /-! # `norm_fin` This file defines functions for dealing with `fin n` numbers as expressions. ## Main definitions * `tact...
f44ea00265a8c758d478b92e7346119475d79ce9
54deab7025df5d2df4573383df7e1e5497b7a2c2
/data/nat/basic.lean
bead24fdaad044a6fbb1e16e138647d25fe88ece
[ "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
2,169
lean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Leonardo de Moura, Jeremy Avigad, Mario Carneiro Basic operations on the natural numbers. -/ import logic.basic universe u namespace nat protected theorem eq_mu...
4bd6e37997d3df429835067f4aeb3541ec47eb3a
4727251e0cd73359b15b664c3170e5d754078599
/src/measure_theory/function/strongly_measurable_lp.lean
571c39a8569c09659af5ad8c46b0fb78aec94a35
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
2,701
lean
/- Copyright (c) 2022 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne -/ import measure_theory.function.simple_func_dense_lp import measure_theory.function.strongly_measurable /-! # Finitely strongly measurable functions in `Lp` Functions i...
9fec60733a75c462e31f7abc8a35816d277454a3
750acab0c635b67751bcfec43c5411aa3941c441
/qlambda.lean
dfad233aeb3ff27f4d2fa0b85892ba67ba00f5b3
[]
no_license
nthomas103/lean_work
912f8e662cdd73ba97f5d3655ddb8a5d2cd204c9
7e9785cae2b60a77b41922fd5d5b159a1fae415c
refs/heads/master
1,586,739,169,355
1,455,759,226,000
1,455,759,226,000
50,978,095
0
0
null
null
null
null
UTF-8
Lean
false
false
4,149
lean
/- Copyright (c) 2015 Nathaniel Thomas. All rights reserved. Author: Nathaniel Thomas Formalization of "Quantum Lambda Calculus" paper by Selinger and Valiron. -/ import data.nat data.examples.vector algebra.group_bigops data.fin data.list open fin nat list variables (unitary_group : Type) inductive vid := | Id : na...
e6fe170fdf4d0f76a0fa82fd91d04fbb6fbe7a39
f48f9146c4bc67fe129f288ed39bc735df1bf709
/src/js/backend.lean
1e0e60b8b6da06e862e0397a324f340710cb30e5
[]
no_license
jroesch/lean.js
28c01c79032f1cb0d9983cb97cdcd26cdacd30c8
117b415274da32cced98ee8278e06b310fb45ba0
refs/heads/master
1,611,062,506,493
1,487,497,615,000
1,487,497,615,000
82,379,692
2
0
null
null
null
null
UTF-8
Lean
false
false
357
lean
import tools.native import tools.native.ir import system.io import .format import tools.debugger set_option debugger true set_option debugger.autorun true meta def js_compiler : native.ir.context → io unit := fun ctxt, write_file "out.js" (format_js.program (ctxt^.to_items)) @[backend] meta def js_backend : ir....
c4dc52428b463cd1bbdefcd9e452a37587c377c7
3618c6e11aa822fd542440674dfb9a7b9921dba0
/scratch/for_mathlib/coprod/subgroup.lean
feb6c47d55ff8d681e8caeae32f0f39201b2f591
[]
no_license
ChrisHughes24/single_relation
99ceedcc02d236ce46d6c65d72caa669857533c5
057e157a59de6d0e43b50fcb537d66792ec20450
refs/heads/master
1,683,652,062,698
1,683,360,089,000
1,683,360,089,000
279,346,432
0
0
null
null
null
null
UTF-8
Lean
false
false
3,975
lean
import .basic group_theory.subgroup variables {ι : Type*} {G : ι → Type*} variables [decidable_eq ι] [Π i, decidable_eq (G i)] variables [Π i, group (G i)] open coprod subgroup function lemma mul_aux_mem (S : Π i, subgroup (G i)) : ∀ (l₁ l₂ : list (Σ i, G i)) (h₁ : ∀ a : Σ i, G i, a ∈ l₁ → a.2 ∈ S a.1) (h₂ : ∀ ...
313969d72a75f9c134c86ac45b8fa0422b2c5480
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/sizeof.lean
ac30de9c068898eec0599b544c4d41dd67e2a4ba
[ "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
465
lean
-- Recall that we do not generate code for `sizeOf` instances since they are only used for proving termination #reduce sizeOf 10 #reduce sizeOf [1, 2] #reduce sizeOf #[1, 2] #reduce sizeOf (10 : UInt8) #reduce sizeOf 'a' #reduce sizeOf ['h', 'e', 'l', 'l', 'o'] #reduce sizeOf "abc" #reduce sizeOf `abc inductive InfTr...
c07dd9550d492ba47943b93a1de4bd31e31fc33b
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/data/bool.lean
37496b500c08507a6ff39906b9e81f3a68e87f98
[ "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
4,500
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 -/ import logic.eq namespace bool local attribute bor [reducible] local attribute band [reducible] theorem dichotomy (b : bool) : b = ff ∨ b = tt := s...
c852ee6bbcee5ba64944217c7e59955235858724
6b66bef80b7e8adaed86c183cf24aa8f92f20803
/LeanTools/FindBug.lean
86ce6e19bd043d7545ff620a83009135956fc2e1
[ "MIT" ]
permissive
JasonGross/lean-tools
f5495e6a24061a2f268fd0871c88cb4ece8d3355
110f63934b9d8c9088b0a944a38ed975b740a507
refs/heads/main
1,679,568,529,028
1,616,441,204,000
1,616,441,204,000
349,493,484
1
0
null
null
null
null
UTF-8
Lean
false
false
4,599
lean
import Lean.Elab.Import import Lean.Elab.Command import Lean.Util.Profile import Lean.Elab.Frontend import Lean.Server.Snapshots import Init.System.IO -- import Cli def List.takeOpt : Option Nat → List α → List α | Option.none, ls => ls | Option.some n, ls => ls.take n namespace Lean.MessageSeverity deriving inst...
1b15832b3d92dccd964294f44ad9a09d5233f460
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/essentially_small.lean
5e27faf4b0f63319f0517c932e3e9dfad1c1b59c
[ "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
7,161
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import logic.small import category_theory.skeletal /-! # Essentially small categories. A category given by `(C : Type u) [category.{v} C]` is `w`-essentially small ...
41daa2450087dce35be25021d9a8d80b191983aa
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/data/set/finite.lean
f3fa9e55742ced979058ab93ece341f2c72dbf33
[ "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
29,091
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 data.fintype.basic /-! # Finite sets This file defines predicates `finite : set α → Prop` and `infinite : set α → Prop` and proves some basic...
b1b25f32586b2f08208df6660318484603377944
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/trace_tst.lean
ac604522d1455bedb3b6142e3fcdc8405a9c5be3
[ "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
55
lean
open nat #eval trace "step1" (trace "hello" (succ 3))
f511e30455e73ab0188583a5ea2fa73f633e1b29
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/topology/metric_space/gluing.lean
a44560077951615f23e72288ad8796e6f42d7851
[ "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
23,747
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import topology.metric_space.isometry /-! # Metric space gluing Gluing two metric spaces along a common subset. Formally, we are given ``` Φ Z ---> X ...
7cafe067dacd5251d7bb24e15dff8c8dcc71a4b9
572fb32b6f5b7c2bf26921ffa2abea054cce881a
/src/week_3/Part_A_limits.lean
91cc67b71072f622c1ef640fc170cd90632fd5b7
[ "Apache-2.0" ]
permissive
kgeorgiy/lean-formalising-mathematics
2deb30756d5a54bee1cfa64873e86f641c59c7dc
73429a8ded68f641c896b6ba9342450d4d3ae50f
refs/heads/master
1,683,029,640,682
1,621,403,041,000
1,621,403,041,000
367,790,347
0
0
null
null
null
null
UTF-8
Lean
false
false
28,043
lean
-- need the real numbers import data.real.basic -- need the tactics import tactic /- # Limits We develop a theory of limits of sequences a₀, a₁, a₂, … of reals, following the way is it traditionally done in a first year undergraduate mathematics course. ## Overview of the file This file contains the basic definiti...
3e1225a2e99da2c0d2e748c9dd8d9b136961ecf4
7cef822f3b952965621309e88eadf618da0c8ae9
/src/set_theory/zfc.lean
1e3e1011f614a0005f8bc5f2d3d39d9660f6e040
[ "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
30,018
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro A model of ZFC in Lean. -/ import data.set.basic universes u v /-- The type of `n`-ary functions `α → α → ... → α`. -/ def arity (α : Type u) : nat → Type u | 0 :=...
2fcffb2e20ae75c89e075ae542fae6e3802c2b35
097294e9b80f0d9893ac160b9c7219aa135b51b9
/instructor/propositional_logic/propositional_with_vars_1.lean
2304c4084d3394875d6549e360913aec901ab5c8
[]
no_license
AbigailCastro17/CS2102-Discrete-Math
cf296251be9418ce90206f5e66bde9163e21abf9
d741e4d2d6a9b2e0c8380e51706218b8f608cee4
refs/heads/main
1,682,891,087,358
1,621,401,341,000
1,621,401,341,000
368,749,959
0
0
null
null
null
null
UTF-8
Lean
false
false
3,241
lean
/- Propositional logic. -/ /- Propositions. P: Kevin Is at Home. Q: It's warm outside. If P and Q are propositions, then so are - not P - P and Q - P or Q - P implies Q -/ /- Syntax -- defines set of well formed expressions. We formalize syntax as an inductive data type. Expressions are then just values of this...
d1ad1657f8f52bcbf9e704f611bfaa948be85ff3
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/measure_theory/simple_func_dense_auto.lean
a47d3dd85daaec367c7ecddfabb0c899073d53de
[]
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
10,124
lean
/- Copyright (c) 2019 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou, Yury Kudryashov -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.measure_theory.l1_space import Mathlib.PostPort universes u_1 u_2 u_3 u_4 ...
1d66c3b9841c5c6b93c53593a5f3f5e66a16e8d1
491068d2ad28831e7dade8d6dff871c3e49d9431
/library/algebra/ordered_field.lean
c92d76ac58a0f1f38551e23897b96d669092e6cd
[ "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
20,110
lean
/- Copyright (c) 2014 Robert Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Lewis -/ import algebra.ordered_ring algebra.field open eq eq.ops namespace algebra structure linear_ordered_field [class] (A : Type) extends linear_ordered_ring A, field A sec...
b13ed84d97551fe8ff4a99e41eaf821c0b78eeee
d6124c8dbe5661dcc5b8c9da0a56fbf1f0480ad6
/Papyrus/IR/GlobalModifiers.lean
084d348f4471a75ba360e66e4e429ca28a50b155
[ "Apache-2.0" ]
permissive
xubaiw/lean4-papyrus
c3fbbf8ba162eb5f210155ae4e20feb2d32c8182
02e82973a5badda26fc0f9fd15b3d37e2eb309e0
refs/heads/master
1,691,425,756,824
1,632,122,825,000
1,632,123,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,269
lean
namespace Papyrus -------------------------------------------------------------------------------- -- # Linkage -------------------------------------------------------------------------------- /-- The linkage kind of a global. It is illegal for a global variable or function *declaration* to have any linkage t...
03a1dbade110914ab8b86b0e1c4953f2db5db547
82e44445c70db0f03e30d7be725775f122d72f3e
/src/testing/slim_check/sampleable.lean
37820c1ee84a89fc2f2c758d2cd214bda1ef99e8
[ "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
31,382
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.lazy_list.basic import data.tree import data.int.basic import control.bifunctor import tactic.linarith import testing.slim_check.gen /-! # `sampleable` Class ...
14ba1f607fb6b58dbbdacd34e36ef3fe8aa14c66
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/stage0/src/Init/Lean/Compiler/IR/Format.lean
9fe9a5ea0ebbae708a077beeada5b5eec538c465
[ "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
7,078
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.Data.Format import Init.Lean.Compiler.IR.Basic namespace Lean namespace IR private def formatArg : Arg → Format | Arg.var id ...
b1375186f1f2556d9d0c7a110a2d7bec58589188
94e33a31faa76775069b071adea97e86e218a8ee
/src/probability/strong_law.lean
441688403a213074f97ebf4d69a56c4e92d55f97
[ "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
35,218
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 probability.ident_distrib import measure_theory.function.l2_space import measure_theory.integral.interval_integral import analysis.specific_limits.floor...
3e29ad1c9037490161e447d4675de76c53201b53
4727251e0cd73359b15b664c3170e5d754078599
/src/number_theory/primorial.lean
2c4354995fe5235c86317e4bcc9c9c2391cd9a59
[ "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
5,840
lean
/- Copyright (c) 2020 Patrick Stevens. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Stevens -/ import algebra.big_operators.associated import data.nat.choose.sum import data.nat.parity import tactic.ring_exp /-! # Primorial This file defines the primorial f...
5287124e60a207b1bb9ac8bbc533cb5637010567
3446e92e64a5de7ed1f2109cfb024f83cd904c34
/src/game/world2/level11.lean
71a99d94f91020e10e9b20291d41fa152591b562
[]
no_license
kckennylau/natural_number_game
019f4a5f419c9681e65234ecd124c564f9a0a246
ad8c0adaa725975be8a9f978c8494a39311029be
refs/heads/master
1,598,784,137,722
1,571,905,156,000
1,571,905,156,000
218,354,686
0
0
null
1,572,373,319,000
1,572,373,318,000
null
UTF-8
Lean
false
false
1,330
lean
import mynat.definition -- hide import mynat.add -- hide import game.world2.level10 -- hide namespace mynat -- hide /- # World 2 -- Addition World ## Level 11 -- `add_right_cancel_iff` You have (amongst other things) these: * `zero_ne_succ : ∀ (a : mynat), zero ≠ succ(a)` * `succ_inj : ∀ a b : mynat, succ(a) =...
6037c426bcbb9b2ee484f2e552fdf7e26cc40db2
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/order/conditionally_complete_lattice.lean
0f4a9dba53242daea0bf67cf96df0c4407ec22a0
[ "Apache-2.0" ]
permissive
agjftucker/mathlib
d634cd0d5256b6325e3c55bb7fb2403548371707
87fe50de17b00af533f72a102d0adefe4a2285e8
refs/heads/master
1,625,378,131,941
1,599,166,526,000
1,599,166,526,000
160,748,509
0
0
Apache-2.0
1,544,141,789,000
1,544,141,789,000
null
UTF-8
Lean
false
false
28,883
lean
/- Copyright (c) 2018 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import data.nat.enat /-! # Theory of conditionally complete lattices. A conditionally complete lattice is a lattice in which every non-empty bounded subset s ...
82cb9d0c34ec97b6390ce67b1f489c9c5496d33f
4727251e0cd73359b15b664c3170e5d754078599
/src/topology/continuous_function/locally_constant.lean
6c77ca5939f662685458d8a7ded569e99bff96e5
[ "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
1,851
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.locally_constant.algebra import topology.continuous_function.basic import topology.continuous_function.algebra /-! # The algebra morphism from locally cons...
8b13c0010a94f9163584e6734626a54015fdf6dd
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/number_theory/liouville/liouville_number.lean
5af7ad7379eaef13f1ab257b0f3fc6dc6fc3f56d
[ "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
8,260
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 IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a correspond...
7f97b5fcd3844908e1ea5d80222f0cdf540967ee
26ac254ecb57ffcb886ff709cf018390161a9225
/src/order/filter/lift.lean
ebe8c332e90269d946e640761a539cfb55dc1f48
[ "Apache-2.0" ]
permissive
eric-wieser/mathlib
42842584f584359bbe1fc8b88b3ff937c8acd72d
d0df6b81cd0920ad569158c06a3fd5abb9e63301
refs/heads/master
1,669,546,404,255
1,595,254,668,000
1,595,254,668,000
281,173,504
0
0
Apache-2.0
1,595,263,582,000
1,595,263,581,000
null
UTF-8
Lean
false
false
16,421
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl Lift filters along filter and set functions. -/ import order.filter.basic open set open_locale classical filter namespace filter variables {α : Type*} {β : Type*} {γ...
7e75bfcbd33859b969c46e7f3c57f333501e75d7
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/set_theory/game/domineering.lean
681ca2dc1d1b7eac584b9f2be155a2d0c9549ffe
[]
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,200
lean
/- Copyright (c) 2019 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.set_theory.game.state import Mathlib.PostPort namespace Mathlib /-! # Domineering as a co...
12f28bc635ce507ccb72ab1cbf13a51d4a7ee854
7cef822f3b952965621309e88eadf618da0c8ae9
/src/data/list/defs.lean
9a6bb92a9e351e6466fc305856eb86913aa68796
[ "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
20,081
lean
/- Copyright (c) 2014 Parikshit Khanna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Mario Carneiro Extra definitions on lists. -/ import data.option.defs logic.basic tactic.cache namespace list ...
87cd61a6f5a300ef92e3ad019d04dd361e1e81b7
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/algebraic_geometry/AffineScheme.lean
86f196c957aad952d4e25ac1cabe67fa7ec0d426
[ "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
32,500
lean
/- Copyright (c) 2022 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import algebraic_geometry.Gamma_Spec_adjunction import algebraic_geometry.open_immersion import category_theory.limits.opposites import ring_theory.localization.inv_submono...
cdc435339ae3fba4a4d3b9f03847685672f04a4b
e39f04f6ff425fe3b3f5e26a8998b817d1dba80f
/order/filter.lean
463c5dab3f6de650e52d64d24743305779d43083
[ "Apache-2.0" ]
permissive
kristychoi/mathlib
c504b5e8f84e272ea1d8966693c42de7523bf0ec
257fd84fe98927ff4a5ffe044f68c4e9d235cc75
refs/heads/master
1,586,520,722,896
1,544,030,145,000
1,544,031,933,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
93,971
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 Theory of filters on sets. -/ import order.galois_connection order.zorn import data.set.finite data.list import category.applicative open lattice set universes u v w x...
352c23a7c93404812b7cb1592aff32d3d69b81c7
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/string_imp2.lean
80dff0c48d3646d2687c13153995f75448d45e92
[ "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
2,191
lean
def f (s : String) : String := s ++ " " ++ s def g (s : String) : String := s.push ' ' ++ s.push '-' def h (s : String) : String := let it₁ := s.mkIterator; let it₂ := it₁.next; it₁.remainingToString ++ "-" ++ it₂.remainingToString #eval "hello" ++ "hello" #eval f "hello" #eval (f "αβ").length #eval "hello".toList #...
1028774bb2af69a36b753bf9a07a1f8555e62787
618003631150032a5676f229d13a079ac875ff77
/src/analysis/normed_space/banach.lean
205af68af9188def6c10ce8e419d2a1d76d900c6
[ "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
11,993
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import topology.metric_space.baire import analysis.normed_space.operator_norm /-! # Banach open mapping theorem This file contains the Banach open mapping the...
e411790f509b2692fda96e9acf65c87fa81f9950
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/data/nat/gcd.lean
a827dad5fa91c9e2f5b4f87f1b580af1357e1021
[ "Apache-2.0" ]
permissive
hjvromen/lewis
40b035973df7c77ebf927afab7878c76d05ff758
105b675f73630f028ad5d890897a51b3c1146fb0
refs/heads/master
1,677,944,636,343
1,676,555,301,000
1,676,555,301,000
327,553,599
0
0
null
null
null
null
UTF-8
Lean
false
false
16,324
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 -/ import data.nat.basic /-! # Definitions and properties of `gcd`, `lcm`, and `coprime` -/ namespace nat /-! ### `gcd` -/ theorem gcd_dvd (m n : ℕ...
872a1a499de0c68152d00bd2f793c082d530e2c1
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/topology/metric_space/baire.lean
9380f2521e601468de526a7e66bc40138343acf8
[ "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
15,236
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel Baire theorem: in a complete metric space, a countable intersection of dense open subsets is dense. The good concept underlying the theorem is that of a Gδ set, ...
6c5c0d1690a20c447dbee9793b75ecb372354b0b
4b846d8dabdc64e7ea03552bad8f7fa74763fc67
/tests/lean/run/meta_level1.lean
9f3e5fa00146866a6f93def4adfdecb415563c71
[ "Apache-2.0" ]
permissive
pacchiano/lean
9324b33f3ac3b5c5647285160f9f6ea8d0d767dc
fdadada3a970377a6df8afcd629a6f2eab6e84e8
refs/heads/master
1,611,357,380,399
1,489,870,101,000
1,489,870,101,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
949
lean
import system.io open io #eval do pp (level.max (level.succ level.zero) (level.param `foo)), put_str "\n" #eval level.normalize (level.succ (level.max (level.max level.zero (level.succ level.zero)) (level.param `l₁))) #eval level.imax (level.mvar `m) (level.of_nat 10) #eval if level.zero = level.zero then "eq" else ...
e8a2489d75aec0aadabf210ef61e39dfdaab8b8a
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/discrRefinement2.lean
56ee80495d88facdd6c8e79892c27cc6b7d531d0
[ "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
975
lean
infix:50 " ≅ " => HEq theorem ex1 {α : Sort u} {a b : α} (h : a ≅ b) : a = b := match h with | HEq.refl _ => rfl theorem ex2 {α : Sort u2} {a : α} {motive : {β : Sort u2} → β → Sort u1} (m : motive a) {β : Sort u2} {b : β} (h : a ≅ b) : motive b := match h, m with | HEq.refl _, m => m theorem ex3 {α : Sort u...
50be96c961f8a2b12718d216ead14df84ff9d171
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/polynomial/monic.lean
86e959970fdc9604b73ff6a1f42c7635beaa950a
[ "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
17,947
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...
f16f722b34f574cce6b0bad12f40e46e318ecab2
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/bench/liasolver.lean
1bce91cd567e150389afae708a7e8b5cb829d0dc
[ "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
13,875
lean
/- Linear Diophantine equation solver Author: Marc Huisinga -/ import Std.Data.HashMap open Std namespace Int def roundedDiv (a b : Int) : Int := Id.run <| do let mut div := a / b let sgn := if a ≥ 0 ∧ b ≥ 0 ∨ a < 0 ∧ b < 0 then 1 else -1 let rest := (a % b).natAbs if 2*rest ≥ b.n...
e9d9de9719ef0de48ce9d4ddc09eb45ffabda7ee
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/library/data/real/basic.lean
4acabb989e7efd2e0267a95ca7ff05a4866f764b
[ "Apache-2.0" ]
permissive
YHVHvx/lean
732bf0fb7a298cd7fe0f15d82f8e248c11db49e9
038369533e0136dd395dc252084d3c1853accbf2
refs/heads/master
1,610,701,080,210
1,449,128,595,000
1,449,128,595,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
42,810
lean
/- Copyright (c) 2015 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Robert Y. Lewis The real numbers, constructed as equivalence classes of Cauchy sequences of rationals. This construction follows Bishop and Bridges (1985). The construction of the rea...
efeb4bc0fbad77e59f00b7e1306b3208e92092e1
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/analysis/complex/exponential.lean
555d7380d6a0a3de20b1aa63b144d0813299f176
[ "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
60,392
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 -/ import topology.instances.complex tactic.linarith data.complex.exponential group_theory.quotient_group topology.metr...
9b2b867bbd5316995583adaa3c3415474fe9fe8b
5883d9218e6f144e20eee6ca1dab8529fa1a97c0
/src/data/fresh.lean
94842c60b004b5022abe127e5a88259bc1036d9a
[]
no_license
spl/alpha-conversion-is-easy
0d035bc570e52a6345d4890e4d0c9e3f9b8126c1
ed937fe85d8495daffd9412a5524c77b9fcda094
refs/heads/master
1,607,649,280,020
1,517,380,240,000
1,517,380,240,000
52,174,747
4
0
null
1,456,052,226,000
1,456,001,163,000
Lean
UTF-8
Lean
false
false
661
lean
/- This file defines the `has_fresh` class. -/ universes u v -- A type class of operations that give a fresh element, an element that is -- not a member of the given finite set. -- -- The class is dependent on the element type, because that type can determine -- how the fresh element is found. class has_fresh (A : ...
af79e5f89b5903075ce50f5940d07ffa32237a25
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/order/complete_boolean_algebra.lean
4a4a28c91615c317dea92514ffd28b0d8b8ec105
[ "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
6,393
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 order.complete_lattice /-! # Completely distributive lattices and Boolean algebras In this file there are definitions and an API for completely distributive ...
fa8ffdb45b3de48aabc1e18fd58a22d042e13d22
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/data/list/basic.lean
0de3446dd026a95178dc5074a3079832cdfe6683
[ "Apache-2.0" ]
permissive
JLimperg/aesop3
306cc6570c556568897ed2e508c8869667252e8a
a4a116f650cc7403428e72bd2e2c4cda300fe03f
refs/heads/master
1,682,884,916,368
1,620,320,033,000
1,620,320,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
196,566
lean
/- Copyright (c) 2014 Parikshit Khanna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Mario Carneiro -/ import algebra.order_functions import control.monad.basic import data.nat.choose.basic import ...
b5f9691e6c82135dd55b8587d55014224391b184
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/run/341.lean
531f212bf334d7581ccf32157f05b91f7cc4ffeb
[ "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,841
lean
section variable (G : Type 1) (T : Type 1) (Tm : Type 1) (EG : G → G → Type) (ET : T → T → Type) (ETm : Tm → Tm → Type) (getCtx : T → G) (getTy : Tm → T) inductive CtxSyntaxLayer where | emp : CtxSyntaxLayer | snoc : (Γ : G) → (t : T) → EG Γ (getCtx t) → CtxSyntaxLayer end section va...
4678ecc6fee1bb73336662581cbe5ec26faeb9e0
bb31430994044506fa42fd667e2d556327e18dfe
/src/linear_algebra/affine_space/affine_equiv.lean
72b42e85a3e299fed0501d1e0a7322944b5e7dfd
[ "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
18,568
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: `...
536072295edb2a76147fa91796d938ea34514a1e
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/category_theory/monoidal/category.lean
535acd09a3d0ceaca41a66442391a2fc9fe2fa90
[ "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
17,782
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...
053689b23cece1a039d70d28eb4d5cd7cf7a5287
bb31430994044506fa42fd667e2d556327e18dfe
/src/measure_theory/integral/integrable_on.lean
95432b32f04f5ee6eca35c3d2f819cf6d581af1a
[ "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
22,882
lean
/- Copyright (c) 2021 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou, Yury Kudryashov -/ import measure_theory.function.l1_space import analysis.normed_space.indicator_function /-! # Functions integrable on a set and at a filter We define...
250b50c1896fa01abf57da6ae720eab11f609d3f
38bf3fd2bb651ab70511408fcf70e2029e2ba310
/src/category/functor.lean
42e1cc09508de9da6a710438c4515bf91fa22079
[ "Apache-2.0" ]
permissive
JaredCorduan/mathlib
130392594844f15dad65a9308c242551bae6cd2e
d5de80376088954d592a59326c14404f538050a1
refs/heads/master
1,595,862,206,333
1,570,816,457,000
1,570,816,457,000
209,134,499
0
0
Apache-2.0
1,568,746,811,000
1,568,746,811,000
null
UTF-8
Lean
false
false
4,308
lean
/- Copyright (c) 2017 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon Standard identity and composition functors -/ import tactic.ext tactic.sanity_check category.basic universe variables u v w section functor variables {F : Type u → Type v} ...
2b74e3d90cbd8b1f9a7f4be25a8e49523c05cacf
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/tactic/chain.lean
ce6fa125282541dc03f0b500e416233e5642e861
[ "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,137
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Mario Carneiro -/ import tactic.ext open interactive namespace tactic /- This file defines a `chain` tactic, which takes a list of tactics, and exhaustively tries to...
3715e1a64afd16ef8b1f0a05f6256d1c6971dcee
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/run/typeAscImp.lean
8b25de924f41424a9bd66971c0ad563aaf793b73
[ "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
217
lean
def Ctx := String → Type abbrev State (Γ : Ctx) := {x : String} → Γ x constant p {Γ : Ctx} (s : State Γ) : Prop theorem ex {Γ : Ctx} (s : State Γ) (h : (a : State Γ) → @p Γ a) : @p Γ s := h ‹_›
a47aadf8534f635a64f485f01c0cd288918a26e3
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/order/filter/at_top_bot.lean
a917d11369c4af24264bff7387638a1bac3dd2ad
[ "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
41,706
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, Jeremy Avigad, Yury Kudryashov, Patrick Massot -/ import order.filter.bases import data.finset.preimage /-! # `at_top` and `at_bot` filters on preorded sets, monoids a...
20949d3251aa5377a5ad92e2ef9733f5f4444db1
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/data/num.lean
83a966747f30b2ce7244df4ec77f6f3b3e8b497b
[ "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
17,476
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 -/ import data.bool open bool tactic attribute [instance] definition pos_num_decidable_eq : decidable_eq pos_num := by mk_dec_eq_instance attribute [instance]...
4647443ebb981ed887c81a3eecda088c1b02ed84
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/algebra/ring_power.lean
96140dfa143dc4c1e457003b7921225df55eb376
[ "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
6,282
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad Properties of the power operation in various structures, including ordered rings and fields. -/ import .group_power .ordered_field open nat variable {A : Type} section s...
06ff5a3d8cd43a7554d83291708d010b11f833eb
367134ba5a65885e863bdc4507601606690974c1
/src/category_theory/preadditive/default.lean
c8abb6f8617de307a2bb7f6b01243bff916fb157
[ "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
7,859
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 algebra.group.hom import category_theory.limits.shapes.kernels import algebra.big_operators.basic /-! # Preadditive categories A preadditive category is a cate...
ddf5372bbb04d03ca8ca266fc3b7dd9779853c19
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/data/complex/module.lean
400d13fd20b6d6051944f6693d649b6dd56797f5
[ "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
7,325
lean
/- Copyright (c) 2020 Alexander Bentkamp, Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp, Sébastien Gouëzel -/ import data.complex.basic import algebra.algebra.ordered import data.matrix.notation import field_theory.tower import li...
0e0d080be40d451421a04ed5dffda02acfb62632
4727251e0cd73359b15b664c3170e5d754078599
/src/combinatorics/quiver/connected_component.lean
b43d6b4b177bced0bf2ececc5e532d0d764578dc
[ "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,385
lean
/- Copyright (c) 2021 David Wärn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: David Wärn -/ import combinatorics.quiver.subquiver import combinatorics.quiver.path /-! ## Weakly connected components For a quiver `V`, we build a quiver `symmetrify V` by adding a rev...
44be2201785ba18fc4d9ecdfc8aafff563901043
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/concrete_category/default.lean
8d86ecbae0ecff980aa1590e94a76c44c05e2417
[]
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
167
lean
import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.concrete_category.unbundled_hom import Mathlib.PostPort namespace Mathlib
09d2753cec97759eaf9c5a49ec92a460cf686e88
7c2dd01406c42053207061adb11703dc7ce0b5e5
/src/exercises/00_first_proofs.lean
7bdf6ffd39ee1d405d6ee4633e67e16a5d858640
[ "Apache-2.0" ]
permissive
leanprover-community/tutorials
50ec79564cbf2ad1afd1ac43d8ee3c592c2883a8
79a6872a755c4ae0c2aca57e1adfdac38b1d8bb1
refs/heads/master
1,687,466,144,386
1,672,061,276,000
1,672,061,276,000
189,169,918
186
81
Apache-2.0
1,686,350,300,000
1,559,113,678,000
Lean
UTF-8
Lean
false
false
17,982
lean
/- This file is intended for Lean beginners. The goal is to demonstrate what it feels like to prove things using Lean and mathlib. Complicated definitions and theory building are not covered. Everything is covered again more slowly and with exercises in the next files. -/ -- We want real numbers and their basic proper...
dfdfa5f892a7a8bf779bcd612e8e7ca4e555a75d
cb1829c15cd3d28210f93507f96dfb1f56ec0128
/theorem_proving/Sec_7_6.lean
ecf58eb790906bc445082bf934f97b87d2bbfd35
[]
no_license
williamdemeo/LEAN_wjd
69f9f76e35092b89e4479a320be2fa3c18aed6fe
13826c75c06ef435166a26a72e76fe984c15bad7
refs/heads/master
1,609,516,630,137
1,518,123,893,000
1,518,123,893,000
97,740,278
2
0
null
null
null
null
UTF-8
Lean
false
false
631
lean
universe u def tuple (α : Type u) (n : ℕ) := { l : list α // list.length l = n } #check tuple variables {α : Type u} {n : ℕ} def f {n : ℕ} (t : tuple α n) : ℕ := begin cases n, exact 3, exact 7 end #check f def my_tuple : tuple ℕ 3 := ⟨[0, 1, 2], rfl⟩ example : f my_tuple = 7 := rfl -- Again, we prove tha...
368c90a1cf4c9e0940fc3737513741be255ccdb9
9ad8d18fbe5f120c22b5e035bc240f711d2cbd7e
/src/homotopy/poset.lean
f6eefb0a61c886b86bf653bb8aa5583b1a58c99f
[]
no_license
agusakov/lean_lib
c0e9cc29fc7d2518004e224376adeb5e69b5cc1a
f88d162da2f990b87c4d34f5f46bbca2bbc5948e
refs/heads/master
1,642,141,461,087
1,557,395,798,000
1,557,395,798,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,713
lean
/- Copyright (c) 2019 Neil Strickland. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Neil Strickland This file effectively deals with the cartesian-closed category of finite posets and the associated "strong homotopy category". However, we have taken an ad hoc approa...
07c5096443ef6e5abf2810821c960f7ad9fea441
94e33a31faa76775069b071adea97e86e218a8ee
/src/algebra/order/lattice_group.lean
f53136142fdc7b8eed1ac7539f1005a5fc890981
[ "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
18,890
lean
/- Copyright (c) 2021 Christopher Hoskin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Christopher Hoskin -/ import algebra.group_power.basic -- Needed for squares import algebra.order.group import tactic.nth_rewrite /-! # Lattice ordered groups Lattice ordered gro...
cd345a814fdf4c3f4cee4ba4257214073826a17b
03bd658c402412f41d3026d1040ee8ca8c0fc579
/src/game/modify/basic.lean
91f55355bd88c1f9729f579f999fd40c9371457b
[]
no_license
ImperialCollegeLondon/dots_and_boxes
c205f6dbad8af9625f56715e4d1bed96b0ac1022
f7bd0b1603674a657170c5395adb717c4f670220
refs/heads/master
1,663,752,058,476
1,591,438,614,000
1,591,438,614,000
139,707,103
2
0
null
null
null
null
UTF-8
Lean
false
false
5,915
lean
import game.basic import list.modify.basic import tactic.fin_cases open list namespace game /--Two games that are equal except one entry in one sublist of components differs by at most d-/ structure modify {n : ℕ} (G1 G2 : game n) (d : ℤ) := (j : fin n) -- kind of the component they differ in (there are n kinds of ...
522fc1e4dc4974fe1689e7d1a3199a4f42660436
c3f2fcd060adfa2ca29f924839d2d925e8f2c685
/library/algebra/ordered_group.lean
9711eb41e6fad049356e437cb772c5e1aa76a11d
[ "Apache-2.0" ]
permissive
respu/lean
6582d19a2f2838a28ecd2b3c6f81c32d07b5341d
8c76419c60b63d0d9f7bc04ebb0b99812d0ec654
refs/heads/master
1,610,882,451,231
1,427,747,084,000
1,427,747,429,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
21,329
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: algebra.ordered_group Authors: Jeremy Avigad Partially ordered additive groups, modeled on Isabelle's library. We could refine the structures, but we would have to declare more inherit...
2291807af12e96ece4a85f393c4d60cb574eff48
5412d79aa1dc0b521605c38bef9f0d4557b5a29d
/stage0/src/Lean/Elab/App.lean
3b2c8ecff9939a87b155fcfc7cf4752db53078eb
[ "Apache-2.0" ]
permissive
smunix/lean4
a450ec0927dc1c74816a1bf2818bf8600c9fc9bf
3407202436c141e3243eafbecb4b8720599b970a
refs/heads/master
1,676,334,875,188
1,610,128,510,000
1,610,128,521,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
43,930
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.Util.FindMVar import Lean.Elab.Term import Lean.Elab.Binders import Lean.Elab.SyntheticMVars namespace Lean.Elab.Term open Meta builtin_initia...
92e1774bc4ffabf066948976026119e82e71ae15
98beff2e97d91a54bdcee52f922c4e1866a6c9b9
/src/cartesian_closed.lean
9da6b2671f79115220d1c5bd94f9b90de43b4764
[]
no_license
b-mehta/topos
c3fc43fb04ba16bae1965ce5c26c6461172e5bc6
c9032b11789e36038bc841a1e2b486972421b983
refs/heads/master
1,629,609,492,867
1,609,907,263,000
1,609,907,263,000
240,943,034
43
3
null
1,598,210,062,000
1,581,877,668,000
Lean
UTF-8
Lean
false
false
7,828
lean
import category_theory.adjunction.limits import category_theory.closed.cartesian import category_theory.conj universes v u₁ u₂ namespace category_theory open category limits variables {C : Type u₁} [category.{v} C] [has_finite_products C] [cartesian_closed C] variables {D : Type u₂} [category.{v} D] [has_finite_produ...
7d304c2da5e60368b1eaecf5c8870ad9be0c65a8
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/group_theory/submonoid/operations.lean
cbfbc41555056a23c800fc1441bebaf425f9d947
[ "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
35,506
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, Kenny Lau, Johan Commelin, Mario Carneiro, Kevin Buzzard, Amelia Livingston, Yury Kudryashov -/ import group_theory.submonoid.basic import data.equiv.mul_add import al...
925dfea83ff710a3870032bef3ac6e5889c3755a
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/tests/lean/sig3.lean
aad7d50c82f1485a44cc89665df2aaf325f012ea
[ "Apache-2.0" ]
permissive
codyroux/lean0.1
1ce92751d664aacff0529e139083304a7bbc8a71
0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef
refs/heads/master
1,610,830,535,062
1,402,150,480,000
1,402,150,480,000
19,588,851
2
0
null
null
null
null
UTF-8
Lean
false
false
91
lean
check pair 10 20 check pair 10 (pair 20 30) check pair 10 (pair true (λ x : Nat, x > 10))
80c082c7abaac669e818882a5d865a9b872ce162
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/linear_algebra/tensor_product.lean
2ba524e51d5c4dd2f0abee72fe9c2433247c5a47
[ "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
38,366
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro -/ import group_theory.congruence import linear_algebra.bilinear_map /-! # Tensor product of modules over commutative semirings. This file constructs the tensor...
f77c8c4278ee569113ed266cc1274368e7d4c4e1
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/algebra/group/units.lean
55767d93f644ba4c2a19ee77ddc97fe4f14e1c75
[ "Apache-2.0" ]
permissive
keeferrowan/mathlib
f2818da875dbc7780830d09bd4c526b0764a4e50
aad2dfc40e8e6a7e258287a7c1580318e865817e
refs/heads/master
1,661,736,426,952
1,590,438,032,000
1,590,438,032,000
266,892,663
0
0
Apache-2.0
1,590,445,835,000
1,590,445,835,000
null
UTF-8
Lean
false
false
10,431
lean
/- Copyright (c) 2017 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro, Johannes Hölzl, Chris Hughes, Jens Wagemaker -/ import algebra.group.basic import tactic.ext import tactic.norm_cast /-! # Units (i.e., invertible elements) of a...
68b625d20168949822b3548fe7a73f196e490b42
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/topology/maps.lean
d42cc705fc24e761a1e5dc88b919ecb11b7019a5
[ "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
20,873
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Patrick Massot Specific classes of maps between topological spaces: embeddings, open maps, quotient maps. -/ import topology.order topology.separation ...
c1f59448e9e3b9a2c7afd18d21246b7a7363322c
491068d2ad28831e7dade8d6dff871c3e49d9431
/tests/lean/run/rewriter16.lean
f2122fb507912440eb6274741e3278d768e91c8e
[ "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
116
lean
import data.nat open nat theorem tst (x : nat) (H1 : x = 0) : x = 0 := begin rewrite *add_zero, rewrite H1 end
8848f237924a35d36c4176d39f9c967df0d2ce51
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/order/heyting/basic.lean
70dd95d2b7175dfbae2536e1082eee72b5e4759b
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
39,523
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 order.prop_instances /-! # Heyting algebras > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to mathlib4. This f...
78149f249b619d6d1448089ff38b8f163f3b4d61
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/InvolutiveMagma.lean
671943a48d297fef6f463c07fcf627a2dbf11855
[]
no_license
ysharoda/Deriving-Definitions
3e149e6641fae440badd35ac110a0bd705a49ad2
dfecb27572022de3d4aa702cae8db19957523a59
refs/heads/master
1,679,127,857,700
1,615,939,007,000
1,615,939,007,000
229,785,731
4
0
null
null
null
null
UTF-8
Lean
false
false
8,568
lean
import init.data.nat.basic import init.data.fin.basic import data.vector import .Prelude open Staged open nat open fin open vector section InvolutiveMagma structure InvolutiveMagma (A : Type) : Type := (prim : (A → A)) (involutive_prim : (∀ {x : A} , (prim (prim x)) = x)) (op : (A → (A → A))...
f41b7b3c77e401e650aa116c0f3209e39d11e6e9
aa2345b30d710f7e75f13157a35845ee6d48c017
/data/complex/basic.lean
b78e0db5386c000bbd2051d8d1270f39a2b53524
[ "Apache-2.0" ]
permissive
CohenCyril/mathlib
5241b20a3fd0ac0133e48e618a5fb7761ca7dcbe
a12d5a192f5923016752f638d19fc1a51610f163
refs/heads/master
1,586,031,957,957
1,541,432,824,000
1,541,432,824,000
156,246,337
0
0
Apache-2.0
1,541,434,514,000
1,541,434,513,000
null
UTF-8
Lean
false
false
20,355
lean
/- Copyright (c) 2017 Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, Mario Carneiro The complex numbers, modelled as R^2 in the obvious way. -/ import data.real.basic tactic.ring algebra.field structure complex : Type := (re : ℝ) (im : ℝ...
718ea8f05c34efe8d18156b5843d30c2ec8fe32f
d406927ab5617694ec9ea7001f101b7c9e3d9702
/counterexamples/char_p_zero_ne_char_zero.lean
39d631178bad091ff4f1cbcd31308b5a68fcfa68
[ "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
1,034
lean
/- Copyright (c) 2022 Damiano Testa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Damiano Testa, Eric Wieser -/ import algebra.char_p.basic /-! # `char_p R 0` and `char_zero R` need not coincide for semirings For rings, the two notions coincide. In fact, `char_p.o...
0c0bef88f4f5713bf567f3a35cc88d148c2310d5
92b50235facfbc08dfe7f334827d47281471333b
/library/data/nat/choose.lean
8100a0f1543bc8c8c861c25aaa55203836934317
[ "Apache-2.0" ]
permissive
htzh/lean
24f6ed7510ab637379ec31af406d12584d31792c
d70c79f4e30aafecdfc4a60b5d3512199200ab6e
refs/heads/master
1,607,677,731,270
1,437,089,952,000
1,437,089,952,000
37,078,816
0
0
null
1,433,780,956,000
1,433,780,955,000
null
UTF-8
Lean
false
false
3,616
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 Choice function for decidable predicates on natural numbers. This module provides the following two declarations: choose {p : nat → Prop} [d : decidabl...
9f9f7aac3b4182b4b6b68c7d4be97156096a64dd
842b7df4a999c5c50bbd215b8617dd705e43c2e1
/nat_num_game/src/Advanced_Proposition_World/adv_prop_wrld4.lean
e2410fa3a0e0fe37dd2a415bb92db6fefd1329ff
[]
no_license
Samyak-Surti/LeanCode
1c245631f74b00057d20483c8ac75916e8643b14
944eac3e5f43e2614ed246083b97fbdf24181d83
refs/heads/master
1,669,023,730,828
1,595,534,784,000
1,595,534,784,000
282,037,186
0
0
null
null
null
null
UTF-8
Lean
false
false
284
lean
lemma iff_trans (P Q R : Prop) : (P ↔ Q) → (Q ↔ R) → (P ↔ R) := begin intro fpq, cases fpq with pq qp, intro fqr, cases fqr with qr rq, split, intro p, apply qr, apply pq, exact p, intro r, apply qp, apply rq, exact r, end
044ee61f96e7e43262d586269ef466994afc4db9
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Init/Util.lean
55a4f64e2b5a918ad370dbf8fe2cc1f084d23118
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
3,892
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.Data.String.Basic import Init.Data.ToString.Basic universe u v /-! # Debugging helper functions -/ set_option linter.unusedVariables....
eee8e823faafde236478c35dd3b6a267a0ed6d3c
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/order/atoms.lean
dfbc742f477f1c42ecd62da7173acf61bfb79cf5
[ "Apache-2.0" ]
permissive
hamdysalah1/mathlib
b915f86b2503feeae268de369f1b16932321f097
95454452f6b3569bf967d35aab8d852b1ddf8017
refs/heads/master
1,677,154,116,545
1,611,797,994,000
1,611,797,994,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
17,261
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Aaron Anderson. -/ import order.complete_boolean_algebra import order.modular_lattice import data.fintype.basic /-! # Atoms, Coatoms, and Simple Lattices This module defines atoms, ...
5cf216d78d276296791765ab3beee4d4cba54a8c
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/tests/lean/run/t6.lean
e8e3bff00941d978268789a0d0667c4a97560a34
[ "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
361
lean
precedence `+` : 65 precedence `++` : 100 constant N : Type.{1} constant f : N → N → N constant a : N check let g x y := f x y, infix + := g, b : N := a+a, c := b+a, h (x : N) := x+x, postfix ++ := h, d := c++, r (...
31a72f61d7882a5e46791288349ed7210bb19b65
1a61aba1b67cddccce19532a9596efe44be4285f
/hott/algebra/category/precategory.hlean
656e7cf6bc7641daea0f62eaaef0172e62bac1ab
[ "Apache-2.0" ]
permissive
eigengrau/lean
07986a0f2548688c13ba36231f6cdbee82abf4c6
f8a773be1112015e2d232661ce616d23f12874d0
refs/heads/master
1,610,939,198,566
1,441,352,386,000
1,441,352,494,000
41,903,576
0
0
null
1,441,352,210,000
1,441,352,210,000
null
UTF-8
Lean
false
false
11,253
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 -/ import types.trunc types.pi arity open eq is_trunc pi namespace category /- Just as in Coq-HoTT we add two redundant fields to precategories: assoc' and id_i...
ed1e280ba7bf5a211761c917f7e6faa60443c366
4727251e0cd73359b15b664c3170e5d754078599
/src/combinatorics/simple_graph/basic.lean
9934190429130d3a9ef939c795cf7f1ba28728df
[ "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
41,477
lean
/- Copyright (c) 2020 Aaron Anderson, Jalex Stark, Kyle Miller. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson, Jalex Stark, Kyle Miller, Alena Gusakov, Hunter Monroe -/ import data.rel import data.set.finite import data.sym.sym2 /-! # Simple graphs Th...
48525fb99a607bb316adf0b844306db5ba57a9e9
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/unexpected_result_with_bind.lean
8dccb264d1d558ab7e4c8ba2f806589e684d995a
[ "Apache-2.0" ]
permissive
shyamalschandra/lean4
27044812be8698f0c79147615b1d5090b9f4b037
6e7a883b21eaf62831e8111b251dc9b18f40e604
refs/heads/master
1,671,417,126,371
1,601,859,995,000
1,601,860,020,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
705
lean
new_frontend namespace Repro def FooM (α : Type) : Type := Unit → α def FooM.run {α : Type} (ψ : FooM α) (x : Unit) : α := ψ x def bind {α β : Type} : ∀ (ψ₁ : FooM α) (ψ₂ : α → FooM β), FooM β | ψ₁, ψ₂ => λ _ => ψ₂ (ψ₁.run ()) () instance : HasPure FooM := ⟨λ x => λ _ => x⟩ instance : HasBind FooM := ⟨@bind⟩ instanc...
d14d80158dc6eac4b04bacf69a209d15294f1316
e21db629d2e37a833531fdcb0b37ce4d71825408
/src/parlang/nonmono.lean
3a32b786848c1138569111d27f6b96a62ba9b5ae
[]
no_license
fischerman/GPU-transformation-verifier
614a28cb4606a05a0eb27e8d4eab999f4f5ea60c
75a5016f05382738ff93ce5859c4cfa47ccb63c1
refs/heads/master
1,586,985,789,300
1,579,290,514,000
1,579,290,514,000
165,031,073
1
0
null
null
null
null
UTF-8
Lean
false
false
10,681
lean
import parlang.defs import parlang.lemmas_state import parlang.lemmas_exec namespace parlang_nonmono variables {n : ℕ} {σ : Type} {ι : Type} {τ : ι → Type} [decidable_eq ι] notation `v[` v:(foldr `, ` (h t, vector.cons h t) vector.nil `]`) := v open parlang open parlang.kernel inductive exec_state {n : ℕ} : kernel σ...
682f591176eaad5e6bc40b231d1e9d8c9f8b9dc0
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/algebra/field_power.lean
b3d61885692388fc66448b53884e8d2762853353
[ "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
5,327
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 Integer power operation on fields. -/ import algebra.group_with_zero_power import tactic.linarith universe u @[simp] lemma ring_hom.map_fpow {K L : Type*} [division...
65144e3e3da2fca662797d64809420172a095f5d
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/logic/equiv/fin.lean
2033818a7e7ac2ddcd30f3ac232624a733691de6
[ "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
19,529
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import data.fin.vec_notation import data.int.order.basic import logic.equiv.defs /-! # Equivalences for `fin n` > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to th...
3851e057c86418d6fd1c2a92eeb4db0d4ddcf868
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/src/Lean/Compiler/IR/RC.lean
0b50b9aa27dee8d113d7879bca58004d19ade6c3
[ "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
12,755
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.Runtime import Lean.Compiler.IR.CompilerM import Lean.Compiler.IR.LiveVars namespace Lean.IR.ExplicitRC /- Insert explicit RC instructions. So,...
caf089a24b9c109a15059bf4db3a3e57e04ce8d5
968e2f50b755d3048175f176376eff7139e9df70
/examples/prop_logic_theory/unnamed_803.lean
76f9a87c823e52d23f75cf9fc3cabe4dfc3c10a6
[]
no_license
gihanmarasingha/mth1001_sphinx
190a003269ba5e54717b448302a27ca26e31d491
05126586cbf5786e521be1ea2ef5b4ba3c44e74a
refs/heads/master
1,672,913,933,677
1,604,516,583,000
1,604,516,583,000
309,245,750
1
0
null
null
null
null
UTF-8
Lean
false
false
501
lean
variables p q : Prop -- BEGIN theorem and_of_and : p ∧ q → q ∧ p := begin assume h : p ∧ q, -- Assume `h : p ∧ q`. It suffices to prove `q ∧ p`. have h₂ : q, from h.right, -- We have `h₂ : q` by right conjunction elimination on `h`. have h₃ : p, from h.left, -- We have `h₃ : p` by l...
ecc2c23abfad33e6a7104488674e3b15b837f1ad
c45b34bfd44d8607a2e8762c926e3cfaa7436201
/uexp/src/uexp/rules/transitiveInferenceComplexPredicate.lean
ea52c3632306ebe7c937fe21885a94112b24f2cd
[ "BSD-2-Clause" ]
permissive
Shamrock-Frost/Cosette
b477c442c07e45082348a145f19ebb35a7f29392
24cbc4adebf627f13f5eac878f04ffa20d1209af
refs/heads/master
1,619,721,304,969
1,526,082,841,000
1,526,082,841,000
121,695,605
1
0
null
1,518,737,210,000
1,518,737,210,000
null
UTF-8
Lean
false
false
3,086
lean
import ..sql import ..tactics import ..u_semiring import ..extra_constants import ..ucongr import ..TDP set_option profiler true open Expr open Proj open Pred open SQL open tree open binary_operators notation `int` := datatypes.int variable integer_1: const datatypes.int variable integer_2: const datatypes.int vari...
3ce4e1fcfb87d9bf0fec7a2e7c6b20a31460c577
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/big_operators/intervals.lean
8a500766ee19a43057c34c8e15c00134f4111313
[ "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
10,558
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import algebra.big_operators.basic import algebra.module.basic import data.nat.interval import tactic.linarith import tactic.abel /-! # Results about big operators ...
6e87b3a284b394a200158a8a14b6e948f3b80abc
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/tactic/ext.lean
643af928ea7fec410933047594b7382bda319e43
[ "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
19,926
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Jesse Michael Han -/ import tactic.rcases import logic.function.basic universes u₁ u₂ open interactive interactive.types section ext open lean.parser nat tactic declare_tr...
2c5f2074aa497ab1cb8051bd4898170c411fa055
05b503addd423dd68145d68b8cde5cd595d74365
/src/ring_theory/power_series.lean
ff619c57bf60d3c234d0d83719c9b5fcb244d0da
[ "Apache-2.0" ]
permissive
aestriplex/mathlib
77513ff2b176d74a3bec114f33b519069788811d
e2fa8b2b1b732d7c25119229e3cdfba8370cb00f
refs/heads/master
1,621,969,960,692
1,586,279,279,000
1,586,279,279,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
58,309
lean
/- Copyright (c) 2019 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Kenny Lau -/ import data.finsupp order.complete_lattice algebra.ordered_group data.mv_polynomial import algebra.order_functions import ring_theory.ideal_operations /-...
cc20b03cc2fa52a73d9593785280feda71db417c
618003631150032a5676f229d13a079ac875ff77
/src/data/list/chain.lean
de31aaf13807cc071418fd0eebecf1dfcde62d85
[ "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
9,850
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, Yury Kudryashov -/ import data.list.pairwise import logic.relation universes u v open nat variables {α : Type u} {β : Type v} namespace list /- chain re...