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
b515b778cc54888890fd7d5c0e85aa60a86ae8ea
94e33a31faa76775069b071adea97e86e218a8ee
/src/number_theory/liouville/measure.lean
c97376817ebf9e1021a32834aebc912a906b57b3
[ "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
6,176
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 measure_theory.measure.lebesgue import number_theory.liouville.residual import number_theory.liouville.liouville_with import analysis.p_series /-! # V...
becadd2fda82b1350d2fe638d38ad871e50b210b
0845ae2ca02071debcfd4ac24be871236c01784f
/library/init/lean/parser/identifier.lean
b0d170ef9a3d12b911bd76c012b21873a74a2fb6
[ "Apache-2.0" ]
permissive
GaloisInc/lean4
74c267eb0e900bfaa23df8de86039483ecbd60b7
228ddd5fdcd98dd4e9c009f425284e86917938aa
refs/heads/master
1,643,131,356,301
1,562,715,572,000
1,562,715,572,000
192,390,898
0
0
null
1,560,792,750,000
1,560,792,749,000
null
UTF-8
Lean
false
false
1,540
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.data.char.basic namespace Lean def isGreek (c : Char) : Bool := 0x391 ≤ c.val && c.val ≤ 0x3dd def isLetterLike (c : Char) : Bool := ...
190da4a001d9bc1aca0fba35478bb20414487b0b
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/state12.lean
1c7eca4fd54cfacce0f4727725f6a030a927ae0c
[ "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,729
lean
/- Enumerable and the Decidable instance may already be in Mathlib -/ class Enumerable (α : Type u) where elems : List α complete : ∀ a : α, a ∈ elems def List.allTrue (p : α → Prop) [(a : α) → Decidable (p a)] : List α → Bool | [] => true | a :: as => p a && allTrue p as theorem List.of_allTrue [(a : α) ...
9f715bf04e713076a121d1e94420807037b97224
dc253be9829b840f15d96d986e0c13520b085033
/homotopy/EMRing.hlean
b85a7d4444ae3de1129ed877d3616c8132ff62ae
[ "Apache-2.0" ]
permissive
cmu-phil/Spectral
4ce68e5c1ef2a812ffda5260e9f09f41b85ae0ea
3b078f5f1de251637decf04bd3fc8aa01930a6b3
refs/heads/master
1,685,119,195,535
1,684,169,772,000
1,684,169,772,000
46,450,197
42
13
null
1,505,516,767,000
1,447,883,921,000
Lean
UTF-8
Lean
false
false
5,186
hlean
-- Authors: Floris van Doorn import .EM .smash_adjoint ..algebra.ring ..algebra.arrow_group open algebra eq EM is_equiv equiv is_trunc is_conn pointed trunc susp smash group nat function namespace EM definition EM1product_adj {R : Ring} : EM1 (AddGroup_of_Ring R) →* ppmap (EM1 (AddGroup_of_Ring R)) (EMadd1 (AddA...
2fac74d197694f654969bf097bfb282d578b6328
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/IO4.lean
0ef34fc1c4bcb1ad517c1bfa9480f94c60c3613f
[ "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
204
lean
import system.io open io set_option trace.compiler.code_gen true definition main : io unit := do { n ← return (10:nat), if n = (11:nat) then print 1 else print 2 } #eval main
f8f1cc26e5cf60c87180beddb3a44ff8bf5a4feb
28be2ab6091504b6ba250b367205fb94d50ab284
/levels/my_solutions/world3_le.lean
5795e4d7111041cfd29f50079c5f0123d0605b19
[ "Apache-2.0" ]
permissive
postmasters/natural_number_game
87304ac22e5e1c5ac2382d6e523d6914dd67a92d
38a7adcdfdb18c49c87b37831736c8f15300d821
refs/heads/master
1,649,856,819,031
1,586,444,676,000
1,586,444,676,000
255,006,061
0
0
Apache-2.0
1,586,664,599,000
1,586,664,598,000
null
UTF-8
Lean
false
false
4,774
lean
import solutions.world2_multiplication import mynat.le /- Here's what you get from the import: 1) The following data: * a binary relation called mynat.le, and notation a ≤ b for this relation. The definition is: a ≤ b ↔ ∃ c : mynat, b = a + c 2) The following axiom: * `le_def (a b : mynat) : a ≤ b ↔ ∃ (c : m...
e22cfdda817e9f4a8513ffa4daebb8031179f002
ea5678cc400c34ff95b661fa26d15024e27ea8cd
/natprimes.lean
d1f6123d46b6dadf562db9b61b58a0c9e9935015
[]
no_license
ChrisHughes24/leanstuff
dca0b5349c3ed893e8792ffbd98cbcadaff20411
9efa85f72efaccd1d540385952a6acc18fce8687
refs/heads/master
1,654,883,241,759
1,652,873,885,000
1,652,873,885,000
134,599,537
1
0
null
null
null
null
UTF-8
Lean
false
false
22,902
lean
import data.nat.prime import tactic.norm_num import data.list.basic import analysis.real open nat definition is_prime : nat → Prop | zero := false | (succ zero) := false | (succ(succ x)) := ¬∃b c:nat,2≤b ∧ 2≤c ∧ b*c=succ(succ x) definition product : list nat → nat | list.nil := 1 | (n::L) := n * product L theorem pr...
c65ca9c5461fa30e09d7314a187d1a9c420a6eb4
7850aae797be6c31052ce4633d86f5991178d3df
/src/Lean/Data/Lsp/Ipc.lean
7ca9eff5577a1a134a7087a7300a2af584fd83fc
[ "Apache-2.0" ]
permissive
miriamgoetze/lean4
4dc24d4dbd360cc969713647c2958c6691947d16
062cc5d5672250be456a168e9c7b9299a9c69bdb
refs/heads/master
1,685,865,971,011
1,624,107,703,000
1,624,107,703,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,663
lean
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ import Init.System.IO import Lean.Data.Json import Lean.Data.Lsp.Communication import Lean.Data.Lsp.Diagnostics import Lean.Data.Lsp.Extra /-! Prov...
d990b7afd7b8400d80abce032ffb10ac19cf4067
59b654f4ee2fef898a3487dc03554a569051b63a
/src/old/category.lean
2ffa21b36ea598623df94caf0a4a837a7e3917ae
[]
no_license
gunpinyo/twisted_cube_formalisation
180c9157478b66ec2b11ca47c8ff998a3e978a88
f78206ac495e84bd43a9b820fa10b6c94722e0ec
refs/heads/master
1,624,501,222,992
1,607,081,624,000
1,607,081,624,000
166,885,106
0
0
null
null
null
null
UTF-8
Lean
false
false
648
lean
universes u v structure category := (obj : Type u) (hom : obj → obj → Type v) (id : Π (X : obj), hom X X) (comp : Π {X Y Z : obj}, hom X Y → hom Y Z → hom X Z) (id_l : ∀ {X Y : obj} (f : hom X Y), comp (id X) f = f) (id_r : ∀ {X Y : obj} (f : hom X Y), comp f (id Y) = f) (assoc : ∀ {X Y Z W : o...
f3b055bd7f6b94b3d16a1c8a2f018f8ab125a971
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/analysis/special_functions/log_deriv.lean
7f1e0683db2b24daea6e9bb4aa0e7f0f4018cc2a
[ "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
11,260
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 analysis.special_functions.log import analysis.special_functions.exp_deriv /-! # Derivative and series expansion o...
29ec51ce706758e93fc1f81ee7af125dc49cd12f
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/stage0/src/Lean/Util/PPExt.lean
2f07ba527fda3f272d6ddbe79caadc32060cddcf
[ "Apache-2.0" ]
permissive
walterhu1015/lean4
b2c71b688975177402758924eaa513475ed6ce72
2214d81e84646a905d0b20b032c89caf89c737ad
refs/heads/master
1,671,342,096,906
1,599,695,985,000
1,599,695,985,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,303
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ import Lean.Environment import Lean.MetavarContext namespace Lean abbrev PPExprFn := Environment → MetavarContext → LocalContext → Options → Expr → Format ...
e8be46086eb9a33134f354277c24c48926228a4a
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/data/complex/module.lean
49ee5c154ceefc6235ed6fc5f68dd838919e2d6e
[ "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
10,541
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, Eric Wieser -/ import algebra.order.module import data.complex.basic import data.fin.vec_notation import field_theory.towe...
675c0984bb7578a6cfa0bd40329cce66b1763700
e61a235b8468b03aee0120bf26ec615c045005d2
/stage0/src/Init/Lean/Elab/Binders.lean
b2f28050f34ca793ccfd74c1cfed93737c1861f2
[ "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
18,520
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.Elab.Term import Init.Lean.Elab.Quotation namespace Lean namespace Elab namespace Term /-- Given syntax of the forms a) (`:...
c82a2084407e4fa701bf6d391aafe3a6220f6b3b
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Lean/Util/ReplaceExpr.lean
b229f31032c7f89aba13f06a9eaf794c1fb16b01
[ "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
3,018
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.Expr namespace Lean namespace Expr namespace ReplaceImpl abbrev cacheSize : USize := 8192 structure State where keys : Array Expr -- Re...
6e6bd949c9716e7ede184f9b4f90c1eb933c4326
41ebf3cb010344adfa84907b3304db00e02db0a6
/uexp/src/uexp/meta/u_semiring_AST.lean
ddb790deac72f76fc97b02cac00a7fc2ea6cc956
[ "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
4,005
lean
import ..u_semiring @[derive [decidable_eq]] meta inductive ast : Type | one : ast | zero : ast | plus : ast → ast → ast | time : ast → ast → ast | sig : list (name × expr) → ast → ast | const : expr → ast | squash : ast → ast | not : ast → ast | ueq : expr → expr → ast -- The ast is formatted as an s-expression to ...
2656626cb5adc98ec8f5ea74b3dced67b527955b
9dc8cecdf3c4634764a18254e94d43da07142918
/src/topology/sheaves/sheaf_condition/opens_le_cover.lean
14d8c30fb71e0b437ac1d4becaf756b147afdc22
[ "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
13,509
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import topology.sheaves.presheaf import category_theory.limits.final import topology.sheaves.sheaf_condition.pairwise_intersections /-! # Another version of the shea...
41e1837971a5356d71d18b6c32fc50805b923bfa
43367c9a7b6177979de535076f320c934a5f62b5
/src/modal-logic.lean
396a7f9c4a1ed53bdd2298abe7ebde2344ba8527
[]
no_license
marcusklaas/logical-verification-project
78b881bd62be8cb992f33dd69c31815aa90686b3
de1514be59c1c07a22225cb3f690eb2dc0c585b4
refs/heads/master
1,586,392,414,390
1,543,832,565,000
1,543,832,565,000
159,872,162
0
0
null
null
null
null
UTF-8
Lean
false
false
12,509
lean
import data.set.basic -- project logical verification 2018 - marcus klaas de vries -- this file defines some elementary structures and results used in the semantics of -- basic unimodal logic. -- we first show that reflexivity of frames is modally definable -- then, we prove that bisimulations preserves formula sati...
667f05ad7e4e43ac71334e03311314be3bbae5d4
bdd56e6eb0f467437e368d613de75299495d4054
/src/group_theory/mathieu_group.lean
d13f30183e3340c5d12940376460e88d08cd4e52
[]
no_license
truong111000/formalabstracts
49a04c268ccee136e48e24e9d5dcb6fedea4b53e
93a89a5c05c6fbc23eb9b914b60dcc353e609cd2
refs/heads/master
1,589,551,767,824
1,555,708,723,000
1,555,708,723,000
182,326,292
0
0
null
1,555,708,332,000
1,555,708,331,000
null
UTF-8
Lean
false
false
4,142
lean
import group_theory.basic import data.finset group_theory.group_action open finset fintype is_group_action is_monoid_action universes u v local attribute [instance, priority 0] classical.prop_decidable variables {α : Type u} {β : Type v} {t k v : ℕ} namespace mathieu_group /-- A Steiner system $S(t,k,v)$, where $...
bb59ac262db2ce8e5caeb999869076ca7de71f6e
e030b0259b777fedcdf73dd966f3f1556d392178
/tests/lean/run/1163.lean
fb53c8e85eb61abb71ebe8bd63275987091a84da
[ "Apache-2.0" ]
permissive
fgdorais/lean
17b46a095b70b21fa0790ce74876658dc5faca06
c3b7c54d7cca7aaa25328f0a5660b6b75fe26055
refs/heads/master
1,611,523,590,686
1,484,412,902,000
1,484,412,902,000
38,489,734
0
0
null
1,435,923,380,000
1,435,923,379,000
null
UTF-8
Lean
false
false
207
lean
inductive Foo : Type → Type* | mk : Π (X : Type), Foo X | wrap : Π (X : Type), Foo X → Foo X def rig : Π {X : Type}, Foo X → Foo X | X (Foo.wrap .X foo) := foo | X foo := foo
0d96f10e2b89a40c3c8b4b76b4254eee95bba1ff
618003631150032a5676f229d13a079ac875ff77
/test/rcases.lean
a6ea627df4e0fdd0b35d1bcaaf55dd540595b256
[ "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
2,280
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import tactic.rcases universe u variables {α β γ : Type u} example (x : α × β × γ) : true := begin rcases x with ⟨a, b, c⟩, { guard_hyp a := α, guard_hyp b := β,...
5327a944f786d533437ab7a4cdd0ccc6f7e0ea44
342425037bb9207ebcc87b62ab094d311b0787bb
/src/solutions/00_first_proofs.lean
9a196306ab1fcac6d57fd420a9075a6d704f699f
[ "Apache-2.0" ]
permissive
Denglihua/tutorials
6d4c219784f34acaa0bfcdfc388e980fd04b0cc2
6449169303de57d5f1799c25ac2a51af7062931d
refs/heads/master
1,673,009,657,280
1,604,880,270,000
1,604,880,270,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
18,076
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...
a18b1676baca947f346ae56e8094cac7301d6ee7
a4673261e60b025e2c8c825dfa4ab9108246c32e
/src/Lean/PrettyPrinter/Basic.lean
11ce863f8987dac7161632946a6839da82f71718
[ "Apache-2.0" ]
permissive
jcommelin/lean4
c02dec0cc32c4bccab009285475f265f17d73228
2909313475588cc20ac0436e55548a4502050d0a
refs/heads/master
1,674,129,550,893
1,606,415,348,000
1,606,415,348,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,106
lean
/- Copyright (c) 2020 Sebastian Ullrich. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ import Lean.InternalExceptionId import Lean.KeyedDeclsAttribute namespace Lean namespace PrettyPrinter /- Auxiliary internal exception for backtracking the pr...
b10df13f2e285afceb33863111d1ae75584ff817
4727251e0cd73359b15b664c3170e5d754078599
/src/ring_theory/norm.lean
1ccbfdd353385a45ee919dc123a0b96feaabdaa2
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
12,039
lean
/- Copyright (c) 2021 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import field_theory.primitive_element import linear_algebra.determinant import linear_algebra.matrix.charpoly.minpoly import linear_algebra.matrix.to_linear_equiv import f...
a5f84bf93dcad5bc0fef46cec61111ffba822f2f
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/category_theory/whiskering.lean
72ea58297e7e98bcaddec67a27395d0eee0b2c3d
[ "Apache-2.0" ]
permissive
fpvandoorn/mathlib
b21ab4068db079cbb8590b58fda9cc4bc1f35df4
b3433a51ea8bc07c4159c1073838fc0ee9b8f227
refs/heads/master
1,624,791,089,608
1,556,715,231,000
1,556,715,231,000
165,722,980
5
0
Apache-2.0
1,552,657,455,000
1,547,494,646,000
Lean
UTF-8
Lean
false
false
7,601
lean
-- Copyright (c) 2018 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison import category_theory.isomorphism import category_theory.functor_category namespace category_theory universes u₁ v₁ u₂ v₂ u₃ v₃ u₄ v₄ section variables (C : S...
9c5e09c2f21dad5bf718eb182e2fcdc83352b58a
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/MultMagma.lean
ae741b3ae39e1818526f265dd6eee7143d370265
[]
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
5,739
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 MultMagma structure MultMagma (A : Type) : Type := (times : (A → (A → A))) open MultMagma structure Sig (AS : Type) : Type := (timesS : (AS → (AS → AS...
ee4bbb788c6e592d83060c18fd70c4f734b02872
1a61aba1b67cddccce19532a9596efe44be4285f
/library/algebra/ordered_group.lean
0459bdf983d930e9d29a6bd01a69a3ebe7dc5ae7
[ "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
30,631
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad Partially ordered additive groups, modeled on Isabelle's library. These classes can be refined if necessary. -/ import logic.eq data.unit data.sigma data.prod import alge...
fef1e217ce951448a3486ff2ad19fdb77c5fd771
82e44445c70db0f03e30d7be725775f122d72f3e
/src/measure_theory/integrable_on.lean
6a3b7f174b6e7ebe3d70b4a71d83eb33debf45ff
[ "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
20,605
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.l1_space import analysis.normed_space.indicator_function /-! # Functions integrable on a set and at a filter We define `integra...
c48848638993d0b7bed7c5b539fed02151bba89b
3c9dc4ea6cc92e02634ef557110bde9eae393338
/stage0/src/Lean/Elab/PreDefinition/Main.lean
540c8d6b0b635570db03cc64cdef5cba106699eb
[ "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
3,236
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Elab.PreDefinition.Basic import Lean.Elab.PreDefinition.Structural import Lean.Elab.PreDefinition.WF namespace Lean.Elab open Meta open Term pr...
ee8620a7d27566c873dcd1d8340b82ddadd8e9d5
46125763b4dbf50619e8846a1371029346f4c3db
/src/category_theory/monad/algebra.lean
0ad5d473f1a1db0ac97e304ce38e9ab59886e775
[ "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
3,161
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 category_theory.monad.basic import category_theory.adjunction.basic /-! # Eilenberg-Moore algebras for a monad This file defines Eilenberg-Moore algebras for...
9bbdb3fbfd10f3cd44652959f884929ddeb9c4df
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/inner_product_space/rayleigh.lean
66fc2437ad046a674a8d802efcf875d6a6b49b72
[ "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
12,253
lean
/- Copyright (c) 2021 Heather Macbeth. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Heather Macbeth, Frédéric Dupuis -/ import analysis.inner_product_space.calculus import analysis.inner_product_space.dual import analysis.inner_product_space.adjoint import analysis.c...
8cf5bcb8b02e1a0fc1502d036cd4ab6f916fc82c
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/algebra/category/Group/Z_Module_equivalence.lean
8a191d12a3de7401ae3d90bfe4fc25aef0ccbce0
[ "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,304
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.category.Module.basic /-! The forgetful functor from ℤ-modules to additive commutative groups is an equivalence of categories. TODO: either use this ...
29b4fc033308944cb87bb1fd5a5839705af384e7
a4673261e60b025e2c8c825dfa4ab9108246c32e
/tests/lean/server/diags.lean
4b96c6191c43340cd8c30ebab85c33d1daca08e8
[ "Apache-2.0" ]
permissive
jcommelin/lean4
c02dec0cc32c4bccab009285475f265f17d73228
2909313475588cc20ac0436e55548a4502050d0a
refs/heads/master
1,674,129,550,893
1,606,415,348,000
1,606,415,348,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
141
lean
#lang lean4 import Lean.Server #eval Lean.Server.Test.runWithInputFile "./diags_client.log" none -- The builtin search path seems to be fine
9c8f2ccd5e7766bde31747c11eedb24ec06a73fe
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/num/prime.lean
f996feac90da06359501228313748e282c5e1352
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
4,268
lean
/- Copyright (c) 2020 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.num.lemmas import data.nat.prime import tactic.ring /-! # Primality for binary natural numbers > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes ...
c3f9dedef1f7b9d2b8b06309f795ed14eab06aaf
4fa161becb8ce7378a709f5992a594764699e268
/src/measure_theory/probability_mass_function.lean
fb12be82984beb52b15b34e028ebdf3edcd8f56a
[ "Apache-2.0" ]
permissive
laughinggas/mathlib
e4aa4565ae34e46e834434284cb26bd9d67bc373
86dcd5cda7a5017c8b3c8876c89a510a19d49aad
refs/heads/master
1,669,496,232,688
1,592,831,995,000
1,592,831,995,000
274,155,979
0
0
Apache-2.0
1,592,835,190,000
1,592,835,189,000
null
UTF-8
Lean
false
false
4,776
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl Probability mass function -- discrete probability measures -/ import topology.instances.ennreal noncomputable theory variables {α : Type*} {β : Type*} {γ : Type*} open_l...
06f90a7ce45b65d6ad7110d2d61bf58e53bb3f6b
94e33a31faa76775069b071adea97e86e218a8ee
/src/number_theory/number_field.lean
4289b651064a65c63c123b1106aa9a06b0b304dd
[ "Apache-2.0" ]
permissive
urkud/mathlib
eab80095e1b9f1513bfb7f25b4fa82fa4fd02989
6379d39e6b5b279df9715f8011369a301b634e41
refs/heads/master
1,658,425,342,662
1,658,078,703,000
1,658,078,703,000
186,910,338
0
0
Apache-2.0
1,568,512,083,000
1,557,958,709,000
Lean
UTF-8
Lean
false
false
8,510
lean
/- Copyright (c) 2021 Ashvni Narayanan. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ashvni Narayanan, Anne Baanen -/ import ring_theory.dedekind_domain.integral_closure import algebra.char_p.algebra /-! # Number fields This file defines a number field, the ring of...
6c57c4dd2e9c523b44672528188ee17a53ad33c6
26ac254ecb57ffcb886ff709cf018390161a9225
/src/topology/subset_properties.lean
464b9cb74a1f0745fb663b1454693ad387bac431
[ "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
54,793
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import topology.continuous_on /-! # Properties of subsets of topological spaces ## Main definitions `compact`, `is_clopen`, `is_ir...
dbaa82fc046915d8f3c13f861dbad83182c85e8c
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/valuation/basic.lean
0f209fc8b7965dd110e3cec11a3b2491f5ddd2d8
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
26,840
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, Johan Commelin, Patrick Massot -/ import algebra.order.with_zero import ring_theory.ideal.operations /-! # The basics of valuation theory. > THIS FILE IS SYNCHRONIZE...
ce6e971d9b78d675bbe13030fda7f2c5dae93cd8
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/category_theory/discrete_category.lean
0cc58934c5e0a8b4d1558d90a3aa20ce0356aaa8
[ "Apache-2.0" ]
permissive
fpvandoorn/mathlib
b21ab4068db079cbb8590b58fda9cc4bc1f35df4
b3433a51ea8bc07c4159c1073838fc0ee9b8f227
refs/heads/master
1,624,791,089,608
1,556,715,231,000
1,556,715,231,000
165,722,980
5
0
Apache-2.0
1,552,657,455,000
1,547,494,646,000
Lean
UTF-8
Lean
false
false
1,630
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Stephen Morgan, Scott Morrison import data.ulift import category_theory.functor_category namespace category_theory universes v₁ v₂ u₁ u₂ -- declare the `v`'s first; see `categ...
212656c1122c03814818cedd2a902de26b54f4eb
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Lean/ImportingFlag.lean
5c0eeaaf1d7f3bec63e3660a230905f28e165f11
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
cipher1024/lean4
6e1f98bb58e7a92b28f5364eb38a14c8d0aae393
69114d3b50806264ef35b57394391c3e738a9822
refs/heads/master
1,642,227,983,603
1,642,011,696,000
1,642,011,696,000
228,607,691
0
0
Apache-2.0
1,576,584,269,000
1,576,584,268,000
null
UTF-8
Lean
false
false
1,908
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 -/ namespace Lean private builtin_initialize importingRef : IO.Ref Bool ← IO.mkRef false private builtin_initialize runInitializersRef : IO.Ref Bool ← IO.mkR...
e2adf520a3081750c5a36d4291609f4eadc756df
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/roadmap/topology/shrinking_lemma.lean
999671690578166340e92b9b28c63fb8ab8e7171
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
2,286
lean
/- Copyright (c) 2020 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton -/ import ..todo import topology.separation /-! A formal roadmap for the shrinking lemma for local finite countable covers. It contains the statement of the lemma, and an i...
e84c3cf1d3d431aba53e87fa22312a7dab6e67f7
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/run/if_dollar_prec.lean
768b6087ad8362ee9c6575b0f19098e3aa401358
[ "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
33
lean
check if tt then tt else id $ ff
8d4917f4842cce363b74d8c88c43482cee47b2c9
a338c3e75cecad4fb8d091bfe505f7399febfd2b
/src/analysis/normed_space/linear_isometry.lean
c4d45a381153b863c2af889ad6a1e1182f8691c0
[ "Apache-2.0" ]
permissive
bacaimano/mathlib
88eb7911a9054874fba2a2b74ccd0627c90188af
f2edc5a3529d95699b43514d6feb7eb11608723f
refs/heads/master
1,686,410,075,833
1,625,497,070,000
1,625,497,070,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
13,392
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 analysis.normed_space.basic /-! # Linear isometries In this file we define `linear_isometry R E F` (notation: `E →ₗᵢ[R] F`) to be a linear isometric embedd...
77987e022ced96d5e87d285d2906e3c6eca50e3d
f083c4ed5d443659f3ed9b43b1ca5bb037ddeb58
/algebra/ring.lean
18947f24b9055b272a41748ef07b5f11337ab6eb
[ "Apache-2.0" ]
permissive
semorrison/mathlib
1be6f11086e0d24180fec4b9696d3ec58b439d10
20b4143976dad48e664c4847b75a85237dca0a89
refs/heads/master
1,583,799,212,170
1,535,634,130,000
1,535,730,505,000
129,076,205
0
0
Apache-2.0
1,551,697,998,000
1,523,442,265,000
Lean
UTF-8
Lean
false
false
9,418
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, Floris van Doorn -/ import algebra.group data.set.basic universes u v variable {α : Type u} section variable [semiring α] theorem mul_two (n : α) : ...
8e57595d81054453317d80c8e85e62a44f183eb9
e39f04f6ff425fe3b3f5e26a8998b817d1dba80f
/ring_theory/subring.lean
6a4299850a64fe446d1f80f86a3079a80fc15ba1
[ "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
3,707
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 group_theory.subgroup import data.polynomial import algebra.ring universes u v open group variables {R : Type u} [ring R] /-- `S` is a subring: a set cont...
39414f7ad969935ff6e94d94b23be371d3830d28
11e28114d9553ecd984ac4819661ffce3068bafe
/src/M.lean
723fcc824a7c962fcb8f85127f6b0750770c4e1d
[ "MIT" ]
permissive
EdAyers/lean-subtask
9a26eb81f0c8576effed4ca94342ae1281445c59
04ac5a6c3bc3bfd190af4d6dcce444ddc8914e4b
refs/heads/master
1,586,516,665,621
1,558,701,948,000
1,558,701,948,000
160,983,035
4
1
null
null
null
null
UTF-8
Lean
false
false
2,758
lean
/- Author: E.W.Ayers © 2019 -/ import .data namespace robot open tactic meta def M : Type → Type := state_t state conv meta instance M.monad : monad M := state_t.monad meta instance M.monad_state : monad_state state M := state_t.monad_state meta instance M.alternative : alternative M := state_t.alternative meta instanc...
9ae890227a2e64f42a3858b8573303c84d39029c
4309b17a35495daf93ecb4abf8a4e7bfd8d4c7d6
/q2.lean
83915e37f6ea036883965f9bbae82bf9d641d5c8
[]
no_license
lbarrios/lean_rio2016
7533184d3f186ba66351d5ca9eb4b0c7fcbb02a2
eb34c5d9cc1396d08d6641e57308a357ea030d1a
refs/heads/master
1,610,270,235,983
1,456,692,208,000
1,456,692,208,000
52,373,073
0
0
null
null
null
null
UTF-8
Lean
false
false
3,723
lean
/- Question 2. Prove the following four identities, and determine are nonconstructive, and hence require some form of classical reasoning. Replace the 'sorry' placeholders by actual proofs. -/ open classical variables (A : Type)(p q : A → Prop) variable r: Prop -------------- -- example 1 -------------- example: (∃x, ...
cea29416711e0cd325e87e89427c8cadace06eb3
88fb7558b0636ec6b181f2a548ac11ad3919f8a5
/tests/lean/run/assert_tac3.lean
622d9a949f6170805eadee55bffda7ade20faaab
[ "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
814
lean
open tactic definition tst2 (a : nat) : a = a := by do assert `x (expr.const `nat []), rotate 1, trace_state, a ← get_local `a, mk_app `eq.refl [a] >>= exact, a ← get_local `a, exact a, return () #print tst2 definition tst3 (a b : nat) : a = a := by do define `x (expr.const `nat []), ro...
d8041e1573dfd53eeda58217c537a1810a28a2ce
12dabd587ce2621d9a4eff9f16e354d02e206c8e
/world01/level04.lean
3e1d56835035e7bf124e9e78305bfb8d1c9cfffd
[]
no_license
abdelq/natural-number-game
a1b5b8f1d52625a7addcefc97c966d3f06a48263
bbddadc6d2e78ece2e9acd40fa7702ecc2db75c2
refs/heads/master
1,668,606,478,691
1,594,175,058,000
1,594,175,058,000
278,673,209
0
1
null
null
null
null
UTF-8
Lean
false
false
119
lean
import mynat.add lemma add_succ_zero (a : mynat) : a + succ(0) = succ(a) := begin rw add_succ, rw add_zero, refl, end
98656b544afdb87a7cc2ee801931dff98971a3da
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/algebra/algebraic_card.lean
00fd3d71a656fa3ac528b66d06e91eabd7f54afe
[ "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
3,690
lean
/- Copyright (c) 2022 Violeta Hernández Palacios. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Violeta Hernández Palacios -/ import data.polynomial.cardinal import ring_theory.algebraic /-! ### Cardinality of algebraic numbers In this file, we prove variants of th...
0f75a0802e0dc6fdec49f3f1521595f7d66fa06e
e612b8e5e69b002d5ca583f49b7c00261b1ba5fa
/LAMR/Examples/implementing_propositional_logic/examples.lean
1d4c243430abf04bb3427bb427d8aa6b57c42f85
[]
no_license
Vtec234/lamr
fd515b808a5eca5203f625664dca0a49f3415ae7
c309cddc7f0b13853fe87c1136751213b3593988
refs/heads/main
1,689,188,979,978
1,630,287,739,000
1,630,287,739,000
401,341,461
0
0
null
1,630,327,695,000
1,630,327,694,000
null
UTF-8
Lean
false
false
6,892
lean
import LAMR.Util.Propositional -- textbook: PropForm namespace hidden inductive PropForm | tr : PropForm | fls : PropForm | var : String → PropForm | conj : PropForm → PropForm → PropForm | disj : PropForm → PropForm → PropForm | impl : PropForm → PropForm → PropForm | neg : PropForm ...
249375b492f1274c2df778e8f7b3efbd46b54dbe
9dc8cecdf3c4634764a18254e94d43da07142918
/src/probability/probability_mass_function/constructions.lean
3442a6f2d8167d0931e80a85f3af2edd1e54bd53
[ "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
9,211
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Devon Tuma -/ import probability.probability_mass_function.monad /-! # Specific Constructions of Probability Mass Functions This file gives a number of different `pmf...
2946f1a6e72036b6d72ac1bdf8a96ae3b6ab5e15
92b50235facfbc08dfe7f334827d47281471333b
/hott/init/funext.hlean
e54a6f04781668a070c2d38ee00f5add6591fab7
[ "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
10,501
hlean
/- Copyright (c) 2014 Jakob von Raumer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jakob von Raumer Ported from Coq HoTT -/ prelude import .trunc .equiv .ua open eq is_trunc sigma function is_equiv equiv prod unit prod.ops lift /- We now prove that funext fol...
7398aa36f8d77aa92cea180e38bd9cd005599946
b7f22e51856f4989b970961f794f1c435f9b8f78
/hott/homotopy/sphere2.hlean
3c15db76db31293d9cd9cb8f4d3dc6d90a0f78e4
[ "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
5,052
hlean
/- Copyright (c) 2016 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn Calculating homotopy groups of spheres. In this file we calculate π₂(S²) = Z πₙ(S²) = πₙ(S³) for n > 2 πₙ(Sⁿ) = Z for n > 0 π₂(S³) = Z -/ import .homotopy_group ....
6199160249387101365146d220c5b890f75638fb
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/set/intervals/ord_connected.lean
4b26370ba8d3afff971e2ffbb54ce35e66f85e1b
[]
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
8,184
lean
/- Copyright (c) 2020 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Yury G. Kudryashov -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.set.intervals.unordered_interval import Mathlib.data.set.lattice import Mathlib...
da82004ca83ac2afd4253b97064c63338026be74
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/ring_theory/tensor_product.lean
2257a1b25af184282c3bb60c81d04cb5ed5d520e
[ "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
29,101
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Johan Commelin -/ import linear_algebra.tensor_product_basis import ring_theory.adjoin.basic /-! # The tensor product of R-algebras Let `R` be a (semi)ring and `A` a...
603a63ee6c66ca3a5e50ca55545482aaa66a2ba0
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Data/Options.lean
0b6525a24acbb1daad7dd5148d296faaed5fba4c
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
4,972
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich and Leonardo de Moura -/ import Lean.ImportingFlag import Lean.Data.KVMap import Lean.Data.NameMap namespace Lean def Options := KVMap def Options.empty : O...
643feef74f1da2ea97ed7f8bb27b6207c7dbc364
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/algebra/order.lean
cd8d8bc7dc5d7cc3124334e1a91dcd08e16beac8
[ "Apache-2.0" ]
permissive
fpvandoorn/mathlib
b21ab4068db079cbb8590b58fda9cc4bc1f35df4
b3433a51ea8bc07c4159c1073838fc0ee9b8f227
refs/heads/master
1,624,791,089,608
1,556,715,231,000
1,556,715,231,000
165,722,980
5
0
Apache-2.0
1,552,657,455,000
1,547,494,646,000
Lean
UTF-8
Lean
false
false
10,344
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ universe u variables {α : Type u} lemma not_le_of_lt [preorder α] {a b : α} (h : a < b) : ¬ b ≤ a := (le_not_le_of_lt h).right lemma not_lt_of_le [preorder α] {a b...
37dadfb1ba2853e56e0c8ac23a81974eecdc7510
7d5ad87afb17e514aee234fcf0a24412eed6384f
/src/compactness.lean
72be3e1d77bc264c750f574588bf0d2cbe962b68
[]
no_license
digama0/flypitch
764f849eaef59c045dfbeca142a0f827973e70c1
2ec14b8da6a3964f09521d17e51f363d255b030f
refs/heads/master
1,586,980,069,651
1,547,078,141,000
1,547,078,283,000
164,965,135
1
0
null
1,547,082,858,000
1,547,082,857,000
null
UTF-8
Lean
false
false
5,325
lean
import .fol --local attribute [instance, priority 0] classical.prop_decidable open fol set universes u v /-- Given an xs : list α, an x : α, a set T on α such that everything in xs which is not x is in T, return the sublist which excludes x, a proof that this list is now a subset of T, and a proof that everything in ...
14696047c4d4e18a2f33f660fd04afa85601fcb3
9dc8cecdf3c4634764a18254e94d43da07142918
/src/ring_theory/int/basic.lean
ac14779ac532b863f48ed8b297f005dc39784bed
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
14,442
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Jens Wagemaker, Aaron Anderson -/ import ring_theory.coprime.basic import ring_theory.principal_ideal_domain /-! # Divisibility over ℕ and ℤ This file collects result...
3d12bd1ff90f5e2201f7d15cf438281245939c9c
a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7
/src/data/padics/padic_norm.lean
26b91c4dbe591501e4b98b2b132a928644dc55f3
[ "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
18,557
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 algebra.gcd_domain import algebra.field_power import ring_theory.multiplicity import data.real.cau_seq /-! # p-adic norm This file defines the p-adic valua...
cd7b86b40af68ac1179cc3eece4809f33d8d0513
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/tropical/big_operators.lean
73430afedb01e75f438293177a6f43f9000c7700
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
4,703
lean
/- Copyright (c) 2021 Yakov Pechersky. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yakov Pechersky -/ import algebra.tropical.lattice import algebra.big_operators.basic import data.list.min_max /-! # Tropicalization of finitary operations This file provides the "...
f474d70d104a4c5049202ce0f38feceec09e02bd
26ac254ecb57ffcb886ff709cf018390161a9225
/src/group_theory/group_action.lean
6b87b731ea6ef971f0709ee91a8535d2afe34c7c
[ "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
12,906
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.set.finite import group_theory.coset universes u v w variables {α : Type u} {β : Type v} {γ : Type w} open_locale big_operators open function /-- Typeclass...
54575673654632eb4850188708f2d6d1f67d1d17
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/data/dfinsupp.lean
f104fc9e8422332acf1ad5a36c0f8935347f5178
[ "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
65,869
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Kenny Lau -/ import algebra.module.pi import algebra.module.linear_map import algebra.big_operators.basic import data.set.finite import group_theory.submonoid.membership /-...
edc711d6b08f7a5d04cc737f351ac76d462d04f4
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Lean/Elab/Declaration.lean
aeef19c15494f7ee3988265cb9487d92d12ef10d
[ "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
16,543
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...
918af3c25fd7f39e305c2e6fa71be5558395887c
618003631150032a5676f229d13a079ac875ff77
/src/ring_theory/fractional_ideal.lean
8f8561806d01a2e7c479f6e87e15fce0ef365bfc
[ "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
20,336
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 ring_theory.localization import ring_theory.principal_ideal_domain /-! # Fractional ideals This file defines fractional ideals of an integral domain and proves bas...
f1ea9e949b5aa5b60eaf55ed1547953c6c0e879a
07c76fbd96ea1786cc6392fa834be62643cea420
/hott/algebra/group_theory.hlean
3dc5785504e8ac82310473b8f2cd1de45adf1b90
[ "Apache-2.0" ]
permissive
fpvandoorn/lean2
5a430a153b570bf70dc8526d06f18fc000a60ad9
0889cf65b7b3cebfb8831b8731d89c2453dd1e9f
refs/heads/master
1,592,036,508,364
1,545,093,958,000
1,545,093,958,000
75,436,854
0
0
null
1,480,718,780,000
1,480,718,780,000
null
UTF-8
Lean
false
false
26,981
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 Basic group theory -/ import algebra.category.category algebra.inf_group_theory .homomorphism types.pointed2 algebra.trunc_group open eq algebra pointed fu...
11282f8c663222dc9a4131f90583b3f657248b90
9dc8cecdf3c4634764a18254e94d43da07142918
/src/topology/order.lean
a8d5e6d96db3ddf8c83e5a6087551487471f8d53
[ "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
38,488
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import topology.tactic /-! # Ordering on topologies and (co)induced topologies Topologies on a fixed type `α` are ordered, by reverse inclusion. Tha...
a9fb54f149568c90fcbeb22887f696b12d550fd3
54deab7025df5d2df4573383df7e1e5497b7a2c2
/data/nat/gcd.lean
c44e0d21a9c7bf3813685400aa1605a9f5a52ce5
[ "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
10,626
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 Definitions and properties of gcd, lcm, and coprime. -/ import data.nat.basic open well_founded decidable prod namespace nat /- gcd -/ theorem gcd_...
cb7a9c1da6e92a20036f16256ca5c6c82198d91e
19cc34575500ee2e3d4586c15544632aa07a8e66
/src/data/equiv/basic.lean
6aaa3e60a3e744fea6cf75a2a0ade3bd4cccb4da
[ "Apache-2.0" ]
permissive
LibertasSpZ/mathlib
b9fcd46625eb940611adb5e719a4b554138dade6
33f7870a49d7cc06d2f3036e22543e6ec5046e68
refs/heads/master
1,672,066,539,347
1,602,429,158,000
1,602,429,158,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
77,187
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Mario Carneiro -/ import data.set.function import algebra.group.basic /-! # Equivalence between types In this file we define two types: * `equiv α β` a.k.a...
882d662d235781ded8f3f30585c5b26f90fad4c7
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/hott/329.hlean
9c5b0170f9c0765aaf6afca7f0e5e3413df6ac2f
[ "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
678
hlean
open eq sigma variables {A : Type} {B : A → Type} {C : Πa, B a → Type} {D : Πa b, C a b → Type} {a a' a'' : A} {b b₁ b₂ : B a} {b' : B a'} {b'' : B a''} {u v w : Σa, B a} definition path_sigma_dpair (p : a = a') (q : p ▸ b = b') : sigma.mk a b = sigma.mk a' b' := eq.rec_on p (λb b' q, eq.rec_on q idp) b b' ...
54fe9fc2f85a5101f9afeb7eb7244290f46430a6
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/list/basic.lean
939c431e6d038f0493e69d46f42a3f095813629f
[ "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
162,960
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 data.nat.order.basic /-! # Basic properties of lists > THIS FILE IS SYNCHRONIZED WITH...
e50f958f98d82687a8cb526a37df4c0fac4b85fc
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/multiset/basic.lean
df31b30584315853aba4e283cd9e1c7d286d00f5
[ "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
88,561
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.bool.all_any import data.list.perm /-! # Multisets These are implemented as the quotient of a list by permutations. ## Notation We define the glob...
acd937fa463cd040499de7bf00fdec369abe1974
9a0b1b3a653ea926b03d1495fef64da1d14b3174
/tidy/rewrite_search/init.lean
2a18ac73af0563b3f4c53ddea9b2e678901b41df
[ "Apache-2.0" ]
permissive
khoek/mathlib-tidy
8623b27b4e04e7d598164e7eaf248610d58f768b
866afa6ab597c47f1b72e8fe2b82b97fff5b980f
refs/heads/master
1,585,598,975,772
1,538,659,544,000
1,538,659,544,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,046
lean
import .core -- Default strategy, metric, and tracer used as a fallback by the engine (so mush be present) import .strategy.pexplore import .metric.edit_distance import .tracer.unit open tactic namespace tidy.rewrite_search meta def pick_default_tracer : tactic unit := `[exact tidy.rewrite_search.tracer.unit_trac...
6d065c89539c2685c5ad3454b52744fa2469d799
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/tests/lean/run/ext_eff.lean
0e70312f18d6cb3ec2f3ff09e792801633343a36
[ "Apache-2.0" ]
permissive
walterhu1015/lean4
b2c71b688975177402758924eaa513475ed6ce72
2214d81e84646a905d0b20b032c89caf89c737ad
refs/heads/master
1,671,342,096,906
1,599,695,985,000
1,599,695,985,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,223
lean
-- TODO: renable test after we restore tactic framework #exit import init.IO /- An extensible effects library, inspired by "Freer Monads, More Extensible Effects" (O. Kiselyov, H. Ishii) and https://github.com/lexi-lambda/freer-simple -/ def N := 100 -- Default number of interations for testing def effect := Type...
9b14708139ef9eaac860b837f542126ea468c15b
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/tests/bench/rbmap500k.lean
97fece003fe08605f37ee477dd633e38a0103bf2
[ "Apache-2.0" ]
permissive
collares/lean4
861a9269c4592bce49b71059e232ff0bfe4594cc
52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee
refs/heads/master
1,691,419,031,324
1,618,678,138,000
1,618,678,138,000
358,989,750
0
0
Apache-2.0
1,618,696,333,000
1,618,696,333,000
null
UTF-8
Lean
false
false
2,837
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.coe init.data.option.basic init.system.io universes u v w w' inductive color | Red | Black inductive Tree | Leaf {} ...
bba622e2828962884d5c320e0b235380d7e05897
70f8755415fa7a17f87402cde4651e9f4db1b5bb
/src/pfunctor/default.lean
c2048d8b86cc61b071a84acda53138b2f04f81a8
[ "Apache-2.0" ]
permissive
shingarov/qpf
ab935dc2298db12c87ac011a2e4d2c27e0bdef4b
debe2eacb8cf46b21aba2eaf3f2e20940da0263b
refs/heads/master
1,653,705,576,607
1,570,136,035,000
1,570,136,035,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
16
lean
import .basic .M
249fd73976e1774bdc2407986e1a8e31c1f4c3ed
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/aux_decl_zeta.lean
ea4cf2479ed512b11b872e7642860a6ce0a4bfb2
[ "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
451
lean
inductive vec (A : Type*) : nat → Type* | nil : vec 0 | cons : Π {n}, A → vec n → vec (n+1) definition f : bool → Prop | x := let m := 10, n := m in match x with | tt := true | ff := ∀ (x : vec nat 10) (w : vec nat n), x = w end set_option eqn_compiler.zeta true definition f : bool → Prop | x := l...
119fe40e9d83928b94c525233f5b58e5a1f50764
8b9f17008684d796c8022dab552e42f0cb6fb347
/hott/hit/quotient.hlean
ec071db547800c500766dfd918ae2f8c76d89fb2
[ "Apache-2.0" ]
permissive
chubbymaggie/lean
0d06ae25f9dd396306fb02190e89422ea94afd7b
d2c7b5c31928c98f545b16420d37842c43b4ae9a
refs/heads/master
1,611,313,622,901
1,430,266,839,000
1,430,267,083,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,344
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: hit.quotient Authors: Floris van Doorn Declaration of set-quotients -/ import .type_quotient .trunc open eq is_trunc trunc type_quotient namespace quotient section parameters {A ...
294eeac52123943d3b87ed566dc2ee1bb47325a6
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/algebra/continued_fractions/computation/approximations.lean
be6c395655acc3be23e6f1bd8133a9c73d4a955b
[ "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
29,850
lean
/- Copyright (c) 2020 Kevin Kappelmann. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Kappelmann -/ import algebra.continued_fractions.computation.correctness_terminating import data.nat.fib import tactic.solve_by_elim /-! # Approximations for Continued Fraction...
c7562d6502c27df98fb7cbc438d40f070577514c
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/rewrite.lean
2d8d39568e1d1b73251d41af066bf9cb9f4d3523
[ "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
1,406
lean
new_frontend axiom appendNil {α} (as : List α) : as ++ [] = as axiom appendAssoc {α} (as bs cs : List α) : (as ++ bs) ++ cs = as ++ (bs ++ cs) axiom reverseEq {α} (as : List α) : as.reverse.reverse = as theorem ex1 {α} (as bs : List α) : as.reverse.reverse ++ [] ++ [] ++ bs ++ bs = as ++ (bs ++ bs) := by rw [appendNi...
1ee5043654cf5e10bbcddc98211670dc81860de6
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/group/unique_prods.lean
7cb21d46d755b963ae96d1148571990e89d1974d
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
9,228
lean
/- Copyright (c) 2022 Damiano Testa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Damiano Testa -/ import data.finset.preimage /-! # Unique products and related notions A group `G` has *unique products* if for any two non-empty finite subsets `A, B ⊂ G`, there is ...
c228ff73754bee2672e081310edc23ffc60008f5
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/run/deep1.lean
426fdd0b380b611b5d29bb946f6f243ed328c042
[ "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
473
lean
partial def recurseM [Monad μ] (curr: α) (action: α -> μ (List α)) : μ PUnit := do let children ← action curr children.forM (recurseM · action) def specificTraverseList : OptionM Unit := recurseM () (fun _ => some []) partial def recurseM2 [Monad μ] (curr: α) (action: α -> μ (Array α)) : μ PUnit := do let child...
fa1897b78ccd28b27bb426b60de3475673cd8ea2
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/tactic/norm_num.lean
270c402ad8de195259f7f25135c70591075803fe
[ "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
69,808
lean
/- Copyright (c) 2017 Simon Hudon All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Mario Carneiro -/ import data.rat.cast import data.rat.meta_defs import data.int.lemmas /-! # `norm_num` Evaluating arithmetic expressions including `*`, `+`, `-`, `^`, `≤`....
2781bff9895ebec0ed70d55e5bfe00db4beead27
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/ring_theory/free_comm_ring.lean
b5f825abdc07d925be7920fdaf8b07a05bacc3bd
[ "Apache-2.0" ]
permissive
anthony2698/mathlib
03cd69fe5c280b0916f6df2d07c614c8e1efe890
407615e05814e98b24b2ff322b14e8e3eb5e5d67
refs/heads/master
1,678,792,774,873
1,614,371,563,000
1,614,371,563,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,326
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Johan Commelin -/ import data.equiv.functor import data.mv_polynomial.equiv import data.mv_polynomial.comm_ring import ring_theory.free_ring /-! # Free commutative rings The th...
51d16179eb2d203e8982787a7c05bc6a2d1763c3
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/analysis/normed_space/enorm.lean
510d051071dbbc225656dc189087cd405bf29911
[ "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
7,706
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 analysis.normed_space.basic /-! # Extended norm In this file we define a structure `enorm 𝕜 V` representing an extended norm (i.e., a norm that can ...
38ec317218b89e594c34c09a9782f5c77df5dd79
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/linear_algebra/dual.lean
82bb1a32765040b162c6ca2d2edac6731ebba34a
[ "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,176
lean
/- Copyright (c) 2019 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Fabian Glöckle -/ import linear_algebra.finite_dimensional import tactic.apply_fun noncomputable theory /-! # Dual vector spaces The dual space of an R-module M is th...
a17546a2ce4aa7c9e7658fde1e0fc12918efc25c
9dc8cecdf3c4634764a18254e94d43da07142918
/src/ring_theory/ideal/prod.lean
60919cd2706bd805c5730137abbb52f2cfc2d712
[ "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
7,525
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 ring_theory.ideal.operations /-! # Ideals in product rings For commutative rings `R` and `S` and ideals `I ≤ R`, `J ≤ S`, we define `ideal.prod I J` as the pro...
35763e5df0a096d732f69ec7bf2fd3361c9f9fde
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/rewrite_fail.lean
70476c14cf04df8c71a608aff0983e740eed0893
[ "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
157
lean
open nat example (a b : nat) (Ha : a = 0) (Hb : b = 0) : a + b = 0 := begin rewrite [Ha, Ha] end example (a : nat) : a = a := begin esimp, esimp end
465c912f8984a1bdecba72da4bf3c4085bdc73b9
a9fe717b93ccfa4b2e64faeb24f96dfefb390240
/logic.lean
ba3caf0c36b31caa0bad48dadaf99d14d3111860
[]
no_license
skbaek/omega
ab1f4a6daadfc8c855f14c39d9459ab841527141
715e384ed14e8eb177a326700066e7c98269e078
refs/heads/master
1,588,000,876,352
1,552,645,917,000
1,552,645,917,000
174,442,914
1
0
null
null
null
null
UTF-8
Lean
false
false
3,345
lean
import logic.basic data.option open tactic variables {α β γ : Type} {p q r s : Prop} lemma fun_mono_2 {p : α → β → γ} {a1 a2 : α} {b1 b2 : β} : a1 = a2 → b1 = b2 → (p a1 b1 = p a2 b2) := λ h1 h2, by rw [h1, h2] lemma pred_mono_2 {p : α → β → Prop} {a1 a2 : α} {b1 b2 : β} : a1 = a2 → b1 = b2 → (p a1 b1 ↔ p a2 b...
8196cda6475d35ef54490793fc5c2d88a6e43ac6
e030b0259b777fedcdf73dd966f3f1556d392178
/tests/lean/run/nested_inductive.lean
c1ffab3bdeee447018b67e4a6921d8e6e7d2427a
[ "Apache-2.0" ]
permissive
fgdorais/lean
17b46a095b70b21fa0790ce74876658dc5faca06
c3b7c54d7cca7aaa25328f0a5660b6b75fe26055
refs/heads/master
1,611,523,590,686
1,484,412,902,000
1,484,412,902,000
38,489,734
0
0
null
1,435,923,380,000
1,435,923,379,000
null
UTF-8
Lean
false
false
2,557
lean
set_option trace.inductive_compiler.nested.define.failure true set_option max_memory 1000000 inductive vec (A : Type*) : nat -> Type* | vnil : vec 0 | vcons : Pi (n : nat), A -> vec n -> vec (n+1) namespace X1 print "simple" inductive foo | mk : list foo -> foo end X1 namespace X2 print "with param" inductive foo (...
a18217375b499189212d1a2aef05993fcccb46f6
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/library/logic/weak_fan.lean
cce9f592f64a14692ed1340e1080f993051f94db
[ "Apache-2.0" ]
permissive
jroesch/lean
30ef0860fa905d35b9ad6f76de1a4f65c9af6871
3de4ec1a6ce9a960feb2a48eeea8b53246fa34f2
refs/heads/master
1,586,090,835,348
1,455,142,203,000
1,455,142,277,000
51,536,958
1
0
null
1,455,215,811,000
1,455,215,811,000
null
UTF-8
Lean
false
false
4,858
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura This file is based on Coq's WeakFan.v file A constructive proof of a non-standard version of the weak Fan Theorem in the formulation of which infinite paths a...
8496b97e7c6ff171fbb9f410828710acb2e69a7f
e514e8b939af519a1d5e9b30a850769d058df4e9
/src/tactic/rewrite_search/bundles/category_theory.lean
8ab2754b812da04f19f35fbd472fc8e454d85f2b
[]
no_license
semorrison/lean-rewrite-search
dca317c5a52e170fb6ffc87c5ab767afb5e3e51a
e804b8f2753366b8957be839908230ee73f9e89f
refs/heads/master
1,624,051,754,485
1,614,160,817,000
1,614,160,817,000
162,660,605
0
1
null
null
null
null
UTF-8
Lean
false
false
1,193
lean
import tactic.rewrite_search.discovery.bundle import category_theory.natural_isomorphism import category_theory.products import category_theory.types namespace tactic.rewrite_search.discovery @[bundle] meta def category_theory : bundle := {} open category_theory attribute [search category_theory] category.id_comp ...
504b407a5b00e41f3a6eca20c13d53f8b0652d84
6b10c15e653d49d146378acda9f3692e9b5b1950
/examples/basic_skills/unnamed_596.lean
55462a0b21c93feee3e3ed396f8e28c4509742ec
[]
no_license
gebner/mathematics_in_lean
3cf7f18767208ea6c3307ec3a67c7ac266d8514d
6d1462bba46d66a9b948fc1aef2714fd265cde0b
refs/heads/master
1,655,301,945,565
1,588,697,505,000
1,588,697,505,000
261,523,603
0
0
null
1,588,695,611,000
1,588,695,610,000
null
UTF-8
Lean
false
false
184
lean
namespace my_ring variables {R : Type*} [ring R] -- BEGIN theorem neg_add_cancel_left (a b : R) : -a + (a + b) = b := by rw [←add_assoc, add_left_neg, zero_add] -- END end my_ring
9b021e10f699f87cc484cac597909c5110508382
7e64227df02adbcb36600fbf0725f39f6052bbcc
/src/yeet.lean
1ce95c3019f8c172827fdc0b0187fd9b24f58007
[ "MIT" ]
permissive
ocornoc/yeet
d686ee3400774cc7ac6d1517602b77ab835baa05
36796d756c451a7a1807e3e8714c552eca6dac65
refs/heads/master
1,676,263,361,122
1,610,192,452,000
1,610,192,452,000
326,520,706
2
0
null
null
null
null
UTF-8
Lean
false
false
10,433
lean
import data.nat.digits tactic algebra.big_operators import data.zmod.basic number_theory.quadratic_reciprocity open_locale big_operators def yeet (b n m : ℕ) : Prop := n ^ m = nat.of_digits b (nat.digits b n ++ nat.digits b m) namespace yeet instance (b n m : ℕ) : decidable (yeet b n m) := by apply nat.decidable_eq...
892eeeb53c426f6805f271540733c5085f5c1e1f
137c667471a40116a7afd7261f030b30180468c2
/src/data/real/ennreal.lean
327d1171c8d4982736c83e058a500b24270511b5
[ "Apache-2.0" ]
permissive
bragadeesh153/mathlib
46bf814cfb1eecb34b5d1549b9117dc60f657792
b577bb2cd1f96eb47031878256856020b76f73cd
refs/heads/master
1,687,435,188,334
1,626,384,207,000
1,626,384,207,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
62,748
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 data.real.nnreal import data.set.intervals /-! # Extended non-negative reals We define `ennreal = ℝ≥0∞ := with_no ℝ≥0` to be the type of ext...
0042d360c7cc0442cbdd9bb9a2bdccd23f5867ee
07c6143268cfb72beccd1cc35735d424ebcb187b
/src/topology/instances/ennreal.lean
7fd52b023e1cce2f7487235094949b3063f6d354
[ "Apache-2.0" ]
permissive
khoek/mathlib
bc49a842910af13a3c372748310e86467d1dc766
aa55f8b50354b3e11ba64792dcb06cccb2d8ee28
refs/heads/master
1,588,232,063,837
1,587,304,803,000
1,587,304,803,000
176,688,517
0
0
Apache-2.0
1,553,070,585,000
1,553,070,585,000
null
UTF-8
Lean
false
false
38,629
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl -/ import topology.instances.nnreal data.real.ennreal /-! # Extended non-negative reals -/ noncomputable theory open classical set filter metric open_locale classical op...
5ed6fd54189a4dd7d49eec76cf5ee4388773a47d
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/category/Top/basic_auto.lean
9e96e27c5a30b6cca0594c841d4c3dcc2b1bd37b
[]
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
2,052
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Scott Morrison, Mario Carneiro -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.concrete_category.unbundled_hom import Math...
cde93da69ccef2eede873c3c47812c051cd8244a
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/tactic/chain.lean
52229ca30672219faaf50c0dd57c6443be9f898f
[ "Apache-2.0" ]
permissive
fpvandoorn/mathlib
b21ab4068db079cbb8590b58fda9cc4bc1f35df4
b3433a51ea8bc07c4159c1073838fc0ee9b8f227
refs/heads/master
1,624,791,089,608
1,556,715,231,000
1,556,715,231,000
165,722,980
5
0
Apache-2.0
1,552,657,455,000
1,547,494,646,000
Lean
UTF-8
Lean
false
false
4,982
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.basic import tactic.ext import data.option.defs open interactive namespace tactic /- This file defines a `chain` tactic, which ta...
3f148cc269b9d4bf13294bf928a3a008771dc46b
329788bf44a766cbceec47f6d3a91aeee20146cf
/src/tprod.lean
af6f73378f5cef5efd78ee440279482223d774e6
[]
no_license
jamiebell2805/BSD-conjecture
ca69613bb4b0d7051575ff6a7528ccace1bf9c6b
74aa51f13750868b7011e397576d6f8035d69360
refs/heads/master
1,685,937,124,285
1,624,744,421,000
1,624,744,421,000
364,047,425
7
0
null
1,624,482,924,000
1,620,072,330,000
Lean
UTF-8
Lean
false
false
574
lean
import tactic import topology.instances.real import order.filter.at_top_bot variables {α : Type*} {β : Type*} {γ : Type*} {δ : Type*} noncomputable theory open finset filter function classical open_locale topological_space classical big_operators nnreal variables [comm_monoid α] [topological_space α] def has_prod (f...
be947f8f426af461112f3918d7e1aa12c318fecd
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/hott/algebra/lattice.hlean
70b289766b94791073cfca5c5decc852f0ea908a
[ "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,131
hlean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad -/ import .order open eq variable {A : Type} set_option class.force_new true /- lattices (we could split this to upper- and lower-semilattices, if needed) -/ namespace ...