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
beb3008e33a7c6999440b3760b542b0a6976d3b1
b70447c014d9e71cf619ebc9f539b262c19c2e0b
/hott/init/path.hlean
408db14e64f1c3cf62ca7d4964aa9236582150ba
[ "Apache-2.0" ]
permissive
ia0/lean2
c20d8da69657f94b1d161f9590a4c635f8dc87f3
d86284da630acb78fa5dc3b0b106153c50ffccd0
refs/heads/master
1,611,399,322,751
1,495,751,007,000
1,495,751,007,000
93,104,167
0
0
null
1,496,355,488,000
1,496,355,487,000
null
UTF-8
Lean
false
false
30,545
hlean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Jakob von Raumer, Floris van Doorn Ported from Coq HoTT -/ prelude import .function .tactic open function eq /- Path equality -/ namespace eq variables {A ...
b1e0a2fcb742c5f8b91da0740f667c53831aa309
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/tests/lean/protected.lean
a077fc3e33928cdbfe0dd5340d3af426dc9f1518
[ "Apache-2.0" ]
permissive
dupuisf/lean4
d082d13b01243e1de29ae680eefb476961221eef
6a39c65bd28eb0e28c3870188f348c8914502718
refs/heads/master
1,676,948,755,391
1,610,665,114,000
1,610,665,114,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,023
lean
namespace Foo protected def x := 10 end Foo open Foo #check x -- error unknown identifier `x` #check Foo.x namespace Bla.Foo protected def y := 20 def z := 30 end Bla.Foo open Bla #check Foo.y open Bla.Foo #check y -- error unknown identifier `y` #check z protected def x := 0 -- Error protected partial def F...
7111a98b4bb5f7770e230331bd0658eeb18d8f22
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/eq22.lean
1ea1a5daf338eff653f8fcce8539f0c34e31fcf5
[ "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
221
lean
open list definition head {A : Type} : Π (l : list A), l ≠ nil → A | nil h := absurd rfl h | (a :: l) h := a theorem head_cons {A : Type} (a : A) (l : list A) (h : a :: l ≠ nil) : head (a :: l) h = a := rfl
bfaab4bfef969422298a02a12343e79a3a7104e9
90bd8c2a52dbaaba588bdab57b155a7ec1532de0
/src/instances/real_vector_space.lean
dfedc8483c272a58b66192cd24bbf3930a3a0b11
[ "Apache-2.0" ]
permissive
shingtaklam1324/alg-top
fd434f1478925a232af45f18f370ee3a22811c54
4c88e28df6f0a329f26eab32bae023789193990e
refs/heads/master
1,689,447,024,947
1,630,073,400,000
1,630,073,400,000
381,528,689
2
0
null
null
null
null
UTF-8
Lean
false
false
703
lean
import contractible.basic import homotopy.straight_line import analysis.normed_space.basic /-! # Instances on finite dimensional `ℝ`-vector spaces In this file, we prove that for a `fintype` `ι`, `ι → ℝ` is contractible. -/ noncomputable theory variables {ι : Type _} [fintype ι] instance real_vector_space.contract...
74a59a18815b5c9b0049bd168275927300bed25a
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/number_theory/arithmetic_function.lean
319e827b487e9df4956ecc3089e94e1396c65428
[ "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
33,127
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 import data.nat.factorization /-! # Arithmetic Fu...
da68c43e71c3edfa2ea9184d178ef97523835308
0c1546a496eccfb56620165cad015f88d56190c5
/library/init/category/state.lean
ec51669c616de9d45338c42fa369e7a488caf151
[ "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
2,140
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.logic init.category.monad def state (σ : Type) (α : Type) : Type := σ → α × σ section variables {σ : Type} {α β : Type} @[inline] def...
1f3e8053186e94fdabd99f0aecc479fb40a36db8
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/run/KyleAlg.lean
4237febb3b813f74f975b0c9d66961f996947e75
[ "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
8,448
lean
import Lean /- from core: class OfNat (α : Type u) (n : Nat) where ofNat : α class Mul (α : Type u) where mul : α → α → α class Add (α : Type u) where add : α → α → α -/ class Inv (α : Type u) where inv : α → α postfix:max "⁻¹" => Inv.inv class One (α : Type u) where one : α export One (one) instance...
eb6d34ac235ce8d7b88c2433b0f40055589e1f4b
a4673261e60b025e2c8c825dfa4ab9108246c32e
/tests/lean/run/hmulDefaultIntance.lean
fa53cd9334f668ffc49e57db3914094a3e651eef
[ "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
319
lean
class HMul (α β : Type _) (γ : outParam (Type _)) where hmul : α → β → γ @[defaultInstance] instance [Mul α] : HMul α α α where hmul a b := a * b infix:70 "*'" => HMul.hmul instance : HMul Nat Bool Nat where hmul | x, true => x | x, false => 0 #check 10 *' true #check fun x => x *' 1
1cfc7076142fa89b1c9cdb0f30966cda33ba7119
097294e9b80f0d9893ac160b9c7219aa135b51b9
/instructor/predicate_logic/propositions_as_types.lean
46e4ec8454f6434215e98cf7328197d91288ac36
[]
no_license
AbigailCastro17/CS2102-Discrete-Math
cf296251be9418ce90206f5e66bde9163e21abf9
d741e4d2d6a9b2e0c8380e51706218b8f608cee4
refs/heads/main
1,682,891,087,358
1,621,401,341,000
1,621,401,341,000
368,749,959
0
0
null
null
null
null
UTF-8
Lean
false
false
3,336
lean
-- Computational domain #check nat #check 1 #check string #check "hello" #check bool #check tt -- "computational" types of type, Type (aka Sort 1) -- Logical domain #check true #print true def a_proof_of_nat : ℕ := 8 theorem a_proof_of_true : true := true.intro #check false #check (eq 1) 1 -- eq predicate app...
20a98ee86befd050972b365df001691a12427055
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/ring_theory/subsemiring.lean
551ebc6deed1e9e1bf8934aa5af0f850d5c74b74
[ "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
32,366
lean
/- Copyright (c) 2020 Yury Kudryashov All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import algebra.ring.prod import group_theory.submonoid import data.equiv.ring /-! # Bundled subsemirings We define bundled subsemirings and some standard construc...
86a9f8ab41f9cf8105ffc051193b9ec914b99395
4727251e0cd73359b15b664c3170e5d754078599
/src/ring_theory/local_properties.lean
55d84571f12dffa67295b186d52200bd097c3ccd
[ "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
23,552
lean
/- Copyright (c) 2021 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import group_theory.submonoid.pointwise import logic.equiv.transfer_instance import ring_theory.finiteness import ring_theory.localization.at_prime import ring_theory.local...
7b95f5be28ad6131c99b5721c0a1bacf28c19896
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/run/simpInv.lean
61f8dc9082deef8e75b60222b9ee4c0f67ad86c8
[ "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
391
lean
constant g (x y : Nat) : Nat constant f (x y : Nat) : Nat axiom f_def (x y : Nat) : f x y = g x y axiom f_ax (x : Nat) : f x x = x theorem ex1 (x : Nat) : g x x = x := by simp [← f_def, f_ax] constant p (x y : Nat) : Prop constant q (x y : Nat) : Prop axiom p_def (x y : Nat) : p x y ↔ q x y axiom p_ax (x : Nat) : p...
235b93b88581fef6d3664eb5a2b3be732ec960bd
367134ba5a65885e863bdc4507601606690974c1
/src/data/hash_map.lean
71b9ddd75660d478cee72d337aba17b2b11634f7
[ "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
29,705
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Mario Carneiro -/ import data.pnat.basic import data.list.range import data.array.lemmas import algebra.group import data.sigma.basic /-! # Hash maps Define...
a9957488094eae20f874477ef863de2606a6ce70
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/06_Inductive_Types.org.27.lean
3e0d72964f6203fd6075c99a046e2624b499d493
[]
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
290
lean
/- page 86 -/ import standard namespace hide inductive nat : Type := | zero : nat | succ : nat → nat -- BEGIN namespace nat definition add (m n : nat) : nat := nat.rec_on n m (λ n add_m_n, succ add_m_n) -- try it out eval add (succ zero) (succ (succ zero)) end nat -- END end hide
076d46dd843a90eed4b9777f20b035d2c6ad3490
abd85493667895c57a7507870867b28124b3998f
/src/data/set/basic.lean
2b446a7dd3874eaf73343d0cba8273ff95b789a9
[ "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
67,214
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura -/ import tactic.basic import tactic.finish import data.subtype import logic.unique import data.prod /-! # Basic properties of sets Sets in Lean are h...
483c1abf908cb2eef31756cc70898770ef1d452c
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/finsupp/basic.lean
fb4b0f580a38bd6cd77c27dd947904440599f53e
[]
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
79,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, Scott Morrison -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.group.pi import Mathlib.algebra.big_operators.order import Mathlib....
e636465d1b2491dddea9286b8269070627708d65
9a0b1b3a653ea926b03d1495fef64da1d14b3174
/tidy/rewrite_search/core/engine.lean
a20f33891405c3ae967133e14f5663609bdd0d42
[ "Apache-2.0" ]
permissive
khoek/mathlib-tidy
8623b27b4e04e7d598164e7eaf248610d58f768b
866afa6ab597c47f1b72e8fe2b82b97fff5b980f
refs/heads/master
1,585,598,975,772
1,538,659,544,000
1,538,659,544,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
12,748
lean
import tidy.lib.pretty_print import tidy.rewrite_search.discovery.collect import .types import .debug import .explain open tactic universe u namespace tidy.rewrite_search variables {α β γ δ : Type} (i : inst α β γ δ) (g : search_state α β γ δ) (m : metric α β γ δ) namespace search_state meta def unmark_all_visit...
b0c9213f36c267158c2e043266046f0db2780999
367134ba5a65885e863bdc4507601606690974c1
/src/data/nat/basic.lean
9c0e6668f32180fab090f81fedc3d5baf3f7d522
[ "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
65,377
lean
/- Copyright (c) 2014 Floris van Doorn (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Leonardo de Moura, Jeremy Avigad, Mario Carneiro -/ import algebra.group_power.basic import algebra.order_functions import algebra.or...
8d9598b23d0b623bb797d72966f0fd736e8a201d
f9d775fd3e03626a42bf00ec5d0bc27ab0f77a4e
/src/Post 3 - Preorders.lean
dc0f841cb12d9669c05b11078ae4617e7ef38bf9
[]
no_license
Nolrai/SummerCategory
d03d8340d431eb2b37c742dbe65f2611ba548430
ce74ae4487ca7c0791bde8d14da4e0ca0ff838af
refs/heads/master
1,588,316,039,936
1,553,374,940,000
1,553,374,940,000
177,340,028
0
0
null
null
null
null
UTF-8
Lean
false
false
777
lean
/- Okay, let's get started! Fong and Spivak start out by explaining preorders, which is short for "preordered sets". Whenever you have a set of things and a reasonable way deciding when anything in that set is "bigger" than some other thing, or "more expensive", or "taller", or "heavier", or "better" in any well-defin...
9d74e795de3dfe4432b41b72e3f00290726d2e31
38a6d5def645a1887e1306ceb4da06ff71452096
/_5_The_Physical_Layer/optical_fiber/capacity_of_bosonic_channels.lean
cdc7fca6e439b2a5634667af93a50077b625125d
[]
no_license
QTM3x/Quantum-Internet
bcc2d61e2ae7233bb2b369fedaed22a1feb6fba1
f90e09fb6c03d35043654d8b1bec1c63d6012268
refs/heads/master
1,609,224,401,937
1,599,911,583,000
1,599,911,583,000
238,495,221
45
33
null
1,603,625,079,000
1,580,919,815,000
Jupyter Notebook
UTF-8
Lean
false
false
529
lean
import .capacity /- The two-way capacity of this lossy channel for any repeaterless implementation of the channel can be shown to be C = - log(1-η) per mode, where η represents the physical channel's transmissivity. η varies with distance exponentially with a constant loss (α) in dbm units. -/ theorem two_way_ca...
63cfe4c009139b8c6905cdd52721094325e9c2ab
367134ba5a65885e863bdc4507601606690974c1
/src/linear_algebra/dual.lean
43d7cb948764d855999c22bccc2e58d2b7791aa2
[ "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,334
lean
/- Copyright (c) 2019 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Fabian Glöckle -/ import linear_algebra.finite_dimensional import linear_algebra.projection /-! # Dual vector spaces The dual space of an R-module M is the R-module o...
26057dd19b44a3e05d471cdd71fabdc97c86d643
7cef822f3b952965621309e88eadf618da0c8ae9
/test/lint.lean
6154e013d862bd43be92b48310a0cbec312c8a81
[ "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,226
lean
import tactic.lint def foo1 (n m : ℕ) : ℕ := n + 1 def foo2 (n m : ℕ) : m = m := by refl lemma foo3 (n m : ℕ) : ℕ := n - m lemma foo.foo (n m : ℕ) : n ≥ n := le_refl n instance bar.bar : has_add ℕ := by apply_instance -- we don't check the name of instances -- section -- local attribute [instance, priority 1001] class...
c2cb4637bec22cf17f87afbdf3dbeb36d6cd0b69
32317185abf7e7c963f4c67c190aec61af6b3628
/library/data/int/power.lean
a97d654611b599b9d222029b35eab88a8ecac7cf
[ "Apache-2.0" ]
permissive
Andrew-Zipperer-unorganized/lean
198a2317f21198cd8d26e7085e484b86277f17f7
dcb35008e1474a0abebe632b1dced120e5f8c009
refs/heads/master
1,622,526,520,945
1,453,576,559,000
1,454,612,842,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
774
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad The power function on the integers. -/ import data.int.basic data.int.order data.int.div algebra.group_power data.nat.power namespace int definition int_has_pow_nat [red...
4998c294eac7334625eeae1aced79a11e51420f4
fffbc47930dc6615e66ece42324ce57a21d5b64b
/src/algebra/pi_instances.lean
e0923723506f88af0600738bdfe1dfcc4d366cbb
[ "Apache-2.0" ]
permissive
skbaek/mathlib
3caae8ae413c66862293a95fd2fbada3647b1228
f25340175631cdc85ad768a262433f968d0d6450
refs/heads/master
1,588,130,123,636
1,558,287,609,000
1,558,287,609,000
160,935,713
0
0
Apache-2.0
1,544,271,146,000
1,544,271,146,000
null
UTF-8
Lean
false
false
17,585
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Patrick Massot Pi instances for algebraic structures. -/ import order.basic import algebra.module algebra.group import data.finset import tactic.pi_instances namespace pi u...
76cb5ce2d95dcc2efab3716cf31d3fcbb576c899
fc086f79b20cf002d6f34b023749998408e94fbf
/src/tidy/backwards_reasoning.lean
2f1aeebc5270dd1f44943d003b97e03703211550
[]
no_license
semorrison/lean-tidy
f039460136b898fb282f75efedd92f2d5c5d90f8
6c1d46de6cff05e1c2c4c9692af812bca3e13b6c
refs/heads/master
1,624,461,332,392
1,559,655,744,000
1,559,655,744,000
96,569,994
9
4
null
1,538,287,895,000
1,499,455,306,000
Lean
UTF-8
Lean
false
false
2,479
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 tactic.basic import tactic.ext open tactic meta def back_attribute : user_attribute := { name := `back, descr := "A lemma that should be applied to a...
d71c805180d46286de100d031b5f629b789bd034
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/mv_polynomial/variables.lean
9fd1ca013972effdc01b18f4ca4c8c79cf8932ca
[ "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
29,059
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.rename /-! # Degrees and variables of polynomials > THIS FILE IS SYNCHR...
9ccb7072b1b579f4eb193914c7671b5d1638c8ac
46125763b4dbf50619e8846a1371029346f4c3db
/src/topology/bases.lean
bc331efcf848a815f5672322a94916c83312a72f
[ "Apache-2.0" ]
permissive
thjread/mathlib
a9d97612cedc2c3101060737233df15abcdb9eb1
7cffe2520a5518bba19227a107078d83fa725ddc
refs/heads/master
1,615,637,696,376
1,583,953,063,000
1,583,953,063,000
246,680,271
0
0
Apache-2.0
1,583,960,875,000
1,583,960,875,000
null
UTF-8
Lean
false
false
18,432
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 Bases of topologies. Countability axioms. -/ import topology.constructions data.set.countable open set filter lattice classical open_locale topologica...
ec59d761e4e7df8bfa73df9f3972605d8a92d803
367134ba5a65885e863bdc4507601606690974c1
/src/data/real/cau_seq.lean
1d1ef05bc843e5e78f60660f9e21d17875f7d3ae
[ "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
25,967
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import algebra.big_operators.order /-! # Cauchy sequences A basic theory of Cauchy sequences, used in the construction of the reals and p-adic numbers. Where applic...
2a622272cb9146b43ca8ffb96ce4a9a5281458fa
3f7026ea8bef0825ca0339a275c03b911baef64d
/src/data/fintype.lean
3c80dc74192f08af4d87a2c21c2de9636b248c45
[ "Apache-2.0" ]
permissive
rspencer01/mathlib
b1e3afa5c121362ef0881012cc116513ab09f18c
c7d36292c6b9234dc40143c16288932ae38fdc12
refs/heads/master
1,595,010,346,708
1,567,511,503,000
1,567,511,503,000
206,071,681
0
0
Apache-2.0
1,567,513,643,000
1,567,513,643,000
null
UTF-8
Lean
false
false
33,792
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Finite types. -/ import data.finset algebra.big_operators data.array.lemmas logic.unique import tactic.wlog universes u v variables {α : Type*} {β : Type*} {γ : Type*} ...
3dbfe58bc7dc6f219c9fb9d9557ffe828ad17771
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/algebra/group/semiconj.lean
46deb1e303fb7847c7e85d88cde3b9290af33566
[ "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
7,024
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov Some proofs and docs came from `algebra/commute` (c) Neil Strickland -/ import algebra.group.units /-! # Semiconjugate elements of a semigroup ## Main definitions ...
c977f10de9da46cb30a83b3a4217610b79aa5153
26ac254ecb57ffcb886ff709cf018390161a9225
/src/ring_theory/coprime.lean
8e290dcb8fe1fd4d9ccbd21194eba8487e7b0cf1
[ "Apache-2.0" ]
permissive
eric-wieser/mathlib
42842584f584359bbe1fc8b88b3ff937c8acd72d
d0df6b81cd0920ad569158c06a3fd5abb9e63301
refs/heads/master
1,669,546,404,255
1,595,254,668,000
1,595,254,668,000
281,173,504
0
0
Apache-2.0
1,595,263,582,000
1,595,263,581,000
null
UTF-8
Lean
false
false
11,474
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Ken Lee, Chris Hughes -/ import tactic.ring import algebra.big_operators import data.fintype.basic import data.int.gcd import data.set.disjointed /-! # Coprime elements of a rin...
ce7d98d3400b58b67d4c25dd92bf1349af4ae49b
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/deprecated/group.lean
c85156a5faca6831df3174eba3c3cbddd2f08dbb
[ "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
14,353
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import algebra.group.type_tags import algebra.hom.equiv.basic import algebra.hom.ring import algebra.hom.units /-! # Unbundled monoid and group homomorphisms This...
6603f7e087b43520cb7b03c968e22d31c0ec99c5
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/combinatorics/simple_graph/regularity/uniform.lean
226cc63112a9a6fa1b414344b082ec625f0fefa1
[ "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
10,509
lean
/- Copyright (c) 2022 Yaël Dillies, Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies, Bhavik Mehta -/ import combinatorics.simple_graph.density import set_theory.ordinal.basic /-! # Graph uniformity and uniform partitions > THIS FILE IS SYNCH...
b37e44a765b87846f2121d1fa771b2c24f079e11
947b78d97130d56365ae2ec264df196ce769371a
/src/Lean/Data/Trie.lean
0d89ac588196dd9cb77c19f6a9e4688baf2a532c
[ "Apache-2.0" ]
permissive
shyamalschandra/lean4
27044812be8698f0c79147615b1d5090b9f4b037
6e7a883b21eaf62831e8111b251dc9b18f40e604
refs/heads/master
1,671,417,126,371
1,601,859,995,000
1,601,860,020,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,924
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Sebastian Ullrich, Leonardo de Moura Trie for tokenizing the Lean language -/ import Lean.Data.Format namespace Lean namespace Parser open Std (RBNode RBNode.leaf RBNode.singl...
8e648a8baebad55792ce250a7d4d8312500d897a
da3a76c514d38801bae19e8a9e496dc31f8e5866
/library/tools/super/clause.lean
92341dda6500f55fbfb31cc113cda25d5a34d9d0
[ "Apache-2.0" ]
permissive
cipher1024/lean
270c1ac5781e6aee12f5c8d720d267563a164beb
f5cbdff8932dd30c6dd8eec68f3059393b4f8b3a
refs/heads/master
1,611,223,459,029
1,487,566,573,000
1,487,566,573,000
83,356,543
0
0
null
1,488,229,336,000
1,488,229,336,000
null
UTF-8
Lean
false
false
8,743
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 init.meta.tactic .utils .trim open expr list tactic monad decidable namespace super meta def is_local_not (local_false : expr) (e : expr) : option expr := matc...
80122559efdaf6b0da25013d376aac297ca34092
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/blast_pattern_inference_bug.lean
af308c0ef14420e7d39350c793de6aaa1a8cd584
[ "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
202
lean
constant p : nat → Prop constant q : ∀ a, p a → Prop lemma ex [forward] : ∀ (a : nat) (h : p a), (:q a h:) := sorry set_option blast.strategy "ematch" lemma test (h : p 0) : q 0 h := by blast
ce7caa78313118e134e4560acb029beccb2680ee
4727251e0cd73359b15b664c3170e5d754078599
/src/linear_algebra/free_module/finite/basic.lean
eb8a3f782eae81900a94783ccd21a2bc5d70bd38
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
2,978
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.basic import linear_algebra.matrix.to_lin import ring_theory.finiteness /-! # Finite and free modules We provide some instances...
d6b13fffef682d447dcc188ad496bec6381b3612
5c4a0908390c4938ae21bc616ff2a969ce62fd76
/library/theories/analysis/real_limit.lean
323e0c3279febfcf72ada683453553604810712c
[ "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
24,511
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 Instantiates the reals as a Banach space. -/ import .metric_space data.real.complete data.set .normed_space open real classical analysis nat noncomputabl...
bc0522cc2d62ba27a15a9446dfedfd118ea9d307
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/pkg/user_attr/UserAttr/BlaAttr.lean
dd652db07b53ea85caeb11b9e5426de86b75a2c7
[ "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
702
lean
import Lean open Lean initialize blaAttr : TagAttribute ← registerTagAttribute `bla "simple user defined attribute" /-- My own new simp attribute. -/ register_simp_attr my_simp syntax (name := foo) "foo" num "important"? : attr initialize fooAttr : ParametricAttribute (Nat × Bool) ← registerParametricAttribute {...
b39acbf44fe878ff89d9e238ce2d5dd344614a90
9dc8cecdf3c4634764a18254e94d43da07142918
/src/model_theory/language_map.lean
e0eb3c7b024827f42ff6112c6212e3dd1eb352d9
[ "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
17,727
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 model_theory.basic /-! # Language Maps Maps between first-order languages in the styl...
84fe709d446965ffcf8a402418fd63aaf7111568
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/order/complete_field.lean
1b886cb7392cb06fb9991abd682c1506aa271adb
[ "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,084
lean
/- Copyright (c) 2022 Alex J. Best. 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.hom.ring import algebra.order.pointwise import analysis.special_functions.pow /-! # Conditionally complete linear ordered fields This...
9c4708f710777fe8cb3ae906ec75f036f3d07fca
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/ring_theory/finiteness.lean
210138bd91f5d9fe942300fb930511589c8b8aca
[ "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
35,041
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import ring_theory.noetherian import ring_theory.ideal.operations import ring_theory.algebra_tower import group_theory.finiteness /-! # Finiteness conditions in com...
ac234eac88cbb00432198c2463d66a7ee59a796b
076f5040b63237c6dd928c6401329ed5adcb0e44
/answers/exam_1_key.lean
d1f25c5461f8fb571234888a1aa7cbdc7f51c8de
[]
no_license
kevinsullivan/uva-cs-dm-f19
0f123689cf6cb078f263950b18382a7086bf30be
09a950752884bd7ade4be33e9e89a2c4b1927167
refs/heads/master
1,594,771,841,541
1,575,853,850,000
1,575,853,850,000
205,433,890
4
9
null
1,571,592,121,000
1,567,188,539,000
Lean
UTF-8
Lean
false
false
7,861
lean
/- THe exam is graded out of 100 points. The regular questions provide opportunity earn 105. There is an extra credit worth 5 points [all or none]. So the maximum possible grade is 110/100. -/ /- #1 [10 points] [Grading: 2 free points + 1 for each correct answer] Complete the following definitions to give examples ...
65d1cc39d020ec9ae071f16ab29e409132c1369f
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/lean_core_docs.lean
47284b752a4b5602fa81accf34f34cef8da91d04
[]
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
8,526
lean
/- Copyright (c) 2020 Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, Bryan Gin-ge Chen, Robert Y. Lewis, Scott Morrison -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.doc_commands import Mathlib.PostPo...
af8e0c7d32d757ffefd3037ba9ae3ff98446ed9a
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/tests/lean/run/tacticExtOverlap.lean
c3608f2d9942c30c2d8cac86de78f64bcdc9c426
[ "Apache-2.0" ]
permissive
dupuisf/lean4
d082d13b01243e1de29ae680eefb476961221eef
6a39c65bd28eb0e28c3870188f348c8914502718
refs/heads/master
1,676,948,755,391
1,610,665,114,000
1,610,665,114,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
549
lean
open Lean syntax (name := myintro) "intros" sepBy(ident, ",") : tactic macro_rules [myintro] | `(tactic| intros $x,*) => pure $ Syntax.node `Lean.Parser.Tactic.intros #[Syntax.atom {} "intros", mkNullNode x] theorem tst1 {p q : Prop} : p → q → p := by { intros h1, h2; assumption } theorem tst2 {p q : Prop} : p ...
6350082a6cfe824f27affd50b8f29cd54f42edba
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/test/where.lean
56f6501ab73cb8d11947049318f234371946ea47
[ "Apache-2.0" ]
permissive
keeferrowan/mathlib
f2818da875dbc7780830d09bd4c526b0764a4e50
aad2dfc40e8e6a7e258287a7c1580318e865817e
refs/heads/master
1,661,736,426,952
1,590,438,032,000
1,590,438,032,000
266,892,663
0
0
Apache-2.0
1,590,445,835,000
1,590,445,835,000
null
UTF-8
Lean
false
false
8,399
lean
import data.multiset import tactic.where -- First set up the testing framework... section framework -- Note that we cannot have any explicit `open`s, we are currently working around this bug: -- https://leanprover.zulipchat.com/#narrow/stream/113488-general/topic/What's.20the.20deal.20with.20.60open.60 @[user_comma...
dc587d823595014a8da0eda6b1c7c889e0b665b6
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/measure_theory/measure/hausdorff.lean
eacda09aa45054a91ffcb7658120df8fd92fd230
[ "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
44,799
lean
/- Copyright (c) 2021 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import topology.metric_space.metric_separated import measure_theory.constructions.borel_space import measure_theory.measure.lebesgue import analysis.special_functio...
abbda0983e11f7acc3cf1e5b0eca4abdf92a8b63
969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb
/src/category_theory/limits/limits.lean
5cbf73f80ad340e9112c472991dac17054aeab80
[ "Apache-2.0" ]
permissive
SAAluthwela/mathlib
62044349d72dd63983a8500214736aa7779634d3
83a4b8b990907291421de54a78988c024dc8a552
refs/heads/master
1,679,433,873,417
1,615,998,031,000
1,615,998,031,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
71,810
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Mario Carneiro, Scott Morrison, Floris van Doorn -/ import category_theory.adjunction.basic import category_theory.limits.cones import category_theory.reflects_isomorphism...
ad577b29e4d8e710a84a259fe1462ec9c39ce00e
c777c32c8e484e195053731103c5e52af26a25d1
/src/probability/kernel/with_density.lean
5ab8e74f45cfb8cabaa1b33a004c9b37cd764b85
[ "Apache-2.0" ]
permissive
kbuzzard/mathlib
2ff9e85dfe2a46f4b291927f983afec17e946eb8
58537299e922f9c77df76cb613910914a479c1f7
refs/heads/master
1,685,313,702,744
1,683,974,212,000
1,683,974,212,000
128,185,277
1
0
null
1,522,920,600,000
1,522,920,600,000
null
UTF-8
Lean
false
false
10,702
lean
/- Copyright (c) 2023 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne -/ import probability.kernel.measurable_integral /-! # With Density For an s-finite kernel `κ : kernel α β` and a function `f : α → β → ℝ≥0∞` which is finite everywhere, w...
79295fc2c016341982e0a7070e8b1a27437621b3
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/group_theory/perm/concrete_cycle.lean
dbb86e70c50fdde93ae777205cd3d49baaa08b41
[ "Apache-2.0" ]
permissive
hikari0108/mathlib
b7ea2b7350497ab1a0b87a09d093ecc025a50dfa
a9e7d333b0cfd45f13a20f7b96b7d52e19fa2901
refs/heads/master
1,690,483,608,260
1,631,541,580,000
1,631,541,580,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,936
lean
/- Copyright (c) 2021 Yakov Pechersky. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yakov Pechersky -/ import group_theory.perm.list import data.list.cycle import group_theory.perm.cycle_type /-! # Properties of cyclic permutations constructed from lists In the fo...
34b92765b6fad1e08bca062305f5588c8c7bb915
01ae0d022f2e2fefdaaa898938c1ac1fbce3b3ab
/categories/universal/comparisons/products.lean
33570650ff38fc5aa91e4bd9e6543d2cf97494de
[]
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
1,433
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 ...isomorphism import ...natural_transformation import ...equivalence import ..comma_categories import ..universal open categories open categories.functor...
e0e3ee3a65622839ab68d73a06cd14f64cc79c42
63abd62053d479eae5abf4951554e1064a4c45b4
/src/algebra/category/Mon/limits.lean
358510c9fa89954883bed007d2d118f50d9956bb
[ "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
6,603
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 algebra.group.pi import algebra.category.Mon.basic import category_theory.limits.types import category_theory.limits.creates /-! # The category of (commutativ...
8df7f96daa07ca6a9b43dc9087dfa26b36a2bc7e
5d166a16ae129621cb54ca9dde86c275d7d2b483
/library/init/category/combinators.lean
dcf686a009776567d0eb59a637a0f702bef291a4
[ "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
3,740
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura Monad combinators, as in Haskell's Control.Monad. -/ prelude import init.category.monad init.data.list.basic universes u v w def list.mmap {m ...
63add9524823c20cccb792b81f4994ac9bb64509
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/646.lean
54389567056f90826080dae16cca1a8820b86f13
[ "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
389
lean
def build (n : Nat) : Array Unit := Id.run <| do let mut out := #[] for _ in [0:n] do out := out.push () out @[noinline] def size : IO Nat := pure 50000 def bench (f : ∀ {α : Type}, α → IO Unit := fun _ => pure ()) : IO Unit := do let n ← size let arr := build n timeit "time" $ for _ in [:1000] do...
3398fe3cb0870f88c618f5cdb3708cc40a6c6cb2
5fbbd711f9bfc21ee168f46a4be146603ece8835
/lean/natural_number_game/advanced_addition/06.lean
affc686b6c22b962dd32db6f963c5923cb869de7
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
goedel-gang/maths
22596f71e3fde9c088e59931f128a3b5efb73a2c
a20a6f6a8ce800427afd595c598a5ad43da1408d
refs/heads/master
1,623,055,941,960
1,621,599,441,000
1,621,599,441,000
169,335,840
0
0
null
null
null
null
UTF-8
Lean
false
false
168
lean
theorem add_left_cancel (t a b : mynat) : t + a = t + b → a = b := begin rw [add_comm t a, add_comm t b], exact add_right_cancel a t b, -- I can't count to 3 end
050185a0144d5e2423701874f971e223f418a75b
8b9f17008684d796c8022dab552e42f0cb6fb347
/library/init/quot.lean
e69eded61dfcdac800d873cfd26c505eb361e402
[ "Apache-2.0" ]
permissive
chubbymaggie/lean
0d06ae25f9dd396306fb02190e89422ea94afd7b
d2c7b5c31928c98f545b16420d37842c43b4ae9a
refs/heads/master
1,611,313,622,901
1,430,266,839,000
1,430,267,083,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,990
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: init.quot Author: Leonardo de Moura Quotient types. -/ prelude import init.sigma init.setoid init.logic open sigma.ops setoid constant quot.{l} : Π {A : Type.{l}}, setoid A ...
67446ebbdd96acbcec7936e0a35cb830bcc33c43
4f643cce24b2d005aeeb5004c2316a8d6cc7f3b1
/omin/tactic.lean
b29959ec4728c1d58650bd3b624ea323e56deb3f
[]
no_license
rwbarton/lean-omin
da209ed061d64db65a8f7f71f198064986f30eb9
fd733c6d95ef6f4743aae97de5e15df79877c00e
refs/heads/master
1,674,408,673,325
1,607,343,535,000
1,607,343,535,000
285,150,399
9
0
null
null
null
null
UTF-8
Lean
false
false
13,102
lean
import data.list.alist import .presheaf2 namespace o_minimal variables {R : Type*} {S : struc R} structure sect (Γ : Def S) (X : Type*) [definable_psh S X] := (to_fun : Γ → X) (definable : definable_psh.definable to_fun) infixr ` ⊢ `:10 := sect def sect.precomp {Γ' Γ : Def S} {X : Type*} [definable_psh S X] (σ :...
e95ebccc9aed17e9bcb1fe4e55bc1c7f136c2e10
4fa161becb8ce7378a709f5992a594764699e268
/src/data/monoid_algebra.lean
7dd87873a381dc96d63224e30cffd00772823940
[ "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,585
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, Yury G. Kudryashov, Scott Morrison -/ import data.finsupp import ring_theory.algebra /-! # Monoid algebras When the domain of a `finsupp` has a multiplicative or addi...
9083a44008f37b108b749f1c4df50363ec30de6f
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/fin/tuple/sort.lean
9b3dced457ac5f1f313e3d1f8af3cae4e1475ace
[ "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
2,694
lean
/- Copyright (c) 2021 Kyle Miller. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kyle Miller -/ import data.fin.basic import data.finset.sort import data.prod.lex /-! # Sorting tuples by their values Given an `n`-tuple `f : fin n → α` where `α` is ordered, we may ...
f2c177649e782468f26926375f379a738f3ebc79
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/linear_algebra/basis.lean
bf8b902e2002054c785985a4012190acde7f3b9a
[ "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
60,605
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, Alexander Bentkamp -/ import linear_algebra.finsupp import linear_algebra.projection import order.zorn import data.fintype.card import data.finset.order...
4e20e163bc7cbcea87ea075b4029a95432e69814
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/tests/lean/run/matcherElimUniv.lean
5bcfeef68bd028b47b76c96e8096f709e0e82eb1
[ "Apache-2.0" ]
permissive
collares/lean4
861a9269c4592bce49b71059e232ff0bfe4594cc
52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee
refs/heads/master
1,691,419,031,324
1,618,678,138,000
1,618,678,138,000
358,989,750
0
0
Apache-2.0
1,618,696,333,000
1,618,696,333,000
null
UTF-8
Lean
false
false
164
lean
universes u def len {α : Type u} : List α → List α → Nat | [], bs => bs.length | a::as, bs => len as bs + 1 theorem ex1 : len [1, 2] [3, 4] = 4 := rfl
6302c2535c00ca3574f4b6eaf826f10f23be9b9b
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/hott/init/nat.hlean
30d1ad053a5d80d364059415d92b00b75ddd971f
[ "Apache-2.0" ]
permissive
YHVHvx/lean
732bf0fb7a298cd7fe0f15d82f8e248c11db49e9
038369533e0136dd395dc252084d3c1853accbf2
refs/heads/master
1,610,701,080,210
1,449,128,595,000
1,449,128,595,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,296
hlean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Leonardo de Moura -/ prelude import init.wf init.tactic init.hedberg init.util init.types open eq decidable sum lift is_trunc notation `ℕ` := nat namespace ...
4470843f84afff0effa4339bbf99c8cae5cd849f
41ebf3cb010344adfa84907b3304db00e02db0a6
/uexp/src/uexp/rules/aggregateGroupingSetsProjectMerge.lean
3a92de1bc5106588cf1dd351fb0cc407944b74be
[ "BSD-2-Clause" ]
permissive
ReinierKoops/Cosette
e061b2ba58b26f4eddf4cd052dcf7abd16dfe8fb
eb8dadd06ee05fe7b6b99de431dd7c4faef5cb29
refs/heads/master
1,686,483,953,198
1,624,293,498,000
1,624,293,498,000
378,997,885
0
0
BSD-2-Clause
1,624,293,485,000
1,624,293,484,000
null
UTF-8
Lean
false
false
1,212
lean
import ..extra_constants import ..sql import ..u_semiring import ..meta.cosette_tactics import ..meta.TDP open SQL open Proj open Pred open Expr theorem rule : forall (Γ scm_s : Schema) (rel_r : relation scm_s) (s_a : Column datatypes.int scm_s) (s_b : Column datatypes.int scm_s) ...
5204ed0220ecac316621509d65dd3d4f5b8c5988
b2e508d02500f1512e1618150413e6be69d9db10
/src/category_theory/yoneda.lean
6f676127ddc863b32e677957dd59d51910aa193b
[ "Apache-2.0" ]
permissive
callum-sutton/mathlib
c3788f90216e9cd43eeffcb9f8c9f959b3b01771
afd623825a3ac6bfbcc675a9b023edad3f069e89
refs/heads/master
1,591,371,888,053
1,560,990,690,000
1,560,990,690,000
192,476,045
0
0
Apache-2.0
1,568,941,843,000
1,560,837,965,000
Lean
UTF-8
Lean
false
false
6,672
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison /- The Yoneda embedding, as a functor `yoneda : C ⥤ (Cᵒᵖ ⥤ Type v₁)`, along with an instance that it is `fully_faithful`. Also the Yoneda lemma, `yoneda_le...
40ff9f9a9bcc94b89bf6a7c45093956540df53d7
964a8bb66c2eb89b920fe65d0ec2f77eab0d5f65
/src/listplayground.lean
4ee38229dd1e672da0285b30e1ad9448958c92c8
[ "MIT" ]
permissive
SnobbyDragon/leanhanoi
9990a7b586f1d843d39c3c7aab7ac0b5eefbe653
a42811ce5ab55e0451880a8c111c75b082936d39
refs/heads/master
1,675,735,182,689
1,609,387,288,000
1,609,387,288,000
284,167,126
8
1
MIT
1,609,262,129,000
1,596,247,349,000
Lean
UTF-8
Lean
false
false
2,486
lean
import data.list namespace listplayground example (l : list ℕ) (hl : list.sorted nat.lt l) (hl' : l ≠ []) : list.sorted nat.lt l.tail := list.sorted.tail hl example (l : list ℕ) (h : l ≠ []) : l = l.head :: l.tail := (list.cons_head_tail h).symm -- surprised this isn't in mathlib... maybe bc this is too simple or s...
9c525255048e0a24ee14380475814df253e9bc08
7cdf3413c097e5d36492d12cdd07030eb991d394
/src/game/intro.lean
77217fa78ef45ae0237ff0eee707079c2e644b37
[]
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
2,155
lean
/- # The Natural Number Game, version 1.08beta [see "what's new" below] [will be ready to go after some updates to the engine which generates the web pages] ## By Kevin Buzzard and Mohammad Pedramfar. Special thanks to Rob Lewis for tactic hackery, Sian Carey for power world (world 4), and, last but not least, all ...
0cfc5bbb3b2651f757b6938d09de2d9dd318eeb0
de91c42b87530c3bdcc2b138ef1a3c3d9bee0d41
/old/not_in_use/velocityEval.lean
cf80d04ae42f7f7ce47ed4643da42466fb6cc6e9
[]
no_license
kevinsullivan/lang
d3e526ba363dc1ddf5ff1c2f36607d7f891806a7
e9d869bff94fb13ad9262222a6f3c4aafba82d5e
refs/heads/master
1,687,840,064,795
1,628,047,969,000
1,628,047,969,000
282,210,749
0
1
null
1,608,153,830,000
1,595,592,637,000
Lean
UTF-8
Lean
false
false
779
lean
import ..imperative_DSL.environment open lang.classicalVelocity def classicalVelocityEval : lang.classicalVelocity.expr → environment.env → classicalVelocity | (expr.lit v) i := v | (lang.classicalVelocity.expr.var v) i := i.v v | (expr.div g t) i := match g with | (lang.classicalGeometry.expr.lit e) := ...
68a9978cb20d8cfa9c553c8aaded09ed77dfe87b
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/add_decl_namespace.lean
4c399356d94e9efaedfbd0cdee6bbe0ba1421d33
[ "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
namespace A def x := 1 def _root_.B.x := 1 end A def C.x := 1 run_cmd tactic.add_aux_decl `D.x `(ℕ) `(1) ff open A B C D
1b93d264005a07ddd2e27d9847339e8f1936d6cd
d436468d80b739ba7e06843c4d0d2070e43448e5
/src/topology/metric_space/isometry.lean
eff286b60df98997c0491d92c49388973304f076
[ "Apache-2.0" ]
permissive
roro47/mathlib
761fdc002aef92f77818f3fef06bf6ec6fc1a28e
80aa7d52537571a2ca62a3fdf71c9533a09422cf
refs/heads/master
1,599,656,410,625
1,573,649,488,000
1,573,649,488,000
221,452,951
0
0
Apache-2.0
1,573,647,693,000
1,573,647,692,000
null
UTF-8
Lean
false
false
13,218
lean
/- Copyright (c) 2018 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Isometries of emetric and metric spaces Authors: Sébastien Gouëzel We define isometries, i.e., maps between emetric spaces that preserve the edistance (on metric spaces, these are exactly th...
a77f074b09cafb61eeeee0a4f0e561fd968c454e
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/blast_multiple_nots.lean
5ab9b9259f50ac11fc6efb55868d65bf0072d512
[ "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
601
lean
constants a b c d : Prop set_option blast.strategy "unit" example (H : ¬ a → ¬ b → ¬ c ∨ ¬ d) : ¬ a → c → d → ¬ b → false := by blast set_option blast.strategy "preprocess" example : ¬¬¬¬¬a → ¬¬a → false := by blast example : ¬¬¬¬¬a → ¬¬¬¬a → false := by blast example : ¬¬¬¬¬a → a → false := by blast example : ¬...
0ef9a01a9f41aee47d1a70b0cf0a7986e3ef4438
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/group_theory/perm/list.lean
8a0a66e3ce1fe97a2fe7fbcf7c52198043e46c2f
[ "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,377
lean
/- Copyright (c) 2021 Yakov Pechersky. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yakov Pechersky -/ import data.list.rotate import group_theory.perm.support /-! # Permutations from a list A list `l : list α` can be interpreted as a `equiv.perm α` where each ele...
5453b21a94bcc830f7a5c946d81c86adef10aa6b
491068d2ad28831e7dade8d6dff871c3e49d9431
/hott/types/trunc.hlean
c8a17fc4b8e9763ae7ffb9c68b65c679f5cdb30e
[ "Apache-2.0" ]
permissive
davidmueller13/lean
65a3ed141b4088cd0a268e4de80eb6778b21a0e9
c626e2e3c6f3771e07c32e82ee5b9e030de5b050
refs/heads/master
1,611,278,313,401
1,444,021,177,000
1,444,021,177,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,889
hlean
/- Copyright (c) 2015 Jakob von Raumer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn Properties of is_trunc and trunctype -/ -- NOTE: the fact that (is_trunc n A) is a mere proposition is proved in .hprop_trunc import types.pi types.eq types.equiv...
1833ade015a28f47fc851222c813360b25853580
f3849be5d845a1cb97680f0bbbe03b85518312f0
/tests/lean/hole_issue2.lean
4925bf537a6c09a21af927429b91fd837918baab
[ "Apache-2.0" ]
permissive
bjoeris/lean
0ed95125d762b17bfcb54dad1f9721f953f92eeb
4e496b78d5e73545fa4f9a807155113d8e6b0561
refs/heads/master
1,611,251,218,281
1,495,337,658,000
1,495,337,658,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,845
lean
constant bag_setoid : ∀ A, setoid (list A) attribute [instance] bag_setoid noncomputable definition bag (A : Type) : Type := quotient (bag_setoid A) constant subcount : ∀ {A}, list A → list A → bool constant list.count : ∀ {A}, A → list A → nat constant all_of_subcount_eq_tt : ∀ {A} {l₁ l₂ : list A}, subcount l₁ l₂ ...
2d2b47fa93a77e2878ca7be3aee462b8429ef389
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/rat/order.lean
7e5b5842ec7c487c1d79b094fc407d80a6e8ea04
[ "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,179
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.rat.basic /-! # Order for Rational Numbers ## Summary We define the order on `ℚ`, prove that `ℚ` is a discrete, linearly ordered field,...
e9bc66795e60619b0ba22070f0f8bcced813b791
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/algebra/regular/smul.lean
38c15a93eeaac9258bff61652c62a6c8f02d170c
[ "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
7,102
lean
/- Copyright (c) 2021 Damiano Testa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Damiano Testa -/ import algebra.smul_with_zero import algebra.regular.basic /-! # Action of regular elements on a module We introduce `M`-regular elements, in the context of an `R`-mod...
d29f3464d5f6f79d3495fffe143972fb7c80491c
5fbbd711f9bfc21ee168f46a4be146603ece8835
/lean/natural_number_game/multiplication/9.lean
96c2e6112114a803678e9eb90a0874d6861425e6
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
goedel-gang/maths
22596f71e3fde9c088e59931f128a3b5efb73a2c
a20a6f6a8ce800427afd595c598a5ad43da1408d
refs/heads/master
1,623,055,941,960
1,621,599,441,000
1,621,599,441,000
169,335,840
0
0
null
null
null
null
UTF-8
Lean
false
false
125
lean
lemma mul_left_comm (a b c : mynat) : a * (b * c) = b * (a * c) := begin rwa [← mul_assoc, mul_comm a b, mul_assoc], end
b4cfba10934992be84e2235e47dd4b45e8712989
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/module/ordered.lean
251baaedae4ea114ab0539c04c511b51b6b62c58
[]
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
8,687
lean
/- Copyright (c) 2020 Frédéric Dupuis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Frédéric Dupuis -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.module.pi import Mathlib.algebra.ordered_pi import Mathlib.algebra.module.prod im...
a5658ce76e02ffdca29fc5c31a764c2c610e22db
35452ce8e77eaf9e0aa9367a9e20bafbf92730d4
/src/main.lean
cac8490b5420fc83b7538441bc873718decbf6e6
[]
no_license
ADedecker/wedderburn
6935f44f922080df5d673051737881d9f8a94e9c
1ed28ff8cf64e1652d540557765e379b3901ad19
refs/heads/master
1,692,935,097,444
1,634,302,432,000
1,634,302,432,000
412,828,531
0
0
null
null
null
null
UTF-8
Lean
false
false
6,086
lean
import linear_algebra.finite_dimensional import field_theory.finite.basic import ring_theory.polynomial.cyclotomic import .aux open ring finite_dimensional fintype mul_action polynomial open_locale big_operators variables {A : Type*} [division_ring A] [fintype A] [fintype (subring.center A)] -- we keep "unnecessary"...
6c19460bbe5a6ae7584e73e21296b70339828d67
0845ae2ca02071debcfd4ac24be871236c01784f
/library/init/data/option/basic.lean
263d869cfd89c232540842dbe5e42719fb3d05d4
[ "Apache-2.0" ]
permissive
GaloisInc/lean4
74c267eb0e900bfaa23df8de86039483ecbd60b7
228ddd5fdcd98dd4e9c009f425284e86917938aa
refs/heads/master
1,643,131,356,301
1,562,715,572,000
1,562,715,572,000
192,390,898
0
0
null
1,560,792,750,000
1,560,792,749,000
null
UTF-8
Lean
false
false
2,895
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.core init.control.monad init.control.alternative init.coe open Decidable universes u v namespace Option def toMonad {m : Type → Type}...
95fd7f9400b5f7fa66d153de3a2fc455d9327bc3
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Lean/Elab/AuxDef.lean
d662cdab6ad9f63d3d5a336db389d2ff65dc2eab
[ "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,372
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ import Lean.Elab.Command namespace Lean.Elab.Command open Lean.Parser.Command open Lean.Parser.Term /-- Declares an auxiliary definition with an automatically...
fa978eebeda41532e304309d4984ad31685f9665
947b78d97130d56365ae2ec264df196ce769371a
/stage0/src/Init/Data/UInt.lean
e1af60c2ac5d4149a72ef4d7be04013e0b3e3a0e
[ "Apache-2.0" ]
permissive
shyamalschandra/lean4
27044812be8698f0c79147615b1d5090b9f4b037
6e7a883b21eaf62831e8111b251dc9b18f40e604
refs/heads/master
1,671,417,126,371
1,601,859,995,000
1,601,860,020,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
15,374
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Data.Fin.Basic import Init.System.Platform open Nat def uint8Sz : Nat := 256 structure UInt8 := (val : Fin uint8Sz) @[extern "lean_ui...
d63ce4013b87e9d2e63a61ca27217774a87d5c1f
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/sheaves/sheaf_condition/equalizer_products.lean
e75084455b9397c3e68f4ff7dff35495c9a6dc6d
[ "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
15,797
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.limits.shapes.equalizers import category_theory.limits.shapes.products import topology.sheaves.sheaf_condition.pairwise_intersections /-! # Th...
e7e4a7a7ae07063e0975c08e4aa8abc95059aaa3
4727251e0cd73359b15b664c3170e5d754078599
/src/data/list/dedup.lean
f8c65923d023bf80cbcc3f8e62b5bc41933351f3
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
2,450
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 data.list.nodup /-! # Erasure of duplicates in a list This file proves basic results about `list.dedup` (definition in `data.list.defs`). `dedup l` returns `...
8c9244c30f0844280922676a8e72edd7eedb24f8
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/polynomial/degree/definitions_auto.lean
21442c4ed94be7b1e2eae8c3234f44c0304a0821
[]
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
32,316
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.data.nat.w...
21210218f7de504af77a5fb0d6d09cfc20720115
8b9f17008684d796c8022dab552e42f0cb6fb347
/library/logic/default.lean
8353bc33c99a7aed0633264dd910471a77061078
[ "Apache-2.0" ]
permissive
chubbymaggie/lean
0d06ae25f9dd396306fb02190e89422ea94afd7b
d2c7b5c31928c98f545b16420d37842c43b4ae9a
refs/heads/master
1,611,313,622,901
1,430,266,839,000
1,430,267,083,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
285
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: logic.default Author: Jeremy Avigad -/ import logic.eq logic.connectives logic.cast import logic.quantifiers logic.instances logic.identities
068aad89d03e8a47c3329bb7e426cb916f1fb85a
ff5230333a701471f46c57e8c115a073ebaaa448
/library/init/meta/interactive_base.lean
786f450ae9ff86f353b3bb0c897674d6e4619b2b
[ "Apache-2.0" ]
permissive
stanford-cs242/lean
f81721d2b5d00bc175f2e58c57b710d465e6c858
7bd861261f4a37326dcf8d7a17f1f1f330e4548c
refs/heads/master
1,600,957,431,849
1,576,465,093,000
1,576,465,093,000
225,779,423
0
3
Apache-2.0
1,575,433,936,000
1,575,433,935,000
null
UTF-8
Lean
false
false
8,431
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.data.option.basic import init.meta.lean.parser init.meta.tactic init.meta.has_reflect open lean open lean.parser local postfix `?`:900...
5022025a7a983642b93e6c1550a0eb00dfff78a7
222111140d2023e142b07e9cd5119ac2829b36f5
/src/matrix_repr.lean
ecf417e1c8a4c365f4696b19d0b3bdb7f129c636
[]
no_license
jjcrawford/lean-gaussian-elimination
740dfdf2de89dc99c088c53e5221d9dfad3c0b92
c473d33c07fa6f141d17d9dc42ad07956c33dd03
refs/heads/master
1,585,793,867,436
1,540,443,865,000
1,540,443,865,000
153,901,939
0
0
null
null
null
null
UTF-8
Lean
false
false
1,913
lean
import ring_theory.matrix @[pattern] def vector.mk {α : Type*} {n : ℕ} (l : list α) (pr : l.length = n) : vector α n := ⟨l, pr⟩ notation `![` l:(foldr `, ` (h t, list.cons h t) list.nil `]`) := vector.mk l (refl _) universes u variables {m n : ℕ} {α : Type u} def matrix.bang : (vector (vector α n) m)...
0c3ee7c729f2cdd5a5441e5811dd696ff64f81c6
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/category_theory/adjunction/limits.lean
4d132d05f168d125d4bbceb3f8aa7c0cba1e3f4c
[ "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
7,695
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Johan Commelin -/ import category_theory.adjunction.basic import category_theory.limits.preserves open opposite namespace category_theory.adjunction open category_theory op...
cc1c3e78d2892a2305fd6588a83bf9fa9f13a114
2c096fdfecf64e46ea7bc6ce5521f142b5926864
/src/Lean/Elab/BuiltinNotation.lean
795d5d25dcb0e0bdd145519545cf12623543ff62
[ "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
16,853
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.BorrowedAnnotation import Lean.Meta.KAbstract import Lean.Meta.MatchUtil import Lean.Elab.SyntheticMVars namespace Lean.Elab.Term open...
65b871ed1835251361a6a875f2e7741b3d2d3978
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/tests/lean/run/e14.lean
a9aae9ac95cc9dbb9037e847fb1d488fe7183ecb
[ "Apache-2.0" ]
permissive
codyroux/lean
7f8dff750722c5382bdd0a9a9275dc4bb2c58dd3
0cca265db19f7296531e339192e9b9bae4a31f8b
refs/heads/master
1,610,909,964,159
1,407,084,399,000
1,416,857,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
858
lean
inductive nat : Type := zero : nat, succ : nat → nat namespace nat end nat open nat inductive list (A : Type) : Type := nil {} : list A, cons : A → list A → list A definition nil := @list.nil definition cons := @list.cons check nil check nil.{1} check @nil.{1} nat check @nil nat check cons nat.zero nil inductive ...
2bc1f97e016bde595418cafb7bca2064fb0e305a
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Lean/Meta/UnificationHint.lean
9c3957537f71ece43fc589fa8d070252cf2ec210
[ "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
5,268
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.ScopedEnvExtension import Lean.Util.Recognizers import Lean.Meta.DiscrTree import Lean.Meta.SynthInstance namespace Lean.Meta structure Unific...
6dede9290466e20602695c52567c590700a599c7
5749d8999a76f3a8fddceca1f6941981e33aaa96
/src/data/real/hyperreal.lean
2c6d9f50e5c242b1428fa46baf0376a178b537da
[ "Apache-2.0" ]
permissive
jdsalchow/mathlib
13ab43ef0d0515a17e550b16d09bd14b76125276
497e692b946d93906900bb33a51fd243e7649406
refs/heads/master
1,585,819,143,348
1,580,072,892,000
1,580,072,892,000
154,287,128
0
0
Apache-2.0
1,540,281,610,000
1,540,281,609,000
null
UTF-8
Lean
false
false
36,498
lean
/- Copyright (c) 2019 Abhimanyu Pallavi Sudhir. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Abhimanyu Pallavi Sudhir Construction of the hyperreal numbers as an ultraproduct of real sequences. -/ import data.real.basic algebra.field order.filter.filter_product anal...
b72f0e3efe89edf6af0ce94b6691c88a9dfc0922
e0b0b1648286e442507eb62344760d5cd8d13f2d
/stage0/src/Lean/Elab/Tactic/Induction.lean
e7c67329b1e251211da41903d6f5769ad66acef7
[ "Apache-2.0" ]
permissive
MULXCODE/lean4
743ed389e05e26e09c6a11d24607ad5a697db39b
4675817a9e89824eca37192364cd47a4027c6437
refs/heads/master
1,682,231,879,857
1,620,423,501,000
1,620,423,501,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
19,155
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, Sebastian Ullrich -/ import Lean.Util.CollectFVars import Lean.Parser.Term import Lean.Meta.RecursorInfo import Lean.Meta.CollectMVars import Lean.Meta.Tactic...
5cbf5ad8b0388894bacdd04d9a9b03d8d4fd20a3
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/doc_string6.lean
2425b851b5a300cc3582513d7698d8cd1108b913
[ "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
265
lean
/-- /- /- /- nested docstring -/ -/ -/ -/ def foo : string := "/- /- /- nested docstring -/ -/ -/" open tactic run_cmd do doc ← doc_string `foo, if doc = foo then skip else fail ("doc string of `foo` was:\n" ++ doc ++ "\n\nexpected:\n" ++ foo)
92e3a3b5c131312589bf0a025d870429e82cdab8
36938939954e91f23dec66a02728db08a7acfcf9
/lean4/app/Types.lean
931953ca93ea69f1cf0784c59eb16b1355495045
[]
no_license
pnwamk/reopt-vcg
f8b56dd0279392a5e1c6aee721be8138e6b558d3
c9f9f185fbefc25c36c4b506bbc85fd1a03c3b6d
refs/heads/master
1,631,145,017,772
1,593,549,019,000
1,593,549,143,000
254,191,418
0
0
null
1,586,377,077,000
1,586,377,077,000
null
UTF-8
Lean
false
false
13,069
lean
import Galois.Data.ByteArray import LeanLLVM.AST import LeanLLVM.PP import Main.Elf import ReoptVCG.Annotations import ReoptVCG.VCGBackend import ReoptVCG.MCStdLib import SMTLIB.Syntax import DecodeX86.DecodeX86 -- TODO move these (or similar fns) to lean-llvm def LLVM.Ident.pp : LLVM.Ident → String := LLVM.Doc.rende...
43d9d0650d3e1c89ec8ada3d4438d3a6c5ba2e7a
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/measure_theory/outer_measure.lean
1b67f31fabe9ea73acd35f89e40daaf5f4662cd5
[ "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
61,166
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import analysis.specific_limits import measure_theory.measurable_space import measure_theory.pi_system import data.matrix.notation import topology.alg...
bc832437ad8be2a1693a93f864434892b017add6
7cef822f3b952965621309e88eadf618da0c8ae9
/src/algebra/group/with_one.lean
945b339e47d9e3661a765a648ad97a7065f95df8
[ "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
7,751
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Johan Commelin Various multiplicative and additive structures. -/ import algebra.group.to_additive algebra.group.basic algebra.group.hom universes u v variable {α : T...
34fa7ccfdd75149e7d7649c3467ed9ddab59c9ae
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/covariant_and_contravariant.lean
a7918f192619504e35be6bddd27bafcf46e2cd97
[ "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
14,358
lean
/- Copyright (c) 2021 Damiano Testa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Damiano Testa -/ import algebra.group.defs import order.basic import order.monotone /-! # Covariants and contravariants > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > https://github.c...
95517f3ad6b56b12aa92be0b5f41b6708b4a4c8c
4727251e0cd73359b15b664c3170e5d754078599
/src/model_theory/quotients.lean
f29518061d4c41a26b64ce1e26e89262442b6399
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
2,551
lean
/- Copyright (c) 2022 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import data.fintype.basic import model_theory.semantics /-! # Quotients of First-Order Structures This file defines prestructures and quotients of first-order struct...
0ead681a08e9a9233930543161049814289c816b
5fbbd711f9bfc21ee168f46a4be146603ece8835
/lean/natural_number_game/function/8.lean
0cd5a59dfdc4c90056901c40e545277d7f4d41b6
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
goedel-gang/maths
22596f71e3fde9c088e59931f128a3b5efb73a2c
a20a6f6a8ce800427afd595c598a5ad43da1408d
refs/heads/master
1,623,055,941,960
1,621,599,441,000
1,621,599,441,000
169,335,840
0
0
null
null
null
null
UTF-8
Lean
false
false
117
lean
example (P Q : Type) : (P → Q) → ((Q → empty) → (P → empty)) := begin intros f h p, exact h (f p), end