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
03db9d68190e9eac218febcb0cd0ad4c0c83b160
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebraic_geometry/locally_ringed_space.lean
a41496ec741f5c445a3c5a3d4aa59d75c30900b4
[]
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
7,415
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebraic_geometry.sheafed_space import Mathlib.algebra.category.CommRing.limits import Mat...
f394e581695aa32b4b2f44e363768be02e2a5b62
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/run/show_goal.lean
6480a347a8d96e1b55b50e99f7d1bb3e52112540
[ "Apache-2.0" ]
permissive
GaloisInc/lean
aa1e64d604051e602fcf4610061314b9a37ab8cd
f1ec117a24459b59c6ff9e56a1d09d9e9e60a6c0
refs/heads/master
1,592,202,909,807
1,504,624,387,000
1,504,624,387,000
75,319,626
2
1
Apache-2.0
1,539,290,164,000
1,480,616,104,000
C++
UTF-8
Lean
false
false
962
lean
open tactic lemma ex1 (a b c : nat) : a + 0 = 0 + a ∧ 0 + b = b ∧ c + b = b + c := begin repeat {any_goals {constructor}}, show c + b = b + c, { apply add_comm }, show a + 0 = 0 + a, { simp }, show 0 + b = b, { rw [zero_add] } end /- Same example, but the local context of each goal is different -/ lemma e...
80ccdeb15ea30a3ec96cb8e8ff0fa1e927a109da
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/finset/sym.lean
83c74fe19d923bf40fe8857be4a8122c7dfe9e30
[ "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,819
lean
/- Copyright (c) 2021 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import data.finset.prod import data.sym.sym2 /-! # Symmetric powers of a finset This file defines the symmetric powers of a finset as `finset (sym α n)` and `finset (sy...
d4d6ba81785cbda7d7364a1c868f558bf91bde91
da23b545e1653cafd4ab88b3a42b9115a0b1355f
/src/tidy/rewrite_search/engine.lean
83bd12ffd777244f1832fa64720891e77d413753
[]
no_license
minchaowu/lean-tidy
137f5058896e0e81dae84bf8d02b74101d21677a
2d4c52d66cf07c59f8746e405ba861b4fa0e3835
refs/heads/master
1,585,283,406,120
1,535,094,033,000
1,535,094,033,000
145,945,792
0
0
null
null
null
null
UTF-8
Lean
false
false
20,167
lean
import data.list import data.option import tidy.lib import tidy.pretty_print import tidy.rewrite_all open tactic namespace tidy.rewrite_search inductive how | rewrite (rule_index : ℕ) (side : side) (location : ℕ) : how | defeq meta inductive search_result | success (proof : expr) (steps : list how) : search_result...
8c1281f620e22e68e650d5f2a15793f4afc474c5
367134ba5a65885e863bdc4507601606690974c1
/src/data/multiset/basic.lean
75171e968cfa86a2b5c928ba297d967855f71c61
[ "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
93,057
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import data.list.perm import algebra.group_power /-! # Multisets These are implemented as the quotient of a list by permutations. ## Notation We define the ...
ee7130a2542aad009cfe6696518255d1ae1aa74b
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/stage0/src/Init/Lean/Elab/ResolveName.lean
e90bf21bee777a5521cc55287e3eee48f7031981
[ "Apache-2.0" ]
permissive
mhuisi/lean4
28d35a4febc2e251c7f05492e13f3b05d6f9b7af
dda44bc47f3e5d024508060dac2bcb59fd12e4c0
refs/heads/master
1,621,225,489,283
1,585,142,689,000
1,585,142,689,000
250,590,438
0
2
Apache-2.0
1,602,443,220,000
1,585,327,814,000
C
UTF-8
Lean
false
false
5,178
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ prelude import Init.Lean.Hygiene import Init.Lean.Modifiers import Init.Lean.Elab.Alias namespace Lean namespace Elab inductive OpenDec...
6c6c9929556199f26fc9edc10a0cf7a4cf0208f5
ca1ad81c8733787aba30f7a8d63f418508e12812
/clfrags/src/core/consequence_relation.lean
f1508a3404f40763d4e7ca301e645cdab500944e
[]
no_license
greati/hilbert-classical-fragments
5cdbe07851e979c8a03c621a5efd4d24bbfa333a
18a21ac6b2e890060eb4ae65752fc0245394d226
refs/heads/master
1,591,973,117,184
1,573,822,710,000
1,573,822,710,000
194,334,439
2
0
null
null
null
null
UTF-8
Lean
false
false
894
lean
import data.set open set namespace logic def reflexivity (R : set Prop → Prop → Prop) := ∀ α : Prop, R {α} α def monotonicity (R : set Prop → Prop → Prop) : Prop := ∀ Γ Δ : set Prop, ∀ α : Prop, Γ ⊆ Δ ∧ R Γ α → R Δ α def transitivity (R : set Prop → Prop → Prop) : Prop := ∀ Γ...
813d4746d981843d26f6b9225f9fade5ac77fe33
94e33a31faa76775069b071adea97e86e218a8ee
/src/algebra/hom/freiman.lean
5de585bf795de68b457ba1e0247f758e6385c7e3
[ "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
17,321
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 algebra.big_operators.multiset import data.fun_like.basic /-! # Freiman homomorphisms In this file, we define Freiman homomorphisms. A `n`-Freiman homomorphism o...
b3b4e30fff2616a35b5c7e24e44552e760109059
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/order/bounded_lattice.lean
031650ae4b88e97fd2d4d283ab6f7f489e43cc28
[ "Apache-2.0" ]
permissive
vaibhavkarve/mathlib
a574aaf68c0a431a47fa82ce0637f0f769826bfe
17f8340912468f49bdc30acdb9a9fa02eeb0473a
refs/heads/master
1,621,263,802,637
1,585,399,588,000
1,585,399,588,000
250,833,447
0
0
Apache-2.0
1,585,410,341,000
1,585,410,341,000
null
UTF-8
Lean
false
false
29,416
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 bounded lattice type class hierarchy. Includes the Prop and fun instances. -/ import order.lattice data.option.basic tactic.pi_instances set_option ol...
562f0635c541530c3dcca222bf0d102517bd020f
367134ba5a65885e863bdc4507601606690974c1
/src/algebra/group_power/lemmas.lean
1463a418a6d1107eadfcef7035720c50b3518073
[ "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
31,604
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis -/ import algebra.group_power.basic import algebra.opposites import data.list.basic import data.int.cast import data.equiv.basic import data.equiv.mul_add...
3a2c3b2a90ab0265caa19122b34e4f8e92a4c791
367134ba5a65885e863bdc4507601606690974c1
/src/data/equiv/ring.lean
0c7ff5896bf9e38478d027c0509cd1881dabad70
[ "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
13,427
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, Callum Sutton, Yury Kudryashov -/ import data.equiv.mul_add import algebra.field import algebra.opposites /-! # (Semi)ring equivs In this file we define extension of ...
6e0bc05cafec8fc3c103f7188e462ce8182d2224
cb1829c15cd3d28210f93507f96dfb1f56ec0128
/theorem_proving/02-dependent_types_part2.lean
d3eb0d5ac98d707328261883598959b081b068d1
[]
no_license
williamdemeo/LEAN_wjd
69f9f76e35092b89e4479a320be2fa3c18aed6fe
13826c75c06ef435166a26a72e76fe984c15bad7
refs/heads/master
1,609,516,630,137
1,518,123,893,000
1,518,123,893,000
97,740,278
2
0
null
null
null
null
UTF-8
Lean
false
false
5,636
lean
#print "------------------------------------------------" #print "Section 2.8 Dependent Types" -- (page 16 in new ed) /- It is clear that `cons α` should have type α → list α → list α But what type should `cons` itself have? A first guess might be Type → α → list α → list α But on refl...
d415cdcd1604ec7905d3f6f467ace19e93878e9a
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/special_functions/complex/arg.lean
59b2e80c434aefbbe207b5e8a2aeda67a425f3c5
[ "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
24,946
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, Benjamin Davidson -/ import algebra.order.to_interval_mod import analysis.special_functions.trigonometric.angle import analy...
5571977a5f1680aa5f0385d362b67d518b4f8451
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/linear_algebra/multilinear.lean
f89b3f4956d3af181133c36c07afbbbef8117b0b
[ "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
32,865
lean
/- Copyright (c) 2020 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import linear_algebra.basic import tactic.omega import data.fintype.card /-! # Multilinear maps We define multilinear maps as maps from `Π(i : ι), M₁ i` to `M...
2d53ee181a6c8fda4b9a72e171dc94b6c1110258
367134ba5a65885e863bdc4507601606690974c1
/src/algebra/category/CommRing/limits.lean
b2548386764ebfc684580b8b2edf64e7554cf5ac
[ "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
14,551
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 algebra.ring.pi import algebra.category.CommRing.basic import algebra.category.Group.limits import ring_theory.subring /-! # The category of (commutative) rin...
0bc2455fed7317b84746a6d155652bc343a731ab
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/nat/cast/basic.lean
1f06d0878e807d5c9351db06a8e5462a7cacde79
[ "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,455
lean
/- Copyright (c) 2014 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import algebra.char_zero.defs import algebra.group_with_zero.commute import algebra.hom.ring import algebra.order.group.abs import algebra.ring.commute import data.na...
e5ef847d5231419f268b8b0199255e626c979083
471bedbd023d35c9d078c2f936dd577ace7f5813
/library/init/meta/mk_has_reflect_instance.lean
62bda6ae71a4ee405e4346bc9af35eda9481445b
[ "Apache-2.0" ]
permissive
lambdaxymox/lean
e06f0fa503666df827edd9867d7f49ca017aae64
fc13c8c72a15dab71a2c2b31410c2cadc3526bd7
refs/heads/master
1,666,785,407,985
1,666,153,673,000
1,666,153,673,000
310,165,986
0
0
Apache-2.0
1,604,542,096,000
1,604,542,095,000
null
UTF-8
Lean
false
false
3,775
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich Helper tactic for constructing a has_reflect instance. -/ prelude import init.meta.rec_util namespace tactic open expr environment list /- Retrieve the name...
c338beac8be39384192ada43dd9b2d066c41cb1c
42610cc2e5db9c90269470365e6056df0122eaa0
/library/data/finset/extra_finset.lean
9ff832eb8ba2b9b0c2a4a19f5807bcf67b214b20
[ "Apache-2.0" ]
permissive
tomsib2001/lean
2ab59bfaebd24a62109f800dcf4a7139ebd73858
eb639a7d53fb40175bea5c8da86b51d14bb91f76
refs/heads/master
1,586,128,387,740
1,468,968,950,000
1,468,968,950,000
61,027,234
0
0
null
1,465,813,585,000
1,465,813,585,000
null
UTF-8
Lean
false
false
10,571
lean
import data.fintype.basic data.nat data.list.perm data.finset algebra.binary algebra.ordered_ring open nat quot subtype binary function eq.ops finset section set_operations lemma subset_inter {T : Type} [Hdeceq : decidable_eq T] {A B C : finset T} (sAB :A ⊆ B) (sAC : A ⊆ C) : A ⊆ B ∩ C := begin apply subset_of_fo...
7c590947e91acc59f274add79062dd9a70451cf1
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/category_theory/limits/filtered_colimit_commutes_finite_limit.lean
c0694db6dd574f051b6a541fa8dc619c0fb4e124
[ "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
13,459
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.limits.colimit_limit import category_theory.limits.shapes.finite_limits /-! # Filtered colimits commute with finite limits. We show that for ...
3e84b7df032fabce1a6eda0732bbeaa2e19d2707
8e2026ac8a0660b5a490dfb895599fb445bb77a0
/library/tools/smt2/builder.lean
08efc2f95aa6f9d60f00639007121d11c0cc6dae
[ "Apache-2.0" ]
permissive
pcmoritz/lean
6a8575115a724af933678d829b4f791a0cb55beb
35eba0107e4cc8a52778259bb5392300267bfc29
refs/heads/master
1,607,896,326,092
1,490,752,175,000
1,490,752,175,000
86,612,290
0
0
null
1,490,809,641,000
1,490,809,641,000
null
UTF-8
Lean
false
false
1,047
lean
import .syntax @[reducible] def smt2.builder (α : Type) := state (list smt2.cmd) α meta def smt2.builder.to_format {α : Type} (build : smt2.builder α) : format := format.join $ list.map to_fmt $ (build []).snd meta instance (α : Type) : has_to_format (smt2.builder α) := ⟨ smt2.builder.to_format ⟩ namespace smt2 na...
4f8e1e4f32a6e3b88177c747763557dbc90c01f1
1437b3495ef9020d5413178aa33c0a625f15f15f
/group_theory/coset.lean
5d67023339fe1134bb35e2dde4e59026c2636882
[ "Apache-2.0" ]
permissive
jean002/mathlib
c66bbb2d9fdc9c03ae07f869acac7ddbfce67a30
dc6c38a765799c99c4d9c8d5207d9e6c9e0e2cfd
refs/heads/master
1,587,027,806,375
1,547,306,358,000
1,547,306,358,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,403
lean
/- Copyright (c) 2018 Mitchell Rowett. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mitchell Rowett, Scott Morrison -/ import group_theory.subgroup data.equiv.basic data.quot open set function variable {α : Type*} @[to_additive left_add_coset] def left_coset [has_m...
50863c361293db81c3896673eec2ba5cb958f03b
491068d2ad28831e7dade8d6dff871c3e49d9431
/hott/algebra/order.hlean
1f4dd97ea4c15554c8f30d3fa4afb0462f170af6
[ "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
12,373
hlean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad Various types of orders. We develop weak orders "≤" and strict orders "<" separately. We also consider structures with both, where the two are related by x < y ↔ (x ≤ y...
3775af828ae8b5fe1a84518c45042d84884ce5e3
cad9160f67da6c3eecba9bb47aa1acdf5862cd58
/src/sets.lean
8e5cddbd47b855353a1eeef6ae0c0bed2cbf6658
[]
no_license
paraseba/topology-janich
902a9ecf06aa225215a4cf144bf0d6e0043b6135
270f3d2de019c093c86ac967b4ec9a4a2f25a5d3
refs/heads/master
1,671,576,401,688
1,599,706,090,000
1,599,706,090,000
291,599,865
0
0
null
null
null
null
UTF-8
Lean
false
false
1,413
lean
import tactic.basic import data.set.basic namespace set variables {α : Type*} {β : Type*} lemma union_of_sub (s: set α) (f : α → set α) (hf : ∀ x ∈ s, x ∈ f x ∧ f x ⊆ s) : s = ⋃₀ (f '' s) := begin ext, split, simp at *, { intros xs, exact ⟨ x, xs, (hf x xs).1 ⟩ }, { ...
365ccf882060f9e4e0f1a19f95d66138b3cff807
367134ba5a65885e863bdc4507601606690974c1
/src/data/nat/gcd.lean
f9a09e4ae3283ffbfbe113af7820e348e79568e2
[ "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
16,760
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura -/ import data.nat.basic /-! # Definitions and properties of `gcd`, `lcm`, and `coprime` -/ namespace nat /-! ### `gcd` -/ theorem gcd_dvd (m n : ℕ...
7515608b80404dad909e87048f8d4c8c2b6cc92d
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/limits/constructions/over/products.lean
75544c3ad3c875d373ccc705a13bd497cdcb7ab1
[ "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
6,150
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Reid Barton, Bhavik Mehta -/ import category_theory.over import category_theory.limits.shapes.pullbacks import category_theory.limits.shapes.wide_pullbacks import categ...
873873c9dcd630e3533c1c2677cbda7a27aa418d
e514e8b939af519a1d5e9b30a850769d058df4e9
/examples/knot_isotopy.lean
1ef6f20882d6e2ad56c279a8e5648c40860a2765
[]
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
6,383
lean
import tactic.rewrite_search inductive slice | pos : ℕ → slice | neg : ℕ → slice | cup : ℕ → slice | cap : ℕ → slice open slice inductive diagram | nil | cons : slice → diagram → diagram infixr ` ~~ `:80 := diagram.cons notation `t[` l:(foldr `, ` (h t, diagram.cons h t) diagram.nil `]`) := l namespace isotopy v...
732dda19ba4099a0aa5a18b14528c13e06b454d4
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/init/meta/rb_map.lean
b364c9e39184fcc420c4ada5ba313bbb38413bf3
[ "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,194
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.ordering init.meta.name init.meta.format meta_constant {u₁ u₂} rb_map : Type u₁ → Type u₂ → Type (max u₁ u₂ 1) namespac...
311de36c44e623f2c4d474d06f5988617883dda8
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/hott/init/trunc.hlean
4767025f287d30a061ea66b4a80323ac145a4dd6
[ "Apache-2.0" ]
permissive
YHVHvx/lean
732bf0fb7a298cd7fe0f15d82f8e248c11db49e9
038369533e0136dd395dc252084d3c1853accbf2
refs/heads/master
1,610,701,080,210
1,449,128,595,000
1,449,128,595,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
12,178
hlean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Floris van Doorn Definition of is_trunc (n-truncatedness) Ported from Coq HoTT. -/ --TODO: can we replace some definitions with a hprop as codomain by theorems...
7974e29f07b607719bcf40b8fdee3c4eec8f60f8
94e33a31faa76775069b071adea97e86e218a8ee
/src/measure_theory/probability_mass_function/basic.lean
b5c04e85c793ad0d82544f0b7d1ad16434ac22f9
[ "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
9,236
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 topology.instances.ennreal import measure_theory.measure.measure_space /-! # Probability mass functions This file is about probability mass funct...
50d91d7013dc23f539040c39f2a700cf1bbd2bd2
94637389e03c919023691dcd05bd4411b1034aa5
/src/zzz_junk/has_one/has_one.lean
1d68ed5e0733d38459549aa9253420f337fe9fb0
[]
no_license
kevinsullivan/complogic-s21
7c4eef2105abad899e46502270d9829d913e8afc
99039501b770248c8ceb39890be5dfe129dc1082
refs/heads/master
1,682,985,669,944
1,621,126,241,000
1,621,126,241,000
335,706,272
0
38
null
1,618,325,669,000
1,612,374,118,000
Lean
UTF-8
Lean
false
false
481
lean
import ..has_mul.has_mul namespace hidden universe u /- @[class] structure has_one (α : Type u) extends hidden.has_mul α := --(mul : α → α → α) --inherited from has_mul (one: α) -- preview of what's coming (one_mul : ∀ (a : α ), mul one a = a) (mul_one : ∀ (a : α ), mul a one = a ) -- ^^^^^^^^^^^^^^ prop...
99b7d9897e1ae8ade6501457d78a7283d4007132
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/geometry/manifold/charted_space.lean
7b26dd9a9f438849113db419d1663a18edf188d7
[ "Apache-2.0" ]
permissive
ilitzroth/mathlib
ea647e67f1fdfd19a0f7bdc5504e8acec6180011
5254ef14e3465f6504306132fe3ba9cec9ffff16
refs/heads/master
1,680,086,661,182
1,617,715,647,000
1,617,715,647,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
44,742
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import topology.local_homeomorph /-! # Charted spaces A smooth manifold is a topological space `M` locally modelled on a euclidean space (or a euclidean half-...
1807347e1486a895d70b1058c005d1c7d6071ad3
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/algebra/homology/chain_complex.lean
c5cdffa80c36c38ca78be59f99ace7679d57f5ca
[ "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
4,130
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 data.int.basic import category_theory.graded_object import category_theory.differential_object /-! # Chain complexes We define a chain complex in `V` as a di...
fc54a75c9f0fb261eae3222cc6a69810c53e75f1
618003631150032a5676f229d13a079ac875ff77
/src/tactic/finish.lean
05b643506752d33220a519e44d5c997f0ccfc1c8
[ "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
23,096
lean
/- Copyright (c) 2017 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Jesse Michael Han -/ import tactic.hint /-! # The `finish` family of tactics These tactics do straightforward things: they call the simplifier, split conjunctive assump...
33a5595dcb598e5829a55e86d77b3f1b07fc9ced
a4673261e60b025e2c8c825dfa4ab9108246c32e
/tests/lean/run/backtrackable_estate.lean
653dbc3e06fb656dc74dfaead2e9a0100b7d4cf8
[ "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
685
lean
import Init.System.IO structure MyState := (bs : Nat := 0) -- backtrackable state (ps : Nat := 0) -- non backtrackable state instance : Repr MyState := ⟨fun s => repr (s.bs, s.ps)⟩ instance : EStateM.Backtrackable Nat MyState := { save := fun s => s.bs, restore := fun s d => { s with bs := d } } abbrev M := ...
24ae2c119a7fba3926cecbd191373b3a2573042b
4da0c8e61fcd6ec3f3be47ee14a038850c03d0c3
/src/s5/default.lean
64da6bf266c28144a1ed63bd616b106e4e1cc601
[ "Apache-2.0" ]
permissive
bbentzen/mpl
fcbea60204bc8fd64667e0f76a5cebf4b67fb6ca
bb5066ec51fa11a4b66f440c4f6c9a3d8fb2e0de
refs/heads/master
1,625,175,849,308
1,624,207,634,000
1,624,207,634,000
142,774,375
9
0
null
null
null
null
UTF-8
Lean
false
false
161
lean
/- Copyright (c) 2018 Bruno Bentzen. All rights reserved. Released under the Apache License 2.0 (see "License"); Author: Bruno Bentzen -/ import ..default
3446c1c286164e591ab6eedc960967a6681a781f
ef4d3feecef33d1c1b4bd3a023b85e6a58f9e708
/theorem-proving-in-lean/ch3/Exercises.lean
aa0a476bcaa5d15d07ac628397fb41feccf9b6ee
[]
no_license
MikeMKH/kata
1b7da1b8d2cc115c912f2b06b583a8e675a449e1
305b054a37517dbe4d09545d41f024937f536c20
refs/heads/master
1,585,594,368,426
1,542,835,119,000
1,542,835,119,000
16,891,298
0
0
null
1,542,835,120,000
1,392,575,890,000
Racket
UTF-8
Lean
false
false
2,673
lean
open classical variables p q r s : Prop -- commutativity of ∧ and ∨ example : p ∧ q ↔ q ∧ p := iff.intro (assume hpq : p ∧ q, show q ∧ p, from and.intro (and.right hpq) (and.left hpq)) (assume hqp : q ∧ p, show p ∧ q, from and.intro (and.right hqp) (and.left hqp)) example : p ∨ q ↔ q ∨ p := iff....
a757c169d00c40c8036e3acb80dba5abfbea82ee
2c096fdfecf64e46ea7bc6ce5521f142b5926864
/src/Lean/Meta/Tactic/Assert.lean
953fb1cc502f454075a1bdcc3bfb53bb7b3cc369
[ "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
Kha/lean4
1005785d2c8797ae266a303968848e5f6ce2fe87
b99e11346948023cd6c29d248cd8f3e3fb3474cf
refs/heads/master
1,693,355,498,027
1,669,080,461,000
1,669,113,138,000
184,748,176
0
0
Apache-2.0
1,665,995,520,000
1,556,884,930,000
Lean
UTF-8
Lean
false
false
5,740
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.Tactic.FVarSubst import Lean.Meta.Tactic.Intro namespace Lean.Meta /-- Convert the given goal `Ctx |- target` into `Ctx |- type -> targ...
f06598d19f6b3259bf9fcf098563d566bab45c4b
87fd6b43d22688237c02b87c30d2a524f53bab24
/src/game/sets/sets_level07.lean
953af33c58beca6e6782ac19d6c3596bf7c6a6b3
[ "Apache-2.0" ]
permissive
grthomson/real-number-game
66142fedf0987db90f66daed52f9c8b42b70f909
8ddc15fdddc241c246653f7bb341df36e4e880a8
refs/heads/master
1,668,059,330,605
1,592,873,454,000
1,592,873,454,000
262,025,764
0
0
null
1,588,849,107,000
1,588,849,106,000
null
UTF-8
Lean
false
false
724
lean
import tactic --hide import game.sets.sets_level06 -- hide variable X : Type --hide open_locale classical -- hide namespace xena -- hide /- # Chapter 1 : Sets ## Level 7 : The empty set -/ /- The way to handle the empty set is the following: ``` lemma mem_empty_iff (a : X) : a ∈ (∅ : set X) ↔ false ``` -/ /- ...
294513597b9e21bc38446c7f13ef90b60e4eb6ac
82e44445c70db0f03e30d7be725775f122d72f3e
/src/algebra/big_operators/basic.lean
f2c3a73e09fff3a33f4a4f5c4fbce87281520fd0
[ "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
59,921
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import data.finset.fold import data.equiv.mul_add import tactic.abel /-! # Big operators In this file we define products and sums indexed by finite sets (specifica...
b7ad59c4e83710c701fdbd408d21dcb35eb7ed64
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/number_theory/class_number/admissible_card_pow_degree.lean
6ab5cf95274aee85d3c18621339daf8cfe3792ad
[ "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
13,861
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 data.polynomial.degree.card_pow_degree import field_theory.finite.basic import number_theory.class_number.admissible_absolute_value /-! # Admissible absolute values...
2e29ce8d56f3a32fca2562c3b1732dd425f09b9e
e030b0259b777fedcdf73dd966f3f1556d392178
/library/init/meta/vm.lean
908ab08085b2cd3a9787394577f084e217765e83
[ "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
6,400
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.meta.tactic init.data.option.basic meta constant vm_obj : Type inductive vm_obj_kind | simple | constructor | closure | native_closure...
cf690231cc4cba140897319e07dc81d184acb0a9
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/linear_algebra/exterior_algebra/grading.lean
0f5089ccbee077f215e433e70b727affb84eced1
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
3,646
lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import linear_algebra.exterior_algebra.basic import ring_theory.graded_algebra.basic /-! # Results about the grading structure of the exterior algebra > THIS FILE IS SYNC...
c680373f1934dcba413e56ecadb15bb772774488
367134ba5a65885e863bdc4507601606690974c1
/src/data/multiset/pi.lean
49747b7d9ea08fcccb9b40753493712a3068434b
[ "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
4,893
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl -/ import data.multiset.nodup /-! # The cartesian product of multisets -/ namespace multiset section pi variables {α : Type*} open function /-- Given `δ : α → Type*`,...
6a96938665ffda836432d9354d871f95869e4a29
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/measure_theory/measure/outer_measure.lean
6a3327d60630dec81d74341747aade2282f55ade
[ "Apache-2.0" ]
permissive
troyjlee/mathlib
e18d4b8026e32062ab9e89bc3b003a5d1cfec3f5
45e7eb8447555247246e3fe91c87066506c14875
refs/heads/master
1,689,248,035,046
1,629,470,528,000
1,629,470,528,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
61,599
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 analysis.specific_limits import measure_theory.pi_system import data.matrix.notation import topology.algebra.infinite_sum /-! # Outer Measures...
2af22d2cb498477d91f83722e4a83e4e141242a2
94e33a31faa76775069b071adea97e86e218a8ee
/src/category_theory/adjunction/evaluation.lean
1bcf4ca7e93ef024c0c56e0146829e7f296674c3
[ "Apache-2.0" ]
permissive
urkud/mathlib
eab80095e1b9f1513bfb7f25b4fa82fa4fd02989
6379d39e6b5b279df9715f8011369a301b634e41
refs/heads/master
1,658,425,342,662
1,658,078,703,000
1,658,078,703,000
186,910,338
0
0
Apache-2.0
1,568,512,083,000
1,557,958,709,000
Lean
UTF-8
Lean
false
false
4,848
lean
/- Copyright (c) 2021 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Topaz -/ import category_theory.limits.shapes.products import category_theory.functor.epi_mono /-! # Adjunctions involving evaluation We show that evaluation of functors have adjo...
3d9096aa1972705e16661428f7a90164f453f38c
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/counterexamples/canonically_ordered_comm_semiring_two_mul.lean
034e6148f77d636ea3a6836e163d7d5b368616b6
[ "Apache-2.0" ]
permissive
hikari0108/mathlib
b7ea2b7350497ab1a0b87a09d093ecc025a50dfa
a9e7d333b0cfd45f13a20f7b96b7d52e19fa2901
refs/heads/master
1,690,483,608,260
1,631,541,580,000
1,631,541,580,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,496
lean
/- Copyright (c) 2021 Damiano Testa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Damiano Testa -/ import data.zmod.basic import ring_theory.subsemiring import algebra.ordered_monoid /-! A `canonically_ordered_comm_semiring` with two different elements `a` and `b` s...
1b91ef4bbedb891cd0d7f69698a220653d645f22
eecbdfcd97327701a240f05d64290a19a45d198a
/lib_devel/simplifier.lean
278f082f3fe3fca4c61af1ac55e79f44997aa2fe
[]
no_license
johoelzl/hanoifabs
d5ca27df51f9bccfb0152f03b480e9e1228a4b14
4235c6bc5d664897bbf5dde04e2237e4b20c9170
refs/heads/master
1,584,514,375,379
1,528,258,129,000
1,528,258,129,000
134,419,383
0
1
null
null
null
null
UTF-8
Lean
false
false
4,267
lean
/- Simplifier -/ #check tactic.simplify #check tactic.interactive.simp /- The simplifier is currently the most powerful tactic in Lean (besides definitional equality). Many problems can be solved by rewriting. But for this it is important to understand the simplifier and how to organize its rewrite rules. Basic ide...
ae7773d0f09c7b7763dbb5047a929156bc1a6007
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/data/list/defs.lean
a6284d0fec801fd3811f130798e0c557a1879fb1
[ "Apache-2.0" ]
permissive
JLimperg/aesop3
306cc6570c556568897ed2e508c8869667252e8a
a4a116f650cc7403428e72bd2e2c4cda300fe03f
refs/heads/master
1,682,884,916,368
1,620,320,033,000
1,620,320,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
34,744
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.option.defs import logic.basic import tactic.cache /-! ## Definitions on lists Th...
e7971677e4a35b3ede1c0b9e2f30e085648b5edc
2731214ea32f2a1a985300e281fb3117640a16c3
/portmanteau_integrals.lean
767b6ef763109d22af39d86e151a20b18b98ac6f
[ "Apache-2.0" ]
permissive
kkytola/lean_portmanteau
5d6a156db959974ebc4f5bed9118a7a2438a33fa
ac55eb4e24be43032cbc082e2b68d8fb8bd63f22
refs/heads/main
1,686,107,117,334
1,625,177,052,000
1,625,177,052,000
381,514,032
1
0
null
null
null
null
UTF-8
Lean
false
false
14,695
lean
/- Copyright (c) 2021 Kalle Kytölä. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kalle Kytölä -/ import tactic import measure_theory.measurable_space import measure_theory.integration import measure_theory.bochner_integration import measure_theory.borel_space import...
4315dfd570ae36b74b3b6133e623ec77b7465049
efce24474b28579aba3272fdb77177dc2b11d7aa
/src/homotopy_theory/topological_spaces/cylinder.lean
1833aad90bd8ceacd18ed3f866cd996d0a32833d
[ "Apache-2.0" ]
permissive
rwbarton/lean-homotopy-theory
cff499f24268d60e1c546e7c86c33f58c62888ed
39e1b4ea1ed1b0eca2f68bc64162dde6a6396dee
refs/heads/lean-3.4.2
1,622,711,883,224
1,598,550,958,000
1,598,550,958,000
136,023,667
12
6
Apache-2.0
1,573,187,573,000
1,528,116,262,000
Lean
UTF-8
Lean
false
false
2,524
lean
import topology.instances.real import category_theory.adjunction import tactic.norm_num import homotopy_theory.formal.cylinder.definitions import .category import .exponentiable noncomputable theory open category_theory open homotopy_theory.cylinder namespace homotopy_theory.topological_spaces -- TODO: Universes. ...
db7974b620da5f8741a80f015ebfb6322737f674
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/finset/nat_antidiagonal.lean
b74d438a74abadeeec10d540af3f0f0e6c9036ae
[ "Apache-2.0" ]
permissive
robertylewis/mathlib
3d16e3e6daf5ddde182473e03a1b601d2810952c
1d13f5b932f5e40a8308e3840f96fc882fae01f0
refs/heads/master
1,651,379,945,369
1,644,276,960,000
1,644,276,960,000
98,875,504
0
0
Apache-2.0
1,644,253,514,000
1,501,495,700,000
Lean
UTF-8
Lean
false
false
4,456
lean
/- Copyright (c) 2019 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import data.finset.card import data.multiset.nat_antidiagonal /-! # Antidiagonals in ℕ × ℕ as finsets This file defines the antidiagonals of ℕ × ℕ as finsets: the `...
8d85afb87c79ac485382291fb089c6ebca45ffd8
86f6f4f8d827a196a32bfc646234b73328aeb306
/examples/logic/unnamed_148.lean
5da766114341cb9a911d201cb10720dd4c716410
[]
no_license
jamescheuk91/mathematics_in_lean
09f1f87d2b0dce53464ff0cbe592c568ff59cf5e
4452499264e2975bca2f42565c0925506ba5dda3
refs/heads/master
1,679,716,410,967
1,613,957,947,000
1,613,957,947,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
369
lean
import data.real.basic -- BEGIN lemma my_lemma : ∀ {x y ε : ℝ}, 0 < ε → ε ≤ 1 → abs x < ε → abs y < ε → abs (x * y) < ε := begin intros x y ε epos ele1 xlt ylt, calc abs (x * y) = abs x * abs y : sorry ... ≤ abs x * ε : sorry ... < 1 * ε : sorry ... = ε ...
120a70cf0959c70770d4efd1d862b49dd5faa751
618003631150032a5676f229d13a079ac875ff77
/src/tactic/pi_instances.lean
e721cf8d72ec9a5723d59f602b5d5633e9a03cee
[ "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,018
lean
/- Copyright (c) 2018 Simon Hudon All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon -/ import order.basic /-! # `pi_instance` Automation for creating instances of mathematical structures for pi types -/ namespace tactic open tactic.interactive /-- Attempt ...
8a540e131c544b067de95e1dbe0a67a1808366c0
ec5e5a9dbe7f60fa5784d15211d8bf24ada0825c
/src/Parser.lean
d0f644101aa5c971de62f2900c0e48623a367047
[]
no_license
pnwamk/lean-llvm
fcd9a828e52e80eb197f7d9032b3846f2e09ef74
ebc3bca9a57a6aef29529d46394f560398fb5c9c
refs/heads/master
1,668,418,078,706
1,593,548,643,000
1,593,548,643,000
258,617,753
0
0
null
1,587,760,298,000
1,587,760,298,000
null
UTF-8
Lean
false
false
3,992
lean
import Init.Control.Alternative import Init.Control.Applicative import Init.Control.Monad import Init.Data.Char namespace Nat. def fromDigitsAux : List Nat → Nat → Nat | [], n => n | d::ds, n => fromDigitsAux ds (n*10 + d). def fromDigits (ds:List Nat) := fromDigitsAux ds 0. end Nat. structure parse (α:...
8d44a1011924f3fb51999027721d6298e0063cbd
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/data/fin.lean
e31b36b66fea9c8eaadc756f85d0686bc041c786
[ "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
66,516
lean
/- Copyright (c) 2017 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis, Keeley Hoek -/ import data.nat.cast import data.int.basic import tactic.localized import tactic.apply_fun import order.rel_iso /-! # The finite type with `n` element...
77af819efe29916c69391b8133ded40fc904b97b
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/src/Init/Lean/Parser/Transform.lean
d0bf65ae25340739736e02040e20b2eea6fdc898
[ "Apache-2.0" ]
permissive
mhuisi/lean4
28d35a4febc2e251c7f05492e13f3b05d6f9b7af
dda44bc47f3e5d024508060dac2bcb59fd12e4c0
refs/heads/master
1,621,225,489,283
1,585,142,689,000
1,585,142,689,000
250,590,438
0
2
Apache-2.0
1,602,443,220,000
1,585,327,814,000
C
UTF-8
Lean
false
false
1,561
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ import Init.Lean.Parser.Parser namespace Lean namespace Syntax def manyToSepBy (stx : Syntax) (sepTk : String) : Syntax := match stx wi...
245b74146b4ff2c615055f4fbcf58be5e616c722
626e312b5c1cb2d88fca108f5933076012633192
/src/algebra/lie/classical.lean
bdc163b8d04e711931d38b7d328647b5a0baeecd
[ "Apache-2.0" ]
permissive
Bioye97/mathlib
9db2f9ee54418d29dd06996279ba9dc874fd6beb
782a20a27ee83b523f801ff34efb1a9557085019
refs/heads/master
1,690,305,956,488
1,631,067,774,000
1,631,067,774,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,140
lean
/- Copyright (c) 2020 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import algebra.invertible import algebra.lie.skew_adjoint import algebra.lie.abelian import linear_algebra.matrix.trace /-! # Classical Lie algebras This file is the plac...
0a40e3bb5222a9f8a841cd5ad67f1dbab4a6262e
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/data/list/antidiagonal.lean
ca6dbf7312c66dd321044a0d9a64fc367b5bad4b
[ "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
1,634
lean
/- Copyright (c) 2019 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import data.list.range open list function nat namespace list namespace nat /-- The antidiagonal of a natural number `n` is the list of pairs `(i,j)` such that `i+j...
47294b4c2b09c68a3e709472fa3bc6a1ea319577
618003631150032a5676f229d13a079ac875ff77
/src/topology/category/Top/basic.lean
9faaee47056c4b0b9c0cda597710a26a3bbeaf0a
[ "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
1,325
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 category_theory.concrete_category.unbundled_hom import topology.opens open category_theory open topological_space universe u ...
46319f05589b9aa84a15d092aa5b6dfd5b5e0b05
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/match_unit.lean
1f64d52f862bf9a30791dab07409a1fda680f982
[ "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
56
lean
theorem ex : ∀ x : Unit, x = () := by intro (); rfl
82a561a9bc5396904b3b56a2b70d8a2bafc5bb2f
ad0c7d243dc1bd563419e2767ed42fb323d7beea
/set_theory/cardinal.lean
7951e85c49584e1e58795c521b981a09718cd9ea
[ "Apache-2.0" ]
permissive
sebzim4500/mathlib
e0b5a63b1655f910dee30badf09bd7e191d3cf30
6997cafbd3a7325af5cb318561768c316ceb7757
refs/heads/master
1,585,549,958,618
1,538,221,723,000
1,538,221,723,000
150,869,076
0
0
Apache-2.0
1,538,229,323,000
1,538,229,323,000
null
UTF-8
Lean
false
false
30,585
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, Mario Carneiro Cardinal arithmetic. Cardinals are represented as quotient over equinumerous types. -/ import data.set.finite data.quot logic.schroeder_bernstein logic...
7aea08a9edb3330d45fb5cbf770c0f208ba7c517
c777c32c8e484e195053731103c5e52af26a25d1
/src/order/category/FinPartOrd.lean
ffa0dab0797f1f30300997653885102e7d5c0f56
[ "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
2,731
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.Fintype import order.category.PartOrd /-! # The category of finite partial orders This defines `FinPartOrd`, the category of finite partial order...
ee6b2dcf3519273598a2ef16aeae3b3bddb58090
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/library/data/sigma/thms.lean
720b700bc02bc35d2fc7486b65d46370f215ab7b
[ "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
3,424
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, Floris van Doorn import data.sigma.decl open inhabited eq.ops sigma.ops namespace sigma universe variables u v variables {A A' : Type...
092c310325e65be948d7d6849c40a779d176f30e
d436468d80b739ba7e06843c4d0d2070e43448e5
/src/category_theory/adjunction/limits.lean
13e8a14371883cd77a310fb3dc16d873c20601d1
[ "Apache-2.0" ]
permissive
roro47/mathlib
761fdc002aef92f77818f3fef06bf6ec6fc1a28e
80aa7d52537571a2ca62a3fdf71c9533a09422cf
refs/heads/master
1,599,656,410,625
1,573,649,488,000
1,573,649,488,000
221,452,951
0
0
Apache-2.0
1,573,647,693,000
1,573,647,692,000
null
UTF-8
Lean
false
false
7,619
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Johan Commelin -/ import category_theory.adjunction.basic import category_theory.limits.preserves open opposite namespace category_theory.adjunction open category_theory op...
8345b83824e299ea74dde35dbcec2ffd8c5d7670
367134ba5a65885e863bdc4507601606690974c1
/src/topology/paracompact.lean
7d8bd67563e8ea0d79aecdaef511d412e192f850
[ "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
15,310
lean
/- Copyright (c) 2021 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Yury Kudryashov -/ import topology.subset_properties import topology.separation import data.option.basic /-! # Paracompact topological spaces A topological space `X` is...
3f4cc625ef82cf4d6f11a2113bf7fb2ad8db3aee
934eae675a9d997202bb021816325184e7d694aa
/_notes/Languages/lean/basics.lean
edd16952028f23f71ebc61117add7937384537d1
[]
no_license
philzook58/philzook58.github.io
da78841df4ffd9a19c81e0eab833983d95a64b70
76000a5847bd6ee41dff25937ae916835bbcf03f
refs/heads/master
1,692,951,958,916
1,692,631,945,000
1,692,631,945,000
91,513,884
9
4
null
1,677,330,791,000
1,494,977,989,000
Jupyter Notebook
UTF-8
Lean
false
false
608
lean
#eval 1 + 1 -- it's a nat #eval String.append "hello" "world" #eval if 1 > 2 then "yes" else "no" #eval (1 + 1 : Int) /- block comment -/ def hello := "hello" def Str : Type := String abbrev N : Type := Nat #check 1.2 structure Point where x : Float y : Float deriving Repr #check ({x := 1, y := 2} : Point) in...
707eefa2d27656eb5711532dc35b5e9c96320e12
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/calc1.lean
b8a19cee4e9d5b45767fb080f7bd1707b5a5449e
[ "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
1,651
lean
prelude constant A : Type.{1} definition bool : Type.{1} := Type.{0} constant eq : A → A → bool infixl ` = `:50 := eq axiom subst (P : A → bool) (a b : A) (H1 : a = b) (H2 : P a) : P b axiom eq_trans (a b c : A) (H1 : a = b) (H2 : b = c) : a = c axiom eq_refl (a : A) : a = a constant le : A → A → bool infixl ` ≤ `:50 :...
e9717780cafa23159a189ecd57b3223f75995190
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/group_theory/group_action/defs.lean
8c4de95dfd9687b12a6d9832e74ab5fcd50885e7
[ "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,165
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Yury Kudryashov -/ import algebra.group.defs import algebra.group.hom import algebra.group.type_tags import algebra.opposites import logic.embedding /-! # Definitions of g...
fdf533094d30318d7070a956a5cf7f5f384b9e16
e514e8b939af519a1d5e9b30a850769d058df4e9
/src/tactic/rewrite_search/metric/edit_distance/core.lean
1bac1a16d41325e3050df3e3580aa51a95611858
[]
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
5,355
lean
import tactic.rewrite_search.core import tactic.rewrite_search.module import data.rat.basic open tactic.rewrite_search open tactic.rewrite_search.bound_progress namespace tactic.rewrite_search.edit_distance variables {α : Type} [decidable_eq α] @[derive decidable_eq] structure ed_partial := (prefix_length : dnum...
679fcf12c240ea4eb6d382bdd822f88bad91bcef
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/run/match2.lean
2d8be25158f3410285590cb7b4d1d9197d62c909
[ "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
279
lean
inductive imf (f : nat → nat) : nat → Type | mk1 : ∀ (a : nat), imf (f a) | mk2 : imf (f 0 + 1) definition inv_2 (f : nat → nat) : ∀ (b : nat), imf f b → {x : nat // x > b} → nat | .(f a) (imf.mk1 .f a) x := a | .(f 0 + 1) (imf.mk2 .f) x := subtype.elt_of x
ce56f9b237bd86d6c26531670056a9a4cf0894a4
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/field_theory/subfield.lean
90333bc429b146bdc8d88f42ab0b0f2ae35dfb65
[ "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
4,449
lean
/- Copyright (c) 2018 Andreas Swerdlow. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andreas Swerdlow -/ import ring_theory.subring variables {F : Type*} [field F] (S : set F) section prio set_option default_priority 100 -- see Note [default priority] class is_sub...
aa2a1df45767dee77451d94af698a7117278d0f2
1dd482be3f611941db7801003235dc84147ec60a
/src/ring_theory/unique_factorization_domain.lean
bb2ec618c2c0995747f0ef9954e5a0e9b64e5e20
[ "Apache-2.0" ]
permissive
sanderdahmen/mathlib
479039302bd66434bb5672c2a4cecf8d69981458
8f0eae75cd2d8b7a083cf935666fcce4565df076
refs/heads/master
1,587,491,322,775
1,549,672,060,000
1,549,672,060,000
169,748,224
0
0
Apache-2.0
1,549,636,694,000
1,549,636,694,000
null
UTF-8
Lean
false
false
19,735
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Jens Wagemaker Theory of unique factorization domains. @TODO: setup the complete lattice structure on `factor_set`. -/ import ring_theory.associated algebra.gcd_domai...
d107361a771cc197bd4f991a4aade72e7c288db4
a9fe717b93ccfa4b2e64faeb24f96dfefb390240
/ee.lean
d58789f8428c4c6ab3587f1e5a38342aee6c2c0f
[]
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
13,018
lean
import .int .clause def sgm (v : nat → int) (b : int) (as : list int) (n) := let a_n : int := as.get n in let m : int := a_n + 1 in ((symmod b m) + (coeffs.val v (as.map (λ x, symmod x m)))) / m /- Given a term t such that 0 = t and t = b + a₀ * x₀ + ... aₘ * xₘ, solve for the nth variable xₙ, obtain equation of...
64a07b4781b3eb0a4dc014f460101a8509add909
947b78d97130d56365ae2ec264df196ce769371a
/stage0/src/Lean/Meta/Tactic/Util.lean
6b19ceda3771b534e63c3b0d3a647752afe71347
[ "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
2,087
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.Basic import Lean.Meta.AppBuilder import Lean.Meta.LevelDefEq namespace Lean namespace Meta /-- Aka user name -/ def getMVarTag (mvarId :...
7fae3b5e5d06350af346498162fb0b8cfbb8e533
75c54c8946bb4203e0aaf196f918424a17b0de99
/old/language_term_ln2.lean
a52c131f2352d9279c28ab17bdc81565f10c48e6
[ "Apache-2.0" ]
permissive
urkud/flypitch
261e2a45f1038130178575406df8aea78255ba77
2250f5eda14b6ef9fc3e4e1f4a9ac4005634de5c
refs/heads/master
1,653,266,469,246
1,577,819,679,000
1,577,819,679,000
259,862,235
1
0
Apache-2.0
1,588,147,244,000
1,588,147,244,000
null
UTF-8
Lean
false
false
16,847
lean
/- Another implementation of locally nameless representation, more faithful to Chaugeuraud's specification. Thank you to Floris for the code underlying preterms and preformulas. ---Jesse 2018-10-15T19:59:39 -/ structure Language := (relations : Π n : nat, Type) (functions : Π n : nat, Type) section parameter L : Lan...
ead006d74ffed7041cbc87927b8da5efa951af61
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/13_More_Tactics.org.1.lean
71d65114dfbdf4cbfa27be4ffab1e84fddbca922
[]
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
515
lean
import standard import data.nat open nat theorem zero_add (x : ℕ) : 0 + x = x := begin induction x with x ih, {exact rfl}, rewrite [add_succ, ih] end theorem succ_add (x y : ℕ) : succ x + y = succ (x + y) := begin induction y with y ih, {exact rfl}, rewrite [add_succ, ih] end theorem add.comm (x y : ℕ) : x + y = y +...
4d04a911e52f66a6c22cb649f6e30d45497075c6
5e42295de7f5bcdf224b94603a8ec29b17c2d367
/control.lean
fce7aa073324d7b9a50aa6acc4080a1d3e93d3eb
[]
no_license
pnmadelaine/lean_polya
9369e0d87dce773f91383bb58ac6fde0a00a1a40
1c62b0b3fa71044b0225ce28030627d251b08ebc
refs/heads/master
1,590,161,172,243
1,515,010,019,000
1,515,010,019,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,968
lean
import .blackboard .proof_reconstruction .sum_form .prod_form data.hash_map .normalizer3 open polya tactic meta def expr_to_ineq : expr → tactic (expr × expr × ineq) | `(%%x ≤ (%%c : ℚ)*%%y) := do c' ← eval_expr rat c, return $ (x, y, ineq.of_comp_and_slope comp.le (slope.some c')) | `(%%x < (%%c : ℚ)*%%y) := d...
1f316fbfcbddccd516084e2b4c8894f207ae2640
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/lake/examples/targets/src/c.lean
7148b3c48f06f7db56e825a25c79fdaf8fe3c225
[ "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
40
lean
def main : IO PUnit := IO.println "c"
a04818985247a283d825ea67859a2890665ed6e0
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/apply4.lean
4e6439af8d6cfbb14ac4a90c34c0cfa3726321ba
[ "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
1,081
lean
open tactic bool universe variables u constant foo {A : Type u} [inhabited A] (a b : A) : a = default → a = b example (a b : nat) : a = 0 → a = b := by do intro `H, apply (expr.const `foo [level.of_nat 0]), trace_state, assumption definition ex : inhabited (nat × nat × bool) := by apply_instance set_option p...
72d91cd4f47ecda07ba09105051f17a7914f0a35
f5f7e6fae601a5fe3cac7cc3ed353ed781d62419
/src/data/list/defs.lean
5545a4d90120e9998835ff87e1f95990e40fbaf1
[ "Apache-2.0" ]
permissive
EdAyers/mathlib
9ecfb2f14bd6caad748b64c9c131befbff0fb4e0
ca5d4c1f16f9c451cf7170b10105d0051db79e1b
refs/heads/master
1,626,189,395,845
1,555,284,396,000
1,555,284,396,000
144,004,030
0
0
Apache-2.0
1,533,727,664,000
1,533,727,663,000
null
UTF-8
Lean
false
false
17,349
lean
/- Copyright (c) 2014 Parikshit Khanna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Mario Carneiro Extra definitions on lists. -/ import data.option.defs logic.basic logic.relator namespace list...
dcf2ccf4ef65c5cf03d537c21d4767cdf3fee14f
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/src/Init/Core.lean
7c00722efb9c6a86156a57721097a3b6e2092265
[ "Apache-2.0" ]
permissive
dupuisf/lean4
d082d13b01243e1de29ae680eefb476961221eef
6a39c65bd28eb0e28c3870188f348c8914502718
refs/heads/master
1,676,948,755,391
1,610,665,114,000
1,610,665,114,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
34,451
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura notation, basic datatypes and type classes -/ prelude import Init.Prelude import Init.Notation universes u v w def inline {α : Sort u} (a : α) : α := a @[i...
833574307a13cb7df854946eb9a436f1a2c22d23
7cef822f3b952965621309e88eadf618da0c8ae9
/src/linear_algebra/sesquilinear_form.lean
e48724c3387ce6a8c476492818e3ccf386d1979f
[ "Apache-2.0" ]
permissive
rmitta/mathlib
8d90aee30b4db2b013e01f62c33f297d7e64a43d
883d974b608845bad30ae19e27e33c285200bf84
refs/heads/master
1,585,776,832,544
1,576,874,096,000
1,576,874,096,000
153,663,165
0
2
Apache-2.0
1,544,806,490,000
1,539,884,365,000
Lean
UTF-8
Lean
false
false
8,616
lean
/- Copyright (c) 2018 Andreas Swerdlow. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Andreas Swerdlow -/ import algebra.module ring_theory.maps /-! # Sesquilinear form This file defines a bilinear form over a module. The definition requires a ring antiautomorphism ...
f5e2b593d9d8c0e96071128cc13411b254152065
c777c32c8e484e195053731103c5e52af26a25d1
/src/geometry/euclidean/sphere/ptolemy.lean
aa5d6eaa4fec350493a1b51b9eaea53cebe7b855
[ "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
3,420
lean
/- Copyright (c) 2021 Manuel Candales. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Manuel Candales, Benjamin Davidson -/ import geometry.euclidean.sphere.power import geometry.euclidean.triangle /-! # Ptolemy's theorem This file proves Ptolemy's theorem on the len...
af7965c075c5df49398af36e5c3675057b07c6ce
64874bd1010548c7f5a6e3e8902efa63baaff785
/tests/lean/run/e15.lean
3ef931c2f850a685c2fe417eee05bdb1e6e00fc9
[ "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
708
lean
prelude inductive nat : Type := zero : nat, succ : nat → nat namespace nat end nat open nat inductive list (A : Type) : Type := nil {} : list A, cons : A → list A → list A namespace list end list open list check nil check nil.{1} check @nil.{1} nat check @nil nat check cons zero nil inductive vector (A : Type) : n...
d763cb37afa797a622c1aea1417c5dcc9012775a
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/polynomial/basic_auto.lean
6837f1c83e77e227f40dbb7939f39e31cdd97f4a
[]
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
7,946
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.ring_exp import Mathlib.tactic.chain imp...
80dc714fed90c676badce9d1af7cdfa3bd7fde64
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/measure_theory/measure/portmanteau.lean
634dd2cf2dbff474a6ec471548f4d27df9927916
[ "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
22,733
lean
/- Copyright (c) 2021 Kalle Kytölä. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kalle Kytölä -/ import measure_theory.measure.probability_measure /-! # Characterizations of weak convergence of finite measures and probability measures This file will provide portman...
6d48e016af3124ef500698a6bb4966a251d34e4e
c777c32c8e484e195053731103c5e52af26a25d1
/src/measure_theory/group/add_circle.lean
50e9ffcab8e9cca805900db6ae79ae88fd2605cd
[ "Apache-2.0" ]
permissive
kbuzzard/mathlib
2ff9e85dfe2a46f4b291927f983afec17e946eb8
58537299e922f9c77df76cb613910914a479c1f7
refs/heads/master
1,685,313,702,744
1,683,974,212,000
1,683,974,212,000
128,185,277
1
0
null
1,522,920,600,000
1,522,920,600,000
null
UTF-8
Lean
false
false
5,347
lean
/- Copyright (c) 2022 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import measure_theory.integral.periodic import data.zmod.quotient /-! # Measure-theoretic results about the additive circle The file is a place to collect measure-theoret...
5bb1431a657e036b0175e1639e8fb6d479f64d90
761fea1362b10b4c588c2dfc0ae90c70b119e35d
/src/imports.lean
3af10d035ea920529fd08afcf079266bbeac9b9e
[]
no_license
holtzermann17/mm-lean
382a29fca5245f97cf488c525ed0c9594917f73b
a9130d71ed448f62df28d4128043b707bad85ccd
refs/heads/master
1,588,477,413,982
1,553,885,046,000
1,553,885,046,000
178,404,617
0
0
null
1,553,863,829,000
1,553,863,828,000
null
UTF-8
Lean
false
false
2,223
lean
import algebra --default -- import algebra.archimedean -- import algebra.big_operators -- import algebra.char_zero -- import algebra.euclidean_domain -- import algebra.ordered_field -- import algebra.pi_instances -- import analysis.complex -- import analysis.ennreal -- import analysis.limits -- import analysis.measure_...
e8ade872e41548cdc8b25a27b5edb2d55f3491f3
35b83be3126daae10419b573c55e1fed009d3ae8
/_target/deps/mathlib/data/zmod/quadratic_reciprocity.lean
fff4181f57e16c1b6b54e43288eb65882bd85d29
[]
no_license
AHassan1024/Lean_Playground
ccb25b72029d199c0d23d002db2d32a9f2689ebc
a00b004c3a2eb9e3e863c361aa2b115260472414
refs/heads/master
1,586,221,905,125
1,544,951,310,000
1,544,951,310,000
157,934,290
0
0
null
null
null
null
UTF-8
Lean
false
false
32,423
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 field_theory.finite data.zmod.basic algebra.pi_instances open function finset nat finite_field zmodp namespace zmodp variables {p q : ℕ} (hp : prime p) (hq : pr...
00ee95af7eadd526ded231b31c2585998f9104c3
94e33a31faa76775069b071adea97e86e218a8ee
/src/ring_theory/polynomial/cyclotomic/basic.lean
0fe57a78fdc297b783f616ed9b852453f5bbdd16
[ "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
48,143
lean
/- Copyright (c) 2020 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca -/ import algebra.polynomial.big_operators import analysis.complex.roots_of_unity import data.polynomial.lifts import field_theory.separable import field_theory.split...
07e4b6cbdb5efcb97251d7f3c9ac4e433d60edf4
f618aea02cb4104ad34ecf3b9713065cc0d06103
/src/data/zsqrtd/gaussian_int.lean
27a89827f21a226bbe84a3274c82a7e9eb9f5845
[ "Apache-2.0" ]
permissive
joehendrix/mathlib
84b6603f6be88a7e4d62f5b1b0cbb523bb82b9a5
c15eab34ad754f9ecd738525cb8b5a870e834ddc
refs/heads/master
1,589,606,591,630
1,555,946,393,000
1,555,946,393,000
182,813,854
0
0
null
1,555,946,309,000
1,555,946,308,000
null
UTF-8
Lean
false
false
7,167
lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Chris Hughes The gaussian integers ℤ[i]. -/ import data.zsqrtd.basic data.complex.basic algebra.euclidean_domain algebra.associated open zsqrtd complex local attribute [instance, prior...
1fc7874bc3782d2bb04840ce408d0198ec6ad469
1d02a718c550dba762f0c3d2ad13d16a43649ca1
/src/theorem.lean
eb1ba055e607d95293115f34ff2ec4bf98df9411
[ "Apache-2.0" ]
permissive
mhuisi/rc-correctness
48488dfbbe18e222399b0c5252d2803a9dd1be74
2b7878ac594ba285b0b5cdabe96f41c6e3bbcc87
refs/heads/master
1,590,988,773,033
1,585,334,858,000
1,585,334,858,000
190,653,803
0
1
null
null
null
null
UTF-8
Lean
false
false
42,462
lean
import compiler import well_formedness namespace rc_correctness open rc_correctness.expr open rc_correctness.fn_body open rc_correctness.lin_type lemma not_𝔹_iff_𝕆 {τ : lin_type} : τ ≠ 𝔹 ↔ τ = 𝕆 := begin cases τ; split; intro h; contradiction <|> refl end lemma not_𝕆_iff_𝔹 {τ : lin_type} : τ ≠ 𝕆 ↔ τ = �...
5ee51bc2642c61e03dac7c3b7965b9fdb96f2c4c
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/analysis/specific_limits.lean
5064060955ff916739cdb5b8d0a221cd90ceb785
[ "Apache-2.0" ]
permissive
vaibhavkarve/mathlib
a574aaf68c0a431a47fa82ce0637f0f769826bfe
17f8340912468f49bdc30acdb9a9fa02eeb0473a
refs/heads/master
1,621,263,802,637
1,585,399,588,000
1,585,399,588,000
250,833,447
0
0
Apache-2.0
1,585,410,341,000
1,585,410,341,000
null
UTF-8
Lean
false
false
21,549
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 A collection of specific limit computations. -/ import analysis.normed_space.basic algebra.geom_sum import topology.instances.ennreal noncomputable theory open_locale ...
a0dc39f96d6fd75096f2f6cc3c50bbed53669a66
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/category_theory/pi/basic.lean
d69225d400c307f6390fa376a180699708fe8a91
[ "Apache-2.0" ]
permissive
hjvromen/lewis
40b035973df7c77ebf927afab7878c76d05ff758
105b675f73630f028ad5d890897a51b3c1146fb0
refs/heads/master
1,677,944,636,343
1,676,555,301,000
1,676,555,301,000
327,553,599
0
0
null
null
null
null
UTF-8
Lean
false
false
4,343
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Scott Morrison -/ import category_theory.natural_isomorphism import category_theory.eq_to_hom /-! # Categories of indexed families of objects. We define the pointwise ca...
8a72bd0cf06f56bb07891d183184e13d7ca82c7b
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/measure_theory/lp_space.lean
fb453c38d20fab06345c3c142d808f6d2ddd15ff
[ "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
31,905
lean
/- Copyright (c) 2020 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Rémy Degenne. -/ import measure_theory.ess_sup import measure_theory.l1_space import analysis.mean_inequalities /-! # ℒp space and Lp space This file describes properties of almost ever...
7cc292853aa56d38b095bc07d570d09e13974098
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/socket_server.lean
14ca12d25d21563b8a6cb40e0c5e38db31c79c3c
[ "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
1,430
lean
import system.io def SECRET : string := "SECRET_DATA" meta def start_client : io io.proc.child := do test_dir ← io.env.get "TEST_DIR", (bin_dir, test_dir) ← return $ match test_dir with | some s := (s ++ "/../../../", s ++ "/") | none := ("", "tests/lean/run/") end, io.proc.spawn { cmd ...
118b042862fdd0af0765683a0d1bd6f2d2032c34
d7189ea2ef694124821b033e533f18905b5e87ef
/galois/crypto/sha2.lean
7aa232adb66bde76235aeb6d73b7a0964976ac69
[ "Apache-2.0" ]
permissive
digama0/lean-protocol-support
eaa7e6f8b8e0d5bbfff1f7f52bfb79a3b11b0f59
cabfa3abedbdd6fdca6e2da6fbbf91a13ed48dda
refs/heads/master
1,625,421,450,627
1,506,035,462,000
1,506,035,462,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,037
lean
import galois.bitvec.join import galois.bitvec.rotate namespace crypto section pair_list open list definition pair_list_aux {α β : Type} (z : α) (f : α → α → β) : option α → list α → list β | none [] := [] | (some x) [] := [f x z] | none (x :: l) := pair_list_aux (some x) l | (some x...
c64503f946b0a884909396905a416c4b5a1a93cc
3618c6e11aa822fd542440674dfb9a7b9921dba0
/src/HNN_normalize.lean
f83587bf14788260e68ed5a4bd335a216c34422d
[]
no_license
ChrisHughes24/single_relation
99ceedcc02d236ce46d6c65d72caa669857533c5
057e157a59de6d0e43b50fcb537d66792ec20450
refs/heads/master
1,683,652,062,698
1,683,360,089,000
1,683,360,089,000
279,346,432
0
0
null
null
null
null
UTF-8
Lean
false
false
14,418
lean
import initial import P import data.list.min_max /-! # HNN normalization for the group_thingy tactic This file implements the HNN normalization process and proof certificate generation for the `group_thingy` tactic. ## Main definitions This file contains the definition `HNN_normalize`, which is the only definition i...
64f4c34e482ef2ba834b622525532d1687422efd
50b3917f95cf9fe84639812ea0461b38f8f0dbe1
/canonical_isomorphism/equiv_question.lean
df7664d045dd77c2ddea303a3b8e04df85a95447
[]
no_license
roro47/xena
6389bcd7dcf395656a2c85cfc90a4366e9b825bb
237910190de38d6ff43694ffe3a9b68f79363e6c
refs/heads/master
1,598,570,061,948
1,570,052,567,000
1,570,052,567,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
778
lean
import data.equiv universes u v y z def αu (X Y : Type u) := X → Y def αuv (X : Type u) (Y : Type v) := X → Y def αv (X Y : Type v) := X → Y definition u_v {X : Type z} {Y : Type z} : equiv (αu X Y) (αv X Y) := { to_fun := λ f,f, inv_fun := λ f,f, left_inv := λ x,rfl, right_inv := λ x,rfl, } definition u_uv...
286b13269462d3c2287c1c2f0ce00fdff90f8374
9dc8cecdf3c4634764a18254e94d43da07142918
/src/logic/equiv/local_equiv.lean
ffdc7f1f2075fbc88ea4f513182e71930c682e04
[ "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
35,625
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import data.set.function import logic.equiv.basic /-! # Local equivalences This files defines equivalences between subsets of given types. An element `e` of `...