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
87b77c7a9d62e8664ba5d9e10cf44c7a513bc7b0
af6139dd14451ab8f69cf181cf3a20f22bd699be
/library/init/meta/mk_inhabited_instance.lean
c0e9d19a16314a632e4ac5adaa97288304a4a65a
[ "Apache-2.0" ]
permissive
gitter-badger/lean-1
1cca01252d3113faa45681b6a00e1b5e3a0f6203
5c7ade4ee4f1cdf5028eabc5db949479d6737c85
refs/heads/master
1,611,425,383,521
1,487,871,140,000
1,487,871,140,000
82,995,612
0
0
null
1,487,905,618,000
1,487,905,618,000
null
UTF-8
Lean
false
false
1,687
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura Helper tactic for showing that a type has decidable equality. -/ prelude import init.meta.contradiction_tactic init.meta.constructor_tactic import init.meta.i...
15bd0c676aaa02feed19672c04465c9078cf6a0b
cb3da1b91380e7462b579b426a278072c688954a
/src/utils.lean
d8ecdc10c5c9deef28070d37e9ae41ec57de53a3
[]
no_license
hcheval/tikhonov-mann
35c93e46a8287f6479a848a9d4f02013e0bc2035
6ab7fcefe9e1156c20bd5d1998a7deabd1eeb018
refs/heads/master
1,689,232,126,344
1,630,182,255,000
1,630,182,255,000
399,859,996
0
0
null
null
null
null
UTF-8
Lean
false
false
3,411
lean
import data.list import tactic.basic import data.finset.basic import data.real.basic import tactic open lean lean.parser tactic interactive interactive.types expr -- specialize_all tactic, written and posted by Yakov Pechersky on Zulip meta def tactic.specialize_single (n : name) (l : loc) : tactic unit := do val ...
31b242ca7133aefe95ff943eeec02854bf434bf4
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/uniform_space/equicontinuity.lean
fd356ae43e4ba2bd624d1222c59c9deb90a5a9f6
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
22,760
lean
/- Copyright (c) 2022 Anatole Dedecker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anatole Dedecker -/ import topology.uniform_space.uniform_convergence_topology /-! # Equicontinuity of a family of functions > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any change...
29a3c3466ccb4b9cd8d6296705a0a8bbaf4f85a4
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/structInst4.lean
cde1f3d5e319d8c4b81f00a3fcf23022fa4559f9
[ "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
485
lean
universe u def a : Array ((Nat × Nat) × Bool) := #[] def b : Array Nat := #[] structure Foo := (x : Array ((Nat × Nat) × Bool) := #[]) (y : Nat := 0) #check (b).modifyOp (idx := 1) (fun s => 2) #check { b with [1] := 2 } #check { a with [1].fst.2 := 1 } def foo : Foo := {} #check foo.x[1]!.1.2 #check { foo with...
8f94d5b8ec511022dbe1b55f680d75e968d94d06
32da3d0f92cab08875472ef6cacc1931c2b3eafa
/src/algebra/ordered_ring.lean
07f9ada056c5a737f9f3b18af0989d3b25db2bc0
[ "Apache-2.0" ]
permissive
karthiknadig/mathlib
b6073c3748860bfc9a3e55da86afcddba62dc913
33a86cfff12d7f200d0010cd03b95e9b69a6c1a5
refs/heads/master
1,676,389,371,851
1,610,061,127,000
1,610,061,127,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
43,534
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura, Mario Carneiro -/ import algebra.ordered_group import data.set.intervals.basic set_option old_structure_cmd true universe u variable {α : Type u} /-...
125d20cce72d9871299e9d61cd8bfb7a3dc66220
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/apply_fun_auto.lean
a830f97ea8b94ef3b9570dd280ee5909891babc4
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
1,400
lean
/- Copyright (c) 2019 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Keeley Hoek, Patrick Massot -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.monotonicity.default import Mathlib.PostPort namespace Mathlib namesp...
1ba37b8e4747b711c9931d3cbdaf52db92db0da4
f083c4ed5d443659f3ed9b43b1ca5bb037ddeb58
/data/equiv/basic.lean
60e671f2764c83957858d51249db2d2cb5ff03a4
[ "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
27,015
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 In the standard library we cannot assume the univalence axiom. We say two types are equivalent if they are isomorphic. Two equivalent types h...
a841a61b77e3111779189bc251523fa00bf71c10
12dabd587ce2621d9a4eff9f16e354d02e206c8e
/world05/level07.lean
7c807d76ac7140c4d2e0aa21a01b339de712ec32
[]
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
120
lean
example (P Q F : Type) : (P → Q) → ((Q → F) → (P → F)) := begin intro f, intro h, intro p, exact h(f(p)), end
116cb8fb88b1b9fab53b4f3f71ee8a50707b4813
88fb7558b0636ec6b181f2a548ac11ad3919f8a5
/library/tools/super/cdcl.lean
c734be10199e3d4f9f055bb1c0874932e97e3c4e
[ "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
862
lean
/- Copyright (c) 2016 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ import .clause .clausifier .cdcl_solver open tactic expr monad super meta def cdcl_t (th_solver : tactic unit) : tactic unit := do as_refutation, local_false ← target,...
c13de461effa30d84266fc539e0eccb4c9f327bb
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/match4.lean
ea4a4f1a668cd328f55512e3966d16b24c1757c8
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
EdAyers/lean4
57ac632d6b0789cb91fab2170e8c9e40441221bd
37ba0df5841bde51dbc2329da81ac23d4f6a4de4
refs/heads/master
1,676,463,245,298
1,660,619,433,000
1,660,619,433,000
183,433,437
1
0
Apache-2.0
1,657,612,672,000
1,556,196,574,000
Lean
UTF-8
Lean
false
false
1,130
lean
def f1 (x : Nat × Nat) : Nat := match x with | { fst := x, snd := y } => x - y #eval f1 (20, 15) def g1 (h : Nat × Nat × Nat → Nat) : Nat := h (1, 2, 3) def f2 (w : Nat) : Nat := g1 fun (x, y, z) => x + y + z + w #eval f2 10 def g2 (h : Nat × Nat → Nat × Nat → Nat) : Nat := h (1, 2) (20, 40) def f3 (a : Nat) : Na...
2ebf483d45025763526a392c21fdb59f4433fc4e
4727251e0cd73359b15b664c3170e5d754078599
/src/topology/sheaves/sheaf_condition/pairwise_intersections.lean
3e3af1f912d789c14286f961c11e4fd86c49d8c8
[ "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
19,260
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.sheaf_condition.sites import category_theory.limits.preserves.basic import category_theory.category.pairwise import category_theory.limits.co...
50cf054a6c6bb1ab580bad8c23be8b74b32c05df
82e44445c70db0f03e30d7be725775f122d72f3e
/src/analysis/convex/specific_functions.lean
88b53d511d333ea918bd2e3994bd396d64b7b84e
[ "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
6,609
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov, Sébastien Gouëzel -/ import analysis.calculus.mean_value import analysis.special_functions.pow /-! # Collection of convex functions In this file we prove that the f...
fb8da1437b621819e36b20aa6c647e49f3c0062b
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/combinatorics/simple_graph/clique.lean
996aeb3dd5c729308ecc268d24b21795949f0e54
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
9,237
lean
/- Copyright (c) 2022 Yaël Dillies, Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies, Bhavik Mehta -/ import combinatorics.simple_graph.basic import data.finset.pairwise /-! # Graph cliques > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any cha...
4c0b34bf06b1fa5be77231912dc443b4c3c8746a
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/field_theory/splitting_field.lean
845cf7b356cb8fb254679058f2951a48c366754d
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
7,664
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes Definition of splitting fields, and definition of homomorphism into any field that splits -/ import ring_theory.unique_factorization_domain import data.polynomial ring_the...
5befc1ae619917f923bf5bbfa1a40cd7d62af8b2
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/instances/real_vector_space.lean
05e34574b12b732395251ebfeab77143bb546039
[ "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
2,437
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import topology.algebra.module.basic import topology.instances.rat /-! # Continuous additive maps are `ℝ`-linear In this file we prove that a continuous map `f : ...
de08b27cdee095b8c1830eaffd6277758696fed6
26ac254ecb57ffcb886ff709cf018390161a9225
/src/order/complete_boolean_algebra.lean
edac1139eff9056dc7f2038e4e38d4169f0d032d
[ "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
4,698
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 complete Boolean algebras. -/ import order.complete_lattice import order.boolean_algebra set_option old_structure_cmd true universes u v w variables {α : Ty...
696b1ec095d6824098a49e84e51d3eb0102f9f0a
491068d2ad28831e7dade8d6dff871c3e49d9431
/hott/algebra/category/nat_trans.hlean
9a67bbeee7125090589738849c03912752001874
[ "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
6,996
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn, Jakob von Raumer -/ import .functor .iso open eq category functor is_trunc equiv sigma.ops sigma is_equiv function pi funext iso structure nat_trans {C : Precategor...
5848b42389561a3c30608d47e1626e14e0cebd35
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/finset/sort.lean
c3ec27b6254a1c34b26e390baa3cf240c9625e06
[ "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
9,794
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.fintype.basic import data.multiset.sort import data.list.nodup_equiv_fin /-! # Construct a sorted list from a finset. -/ namespace finset open multiset...
61da44a0548a9032b8e8496f95d1654811d4e649
9028d228ac200bbefe3a711342514dd4e4458bff
/src/algebra/big_operators/intervals.lean
9f48df78995cb3553e6552660e6518662e365928
[ "Apache-2.0" ]
permissive
mcncm/mathlib
8d25099344d9d2bee62822cb9ed43aa3e09fa05e
fde3d78cadeec5ef827b16ae55664ef115e66f57
refs/heads/master
1,672,743,316,277
1,602,618,514,000
1,602,618,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,790
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 data.finset.intervals /-! # Results about big operators over intervals We prove results about big operators over interva...
5113642af49e8348e3a858e521fd7d451efaf1cf
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/unfoldFailure.lean
a844f6dc6602c054bc36fb6fc5b97f79708be497
[ "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
98
lean
example : True := by unfold Nat.add example (h : x = 2 * y) : True := by unfold Nat.add at h
d88001d39e127c68e4aea58cea010bc4b438a144
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/algebra/polynomial.lean
949efba5a60efd9ac1adbc9d1418eee26a1e4e15
[ "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
8,498
lean
/- Copyright (c) 2018 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis -/ import data.polynomial.algebra_map import data.polynomial.inductions import data.polynomial.splits import ring_theory.polynomial.vieta import analysis.normed.field....
244caaa83c3d8884d848408fa244a493c06ba202
a156d865507798f08f46a2f6ca204d9727f4734d
/src/basic.lean
2a4b90e85ad2210bda5f77fcbcee91c4d336944a
[]
no_license
jesse-michael-han/formalabstracts
4e2fc8c107a3388823ffbd1671dd1e54108ea394
63a949de7989f17c791c40e580c3011516af57e0
refs/heads/master
1,625,470,495,408
1,551,315,841,000
1,551,316,547,000
136,272,424
0
0
null
1,528,259,798,000
1,528,259,798,000
null
UTF-8
Lean
false
false
2,406
lean
/- This file contains various definitions and lemmas which don't fit anywhere else, or when there is not enough material to make its own file -/ import data.pfun data.set.finite data.nat.enat topology.basic universes u v variables {α : Type*} {β : Type*} axiom omitted {P : Prop} : P notation `ℕ∞` := enat def is_...
4aa3bc5da7939a0f88ff8ef8849e84bdd0f7ccac
64874bd1010548c7f5a6e3e8902efa63baaff785
/library/init/nat.lean
858ef868d072db2f55e33255ca5d635972d8f4a3
[ "Apache-2.0" ]
permissive
tjiaqi/lean
4634d729795c164664d10d093f3545287c76628f
d0ce4cf62f4246b0600c07e074d86e51f2195e30
refs/heads/master
1,622,323,796,480
1,422,643,069,000
1,422,643,069,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,834
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: init.nat Authors: Floris van Doorn, Leonardo de Moura -/ prelude import init.wf init.tactic open eq.ops decidable namespace nat notation `ℕ` := nat inductive lt (a : nat)...
a707f0f30f3b06680d3edd442a03643b10d098df
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/algebra/big_operators/order.lean
0f5440a2e636d4e4dbf9686ae37a9e77c9e35572
[ "Apache-2.0" ]
permissive
ayush1801/mathlib
78949b9f789f488148142221606bf15c02b960d2
ce164e28f262acbb3de6281b3b03660a9f744e3c
refs/heads/master
1,692,886,907,941
1,635,270,866,000
1,635,270,866,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
21,992
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.order.absolute_value import algebra.big_operators.basic /-! # Results about big operators with values in an ordered algebraic structure. Mostly mono...
6c78de6c771edde27b43bfb0a5355e59441fa9cb
947b78d97130d56365ae2ec264df196ce769371a
/src/Lean/Elab/Tactic/Binders.lean
295156ff121574742d4d2966814c49cdf104fccd
[ "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,178
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.Tactic.Basic namespace Lean namespace Elab namespace Tactic private def liftTermBinderSyntax : Macro := fun stx => do hole ← `(?_); m...
274fdab6b1c002a3d0d3e9091926d7b83b12222b
54d7e71c3616d331b2ec3845d31deb08f3ff1dea
/library/init/data/list/lemmas.lean
d577725f5b341d5e7788b8fd137045759b02bdbf
[ "Apache-2.0" ]
permissive
pachugupta/lean
6f3305c4292288311cc4ab4550060b17d49ffb1d
0d02136a09ac4cf27b5c88361750e38e1f485a1a
refs/heads/master
1,611,110,653,606
1,493,130,117,000
1,493,167,649,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,114
lean
/- Copyright (c) 2014 Parikshit Khanna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn -/ prelude import init.data.list.basic init.function init.meta init.data.nat.lemmas import init.meta.interactive i...
9b579d3cb697cecd1f1ad614b0ceda9361a45183
618003631150032a5676f229d13a079ac875ff77
/src/algebra/category/Group/preadditive.lean
31f96257026a01b840b40e4dd7ab7f4f93c3d6cd
[ "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
610
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.category.Group.basic import category_theory.preadditive /-! # The category of additive commutative groups is preadditive. -/ open category_theory univ...
5aa4b06ba0871553d2b207c261c3766eac4762af
9dc8cecdf3c4634764a18254e94d43da07142918
/src/field_theory/finite/trace.lean
22e4f7898860b5cc343e986fa6c7da69d6f993b9
[ "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
938
lean
/- Copyright (c) 2022 Michael Stoll. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Michael Stoll -/ import ring_theory.trace import field_theory.finite.basic import field_theory.finite.galois_field /-! # The trace map for finite fields We state the fact that the tra...
17f275ce952d6d803fcb1a1556a55f0ff3f8338c
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/linear_algebra/affine_space/affine_map.lean
bdd83284accdb6b421ba183049a8de47a588a3f9
[]
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
31,594
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Joseph Myers. -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.linear_algebra.affine_space.basic import Mathlib.linear_algebra.tensor_product import Mathlib.d...
ea2a3a96d3afa2b8752bdbd652b3485bba2f1275
63abd62053d479eae5abf4951554e1064a4c45b4
/src/control/fold.lean
82efc63c04709ad9ef3984b2369a72ebde0b2f4e
[ "Apache-2.0" ]
permissive
Lix0120/mathlib
0020745240315ed0e517cbf32e738d8f9811dd80
e14c37827456fc6707f31b4d1d16f1f3a3205e91
refs/heads/master
1,673,102,855,024
1,604,151,044,000
1,604,151,044,000
308,930,245
0
0
Apache-2.0
1,604,164,710,000
1,604,163,547,000
null
UTF-8
Lean
false
false
14,760
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Sean Leather -/ import algebra.free_monoid import algebra.opposites import control.traversable.instances import control.traversable.lemmas import category_theory.category imp...
83c499c99603bf5b5408f9eee84a678c35aafba9
e16d4df4c2baa34ab203178cea2c27905a3b63d3
/src/day1.lean
14a10218b82e54af405d975232c044c12b9bd52e
[]
no_license
jembishop/advent-of-code-2020
ea29eecb7f1d676dc1fd34b1a66efdbd23248aec
32fd5bc28e7c178277e85dc034b55fce6dd4afce
refs/heads/main
1,675,354,147,711
1,608,705,139,000
1,608,705,139,000
317,705,877
0
0
null
null
null
null
UTF-8
Lean
false
false
756
lean
import system.io import utils open io open list def combinations : ℕ → list ℕ → list (list ℕ) | 0 l := [[]] | n [] := [] | n (x::xs) := map (λ l, x::l) (combinations (n-1) xs) ++ (combinations n xs) def productl : list ℕ → ℕ := list.foldr (*) 1 def find_k_add :ℕ → ℕ → list ℕ → list (list ℕ) | k n l :=...
fe1e13849ad944076b1bc2923a146afbfa5c3baf
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/data/rbmap/basic.lean
98cff4193381efbe1fbcba20d41bdb71ba3aff7a
[ "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
2,931
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 -/ import data.rbtree.init universes u v w def rbmap_lt {α : Type u} {β : Type v} (lt : α → α → Prop) (a b : α × β) : Prop := lt a.1 b.1 set_option auto_par...
1c19c88e0f490f37ab997ee6395ca5a4d957f790
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/group_theory/monoid_localization.lean
a7f7e890f0e6d1eee23d21feea3b8d3aa9fa0f3e
[ "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
44,115
lean
/- Copyright (c) 2019 Amelia Livingston. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Amelia Livingston -/ import group_theory.congruence import algebra.group.units import algebra.punit_instances /-! # Localizations of commutative monoids Localizing a commutative r...
3e4ba99bcf46a76a23dfd8e90ca99e8bea38e8f4
c777c32c8e484e195053731103c5e52af26a25d1
/archive/100-theorems-list/30_ballot_problem.lean
a72c2e62f322ea300eb41b6f22440451a860f0b4
[ "Apache-2.0" ]
permissive
kbuzzard/mathlib
2ff9e85dfe2a46f4b291927f983afec17e946eb8
58537299e922f9c77df76cb613910914a479c1f7
refs/heads/master
1,685,313,702,744
1,683,974,212,000
1,683,974,212,000
128,185,277
1
0
null
1,522,920,600,000
1,522,920,600,000
null
UTF-8
Lean
false
false
18,011
lean
/- Copyright (c) 2022 Bhavik Mehta, Kexing Ying. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta, Kexing Ying -/ import probability.cond_count /-! # Ballot problem This file proves Theorem 30 from the [100 Theorems List](https://www.cs.ru.nl/~freek/100/)....
dc04ea1405710c2f27453e9031b664f2ac78dd7d
9c1ad797ec8a5eddb37d34806c543602d9a6bf70
/monoidal_categories/braided_monoidal_category.lean
8305516ce7bfe309bc7da3f5a70659ce39c01c21
[]
no_license
timjb/lean-category-theory
816eefc3a0582c22c05f4ee1c57ed04e57c0982f
12916cce261d08bb8740bc85e0175b75fb2a60f4
refs/heads/master
1,611,078,926,765
1,492,080,000,000
1,492,080,000,000
88,348,246
0
0
null
1,492,262,499,000
1,492,262,498,000
null
UTF-8
Lean
false
false
2,461
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 .monoidal_category import ..products.switch namespace tqft.categories.braided_monoidal_category open tqft.categories open tqft.categories....
5373fd6f6b7d6874ce108087515d3d80c4ae26a4
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/algebra/group/type_tags.lean
99c30b8bd5e5fab7019640351c86ba75b8ffcd44
[ "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
12,330
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import algebra.group.hom import data.equiv.basic /-! # Type tags that turn additive structures into multiplicative, and vice versa We define two type tags: * `addit...
3317a0ae3632ea6d2a281fed2c066265cf65f330
59cb0b250f036506a327b29abf0b51ff1efbb0c9
/src/qary_codes_example.lean
fb052b39b794d9723faed6363e253fefed8b625e
[]
no_license
GeorgeTillisch/coding_theory_lean
ea26861a3d5d8ca897ca50b056d9cae53104bc27
920e14b433080854d4248714c93a09ce4e391522
refs/heads/main
1,681,707,926,918
1,619,008,763,000
1,619,008,763,000
343,145,352
0
0
null
null
null
null
UTF-8
Lean
false
false
1,584
lean
import tactic namespace qary_hamming -- Setup for defining vectors over a finite alphabet 𝒜 universe u variables {𝒜 : Type u} [fintype 𝒜] [decidable_eq 𝒜] [field_𝒜: field 𝒜] def distance : Π {n : ℕ}, vector 𝒜 n → vector 𝒜 n → ℕ | 0 _ _ := 0 | (n + 1) x y := if x.head = y.head then distance x.tail ...
d01beae6174bd622aca0bda42a35cc3b2ae46157
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/category/Pointed.lean
c32de1ba3c65726c0464e457059789ceed80332e
[ "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,134
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 category_theory.concrete_category.basic /-! # The category of pointed types This defines `Pointed`, the category of pointed types. ## TODO * Monoidal structure...
00a588855e7d37f1b3bf7ee8e05a26320e0352bc
12dabd587ce2621d9a4eff9f16e354d02e206c8e
/world10/level03.lean
16c5f55cd295752401b645ddbacd168defd10252
[]
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
171
lean
theorem le_succ (a b : mynat) : a ≤ b → a ≤ (succ b) := begin intro h, rw le_iff_exists_add at h, cases h with c hc, rw hc, use c + 1, rw succ_eq_add_one, refl, end
754ba3a2445f85b33644975c2b98dfd8cfaea700
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/data/option/instances.lean
ac47b22f94de0ba27351d5a56b2c15fade4b2d50
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
1,027
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 -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.data.option.basic import Mathlib.Lean3Lib.init.meta.tactic import Mathlib.Lean3Lib.init.control.lawful ...
fc949c697e1391b37f4759d9a1dea6f2d14e5324
737dc4b96c97368cb66b925eeea3ab633ec3d702
/src/Lean/PrettyPrinter/Delaborator/TopDownAnalyze.lean
ea40ee274bb4dfa0240a92f5dbd56f178d764130
[ "Apache-2.0" ]
permissive
Bioye97/lean4
1ace34638efd9913dc5991443777b01a08983289
bc3900cbb9adda83eed7e6affeaade7cfd07716d
refs/heads/master
1,690,589,820,211
1,631,051,000,000
1,631,067,598,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
26,439
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Selsam -/ import Lean.Meta import Lean.Util.FindMVar import Lean.Util.FindLevelMVar import Lean.Util.CollectLevelParams import Lean.Util.ReplaceLevel import Lean.PrettyPr...
8df19be64edc2d654733b4d619dba533e8d180dc
d9ed0fce1c218297bcba93e046cb4e79c83c3af8
/tests/lean/run/pack_unpack3.lean
4beaced584dfafaff366c4f83c3159fbf7cadbd6
[ "Apache-2.0" ]
permissive
leodemoura/lean_clone
005c63aa892a6492f2d4741ee3c2cb07a6be9d7f
cc077554b584d39bab55c360bc12a6fe7957afe6
refs/heads/master
1,610,506,475,484
1,482,348,354,000
1,482,348,543,000
77,091,586
0
0
null
null
null
null
UTF-8
Lean
false
false
961
lean
inductive vec (A : Type*) : nat -> Type* | vnil : vec 0 | vcons : Pi (n : nat), A -> vec n -> vec (n+1) inductive tree (A : Type*) | leaf : A -> tree | node : Pi (n : nat), vec (list (list tree)) n -> tree -- set_option trace.eqn_compiler true constant P {A : Type*} : tree A → Type constant mk1 {A : Type*} (a : A) :...
61a4812e464777b5cf3371aebe4a7e976b127017
680b0d1592ce164979dab866b232f6fa743f2cc8
/library/algebra/ring.lean
03b26299d14f96fb40d0b96beeb2b2d38da44146
[ "Apache-2.0" ]
permissive
syohex/lean
657428ab520f8277fc18cf04bea2ad200dbae782
081ad1212b686780f3ff8a6d0e5f8a1d29a7d8bc
refs/heads/master
1,611,274,838,635
1,452,668,188,000
1,452,668,188,000
49,562,028
0
0
null
1,452,675,604,000
1,452,675,602,000
null
UTF-8
Lean
false
false
16,970
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 Structures with multiplicative and additive components, including semirings, rings, and fields. The development is modeled after Isabelle's library. -/...
d033983a89703844613ec1fa94acd6d66faa64fd
b7f22e51856f4989b970961f794f1c435f9b8f78
/library/data/prod.lean
ce4ac0943001cc258535e24d790491ef2ed5f9a4
[ "Apache-2.0" ]
permissive
soonhokong/lean
cb8aa01055ffe2af0fb99a16b4cda8463b882cd1
38607e3eb57f57f77c0ac114ad169e9e4262e24f
refs/heads/master
1,611,187,284,081
1,450,766,737,000
1,476,122,547,000
11,513,992
2
0
null
1,401,763,102,000
1,374,182,235,000
C++
UTF-8
Lean
false
false
1,662
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, Jeremy Avigad -/ import logic.eq open inhabited decidable eq.ops namespace prod variables {A B : Type} {a₁ a₂ : A} {b₁ b₂ : B} {u : A × B} theorem pair_e...
3d265cfb9763083dbbe1e21c20d5b837bebde53e
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/big_operators/associated.lean
8412711ed5ac5053946979738cd0333c999e6d70
[ "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
6,665
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, Anne Baanen -/ import algebra.associated import algebra.big_operators.finsupp /-! # Products of associated, prime, and irreducible elements. This fil...
a2fe1113b7e613c343e1969d6173aea5c26c4602
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/meta/ref.lean
84a1d7378fdb076e72a089bc43b37f5313566a83
[]
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
435
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 -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.meta.tactic namespace Mathlib namespace tactic /-- A `ref` performs the role of a mutable variable...
f22a560641c2fae842fe406dc8a8ee1aff6f500c
e07b1aca72e83a272dd59d24c6e0fa246034d774
/src/surreal/tmp2.lean
176e81bc78a24ccc9a31a7155a1965ce3d9fa7a9
[]
no_license
pedrominicz/learn
637a343bd4f8669d76819ac660a2d2d3e0958710
b79b802a9846c86c21d4b6f3e17af36e7382f0ef
refs/heads/master
1,671,746,990,402
1,670,778,113,000
1,670,778,113,000
265,735,177
1
0
null
null
null
null
UTF-8
Lean
false
false
26,538
lean
#check (λ (A : Type) (x : A), x : Π {A : Type}, A → A) #check (λ {A : Type} (x : A), x : Π (A : Type), A → A) #check expr #exit axiom A : Type axiom B : Type 1 axioms x y : A #check A → B #check B → A #check (B → (A : Type)) #check (B → A : Type 1) #check (λ x, x : A → A) #check (λ x, x : A → A) #check λ x y x #exit...
6288f8932e3130b641164c3282332c5c131fad7f
947b78d97130d56365ae2ec264df196ce769371a
/tests/playground/forIn2.lean
3850e047faafa73cdf10d86d591e93c437d8206b
[ "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,104
lean
new_frontend def tst1 : IO Nat := [1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 14].forIn 0 fun a b => if a % 2 == 0 then do IO.println (">> " ++ toString a ++ " " ++ toString b) (if b > 20 then pure $ ForInStep.done b else pure $ ForInStep.yield (a+b)) else pure $ ForInStep.yield b #eval tst1 structure ...
70128950c9b964664bb1e328b050c5439b0c2691
4727251e0cd73359b15b664c3170e5d754078599
/test/cycle.lean
90b5222aa9fb72f0bbdea6e15ab20f9d1fd6a2bc
[ "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
241
lean
import data.list.cycle run_cmd guard ("c[1, 4, 3, 2]" = repr (↑[1, 4, 3, 2] : cycle ℕ)) run_cmd guard ("c[1, 4, 3, 2]" = repr (↑[2, 1, 4, 3] : cycle ℕ)) run_cmd guard ("c[-1, 2, 1, 4]" = repr (↑[(2 : ℤ), 1, 4, -1] : cycle ℤ))
3d2715573aa7df7150d7a71570c203ca1eb0273d
02fbe05a45fda5abde7583464416db4366eedfbf
/library/init/data/nat/lemmas.lean
c7fdda64286b4b3ed54adde09e4edbe39a9ea7ed
[ "Apache-2.0" ]
permissive
jasonrute/lean
cc12807e11f9ac6b01b8951a8bfb9c2eb35a0154
4be962c167ca442a0ec5e84472d7ff9f5302788f
refs/heads/master
1,672,036,664,637
1,601,642,826,000
1,601,642,826,000
260,777,966
0
0
Apache-2.0
1,588,454,819,000
1,588,454,818,000
null
UTF-8
Lean
false
false
47,671
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad -/ prelude import init.data.nat.basic init.data.nat.div init.meta init.algebra.functions universes u namespace nat attribute [pre_smt] nat_zero...
222989211d644f4bc015e73cc911f2a615ec7bff
05b503addd423dd68145d68b8cde5cd595d74365
/src/measure_theory/measurable_space.lean
64bad1211e59dc52c7fb1b6e86acfd78a40e84d4
[ "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
45,379
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 Measurable spaces -- σ-algberas -/ import data.set.disjointed order.galois_connection data.set.countable /-! # Measurable spaces and measurable functio...
7b34225f1c6bece0916950d4e2fca76516662751
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/tests/lean/unique_instances.lean
afaf0dbbb92b2fa41c247fbbddd3b3e1641f64c9
[ "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
318
lean
import logic data.prod open prod set_option elaborator.unique_class_instances true theorem tst (A : Type) (H₁ : inhabited A) (H₂ : inhabited A) : inhabited (A × A) := _ set_option elaborator.unique_class_instances false theorem tst (A : Type) (H₁ : inhabited A) (H₂ : inhabited A) : inhabited (A × A) := _
78393214f40988e7b088aef5a2ec2304a2623bca
4727251e0cd73359b15b664c3170e5d754078599
/src/data/two_pointing.lean
3ec9c59b4b4dcd26a5aa49c94e646dadf96ddaf2
[ "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,388
lean
/- Copyright (c) 2022 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import data.sum.basic import logic.nontrivial /-! # Two-pointings This file defines `two_pointing α`, the type of two pointings of `α`. A two-pointing is the data of tw...
e7456329b622f0fa092178be4e585419dce0bfc8
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/ring_theory/finiteness.lean
d8137d2b758b33c688dd7423a0e5cfffe2c13d4e
[ "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
37,650
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import group_theory.finiteness import ring_theory.algebra_tower import ring_theory.ideal.quotient import ring_theory.noetherian /-! # Finiteness conditions in commu...
cad94f92c6ebb6c52116b7ce2ca9a615d804bd33
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/tests/lean/run/have3.lean
5e0b6a95da8c53cc8ddc5314ceff328fd7ea9609
[ "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
237
lean
definition Prop : Type.{1} := Type.{0} constants a b c : Prop axiom Ha : a axiom Hb : b axiom Hc : c check have H1 : a, from Ha, then have H2 : a, from H1, then have H3 : a, from H2, then have H4 : a, from H3, H4
0a5ec16b127d7c52a3b3939bf84014c5bdea7fef
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/category_theory/monoidal/discrete.lean
7b5463aacc5bc0e46d17133f37dfe2216f1bd879
[ "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
2,182
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 category_theory.monoidal.natural_transformation import category_theory.discrete_category import algebra.group.hom /-! # Monoids as discrete monoidal categorie...
ed57d63058c96491c853acb75e1a49928ec5d2e4
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Meta/Tactic/Simp/SimpCongrTheorems.lean
17868a869d2d59b526c4e6ce0a5591ead1fae326
[ "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
5,400
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.ScopedEnvExtension import Lean.Util.Recognizers import Lean.Util.CollectMVars import Lean.Meta.Basic namespace Lean.Meta /-- Data for user-d...
58a23f0f0375e49a3cf960558ffc644930af93c8
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/level_instantiate.lean
25360c54bc862ec4a7d1c9c9a399211b2ee896c1
[ "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
452
lean
#check level.instantiate #eval level.to_string $ level.instantiate (level.param `x) [(`x, level.param `y)] #eval level.to_string $ level.instantiate (level.param `x) [(`x, level.param `y), (`y, level.param `z)] #eval level.to_string $ level.instantiate (level.param `x) [(`x, level.param `y), (`x, level.param `z)] #...
2859ab2fd59ac0c6db2995e1ef6e57ee70f195c4
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/library/standard/data/pair.lean
4df1ca07f751e4977bd99df481cc8e3250a321e3
[ "Apache-2.0" ]
permissive
codyroux/lean
7f8dff750722c5382bdd0a9a9275dc4bb2c58dd3
0cca265db19f7296531e339192e9b9bae4a31f8b
refs/heads/master
1,610,909,964,159
1,407,084,399,000
1,416,857,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,588
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 ------------------------------------------------------...
9607154ee52a16ef7e1277f5754d04ab718d20a7
8cb37a089cdb4af3af9d8bf1002b417e407a8e9e
/library/init/data/quot.lean
086c6b6972858219a4880a480f60f9451b75ccce
[ "Apache-2.0" ]
permissive
kbuzzard/lean
ae3c3db4bb462d750dbf7419b28bafb3ec983ef7
ed1788fd674bb8991acffc8fca585ec746711928
refs/heads/master
1,620,983,366,617
1,618,937,600,000
1,618,937,600,000
359,886,396
1
0
Apache-2.0
1,618,936,987,000
1,618,936,987,000
null
UTF-8
Lean
false
false
10,362
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 Quotient types. -/ prelude /- We import propext here, otherwise we would need a quot.lift for propositions. -/ import init.data.sigma.basic init.logic init.pro...
20d3f78e09acc4cb206feeb5f8ebb826740281cf
1d265c7dd8cb3d0e1d645a19fd6157a2084c3921
/src/lessons/lesson11.lean
d08e6719de916263e7f72a6f5fd9d6af0245280e
[ "MIT" ]
permissive
hanzhi713/lean-proofs
de432372f220d302be09b5ca4227f8986567e4fd
4d8356a878645b9ba7cb036f87737f3f1e68ede5
refs/heads/master
1,585,580,245,658
1,553,646,623,000
1,553,646,623,000
151,342,188
0
1
null
null
null
null
UTF-8
Lean
false
false
1,227
lean
def isEven : ℕ → Prop := λ n, ∃ m : ℕ, m * 2 = n lemma eightIsEven : isEven 8 := begin unfold isEven, exact ⟨4, dec_trivial⟩, end -- def isNonZ : ℕ → Prop := λ n, n ≠ 0 def isnonz : Prop := ∃ n : ℕ, n ≠ 0 lemma isNonZ : isnonz := ⟨1, dec_trivial⟩ lemma isNonZ' : isnonz := begin apply exists.intro 1, ...
ace4c5697ce0214547bf1dc9953f335b2f421e36
4727251e0cd73359b15b664c3170e5d754078599
/src/data/rat/denumerable.lean
b5fa8b12c17b8a6715086231d3d365cd4c33fbd4
[ "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,225
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 set_theory.cardinal.basic /-! # Denumerability of ℚ This file proves that ℚ is infinite, denumerable, and deduces that it has cardinality `omega`. -/ namespace ...
1b7215a3426a3f52d016fd7288a738528aad9bc1
4727251e0cd73359b15b664c3170e5d754078599
/src/linear_algebra/free_module/strong_rank_condition.lean
be1fc8420365359a16bfc0a0aa734d7ccff40b96
[ "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,711
lean
/- Copyright (c) 2021 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca -/ import linear_algebra.charpoly.basic import linear_algebra.invariant_basis_number /-! # Strong rank condition for commutative rings We prove that any nontrivial...
502a6ce366c39ef7c0d544e1cffbd0170520550f
a4673261e60b025e2c8c825dfa4ab9108246c32e
/src/Std/Data/RBTree.lean
fcaae70e79d0c88802b2b62c939b1e751e10a6a5
[ "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
2,961
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 -/ import Std.Data.RBMap namespace Std universes u v w def RBTree (α : Type u) (lt : α → α → Bool) : Type u := RBMap α Unit lt @[inline] def mkRBTree (α : ...
d38d62967b4b9bfac67a121f10c984af7d747b0d
367134ba5a65885e863bdc4507601606690974c1
/src/order/modular_lattice.lean
589063b2a1da493ea803917332f0b2b5b5386183
[ "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
6,604
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import order.rel_iso import order.lattice_intervals import order.order_dual /-! # Modular Lattices This file defines Modular Lattices, a kind of lattice useful in al...
493f0d8ad59f5e6393b8c339b59c0d0db9519ce4
9dc8cecdf3c4634764a18254e94d43da07142918
/src/ring_theory/ring_hom_properties.lean
37d9ac0cf1e34bd3c578399e722ca65d223834f6
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
5,079
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 algebra.category.Ring.constructions import category_theory.isomorphism import ring_theory.localization.away /-! # Properties of ring homomorphisms We provide the b...
9430c8b6002287add94e3d53c8eac68049204f3d
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/category_theory/arrow.lean
111fd0c6f96b3774d773ca52b53713b2af576af4
[ "Apache-2.0" ]
permissive
abentkamp/mathlib
d9a75d291ec09f4637b0f30cc3880ffb07549ee5
5360e476391508e092b5a1e5210bd0ed22dc0755
refs/heads/master
1,682,382,954,948
1,622,106,077,000
1,622,106,077,000
149,285,665
0
0
null
null
null
null
UTF-8
Lean
false
false
7,802
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 category_theory.comma /-! # The category of arrows The category of arrows, with morphisms commutative squares. We set this up as a specialization of the comma ...
b6433d35f1304a6e1a644cf341ead03e30807d56
30b012bb72d640ec30c8fdd4c45fdfa67beb012c
/analysis/emetric_space.lean
7761a6de2678b6ff665b4bfe432a8d3d541bc044
[ "Apache-2.0" ]
permissive
kckennylau/mathlib
21fb810b701b10d6606d9002a4004f7672262e83
47b3477e20ffb5a06588dd3abb01fe0fe3205646
refs/heads/master
1,634,976,409,281
1,542,042,832,000
1,542,319,733,000
109,560,458
0
0
Apache-2.0
1,542,369,208,000
1,509,867,494,000
Lean
UTF-8
Lean
false
false
14,254
lean
/- Copyright (c) 2015, 2017 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Extended metric spaces. Authors: Jeremy Avigad, Robert Y. Lewis, Johannes Hölzl, Mario Carneiro, Sébastien Gouëzel This file is devoted to the definition and study of `emetric_spaces`, i...
a47799037ab39efe5f29591c9cf62cc36c5d68e2
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/05_Interacting_with_Lean.org.12.lean
f96752841c590129adb92979817d9f061325af98
[]
no_license
cjmazey/lean-tutorial
ba559a49f82aa6c5848b9bf17b7389bf7f4ba645
381f61c9fcac56d01d959ae0fa6e376f2c4e3b34
refs/heads/master
1,610,286,098,832
1,447,124,923,000
1,447,124,923,000
43,082,433
0
0
null
null
null
null
UTF-8
Lean
false
false
206
lean
/- page 71 -/ import standard import data.nat open nat notation `[` a `**` b `]` := a * b + 1 definition mul_square (a b : ℕ) := a * a * b * b infix `<*>`:50 := mul_square eval [2 ** 3] eval 2 <*> 3
f77595905abe91c8a5c968865d07cc84ee727853
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/lie/base_change.lean
bf0b6beaa9c746b6f0bee8eaea17fa17c907c740
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
5,960
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 algebra.algebra.restrict_scalars import algebra.lie.tensor_product /-! # Extension and restriction of scalars for Lie algebras > THIS FILE IS SYNCHRONIZED WITH MAT...
21144a0e16b294ad8a224e2d2906f047713dd02e
fecda8e6b848337561d6467a1e30cf23176d6ad0
/src/algebra/char_p.lean
5d81e70d91cc130a58b6fa29ec1b524f68dc340a
[ "Apache-2.0" ]
permissive
spolu/mathlib
bacf18c3d2a561d00ecdc9413187729dd1f705ed
480c92cdfe1cf3c2d083abded87e82162e8814f4
refs/heads/master
1,671,684,094,325
1,600,736,045,000
1,600,736,045,000
297,564,749
1
0
null
1,600,758,368,000
1,600,758,367,000
null
UTF-8
Lean
false
false
12,472
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Kenny Lau, Joey van Langen, Casper Putz -/ import data.fintype.basic import data.nat.choose import data.int.modeq import algebra.module.basic import algebra.iterate_hom /-! # Characteristi...
f14f42a336e49c0d37a49215f312ac170b034795
58840d1f4c8fba0ed6eb3a08b3c7491e28e2a4a2
/SGDT/domain.lean
52493ae1d816adcbaedece59339c05c3b8137d69
[]
no_license
jonsterling/lean4-sgdt
7ba9f2ff2a21981f1d6517b86be1bee76e8d426e
5858bfe96f2c5de8343c0f7befddd946ef6ce3e6
refs/heads/master
1,685,409,923,012
1,623,505,684,000
1,623,505,684,000
371,836,555
10
0
null
null
null
null
UTF-8
Lean
false
false
1,409
lean
import sgdt.later universe u class domain (A : Type u) where step : ▷ A → A noncomputable def domain.fix [domain a] (f : a -> a) : a := fix x => f $ domain.step x def is_strict [domain a] [domain b] (f : a -> b) := ∀ x : ▷ a, f (domain.step x) = domain.step (f <$> x) def strict_hom (a b : Type u) [domain a] [domai...
a80b09b8c7a959923d6bbc3af5ce99228b3e103c
200b12985a863d01fbbde6abfc9326bb82424a8b
/src/FOL/ExF001.lean
5929f91522d8701058e48d0b753ebc05d0c15e0c
[]
no_license
SvenWille/LeanLogicExercises
38eacd36733ac48e5a7aacf863c681c9a9a48271
2dbc920feadd63bbc50f87e69646c0081db26eba
refs/heads/master
1,629,676,667,365
1,512,161,459,000
1,512,161,459,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
216
lean
theorem ExF001{X : Type}(P Q : X → Prop)(a : X): P a → Q a → ∃x, P x ∧ Q x := assume H1:P a, assume H2:Q a, have A:P a ∧ Q a, from and.intro H1 H2, show ∃x, P x ∧ Q x, from exists.intro a A
35ca690346ac3dd2b58179c5bf355c9e913accc6
9dc8cecdf3c4634764a18254e94d43da07142918
/src/category_theory/linear/default.lean
8cbffda48e87686f474c590a22a49ee80fe359a7
[ "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
4,446
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 category_theory.preadditive import algebra.module.linear_map import algebra.invertible import linear_algebra.basic import algebra.algebra.basic /-! # Linear c...
f077f023c82a124ad97f18927036be84c5baf4ed
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/measure_theory/probability_mass_function.lean
d4df971c2c3392079d21523352322ce8547d0157
[]
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
5,497
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.instances.ennreal import Mathlib.PostPort universes u u_1 u_2 u_3 namespace Math...
2604399c3c78b71e7947cb4d49e1a38ffb15c87d
07c6143268cfb72beccd1cc35735d424ebcb187b
/src/data/list/chain.lean
91c35669a97d59312f45af341c61271eeee03d93
[ "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
8,683
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...
0657be6beb4732dd6af3fdd5d4d6063854276b22
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/combinatorics/partition_auto.lean
54d0faf3f1874050b21b0c396afcb0342077f22d
[]
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,114
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.combinatorics.composition import Mathlib.data.nat.parity import Mathlib.tactic.apply_fun import...
e4263dfd4df79b3b7995372ae21c0f0473e9d722
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/analysis/special_functions/pow.lean
01428119be6735f45f42d075ad3dfc2b1163fa66
[ "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
50,739
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne, Sébastien Gouëzel -/ import analysis.special_functions.trigonometric import analysis.calculus.extend_deriv /-! # Power func...
d591e4d3130748dc51292df33dcf574da905a7c4
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/set_theory/cardinal_ordinal.lean
07c1b1a940562e046c354991387a7792c6822a9d
[ "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
38,904
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, Floris van Doorn -/ import set_theory.ordinal_arithmetic import tactic.linarith import logic.small /-! # Cardinals and ordinals Relationships between...
a149367e6b1d63a232e279d54444dc8a60161ada
8b9f17008684d796c8022dab552e42f0cb6fb347
/tests/lean/run/alg_rw.lean
d911b3e61d621a8ecd1221c0c2a9390c608e930b
[ "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
384
lean
import algebra.group open algebra section variable {A : Type} variable [s : comm_monoid A] include s theorem one_mul_one : 1 * 1 = 1 := mul_one 1 end definition one [reducible] (A : Type) [s : has_one A] : A := !has_one.one section variable {A : Type} variable [s : comm_group A] include s theorem...
51f6244243f2177b291514bda3447d71d2890b33
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/topology/basic.lean
fcdc49ddddeb2be41ab0fe9804c5c6da56f2799c
[ "Apache-2.0" ]
permissive
ayush1801/mathlib
78949b9f789f488148142221606bf15c02b960d2
ce164e28f262acbb3de6281b3b03660a9f744e3c
refs/heads/master
1,692,886,907,941
1,635,270,866,000
1,635,270,866,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
63,904
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Jeremy Avigad -/ import order.filter.ultrafilter import order.filter.partial import algebra.support /-! # Basic theory of topological spaces. The main...
d7396e87fea6ab32a0556847d15fc2ba1b7f9ba2
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/data/real/basic.lean
270d86df31c0feaf751317d1bb08bb2163d684eb
[ "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
26,584
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Floris van Doorn The (classical) real numbers ℝ. This is a direct construction from Cauchy sequences. -/ import order.conditionally_complete_lattice import data.real.c...
4300e3ed9afaa9dabbc2193f06026d60ef8b5f59
2c41ae31b2b771ad5646ad880201393f5269a7f0
/Lean/Examples/Parnas/Information_Hiding_Changeable.lean
6511d4f17f948f0b8039dd863c09c6494346ce8c
[]
no_license
kevinsullivan/Boehm
926f25bc6f1a8b6bd47d333d936fdfc278228312
55208395bff20d48a598b7fa33a4d55a2447a9cf
refs/heads/master
1,586,127,134,302
1,488,252,326,000
1,488,252,326,000
32,836,930
0
0
null
null
null
null
UTF-8
Lean
false
false
16,440
lean
import Qualities.Satisfactory import SystemModel.Value import Examples.Parnas.Information_Hiding /- [corpusChangeActionSpec] expresses a Ross-style changeability requirement pertaining to system instances. We interpret this one as saying that a system instance is changeable if 1) it is modular with respect to the par...
09ff43895b13ba875eb9f1cbd90d522740be0c1a
0845ae2ca02071debcfd4ac24be871236c01784f
/tests/lean/run/deriv.lean
a504a137f7f3734922443233cb58d1b5252f6f6b
[ "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
2,695
lean
/- Benchmark for new code generator -/ import init.io inductive Expr | Val : Int → Expr | Var : String → Expr | Add : Expr → Expr → Expr | Mul : Expr → Expr → Expr | Pow : Expr → Expr → Expr | Ln : Expr → Expr open Expr unsafe def pown : Int → Int → Int | a 0 := 1 | a 1 := a | a n := let b := pown a (n / 2) in ...
43a89f9f98ae6ba731be3c0ef2d781cadb2b014a
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/combinatorics/hall/basic.lean
deabb273946323aa13eecaff6d77b6b2e378f5c7
[ "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
10,163
lean
/- Copyright (c) 2021 Alena Gusakov, Bhavik Mehta, Kyle Miller. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alena Gusakov, Bhavik Mehta, Kyle Miller -/ import combinatorics.hall.finite import topology.category.Top.limits /-! # Hall's Marriage Theorem Given a list ...
41173ac5b0a424e2b62cf08d1f7699e32e0589c2
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/order/compactly_generated.lean
1457248d240ad95d5116a16b4cf0f120dfb67820
[ "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
9,999
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 order.well_founded import order.order_iso_nat import data.set.finite import tactic.tfae /-! # Compactness properties for complete lattices For complete lattices, t...
786954c37279367296213f654ec17204c86fb93a
947b78d97130d56365ae2ec264df196ce769371a
/tests/bench/binarytrees.lean
ebfa5de7e3d1f60d0a312cda97ec0656409a693b
[ "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,699
lean
inductive Tree | Nil | Node (l r : Tree) : Tree open Tree instance : Inhabited Tree := ⟨Nil⟩ -- This Function has an extra argument to suppress the -- common sub-expression elimination optimization partial def make' : UInt32 -> UInt32 -> Tree | n, d => if d = 0 then Node Nil Nil else Node (make' n (d - 1)) (make' ...
329cd5e3b3f6cc33bc1020db601ef796bd6e100b
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Lean/Compiler/CompilerM.lean
e47302e9e6a77da9e41b0b952972ea73cde5ead4
[ "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
8,350
lean
/- Copyright (c) 2022 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Util.ForEachExpr import Lean.Meta.Transform import Lean.Compiler.InferType namespace Lean.Compiler /-- The state managed by the `CompilerM` `M...
0bf8b42ae03872d1c519bb15c5e5344eb619f7b9
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/measure_theory/measure/lebesgue.lean
71aca319c9d00d201dd2ddc8e83131d995aacfbd
[ "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
29,088
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, Sébastien Gouëzel, Yury Kudryashov -/ import dynamics.ergodic.measure_preserving import linear_algebra.determinant import linear_algebra.matrix.diagonal import linear_a...
7f4bc077670c68cbe7c7613eb7094da44cd31e77
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/number_theory/divisors.lean
9344cfca703b30595adc0d2ec90dd9d861605863
[ "Apache-2.0" ]
permissive
dexmagic/mathlib
ff48eefc56e2412429b31d4fddd41a976eb287ce
7a5d15a955a92a90e1d398b2281916b9c41270b2
refs/heads/master
1,693,481,322,046
1,633,360,193,000
1,633,360,193,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
12,844
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import algebra.big_operators.order import data.finset.intervals import data.nat.prime /-! # Divisor finsets This file defines sets of divisors of a natural number. ...
39b9903a804b45f5fd3b4c90298542235feb09ad
7b66d83f3b69dae0a3dfb684d7ebe5e9e3f3c913
/src/exercises_sources/tuesday/afternoon.lean
b11bb9b7d7d21f6e54c39486b68f54b299282d24
[]
permissive
dpochekutov/lftcm2020
58a09e10f0e638075b97884d3c2612eb90296adb
cdfbf1ac089f21058e523db73f2476c9c98ed16a
refs/heads/master
1,669,226,265,076
1,594,629,725,000
1,594,629,725,000
279,213,346
1
0
MIT
1,594,622,757,000
1,594,615,843,000
null
UTF-8
Lean
false
false
3,202
lean
import tactic import data.real.basic import data.padics import data.int.gcd /-! ## Exercises about numbers and casts -/ /-! ## First exercises These first examples are just to get you comfortable with `norm_num`, `norm_cast`, and friends. -/ example : 12345 < 67890 := begin end example {α : Type} [linear_ord...
85f2b065d72b41683c4d0fb2401e7c0e6998d0de
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/lake/examples/precompile/bar/Bar.lean
489ea55e541110416c30ac993171e0d6495bac40
[ "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
54
lean
import Foo.Hello #eval IO.println s!"Hello, {hello}"
4821c74f497e87b28c8bd90862073df91013f751
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/category/Mon/adjunctions.lean
a5444e80fbeeee464262727123477f27bae07f6c
[ "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,262
lean
/- Copyright (c) 2021 Julian Kuelshammer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julian Kuelshammer -/ import algebra.category.Mon.basic import algebra.category.Semigroup.basic import algebra.group.with_one import algebra.free_monoid /-! # Adjunctions regardin...
829e6317119ada30c7e7237c44a4f6fd3a0249de
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/algebra/continued_fractions/computation/terminates_iff_rat.lean
629a929e263834bfbfa84d5ab1e176d002f32410
[ "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
14,271
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.approximations import algebra.continued_fractions.computation.correctness_terminating import algebra.order.archimed...
119308bde8f0ec80d4c3710d1753c4d5452f5d5e
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/functorial_auto.lean
2fc44a1f47f2f356220852aaa5bc5df29bcd037c
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
3,363
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.category_theory.functor import Mathlib.PostPort universes v₁ v₂ u₁ u₂ l u₃ v₃ namespace ...
7b4aca7b14237008cdb11eed1982909e8b282f85
8b9f17008684d796c8022dab552e42f0cb6fb347
/library/data/finset/bigop.lean
ac8f2a8ebec5c385071be68e90d8a13a4c989fe0
[ "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
1,263
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: data.finset Author: Leonardo de Moura Big operator for finite sets -/ import algebra.group data.finset.basic data.list.bigop open algebra finset function binary quot subtype n...
812c69387846d5c531a0105e8f1d5539a5a53248
271e26e338b0c14544a889c31c30b39c989f2e0f
/src/Init/Lean/Data/Name.lean
6f3bf554cd5ae4d50782915d82e50714fca42aa9
[ "Apache-2.0" ]
permissive
dgorokho/lean4
805f99b0b60c545b64ac34ab8237a8504f89d7d4
e949a052bad59b1c7b54a82d24d516a656487d8a
refs/heads/master
1,607,061,363,851
1,578,006,086,000
1,578,006,086,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,295
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import Init.LeanExt import Init.Coe import Init.Data.UInt import Init.Data.ToString import Init.Data.Hashable import Init.Data.RBMap import Init.Data...
dc0462147735b109fcf6556f0003b1a2b6aa0da1
0845ae2ca02071debcfd4ac24be871236c01784f
/library/init/data/uint.lean
7780591a4893c1d8be3999224be1bed6b25322e8
[ "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
13,569
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.fin.basic init.platform open Nat def uint8Sz : Nat := 256 structure UInt8 := (val : Fin uint8Sz) @[extern cpp "lean::uint8_of_na...
a7f1cbe98d32ff7bd51b986d0e5e7a417d2f25f1
a7602958ab456501ff85db8cf5553f7bcab201d7
/test.lean
c6cd1ec043b521f861e5f892480e5bab473f5c1d
[]
no_license
enlauren/math-logic
081e2e737c8afb28dbb337968df95ead47321ba0
086b6935543d1841f1db92d0e49add1124054c37
refs/heads/master
1,594,506,621,950
1,558,634,976,000
1,558,634,976,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
127
lean
variables A B : Prop variable h : A /\ not B #check and.left h #check and.right h #check and.intro (and.left h) (and.right h)
114d6c860ff9a5de13ea0be9e31d93687d4d69e1
a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7
/src/order/lattice.lean
397530feef0724f8261a41c1033c8ae5a8fc603d
[ "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,849
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 Defines the inf/sup (semi)-lattice with optionally top/bot type class hierarchy. -/ import order.basic set_option old_structure_cmd true universes u v w variables {α...