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
a95a1a2142fca445e896a73accae07868db598a2
63abd62053d479eae5abf4951554e1064a4c45b4
/src/ring_theory/integral_domain.lean
f1a77c3f06355e43d1609aab5ae4481e3380a9e8
[ "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
7,037
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Chris Hughes -/ import data.fintype.card import data.polynomial.ring_division import group_theory.order_of_element import algebra.geom_sum /-! # Integral domains Ass...
b144d99fb48ea630d62dff794e6ae02354c114f0
a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7
/src/category_theory/preadditive/default.lean
7a7d6ef55d862574d48140a6653ebc7ca0a0952c
[ "Apache-2.0" ]
permissive
kmill/mathlib
ea5a007b67ae4e9e18dd50d31d8aa60f650425ee
1a419a9fea7b959317eddd556e1bb9639f4dcc05
refs/heads/master
1,668,578,197,719
1,593,629,163,000
1,593,629,163,000
276,482,939
0
0
null
1,593,637,960,000
1,593,637,959,000
null
UTF-8
Lean
false
false
7,845
lean
/- Copyright (c) 2020 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel -/ import algebra.group.hom import category_theory.limits.shapes.kernels import algebra.big_operators /-! # Preadditive categories A preadditive category is a category i...
531e9b46c83acf44920c6d32b614174d1de9069b
0ddf2dd8409bcb923d11603846800bd9699616ea
/chapter11.lean
c819e9a12b3652153c1f6f6108974faee9af9a2e
[]
no_license
tounaishouta/Lean
0cbaaa9340e7f8f884504ea170243e07a54f0566
1d75311f5506ca2bfd8b7ccec0b7d70c3319d555
refs/heads/master
1,610,229,383,935
1,459,950,226,000
1,459,950,226,000
50,836,185
0
0
null
null
null
null
UTF-8
Lean
false
false
7,837
lean
import standard namespace chapter11 -- -- 前回の復習 -- namespace review /- Lean でも "begin .. end" の間や "by" の後には Coq のような tactic-style の証明が書けますよー -/ end review -- -- 11.4 Structuring Tactic Proof -- namespace section4 /- Lean では term-style proof と tactic-style proof を自由に行き来できるよ、という話 e.g. * term-style proof の中で * ...
7e37ea2d3167b60f873544c1277ce9e3d74402a3
42610cc2e5db9c90269470365e6056df0122eaa0
/hott/hit/quotient.hlean
1ba872cd7ad215f13851d21630b3ee7e2213be0d
[ "Apache-2.0" ]
permissive
tomsib2001/lean
2ab59bfaebd24a62109f800dcf4a7139ebd73858
eb639a7d53fb40175bea5c8da86b51d14bb91f76
refs/heads/master
1,586,128,387,740
1,468,968,950,000
1,468,968,950,000
61,027,234
0
0
null
1,465,813,585,000
1,465,813,585,000
null
UTF-8
Lean
false
false
8,177
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 Quotients. This is a quotient without truncation for an arbitrary type-valued binary relation. See also .set_quotient -/ /- The hit quotient is primitive, declar...
316b8e906a556189ec3f39fcf07a0a0e114fe1e6
acc85b4be2c618b11fc7cb3005521ae6858a8d07
/analysis/measure_theory/borel_space.lean
0cff8934e41362d40e5786aa3674776ce6ea9309
[ "Apache-2.0" ]
permissive
linpingchuan/mathlib
d49990b236574df2a45d9919ba43c923f693d341
5ad8020f67eb13896a41cc7691d072c9331b1f76
refs/heads/master
1,626,019,377,808
1,508,048,784,000
1,508,048,784,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,782
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 Borel (measurable) space -- the smallest σ-algebra generated by open sets It would be nice to encode this in the topological space type class, i.e. each topological sp...
2b9c1b15461940abe503c2bf5dca330bb7d56146
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/stage0/src/Init/Data/Repr.lean
2ab02f3b1809a68b06d3f6c8eed069e036da693f
[ "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
6,750
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import Init.Data.Format.Basic import Init.Data.Int.Basic import Init.Data.Nat.Div import Init.Data.UInt import Init.Control.Id open Sum Subtype Nat ...
015c0aabec76178b2c8a410ffaaa618d6f93e2a8
9b9a16fa2cb737daee6b2785474678b6fa91d6d4
/src/data/finsupp.lean
13aa66b0f3c2b13eb00289f60c3bcd176052ac05
[ "Apache-2.0" ]
permissive
johoelzl/mathlib
253f46daa30b644d011e8e119025b01ad69735c4
592e3c7a2dfbd5826919b4605559d35d4d75938f
refs/heads/master
1,625,657,216,488
1,551,374,946,000
1,551,374,946,000
98,915,829
0
0
Apache-2.0
1,522,917,267,000
1,501,524,499,000
Lean
UTF-8
Lean
false
false
49,621
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 Type of functions with finite support. Functions with finite support provide the basis for the following concrete instances: * ℕ →₀ α: Polynomials (where α is a ring...
78ab5da22e10ead6dcf67feb663afad533f91ddf
dfbd4b284cc03e870b12af5532c592e0ad8d02f1
/M1F/2017-18/Example_Sheet_01/Question_07/M1F_sheet01_solution07.lean
23879ce21bab73d082b445549fae5265bb529f4e
[]
no_license
Shamrock-Frost/xena
7a1e27df933f9321584e6256c0319e5a1afb9a38
9eb0c2c23363b963a2ebb2ea5bb37cc7dd602b1a
refs/heads/master
1,626,672,528,677
1,509,140,744,000
1,509,140,744,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,046
lean
import analysis.real xenalib.M1Fstuff -- real numbers live in here in Lean mathlib -- NB you need mathlib installed to get this working. -- of_rat is the injection from the rationals to the reals. -- This question was absurdly difficult for me -- because we need to prove that 1/2 isn't an integer ;-) -- I did it in t...
3665eba1ec17362c0ac5641c41ba7cf70592743b
037dba89703a79cd4a4aec5e959818147f97635d
/src/2020/problem_sheets/Part_II/sheet1_q1_solutions.lean
899cd39a8d03996eda26495e6b915e42cb4d8b73
[]
no_license
ImperialCollegeLondon/M40001_lean
3a6a09298da395ab51bc220a535035d45bbe919b
62a76fa92654c855af2b2fc2bef8e60acd16ccec
refs/heads/master
1,666,750,403,259
1,665,771,117,000
1,665,771,117,000
209,141,835
115
12
null
1,640,270,596,000
1,568,749,174,000
Lean
UTF-8
Lean
false
false
728
lean
import tactic variables (x y : ℕ) open nat theorem Q1a : x + y = y + x := begin induction y with d hd, { rw [add_zero, zero_add] }, { rw [add_succ, succ_add, hd] } end theorem Q1b : x + y = x → y = 0 := begin intro h, induction x with d hd, { convert h, rw zero_add }, { apply hd, rw succ_add at h,...
00abbacde25829c2d19473b083d7b9d7118915a8
d642a6b1261b2cbe691e53561ac777b924751b63
/src/ring_theory/algebra.lean
57185203cf70916843b874aa60694aedb577c53d
[ "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
19,883
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau Algebra over Commutative Ring (under category) -/ import data.polynomial data.mv_polynomial import data.complex.basic import linear_algebra.tensor_product import ring_theory.sub...
8329d18b04576c62287a28fa88fab9e55b6266ff
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/algebra/star/basic.lean
b890133027774fc4e68a3fe4bcd18d4bf4752a0d
[ "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
11,934
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import tactic.apply_fun import algebra.field_power import data.equiv.ring_aut import group_theory.group_action.units import algebra.ring.comp_typeclasses /-! # Star ...
fe349c8a86db91456eefdfa8f3ab58a11e4b9b4c
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/linear_algebra/unitary_group.lean
b346fc2568f7cfd2216228236208fccbd0affde9
[ "Apache-2.0" ]
permissive
JLimperg/aesop3
306cc6570c556568897ed2e508c8869667252e8a
a4a116f650cc7403428e72bd2e2c4cda300fe03f
refs/heads/master
1,682,884,916,368
1,620,320,033,000
1,620,320,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,376
lean
/- Copyright (c) 2021 Shing Tak Lam. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Shing Tak Lam -/ import linear_algebra.matrix import linear_algebra.nonsingular_inverse import data.complex.basic /-! # The Unitary Group This file defines elements of the unitary gro...
eb797a7e3b74ca8f45a4f103c099ca1a9145b927
957a80ea22c5abb4f4670b250d55534d9db99108
/library/init/meta/interactive.lean
41719cd06a9d20a163ae6dd34c1c1e1990f5cfcf
[ "Apache-2.0" ]
permissive
GaloisInc/lean
aa1e64d604051e602fcf4610061314b9a37ab8cd
f1ec117a24459b59c6ff9e56a1d09d9e9e60a6c0
refs/heads/master
1,592,202,909,807
1,504,624,387,000
1,504,624,387,000
75,319,626
2
1
Apache-2.0
1,539,290,164,000
1,480,616,104,000
C++
UTF-8
Lean
false
false
42,025
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...
b3a635c961fb8eaddf7e21d7af95967e1742fdc1
8e31b9e0d8cec76b5aa1e60a240bbd557d01047c
/src/refinement/tableau.lean
c976900e08cbbca04bdee1adb44d0c235fdaa297
[]
no_license
ChrisHughes24/LP
7bdd62cb648461c67246457f3ddcb9518226dd49
e3ed64c2d1f642696104584e74ae7226d8e916de
refs/heads/master
1,685,642,642,858
1,578,070,602,000
1,578,070,602,000
195,268,102
4
3
null
1,569,229,518,000
1,562,255,287,000
Lean
UTF-8
Lean
false
false
26,178
lean
import data.matrix.pequiv data.rat.basic tactic.fin_cases data.list.min_max partition .tableau_class open matrix fintype finset function pequiv is_tableau local notation `rvec`:2000 n := matrix (fin 1) (fin n) ℚ local notation `cvec`:2000 m := matrix (fin m) (fin 1) ℚ local infix ` ⬝ `:70 := matrix.mul local postfix ...
f4622f21e53901933fb5011acc7dc5d53a3ce03f
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/list/prime.lean
bf6c5986e54c9f80febaa770b437aa44fab2715e
[ "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
3,183
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Jens Wagemaker, Anne Baanen -/ import algebra.associated import data.list.big_operators import data.list.perm /-! # Products of lists of prime elements. This file co...
168c1f0c1ad82048f287e5e511a70c57a00bf6d4
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/combinatorics/simple_graph/degree_sum.lean
dcc0eac7cdc1ca96334303cb97cba58bdad4d5fb
[ "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
8,343
lean
/- Copyright (c) 2020 Kyle Miller. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kyle Miller -/ import combinatorics.simple_graph.basic import algebra.big_operators.basic import data.nat.parity import data.zmod.parity /-! # Degree-sum formula and handshaking lemma T...
c457d7c52004984c3eabb7fb00b5f5cd289fda83
97c8e5d8aca4afeebb5b335f26a492c53680efc8
/ground_zero/theorems/topology.lean
675b29a2a160f094ff75ee419c7722dd8a29027d
[]
no_license
jfrancese/lean
cf32f0d8d5520b6f0e9d3987deb95841c553c53c
06e7efaecce4093d97fb5ecc75479df2ef1dbbdb
refs/heads/master
1,587,915,151,351
1,551,012,140,000
1,551,012,140,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
889
lean
namespace ground_zero.theorems.topology universe u def subset {α : Sort u} (u v : α → Prop) := Π x, u x → v x def disjoint {α : Sort u} (u v : α → Prop) := Π x, not (u x ∧ v x) def union {α : Sort u} (β : (α → Prop) → Prop) := λ x, ∃ (u : α → Prop), β u ∧ u x def inter {α : Sort u} (u v : α → Prop) := λ x, u x ∧ v ...
3a8708ecb3047c43926cea735e85f038d920415d
09b3e1beaeff2641ac75019c9f735d79d508071d
/Mathlib/Algebra/Ring/Basic.lean
9004e44bf1cc7a1bbe3e4f5f9b6f933fdd731d7a
[ "Apache-2.0" ]
permissive
abentkamp/mathlib4
b819079cc46426b3c5c77413504b07541afacc19
f8294a67548f8f3d1f5913677b070a2ef5bcf120
refs/heads/master
1,685,309,252,764
1,623,232,534,000
1,623,232,534,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,670
lean
import Mathlib.Algebra.GroupWithZero.Defs import Mathlib.Algebra.Group.Basic import Mathlib.Tactic.Spread /- # Semirings and rings -/ class Numeric (α : Type u) where ofNat : Nat → α instance Numeric.OfNat [Numeric α] : OfNat α n := ⟨Numeric.ofNat n⟩ class Semiring (R : Type u) extends Monoid R, AddCommMonoid R,...
d058b662c15ccdfc4afa8204daf4d04642cbf873
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/computability/language.lean
c1c741e9fc4202e530f527c6fc2c36ffbfadb71b
[ "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,242
lean
/- Copyright (c) 2020 Fox Thomson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Fox Thomson -/ import algebra.hom.ring import algebra.order.kleene import data.list.join import data.set.lattice /-! # Languages > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes...
e2cb16136ca74b44ea3b454bfa6f0e3b0a8fc5fa
618003631150032a5676f229d13a079ac875ff77
/src/category_theory/functor_category.lean
2fe315528d6485988e14c64f11c471ba16bb7a19
[ "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
4,084
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tim Baumann, Stephen Morgan, Scott Morrison, Floris van Doorn -/ import category_theory.natural_transformation namespace category_theory universes v₁ v₂ v₃ u₁ u₂ u₃ -- declare the `v...
a1c403121afa2f1e58e24d209ab5e491c90378e2
e030b0259b777fedcdf73dd966f3f1556d392178
/tests/lean/run/destruct.lean
23eef38b99b3a7877e569559be658e678d05a716
[ "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
940
lean
universe variables u inductive Vec (α : Type u) : nat → Type (max 1 u) | nil : Vec 0 | cons : ∀ {n}, α → Vec n → Vec (nat.succ n) lemma split {α : Type u} {n : nat} (v : Vec α n) : (v == (Vec.nil α) ∧ n = 0) ∨ ∃ m h (t : Vec α m), v == Vec.cons h t ∧ n = nat.succ m := Vec.cases_on v (or.inl ⟨heq.refl _, rfl⟩) ...
c9577642dea6dfea181863016d8aa5044f15c81d
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/field_theory/algebraic_closure.lean
5452aea47acb5e98f820a6f4dd644b1d99e1b3e8
[ "Apache-2.0" ]
permissive
troyjlee/mathlib
e18d4b8026e32062ab9e89bc3b003a5d1cfec3f5
45e7eb8447555247246e3fe91c87066506c14875
refs/heads/master
1,689,248,035,046
1,629,470,528,000
1,629,470,528,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
15,800
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import algebra.direct_limit import field_theory.splitting_field /-! # Algebraic Closure In this file we define the typeclass for algebraically closed fields and algebraic cl...
22cd53416ac224fb9d2ad374918d7b1971dacf4c
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/analysis/special_functions/log_deriv.lean
6f9c67545a78c2f4f0050856aa2097ec959882eb
[ "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
11,206
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import analysis.special_functions.log import analysis.special_functions.exp_deriv /-! # Derivative and series expansion o...
a58b34ab42f04db4412a122b82639b946a779d8a
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/topology/dense_embedding.lean
59c3674eb25674778241bbb8fded082199765c13
[ "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
14,381
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, Mario Carneiro, Patrick Massot -/ import topology.separation /-! # Dense embeddings This file defines three properties of functions: * `dense_range f` means `f` ha...
ea4c069eba2b33a2f3c0ce639701097bca24694a
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/set/lattice_auto.lean
4bf6d883160709722f1fe2761fb158dec29711c6
[]
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
61,007
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, Johannes Hölzl, Mario Carneiro -- QUESTION: can make the first argument in ∀ x ∈ a, ... implicit? -/ import Mathlib.PrePort import Mathlib.Lean3Lib.in...
f5375bc30b5275d86b47742ef55b14e63239312c
5c4a0908390c4938ae21bc616ff2a969ce62fd76
/library/data/set/basic.lean
ccad845c01afd6e0b06db5f16ca0d33ffab051b1
[ "Apache-2.0" ]
permissive
Bpalkmim/lean
968be8a73a06fa6db19073cd463d2093464dc0f6
994815bc7793f5765beb693c82341cf01d20d807
refs/heads/master
1,610,964,748,106
1,455,564,675,000
1,455,564,675,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
32,777
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad, Leonardo de Moura -/ import logic.connectives logic.identities algebra.binary open eq.ops binary function definition set (X : Type) := X → Prop namespace set variable {...
97bb2a77b3d5ddf8fd742c58386639984b8191c9
5c5878e769950eabe897ad08485b3ba1a619cea9
/src/categories/universal/initial.lean
a0cbb4bf8e76d1ed7e746a27630466dd9e51e057
[ "Apache-2.0" ]
permissive
semorrison/lean-category-theory-pr
39dc2077fcb41b438e61be1685e4cbca298767ed
7adc8d91835e883db0fe75aa33661bc1480dbe55
refs/heads/master
1,583,748,682,010
1,535,111,040,000
1,535,111,040,000
128,731,071
1
2
Apache-2.0
1,528,069,880,000
1,523,258,452,000
Lean
UTF-8
Lean
false
false
2,474
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Stephen Morgan, Scott Morrison import ..isomorphism open category_theory namespace category_theory.initial universes u v structure initial_object (C : Type u) [category.{u v...
eed187639462e751c79c6122afddad4c489096f4
6b2a480f27775cba4f3ae191b1c1387a29de586e
/group_rep1/action_refondation.lean
95552926be6e4630fb55bf6e8462aeff7f3c413e
[]
no_license
Or7ando/group_representation
a681de2e19d1930a1e1be573d6735a2f0b8356cb
9b576984f17764ebf26c8caa2a542d248f1b50d2
refs/heads/master
1,662,413,107,324
1,590,302,389,000
1,590,302,389,000
258,130,829
0
1
null
null
null
null
UTF-8
Lean
false
false
4,244
lean
import .group_representation import .sub_module import matrix_representation_refondation import linear_algebra.matrix import group_theory.group_action import init.algebra.functions set_option trace.simplify.rewrite true namespace general universes u v w w' variables {G : Type u} (R : Type v) (X : Type w) [group G] [r...
b595c9c8bdf9e3e23767a6be6b91d2c12836db37
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/category_theory/epi_mono.lean
5a963d4ee7af20f6c6e6b4a83ad4a0a9110cadf1
[ "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
6,674
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison Facts about epimorphisms and monomorphisms. The definitions of `epi` and `mono` are in `category_theory.category`, since they are used by some lemmas for `is...
3b9ef4af2a3d160f35e5556bb0a59eb3fbfe40bc
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/tactic/trunc_cases.lean
0404007ac9723608bccec626dde031118732d260
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
4,450
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import tactic.chain import tactic.doc_commands import data.quot namespace tactic /-- Auxiliary tactic for `trunc_cases`. -/ private meta def trunc_cases_subsingleto...
5e1d46f5703829d46a23ecf164639a3123b72224
a9fe717b93ccfa4b2e64faeb24f96dfefb390240
/int/reify.lean
7a6158019fb2fbacdc5966ec1a8c72b3cdc4ecea
[]
no_license
skbaek/omega
ab1f4a6daadfc8c855f14c39d9459ab841527141
715e384ed14e8eb177a326700066e7c98269e078
refs/heads/master
1,588,000,876,352
1,552,645,917,000
1,552,645,917,000
174,442,914
1
0
null
null
null
null
UTF-8
Lean
false
false
1,174
lean
import .form ..tactic --.logic open expr tactic namespace int meta def to_preterm : expr → tactic preterm | (expr.var k) := return (preterm.var 1 k) | `(-%%(expr.var k)) := return (preterm.var (-1 : int) k) | `(%%(expr.var k) * %%zx) := do z ← eval_expr int zx, return (preterm.var z k) | `(%%t1x + %%t2x) ...
02ec3a00024344b6970ba3adee40f40d31bf6342
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/geometry/manifold/cont_mdiff.lean
212ebe27b846dd4574eafd7327f691c1f7aa41a7
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
69,704
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, Floris van Doorn -/ import geometry.manifold.smooth_manifold_with_corners import geometry.manifold.local_invariant_properties /-! # Smooth functions between smoo...
32d052d0962467d0142c49ce191b0ad27f71a0d9
bb31430994044506fa42fd667e2d556327e18dfe
/src/algebra/continued_fractions/computation/basic.lean
89945ec471bc8032f8888a61fdc7347948d6113a
[ "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
7,953
lean
/- Copyright (c) 2020 Kevin Kappelmann. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Kappelmann -/ import algebra.order.floor import algebra.continued_fractions.basic /-! # Computable Continued Fractions ## Summary We formalise the standard computation of (r...
9388844ff353c432c8af4c083fecbb932df10251
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/interactive1.lean
941642014b7caa73f6edce2c65475eff330d463f
[ "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
915
lean
def f : nat → nat := λ a, a @[simp] lemma f_def (a : nat) : f a = a := rfl def g : nat → nat := λ a, 1 + a lemma g_def (a : nat) : g a = 1 + a := rfl example (a b c : nat) : b = 0 → c = 1 → a + b + f c = g (f a) := begin intros h1 h2, simp [h1, h2, g_def, nat.add_comm 1 a, nat.add_zero] end example (b c : nat)...
56c959eeeffef5b4f6625da05607981824991ffc
367134ba5a65885e863bdc4507601606690974c1
/src/ring_theory/witt_vector/structure_polynomial.lean
450f0504e976c9982adf23774fad89ef363f5a78
[ "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
18,524
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Robert Y. Lewis -/ import data.matrix.notation import field_theory.mv_polynomial import field_theory.finite.polynomial import number_theory.basic import ring_theory.wi...
100fe6bedb84bb069c936d556e9b1deab5259e16
df7bb3acd9623e489e95e85d0bc55590ab0bc393
/lean/love07_metaprogramming_exercise_sheet.lean
54e92e8ecd32835faadba308081723d7070d51c7
[]
no_license
MaschavanderMarel/logical_verification_2020
a41c210b9237c56cb35f6cd399e3ac2fe42e775d
7d562ef174cc6578ca6013f74db336480470b708
refs/heads/master
1,692,144,223,196
1,634,661,675,000
1,634,661,675,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,185
lean
import .love07_metaprogramming_demo /- # LoVe Exercise 7: Metaprogramming -/ set_option pp.beta true set_option pp.generalized_field_notation false namespace LoVe /- ## Question 1: A Term Exploder In this exercise, we develop a string format for the `expr` metatype. By default, there is no `has_repr` instance t...
c716e5d520a5383cfda836f631cb57148138eeb1
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/data/rat/basic.lean
d4183fe3d2bb561a18631043800f5ca8903114fa
[ "Apache-2.0" ]
permissive
vaibhavkarve/mathlib
a574aaf68c0a431a47fa82ce0637f0f769826bfe
17f8340912468f49bdc30acdb9a9fa02eeb0473a
refs/heads/master
1,621,263,802,637
1,585,399,588,000
1,585,399,588,000
250,833,447
0
0
Apache-2.0
1,585,410,341,000
1,585,410,341,000
null
UTF-8
Lean
false
false
24,837
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import data.nat.gcd data.pnat.basic data.int.sqrt data.equiv.encodable algebra.group algebra.ordered_group algebra.group_power algebra.euclide...
2a313e123d8605bbd6976ab984421c941c7f47c6
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/dynamics/omega_limit.lean
d5e530e085338916554fcbcc04040b6ea4522b8a
[ "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
16,648
lean
/- Copyright (c) 2020 Jean Lo. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jean Lo -/ import dynamics.flow /-! # ω-limits For a function `ϕ : τ → α → β` where `β` is a topological space, we define the ω-limit under `ϕ` of a set `s` in `α` with respect to filter `f...
c596c4f50df5d24bccbcabc60f6802ca5cd8c9eb
b87641ffb6358d6508ccbfa54e67c87070cb28d8
/cat/semifeilds.lean
cd934e7128f180d3f5bd2de643ee69c2975af463
[]
no_license
Nolrai/LeanGiggle
a4b628745ae3f5a36ae79b673ee8543e18ed4899
8326b2a6685b60a3529ee0fe26bd86f5d849b071
refs/heads/master
1,545,396,766,168
1,538,238,458,000
1,538,238,458,000
105,524,473
0
0
null
null
null
null
UTF-8
Lean
false
false
11
lean
check group
83ebccd96d4b97d86f4a55a45b64e7f4a8a4d7a3
1a61aba1b67cddccce19532a9596efe44be4285f
/library/data/matrix.lean
bb40ed547335faa27d88c18a0402c0a4d9bff61e
[ "Apache-2.0" ]
permissive
eigengrau/lean
07986a0f2548688c13ba36231f6cdbee82abf4c6
f8a773be1112015e2d232661ce616d23f12874d0
refs/heads/master
1,610,939,198,566
1,441,352,386,000
1,441,352,494,000
41,903,576
0
0
null
1,441,352,210,000
1,441,352,210,000
null
UTF-8
Lean
false
false
2,812
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 Matrices -/ import algebra.ring data.fin data.fintype open algebra fin nat definition matrix [reducible] (A : Type) (m n : nat) := fin m → fin n → A namespac...
87227f55ad89b7baa59ad02fec05cb3ac2565e36
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/data/finset/basic.lean
faa27f5d8711617967322ee6fab8bb69e5fdd450
[ "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
90,222
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, Minchao Wu, Mario Carneiro -/ import data.multiset.finset_ops import tactic.monotonicity import tactic.apply /-! # Finite sets mathlib has se...
9a82b0bc6f464e62a4203695dc2995fc53a49daa
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/set_theory/surreal/basic.lean
a96fb78270fdae226df352238ff29be5812c9cc0
[ "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
13,759
lean
/- Copyright (c) 2019 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Scott Morrison -/ import algebra.order.hom.monoid import set_theory.game.ordinal /-! # Surreal numbers The basic theory of surreal numbers, built on top of the theor...
4fb7ceab6bb2ab21acb7729dda1d169cc8ac7ac6
82ad4119063bae9cb1cdabcb80c8f02d65e5b676
/src/ivt2.lean
7af06a8aea27685182bfd4421a0f1f817fc370fc
[]
no_license
shingtaklam1324/analysis-i
fb009497e0410af51c2cdd8a6f440c7349d0a10b
928dd413014ca6668560c504592e0a15a83ea63a
refs/heads/master
1,677,838,878,682
1,612,371,654,000
1,612,371,654,000
332,424,640
1
0
null
null
null
null
UTF-8
Lean
false
false
1,149
lean
import topology.algebra.ordered import topology.instances.real -- `set_of_is_preconnected_eq_of_ordered` is the useful lemma variables {X : Type} [topological_space X] [preconnected_space X] #check @set_of_is_preconnected_eq_of_ordered example (P Q R : Prop) (h : P ∨ Q ∨ R) (hQ : ¬ Q) : P ∨ R := or.cases_on h or.inl...
642d7bbd9c96ab6eb5b97b22d1ed5afb718fe57e
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/model_theory/semantics.lean
c296b1e57beeb5ed196ee301275d491916a51425
[ "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
37,300
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.list.prod_sigma import model_theory.syntax /-! # Basics on First-Order Semantic...
c57eaf8e794bcabe9a0512baf98f1f9b0f93f126
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/06_Inductive_Types.org.16.lean
08e017c9360512077d6d6bf5f90d9f4c786da623
[]
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
130
lean
/- page 82 -/ import standard namespace hide -- BEGIN structure prod (A B : Type) := mk :: (pr1 : A) (pr2 : B) -- END end hide
46bc9c11f713715a64df0574a0587c3e621e3585
bb31430994044506fa42fd667e2d556327e18dfe
/src/ring_theory/ideal/quotient.lean
ce7a83a3f0eae567adf23854446e5f7bfbd235ab
[ "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
18,054
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Chris Hughes, Mario Carneiro, Anne Baanen -/ import algebra.ring.fin import algebra.ring.prod import linear_algebra.quotient import ring_theory.congruence import ring_theory.idea...
eda76b6ed2c8b3e170d333385cd2ace76b7aa379
92b13ae5cb04d78dd215ae736d93f5353e0e8e87
/String.lean
75d0069dfc0b39e233f4bd04a470b613ed051e95
[]
no_license
jroesch/exp-compiler
f2dec4f17e769e7f3b41429c41ece1f004a3f209
6efd4512c80df947361bdada12415bc166db5e7f
refs/heads/master
1,585,267,520,150
1,469,047,597,000
1,469,047,597,000
63,471,055
0
0
null
null
null
null
UTF-8
Lean
false
false
85
lean
structure String := (repr : Type) (elem : Type) (index : nat → repr -> elem)
5d2fc8b98bce332a61fcf89cb7540698a213820b
1437b3495ef9020d5413178aa33c0a625f15f15f
/ring_theory/noetherian.lean
0eca7dfea5f129e35a343a42d3a787df63191a7c
[ "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
15,829
lean
/- Copyright (c) 2018 Mario Carneiro and Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Kevin Buzzard -/ import data.equiv.algebra import data.polynomial import linear_algebra.lc import ring_theory.ideal_operations open set lattice nam...
adb27be4fc5e6031e95ad4b5e4c3675392cb4818
b328e8ebb2ba923140e5137c83f09fa59516b793
/stage0/src/Lean/Meta/Tactic/Injection.lean
32ae02f4358258be1beb8c7c4f49502c38310608
[ "Apache-2.0" ]
permissive
DrMaxis/lean4
a781bcc095511687c56ab060e816fd948553e162
5a02c4facc0658aad627cfdcc3db203eac0cb544
refs/heads/master
1,677,051,517,055
1,611,876,226,000
1,611,876,226,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,615
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...
5d67859a62a1ae923883b51b87c6603dbd456ce0
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/measure_theory/haar_measure.lean
e67cccf7b3a6fb27780da735d83ecc1a5708bd7f
[ "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
25,953
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.content import measure_theory.prod_group /-! # Haar measure In this file we prove the existence of Haar measure for a locally compact Haus...
75fd57293767a2b9a2cb1782f18a7c2301525854
4727251e0cd73359b15b664c3170e5d754078599
/src/data/finset/functor.lean
d3073272295ded2497f13c9b440201cd2435521f
[ "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,770
lean
/- Copyright (c) 2021 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies, Scott Morrison -/ import data.finset.lattice import data.multiset.functor /-! # Functoriality of `finset` This file defines the functor structure of `finset`. ## TODO C...
60e948201f059b0bd52478ceb9652ec7b0c7deff
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/algebra/category/CommRing/adjunctions.lean
34c6badcd0adce866dc16857c4d04c29a56d22bb
[ "Apache-2.0" ]
permissive
dupuisf/mathlib
62de4ec6544bf3b79086afd27b6529acfaf2c1bb
8582b06b0a5d06c33ee07d0bdf7c646cae22cf36
refs/heads/master
1,669,494,854,016
1,595,692,409,000
1,595,692,409,000
272,046,630
0
0
Apache-2.0
1,592,066,143,000
1,592,066,142,000
null
UTF-8
Lean
false
false
1,601
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Johannes Hölzl -/ import algebra.category.CommRing.basic import data.mv_polynomial /-! Multivariable polynomials on a type is the left adjoint of the forgetful functor...
7b6325ed7a8e5bec03eb976bbab572aece3f7776
b5b9d19e77b999cc6ff35db56a5eb70fe0e330ca
/MathcampQQuiz/2012_q2.lean
93247455fb7eacff8336ecfb6cf2dd6a50bff0d1
[]
no_license
jalex-stark/live-stream
10b432020d8cf7b38d268654f36a20b2b733176d
066c55911cf5610a4363acaca87d50a9b6ec71de
refs/heads/master
1,658,759,410,838
1,590,199,792,000
1,590,199,792,000
266,243,412
0
0
null
null
null
null
UTF-8
Lean
false
false
1,909
lean
import data.nat.basic import data.nat.parity import data.int.basic import data.equiv.denumerable import data.int.modeq import tactic -- Determine all possible colorings of the integers that satisfy these rules. structure coloring := -- Each integer on the number line is colored with exactly one of three possible c...
eb005a687fbd6a1707d414e40a659ea62e4dcaec
acc85b4be2c618b11fc7cb3005521ae6858a8d07
/tests/finish3.lean
b2a0433b3327089d9ef6c2f0950056cb242bf485
[ "Apache-2.0" ]
permissive
linpingchuan/mathlib
d49990b236574df2a45d9919ba43c923f693d341
5ad8020f67eb13896a41cc7691d072c9331b1f76
refs/heads/master
1,626,019,377,808
1,508,048,784,000
1,508,048,784,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,018
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad Examples from the tutorial. -/ import tactic.finish open auto section variables p q r s : Prop -- commutativity of ∧ and ∨ example : p ∧ q ↔ q ∧ p := by finish ...
b412d10928a9446e8fa29230c327a3c16b599818
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/limits/preserves/functor_category.lean
2db3de686ed8034c65884335724d62a8b79b3adc
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
4,599
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.limits.functor_category import category_theory.limits.preserves.shapes.binary_products import category_theory.limits.yoneda import category_theory....
1e9a3337d72546018b2763c7b336810873a7a9f1
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/test/norm_cast.lean
454cdebb5c0fa0633b28bcb46b57a1b6f47ee601
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
4,395
lean
/- Tests for norm_cast -/ import tactic.norm_cast import data.complex.basic -- ℕ, ℤ, ℚ, ℝ, ℂ import data.real.ennreal open_locale ennreal constants (an bn cn dn : ℕ) (az bz cz dz : ℤ) (aq bq cq dq : ℚ) constants (ar br cr dr : ℝ) (ac bc cc dc : ℂ) example : (an : ℤ) = bn → an = bn := by {intro h, exact_mod_cast h} ...
669955f8d1b90287f88dcee18e393b8fa7fc56d6
618003631150032a5676f229d13a079ac875ff77
/src/analysis/normed_space/operator_norm.lean
95790af8352af6bb6dc855eadbdb65d6bbdf1424
[ "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
28,753
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 Operator norm on the space of continuous linear maps Define the operator norm on the space of continuous linear maps between normed s...
0b57bd4546a79732c302b150f7d71b0150348504
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/topology/algebra/open_subgroup.lean
94d261372e1d88d07304f19667328bd9fea0baad
[ "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
9,270
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 topology.opens import topology.algebra.ring /-! # Open subgroups of a topological groups This files builds the lattice `open_subgroup G` of open subgroups in a...
006467c953cd9c1a17b1f188670d94de0d3712f2
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/topology/paracompact.lean
5b5744dfbbe43a780471d89309fab28ed7454886
[ "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
15,279
lean
/- Copyright (c) 2021 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Yury Kudryashov -/ import topology.subset_properties import topology.separation import data.option.basic /-! # Paracompact topological spaces A topological space `X` is...
a07802854333810937928f5ccea183d815d2b03d
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/zsqrtd/to_real.lean
b6a21b48af703976a389b8887be1f50f45a45695
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
1,059
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.real.sqrt import Mathlib.data.zsqrtd.basic import Mathlib.PostPort namespace Mathlib /-! #...
f519dca95b73cee39daee3e1569cd6714a24bf88
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/testing/slim_check/testable_auto.lean
a8a06f0bf67f5fc6661f9d6862d5e979e5d61e1d
[]
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
28,705
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.testing.slim_check.sampleable import Mathlib.PostPort universes l v u_1 u u_2 namespace Math...
427aea65027e2646e6f66543ebbe2a606c876b08
92b50235facfbc08dfe7f334827d47281471333b
/library/logic/axioms/prop_complete.lean
2b9ef8e5ce934ede17b1f18acc66d0060514025c
[ "Apache-2.0" ]
permissive
htzh/lean
24f6ed7510ab637379ec31af406d12584d31792c
d70c79f4e30aafecdfc4a60b5d3512199200ab6e
refs/heads/master
1,607,677,731,270
1,437,089,952,000
1,437,089,952,000
37,078,816
0
0
null
1,433,780,956,000
1,433,780,955,000
null
UTF-8
Lean
false
false
1,837
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 -/ import logic.connectives logic.quantifiers logic.cast algebra.relation import logic.axioms.em open eq.ops theorem prop_complete (a : Prop) : a = true ∨ a = ...
2dd8854ba459879ea247cd72975c97d97e2a1d3c
abd85493667895c57a7507870867b28124b3998f
/src/topology/metric_space/basic.lean
77a2643d49b8236af3d77b7b44f89772c4c3b71c
[ "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
73,694
lean
/- Copyright (c) 2015, 2017 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Metric spaces. Authors: Jeremy Avigad, Robert Y. Lewis, Johannes Hölzl, Mario Carneiro, Sébastien Gouëzel Many definitions and theorems expected on metric spaces are already introduced o...
208525a476546622d841000ceab2f2d7cb3925b5
bae21755a4a03bbe0a5c22e258db8633407711ad
/library/init/meta/expr.lean
fd433d18462d4e0c34a5bd4fd0ecbf78c2cc0251
[ "Apache-2.0" ]
permissive
nor-code/lean
f437357a8f85db0f06f186fa50fcb1bc75f6b122
aa306af3d7c47de3c7937c98d3aa919eb8da6f34
refs/heads/master
1,662,613,329,886
1,586,696,014,000
1,586,696,014,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
21,844
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.level init.category.monad init.meta.rb_map universes u v open native /-- Column and line position in a Lean source file. -/ structu...
c4b67ce61fa6353e347a8851c56db32a74a3d07a
05b503addd423dd68145d68b8cde5cd595d74365
/src/order/bounded_lattice.lean
73d59c36e2ee5087eec9560c62f39e6ceed642f5
[ "Apache-2.0" ]
permissive
aestriplex/mathlib
77513ff2b176d74a3bec114f33b519069788811d
e2fa8b2b1b732d7c25119229e3cdfba8370cb00f
refs/heads/master
1,621,969,960,692
1,586,279,279,000
1,586,279,279,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
29,482
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl Defines bounded lattice type class hierarchy. Includes the Prop and fun instances. -/ import order.lattice data.option.basic tactic.pi_instances set_option ol...
260b00603710a2b3b59d9c740d804476b067cfa6
a721fe7446524f18ba361625fc01033d9c8b7a78
/src/principia/topology/topological_space.lean
4e957b0216b6f3a35264a3fa7f5e9602068f36fb
[]
no_license
Sterrs/leaning
8fd80d1f0a6117a220bb2e57ece639b9a63deadc
3901cc953694b33adda86cb88ca30ba99594db31
refs/heads/master
1,627,023,822,744
1,616,515,221,000
1,616,515,221,000
245,512,190
2
0
null
1,616,429,050,000
1,583,527,118,000
Lean
UTF-8
Lean
false
false
26,823
lean
-- vim: ts=2 sw=0 sts=-1 et ai tw=70 -- Note we're not currently transitioning over to hidden namespace - we probably should, -- though it will break things import ..myset.basic import ..myset.finite import ..mylist.map import ..logic namespace hidden structure topological_space (α : Type) := (is_open : myset (myse...
f0959f48f63972bca18b4722f6b35a3dee8ee182
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/data/default.lean
cb0806956aaa2926eff0aad4c58dc564cd177f99
[ "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
325
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad -/ import .empty .bool .num .nat .list -- .set -- import .string .int .rat .fintype .prod .sum .sigma .option .list .finset .set .stream -- import .fin .real .com...
03d533ab4096764f8fb205d548a1e6f26db328b4
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/test/measurability.lean
f70a9567d4ec3eafd1626dbc6effb886ee593178
[ "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
2,716
lean
/- Copyright (c) 2021 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne -/ import measure_theory.tactic import measure_theory.function.lp_space open_locale big_operators ennreal variables {α β : Type*} [measurable_space α] [measurable_space β]...
b7a34339da94aec90864622197b9a1aea1145ac2
618003631150032a5676f229d13a079ac875ff77
/src/computability/reduce.lean
b1bcaf337df5ae9ca7c6c4e260841a9b0c8acfd3
[ "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
17,518
lean
/- Copyright (c) 2019 Minchao Wu. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Minchao Wu, Mario Carneiro -/ import computability.halting /-! # Strong reducibility and degrees. This file defines the notions of many-one reduction and one-one reduction between sets, ...
e708757d17755376920f5f573bec1e3a25359477
cf39355caa609c0f33405126beee2739aa3cb77e
/tmp/bench30.lean
ff3b88755dac848cea6d8c124d0c7932e7482d59
[ "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
634
lean
lemma {u} ex {α : Type u} [linear_ordered_comm_ring α] (a_1 a_2 a_3 a_4 a_5 a_6 a_7 a_8 a_9 a_10 a_11 a_12 a_13 a_14 a_15 a_16 a_17 a_18 a_19 a_20 a_21 a_22 a_23 a_24 a_25 a_26 a_27 a_28 a_29 a_30 : α) : a_1 + a_2 + a_3 + a_4 + a_5 + a_6 + a_7 + a_8 + a_9 + a_10 + a_11 + a_12 + a_13 + a_14 + a_15 + a_16 + a_1...
990834a8c4371ca72b1ece71eda1e9655a779432
ebb7367fa8ab324601b5abf705720fd4cc0e8598
/colim.hlean
0d9cd8f3b3aed6d78d1cee23ab39c381c10f645f
[ "Apache-2.0" ]
permissive
radams78/Spectral
3e34916d9bbd0939ee6a629e36744827ff27bfc2
c8145341046cfa2b4960ef3cc5a1117d12c43f63
refs/heads/master
1,610,421,583,830
1,481,232,014,000
1,481,232,014,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
18,006
hlean
-- authors: Floris van Doorn, Egbert Rijke import hit.colimit types.fin homotopy.chain_complex .move_to_lib open seq_colim pointed algebra eq is_trunc nat is_equiv equiv sigma sigma.ops chain_complex namespace seq_colim definition pseq_colim [constructor] {X : ℕ → Type*} (f : Πn, X n →* X (n+1)) : Type* := point...
eeab27f3a49affaa4dda7425a5989ca6ad9fc247
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/geometry/euclidean/triangle_auto.lean
6452238d4b14aeb4f1fd3b7056c28d2719309044
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
7,911
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Joseph Myers. -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.geometry.euclidean.basic import Mathlib.tactic.interval_cases import Mathlib.PostPort universe...
c7957f0e3fe14da5074e0615bf15846b92d1ad39
b2fe74b11b57d362c13326bc5651244f111fa6f4
/src/algebra/lie/universal_enveloping.lean
86847ccb9ce7c2b4df57744a189f90201352de2b
[ "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
4,769
lean
/- Copyright (c) 2020 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import algebra.lie.basic import algebra.ring_quot import linear_algebra.tensor_algebra /-! # Universal enveloping algebra Given a commutative ring `R` and a Lie algebra `...
384aafb6d5f9b1ac353180013631cdfc6114737e
75bd9c50a345718d735a7533c007cf45f9da9a83
/src/measure_theory/bochner_integration.lean
c68953e5951bf88d95198429cf8cbd1f9c70f910
[ "Apache-2.0" ]
permissive
jtbarker/mathlib
a1a3b1ddc16179826260578410746756ef18032c
392d3e376b44265ef2dedbd92231d3177acc1fd0
refs/heads/master
1,671,246,411,096
1,600,801,712,000
1,600,801,712,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
61,920
lean
/- Copyright (c) 2019 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou -/ import measure_theory.simple_func_dense import analysis.normed_space.bounded_linear_maps import topology.sequences /-! # Bochner integral The Bochner integral extends...
bb22384efcb206a276303af13ddfd26fc7864cde
4727251e0cd73359b15b664c3170e5d754078599
/src/data/mv_polynomial/variables.lean
69faa0d35d8e0c205f033699cd751f2267565208
[ "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
29,334
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, Johan Commelin, Mario Carneiro -/ import algebra.big_operators.order import data.mv_polynomial.monad /-! # Degrees and variables of polynomials This file establishes ...
05038e96db879d28b4f1fb4cbde9fa4d802df87e
05b503addd423dd68145d68b8cde5cd595d74365
/src/algebra/category/Group/basic.lean
1f2c8441ed0bbc1770057d27ca75ab98f4bf49e2
[ "Apache-2.0" ]
permissive
aestriplex/mathlib
77513ff2b176d74a3bec114f33b519069788811d
e2fa8b2b1b732d7c25119229e3cdfba8370cb00f
refs/heads/master
1,621,969,960,692
1,586,279,279,000
1,586,279,279,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,395
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 algebra.punit_instances import algebra.category.Mon.basic import category_theory.endomorphism import category_theory.epi_mono /-! # Category instances for gr...
e708913d73c527b236366eb4eb956e6bcb3c5d5d
cf39355caa609c0f33405126beee2739aa3cb77e
/library/init/function.lean
397319bb9b1e3424b025ee2aa00a66fc7fa71d9c
[ "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
6,628
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, Haitao Zhang -/ prelude import init.data.prod init.funext init.logic /-! # General operations on functions -/ universes u₁ u₂ u₃ u₄ namespace f...
bd6e512d80bc8ade1fdfdb181494c1bb83f25dff
63abd62053d479eae5abf4951554e1064a4c45b4
/src/category_theory/monoidal/internal/functor_category.lean
f6f4133333b2211d16adeb9ad95bf5054e7004b4
[ "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
7,208
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.monoidal.CommMon_ import category_theory.monoidal.functor_category /-! # `Mon_ (C ⥤ D) ≌ C ⥤ Mon_ D` When `D` is a monoidal category, monoid ...
c5c82dfd22b07efcbb8762e2290f6616068a2961
19cc34575500ee2e3d4586c15544632aa07a8e66
/src/algebra/group_power/lemmas.lean
0783315318b68a6d97a7d7281fa39f8ab88f0bd9
[ "Apache-2.0" ]
permissive
LibertasSpZ/mathlib
b9fcd46625eb940611adb5e719a4b554138dade6
33f7870a49d7cc06d2f3036e22543e6ec5046e68
refs/heads/master
1,672,066,539,347
1,602,429,158,000
1,602,429,158,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
22,164
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis -/ import algebra.group_power.basic import algebra.opposites import data.list.basic import data.int.cast import data.equiv.basic import deprecated.group ...
ba15f557ebd96ae8fa3a7d9bdd6b37391e978416
0c1546a496eccfb56620165cad015f88d56190c5
/library/tools/super/datatypes.lean
6f551b7a0e56365e6d5872369486663e0380a2c5
[ "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
1,522
lean
/- Copyright (c) 2016 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ import .clause_ops .prover_state open expr tactic monad namespace super meta def has_diff_constr_eq_l (c : clause) : tactic bool := do env ← get_env, return $ list.bo...
270c379dbf69a115aa051616b6ff294369e9896f
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/data/stream/basic.lean
737ef1f26e94703e848857cb67dee1839dc8ff19
[ "Apache-2.0" ]
permissive
fpvandoorn/mathlib
b21ab4068db079cbb8590b58fda9cc4bc1f35df4
b3433a51ea8bc07c4159c1073838fc0ee9b8f227
refs/heads/master
1,624,791,089,608
1,556,715,231,000
1,556,715,231,000
165,722,980
5
0
Apache-2.0
1,552,657,455,000
1,547,494,646,000
Lean
UTF-8
Lean
false
false
70
lean
import tactic.ext data.stream attribute [extensionality] stream.ext
32dfee90bb93f699923b1b1ca99d2ce01480b98a
7cef822f3b952965621309e88eadf618da0c8ae9
/src/group_theory/presented_group.lean
8ef123e7d76845303164e89eaffd82ccd4123508
[ "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
2,754
lean
/- Copyright (c) 2019 Michael Howes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Michael Howes Defining a group given by generators and relations -/ import group_theory.free_group group_theory.quotient_group variables {α : Type} /-- Given a set of relations, rel...
e4822853ae8ca7faac7db45f309894cd95aed6ec
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/pkg/deriving/UserDeriving/Tst.lean
b185b1c061dcfb373d6bc862f9dbeaeae03aa218
[ "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
188
lean
import UserDeriving.Simple inductive Foo where | mk₁ | mk₂ deriving Simple, Inhabited /- Creates `Foo.test`, and then runs builtin handler. -/ example : Foo.test = 0 := by rfl
5f70712a714001b35f725986cf77a8e4c34560e5
556aeb81a103e9e0ac4e1fe0ce1bc6e6161c3c5e
/src/starkware/cairo/lean/semantics/air_encoding/range_check.lean
78696fdca6fd146b7c736c1b65be8a1dbd94f27f
[ "Apache-2.0" ]
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
5,497
lean
/- Range check constraints. -/ import starkware.cairo.lean.semantics.air_encoding.memory noncomputable theory open_locale big_operators /- trace data -/ variables {F : Type*} [field F] variables {n : ℕ} {a a' p : fin (n + 1) → F} variables {z : F} variables {rc_min rc_max : ℕ} variable {T : ℕ} variables {off_o...
1768765cb72d55a368e54899efd3e2dab18ffea2
48eee836fdb5c613d9a20741c17db44c8e12e61c
/src/util/meta/level.lean
9211b180f9c5ebb33c6acc13fe180bed32d17d51
[ "Apache-2.0" ]
permissive
fgdorais/lean-universal
06430443a4abe51e303e602684c2977d1f5c0834
9259b0f7fb3aa83a9e0a7a3eaa44c262e42cc9b1
refs/heads/master
1,592,479,744,136
1,589,473,399,000
1,589,473,399,000
196,287,552
1
1
null
null
null
null
UTF-8
Lean
false
false
4,570
lean
-- Copyright © 2019 François G. Dorais. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. import .exceptional import .name import .format namespace level meta def one : level := level.succ level.zero meta def list_max : list level → level | [] := level.zero | [l] := l | (l:...
dd89b2eaba30989349e3dd0cddec9f93f4f7023e
07047769c68cca24aad071e3eecae85670715f45
/test.lean
8d52eee6bbb72fb6db54afa244bc7f5cb8a7ebef
[]
no_license
mikodeamsterdamo/leanhammer
8c016c99db92785b37af59f433206c87325a9412
85b00d2b213dec48d6aa9a13d80a3c4085bb53df
refs/heads/master
1,584,604,949,759
1,531,402,599,000
1,531,402,599,000
136,170,421
0
0
null
null
null
null
UTF-8
Lean
false
false
19,738
lean
@[reducible] meta def debruijn := nat meta inductive folpred | P : folpred | T : folpred | eq : folpred meta inductive folterm | const : name → folterm | lconst : name → name → folterm | prf : folterm | var : debruijn → folterm | app : folterm → folterm → folterm meta inductive folform | P : folterm → folform | T ...
8a4916453225a9010f3479ca00171d9b70efb3f8
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/topology/order.lean
9afa1fadb5ab71ac78470fa2c7336ab97fea999f
[ "Apache-2.0" ]
permissive
troyjlee/mathlib
e18d4b8026e32062ab9e89bc3b003a5d1cfec3f5
45e7eb8447555247246e3fe91c87066506c14875
refs/heads/master
1,689,248,035,046
1,629,470,528,000
1,629,470,528,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
29,887
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import topology.tactic /-! # Ordering on topologies and (co)induced topologies Topologies on a fixed type `α` are ordered, by reverse inclusion. Tha...
9ebcea5473e43799790411e03e2eeda9426ae4a0
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/geometry/manifold/tangent_bundle.lean
1624cce93995e4ac65c0fb0797d5cced4919a1f9
[ "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
32,846
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.vector_bundle.basic import geometry.manifold.smooth_manifold_with_corners import data.set.prod /-! # Basic smooth bundles In general, a smooth...
8a462c0ef4e175f8eb1e3ca4ff7ec044bcc175f0
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/tactic/alias.lean
d6f53f0f72e346ddb908bfa6b73e31304796b272
[ "Apache-2.0" ]
permissive
fpvandoorn/mathlib
b21ab4068db079cbb8590b58fda9cc4bc1f35df4
b3433a51ea8bc07c4159c1073838fc0ee9b8f227
refs/heads/master
1,624,791,089,608
1,556,715,231,000
1,556,715,231,000
165,722,980
5
0
Apache-2.0
1,552,657,455,000
1,547,494,646,000
Lean
UTF-8
Lean
false
false
4,442
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro This file defines an alias command, which can be used to create copies of a theorem or definition with different names. Syntax: / -- doc string - / alias my_theorem ←...
f30ea25ea604ec329a7224e60b575ad7b50b4db7
367134ba5a65885e863bdc4507601606690974c1
/src/number_theory/arithmetic_function.lean
088826ec89111629a4b39e3740d6552b49aeaf9d
[ "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
32,437
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import algebra.big_operators.ring import number_theory.divisors import algebra.squarefree import algebra.invertible /-! # Arithmetic Functions and Dirichlet Convolut...
f5a11fe34f6b11e6f82b7db67d43f76ef6fa51c9
64874bd1010548c7f5a6e3e8902efa63baaff785
/tests/lean/run/nat_bug3.lean
d6da9538846f9bf57387daaeda5de98b7ae074b7
[ "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
729
lean
import logic open eq.ops namespace experiment inductive nat : Type := zero : nat, succ : nat → nat namespace nat definition plus (x y : nat) : nat := nat.rec x (λn r, succ r) y definition to_nat [coercion] (n : num) : nat := num.rec zero (λn, pos_num.rec (succ zero) (λn r, plus r (plus r (succ zero))) (λn r, plus r r)...
fc93117e6181b8815ac72ef0794c2c901dca6df8
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/algebra/lie/subalgebra.lean
56bff5f03ecd39da38bab8b8a7d303b5fd53bc19
[ "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
16,348
lean
/- Copyright (c) 2021 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import algebra.lie.basic import ring_theory.noetherian /-! # Lie subalgebras This file defines Lie subalgebras of a Lie algebra and provides basic related definitions and...
5566f8518d0e758050aeda3b153851661321e6d3
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/congrThm.lean
9d8ff1a3c7e325853c7ce450c120f1151ca17cfa
[ "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
337
lean
import Lean opaque g (p : Prop) [Decidable p] (a : Nat) (h : a > 0) : Nat open Lean Meta def test (flag : Bool) : MetaM Unit := do let some congrThm ← mkCongrSimp? (mkConst ``g) (subsingletonInstImplicitRhs := flag) | throwError "failed to generate theorem" IO.println (← ppExpr congrThm.type) #eval test false #ev...
f6599da15522fd30e7e284f9188b1ac5b6c4b6c4
49bd2218ae088932d847f9030c8dbff1c5607bb7
/src/data/mv_polynomial.lean
77f774dd62cc8e333fb73038a37250a85f7a2b7a
[ "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
43,687
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, Johan Commelin, Mario Carneiro Multivariate Polynomial -/ import algebra.ring import data.finsupp data.polynomial data.equiv.algebra noncomputable theory local attrib...
2f13c29b81329cc09fc23e6cf4f4fb79e1e6f830
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/order/category/omega_complete_partial_order.lean
f5b9851bf4411fafa6dd4bef5d08f8fc9bd91dd2
[ "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
3,982
lean
/- Copyright (c) 2020 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import order.omega_complete_partial_order import order.category.Preorder import category_theory.limits.shapes.products import category_theory.limits.shapes.equalizers impo...
4aeb179e7d66f87f243e3909997a219426042826
63abd62053d479eae5abf4951554e1064a4c45b4
/src/order/filter/archimedean.lean
6d0a2631e09fa73c093f8d648327e2c0181ce3b6
[ "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
1,910
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Yury Kudryashov -/ import order.filter.at_top_bot import algebra.archimedean /-! # `at_top` filter and archimedean (semi)rings/fields In this file we prove that for a...
394e7e82174de407937bf7d529030ff8768d602a
8e2026ac8a0660b5a490dfb895599fb445bb77a0
/tests/lean/cyclic_default_fields.lean
b0ef1e46219df57b11dc77a6682e0f177d7606a2
[ "Apache-2.0" ]
permissive
pcmoritz/lean
6a8575115a724af933678d829b4f791a0cb55beb
35eba0107e4cc8a52778259bb5392300267bfc29
refs/heads/master
1,607,896,326,092
1,490,752,175,000
1,490,752,175,000
86,612,290
0
0
null
1,490,809,641,000
1,490,809,641,000
null
UTF-8
Lean
false
false
184
lean
class Eq (α : Type) := (eq : α → α → Prop) (ne : α → α → Prop := λ a b, ¬eq a b) (eq := λ a b, ¬ne a b) #check ({eq := (=)} : Eq ℕ) #check ({ne := (≠)} : Eq ℕ)
e3f5693c7bb7a1a89d686d2a64ce8159c68e2320
38ee9024fb5974f555fb578fcf5a5a7b71e669b5
/Mathlib/Tactic/Find.lean
9fcc6d95a09773f2dd2e7132ee0209ae030b2815
[ "Apache-2.0" ]
permissive
denayd/mathlib4
750e0dcd106554640a1ac701e51517501a574715
7f40a5c514066801ab3c6d431e9f405baa9b9c58
refs/heads/master
1,693,743,991,894
1,636,618,048,000
1,636,618,048,000
373,926,241
0
0
null
null
null
null
UTF-8
Lean
false
false
4,419
lean
/- Copyright (c) 2021 Sebastian Ullrich. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Sebastian Ullrich -/ import Lean import Mathlib.Tactic.Cache /-! # The `#find` command and tactic. The `#find` command finds definitions & lemmas using pattern matching on the type...
fef54c35734167edafc93e263c06d76d7fd6e43e
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/subterminal.lean
5adb0eedb5aaef2ceaf544be62135bd5b772180c
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
6,062
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.limits.shapes.binary_products import category_theory.limits.shapes.terminal import category_theory.subobject.mono_over /-! # Subterminal objects ...
121ae9527e12599fe2aadd6313c891d48f5a0fc8
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/combinatorics/composition.lean
d3d9d7501ce6c6c0bf1f3eca9d59d3bdfeab40e0
[ "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
34,304
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 data.fintype.card import data.finset.sort import tactic.omega /-! # Compositions A composition of an integer `n` is a decomposition `n = i₀ + ... + i_{...