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
6b1ecab3d462e4c28354c81c191bfdd1ebf005f6
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/geometry/manifold/times_cont_mdiff.lean
969f2b694c117518c121b673f33f6210eee8dbce
[ "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
85,713
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 geometry.manifold.mfderiv import geometry.manifold.local_invariant_properties /-! # Smooth functions between smooth manifolds We define `Cⁿ` functions...
5e2d4212a6f2ae2c8c9a116a253277239f33a24e
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/algebra/star_subalgebra.lean
de1d13425fc142a73f660d7528a82c8f67f60f84
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
9,154
lean
/- Copyright (c) 2022 Jireh Loreaux. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jireh Loreaux -/ import algebra.star.subalgebra import topology.algebra.algebra import topology.algebra.star /-! # Topological star (sub)algebras A topological star algebra over a top...
0a7f0f4e47fe25837fb7f4be3616c6c3051ebb28
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/probability/strong_law.lean
53020a09142fa828eb30f86ca8a99ac6d47154d5
[ "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
37,089
lean
/- Copyright (c) 2022 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import probability.ident_distrib import measure_theory.integral.interval_integral import analysis.specific_limits.floor_pow import analysis.p_series import ana...
6b698b5583dc1eecb2e29583dc4d3b6a3e6401f1
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/let1.lean
0631cc8d0839643e366d6352a7dcfa2d25762213
[ "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,149
lean
prelude -- Correct version check let bool := Sort 0, and (p q : bool) := ∀ c : bool, (p → q → c) → c, infixl `∧`:25 := and, and_intro (p q : bool) (H1 : p) (H2 : q) : p ∧ q := λ (c : bool) (H : p → q → c), H H1 H2, and_elim_...
5b5ad927de1e5eca7a2464ae7e6998765a82db8f
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/group_theory/group_action.lean
f935cc23e18c92debc0babe77d428b2666b78828
[ "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
15,740
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 group_theory.coset universes u v w variables {α : Type u} {β : Type v} {γ : Type w} open_locale big_operators open function /-- Typeclass for types with a scala...
12b9ad9bf203b79a97fe9d784a7d389f86445335
43390109ab88557e6090f3245c47479c123ee500
/src/xenalib/nat_stuff.lean
67e9a4413a93c3ec1220ddb41b1b4e645a755ae4
[ "Apache-2.0" ]
permissive
Ja1941/xena-UROP-2018
41f0956519f94d56b8bf6834a8d39473f4923200
b111fb87f343cf79eca3b886f99ee15c1dd9884b
refs/heads/master
1,662,355,955,139
1,590,577,325,000
1,590,577,325,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,113
lean
import algebra.group_power theorem nat.cast_pow {α : Type*} [semiring α] (n : ℕ) : ∀ m : ℕ, (n : α) ^ m = (n ^ m : ℕ) | 0 := nat.cast_one.symm | (d+1) := show ↑n * ↑n ^ d = ↑(n ^ d * n), by rw [nat.cast_pow d,mul_comm,nat.cast_mul] theorem int.cast_pow {α : Type*} [ring α] (n : ℤ) : ∀ m : ℕ, (n : α) ^ m = (n ^ m : ℤ)...
4bc9a9aec14270b5375dcd187a3069eafb034b5a
e09201d437062e1f95e6e5360aab0c9f947901aa
/src/regular/nonregular.lean
2dfc9f0bd8f1c2035ce99811a8603d1ab3ff7510
[]
no_license
VArtem/lean-regular-languages
34f4b093f28ef2f09ba7e684e642a0f97c901560
e877243188253d0ac17ccf0ae2da7bf608686ff0
refs/heads/master
1,683,590,111,306
1,622,307,234,000
1,622,307,234,000
284,232,653
7
0
null
null
null
null
UTF-8
Lean
false
false
1,134
lean
import automata.dfa import data.list.basic import regular.regex import regular.list_lemmas import regular.pumping_lemma open DFA list pumping def L0ⁿ1ⁿ := {w | ∃ n, w = (repeat bool.ff n) ++ (repeat bool.tt n)} @[simp] lemma mem_L0ⁿ1ⁿ_iff {w} : w ∈ L0ⁿ1ⁿ ↔ ∃ n, w = (repeat bool.ff n) ++ (repeat bool.tt n) := iff...
0cf9dc24df5d9078c7d1f019ce2b9fad43a0654c
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/locally_convex/basic.lean
9ae5564e54d2e40840e89bcb9110b292e2356659
[ "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
15,069
lean
/- Copyright (c) 2019 Jean Lo. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jean Lo, Bhavik Mehta, Yaël Dillies -/ import analysis.convex.basic import analysis.convex.hull import analysis.normed_space.basic /-! # Local convexity This file defines absorbent and bala...
a1a84352e49b3a5f80424b83c4d7ab39261afb5c
5ee26964f602030578ef0159d46145dd2e357ba5
/src/for_mathlib/sheaves/presheaf_of_topological_rings.lean
06707bd988acf1cbe567a51f695c1363fc6518c7
[ "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
2,043
lean
/- Presheaf of toplogical rings. -/ import topology.algebra.ring import for_mathlib.sheaves.presheaf_of_rings universes u v open topological_space -- Definition of a presheaf of topological rings. structure presheaf_of_topological_rings (α : Type u) [topological_space α] extends presheaf_of_rings α := (Ftop : ∀...
62e859a2b408e9ab1cd70b5d8391fd4c30446bc5
fcf3ffa92a3847189ca669cb18b34ef6b2ec2859
/src/world8/level9.lean
deba29b3ac6c9023bcd58d16a6c20172e1ebbbe7
[ "Apache-2.0" ]
permissive
nomoid/lean-proofs
4a80a97888699dee42b092b7b959b22d9aa0c066
b9f03a24623d1a1d111d6c2bbf53c617e2596d6a
refs/heads/master
1,674,955,317,080
1,607,475,706,000
1,607,475,706,000
314,104,281
0
0
null
null
null
null
UTF-8
Lean
false
false
187
lean
import mynat.definition import mynat.add namespace mynat theorem succ_ne_zero (a : mynat) : succ(a) ≠ 0 := begin [nat_num_game] symmetry, exact zero_ne_succ a, end end mynat
9f489731fcd01965608c42996f6110adc8c3ccb8
f5f7e6fae601a5fe3cac7cc3ed353ed781d62419
/src/tactic/default.lean
611ec94c7e02d802b2ddf427b19444b09eec1b8c
[ "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
141
lean
import tactic.interactive tactic.alias tactic.finish tactic.mk_iff_of_inductive_prop tactic.wlog tactic.monotonicity.interactive
3be483d301cb41b48aa4d68a5dac1d273668329c
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/meta/interactive_auto.lean
fdc1e008d11797c4013641345fb55c2f42b5748c
[]
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
33,034
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, Jannis Limperg -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.meta.tactic import Mathlib.Lean3Lib.init.meta.type_context import Mathlib.Lean3Lib.init....
ccd61f4983960644b0101f54b2ee21ea2a5d0ab6
0845ae2ca02071debcfd4ac24be871236c01784f
/tests/bench/binarytrees.lean
d4e07e1f5be36324b197aab464cb97b1e3bb9d22
[ "Apache-2.0" ]
permissive
GaloisInc/lean4
74c267eb0e900bfaa23df8de86039483ecbd60b7
228ddd5fdcd98dd4e9c009f425284e86917938aa
refs/heads/master
1,643,131,356,301
1,562,715,572,000
1,562,715,572,000
192,390,898
0
0
null
1,560,792,750,000
1,560,792,749,000
null
UTF-8
Lean
false
false
1,691
lean
inductive Tree | Nil | Node (l r : Tree) : Tree open Tree instance : Inhabited Tree := ⟨Nil⟩ -- This Function has an extra argument to suppress the -- common sub-expression elimination optimization partial def make' : UInt32 -> UInt32 -> Tree | n d := if d = 0 then Node Nil Nil else Node (make' n (d - 1)) (make' (...
ef56fc66afcaf0ebb85ebfae18d16f5a2e05a3e5
9dc8cecdf3c4634764a18254e94d43da07142918
/src/category_theory/limits/constructions/limits_of_products_and_equalizers.lean
a5acd213bbb0816b530af7603fe99f57e110ab2b
[ "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
18,121
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta, Scott Morrison -/ import category_theory.limits.shapes.equalizers import category_theory.limits.shapes.finite_products import category_theory.limits.preserves.shapes.produc...
631832fb3c65c6da05b8ae921c1557bdadebdcb7
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/polynomial/induction.lean
c00ea629e2a772ab0515fc9362caa8d2fe005e29
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
2,599
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.data.polynomial.coeff import Mathlib.PostPort ...
6c344782fd1c50787a01f7e67e4b6e993b44bca7
b7f22e51856f4989b970961f794f1c435f9b8f78
/library/data/list/comb.lean
402bb15c38fdc4071048d64297bda775da857493
[ "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
24,593
lean
/- Copyright (c) 2015 Leonardo de Moura. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Haitao Zhang, Floris van Doorn List combinators. -/ import data.list.basic data.equiv open nat prod decidable function helper_tactics namespace list variables {...
5d2d6242eac6338e9b9bb7158378467aaa08dc98
c45b34bfd44d8607a2e8762c926e3cfaa7436201
/uexp/src/uexp/rules/pullConstantThroughUnion3.lean
678301a6ab107d312aa3b20e4241eb57c10c809a
[ "BSD-2-Clause" ]
permissive
Shamrock-Frost/Cosette
b477c442c07e45082348a145f19ebb35a7f29392
24cbc4adebf627f13f5eac878f04ffa20d1209af
refs/heads/master
1,619,721,304,969
1,526,082,841,000
1,526,082,841,000
121,695,605
1
0
null
1,518,737,210,000
1,518,737,210,000
null
UTF-8
Lean
false
false
1,985
lean
import ..sql import ..tactics import ..u_semiring import ..extra_constants import ..UDP set_option profiler true open Expr open Proj open Pred open SQL open tree notation `int` := datatypes.int constant integer_2: const int constant integer_3: const int theorem Rule: forall (Γ scm_t scm_account scm_bonus scm_de...
8d1f457deb3458e45cd05b672d0c08eb3e0dd712
7cef822f3b952965621309e88eadf618da0c8ae9
/src/tactic/ext.lean
80b621347b8b1af06dc5e9089c356d376b52cd43
[ "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
10,371
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import tactic.rcases data.list.defs data.prod data.sum universes u₁ u₂ open interactive interactive.types open lean.parser nat tactic /-- `derive_struct_ext_lemma n` gene...
f92cb1b38dd5bb005b50600c94456401e52f61bc
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/big_operators/order.lean
093e4e390cac32489fa7299ab5dcbe266d31e0cb
[ "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
28,176
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import algebra.order.absolute_value import algebra.order.ring.with_top import algebra.big_operators.basic import data.fintype.card /-! # Results about big operators...
f03455611af762bbc6920d1699c8fa27869f2da8
b2fe74b11b57d362c13326bc5651244f111fa6f4
/src/analysis/normed_space/operator_norm.lean
ceb836f416a5ec13e709eebb9cd719e209d06e6e
[ "Apache-2.0" ]
permissive
midfield/mathlib
c4db5fa898b5ac8f2f80ae0d00c95eb6f745f4c7
775edc615ecec631d65b6180dbcc7bc26c3abc26
refs/heads/master
1,675,330,551,921
1,608,304,514,000
1,608,304,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
44,187
lean
/- Copyright (c) 2019 Jan-David Salchow. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jan-David Salchow, Sébastien Gouëzel, Jean Lo -/ import linear_algebra.finite_dimensional import analysis.normed_space.riesz_lemma import analysis.asymptotics /-! # Operator norm o...
8931a9a9d244a1bfa8d8bae563705ed3cf88fa1c
49bd2218ae088932d847f9030c8dbff1c5607bb7
/src/analysis/calculus/mean_value.lean
74d315a00638d8d4bb55907eca1a7bb3b8e70072
[ "Apache-2.0" ]
permissive
FredericLeRoux/mathlib
e8f696421dd3e4edc8c7edb3369421c8463d7bac
3645bf8fb426757e0a20af110d1fdded281d286e
refs/heads/master
1,607,062,870,732
1,578,513,186,000
1,578,513,186,000
231,653,181
0
0
Apache-2.0
1,578,080,327,000
1,578,080,326,000
null
UTF-8
Lean
false
false
24,716
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 analysis.calculus.local_extr /-! # The mean value inequality and equalities In this file we prove the following facts: * `convex.nor...
ad1cf28e4f906f2d4129647fbd2dc4df993c3e56
4727251e0cd73359b15b664c3170e5d754078599
/src/data/seq/wseq.lean
b3a090a28752ca67e277ab823b2ce5a8869033c6
[ "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
55,326
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.dlist import data.list.basic import data.seq.seq open function universes u v w /- coinductive wseq (α : Type u) : Type u | nil : wseq α | cons : ...
7bdb85d7dc4773e84e26155d701b6a6c53f54958
4fa161becb8ce7378a709f5992a594764699e268
/src/topology/continuous_on.lean
6b8ebb96b9f29a84fc14c166c8388329b2a71801
[ "Apache-2.0" ]
permissive
laughinggas/mathlib
e4aa4565ae34e46e834434284cb26bd9d67bc373
86dcd5cda7a5017c8b3c8876c89a510a19d49aad
refs/heads/master
1,669,496,232,688
1,592,831,995,000
1,592,831,995,000
274,155,979
0
0
Apache-2.0
1,592,835,190,000
1,592,835,189,000
null
UTF-8
Lean
false
false
25,138
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import topology.constructions /-! # Neighborhoods and continuity relative to a subset This file defines relative versions `nhds_within` of `nhds` `contin...
85978bb1bf522a977569841bdebcdd25042dd8d7
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/new_compiler.lean
152f1bfb1e1ee17d757ee2ad95fc4ccf714ea703
[ "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
1,712
lean
universe u v w r s set_option trace.compiler.stage1 true -- set_option pp.explicit true -- set_option pp.proofs true def foo (n : Nat) : Nat := let x := Nat.zero; let x1 := Nat.succ x; let x2 := Nat.succ x1; let x3 := Nat.succ x2; let x4 := Nat.succ x3; let x5 := Nat.succ x4; let x6 := Nat.succ x5; let x7 := Nat.su...
0a7115e59f934ee2750537da289df7bcf7e8b67d
64874bd1010548c7f5a6e3e8902efa63baaff785
/hott/init/num.hlean
a3eed88bcd009ef4091f4856e1378ad0bf454731
[ "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
1,818
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.logic init.bool open bool definition pos_num.is_inhabited [instance] : inhabited pos_num := inhabited.mk pos_num.one namespace pos_nu...
fb790cce91f5d1e709a8af17ccf8d5abad69d56b
bb31430994044506fa42fd667e2d556327e18dfe
/src/topology/homeomorph.lean
3d0ef7172be6cc97f168c41fc07586e63102c161
[ "Apache-2.0" ]
permissive
sgouezel/mathlib
0cb4e5335a2ba189fa7af96d83a377f83270e503
00638177efd1b2534fc5269363ebf42a7871df9a
refs/heads/master
1,674,527,483,042
1,673,665,568,000
1,673,665,568,000
119,598,202
0
0
null
1,517,348,647,000
1,517,348,646,000
null
UTF-8
Lean
false
false
23,704
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 logic.equiv.fin import topology.dense_embedding import topology.support /-! # Homeomorphisms This...
1cfe1858b65d5b592e638e3f39611da0df82c68d
2c096fdfecf64e46ea7bc6ce5521f142b5926864
/src/Lean/Compiler/IR.lean
8bb7108c5387617472c886484c0859c6cc224fec
[ "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
2,979
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.Compiler.IR.Basic import Lean.Compiler.IR.Format import Lean.Compiler.IR.CompilerM import Lean.Compiler.IR.PushProj import Lean.Compiler.IR.Elim...
bde641f6594030836683ec395c680fbf4324722d
82e44445c70db0f03e30d7be725775f122d72f3e
/src/measure_theory/prod.lean
8295debdca5844a4432bbba4175af5a08dc0bf7e
[ "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
46,987
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 measure_theory.giry_monad import measure_theory.set_integral /-! # The product measure In this file we define and prove properties about the binary produ...
629a34bbeab911113f0ba719bf9ffe6b05088d4e
11e28114d9553ecd984ac4819661ffce3068bafe
/src/rule.lean
f2a04adde96315bd7fdf166199e2da7e15b736b5
[ "MIT" ]
permissive
EdAyers/lean-subtask
9a26eb81f0c8576effed4ca94342ae1281445c59
04ac5a6c3bc3bfd190af4d6dcce444ddc8914e4b
refs/heads/master
1,586,516,665,621
1,558,701,948,000
1,558,701,948,000
160,983,035
4
1
null
null
null
null
UTF-8
Lean
false
false
6,207
lean
/- Author: E.W.Ayers © 2019 -/ import .util .table open tactic /-- Member of a telescope.-/ @[derive decidable_eq] meta structure hyp := (n : name) (bi : binder_info) (type : expr) /-- A telescope keeps track of all of the names and types of the free variables in the context. -/ meta def telescope := list hyp meta def ...
795e15d65c8135a73dbe9000f736215e96eb2de4
2ee768fce4d0783536570385ee340d97e2411436
/src/uniqueness.lean
b28b09d53f7d5b7e8c4eeafe2ee5912c70dcf92a
[]
no_license
agjftucker/exists-unique
835cf0c0ec622d49dbceb84be37db62e6ab8a6d0
1fba6035a08347f424c765d8a1c56b1a15c8abbe
refs/heads/master
1,683,445,592,336
1,622,649,822,000
1,622,649,822,000
309,485,697
2
0
null
null
null
null
UTF-8
Lean
false
false
3,863
lean
import existence continuity monotonicity local prefix `𝒫`:100 := fun {α : Type} (s : finset α), {t // t ≤ s} variables {𝒩 : Type} [decidable_eq 𝒩] {T : with_top ℝ} variables {ℋ : well_behaved_soln 𝒩 T} {ℰ : equity_function 𝒩 T} variable (crash : ∀ ψ {A : finset 𝒩} (h : A.nonempty) (t : Tt T) (y : X 𝒩), ∃ (η...
7dfee91f26f07ef60a30703260ae45dc400452fe
2de8c1580f92bb6c28b60135f589fe9d0513faba
/src/buch_correctness.lean
cebd41895655d0dfdd23031049884e82fce79850
[]
no_license
FCL-lean/verification
44a52e40ab78b18654b8d61bb55c2c912a40d2f4
be02c698c0ca78b18762e3fe7749cdc72a55d197
refs/heads/master
1,585,960,207,309
1,560,259,990,000
1,560,259,990,000
155,650,137
0
0
null
1,541,039,704,000
1,541,038,972,000
Lean
UTF-8
Lean
false
false
33,009
lean
import buchberger rtc wf_mv_polynomial open mv_polynomial open finsupp namespace buch variables {σ : Type*} {α : Type*} [decidable_eq σ] [decidable_eq α] [fintype σ] [decidable_linear_order (σ →₀ ℕ)] variables [discrete_field α] [is_well_founded (σ →₀ ℕ) (<)] [is_monomial_order (σ →₀ ℕ) (≤)] section reduc...
17263dadd09f5d4c8d21e9a0800687764f79b6f8
4727251e0cd73359b15b664c3170e5d754078599
/src/order/minimal.lean
0143de2bf631836f85044ff175f776901fc8c32b
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
5,089
lean
/- Copyright (c) 2022 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import order.antichain /-! # Minimal/maximal elements of a set This file defines minimal and maximal of a set with respect to an arbitrary relation. ## Main declaratio...
2eeed19110ff074048126b26f8d891836a866e94
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/analysis/special_functions/complex/arg.lean
bf39f95a2c34601f71a5f55dd9ed2cf5042e6035
[ "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
18,499
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 analysis.special_functions.trigonometric.angle import analysis.special_functions.trigonometric.i...
ff67a4be006296e0968b806d5bc5ce8ee1db30a5
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/sigma/basic_auto.lean
cae93934383c5986f8d856e453e2b9b59e6efacb
[]
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
12,004
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.natural_isomorphism import Mathlib.category_theory.eq_to_hom import Mathlib.dat...
07d870999e4e492303c300a0651f48e33544ad9c
4727251e0cd73359b15b664c3170e5d754078599
/src/combinatorics/simple_graph/metric.lean
9bc039fd1a8801e3238e6584a99c9015553156ac
[ "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,542
lean
/- Copyright (c) 2022 Kyle Miller. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kyle Miller, Vincent Beffara -/ import combinatorics.simple_graph.connectivity import data.nat.lattice /-! # Graph metric This module defines the `simple_graph.dist` function, which tak...
a4ee5562fec88928b2507089407e2c32a172d05a
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/unicode.lean
0b91f068c742df5aa268e7c683be924f7af0a794
[ "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
130
lean
constant N : Type constant α : N constant β₁ : N #check β₁ constant δ : N #check δ constant δ₁₁ : N #check δ₁₁
70ac58a01b7b48e67840daff60ff15ddab076826
57c233acf9386e610d99ed20ef139c5f97504ba3
/test/monotonicity.lean
3efb007c251f8879e3f875f7e554fd39513c5dfb
[ "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
8,587
lean
/- Copyright (c) 2019 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import tactic.monotonicity import tactic.norm_num import algebra.order.ring import measure_theory.measure.lebesgue import data.list.defs open list tactic tactic.interactiv...
0c4c646489ff5db210ac3eda55e2150b2ab34c23
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/src/Lean/Compiler/LCNF/PrettyPrinter.lean
ecfec3a5b1d67f22830fc7df32dbf44a6832f768
[ "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
tobiasgrosser/lean4
ce0fd9cca0feba1100656679bf41f0bffdbabb71
ebdbdc10436a4d9d6b66acf78aae7a23f5bd073f
refs/heads/master
1,673,103,412,948
1,664,930,501,000
1,664,930,501,000
186,870,185
0
0
Apache-2.0
1,665,129,237,000
1,557,939,901,000
Lean
UTF-8
Lean
false
false
4,283
lean
/- Copyright (c) 2022 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.PrettyPrinter import Lean.Compiler.LCNF.CompilerM import Lean.Compiler.LCNF.Internalize namespace Lean.Compiler.LCNF private abbrev indentD :=...
bb0db8386cdb5c739e09d4c182c84c5dd91b7b5f
94e33a31faa76775069b071adea97e86e218a8ee
/src/analysis/normed_space/lattice_ordered_group.lean
58eb3fdf14a4545ce3db843d9bbf1f3229d41bc6
[ "Apache-2.0" ]
permissive
urkud/mathlib
eab80095e1b9f1513bfb7f25b4fa82fa4fd02989
6379d39e6b5b279df9715f8011369a301b634e41
refs/heads/master
1,658,425,342,662
1,658,078,703,000
1,658,078,703,000
186,910,338
0
0
Apache-2.0
1,568,512,083,000
1,557,958,709,000
Lean
UTF-8
Lean
false
false
8,198
lean
/- Copyright (c) 2021 Christopher Hoskin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Christopher Hoskin -/ import topology.order.lattice import analysis.normed.group.basic import algebra.order.lattice_group /-! # Normed lattice ordered groups Motivated by the the...
cc28814663db09eed04c768578bf066b64be691a
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/order/conditionally_complete_lattice.lean
3791e20716329073845c38690abebee6a39ed52d
[ "Apache-2.0" ]
permissive
ChrisHughes24/mathlib
98322577c460bc6b1fe5c21f42ce33ad1c3e5558
a2a867e827c2a6702beb9efc2b9282bd801d5f9a
refs/heads/master
1,583,848,251,477
1,565,164,247,000
1,565,164,247,000
129,409,993
0
1
Apache-2.0
1,565,164,817,000
1,523,628,059,000
Lean
UTF-8
Lean
false
false
34,109
lean
/- Copyright (c) 2018 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel Adapted from the corresponding theory for complete lattices. Theory of conditionally complete lattices. A conditionally complete lattice is a lattice in which ev...
e19cc51d7a9ba3842e1fed863e7a9d3debbff11a
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/tactic/converter/apply_congr.lean
cf77f977cfb2d4d771427e5a0db83c1f8c05ce96
[ "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,368
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Lucas Allen, Scott Morrison -/ import tactic.interactive import tactic.converter.interactive /-! ## Introduce the `apply_congr` conv mode tactic. `apply_congr` will apply congruence ...
a081fa6cd577d7a0c399bc07c4e8938b92789fc1
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/pp_opt_param.lean
cb22ed0a1a4af3020f9c4472c4ae3344ba19bf94
[ "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
110
lean
#check expr #check expr ff def f (x := 3) (y : nat) := y #check f 3 4 set_option pp.implicit true #check expr
7ffb1a705ae2a42f4ea913aa377bbd59cb00028e
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/data/polynomial/monomial.lean
442c3b7c8cca7ed13f1d8e547358fff147807902
[ "Apache-2.0" ]
permissive
agjftucker/mathlib
d634cd0d5256b6325e3c55bb7fb2403548371707
87fe50de17b00af533f72a102d0adefe4a2285e8
refs/heads/master
1,625,378,131,941
1,599,166,526,000
1,599,166,526,000
160,748,509
0
0
Apache-2.0
1,544,141,789,000
1,544,141,789,000
null
UTF-8
Lean
false
false
2,103
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker -/ import data.polynomial.basic /-! # Univariate monomials Preparatory lemmas for degree_basic. -/ noncomputable theory o...
1ca9d476605ab4387acdb175edcc37ed12bca319
618003631150032a5676f229d13a079ac875ff77
/src/tactic/apply.lean
8dfb5201dd57ef86721457df466febacdaff3e9e
[ "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
7,900
lean
/- Copyright (c) 2019 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author(s): Simon Hudon -/ import tactic.core /-! This file provides an alternative implementation for `apply` to fix the so-called "apply bug". The issue arises when the goals is a Π-type -- whe...
75dedfd3b75190e7a9ee3fad4ac91c407690b65f
3b15c7b0b62d8ada1399c112ad88a529e6bfa115
/src/Lean/PrettyPrinter/Delaborator/Builtins.lean
cd051b11ac195697ffb49c79235abab7a7257ef3
[ "Apache-2.0" ]
permissive
stephenbrady/lean4
74bf5cae8a433e9c815708ce96c9e54a5caf2115
b1bd3fc304d0f7bc6810ec78bfa4c51476d263f9
refs/heads/master
1,692,621,473,161
1,634,308,743,000
1,634,310,749,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
31,776
lean
/- Copyright (c) 2020 Sebastian Ullrich. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ import Lean.PrettyPrinter.Delaborator.Basic import Lean.PrettyPrinter.Delaborator.SubExpr import Lean.PrettyPrinter.Delaborator.TopDownAnalyze import Lean.Pars...
57703efb6ca473a2b9e3f1d3203676be9b895ed9
b29f946a2f0afd23ef86b9219116968babbb9f4f
/src/examples/scratch.lean
120b6a6fd0cd8e4330154206f82b25f8a07b1275
[ "Apache-2.0" ]
permissive
ImperialCollegeLondon/M1P1-lean
58be7394fded719d95e45e6b10e1ecf2ed3c7c4c
3723468cc50f8bebd00a9811caf25224a578de17
refs/heads/master
1,587,063,867,779
1,572,727,164,000
1,572,727,164,000
165,845,802
14
4
Apache-2.0
1,549,730,698,000
1,547,554,675,000
Lean
UTF-8
Lean
false
false
194
lean
import data.real.basic tactic.ring example (a b l m : ℝ) : abs(a + (b + (-l - m))) = abs(a + (-l + (b - m))) := -- by ring -- I think this used to work but now it doesn't by congr' 1; ring
2a307b6bf5cb6e46566d353ecdffb3b8ab161820
b3fced0f3ff82d577384fe81653e47df68bb2fa1
/src/topology/uniform_space/basic.lean
f7b79f21ce458c68e69bda6da093f6a428176c67
[ "Apache-2.0" ]
permissive
ratmice/mathlib
93b251ef5df08b6fd55074650ff47fdcc41a4c75
3a948a6a4cd5968d60e15ed914b1ad2f4423af8d
refs/heads/master
1,599,240,104,318
1,572,981,183,000
1,572,981,183,000
219,830,178
0
0
Apache-2.0
1,572,980,897,000
1,572,980,896,000
null
UTF-8
Lean
false
false
41,956
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 Theory of uniform spaces. Uniform spaces are a generalization of metric spaces and topological groups. Many concepts directly generaliz...
0e84201d6dcb6e9dff6f34855dae7a9a275f5dfa
9dc8cecdf3c4634764a18254e94d43da07142918
/src/order/filter/curry.lean
e5aeb997aca00c0b2dc5dd17113be02486bf5508
[ "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
3,667
lean
/- Copyright (c) 2022 Kevin H. Wilson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin H. Wilson -/ import order.filter.prod /-! # Curried Filters This file provides an operation (`filter.curry`) on filters which provides the equivalence `∀ᶠ a in l, ∀ᶠ b in l', ...
69c91dfcd83b5ebae49d09066164a0d7cd40c398
f4bff2062c030df03d65e8b69c88f79b63a359d8
/ideas/sup_inf_world.lean
2efdd96b70b8a0fdd23330ca55885639e50a6495
[ "Apache-2.0" ]
permissive
adastra7470/real-number-game
776606961f52db0eb824555ed2f8e16f92216ea3
f9dcb7d9255a79b57e62038228a23346c2dc301b
refs/heads/master
1,669,221,575,893
1,594,669,800,000
1,594,669,800,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
100
lean
-- world 1 import data.real.basic definition is_ub (X : set ℝ) (b : ℝ) := ∀ x ∈ X, x ≤ b
c48aad667a2e3f366d86a7e8148b9fe6dfefbc8c
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/tuple.lean
6cffe335c6387380a82e318e613f8b56e61f5252
[ "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
156
lean
import data.prod open nat prod set_option pp.universes true definition tuple (A : Type) (n : nat) : Type := nat.rec_on n A (λ n r, r × A) check @tuple
4c82d5170ca89968ef5cd992274280c23dd43641
b3fced0f3ff82d577384fe81653e47df68bb2fa1
/src/linear_algebra/direct_sum_module.lean
3e0ccf03d9855b04c9879f85e0eda2323bd6d6ff
[ "Apache-2.0" ]
permissive
ratmice/mathlib
93b251ef5df08b6fd55074650ff47fdcc41a4c75
3a948a6a4cd5968d60e15ed914b1ad2f4423af8d
refs/heads/master
1,599,240,104,318
1,572,981,183,000
1,572,981,183,000
219,830,178
0
0
Apache-2.0
1,572,980,897,000
1,572,980,896,000
null
UTF-8
Lean
false
false
3,512
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau Direct sum of modules over commutative rings, indexed by a discrete type. -/ import algebra.direct_sum import linear_algebra.basic universes u v w u₁ variables (R : Type u) [r...
bf5cbf6aa82fb707f0c8b03b8a7bb5e116970c5f
57fdc8de88f5ea3bfde4325e6ecd13f93a274ab5
/order/order_iso.lean
ce0b92ab36bc0930782d9191c2867bd195ace771
[ "Apache-2.0" ]
permissive
louisanu/mathlib
11f56f2d40dc792bc05ee2f78ea37d73e98ecbfe
2bd5e2159d20a8f20d04fc4d382e65eea775ed39
refs/heads/master
1,617,706,993,439
1,523,163,654,000
1,523,163,654,000
124,519,997
0
0
Apache-2.0
1,520,588,283,000
1,520,588,283,000
null
UTF-8
Lean
false
false
12,546
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import order.basic logic.embedding open function universes u v w variables {α : Type*} {β : Type*} {γ : Type*} {r : α → α → Prop} {s : β → β → Prop} {t : γ → γ → ...
169fac68daf325a36cda07e80db1d3a0e734f1ab
737dc4b96c97368cb66b925eeea3ab633ec3d702
/src/Lean/Elab/Tactic/Conv/Basic.lean
8cbab09c70e0c86055c7969dcdf5741231fdf345
[ "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
5,424
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.Tactic.Apply import Lean.Meta.Tactic.Replace import Lean.Elab.Tactic.Basic import Lean.Elab.Tactic.BuiltinTactic namespace Lean.Elab.Tacti...
82680b9aa1af4b14b87ff58d600303b574520338
88fb7558b0636ec6b181f2a548ac11ad3919f8a5
/library/init/meta/interactive.lean
ee649985ee3f361185dbefe13ad9d48eb6e8a9be
[ "Apache-2.0" ]
permissive
moritayasuaki/lean
9f666c323cb6fa1f31ac597d777914aed41e3b7a
ae96ebf6ee953088c235ff7ae0e8c95066ba8001
refs/heads/master
1,611,135,440,814
1,493,852,869,000
1,493,852,869,000
90,269,903
0
0
null
1,493,906,291,000
1,493,906,291,000
null
UTF-8
Lean
false
false
30,459
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.meta.rewrite_tactic init.meta.simp_tactic import init.meta.smt.congruence_closure init.category.combinators import init...
c22092b80c8d5d47bfd5161f8e73171ebab61d73
7cdf3413c097e5d36492d12cdd07030eb991d394
/src/tactic/structure_helper.lean
971af589575ea9f25c68c55bf4ca5b615f0cd592
[]
no_license
alreadydone/natural_number_game
3135b9385a9f43e74cfbf79513fc37e69b99e0b3
1a39e693df4f4e871eb449890d3c7715a25c2ec9
refs/heads/master
1,599,387,390,105
1,573,200,587,000
1,573,200,691,000
220,397,084
0
0
null
1,573,192,734,000
1,573,192,733,000
null
UTF-8
Lean
false
false
4,525
lean
import data.string data.list.defs import tactic.core def {u v w} list.mfilter_map {m : Type u → Type v} [alternative m] [monad m] {α : Type w} {β : Type u} (f : α → m β) : list α → m (list β) | [] := return [] | (h :: t) := do h' ← (f h >>= λ v, pure $ list.cons v []) <|> pure [], t' ← list.mfil...
a8d9561e4b6526769685f93334dbd121ed0b48bf
d642a6b1261b2cbe691e53561ac777b924751b63
/src/topology/instances/ennreal.lean
e3879975852f52954314d405f2f81a13de53e822
[ "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
33,426
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 Extended non-negative reals -/ import topology.instances.nnreal data.real.ennreal noncomputable theory open classical set lattice filter metric open_locale classical var...
4acbb5071a6b6ec291a6ffd12ca5ef21f58b8218
ea5678cc400c34ff95b661fa26d15024e27ea8cd
/disjoint_finset.lean
93544bcfbe1da7ffbe39d1cc475eba07943e7cc8
[]
no_license
ChrisHughes24/leanstuff
dca0b5349c3ed893e8792ffbd98cbcadaff20411
9efa85f72efaccd1d540385952a6acc18fce8687
refs/heads/master
1,654,883,241,759
1,652,873,885,000
1,652,873,885,000
134,599,537
1
0
null
null
null
null
UTF-8
Lean
false
false
2,792
lean
import data.finset namespace finset variable {α : Type*} def disjoint (s t : finset α) : Prop := ∀ ⦃a⦄, a ∈ s → a ∈ t → false theorem disjoint.symm {s t : finset α} (d : disjoint s t) : disjoint t s | a i₂ i₁ := d i₁ i₂ @[simp] theorem disjoint_comm {s t : finset α} : disjoint s t ↔ disjoint t s := ⟨disjoint.symm, ...
c0402ce32c9142acc36426e7424fe5b3a7375ece
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/ring_theory/simple_module.lean
1825410212884430d6bd3c48152135dfcb5968ff
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
4,417
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors : Aaron Anderson -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.linear_algebra.basic import Mathlib.order.atoms import Mathlib.PostPort universes u_1 u_2...
8c1853dac7c3e2f02edac31db4dc420f443451d4
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/testing/slim_check/sampleable_auto.lean
7b26eea14c52fc1feac40378145ae566ce23d22c
[]
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
27,439
lean
/- Copyright (c) 2020 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author(s): Simon Hudon -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.lazy_list.basic import Mathlib.data.tree import Mathlib.data.int.basic import Mathlib.cont...
e25394b4b87949b5976c4255cafe2a1967e66c3c
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/run/simpDischargeLoop.lean
c658e567fb14a000dfa0feb227faa09938db61ca
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
EdAyers/lean4
57ac632d6b0789cb91fab2170e8c9e40441221bd
37ba0df5841bde51dbc2329da81ac23d4f6a4de4
refs/heads/master
1,676,463,245,298
1,660,619,433,000
1,660,619,433,000
183,433,437
1
0
Apache-2.0
1,657,612,672,000
1,556,196,574,000
Lean
UTF-8
Lean
false
false
1,050
lean
open Nat def double : Nat → Nat | zero => 0 | succ n => succ (succ (double n)) theorem double.inj : double n = double m → n = m := by intro h induction n generalizing m with | zero => cases m <;> trivial | succ n ih => cases m with | zero => contradiction | succ m => simp [double] at...
52595f54872f7cb50206a623a5429240eed29a89
bb31430994044506fa42fd667e2d556327e18dfe
/src/algebra/order/hom/ring.lean
6cc404b68cf77f6f9c56cadbbb365e600684e986
[ "Apache-2.0" ]
permissive
sgouezel/mathlib
0cb4e5335a2ba189fa7af96d83a377f83270e503
00638177efd1b2534fc5269363ebf42a7871df9a
refs/heads/master
1,674,527,483,042
1,673,665,568,000
1,673,665,568,000
119,598,202
0
0
null
1,517,348,647,000
1,517,348,646,000
null
UTF-8
Lean
false
false
15,243
lean
/- Copyright (c) 2022 Alex J. Best, Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alex J. Best, Yaël Dillies -/ import algebra.order.archimedean import algebra.order.hom.monoid import algebra.order.ring.defs import algebra.ring.equiv import tactic.by_con...
592fbee9ed8c65651c4446a163a52b8bb335f52a
a49a42dda6e1ae18983e9264eb962585a900fa99
/src/circle.lean
4299a55cdcee84c18874053c593dc27a9adee2f9
[]
no_license
jamesa9283/Lean-AreaOfACircle
a5d22cbc96bc2cf2f76b79221b0ec65628edc333
c5d5030eeab98bb6552693de55a77a9cf2c21d20
refs/heads/master
1,676,179,712,721
1,610,133,816,000
1,610,133,816,000
327,885,903
0
0
null
null
null
null
UTF-8
Lean
false
false
1,099
lean
import data.real.basic analysis.special_functions.trigonometric import measure_theory.interval_integral import analysis.special_functions.pow open_locale real noncomputable theory open interval_integral example : ∫ (x : ℝ) in 0..1, x = 1/2 := begin have : deriv (λ x : ℝ, x^2/2) = λ x, x, { ext x, simp, field_...
1898f364607b5e0d994a887db23c656d448141ec
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/order/ideal.lean
98cd460a2f2a9c41e694f6b898bf5c45e4dd4539
[ "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
9,235
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 order.basic import data.equiv.encodable.basic /-! # Order ideals, cofinal sets, and the Rasiowa–Sikorski lemma ## Main definitions Throughout this file, `P` is at l...
e5371e7bb88a0a086bff2fc7fd14b35a503eedaa
649957717d58c43b5d8d200da34bf374293fe739
/src/category_theory/types.lean
032c2ed3ad1c1cf2ce8336e881a687a3974c2537
[ "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
4,562
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Stephen Morgan, Scott Morrison, Johannes Hölzl import category_theory.functor_category import category_theory.fully_faithful import data.equiv.basic namespace category_theory ...
ccdc83dcca1a4848af95e3b65b692324fdc28d8c
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/algebraic_topology/simplex_category.lean
335a502fd6a9dd11eb7717855b2afb1f8918f24c
[ "Apache-2.0" ]
permissive
ramonfmir/mathlib
c5dc8b33155473fab97c38bd3aa6723dc289beaa
14c52e990c17f5a00c0cc9e09847af16fabbed25
refs/heads/master
1,661,979,343,526
1,660,830,384,000
1,660,830,384,000
182,072,989
0
0
null
1,555,585,876,000
1,555,585,876,000
null
UTF-8
Lean
false
false
27,263
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Scott Morrison, Adam Topaz -/ import category_theory.skeletal import tactic.linarith import data.fintype.sort import order.category.NonemptyFinLinOrd import category_t...
4df19d1195a6229f8d558b3c8376ec99b212f93b
efce24474b28579aba3272fdb77177dc2b11d7aa
/src/data/bij_on.lean
e1558ca126793305441998e0fc6ff9b03454e7f0
[ "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
7,040
lean
import data.equiv.basic import data.set.function import for_mathlib import data.is_equiv open set equiv section Bij_on variables {α : Type*} {β : Type*} {γ : Type*} {δ : Type*} -- A constructive version of bij_on: f : a → b is an equivalence. Note -- that f is defined on all of α, but its inverse need only be defi...
da1ba97bb5f91f0d65d69ee89c695126639f1b5d
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/data/zsqrtd/basic.lean
076b8bd2f47aa8d221266c8095fbbbb885828df6
[ "Apache-2.0" ]
permissive
anrddh/mathlib
6a374da53c7e3a35cb0298b0cd67824efef362b4
a4266a01d2dcb10de19369307c986d038c7bb6a6
refs/heads/master
1,656,710,827,909
1,589,560,456,000
1,589,560,456,000
264,271,800
0
0
Apache-2.0
1,589,568,062,000
1,589,568,061,000
null
UTF-8
Lean
false
false
26,993
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import algebra.associated import tactic.ring /-- The ring of integers adjoined with a square root of `d`. These have the form `a + b √d` where `a b : ℤ`. The compo...
e0e9a866b23696b8fce4547a772aa3b0eddc2a38
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/test/simps.lean
665f3c16082e3618d5e42fa6165be337d176a1f6
[ "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
36,319
lean
import algebra.hom.group import data.sum.basic import tactic.simps universes v u w -- set_option trace.simps.verbose true -- set_option trace.simps.debug true -- set_option trace.app_builder true open function tactic expr structure equiv' (α : Sort*) (β : Sort*) := (to_fun : α → β) (inv_fun : β → α) (left_inv ...
d59f615fa26fc35b77b83c004d21db355a831ddd
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/interactive/goal_info_rw.lean
f6b0afc9efd92e48b83c11210bf02fef4f2dc42e
[ "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
253
lean
example (p q r : Prop) (h₁ : p = q) (h₂ : q = r) : p = r := by rw [h₁, --^ "command": "info" ←h₂, --^ "command": "info" ←h₁ --^ "command": "info" --^ "command": "info" ] --^ "command": "info"
838f77fedd3d96712c819d2f08eed55429abe084
4727251e0cd73359b15b664c3170e5d754078599
/src/linear_algebra/charpoly/basic.lean
630f07ee362112c747b09eb588e05b8714256df0
[ "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,650
lean
/- Copyright (c) 2021 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca -/ import linear_algebra.free_module.finite.basic import linear_algebra.matrix.charpoly.coeff import field_theory.minpoly /-! # Characteristic polynomial We define...
efa6f60d9b21b929b0818b296108166cc6002109
9dc8cecdf3c4634764a18254e94d43da07142918
/src/group_theory/subsemigroup/center.lean
99208d255088d8740c3e59de32bdfd31a6655d65
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
4,968
lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser, Jireh Loreaux -/ import group_theory.subsemigroup.operations import data.fintype.basic /-! # Centers of magmas and semigroups ## Main definitions * `set.center`: the cente...
217c351666973e3506ad8404ab59f627627c21d8
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/abelian/right_derived.lean
4797700212e96993415407836075e6be9f0a6eb1
[ "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
13,901
lean
/- Copyright (c) 2022 Jujian Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jujian Zhang, Scott Morrison -/ import category_theory.abelian.injective_resolution import algebra.homology.additive import category_theory.limits.constructions.epi_mono import category_...
c3bbdd5ac2f9d6c888f73f0bbc74b7c84fb88a61
b00eb947a9c4141624aa8919e94ce6dcd249ed70
/src/Lean/Elab/PreDefinition/Structural.lean
5976a5b1193a943d85ac026f13e5b7d8f9c8fe5a
[ "Apache-2.0" ]
permissive
gebner/lean4-old
a4129a041af2d4d12afb3a8d4deedabde727719b
ee51cdfaf63ee313c914d83264f91f414a0e3b6e
refs/heads/master
1,683,628,606,745
1,622,651,300,000
1,622,654,405,000
142,608,821
1
0
null
null
null
null
UTF-8
Lean
false
false
24,207
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.Util.ForEachExpr import Lean.Meta.ForEachExpr import Lean.Meta.RecursorInfo import Lean.Meta.Match.Match import Lean.Meta.Transform import Lean....
ad52deda8fc3ef0eba66447fd4d0d9d67e89e07a
9d2e3d5a2e2342a283affd97eead310c3b528a24
/src/demos/category_theory.lean
9e7ac3257bee7327de592a631857532e75badf4a
[]
permissive
Vtec234/lftcm2020
ad2610ab614beefe44acc5622bb4a7fff9a5ea46
bbbd4c8162f8c2ef602300ab8fdeca231886375d
refs/heads/master
1,668,808,098,623
1,594,989,081,000
1,594,990,079,000
280,423,039
0
0
MIT
1,594,990,209,000
1,594,990,209,000
null
UTF-8
Lean
false
false
15,347
lean
import demos.category_theory_imports /-! This is a demo of the category theory library in mathlib, as part of "Lean for the Curious Mathematician 2020". You can get this file by: * installing Lean if necessary: https://leanprover-community.github.io/get_started.html#regular-install * `leanproject get lftcm2020` * `co...
5ad21423eb9ae143eb5086ec1c2447a8219f9eab
246309748072bf9f8da313401699689ebbecd94d
/src/ring_theory/integral_closure.lean
15ccafb5464e88a8fb9220c8b5ef8b3fe979a72b
[ "Apache-2.0" ]
permissive
YJMD/mathlib
b703a641e5f32a996f7842f7c0043bab2b462ee2
7310eab9fa8c1b1229dca42682f1fa6bfb7dbbf9
refs/heads/master
1,670,714,479,314
1,599,035,445,000
1,599,035,445,000
292,279,930
0
0
null
1,599,050,561,000
1,599,050,560,000
null
UTF-8
Lean
false
false
16,555
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import ring_theory.algebra_tower /-! # Integral closure of a subring. If A is an R-algebra then `a : A` is integral over R if it is a root of a monic polynomial with coeffici...
c80e80a5d9573d8a0cb54bb5f581a8a261e3a12e
2c41ae31b2b771ad5646ad880201393f5269a7f0
/Lean/Qualities/OtherScarceResources.lean
09693911a5f64ced628d9b0961440dbacc0fc273
[]
no_license
kevinsullivan/Boehm
926f25bc6f1a8b6bd47d333d936fdfc278228312
55208395bff20d48a598b7fa33a4d55a2447a9cf
refs/heads/master
1,586,127,134,302
1,488,252,326,000
1,488,252,326,000
32,836,930
0
0
null
null
null
null
UTF-8
Lean
false
false
618
lean
-- OtherScarceResources /- [OtherScarceResources] is parameterized by an instance of type [SystemType], and it's a sub-attribute to [Efficient]. -/ import SystemModel.System inductive OtherScarceResources (sys_type: SystemType): Prop | intro : (exists otherScarceResources: sys_type ^.Contexts -> sys_type ^.Ph...
4cb1085816bf3b9a4980bd55aac1fc6cd0885e0e
4c630d016e43ace8c5f476a5070a471130c8a411
/group_theory/subgroup.lean
ac7eefa6a4b84e95b0e8d6c8997714e95263299a
[ "Apache-2.0" ]
permissive
ngamt/mathlib
9a510c391694dc43eec969914e2a0e20b272d172
58909bd424209739a2214961eefaa012fb8a18d2
refs/heads/master
1,585,942,993,674
1,540,739,585,000
1,540,916,815,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
18,113
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, Mitchell Rowett, Scott Morrison, Johan Commelin, Mario Carneiro -/ import group_theory.submonoid open set function variables {α : Type*} {β : Type*} {a a₁ a₂ b c: α} ...
2d0d8860190b04f020a7797181d1187584a9c8bd
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/data/equiv/set.lean
c9771c9240018b95fe43c249470d225ad7eb51d4
[ "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
23,017
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Mario Carneiro -/ import data.equiv.basic import data.set.function /-! # Equivalences and sets In this file we provide lemmas linking equivalences to sets. ...
73c601df959529a0971367c2e2e666fbd1ecc3ec
5d166a16ae129621cb54ca9dde86c275d7d2b483
/library/data/vector.lean
7a1eefc0e3c1c8cd09478bdb95d3ca1518ec01a8
[ "Apache-2.0" ]
permissive
jcarlson23/lean
b00098763291397e0ac76b37a2dd96bc013bd247
8de88701247f54d325edd46c0eed57aeacb64baf
refs/heads/master
1,611,571,813,719
1,497,020,963,000
1,497,021,515,000
93,882,536
1
0
null
1,497,029,896,000
1,497,029,896,000
null
UTF-8
Lean
false
false
4,588
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura Tuples are lists of a fixed size. It is implemented as a subtype. -/ import data.list universes u v w def vector (α : Type u) (n : ℕ) := { l : list α // l.le...
3c8c8c38eaa2e0c05bd9b073f5f7ec2798121de0
d1bbf1801b3dcb214451d48214589f511061da63
/src/data/equiv/basic.lean
4352e1303f303624c44842262c070c456b8eba0c
[ "Apache-2.0" ]
permissive
cheraghchi/mathlib
5c366f8c4f8e66973b60c37881889da8390cab86
f29d1c3038422168fbbdb2526abf7c0ff13e86db
refs/heads/master
1,676,577,831,283
1,610,894,638,000
1,610,894,638,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
88,084
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Mario Carneiro -/ import data.set.function /-! # Equivalence between types In this file we define two types: * `equiv α β` a.k.a. `α ≃ β`: a bijective map ...
55c8de70cc85ee8cfe967d8daad6c8a7f4085cb6
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/data/polynomial/field_division.lean
ee8b817bbe288afc856bf2b9c7102638185a32ae
[ "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
19,754
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 algebra.gcd_monoid.basic import data.polynomial.derivative import data.polynomial.ring_division import data.set.pai...
2fa79abba8f280630955feec55287ee69ccfc98b
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/order/basic.lean
f6b3f7c08e713ec038aa0f16160eb39e913fc858
[ "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
28,258
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Mario Carneiro -/ import logic.basic data.sum data.set.basic algebra.order open function /- TODO: automatic construction of dual definitions / theorems -/ universes u v...
4ee00b605a9c1e9adcaeacfb26000c71574e40c5
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/analysis/normed_space/real_inner_product.lean
2ad029a04da2c9a37904e731d8220b4f5b7f638c
[ "Apache-2.0" ]
permissive
agjftucker/mathlib
d634cd0d5256b6325e3c55bb7fb2403548371707
87fe50de17b00af533f72a102d0adefe4a2285e8
refs/heads/master
1,625,378,131,941
1,599,166,526,000
1,599,166,526,000
160,748,509
0
0
Apache-2.0
1,544,141,789,000
1,544,141,789,000
null
UTF-8
Lean
false
false
50,726
lean
/- Copyright (c) 2019 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou, Sébastien Gouëzel -/ import algebra.quadratic_discriminant import linear_algebra.bilinear_form import tactic.apply_fun import tactic.monotonicity import topology.metric_s...
ce8ae9c2185f367f628e28993bd493b34b6c74ca
8e6cad62ec62c6c348e5faaa3c3f2079012bdd69
/src/data/set/intervals/basic.lean
26c6b19a2aa43dc9d76306d15537225d5261c25e
[ "Apache-2.0" ]
permissive
benjamindavidson/mathlib
8cc81c865aa8e7cf4462245f58d35ae9a56b150d
fad44b9f670670d87c8e25ff9cdf63af87ad731e
refs/heads/master
1,679,545,578,362
1,615,343,014,000
1,615,343,014,000
312,926,983
0
0
Apache-2.0
1,615,360,301,000
1,605,399,418,000
Lean
UTF-8
Lean
false
false
50,996
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, Yury Kudryashov, Rémy Degenne -/ import algebra.ordered_group import data.set.basic /-! # Intervals In any preorder `α`, we define int...
3eb4f5e7d6e7e4b5e70a16272c505a1271be87b3
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Lean/Server/Rpc/Basic.lean
31fa53666bb51d304cdc9e220a727c97a27ef7c1
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
cipher1024/lean4
6e1f98bb58e7a92b28f5364eb38a14c8d0aae393
69114d3b50806264ef35b57394391c3e738a9822
refs/heads/master
1,642,227,983,603
1,642,011,696,000
1,642,011,696,000
228,607,691
0
0
Apache-2.0
1,576,584,269,000
1,576,584,268,000
null
UTF-8
Lean
false
false
4,364
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.Data.Lsp.Extra /-! Allows LSP clients to make Remote Procedure Calls to the server. The single use case for these is to allow the infoview UI...
c2989944e474e8cc9462276ebb87ebfc1fb3fe50
556aeb81a103e9e0ac4e1fe0ce1bc6e6161c3c5e
/src/starkware/cairo/common/cairo_secp/constants_spec.lean
12475b8740e9f39ec3dd9de934df9914c4f9a90a
[]
permissive
starkware-libs/formal-proofs
d6b731604461bf99e6ba820e68acca62a21709e8
f5fa4ba6a471357fd171175183203d0b437f6527
refs/heads/master
1,691,085,444,753
1,690,507,386,000
1,690,507,386,000
410,476,629
32
9
Apache-2.0
1,690,506,773,000
1,632,639,790,000
Lean
UTF-8
Lean
false
false
2,614
lean
/- Specifications file for constants_spec.cairo Do not modify the constant definitions, structure definitions, or automatic specifications. Do not change the name or arguments of the user specifications and soundness theorems. You may freely move the definitions around in the file. You may add definitions a...
33d0d740485565d5e62c4a6c8ecbefc56fbca164
a4673261e60b025e2c8c825dfa4ab9108246c32e
/src/Lean/Meta/Tactic/Injection.lean
c465c7e61526d7d215dc1a75fc380dcb8486e9b8
[ "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
3,443
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.AppBuilder import Lean.Meta.Tactic.Clear import Lean.Meta.Tactic.Assert import Lean.Meta.Tactic.Intro namespace Lean.Meta inductive Injec...
9f95cefc658c8b716b8e53ed423d2330397920f6
eee9431f1775ed555dbf09e29e071194c6d586bf
/ACE/ex03.lean
06929cb8c8541a0a2aca21224a1ed8dbcf8b9546
[]
no_license
Paox2/myWorkInCollege
0d60abceb28d0228576f87ceb9f0a0aaeb944144
fadf8a93b27a56b2f5d8f0063087fdb71390cf93
refs/heads/master
1,679,972,166,761
1,617,740,970,000
1,617,740,970,000
256,950,200
0
0
null
null
null
null
UTF-8
Lean
false
false
5,605
lean
/- COMP2009-ACE Exercise 03 (Predicate logic) This exercise has 2 parts. In the 1st part you are supposed to formally define what certain relation bewteen humans are (like Father, brother-in-law etc). Here we use Lean only as a syntax and type checker. In the 2nd part we play logic poker again :-) b...
3f2a1c0d87fdf8ba5919f99867838bf7bc20c5f1
63abd62053d479eae5abf4951554e1064a4c45b4
/src/tactic/abel.lean
3fbfe92b7ffed7a6032042d23e2af783105db4b6
[ "Apache-2.0" ]
permissive
Lix0120/mathlib
0020745240315ed0e517cbf32e738d8f9811dd80
e14c37827456fc6707f31b4d1d16f1f3a3205e91
refs/heads/master
1,673,102,855,024
1,604,151,044,000
1,604,151,044,000
308,930,245
0
0
Apache-2.0
1,604,164,710,000
1,604,163,547,000
null
UTF-8
Lean
false
false
13,130
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import tactic.norm_num /-! # The `abel` tactic Evaluate expressions in the language of additive, commutative monoids and groups. -/ namespace tactic namespace ab...
4db1996b86b3c64efeb7ee47b9b14bf389383183
e030b0259b777fedcdf73dd966f3f1556d392178
/library/init/meta/declaration.lean
0f125589fc4e2848a9bef6374993a21086831cb7
[ "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
5,187
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.expr init.meta.name init.meta.task /- Reducibility hints are used in the convertibility checker. When trying to solve a constraint...
4fb7698d3a9394794664555ba111b86c023c16ef
c3de33d4701e6113627153fe1103b255e752ed7d
/data/bool.lean
05d912c8928f9b6b0c4a53a03915885f336ec20b
[]
no_license
jroesch/library_dev
77d2b246ff47ab05d55cb9706a37d3de97038388
4faa0a45c6aa7eee6e661113c2072b8840bff79b
refs/heads/master
1,611,281,606,352
1,495,661,644,000
1,495,661,644,000
92,340,430
0
0
null
1,495,663,344,000
1,495,663,344,000
null
UTF-8
Lean
false
false
4,692
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 -/ -- TODO(Jeremy): these used to be proved by rec_simp. Write a special tactic for these, or -- get auto or super to do them. namespace bool ...
4908b900e558dce13e1b55286d017dea67923a95
5e42295de7f5bcdf224b94603a8ec29b17c2d367
/normalizer3.lean
fef5e86fc3237e764a8706167463016ac3c70810
[]
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
14,170
lean
import datatypes norm_num-- blackboard namespace polya section aux #check expr.is_numeral meta def is_num : expr → bool | `(bit0 %%e) := is_num e | `(bit1 %%e) := is_num e | `(@has_zero.zero _ _) := tt | `(@has_one.one _ _) := tt | `(-%%a) := is_num a | `(%%a / %%b) := is_num a && is_num b | _ := ff m...
cd517ebd4923fb9ab7148524b05aced2557710b0
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/functor/reflects_isomorphisms.lean
381f1b336220aea7209fbe4bb8f0574f4af2f6d9
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
1,849
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta -/ import category_theory.functor.fully_faithful /-! # Functors which reflect isomorphisms A functor `F` reflects isomorphisms if whenever `F.map f` is an isomorphism, `f`...
da15a0daa2e00598858b9249f64deb738a699a77
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/set/intervals/basic.lean
250eba029ea6806add4885c86f8ff46718bf4f49
[ "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
54,383
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, Yury Kudryashov, Rémy Degenne -/ import order.min_max import data.set.prod /-! # Intervals > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. ...
52aa55882e877343604a5b7eed21fc886af66a65
d1a52c3f208fa42c41df8278c3d280f075eb020c
/src/Lean/Elab/Tactic/Conv/Simp.lean
76cdb6fee61a0cb45d22a4ba37f9e4c2a9720bcd
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
cipher1024/lean4
6e1f98bb58e7a92b28f5364eb38a14c8d0aae393
69114d3b50806264ef35b57394391c3e738a9822
refs/heads/master
1,642,227,983,603
1,642,011,696,000
1,642,011,696,000
228,607,691
0
0
Apache-2.0
1,576,584,269,000
1,576,584,268,000
null
UTF-8
Lean
false
false
979
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Elab.Tactic.Simp import Lean.Elab.Tactic.Split import Lean.Elab.Tactic.Conv.Basic namespace Lean.Elab.Tactic.Conv open Meta def applySimpResul...
90b269451fce91c558f38047b395cf9403b01d91
01ae0d022f2e2fefdaaa898938c1ac1fbce3b3ab
/categories/util/Two.lean
e07d2a036a4816c63cef63418548ba2d54784635
[]
no_license
PatrickMassot/lean-category-theory
0f56a83464396a253c28a42dece16c93baf8ad74
ef239978e91f2e1c3b8e88b6e9c64c155dc56c99
refs/heads/master
1,629,739,187,316
1,512,422,659,000
1,512,422,659,000
113,098,786
0
0
null
1,512,424,022,000
1,512,424,022,000
null
UTF-8
Lean
false
false
555
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison import tidy.at_least_one import tidy.tidy_attributes open tactic inductive Two : Type | _0 : Two | _1 : Two -- TODO ideally this wouldn't require a whole separ...
dc0a391b96fd81c432c3d5bf9ddc6a07ba999908
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/set/intervals/group.lean
218d2dcc821febb5008482ed5fc0c7cf00375ed5
[ "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,073
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, Yury Kudryashov, Rémy Degenne -/ import data.set.intervals.basic import data.set.pairwise.basic import algebra.order.group.abs import al...
88efde241755a19673c88dcc7e4b693537482579
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/topology/sheaves/sheaf_condition/sites.lean
7a6670ad156743b7668004761a6be1d62af2f007
[ "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
23,342
lean
/- Copyright (c) 2021 Justus Springer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Justus Springer -/ import category_theory.sites.spaces import topology.sheaves.sheaf import category_theory.sites.dense_subsite /-! # The sheaf condition in terms of sites. The th...
99925861745d92a21dd84d5f4ff7303e6456c2f3
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/module/submodule/basic.lean
cff1388b1ad80c0d09f4cf7724d1b1e3d4a575d0
[ "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
16,171
lean
/- Copyright (c) 2015 Nathaniel Thomas. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nathaniel Thomas, Jeremy Avigad, Johannes Hölzl, Mario Carneiro -/ import algebra.module.linear_map import algebra.module.equiv import group_theory.group_action.sub_mul_action /-! #...
db35c3da5ca24e89590f206b3e50e4333768afac
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/data/int/parity.lean
da98012fac4f87511c8a8f38863fd676507497b4
[ "Apache-2.0" ]
permissive
ChrisHughes24/mathlib
98322577c460bc6b1fe5c21f42ce33ad1c3e5558
a2a867e827c2a6702beb9efc2b9282bd801d5f9a
refs/heads/master
1,583,848,251,477
1,565,164,247,000
1,565,164,247,000
129,409,993
0
1
Apache-2.0
1,565,164,817,000
1,523,628,059,000
Lean
UTF-8
Lean
false
false
2,846
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad The `even` predicate on the integers. -/ import .modeq data.nat.parity algebra.group_power namespace int @[simp] theorem mod_two_ne_one {n : int} : ¬ n % 2 = 1 ↔ n % 2 ...