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
a3bc8541369ef8df3d13d1513418bd20dcf87097
de91c42b87530c3bdcc2b138ef1a3c3d9bee0d41
/demo/test_case.lean
8632c4be282c01d5ed3615f4024b326d1b6cbcf6
[]
no_license
kevinsullivan/lang
d3e526ba363dc1ddf5ff1c2f36607d7f891806a7
e9d869bff94fb13ad9262222a6f3c4aafba82d5e
refs/heads/master
1,687,840,064,795
1,628,047,969,000
1,628,047,969,000
282,210,749
0
1
null
1,608,153,830,000
1,595,592,637,000
Lean
UTF-8
Lean
false
false
1,669
lean
import ..expressions.time_expr_current open lang.time abbreviation F := lang.time.K lemma k_eq_Q : F = ℚ := rfl --lang is configured for the rationals def world_time_in_seconds_fr : time_frame_expr := [time_std_frame F] def world_time_in_seconds : time_space_expr world_time_in_seconds_fr := [time_std_space F] ...
ecdf4d6ccd65c0a003f28ca9d6e0411dcbaaa9ac
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/topology/G_delta.lean
600f631e71f56aa38d3f5d2f76a5e0e93331a6cd
[ "Apache-2.0" ]
permissive
waynemunro/mathlib
e3fd4ff49f4cb43d4a8ded59d17be407bc5ee552
065a70810b5480d584033f7bbf8e0409480c2118
refs/heads/master
1,693,417,182,397
1,634,644,781,000
1,634,644,781,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,288
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, Yury Kudryashov -/ import topology.metric_space.emetric_space /-! # `Gδ` sets In this file we define `Gδ` sets and prove their basic properties. ## Main defini...
72d71738ae196a5bc9a7a753574d40e290bd4108
367134ba5a65885e863bdc4507601606690974c1
/src/group_theory/eckmann_hilton.lean
0b74d7c85038e4c909fd70362c3cf58839d00901
[ "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,249
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Kenny Lau, Robert Y. Lewis -/ import algebra.group.basic /-! # Eckmann-Hilton argument The Eckmann-Hilton argument says that if a type carries two monoid structures that d...
82ea536b0bf1d0cc287140b291ef14d3f80666a0
f68ef9a599ec5575db7b285d4960e63c5d464ccc
/Exercises/basics_construction.lean
7f2b2cdd0f71f68f6bd787e99fef9dc58906523a
[]
no_license
lucasmoschen/discrete-mathematics
a38d5970cc571b0b9d202bf6a43efeb8ed6f66e3
0f1945cc5eb094814c926cd6ae4a8b4c5c579a1e
refs/heads/master
1,677,111,757,003
1,611,500,097,000
1,611,500,097,000
205,903,359
1
0
null
null
null
null
UTF-8
Lean
false
false
950
lean
variables A B C: Prop --IMPLICATION section example : A → B := assume h : A, show B, from sorry end section variable h1 : A → B variable h2 : A example : B := h1 h2 end --CONJUNTION section variables (h1: A) (h2: B) example : A ∧ B := and.intro h1 h2 end section variable h3: A ∧ B ...
438f4a706baa2572b21f1998ebc1975cc21ca142
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/test/choose.lean
88d829e787b71026540981ea9b7ccd4f6f7b3568
[ "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
1,690
lean
import tactic.choose /- choice -/ example (h : ∀n m : ℕ, n < m → ∃i j, m = n + i ∨ m + j = n) : true := begin choose i j h using h, guard_hyp i : ∀n m : ℕ, n < m → ℕ, guard_hyp j : ∀n m : ℕ, n < m → ℕ, guard_hyp h : ∀ (n m : ℕ) (h : n < m), m = n + i n m h ∨ m + j n m h = n, trivial end example (h : ∀n m : ...
1f5282e3eb7e78a8f663cbf640c586b114e29625
46ee5dc7248ccc9ee615639c0c003c05f58975cd
/src/examples.lean
d17848bbd510dce5cc025b7fc78bfcb9f808a2c8
[ "Apache-2.0" ]
permissive
m4lvin/tablean
e61d593b4dde6512245192c577edeb36c48f63c0
836202612fc2bfacb5545696412e7d27f7704141
refs/heads/main
1,685,613,112,076
1,676,755,678,000
1,676,755,678,000
454,064,275
8
1
null
null
null
null
UTF-8
Lean
false
false
1,098
lean
-- EXAMPLES import syntax import semantics open has_sat lemma mytaut1 (p : char) : tautology ((·p) ↣ (·p)) := begin unfold tautology evaluate, intros W M w, simp, unfold evaluate, tauto, end open classical lemma mytaut2 (p : char) : tautology ((~ (~ · p)) ↣ · p) := begin unfold tautology evaluate, intros...
6e75a756d091dc810fe3d4ce843d81d087900ced
09d257052fff016351aa80a67b1329d43abfa651
/library/init/meta/widget/interactive_expr.lean
33039742cf26e6ba63512cccf7b6601d78c273f3
[ "Apache-2.0" ]
permissive
jipsen/lean
393b0da6988eb9896c927a026694f25a9fa0736b
6f28a08d5ab7385f42c665ec2fb6895d1a65b076
refs/heads/master
1,667,767,831,701
1,592,268,582,000
1,592,268,582,000
272,565,036
0
0
Apache-2.0
1,592,263,894,000
1,592,263,893,000
null
UTF-8
Lean
false
false
7,640
lean
/- Copyright (c) E.W.Ayers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: E.W.Ayers -/ prelude import init.meta.widget.basic import init.meta.widget.tactic_component import init.meta.tagged_format import init.data.punit meta def subexpr := (expr × expr.address) name...
05091d8fb81ff22bd92ba513271a096444137b17
737dc4b96c97368cb66b925eeea3ab633ec3d702
/stage0/src/Lean/Parser/Command.lean
4f4255f2c4f3da79bd61a7045efeaaaa5493bc08
[ "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
10,348
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 Lean.Parser.Term import Lean.Parser.Do namespace Lean namespace Parser /-- Syntax quotation for terms and (lists of) commands....
9dae74c84c3e4364cc49ab276223efe70b05c9e5
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/08_Building_Theories_and_Proofs.org.13.lean
091efe49843ef548fc800eccfd25ed6a00fc6a2c
[]
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
325
lean
import standard namespace hide variables {A : Type} (R : A → A → Prop) -- BEGIN definition symmetric : Prop := ∀ ⦃a b : A⦄, R a b → R b a definition transitive : Prop := ∀ ⦃a b c : A⦄, R a b → R b c → R a c definition euclidean : Prop := ∀ ⦃a b c : A⦄, R a b → R a c → R b c -- END end hide
c6b313addace8ae44c67f12a30355da846726eb5
9dc8cecdf3c4634764a18254e94d43da07142918
/src/model_theory/semantics.lean
4a946f2219829cf182b3b8aee6526982c9968dba
[ "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
37,182
lean
/- Copyright (c) 2021 Aaron Anderson, Jesse Michael Han, Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson, Jesse Michael Han, Floris van Doorn -/ import data.finset.basic import model_theory.syntax /-! # Basics on First-Order Semantics T...
5b6f25c6e747e7f978abf61990a21b9fd85f6f97
c8af905dcd8475f414868d303b2eb0e9d3eb32f9
/src/data/cpi/species/congruence.lean
1ffd077e42e45c86295aac83ca221870104ad124
[ "BSD-3-Clause" ]
permissive
continuouspi/lean-cpi
81480a13842d67ff5f3698643210d8ed5dd08de4
443bf2cb236feadc45a01387099c236ab2b78237
refs/heads/master
1,650,307,316,582
1,587,033,364,000
1,587,033,364,000
207,499,661
1
0
null
null
null
null
UTF-8
Lean
false
false
21,263
lean
import data.cpi.species.basic namespace cpi namespace species variables {ℍ : Type} {ω : context} /-- A chain of rewrite rules, to transform a species from one kind to another equivalent one. -/ @[nolint has_inhabited_instance] inductive equivalent : ∀ {Γ} (A B : species ℍ ω Γ), Type | refl {Γ} {A : species ℍ ω ...
cd7ecb068314067b64276bc6b3f3c559b4a3dfc5
bdb33f8b7ea65f7705fc342a178508e2722eb851
/tactic/basic.lean
0c5b4e38754693c98912d67a534f75bd22d97321
[ "Apache-2.0" ]
permissive
rwbarton/mathlib
939ae09bf8d6eb1331fc2f7e067d39567e10e33d
c13c5ea701bb1eec057e0a242d9f480a079105e9
refs/heads/master
1,584,015,335,862
1,524,142,167,000
1,524,142,167,000
130,614,171
0
0
Apache-2.0
1,548,902,667,000
1,524,437,371,000
Lean
UTF-8
Lean
false
false
4,033
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ namespace expr open tactic protected meta def to_pos_nat : expr → option ℕ | `(has_one.one _) := some 1 | `(bit0 %%e) := bit0 <$> e.to_pos_nat | `(bit1 %%e) := bit1...
5598cfe82653a3381ca2dc0de85e52860e44fb0e
4727251e0cd73359b15b664c3170e5d754078599
/src/deprecated/group.lean
0a5c6b03a9a71d5aa0b1d1559a89beae9c7bc4e3
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
12,701
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import algebra.group.type_tags import algebra.hom.equiv import algebra.hom.units import algebra.ring.basic /-! # Unbundled monoid and group homomorphisms This fil...
75d0ab3bc19422c2d37bc1661a57fa80af29a91c
32da3d0f92cab08875472ef6cacc1931c2b3eafa
/src/data/set/basic.lean
662817b359f26ee0c34c9ac48659d0dc3de0e3fa
[ "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
97,253
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 logic.unique import order.boolean_algebra /-! # Basic properties of sets Sets in Lean are homogeneous; all their elements have the same type...
68ca69862ac894c34d3a16f0259326de53624c18
7cef822f3b952965621309e88eadf618da0c8ae9
/src/tactic/omega/int/dnf.lean
07074ea3af55453e5e69fd36406a31e0069c25ab
[ "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
5,884
lean
/- Copyright (c) 2019 Seul Baek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Seul Baek DNF transformation. -/ import tactic.omega.clause import tactic.omega.int.form namespace omega namespace int open_locale omega.int @[simp] def push_neg : form → form | (p ∨* q...
f26af73fb38e43d2153df716e76a7ee15235eb9b
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/complex/is_R_or_C.lean
5c8b7e2e57240acbdee3e92cc57e07318076b7cd
[ "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
36,369
lean
/- Copyright (c) 2020 Frédéric Dupuis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Frédéric Dupuis -/ import data.real.sqrt import field_theory.tower import analysis.normed_space.finite_dimension import analysis.normed_space.star.basic /-! # `is_R_or_C`: a typeclas...
bd569ca44d6e77f54df1efeb7500a6f7e024e28b
26bff4ed296b8373c92b6b025f5d60cdf02104b9
/hott/algebra/precategory/constructions.hlean
3c877c937ea077e9013dce94963f8f000af014ac
[ "Apache-2.0" ]
permissive
guiquanz/lean
b8a878ea24f237b84b0e6f6be2f300e8bf028229
242f8ba0486860e53e257c443e965a82ee342db3
refs/heads/master
1,526,680,092,098
1,427,492,833,000
1,427,493,281,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,929
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: algebra.precategory.constructions Authors: Floris van Doorn, Jakob von Raumer This file contains basic constructions on precategories, including common precategories -/ import .nat...
13c848530010dc1a39cfbc8e719f8a9de5b3e5a2
9dc8cecdf3c4634764a18254e94d43da07142918
/src/topology/metric_space/closeds.lean
2655f95e0c8a89e571408fdeecdbd79c93c5581e
[ "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
21,191
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 analysis.specific_limits.basic import topology.metric_space.hausdorff_distance import topology.sets.compacts /-! # Closed subsets This file defines the...
f9796129e3a5bbfae4279681f2b3d86e201c4498
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/monoidal/functor.lean
18f74762dcea12ae48bb65cb899ca1c3ef6b64cf
[ "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
17,752
lean
/- Copyright (c) 2018 Michael Jendrusch. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Michael Jendrusch, Scott Morrison, Bhavik Mehta -/ import category_theory.monoidal.category import category_theory.adjunction.basic import category_theory.products.basic /-! # (Lax...
f6b162fd1546b57cc31d75f0b43528db8ef57559
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/algebra/big_operators/basic.lean
bc631d20acf4204c4e040cb5a465b6a05d1c84b5
[ "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
43,445
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...
6336cca7abb1d38cf3b7325d3ee6a34f91ef6d02
5fbbd711f9bfc21ee168f46a4be146603ece8835
/lean/natural_number_game/advanced_addition/02.lean
1c681f0add4ea8683442f34e091aabe43275f904
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
goedel-gang/maths
22596f71e3fde9c088e59931f128a3b5efb73a2c
a20a6f6a8ce800427afd595c598a5ad43da1408d
refs/heads/master
1,623,055,941,960
1,621,599,441,000
1,621,599,441,000
169,335,840
0
0
null
null
null
null
UTF-8
Lean
false
false
125
lean
theorem succ_succ_inj {a b : mynat} (h : succ(succ(a)) = succ(succ(b))) : a = b := begin exact succ_inj (succ_inj h), end
05347595f29ed7d400e524066f08191c91549fa6
8e691ffe296a38e3e9dc95845e5b607422c3c973
/src/tactic/basic.lean
6a8b62a8992b6aeb31bf7e46583eee12399b5f9e
[ "Apache-2.0" ]
permissive
jmvlangen/mathlib
8d847f7831f0e8ddebc99568704530af7c9e1a50
82f79a58df3047b8002bbaf90ce50da2a978e114
refs/heads/master
1,588,094,154,678
1,552,412,266,000
1,552,412,266,000
175,439,673
0
0
null
null
null
null
UTF-8
Lean
false
false
31,029
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Simon Hudon, Scott Morrison, Keeley Hoek -/ import data.dlist.basic category.basic meta.expr meta.rb_map namespace expr open tactic attribute [derive has_reflect] bin...
837e3236ad0a61dc48843bbc9f59579a06d184e2
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/homeomorph.lean
24f8e1f6c8068b9c7a55b94ff48328505ef776f9
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
16,801
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Patrick Massot, Sébastien Gouëzel, Zhouhang Zhou, Reid Barton -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.dense_embedding import...
458f3e5a80d824f31985e03c320da3a8a8e9cfb4
ff5230333a701471f46c57e8c115a073ebaaa448
/library/init/logic.lean
2d5d42405227a0e8ee4990f1c3a9ec68a67de02f
[ "Apache-2.0" ]
permissive
stanford-cs242/lean
f81721d2b5d00bc175f2e58c57b710d465e6c858
7bd861261f4a37326dcf8d7a17f1f1f330e4548c
refs/heads/master
1,600,957,431,849
1,576,465,093,000
1,576,465,093,000
225,779,423
0
3
Apache-2.0
1,575,433,936,000
1,575,433,935,000
null
UTF-8
Lean
false
false
39,065
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, Jeremy Avigad, Floris van Doorn -/ prelude import init.core universes u v w @[simp] lemma opt_param_eq (α : Sort u) (default : α) : opt_param α default = α ...
b7d2627bcbced502f7deea80b6dd76eeb4eec46e
94e33a31faa76775069b071adea97e86e218a8ee
/src/order/directed.lean
92cbb093cab4df76630d7e7b89b8e66b40880717
[ "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
7,602
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.set.basic import order.lattice import order.max /-! # Directed indexed families and sets This file defines directed indexed families and directed sets. ...
5469f3ae4b71fc56f18e7aecfb683d487050aea8
c8af905dcd8475f414868d303b2eb0e9d3eb32f9
/src/data/cpi/process/basic.lean
726290f1dd6f87c2e0d40928365295ce7dda6615
[ "BSD-3-Clause" ]
permissive
continuouspi/lean-cpi
81480a13842d67ff5f3698643210d8ed5dd08de4
443bf2cb236feadc45a01387099c236ab2b78237
refs/heads/master
1,650,307,316,582
1,587,033,364,000
1,587,033,364,000
207,499,661
1
0
null
null
null
null
UTF-8
Lean
false
false
628
lean
import data.cpi.species namespace cpi /-- The set of processes. Defined as one or more species, each with a non-negative concentration. Processes range over the type of concentrations (ℂ) and affinities/reaction rates (ℍ). The context parameter represents the "global affinity network", in which all p...
a923268ff83d11fc08461230238220e6917b1b43
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/filter.lean
2adb2b03378c200cd2084dead7d109860d4d3c67
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
8,625
lean
/- Copyright (c) 2022 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import order.filter.lift import topology.separation import data.set.intervals.monotone /-! # Topology on the set of filters on a type > THIS FILE IS SYNCHRONIZED ...
6e3cb20df5dd42b7e8a34d607a070706ecff1b46
64874bd1010548c7f5a6e3e8902efa63baaff785
/tests/lean/run/ind1.lean
2450b79c3c1be259e6718b3c1b90570511087a59
[ "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
167
lean
inductive list (A : Type) : Type := nil : list A, cons : A → list A → list A namespace list end list open list check list.{1} check cons.{1} check list.rec.{1 1}
490a06018ff0ea92a9ed8c34e83389b069fabfab
82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7
/stage0/src/Lean/Elab/Level.lean
5c9cb61aafdacb30458ce5ad1589dc1500f02445
[ "Apache-2.0" ]
permissive
banksonian/lean4
3a2e6b0f1eb63aa56ff95b8d07b2f851072d54dc
78da6b3aa2840693eea354a41e89fc5b212a5011
refs/heads/master
1,673,703,624,165
1,605,123,551,000
1,605,123,551,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,414
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.LevelDefEq import Lean.Elab.Exception import Lean.Elab.Log namespace Lean.Elab.Level structure Context := (ref : Syntax) (leve...
15adaae315c279acb48209bdc206afa0cbf0e743
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/postponeBinRelIssue.lean
f7603018836c756072ba9737f4758d8c55548d63
[ "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
558
lean
def as := [-1, 2, 0, -3, 4] #eval as.map fun a => ite (GE.ge a 0) [a] [] -- Works #eval as.map fun a => ite (a ≥ 0) [a] [] -- Fails if we use `withSynthesize` instead of `withSynthesizeLight` at `elabBinRel` example : True := /- Requires type annotation at the numeral, otherwise we get a type error at `rfl` be...
5614d0f4fa9a267f7ddabffd0ebfbc2fee2934eb
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/run/1374.lean
a0c3b741c84e7ae34ec516c62875b00c27042abe
[ "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
382
lean
import Lean /-- My new test option -/ register_option test : Nat := { defValue := 10 descr := "testing" } /-- My new builtin test option -/ register_builtin_option testb : Nat := { defValue := 10 descr := "testing" } /-- My new simp attribute -/ register_simp_attr mysimp "my simp attr" /-- config elab...
dce378c76ecc7ab862f0b4c3431cf8b536e6c999
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/src/Lean/Elab/Do.lean
b73fba92c8da49b22a1dfbc304d8505ccea66eed
[ "Apache-2.0" ]
permissive
collares/lean4
861a9269c4592bce49b71059e232ff0bfe4594cc
52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee
refs/heads/master
1,691,419,031,324
1,618,678,138,000
1,618,678,138,000
358,989,750
0
0
Apache-2.0
1,618,696,333,000
1,618,696,333,000
null
UTF-8
Lean
false
false
67,157
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.Term import Lean.Elab.Binders import Lean.Elab.Match import Lean.Elab.Quotation.Util import Lean.Parser.Do namespace Lean.Elab.Term open L...
c6f14c747bda4c9cd5de523fb5a2e82c3da2a862
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/def5.lean
ef25c02b8a0a6e181fc2769173536f4f4ccb671e
[ "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
95
lean
section parameter (A : Type) definition f : A → A := λ x, x check f end check f
3b398951f328228300d20487731b7f62dfe8c7ef
491068d2ad28831e7dade8d6dff871c3e49d9431
/hott/init/reserved_notation.hlean
5c81c8fabe2ec98ae1a46b10fa4269891557e77a
[ "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
2,261
hlean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.datatypes notation `assume` binders `,` r:(scoped f, f) := r notation `take` binders `,` r:(scoped f, f) := r /- Global declaratio...
87353f141470b64f84643cf5e197b32ef978ac6f
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/data/list/perm.lean
5f59bbd8225c51650ddaa05eb50e4afcad465264
[ "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
43,107
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad, Mario Carneiro -/ import data.list.bag_inter import data.list.erase_dup import data.list.zip import logic.relation /-! # List permutations -/ ...
22ed74b5d982c474cf56157d6d22a45b956a159f
3dd1b66af77106badae6edb1c4dea91a146ead30
/tests/lean/run/decidable.lean
636a605b5031aaa75a9c9309103309a49a521a5b
[ "Apache-2.0" ]
permissive
silky/lean
79c20c15c93feef47bb659a2cc139b26f3614642
df8b88dca2f8da1a422cb618cd476ef5be730546
refs/heads/master
1,610,737,587,697
1,406,574,534,000
1,406,574,534,000
22,362,176
1
0
null
null
null
null
UTF-8
Lean
false
false
237
lean
import standard unit decidable if using bool unit decidable variables a b c : bool variables u v : unit set_option pp.implicit true check if ((a = b) ∧ (b = c) → ¬ (u = v) ∨ (a = c) → (a = c) ↔ a = '1 ↔ true) then a else b
70fa185bb613560d933841c51f852d5047498b11
a1179fa077c09acc49e4fbc8d67084ba89ac4f4c
/tutorials/src/solutions/03_forall_or.lean
d4d630367e96f44b44671519577577e720e4a182
[]
no_license
Seeram/Lean-proof-assistant
11ca0ca0e0446bacdd1773c4c481a3653b2f1074
e672d46e0e5f39d8de2933ad4f4cac095ca6094f
refs/heads/master
1,682,754,224,366
1,620,959,431,000
1,620,959,431,000
299,000,950
0
1
null
1,620,680,462,000
1,601,200,258,000
Lean
UTF-8
Lean
false
false
8,904
lean
import data.real.basic import algebra.group.pi set_option pp.beta true /- In this file, we'll learn about the ∀ quantifier, and the disjunction operator ∨ (logical OR). Let P be a predicate on a type X. This means for every mathematical object x with type X, we get a mathematical statement P x. In Lean, P x has ty...
9798c1ed474081ea6c17b57faf31d7eb5f1386c5
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/tactic/omega/nat/form.lean
9c08991fe0c51ff305328cc9284584796a4a9161
[ "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
5,767
lean
/- Copyright (c) 2019 Seul Baek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Seul Baek -/ /- Linear natural number arithmetic preformulas in pre-normalized preform. -/ import tactic.omega.nat.preterm namespace omega namespace nat /-- Intermediate shadow syntax ...
5cc170985ee61602494793489b6b6160828ae2da
8eeb99d0fdf8125f5d39a0ce8631653f588ee817
/src/linear_algebra/basic.lean
a01d775a1facde530c3e846b28b753c432d638e5
[ "Apache-2.0" ]
permissive
jesse-michael-han/mathlib
a15c58378846011b003669354cbab7062b893cfe
fa6312e4dc971985e6b7708d99a5bc3062485c89
refs/heads/master
1,625,200,760,912
1,602,081,753,000
1,602,081,753,000
181,787,230
0
0
null
1,555,460,682,000
1,555,460,682,000
null
UTF-8
Lean
false
false
106,780
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, Kevin Buzzard, Yury Kudryashov -/ import algebra.big_operators.pi import algebra.module.pi import algebra.module.prod import algebra.module.submodule im...
8a7fc0437a221b3748d8d338221374fdcc9394f0
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/algebra/module/pi.lean
8342914109ff97672d51c15447e9e5b7aeb513fb
[ "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
8,776
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Patrick Massot -/ import algebra.module.basic import algebra.regular.smul import algebra.ring.pi /-! # Pi instances for module and multiplicative actions This file defines ...
ddb751cfa552507f26a3ffb6bb56477584da0eac
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch5/ex0509.lean
5973d1021eafb76ec3fe1a9f8f5f4b7b076b3080
[]
no_license
Ailrun/Theorem_Proving_in_Lean
ae6a23f3c54d62d401314d6a771e8ff8b4132db2
2eb1b5caf93c6a5a555c79e9097cf2ba5a66cf68
refs/heads/master
1,609,838,270,467
1,586,846,743,000
1,586,846,743,000
240,967,761
1
0
null
null
null
null
UTF-8
Lean
false
false
138
lean
example (p q r : Prop) (hp : p) (hq : q) (hr : r) : p ∧ q ∧ r := begin split, any_goals { split }, any_goals { assumption } end
d96776ab60e364cb13dd73cc6b331b400bfc7c54
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/real/nnreal.lean
2b3b8b9fe6c4b94f2d418bcff3854ffb7a566c8f
[]
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
25,753
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.linear_ordered_comm_group_with_zero import Mathlib.algebra.big_operators.ring impor...
59982b218ee9b14b804896dc8f876205d2f342e4
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/tactic/lift.lean
04e0d27e069c632228db8c52bb837380fae8112b
[ "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
9,965
lean
/- Copyright (c) 2019 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import tactic.rcases /-! # lift tactic This file defines the `lift` tactic, allowing the user to lift elements from one type to another under a specified conditi...
30b8cceb4320a1e5de09da094ba2f55ca2f3887f
491068d2ad28831e7dade8d6dff871c3e49d9431
/library/init/default.lean
82bbeb67a19f83e76e874ccdb59284f146c423b8
[ "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
448
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 -/ prelude import init.datatypes init.reserved_notation init.tactic init.logic import init.relation init.wf init.nat init.wf_k init.prod init.priority import i...
5d830f8e28202819572530282267c40828ac1f25
2f8bf12144551bc7d8087a6320990c4621741f3d
/tests/lean/run/float_cases_bug.lean
8b44045be94d11a48305d4fc41dc1d6ed3607ff1
[ "Apache-2.0" ]
permissive
jesse-michael-han/lean4
eb63a12960e69823749edceb4f23fd33fa2253ce
fa16920a6a7700cabc567aa629ce4ae2478a2f40
refs/heads/master
1,589,935,810,594
1,557,177,860,000
1,557,177,860,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
63
lean
def foo (xs : List Nat) := xs.span (λ n, ↑(toBool (n = 1)))
f06c5d58f5631a67f1ddae1ef2fff14be96d1382
abd85493667895c57a7507870867b28124b3998f
/src/algebra/big_operators.lean
470a207b0e70cc8ef19d96c43b1ef4dc101010ec
[ "Apache-2.0" ]
permissive
pechersky/mathlib
d56eef16bddb0bfc8bc552b05b7270aff5944393
f1df14c2214ee114c9738e733efd5de174deb95d
refs/heads/master
1,666,714,392,571
1,591,747,567,000
1,591,747,567,000
270,557,274
0
0
Apache-2.0
1,591,597,975,000
1,591,597,974,000
null
UTF-8
Lean
false
false
55,830
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 import data.nat.enat import tactic.omega /-! # Big operators In this file we define products and sums indexed by finite sets (specifically, `fin...
cedfc587102b8b5d40d0edde296292e2becc6c83
4727251e0cd73359b15b664c3170e5d754078599
/src/algebraic_geometry/function_field.lean
b5bbdfe4aaff29f3f048e3c6740e75e1a94e30d6
[ "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
8,167
lean
/- Copyright (c) 2022 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import algebraic_geometry.properties /-! # Function field of integral schemes We define the function field of an irreducible scheme as the stalk of the generic point. Thi...
2e29c3075e0c4b872a5b8bcdab479c076796d484
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/src/Lean/Compiler/InitAttr.lean
13e156a5253c3bc454c428fe8d0a1f19b7b6829d
[ "Apache-2.0" ]
permissive
williamdemeo/lean4
72161c58fe65c3ad955d6a3050bb7d37c04c0d54
6d00fcf1d6d873e195f9220c668ef9c58e9c4a35
refs/heads/master
1,678,305,356,877
1,614,708,995,000
1,614,708,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,257
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.Environment import Lean.Attributes namespace Lean private def getIOTypeArg : Expr → Option Expr | Expr.app (Expr.const `IO _ _) arg _ => som...
c5a19142d7a3f9bdb08160dc42be986a0431443b
e031d1fbf8353b338e3189e0d9aec3adb5bb0512
/src/free.lean
32c9fd2d3e26f29321b157c3ed7de527b85c115c
[ "Apache-2.0" ]
permissive
UniversalAlgebra/lean-ualib
e64431a70007a835b1dd933d66be04ffca118601
ab9cbddbb5bdf1eeac4b0d5994bd6cad2a3665d4
refs/heads/master
1,584,931,281,084
1,558,364,533,000
1,558,364,533,000
140,986,567
6
0
Apache-2.0
1,532,718,578,000
1,531,613,794,000
Lean
UTF-8
Lean
false
false
1,427
lean
import basic section parameters (S : signature) (X : Type*) inductive term | var : X → term | app (f : S.F) : (S.ρ f → term) → term def free : algebra S := ⟨term, term.app⟩ end section parameters {S : signature} (A : algebra S) (X : Type*) open term def free_ := free S X def var_ := @var...
05febde2e2e4cca3c5a2f31d489818f8e2d2e6b0
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/combinatorics/hall/finite.lean
e28815707c68ddb76f3755867629ecbd6706d6ba
[ "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
11,060
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 data.fintype.basic import data.set.finite /-! # Hall's Marriage Theorem for finite index types > THIS FIL...
c59eb289d626f35ef8c3841dc7234c2365bd662b
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/order/ideal.lean
060af0cc9908dc35311b5d43e73bef0f5684ccaf
[ "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
19,128
lean
/- Copyright (c) 2020 David Wärn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: David Wärn -/ import data.equiv.encodable.basic import order.atoms /-! # Order ideals, cofinal sets, and the Rasiowa–Sikorski lemma ## Main definitions Throughout this file, `P` is at l...
72df34dd97ba1aa8c93531533627714a248360f9
4950bf76e5ae40ba9f8491647d0b6f228ddce173
/src/topology/basic.lean
113358a28ad41267c8be2e29422ac5e2d50e8f2a
[ "Apache-2.0" ]
permissive
ntzwq/mathlib
ca50b21079b0a7c6781c34b62199a396dd00cee2
36eec1a98f22df82eaccd354a758ef8576af2a7f
refs/heads/master
1,675,193,391,478
1,607,822,996,000
1,607,822,996,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
51,861
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 noncomputable theory /-! # Basic theory of topological spaces. The main ...
3441e193320456beb621ada2550e138199280efd
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/run/test_perm_ac1.lean
2a9cd0049b1834e22665de4f78f2c729dc0d3bc3
[ "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,653
lean
exit open expr decidable tactic nat meta definition is_poly_bin_app : expr → option name | (app (app (app (app (const op ls) A) s) lhs) rhs) := some op | _ := none meta definition is_add (e : expr) : bool := match (is_poly_bin_app e) with | (some op) := to_bool (op = `add) | none := ff end meta definition pe...
8a3556baabc8138755d8bc43e9d67cbb8b092f08
b09a2e9262f956dc3ebbaafbbd5abfcd4e9401b7
/src/Sample.lean
8f96f0ec2b8695f0b1f1b2ed4c51e930442d9619
[ "LicenseRef-scancode-mit-taylor-variant", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
o89/sample-zero
6242f41c89d929a094d17b49d937e39f1b46b397
01814df40a32dd5aa43da486b94218d5744b0b41
refs/heads/master
1,656,630,587,181
1,655,472,673,000
1,655,472,673,000
205,373,507
1
2
null
null
null
null
UTF-8
Lean
false
false
71
lean
import Init.System.IO def main : IO Unit := IO.println "Hello World!"
f3746e26a6e5f72faf5fff743f8bccf7e11076a4
618003631150032a5676f229d13a079ac875ff77
/src/tactic/generalize_proofs.lean
137e7b4d185844cd844a995da92d295af9d3c34b
[ "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,290
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ namespace tactic private meta def collect_proofs_in : expr → list expr → list name × list expr → tactic (list name × list expr) | e ctx (ns, hs) := let go (tac : ...
5e743a9fe9288d473b05cc51775b5a1ab385be50
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/congr_auto.lean
a6c0f1f29ef446da9fa9f6cfa9a7a5e825e67968
[]
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,150
lean
/- Copyright (c) 2020 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.lint.default import Mathlib.tactic.ext import Mathlib.PostPort namespace Mathli...
fb869381ce1b0266864626c0db015c90eb9f2d65
98beff2e97d91a54bdcee52f922c4e1866a6c9b9
/src/topos.lean
b9601872571587a0b247c3780bf1f3c42c6e7d98
[]
no_license
b-mehta/topos
c3fc43fb04ba16bae1965ce5c26c6461172e5bc6
c9032b11789e36038bc841a1e2b486972421b983
refs/heads/master
1,629,609,492,867
1,609,907,263,000
1,609,907,263,000
240,943,034
43
3
null
1,598,210,062,000
1,581,877,668,000
Lean
UTF-8
Lean
false
false
19,768
lean
import category_theory.full_subcategory import category_theory.limits.creates import category_theory.reflects_isomorphisms import category_theory.limits.preserves.shapes.binary_products import category_theory.adjunction.fully_faithful import category_theory.adjunction.limits import category_theory.closed.cartesian impo...
fe9f5dc6baf8d7fac3dffe28618e96cd6603d43f
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/normed/group/hom.lean
89bb35bccb42a46f57af010d60ad8008d5602ae9
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
38,523
lean
/- Copyright (c) 2021 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import analysis.specific_limits.normed /-! # Normed groups homomorphisms This file gathers definitions and elementary constructions about bounded group homomorphis...
dff796b4f6ab8de225360d8989a0b2e9ece13f26
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/hott/cases_eq.hlean
bcd6673ecdb0c467f6028a3ed1ae07a322b380ac
[ "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
505
hlean
open eq theorem trans {A : Type} {a b c : A} (h₁ : a = b) (h₂ : b = c) : a = c := begin cases h₁, cases h₂, apply rfl end theorem symm {A : Type} {a b : A} (h₁ : a = b) : b = a := begin cases h₁, apply rfl end theorem congr2 {A B : Type} (f : A → B) {a₁ a₂ : A} (h : a₁ = a₂) : f a₁ = f a₂ := begin cases h, app...
2eb35d177cb88e2ad1a7c5084e81c89500e9a71c
ce89339993655da64b6ccb555c837ce6c10f9ef4
/na4zagin3/chp-5.lean
eca1ec6b679124cbe0e12b1418840a5c15bbd885
[]
no_license
zeptometer/LearnLean
ef32dc36a22119f18d843f548d0bb42f907bff5d
bb84d5dbe521127ba134d4dbf9559b294a80b9f7
refs/heads/master
1,625,710,824,322
1,601,382,570,000
1,601,382,570,000
195,228,870
2
0
null
null
null
null
UTF-8
Lean
false
false
3,582
lean
section sec_3_redo open classical variables p q r s : Prop -- commutativity of ∧ and ∨ example : p ∧ q ↔ q ∧ p := begin split; { intro h, cases h with p q, split; assumption } end example : p ∨ q ↔ q ∨ p := begin split; { intro h, cases h with p q; { left; assumption } <|> { right; assumptio...
ba101d1e43c7b5bd698030cebcbe1ea7141d6cc1
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/smt_ematch1.lean
23d0d718f7973691b7903ac00e8d423ccecae2da
[ "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,665
lean
constant f : nat → nat axiom fax : ∀ x, f x = x attribute [ematch] fax lemma ex1 (a b c : nat) : f a = b → b = f c → a = c := begin [smt] intros, trace_state, ematch end constant g : nat → nat → nat axiom gax : ∀ x, g x x = x lemma ex2 (a b c d e : nat) : d = a → c = e → g a d = b → b = g e c → f a = c := beg...
82f7ebd6367f825491031b7452ed7557d427a6b6
08bd4ba4ca87dba1f09d2c96a26f5d65da81f4b4
/src/Lean/Server/FileWorker/WidgetRequests.lean
1978923009fca21834c78ef2dd98ccf18c7a7ec8
[ "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "Apache-2.0", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
gebner/lean4
d51c4922640a52a6f7426536ea669ef18a1d9af5
8cd9ce06843c9d42d6d6dc43d3e81e3b49dfc20f
refs/heads/master
1,685,732,780,391
1,672,962,627,000
1,673,459,398,000
373,307,283
0
0
Apache-2.0
1,691,316,730,000
1,622,669,271,000
Lean
UTF-8
Lean
false
false
5,263
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wojciech Nawrocki -/ import Lean.Widget.Basic import Lean.Widget.InteractiveCode import Lean.Widget.InteractiveGoal import Lean.Widget.InteractiveDiagnostic import Lean.Server...
4c14a38a227004d533b160626ee5da11933c72d0
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/list/sigma_auto.lean
3e518c6eba2e323b17fb53d18862e7db0038c498
[]
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
21,202
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Sean Leather Functions on lists of sigma types. -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.list.perm import Mathlib.data.list.r...
bee4c9d2c324702c7e95fe9f7d86aa2720418cc2
618003631150032a5676f229d13a079ac875ff77
/src/topology/constructions.lean
ce92676e0e74e9b0ceba7c318880013252580b00
[ "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
33,270
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Patrick Massot -/ import topology.maps /-! # Constructions of new topological spaces from old ones This file constructs products, sums, subtypes and q...
5e099b85c014bdbe1ba9fc96ab31dd232b6af59b
c777c32c8e484e195053731103c5e52af26a25d1
/archive/imo/imo1988_q6.lean
044358ba8f7bdc90d5ebe16e721119a9dbca046a
[ "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
13,892
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.nat.prime import data.rat.defs import order.well_founded import tactic.linarith import tactic.wlog /-! # IMO 1988 Q6 and constant descent Vieta jumping ...
2da6e56e9e204fa091e9e793f5b5b54afa3af5d6
30b012bb72d640ec30c8fdd4c45fdfa67beb012c
/category_theory/whiskering.lean
e38ff46dbe522494e17625171bf60c2fc88177b5
[ "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
3,500
lean
-- Copyright (c) 2018 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison import category_theory.functor_category namespace category_theory universes u₁ v₁ u₂ v₂ u₃ v₃ u₄ v₄ variables (C : Type u₁) [𝒞 : category.{u₁ v₁} C] ...
e4c223bf55eed3cab0e10d020205fb90f8ce885d
1437b3495ef9020d5413178aa33c0a625f15f15f
/group_theory/group_action.lean
6a79d022099621bda3a5aaf287bd984c19269550
[ "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
4,130
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import data.set.finite group_theory.coset universes u v variables {α : Type u} {β : Type v} class is_monoid_action [monoid α] (f : α → β → β) : Prop := (one : ∀ a : β, ...
0c044ef0d14cbc08468ea060f8be84c76ca7e2bb
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/homology/image_to_kernel.lean
3af24858d8049058a0e5ff98bce314990a2be8d8
[ "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
14,783
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.subobject.limits /-! # Image-to-kernel comparison maps Whenever `f : A ⟶ B` and `g : B ⟶ C` satisfy `w : f ≫ g = 0`, we have `image_le_kernel...
656714b0593a807542e1642981210afe3a322d04
7b02c598aa57070b4cf4fbfe2416d0479220187f
/algebra/quotient_group.hlean
ad81334463368a8b8c0840e05ba3b9c4508ab791
[ "Apache-2.0" ]
permissive
jdchristensen/Spectral
50d4f0ddaea1484d215ef74be951da6549de221d
6ded2b94d7ae07c4098d96a68f80a9cd3d433eb8
refs/heads/master
1,611,555,010,649
1,496,724,191,000
1,496,724,191,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
25,795
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Egbert Rijke Constructions with groups -/ import hit.set_quotient .subgroup ..move_to_lib types.equiv open eq algebra is_trunc set_quotient relation sigma sigma....
460bd284bb114a149fd8e285454b3425bbd10e93
1fbca480c1574e809ae95a3eda58188ff42a5e41
/src/util/control/applicative.lean
bf7db7cf485496b801f20fc087c7db96bb645d8f
[]
no_license
unitb/lean-lib
560eea0acf02b1fd4bcaac9986d3d7f1a4290e7e
439b80e606b4ebe4909a08b1d77f4f5c0ee3dee9
refs/heads/master
1,610,706,025,400
1,570,144,245,000
1,570,144,245,000
99,579,229
5
0
null
null
null
null
UTF-8
Lean
false
false
10,695
lean
import category.basic import util.data.functor universe variables u v w u' v' w' attribute [norm] seq_assoc pure_seq_eq_map map_pure class applicative_pair (f : Type u → Type v) (g : Type u' → Type v') extends functor_pair f g := (f_appl : applicative f) (g_appl : applicative g) (map_pure_comm : ∀ {α β} ...
9826885615009b95bffed00519a146266b34f326
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/group_theory/archimedean.lean
7efb0f3ef1c51d0c534ffd147a1f3ef1a8477895
[ "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,409
lean
/- Copyright (c) 2020 Heather Macbeth, Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Heather Macbeth, Patrick Massot -/ import algebra.order.archimedean import group_theory.subgroup.basic /-! # Archimedean groups > THIS FILE IS SYNCHRONIZED WITH MATH...
3b0d01379cc98c56e22eb171e28a59ed1c5daf91
649957717d58c43b5d8d200da34bf374293fe739
/src/data/equiv/basic.lean
212e0c88bbb3efc49ecce4e11f77e1c24d6ca423
[ "Apache-2.0" ]
permissive
Vtec234/mathlib
b50c7b21edea438df7497e5ed6a45f61527f0370
fb1848bbbfce46152f58e219dc0712f3289d2b20
refs/heads/master
1,592,463,095,113
1,562,737,749,000
1,562,737,749,000
196,202,858
0
0
Apache-2.0
1,562,762,338,000
1,562,762,337,000
null
UTF-8
Lean
false
false
38,984
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...
ba9c9fc8453c206e5cc1c493e09ef03249a54c8f
3f7026ea8bef0825ca0339a275c03b911baef64d
/src/set_theory/cardinal.lean
8709f010aa6216ceb202de302bf14ee5f3a1a89c
[ "Apache-2.0" ]
permissive
rspencer01/mathlib
b1e3afa5c121362ef0881012cc116513ab09f18c
c7d36292c6b9234dc40143c16288932ae38fdc12
refs/heads/master
1,595,010,346,708
1,567,511,503,000
1,567,511,503,000
206,071,681
0
0
Apache-2.0
1,567,513,643,000
1,567,513,643,000
null
UTF-8
Lean
false
false
42,547
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 -/ import data.set.countable data.quot logic.function set_theory.schroeder_bernstein /-! # Cardinal Numbers We define cardinal numbers as a quotient of...
ddec138c6e0d3b1764495c071118a70edb80beca
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/init/num.lean
a13fc16b28d2b9f28d0417e644d264e985c33ae7
[ "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
2,033
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 -/ prelude import init.bool namespace pos_num protected definition mul (a b : pos_num) : pos_num := pos_num.rec_on a b (λn r, bit0 r + b) (λn ...
d4831a4e72a751568c035a09fafcbe9ccacceb05
4727251e0cd73359b15b664c3170e5d754078599
/src/linear_algebra/clifford_algebra/grading.lean
9e1ce9f27a662730ac00835fe75b9bd6e0436d70
[ "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
8,952
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.clifford_algebra.basic import data.zmod.basic import ring_theory.graded_algebra.basic /-! # Results about the grading structure of the clifford algeb...
b7761eb3febec7e5466113f0b50309acb531d9ae
c31182a012eec69da0a1f6c05f42b0f0717d212d
/src/for_mathlib/SemiNormedGroup.lean
710b7af1adeb4cd5d3e94612460c493896cd9da8
[]
no_license
Ja1941/lean-liquid
fbec3ffc7fc67df1b5ca95b7ee225685ab9ffbdc
8e80ed0cbdf5145d6814e833a674eaf05a1495c1
refs/heads/master
1,689,437,983,362
1,628,362,719,000
1,628,362,719,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,210
lean
import analysis.normed_space.SemiNormedGroup import analysis.normed_space.normed_group_quotient import algebra.punit_instances import category_theory.concrete_category.bundled_hom import category_theory.limits.shapes.zero import category_theory.limits.shapes.kernels import category_theory.limits.creates import for_ma...
be5bf46cc80f55dcff8a11b702e0debec3d6f4c8
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/data/set/intervals/default.lean
b1d559584c8187b8232b2e3cf712e976cdc6b83d
[ "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
98
lean
import data.set.intervals.basic data.set.intervals.disjoint data.set.intervals.unordered_interval
4fa8144b74ffe027a69aa58843da4151766204c7
491068d2ad28831e7dade8d6dff871c3e49d9431
/tests/lean/run/matrix.lean
2086d80bea1e1b22bf3701d598cdee6d8d3562a9
[ "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
1,094
lean
import logic constant matrix.{l} : Type.{l} → Type.{l} constant same_dim {A : Type} : matrix A → matrix A → Prop constant add {A : Type} (m1 m2 : matrix A) {H : same_dim m1 m2} : matrix A theorem same_dim_irrel {A : Type} {m1 m2 : matrix A} {H1 H2 : same_dim m1 m2} : @add A m1 m2 H1 = @add A m1 m2 H2 := rfl open eq t...
e416ce7631253f531aa8a67818f0fd53e1951356
4bddde0d06fbd53be6f23d7f5899998e8f63410b
/src/tactic/iconfig/schema.lean
10f94a728b9e7a0a9216f3f9b1c681b736536655
[]
no_license
khoek/libiconfig
4816290a5862af14b07683b3d2663e8e62832ef4
6f55c50bc5d852d26ee5ee4c5b52b2cda2a852e5
refs/heads/master
1,586,109,683,212
1,559,567,916,000
1,559,567,916,000
157,085,466
0
1
null
1,559,567,917,000
1,541,945,134,000
Lean
UTF-8
Lean
false
false
302
lean
import .types namespace iconfig meta def default_schema : schema := ⟨none, overload_policy.ignore⟩ namespace schema -- TODO implement the other policy options meta def apply (s : schema) : option cfgopt.value → option cfgopt.value | none := s.default | (some o) := o end schema end iconfig
3d000812edee9580c94a82fc5dba06b56b67cdc7
8cb37a089cdb4af3af9d8bf1002b417e407a8e9e
/library/init/meta/interactive_base.lean
937a9655ef3af94e2a71bd058c0f98eed404a4d1
[ "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
8,462
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.data.option.basic import init.meta.lean.parser init.meta.tactic init.meta.has_reflect open lean open lean.parser local postfix `?`:900...
38612d55d168647c9c4b6692ecfc1e1b1fb9af10
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/topology/discrete_quotient.lean
2adee6f6907f9bfd54609e4c98d792eecb573f2d
[ "Apache-2.0" ]
permissive
jumpy4/mathlib
d3829e75173012833e9f15ac16e481e17596de0f
af36f1a35f279f0e5b3c2a77647c6bf2cfd51a13
refs/heads/master
1,693,508,842,818
1,636,203,271,000
1,636,203,271,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,203
lean
/- Copyright (c) 2021 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Calle Sönne, Adam Topaz -/ import topology.separation import topology.subset_properties import topology.locally_constant.basic /-! # Discrete quotients of a topological space. This file...
f23c3f02e3270fc81681c6cf02c4d44a37d0668c
4727251e0cd73359b15b664c3170e5d754078599
/src/control/bitraversable/basic.lean
c91046710290f515fe0a36432ac9423e1416c6b9
[ "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,132
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import control.bifunctor import control.traversable.basic /-! # Bitraversable type class Type class for traversing bifunctors. Simple examples of `bitraversable` are `pr...
a8b571d1e4eb877aa830fc51733bd7c8936abd56
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/algebra/ordered_field.lean
ecc1f67bf4c3112d2ae0dfa7e6d0ad6e1c3b8106
[ "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
24,527
lean
/- Copyright (c) 2014 Robert Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Lewis, Leonardo de Moura, Mario Carneiro, Floris van Doorn -/ import algebra.ordered_ring import algebra.field import tactic.monotonicity.basic /-! # Linear ordered fields A lin...
43df3597c0c0cb917da3fc6144a7f5ce1ee1f490
b392eb79fb36952401156496daa60628ccb07438
/MathPort.lean
1d63af0ddc18b825e630c22f0ad2845f07c2f9d8
[ "Apache-2.0" ]
permissive
AurelienSaue/mathportsource
d9eabe74e3ab7774baa6a10a6dc8d4855ff92266
1a164e4fff7204c522c1f4ecc5024fd909be3b0b
refs/heads/master
1,685,214,377,305
1,623,621,223,000
1,623,621,223,000
364,191,042
0
0
null
null
null
null
UTF-8
Lean
false
false
1,195
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Selsam -/ import MathPort.Run import MathPort.Path import Lean open Lean open Lean.Meta open MathPort unsafe def main (args : List String) : IO Unit := do match args...
71b7aba2ac6d75183b8f310a4459a311198135bf
d642a6b1261b2cbe691e53561ac777b924751b63
/src/topology/topological_fiber_bundle.lean
f093f71d473c844cd89eff0cb67bc8d48a4be1db
[ "Apache-2.0" ]
permissive
cipher1024/mathlib
fee56b9954e969721715e45fea8bcb95f9dc03fe
d077887141000fefa5a264e30fa57520e9f03522
refs/heads/master
1,651,806,490,504
1,573,508,694,000
1,573,508,694,000
107,216,176
0
0
Apache-2.0
1,647,363,136,000
1,508,213,014,000
Lean
UTF-8
Lean
false
false
23,718
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 /-! # Fiber bundles A topological fiber bundle with fiber F over a base B is a space projecting on B for which the fibers ar...
63836464ff9a157dd8afa6e5c5ab330bcf934bac
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/deriv.lean
ac9c2c6a3b5d50f76bbef615f1fa978cfba2d350
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
2,783
lean
/- Benchmark for new code generator -/ import Init.System.IO inductive Expr | Val : Int → Expr | Var : String → Expr | Add : Expr → Expr → Expr | Mul : Expr → Expr → Expr | Pow : Expr → Expr → Expr | Ln : Expr → Expr namespace Expr unsafe def pown : Int → Int → Int | a, 0 => 1 | a, 1 => a | a, n => let b := pown...
fb0b3bcee0dbe494e2f4308d21deaf71ee650285
d29d82a0af640c937e499f6be79fc552eae0aa13
/src/algebra/group_power/lemmas.lean
ab7b07c2602e60bf8d28382830ba6c9be93bbbe0
[ "Apache-2.0" ]
permissive
AbdulMajeedkhurasani/mathlib
835f8a5c5cf3075b250b3737172043ab4fa1edf6
79bc7323b164aebd000524ebafd198eb0e17f956
refs/heads/master
1,688,003,895,660
1,627,788,521,000
1,627,788,521,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
32,652
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.invertible import algebra.opposites import data.list.basic import data.int.cast import data.equiv.basic...
31f54b490f91a4354acc7cd442034382d952c7e3
274748215b6d042f0d9c9a505f9551fa8e0c5f38
/src/for_mathlib/topological_space.lean
8949f140a9961323d0f933005f580f2363dcd4e5
[ "Apache-2.0" ]
permissive
ImperialCollegeLondon/M4P33
878ecb515c77d20cc799ff1ebd78f1bf4fd65c12
1a179372db71ad6802d11eacbc1f02f327d55f8f
refs/heads/master
1,607,519,867,193
1,583,344,297,000
1,583,344,297,000
233,316,107
59
4
Apache-2.0
1,579,285,778,000
1,578,788,367,000
Lean
UTF-8
Lean
false
false
7,229
lean
import topology.maps topology.subset_properties example : ℕ := 691 open_locale classical -- x ∈ closure S if and only if x ∈ C for all closed sets containing S. lemma mem_closure_iff' {X : Type*} [topological_space X] {S : set X} {x : X} : x ∈ closure S ↔ ∀ C : set X, is_closed C → S ⊆ C → x ∈ C := begin rw mem...
1df44a56ae32656dacc3715563eefe64e20043d4
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/analysis/normed_space/multilinear.lean
5f8748cf47246df87617f7ce2e568b61c94413eb
[ "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
54,337
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 analysis.normed_space.operator_norm import topology.algebra.multilinear /-! # Operator norm on the space of continuous multilinear maps When `f` is a c...
9fbce3a662caefd1e46e1c044a5e9391d5d50c78
37da0369b6c03e380e057bf680d81e6c9fdf9219
/hott/homotopy/smash.hlean
c9b3206cafa79dce09a169c7bad454db778e7693
[ "Apache-2.0" ]
permissive
kodyvajjha/lean2
72b120d95c3a1d77f54433fa90c9810e14a931a4
227fcad22ab2bc27bb7471be7911075d101ba3f9
refs/heads/master
1,627,157,512,295
1,501,855,676,000
1,504,809,427,000
109,317,326
0
0
null
1,509,839,253,000
1,509,655,713,000
C++
UTF-8
Lean
false
false
6,788
hlean
/- Copyright (c) 2016 Jakob von Raumer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jakob von Raumer, Floris van Doorn The Smash Product of Types. One definition is the cofiber of the map wedge A B → A × B However, we define it (equivalently) as the pushout of...
4bcadf90346e27074380c30ee84d6bb41dff117f
97f752b44fd85ec3f635078a2dd125ddae7a82b6
/hott/types/pointed.hlean
2c7143aec382705e3fc236f5c49cec6a8fff3085
[ "Apache-2.0" ]
permissive
tectronics/lean
ab977ba6be0fcd46047ddbb3c8e16e7c26710701
f38af35e0616f89c6e9d7e3eb1d48e47ee666efe
refs/heads/master
1,532,358,526,384
1,456,276,623,000
1,456,276,623,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
16,804
hlean
/- Copyright (c) 2014 Jakob von Raumer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jakob von Raumer, Floris van Doorn Ported from Coq HoTT -/ import arity .eq .bool .unit .sigma .nat.basic prop_trunc open is_trunc eq prod sigma nat equiv option is_equiv bool unit...
56021475db0bff09a14f08ea31b9a3a8062e4e97
0c1546a496eccfb56620165cad015f88d56190c5
/library/init/coe.lean
b0afde1b3114f11895a48d340af0610ef5bdf010
[ "Apache-2.0" ]
permissive
Solertis/lean
491e0939957486f664498fbfb02546e042699958
84188c5aa1673fdf37a082b2de8562dddf53df3f
refs/heads/master
1,610,174,257,606
1,486,263,620,000
1,486,263,620,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,644
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 -/ /- The elaborator tries to insert coercions automatically. Only instances of has_coe type class are considered in the process. Lean also provides a "lifti...
005e7fe8dbdfee7edf3558dc0000de1fdc7506cd
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/tactic/explode_widget.lean
75fad7f24a25d7ba40915d683bc1e4b7e659ce70
[ "Apache-2.0" ]
permissive
AntoineChambert-Loir/mathlib
64aabb896129885f12296a799818061bc90da1ff
07be904260ab6e36a5769680b6012f03a4727134
refs/heads/master
1,693,187,631,771
1,636,719,886,000
1,636,719,886,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,203
lean
/- Copyright (c) 2020 Minchao Wu. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Minchao Wu -/ import tactic.explode import tactic.interactive_expr /-! # `#explode_widget` command Render a widget that displays an `#explode` proof, providing more interactivity such as...
d90324a4c0e731466da46f13a23a270332454e92
ad3e8f15221a986da27c99f371922c0b3f5792b6
/src/week-02/e04-trees.lean
91ff3edcd64e2b369cd714fc4eb1632df54b5bcd
[]
no_license
VArtem/lean-itmo
a0e1424c8cc4c2de2ac85ab6fd4a12d80e9b85f1
dc44cd06f9f5b984d051831b3aaa7364e64c2dc4
refs/heads/main
1,683,761,214,467
1,622,821,295,000
1,622,821,295,000
357,236,048
12
0
null
null
null
null
UTF-8
Lean
false
false
6,216
lean
import data.nat.basic import tactic namespace tree -- Определим двоичное дерево, где у каждой внутренней вершины ровно два ребенка -- Такое дерево либо состоит из одной вершины - листа, либо состоит из корня, у которого есть левое и правое поддерево inductive Tree | Leaf : Tree | Branch (left : Tree) (right : Tree) :...
50151bd382376d69d0648bf37fbb98ab38cbcbbc
c3f2fcd060adfa2ca29f924839d2d925e8f2c685
/library/init/default.lean
fd8425fd491868df154d6a4e09b67306cc1a1470
[ "Apache-2.0" ]
permissive
respu/lean
6582d19a2f2838a28ecd2b3c6f81c32d07b5341d
8c76419c60b63d0d9f7bc04ebb0b99812d0ec654
refs/heads/master
1,610,882,451,231
1,427,747,084,000
1,427,747,429,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
387
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: init.default Authors: Leonardo de Moura -/ prelude import init.datatypes init.reserved_notation init.tactic init.logic import init.relation init.wf init.nat init.wf_k init.prod ...
55fe308f62a633824c681eca47c2497602a1899d
d29d82a0af640c937e499f6be79fc552eae0aa13
/src/algebra/algebra/basic.lean
9a2d25955430c843df749b80fc1c96fb30b5443a
[ "Apache-2.0" ]
permissive
AbdulMajeedkhurasani/mathlib
835f8a5c5cf3075b250b3737172043ab4fa1edf6
79bc7323b164aebd000524ebafd198eb0e17f956
refs/heads/master
1,688,003,895,660
1,627,788,521,000
1,627,788,521,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
61,693
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Yury Kudryashov -/ import tactic.nth_rewrite import data.matrix.basic import data.equiv.ring_aut import linear_algebra.tensor_product import ring_theory.subring import deprecated...
9502ddc01427f1880745743d548bd610c140317a
ad0c7d243dc1bd563419e2767ed42fb323d7beea
/tests/tactics.lean
4b01ebf68e53c8e80db9febb81e8ed4aabede90b
[ "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
15,562
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Scott Morrison -/ import tactic data.set.lattice data.prod tactic.rewrite data.stream.basic section solve_by_elim example {a b : Prop} (h₀ : a → b) (h₁ : a) : b := be...
30105d10390694aa88a0648f76c78e447cd5b55b
4727251e0cd73359b15b664c3170e5d754078599
/src/data/finset/n_ary.lean
79e9f331d4769026f52700d6930c75cf3d565b91
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
12,431
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.finset.prod /-! # N-ary images of finsets This file defines `finset.image₂`, the binary image of finsets. This is the finset version of `set.image2`. This i...
cfe4c5fa752c21ff71d956a7f2937fe99c842c67
5ee26964f602030578ef0159d46145dd2e357ba5
/src/valuation/field.lean
021443630f6f354fda34d42855bbaf8b1c3c7bb2
[ "Apache-2.0" ]
permissive
fpvandoorn/lean-perfectoid-spaces
569b4006fdfe491ca8b58dd817bb56138ada761f
06cec51438b168837fc6e9268945735037fd1db6
refs/heads/master
1,590,154,571,918
1,557,685,392,000
1,557,685,392,000
186,363,547
0
0
Apache-2.0
1,557,730,933,000
1,557,730,933,000
null
UTF-8
Lean
false
false
28,969
lean
import for_mathlib.topological_field import for_mathlib.topology import for_mathlib.division_ring import for_mathlib.uniform_space.uniform_field import valuation.topology import topology.algebra.ordered open filter set local attribute [instance, priority 0] classical.decidable_linear_order variables {Γ : Type*} [line...
80a54141d57fc320a778d571449f127808155c44
d8820d2c92be8052d13f9c8f8c483a6e15c5f566
/src/Exercises/Exercies3.lean
1b65eafa4b9aefbd3658917df123824856ddd694
[]
no_license
JasonKYi/M4000x_LEAN_formalisation
4a19b84f6d0fe2e214485b8532e21cd34996c4b1
6e99793f2fcbe88596e27644f430e46aa2a464df
refs/heads/master
1,599,755,414,708
1,589,494,604,000
1,589,494,604,000
221,759,483
8
1
null
1,589,494,605,000
1,573,755,201,000
Lean
UTF-8
Lean
false
false
925
lean
/- Exercise 3. Let us define the binary relation ~> as follow: Let X and Y be two sets, and f : X → V be some function between the sets, then ∀ x, y ∈ X, x ~> y if and only if f(x) = f(y). Can you prove that ~> is an equivalence relation? Replace the sorry for your proof. Here are some basic tactics that might help :...