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
4eaa20936fd526a8e3f5a29c3a4e8b80664728eb
3446e92e64a5de7ed1f2109cfb024f83cd904c34
/src/game/world4/level1.lean
600baec82a195d96ff332983f8b4b398fbe8826b
[]
no_license
kckennylau/natural_number_game
019f4a5f419c9681e65234ecd124c564f9a0a246
ad8c0adaa725975be8a9f978c8494a39311029be
refs/heads/master
1,598,784,137,722
1,571,905,156,000
1,571,905,156,000
218,354,686
0
0
null
1,572,373,319,000
1,572,373,318,000
null
UTF-8
Lean
false
false
947
lean
import game.world3.level13 -- hide import mynat.pow -- new import namespace mynat -- hide /- # World 4 : Power World A new world! A relatively straightforward one at that. And a new import! This import gives you the power to make powers of your natural numbers. It is defined by recursion, just like addition and mul...
630f0abeee9eb8f11f7b77c4e2824a6b4b99a0be
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/probability/notation.lean
23e11d9c09fa0b3fb0fc2e829f791e69f2123afc
[ "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
2,110
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 probability.probability_mass_function.basic import measure_theory.function.conditional_expectation.basic /-! # Notations for probability theory This file defines...
311ea51c08cabb5afac5fedadfd6ff7d714be310
9b9a16fa2cb737daee6b2785474678b6fa91d6d4
/src/category_theory/const.lean
b46f02f69994e8e7aac99ec14d8a94aaa4e5c0e5
[ "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
1,693
lean
-- Copyright (c) 2018 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison import category_theory.functor_category import category_theory.isomorphism universes v₁ v₂ v₃ u₁ u₂ u₃ -- declare the `v`'s first; see `category_theory.category`...
f4520ad3c762af8397fe175f65a2a1292fec881a
2c096fdfecf64e46ea7bc6ce5521f142b5926864
/src/Init/SimpLemmas.lean
93ede06365632f937965be8fc93003e87a5c75c5
[ "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
9,000
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura notation, basic datatypes and type classes -/ prelude import Init.Core set_option linter.missingDocs true -- keep it documented theorem of_eq_true (h : p = T...
a8b09facf02bc846cd9555c8dcdd4fa67ed7296c
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/subset.lean
adaa063de2080aa4ad4f0a236be6e66300bc9790
[ "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
879
lean
def Set (α : Type u) := α → Prop def setOf {α : Type u} (p : α → Prop) : Set α := p namespace Set protected def mem (a : α) (s : Set α) := s a instance : Membership α (Set α) := ⟨Set.mem⟩ theorem ext {a b : Set α} (h : ∀ (x : α), x ∈ a ↔ x ∈ b) : a = b := funext (fun x => propext (h x)) protected def subset (s₁ s...
740f47e12e5666ef80fc6d54d51b0e95a06b5558
842b7df4a999c5c50bbd215b8617dd705e43c2e1
/nat_num_game/src/Advanced_Proposition_World/adv_prop_wrld2.lean
6dfd7db4ffc74c28e029892f969f62520977094d
[]
no_license
Samyak-Surti/LeanCode
1c245631f74b00057d20483c8ac75916e8643b14
944eac3e5f43e2614ed246083b97fbdf24181d83
refs/heads/master
1,669,023,730,828
1,595,534,784,000
1,595,534,784,000
282,037,186
0
0
null
null
null
null
UTF-8
Lean
false
false
134
lean
lemma and_symm (P Q : Prop) : P ∧ Q → Q ∧ P := begin intro h, cases h with p q, split, exact q, exact p, end
66d7e26cfd863e6f8400200284414b6a405f61d1
6214e13b31733dc9aeb4833db6a6466005763162
/src/syntax.lean
8bc154907bb85f44757f596d89d5b08760c9ac07
[]
no_license
joshua0pang/esverify-theory
272a250445f3aeea49a7e72d1ab58c2da6618bbe
8565b123c87b0113f83553d7732cd6696c9b5807
refs/heads/master
1,585,873,849,081
1,527,304,393,000
1,527,304,393,000
154,901,199
1
0
null
1,540,593,067,000
1,540,593,067,000
null
UTF-8
Lean
false
false
4,215
lean
-- syntax for values. expressions, terms, propositions, etc. -- x ∈ VariableNames @[reducible] def var := ℕ -- ⊗ ∈ UnaryOperators inductive unop | not : unop | isInt : unop | isBool : unop | isFunc : unop -- ⊕ ∈ BinaryOperators inductive binop | plus : binop | minus : binop | times : binop | div : binop | and...
6bf643920c16b26e89abb22c4cece93d86a8c1f6
5d166a16ae129621cb54ca9dde86c275d7d2b483
/tests/lean/run/parent_struct_inst.lean
09861bf5ffc9dfaaa5163ce98fd3b9698b30ea5a
[ "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
177
lean
open nat structure [class] A := (n : ℕ) definition f [A] := A.n structure B extends A := (Hf : f = 0) example : B := ⟨⟨0⟩, rfl⟩ example : B := (| (| 0 |), rfl |)
2c5bc02205f9477be2e5a9226f6800e9a4817c94
07c6143268cfb72beccd1cc35735d424ebcb187b
/src/topology/metric_space/isometry.lean
ac74a4d8475cfd276596f94a27d6e042277810fc
[ "Apache-2.0" ]
permissive
khoek/mathlib
bc49a842910af13a3c372748310e86467d1dc766
aa55f8b50354b3e11ba64792dcb06cccb2d8ee28
refs/heads/master
1,588,232,063,837
1,587,304,803,000
1,587,304,803,000
176,688,517
0
0
Apache-2.0
1,553,070,585,000
1,553,070,585,000
null
UTF-8
Lean
false
false
14,834
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 -/ import topology.metric_space.basic topology.bounded_continuous_function analysis.normed_space.basic topology.opens /...
b12be218997387ab49dd9f62802c510813fe3858
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/hott/init/datatypes.hlean
cdcf59c451acdee1b24aef4fefa90d9b8e624362
[ "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
2,745
hlean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jakob von Raumer Basic datatypes -/ prelude notation [parsing_only] `Type'` := Type.{_+1} notation [parsing_only] `Type₊` := Type.{_+1} notation `Type₀` := ...
245a68898ff43866b2bf7e51222ca51f859b50b4
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/multiset/nodup.lean
380632a3e9b7c911876570a2d9e295fdc86eeaca
[ "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
9,574
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import data.multiset.powerset import data.multiset.range /-! # The `nodup` predicate for multisets without duplicate elements. -/ namespace multiset open list...
8c560936cf5907f67aec94d17d4b296656ddb7dd
976d2334b51721ddc405deb2e1754016d454286e
/src/caltech ma6/set1.lean
14b7556794fd75d2e85ef55f44035f6e3455481d
[]
no_license
kbuzzard/lean-at-MC2020
11bb6ac9ec38a6caace9d5d9a1705d6794d9f477
1f7ca65a7ba5cc17eb49f525c02dc6b0e65d6543
refs/heads/master
1,668,496,422,317
1,594,131,838,000
1,594,131,838,000
277,877,735
0
0
null
1,594,142,006,000
1,594,142,005,000
null
UTF-8
Lean
false
false
2,166
lean
import tactic import data.nat.prime import data.int.modeq import data.zmod.basic noncomputable theory open_locale big_operators open finset /- In the first class we proved that there are infinitely many primes. This problem asks for an alternative proof. Let a_n = 2^2^n + 1. Prove that for any positive integer k we ha...
ef9a6fdc2741d4fd45da2855ac45a862de75c414
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/topology/algebra/monoid.lean
1638844d7990712271487762ab1d68aa1b2b5477
[ "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
5,692
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 Theory of topological monoids. TODO: generalize `topological_monoid` and `topological_add_monoid` to semigroups, or add a type class `topological_opera...
c40715d05372c5e12e51fc72cafd08a9a5e5806f
88892181780ff536a81e794003fe058062f06758
/src/lib/sets.lean
0448ae585430bc746f573646fb06bfd310e0fed4
[]
no_license
AtnNn/lean-sandbox
fe2c44280444e8bb8146ab8ac391c82b480c0a2e
8c68afbdc09213173aef1be195da7a9a86060a97
refs/heads/master
1,623,004,395,876
1,579,969,507,000
1,579,969,507,000
146,666,368
0
0
null
null
null
null
UTF-8
Lean
false
false
1,470
lean
import data.fintype import data.set.finite import data.list.basic universe u @[reducible] def all (α : Type u) : set α := λ _ : α, true class has_upper_bound {α} [has_le α] (s : set α) := (ub : α) (h : ∀ x : α, s x → x ≤ ub) instance upper_bound_eq {k : ℕ} : has_upper_bound (λ x, x = k) := ⟨k, by simp⟩ instance up...
5ff9da02f0f1fbbba11feee915d93d9b6813008a
3bdd27ffdff3ffa22d4bb010eba695afcc96bc4a
/src/combinatorics/simplicial_complex/to_move/topology.lean
b6995b8203feaecc32defd69e0d78e61433f2a15
[]
no_license
mmasdeu/brouwerfixedpoint
684d712c982c6a8b258b4e2c6b2eab923f2f1289
548270f79ecf12d7e20a256806ccb9fcf57b87e2
refs/heads/main
1,690,539,793,996
1,631,801,831,000
1,631,801,831,000
368,139,809
4
3
null
1,624,453,250,000
1,621,246,034,000
Lean
UTF-8
Lean
false
false
505
lean
/- Copyright (c) 2021 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 analysis.convex.topology import topology.sequences lemma interior_eq_closure_diff_frontier {X : Type _} [topological_space X] (s : set...
112ca2e1a63efdaab7b04087fd743c82fd347543
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/monoidal/End.lean
41d33b7917c10e50678533112b8f589f151ad221
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
2,524
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.functor /-! # Endofunctors as a monoidal category. We give the monoidal category structure on `C ⥤ C`, and show that when `C` itself...
5b2076995ef9bae7f7901506a784ffd9d6d0d931
4727251e0cd73359b15b664c3170e5d754078599
/src/data/finset/sym.lean
06c02270db1cfcb942dc2214e4e1382c9ce22ea5
[ "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,850
lean
/- Copyright (c) 2021 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import data.finset.prod import data.sym.sym2 /-! # Symmetric powers of a finset This file defines the symmetric powers of a finset as `finset (sym α n)` and `finset (sy...
16ef15988d6c4d97ba25335105be72e851edb7a6
0845ae2ca02071debcfd4ac24be871236c01784f
/library/init/fix.lean
f488bcc1b28e4ea768b418641aa2642aab7df2ee
[ "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
5,797
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 -/ prelude import init.data.uint universe u def bfix1 {α β : Type u} (base : α → β) (rec : (α → β) → α → β) : Nat → α → β | 0 a := base a | (n+1) a := rec...
96dd33e72391d2c270914a8f16d9e69eaff6009d
3f7026ea8bef0825ca0339a275c03b911baef64d
/src/algebra/group/basic.lean
bcc308d64cd6d388b350f972a1bf142f5bd2f6b4
[ "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
7,438
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Simon Hudon, Mario Carneiro Various multiplicative and additive structures. -/ import algebra.group.to_additive universe u variable {α : Type u} @[to_additive add_mono...
6d1ab99c342969e2cc34fbac32d550f0f2188eea
bf532e3e865883a676110e756f800e0ddeb465be
/number_theory/pell.lean
c25c407fe53d6ffa6be99c1caff7e5c696dcf22d
[ "Apache-2.0" ]
permissive
aqjune/mathlib
da42a97d9e6670d2efaa7d2aa53ed3585dafc289
f7977ff5a6bcf7e5c54eec908364ceb40dafc795
refs/heads/master
1,631,213,225,595
1,521,089,840,000
1,521,089,840,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
62,344
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.int.basic data.nat.prime data.nat.modeq /-- The ring of integers adjoined with a square root of `d`. These have the form `a + b √d` where `a b : ℤ`. Th...
aed6992f6755b0d2a38525518338e587e9829b59
dcae127c2dc1af72f429b617281bc29c0bb7d98d
/library/system/io.lean
bb647292f4f49ea4e7c5b8c0d3ce28b8e156a38e
[ "Apache-2.0" ]
permissive
khoek/klean
b06724cd6a2ebf18b561ad3da73804f50e4e978b
1c7192d599658081442f8100143c7d1c7f5348ef
refs/heads/master
1,619,532,330,101
1,549,083,580,000
1,549,083,580,000
122,448,575
0
0
null
null
null
null
UTF-8
Lean
false
false
8,131
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Luke Nelson, Jared Roesch and Leonardo de Moura -/ import system.io_interface /- The following constants have a builtin implementation -/ constant io_core : Type → Type → Type ...
bf4a13b6637207929b7b5fcc5dc5a098de3fa128
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/data/real/cau_seq_completion.lean
4165fb9e24ce7884e8988537bdc6e4d92a46155e
[ "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
9,490
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Robert Y. Lewis Generalizes the Cauchy completion of (ℚ, abs) to the completion of a commutative ring with absolute value. -/ import data.real.cau_seq namespace cau_s...
e9411d7a2d99252f7bd20074e8da4e49567da626
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/topology/continuous_on.lean
27f7c2aa2a6ab1994112f20aafa2257c46a6f611
[ "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
50,500
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import topology.constructions /-! # Neighborhoods and continuity relative to a subset This file defines relative versions * `nhds_within` of `nhds` * `co...
fcdfb4ccb3f9c74c7897d9e71ea7261ee8628a0e
4727251e0cd73359b15b664c3170e5d754078599
/src/group_theory/submonoid/membership.lean
b0cf537610c253f1f91c69da04e02580a2fbb891
[ "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
22,070
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, Kenny Lau, Johan Commelin, Mario Carneiro, Kevin Buzzard, Amelia Livingston, Yury Kudryashov -/ import group_theory.submonoid.operations import algebra.big_operators.ba...
206239a57b28814780e2ebb197806f09df186c73
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/geometry/euclidean/triangle.lean
867022189bba5e23822d49ae59bdba0c187e8316
[ "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
16,796
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers -/ import geometry.euclidean.basic import tactic.interval_cases /-! # Triangles This file proves basic geometrical results about distances and angles in (possibly degenera...
c77cc6abf8de0552a85434500a98ff0cfc7ef877
c777c32c8e484e195053731103c5e52af26a25d1
/src/analysis/normed_space/star/matrix.lean
035eb8318992f1c5d5251d9de2858da475dca362
[ "Apache-2.0" ]
permissive
kbuzzard/mathlib
2ff9e85dfe2a46f4b291927f983afec17e946eb8
58537299e922f9c77df76cb613910914a479c1f7
refs/heads/master
1,685,313,702,744
1,683,974,212,000
1,683,974,212,000
128,185,277
1
0
null
1,522,920,600,000
1,522,920,600,000
null
UTF-8
Lean
false
false
2,474
lean
/- Copyright (c) 2022 Hans Parshall. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Hans Parshall -/ import analysis.matrix import analysis.normed_space.basic import data.is_R_or_C.basic import linear_algebra.unitary_group /-! # Unitary matrices This file collects fa...
621a749160b9dcac61d7a89ec71388d361342809
4727251e0cd73359b15b664c3170e5d754078599
/src/data/list/big_operators.lean
8bbb57426bf0ba3441a5eb3820c6a7dd6533c4e4
[ "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
24,873
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, Floris van Doorn, Sébastien Gouëzel, Alex J. Best -/ import algebra.group_power import data.list.forall2 /-! # Sums and products from lists This file provides basic r...
fffaab40369619d55d145568af63b59b91e66f95
f3be49eddff7edf577d3d3666e314d995f7a6357
/TBA/Solutions/Exercise6.lean
353c14db38a8240e09350f6ab0ca8025d72dffe3
[]
no_license
IPDSnelting/tba-2021
8b930bcd2f4aae44a2ddc86e72b77f84e6d46e82
b6390e55b768423d3266969e81d19290129c5914
refs/heads/master
1,686,754,693,583
1,625,135,602,000
1,625,136,365,000
355,124,341
50
7
null
1,625,133,762,000
1,617,699,824,000
Lean
UTF-8
Lean
false
false
11,665
lean
/- Even more induction! -/ variable (r : α → α → Prop) -- The reflexive transitive closure of `r` as an inductive predicate inductive RTC : α → α → Prop where -- Notice how declaring `r` as a `variable` instead of as a parameter instead of declaring it -- directly as a parameter of `RTC` means we don't have to wr...
25545e0762a6195a0db675cdefbfb7b6e02dae09
5d166a16ae129621cb54ca9dde86c275d7d2b483
/tests/lean/run/struc_names.lean
97e9d4889ea75558a1a787ca4371fe5924db3175
[ "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
189
lean
namespace foo structure [class] structA := mk :: (a : nat) structure [class] structB extends structA := mk :: (b : nat) #check @structA.a #check @structB.to_structA end foo
8de8e808c9ac1137cf187ebe1d702eddb3b17a0a
969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb
/src/meta/expr.lean
7f1088722cee348f255451ec3b3c889c265a34b0
[ "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
41,460
lean
/- Copyright (c) 2019 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Simon Hudon, Scott Morrison, Keeley Hoek, Robert Y. Lewis -/ import data.string.defs import data.option.defs import tactic.derive_inhabited /-! # Additional operations...
8536f910775bf083f09ecfa68048ef967a14253c
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/number_theory/liouville/measure.lean
2290d01f9573900c02d061d114c7c607b9c8ec2d
[ "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
6,210
lean
/- Copyright (c) 2021 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import measure_theory.measure.lebesgue import number_theory.liouville.residual import number_theory.liouville.liouville_with import analysis.p_series /-! # V...
41d8835ba7bed2fc932edd1b3af67d6a4e255c37
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/ring_theory/adjoin_root.lean
f99196c068ec229a2df5b0fb36137095dea95508
[ "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
16,361
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Chris Hughes -/ import data.polynomial.field_division import linear_algebra.finite_dimensional import ring_theory.adjoin.basic import ring_theory.power_basis import rin...
34949d76e6cab17ac8efc3f160876e1824ad494b
7e15b782f874bcc4192c668a12db901081a9248e
/theorem-proving-in-lean/src/ch_4.lean
93d63ee2e156fccf366cd53ff529f3ab7fbe1b03
[]
no_license
Javran/Thinking-dumps
5e392fe4a5c0580dc9b0c40ab9e5a09dad381863
bfb0639c81078602e4b57d9dd89abd17fce0491f
refs/heads/master
1,621,682,942,579
1,618,941,860,000
1,618,941,860,000
7,418,999
19
4
null
null
null
null
UTF-8
Lean
false
false
7,619
lean
import data.int.basic import data.nat.basic import data.real.basic namespace ch_4 namespace sec_1 variables (α : Type*) (p q : α → Prop) example : (∀ x : α, p x ∧ q x) → ∀ y : α, p y := begin intros h y, have h1 : p y ∧ q y, {apply h}, exact h1.1, end end sec_1 namespace sec_3 variables (a b c d e : ℕ) vari...
b84558d94875f0e27a8b1fe661cffa9a4a5fa757
94637389e03c919023691dcd05bd4411b1034aa5
/src/inClassNotes/dependentTypes.lean
e1af0869330da0886edd74b01b0b79261497ee51
[]
no_license
kevinsullivan/complogic-s21
7c4eef2105abad899e46502270d9829d913e8afc
99039501b770248c8ceb39890be5dfe129dc1082
refs/heads/master
1,682,985,669,944
1,621,126,241,000
1,621,126,241,000
335,706,272
0
38
null
1,618,325,669,000
1,612,374,118,000
Lean
UTF-8
Lean
false
false
6,755
lean
/- A FAMILY OF TYPES ("INDUCTIVE FAMILY") efine a family of types, *tuple n*, indexed by natural numbers. For any (n : nat), tuple n is the type of tuples (of natural numbers) of length n. -/ -- nat ⨯ nat -- ℕ ℕ ℕ -- (1,2,3) -- ℕ ⨯ (ℕ×ℕ) -- (1,(2,3)) -- (1, (2, (3, (4, 5)))) /- Build a function that takes...
fc0884afd1e31a90bb7db1d74dd839935b561783
51241b440c9d9e72556bd50c272c2654f722af28
/20170116_POPL/assoc/flat_assoc.lean
9b8cdb9c8fb898a4ba462291fec0666288098df1
[ "Apache-2.0" ]
permissive
jroesch/presentations
deb419a483a788fa6bf3c5b4949e151186e9ea6d
b64fd2bf65a64faf16c52729cde0436f0d2f2cca
refs/heads/master
1,610,543,247,969
1,484,284,236,000
1,484,284,236,000
78,833,725
0
0
null
1,484,298,759,000
1,484,298,759,000
null
UTF-8
Lean
false
false
6,989
lean
/- In this example, we implement a tactic for "flattening" terms built using an associative operator. Suppose `op` is an associative operator. Then, we build a tactic that given a term such as (op (op a b) (op c d)) it returns a new term (op a (op b (op c d))) and a proof that it is equalt to the given one. -/...
a78968e9da495b7711eb658725cebaf19bcadc38
e1da55f4222dac91b940ca052928eaace09762da
/src/finpartitions.lean
c77fa4a4d17843317bc50fe243ca257b9a5bf19f
[]
no_license
b-mehta/regularity-lemma
c5826e22c280d0b073a4e62dba731f4dd3d1b69f
cf26082b0c88fa54276e6fdc3338c15e607c52c6
refs/heads/master
1,658,209,524,267
1,644,406,456,000
1,644,406,456,000
457,327,371
1
0
null
null
null
null
UTF-8
Lean
false
false
14,242
lean
/- Copyright (c) 2021 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 .mathlib /-! # Constructions of `finpartition` -/ open finpartition finset variables {α : Type*} section variables [decidable_eq α]...
c66504bb949e2bbbd8c5d625512a132c9a7c093b
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Data/KVMap.lean
624a1f28e8ce4a8aa209854ddf3f886acf7b69ce
[ "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
6,681
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 -/ import Lean.Data.Name namespace Lean /-- Value stored in a key-value map. -/ inductive DataValue where | ofString (v : String) | ofBool (v : Bool) ...
7161f94c62c956eceed3f0587404f5ee7e6a73c7
8eeb99d0fdf8125f5d39a0ce8631653f588ee817
/src/topology/separation.lean
d70573a39f45d838a668464312179f0fa9efcd75
[ "Apache-2.0" ]
permissive
jesse-michael-han/mathlib
a15c58378846011b003669354cbab7062b893cfe
fa6312e4dc971985e6b7708d99a5bc3062485c89
refs/heads/master
1,625,200,760,912
1,602,081,753,000
1,602,081,753,000
181,787,230
0
0
null
1,555,460,682,000
1,555,460,682,000
null
UTF-8
Lean
false
false
22,081
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 Separation properties of topological spaces. -/ import topology.subset_properties open set filter open_locale topological_space filter local attribute ...
4c644aaa493ecb786b37796ac8d4b1a0073e06fe
7a468d7c7c0949ab8b191bb62ff6d4d2af9f3917
/test/false.lean
3c6e2729c4570e413308987df5bb3e6276bb8a88
[ "Apache-2.0" ]
permissive
seanpm2001/LeanProver_SMT2_Interface
c15b2fba021c406d965655b182eef54a14121b82
7ff0ce248b68ea4db2a2d4966a97b5786da05ed7
refs/heads/master
1,688,599,220,366
1,547,825,187,000
1,547,825,187,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
85
lean
import smt2 import .test_tactics lemma false_should_fail : false := by must_fail z3
7b49e6f8e4abc0a8af49f9219415a8f0143c7688
e030b0259b777fedcdf73dd966f3f1556d392178
/tests/lean/run/smt_ematch3.lean
a442f82a00d618805b2986b1faa6f75054391b0f
[ "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
1,579
lean
open nat notation `⟦`:max a `⟧`:0 := cast (by simp) a inductive vector (α : Type) : nat → Type | nil {} : vector 0 | cons : Π {n}, α → vector n → vector (succ n) namespace vector local attribute [simp] add_succ succ_add add_comm variable {α : Type} def app : Π {n m : nat}, vector α n → vector α m → vector α (n + ...
cd688fcf6c41d3b99c02aca6f21c8ea760236b94
e030b0259b777fedcdf73dd966f3f1556d392178
/library/init/meta/rec_util.lean
6ab3227e222179d06ad8481505947eedd2505f0a
[ "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
2,875
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 Helper tactic for showing that a type has decidable equality. -/ prelude import init.meta.tactic namespace tactic open expr /- Return tt iff e's type is of ...
d3937218daef8ff05ffe64a01958a9c6e1202e67
020c82b947b28c4d255384a0466715fbb44e5c1e
/src/fifteeninteractive.lean
d2bb0d841a055606177ab25da5980b3d70d28eff
[]
no_license
SnobbyDragon/leanfifteen
79ceb751749fa0185c4f9e60ffa2f128e64fbc3c
4583ab44e1de89a25e693e5e611472a9ba1147b6
refs/heads/main
1,675,887,746,364
1,609,534,902,000
1,609,534,902,000
325,708,959
2
0
null
null
null
null
UTF-8
Lean
false
false
1,436
lean
import fifteenwidget /- Courtesy of Ed Ayers! Magic so you can do: begin [fifteen_tactic] ... end -/ meta def fifteen_tactic := tactic namespace fifteen_tactic open tactic local attribute [reducible] fifteen_tactic meta instance : monad fifteen_tactic := infer_instance meta def step {α : Type} (m...
ff3f143522d58b329daf6213e1e8aecb3af8ffce
4727251e0cd73359b15b664c3170e5d754078599
/src/data/ordmap/ordnode.lean
899fe54c74d88f284419c5233e08c1b0dfc86c67
[ "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
42,067
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.list.defs import data.nat.psub /-! # Ordered sets This file defines a data structure for ordered sets, supporting a variety of useful operations includi...
9080b7a21f3473457cdff1f0e22a090a19d2d2f0
94e33a31faa76775069b071adea97e86e218a8ee
/src/category_theory/concrete_category/basic.lean
bf12a8c81f6648dd726c78aa57e51e0559ecb80d
[ "Apache-2.0" ]
permissive
urkud/mathlib
eab80095e1b9f1513bfb7f25b4fa82fa4fd02989
6379d39e6b5b279df9715f8011369a301b634e41
refs/heads/master
1,658,425,342,662
1,658,078,703,000
1,658,078,703,000
186,910,338
0
0
Apache-2.0
1,568,512,083,000
1,557,958,709,000
Lean
UTF-8
Lean
false
false
7,873
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Johannes Hölzl, Reid Barton, Sean Leather, Yury Kudryashov -/ import category_theory.types import category_theory.functor.epi_mono /-! # Concrete categories A concret...
c116f0e9db9a52b92e70fbd7c799f77a6ff94c8e
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/ring_theory/coprime/basic.lean
18db40829588895b8ceda2aa54cb04737407785e
[ "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
12,357
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 group_theory.group_action.units /-! # Coprime elements of a ring ## Main definitions * `is_coprime x y`: that `x` and `y` ar...
e1a86c7eabb1473495dbc660eba383c7ae2a7172
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/topology/metric_space/hausdorff_distance.lean
237530fd1767b1575bf4ba6445eafe2539b719ee
[ "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
32,398
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Sébastien Gouëzel -/ import topology.metric_space.isometry topology.instances.ennreal topology.metric_space.lipschitz /-! # Hausdorff distance The Hausdorff distance on sub...
b3249c20f76aa2636f2f7c3baae4f90eecd093ba
07f5f86b00fed90a419ccda4298d8b795a68f657
/library/init/core.lean
99e086a25531894412e21079bd0f83a34c6d3f3a
[ "Apache-2.0" ]
permissive
VBaratham/lean
8ec5c3167b4835cfbcd7f25e2173d61ad9416b3a
450ca5834c1c35318e4b47d553bb9820c1b3eee7
refs/heads/master
1,629,649,471,814
1,512,060,373,000
1,512,060,469,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
17,199
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura notation, basic datatypes and type classes -/ prelude notation `Prop` := Sort 0 notation f ` $ `:1 a:0 := f a /- Logical operations and relations -/ reserv...
c79193bbadcab2a10b853e4423663da820733dba
9c2e8d73b5c5932ceb1333265f17febc6a2f0a39
/src/S4/S4_defs.lean
31defbd67c78f4f39e0228365ab720691eb89871
[ "MIT" ]
permissive
minchaowu/ModalTab
2150392108dfdcaffc620ff280a8b55fe13c187f
9bb0bf17faf0554d907ef7bdd639648742889178
refs/heads/master
1,626,266,863,244
1,592,056,874,000
1,592,056,874,000
153,314,364
12
1
null
null
null
null
UTF-8
Lean
false
false
14,115
lean
/- Copyright (c) 2018-2019 Minchao Wu. All rights reserved. Released under MIT license as described in the file LICENSE. Author: Minchao Wu -/ import defs data.list.perm .data open nnf tactic meta def frame_restriction : tactic unit := do intro `a >> `[simp] structure S4 (states : Type) extends kripke states := (ref...
683b1c809ac2dd7801c3ab76bc087027ca2d83d9
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/int/parity.lean
99e5127c659ef28a78760541e2637aa7124c10b9
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
7,076
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Benjamin Davidson -/ import data.int.modeq import data.nat.parity /-! # Parity of integers This file contains theorems about the `even` and `odd` predicates on the inte...
b2c1315aa17c98639eab0c3ba46631b99c5e6f29
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Environment.lean
ffe54d2352c9d3c6dac80376b7b18012424a749a
[ "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
42,348
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Data.HashMap import Lean.ImportingFlag import Lean.Data.SMap import Lean.Declaration import Lean.LocalContext import Lean.Util.Path import Lean....
89cfbc4efa9dc791f002fe1d6d124ae6d0b38426
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/over_notation.lean
1294e2b569f9350a0fab3b952d7b5556c7bf726e
[ "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
369
lean
constant f : nat → nat → nat constant g : string → string → string infix ` & `:60 := f infix ` & `:60 := g set_option pp.notation false #check 0 & 1 #check "a" & "b" #check tt & ff notation `[[`:max l:(foldr `, ` (h t, f h t) 0 `]]`:0) := l notation `[[`:max l:(foldr `, ` (h t, g h t) "" `]]`:0) := l #check [[ (1:...
49571e522039cab59d429bb8ef55c07ab1365c07
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/group_with_zero/defs.lean
9cb5b86bc8969432221047b33075c46f840056c7
[ "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,935
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 algebra.group.defs import logic.nontrivial import algebra.ne_zero /-! # Typeclasses for groups with an adjoined zero element > THIS FILE IS SYNCHRONIZED WITH...
38d0017daaeece7b1c841445ea8950329a15ec83
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/ring_theory/polynomial.lean
d3aed5658480572547e753a746e61f7089d1bacc
[ "Apache-2.0" ]
permissive
anrddh/mathlib
6a374da53c7e3a35cb0298b0cd67824efef362b4
a4266a01d2dcb10de19369307c986d038c7bb6a6
refs/heads/master
1,656,710,827,909
1,589,560,456,000
1,589,560,456,000
264,271,800
0
0
Apache-2.0
1,589,568,062,000
1,589,568,061,000
null
UTF-8
Lean
false
false
17,137
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau Ring-theoretic supplement of data.polynomial. Main result: Hilbert basis theorem, that if a ring is noetherian then so is its polynomial ring. -/ import data.mv_polynomial impor...
f0c7184b4ff59bacda37c3bfdcc7e29ab87209d2
3984ab8555ab1e1084e22ef652544acdfc231f27
/src/v0.1/dudo.lean
02a78fe2c6ea62339f812ffb565bcf5941e26159
[]
no_license
mrakgr/CFR-in-Lean
a35c7a478795cc794cc0caff3199cf28c8ee5448
720a3260297bcc158e08833d38964450dcaad2eb
refs/heads/master
1,598,515,917,940
1,572,612,355,000
1,572,612,355,000
217,296,108
0
0
null
null
null
null
UTF-8
Lean
false
false
3,971
lean
import cfr example (a b : rat) : (¬ a < b) ∧ (¬ b < a) → a = b := by exact eq_of_incomp def dice := list.to_buffer [1,2,3,4,5,6] def claims := list.to_buffer [(1,2), (1,3), (1,4), (1,5), (1,6), (1,1), (2,2), (2,3), (2,4), (2,5), (2,6), (2,1)] def AllowedClaim := {i // ∃ v, claims.read i = v} instance : has_lt Allowed...
7f94b639a8e0a2de35c604752a1c7b0c4a5a1232
63abd62053d479eae5abf4951554e1064a4c45b4
/src/ring_theory/witt_vector/basic.lean
3ca559bedc9fa575ed5a8bb032c290315608d146
[ "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
8,679
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.mv_polynomial.counit import data.mv_polynomial.invertible import ring_theory.witt_vector.defs /-! # Witt vectors This file verifies th...
ba5a2b5ae222cd2cbe580f1b047c27028ff2dace
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/topology/uniform_space/basic.lean
017c0677155f49d286a492501aaf0e27ac72474c
[ "Apache-2.0" ]
permissive
ChrisHughes24/mathlib
98322577c460bc6b1fe5c21f42ce33ad1c3e5558
a2a867e827c2a6702beb9efc2b9282bd801d5f9a
refs/heads/master
1,583,848,251,477
1,565,164,247,000
1,565,164,247,000
129,409,993
0
1
Apache-2.0
1,565,164,817,000
1,523,628,059,000
Lean
UTF-8
Lean
false
false
42,560
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Patrick Massot Theory of uniform spaces. Uniform spaces are a generalization of metric spaces and topological groups. Many concepts directly generaliz...
46d4123350c4a237a88758e91debc74037b41824
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/computability/primrec.lean
4b16305ba7f90fd255f9368aea4abe2a8d9366bb
[ "Apache-2.0" ]
permissive
anrddh/mathlib
6a374da53c7e3a35cb0298b0cd67824efef362b4
a4266a01d2dcb10de19369307c986d038c7bb6a6
refs/heads/master
1,656,710,827,909
1,589,560,456,000
1,589,560,456,000
264,271,800
0
0
Apache-2.0
1,589,568,062,000
1,589,568,061,000
null
UTF-8
Lean
false
false
52,091
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import data.equiv.list /-! # The primitive recursive functions The primitive recursive functions are the least collection of functions `nat → nat` which are closed u...
0cdcb29d09cf28528dce02ef8bba4cca06eb24dd
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/301.lean
1146f6091d71d340757597f9d033bc079c3b35fb
[ "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
WINDOWS-1252
Lean
false
false
29
lean
def ˆ(x:=fun 0=>0)n:=ÿ €
74c6574d003900f2ecedf2381d962e800703d81f
302b541ac2e998a523ae04da7673fd0932ded126
/tests/playground/main.lean
42678a9ec5399990fa805d99d070734d5558a2cb
[]
no_license
mattweingarten/lambdapure
4aeff69e8e3b8e78ea3c0a2b9b61770ef5a689b1
f920a4ad78e6b1e3651f30bf8445c9105dfa03a8
refs/heads/master
1,680,665,168,790
1,618,420,180,000
1,618,420,180,000
310,816,264
2
1
null
null
null
null
UTF-8
Lean
false
false
119
lean
set_option trace.compiler.ir.init true unsafe def main : List String → IO UInt32 | _ => do IO.println(0); pure 0
3a1db273ce61139652463e7ff50fc2f2c2428923
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/algebra/lie/base_change.lean
ece76e35fc58deca8c3c2976d78930393074cc57
[ "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
5,905
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.algebra.restrict_scalars import algebra.lie.tensor_product import ring_theory.tensor_product /-! # Extension and restriction of scalars for Lie algebras Li...
fa01ab4aa41db5151d8d3bdb5eac9e52efbc4e7f
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/cases_bug2.lean
12aec4b0430a47d9e9b978b088462b523f1bd706
[ "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
81
lean
open tactic example (a : nat) : 0 = nat.succ a → false := by intro1 >>= cases
896bef9e08c2547b30a5063dc23b8c78b09eb877
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/run/closure1.lean
1f5135f744d903af6e0ec8d4826a4c25ac2e165d
[ "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
1,585
lean
import Lean open Lean open Lean.Meta universe u inductive Vec (α : Type u) : Nat → Type u | nil : Vec α 0 | cons {n} : α → Vec α n → Vec α (n+1) set_option trace.Meta.debug true def printDef (declName : Name) : MetaM Unit := do let cinfo ← getConstInfo declName; trace[Meta.debug] cinfo.value! instance : Coe ...
0a0493b3c5a36303cc8af384648054578eb5f0f4
3618c6e11aa822fd542440674dfb9a7b9921dba0
/scratch/monad.lean
9e8e90b414c594a7cf9743267ff7d0671d2cb17e
[]
no_license
ChrisHughes24/single_relation
99ceedcc02d236ce46d6c65d72caa669857533c5
057e157a59de6d0e43b50fcb537d66792ec20450
refs/heads/master
1,683,652,062,698
1,683,360,089,000
1,683,360,089,000
279,346,432
0
0
null
null
null
null
UTF-8
Lean
false
false
5,298
lean
import group_theory.semidirect_product for_mathlib.coproduct namespace whatever noncomputable theory variables {G : Type} [group G] [decidable_eq G] variables {H : Type} [group H] [decidable_eq H] variables {K : Type} [group K] [decidable_eq K] open free_group semidirect_product def mul_free : G →* mul_aut (free_g...
eaea45dfabdcffbc9b713e3c0b821a9e8ec23c48
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/tactic/itauto.lean
5666a142a6faf3691618909136f6d68e566299b5
[ "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
30,328
lean
/- Copyright (c) 2021 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import tactic.hint /-! # Intuitionistic tautology (`itauto`) decision procedure The `itauto` tactic will prove any intuitionistic tautology. It implements the well...
5a66c6cda37f8464cb98d891b649f2152a65cc27
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/finsupp/pwo.lean
453b5157c147dad3b2ed28cf50c878f328a0b810
[ "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
1,264
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 -/ import data.finsupp.order import order.well_founded_set /-! # Partial well ordering on finsupps This file contains the fact that finitely supported functions from a fin...
38ced8d67ca05752de9c6426d2ba03cdae350457
f1a12d4db0f46eee317d703e3336d33950a2fe7e
/common/tactic.lean
2d0b9005c6ca97a8725548bb60395f8f14e41bc2
[ "Apache-2.0" ]
permissive
avigad/qelim
bce89b79c717b7649860d41a41a37e37c982624f
b7d22864f1f0a2d21adad0f4fb3fc7ba665f8e60
refs/heads/master
1,584,548,938,232
1,526,773,708,000
1,526,773,708,000
134,967,693
2
0
null
null
null
null
UTF-8
Lean
false
false
729
lean
import .auxiliary open tactic meta def tmrk : nat → tactic unit | n := trace n meta def pad_print : nat → string → tactic unit | n s := do trace $ spaces n ++ s meta def print_expr : nat → expr → tactic unit | k (expr.lam n m d b) := pad_print k "lam" >> print_expr (k+2) b | k (expr.app e1 e2) := pad_...
9a9010005117640cb728a5f065103ecaf58a241c
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/rc_tests.lean
bae15d52c484e400d80310827e3b25a811108260
[ "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
1,139
lean
new_frontend universes u v -- setOption pp.binderTypes False set_option pp.implicit true set_option trace.compiler.llnf true -- set_option trace.compiler.boxed true namespace x1 def f (x : Bool) (y z : Nat) : Nat := match x with | true => y | false => z + y + y end x1 namespace x2 def f (x : Nat) : Nat := x end...
df6acd8ab95bca10b4b13f09ce08cf9cb11d9cc3
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Elab/Binders.lean
6f5ab35c6d98cdbaf814d052761d8c3356713b82
[ "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
32,681
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.Elab.Quotation.Precheck import Lean.Elab.Term import Lean.Elab.BindersUtil namespace Lean.Elab.Term open Meta open Lean.Parser.Term open TSynta...
9dde5e631db0ec9593827d55c2c420932f3970ef
46ee5dc7248ccc9ee615639c0c003c05f58975cd
/src/syntax.lean
04a8e2ae053121516cf6856e71e3f8f5525aac45
[ "Apache-2.0" ]
permissive
m4lvin/tablean
e61d593b4dde6512245192c577edeb36c48f63c0
836202612fc2bfacb5545696412e7d27f7704141
refs/heads/main
1,685,613,112,076
1,676,755,678,000
1,676,755,678,000
454,064,275
8
1
null
null
null
null
UTF-8
Lean
false
false
2,481
lean
-- SYNTAX import data.set.finite import algebra.big_operators.basic -- Definition 1, page 4 @[derive decidable_eq] inductive formula : Type | bottom : formula | atom_prop : char -> formula | neg : formula → formula | and : formula → formula → formula | box : formula → formula /- Predefined atomic propositions for co...
fcba291c9497551ca5a67d720956d656a1daee50
94e33a31faa76775069b071adea97e86e218a8ee
/src/model_theory/elementary_maps.lean
483aa970f0a8ff8eeea9a7d5963e29c1282e0c1b
[ "Apache-2.0" ]
permissive
urkud/mathlib
eab80095e1b9f1513bfb7f25b4fa82fa4fd02989
6379d39e6b5b279df9715f8011369a301b634e41
refs/heads/master
1,658,425,342,662
1,658,078,703,000
1,658,078,703,000
186,910,338
0
0
Apache-2.0
1,568,512,083,000
1,557,958,709,000
Lean
UTF-8
Lean
false
false
14,701
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.substructures /-! # Elementary Maps Between First-Order Structures ## Main Definitions * A `first_order.language.eleme...
2296a70ec0ed2d888846d54d9ee8c82e0f8fa166
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/convex/topology.lean
ab37411b7b782b9f5ce0c07ad71747246fbc6a0b
[ "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
18,864
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp, Yury Kudryashov -/ import analysis.convex.jensen import analysis.normed.group.pointwise import analysis.normed_space.finite_dimension import analysis.normed_space....
fa650da6dcfc2b66ea06fadb4e4c0643bf061307
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/linear_algebra/quotient_pi.lean
7ec75b10ca9a4c850b34190dac34343e354d830c
[ "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,240
lean
/- Copyright (c) 2022 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen, Alex J. Best -/ import linear_algebra.pi import linear_algebra.quotient /-! # Submodule quotients and direct sums > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes t...
d84e07ec1d0ab3b24057a0dd79a3dc39639212dd
856e2e1615a12f95b551ed48fa5b03b245abba44
/src/data/polynomial/field_division.lean
e71ff2931297670bdddc8a4cb7c0ceb3ee7d65a3
[ "Apache-2.0" ]
permissive
pimsp/mathlib
8b77e1ccfab21703ba8fbe65988c7de7765aa0e5
913318ca9d6979686996e8d9b5ebf7e74aae1c63
refs/heads/master
1,669,812,465,182
1,597,133,610,000
1,597,133,610,000
281,890,685
1
0
null
1,595,491,577,000
1,595,491,576,000
null
UTF-8
Lean
false
false
11,885
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker -/ import data.polynomial.ring_division import data.polynomial.derivative import algebra.gcd_domain /-! # Theory of univari...
a4fb8ad5add6a8e2b261d2cc00ffbd4a8c1a70f7
e2fc96178628c7451e998a0db2b73877d0648be5
/src/classes/context_sensitive/basics/inclusion.lean
b6d9851ef4d8a742b504cc738c4138b5bb654d5d
[ "BSD-2-Clause" ]
permissive
madvorak/grammars
cd324ae19b28f7b8be9c3ad010ef7bf0fabe5df2
1447343a45fcb7821070f1e20b57288d437323a6
refs/heads/main
1,692,383,644,884
1,692,032,429,000
1,692,032,429,000
453,948,141
7
0
null
null
null
null
UTF-8
Lean
false
false
2,844
lean
import classes.context_sensitive.basics.toolbox import classes.unrestricted.basics.toolbox variables {T : Type} def grammar_of_csg (g : CS_grammar T) : grammar T := grammar.mk g.nt g.initial (list.map (λ r : csrule T g.nt, grule.mk r.context_left r.input_nonterminal r.context_right (r.context_left ++ r.ou...
f65acaa505f6728ad6340920cc26bba49c7067c3
9dc8cecdf3c4634764a18254e94d43da07142918
/src/category_theory/limits/shapes/diagonal.lean
c19b2378a91716dbead909e64e6b5294944ab81b
[ "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
14,910
lean
/- Copyright (c) 2022 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import category_theory.limits.shapes.pullbacks import category_theory.limits.shapes.kernel_pair import category_theory.limits.shapes.comm_sq /-! # The diagonal object of a...
8bfd062a273b736c65c60443cbc711a859ecb644
63abd62053d479eae5abf4951554e1064a4c45b4
/src/geometry/manifold/diffeomorph.lean
310c0930ce446a34d7f7215acef96ee11bf3f918
[ "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
4,049
lean
/- Copyright © 2020 Nicolò Cavalleri. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Nicolò Cavalleri. -/ import geometry.manifold.times_cont_mdiff_map /-! # Diffeomorphisms This file implements diffeomorphisms. ## Definitions * `times_diffeomorph I I' M M' n`: `n`...
b5d223105ad50e6c517351148eaa90ac33afe80f
4727251e0cd73359b15b664c3170e5d754078599
/src/topology/algebra/order/proj_Icc.lean
85437ec1d3ed1d3580a00acee68daff61e7bc7c9
[ "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,414
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov, Patrick Massot -/ import data.set.intervals.proj_Icc import topology.algebra.order.basic /-! # Projection onto a closed interval In this file we prove that the proj...
635930cefe87c06ec6e5e99a65b4eec06da86a91
bdb33f8b7ea65f7705fc342a178508e2722eb851
/category/basic.lean
ece136f17b7bf43dbe11324ae09abb2fc3c4a072
[ "Apache-2.0" ]
permissive
rwbarton/mathlib
939ae09bf8d6eb1331fc2f7e067d39567e10e33d
c13c5ea701bb1eec057e0a242d9f480a079105e9
refs/heads/master
1,584,015,335,862
1,524,142,167,000
1,524,142,167,000
130,614,171
0
0
Apache-2.0
1,548,902,667,000
1,524,437,371,000
Lean
UTF-8
Lean
false
false
849
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 Extends the theory on functors, applicatives and monads. -/ universes u v w x y variables {α β γ : Type u} section monad variables {m : Type u → Type v} [monad m] [is...
a10382714d18b9a11d4610c961177108b664b42e
853df553b1d6ca524e3f0a79aedd32dde5d27ec3
/src/data/int/sqrt.lean
016cbad42dd86ea754e27e292759f2a65f5a308f
[ "Apache-2.0" ]
permissive
DanielFabian/mathlib
efc3a50b5dde303c59eeb6353ef4c35a345d7112
f520d07eba0c852e96fe26da71d85bf6d40fcc2a
refs/heads/master
1,668,739,922,971
1,595,201,756,000
1,595,201,756,000
279,469,476
0
0
null
1,594,696,604,000
1,594,696,604,000
null
UTF-8
Lean
false
false
904
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import data.nat.sqrt import data.int.basic namespace int /-- `sqrt n` is the square root of an integer `n`. If `n` is not a perfect square, and is positive, it returns the ...
d477374fc1e202d279f9f8224bf21fe7ca81ebb8
f3849be5d845a1cb97680f0bbbe03b85518312f0
/tests/lean/run/ex.lean
3617ee53fc55289791d1871983c410345927f1ce
[ "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
76
lean
set_option pp.implicit true #check ∃x, x = (0:num) #check ∃x:num, x = 0
76becdf87885599eeb1b738ca8319755df1946b4
13d50f9487a2afddb5e1ae1bbe68f7870f70e79a
/list_attrs.lean
cfb7d0b25ddabbdccbdde6123478a6fceaeef1b1
[]
no_license
gebner/lean4-mathlib-import
09a09d9cc30738bcc253e919ab3485e13b8f992d
719c0558dfa9c4ec201aa40f4786d5f1c1e4bd1e
refs/heads/master
1,649,553,984,859
1,584,121,837,000
1,584,121,837,000
238,557,672
4
1
null
null
null
null
UTF-8
Lean
false
false
228
lean
import all /- Lean 3 script to dump attributes -/ open tactic #eval do let as := [`class, `instance, `simp], as.mmap' $ λ a, do ns ← attribute.get_instances a, ns.mmap' $ λ n, do trace $ to_string a ++ " " ++ to_string n
aaaabcdd88cb41cd25362d7311749102dfe683c3
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/analytic/radius_liminf.lean
429adbf102d1ac61e9656db4b62a8505788687d7
[ "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,510
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 analysis.analytic.basic import analysis.special_functions.pow /-! # Representation of `formal_multilinear_series.radius` as a `liminf` In this file we prov...
9bb741f6dd21414b79ed9b4a835f7f4287d8db69
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/data/punit_auto.lean
961bd2ef2484fcbe3e9498c7bf0ee4d8e50f0e6c
[]
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
716
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 -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.logic universes u_1 namespace Mathlib theorem punit_eq (a : PUnit) (b : PUnit) : a = b := punit.rec_o...
8bcf7478053d4c3832fd05b6f2883ce4dcff6cd2
ba4794a0deca1d2aaa68914cd285d77880907b5c
/src/solutions/world3_le.lean
cbf5a07e8b6a1f0b6362480d9c095bc6b6d17b90
[ "Apache-2.0" ]
permissive
ChrisHughes24/natural_number_game
c7c00aa1f6a95004286fd456ed13cf6e113159ce
9d09925424da9f6275e6cfe427c8bcf12bb0944f
refs/heads/master
1,600,715,773,528
1,573,910,462,000
1,573,910,462,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,931
lean
import mynat.le import solutions.world2_multiplication import tactic.interactive -- #check tactic.interactive.rintro meta def less_leaky.interactive.rintro := tactic.interactive.rintro namespace mynat theorem le_refl (a : mynat) : a ≤ a := begin use 0, rw add_zero, end -- ignore this; it's making the "refl" t...
3146ceb44f093d3357d59437c1d43772e7af26f0
3dd1b66af77106badae6edb1c4dea91a146ead30
/tests/lean/run/set.lean
057ab222b2d43b7a2aa117abbcec082a737ccdba
[ "Apache-2.0" ]
permissive
silky/lean
79c20c15c93feef47bb659a2cc139b26f3614642
df8b88dca2f8da1a422cb618cd476ef5be730546
refs/heads/master
1,610,737,587,697
1,406,574,534,000
1,406,574,534,000
22,362,176
1
0
null
null
null
null
UTF-8
Lean
false
false
132
lean
import standard bool using bool definition set {{T : Type}} := T → bool infix `∈`:50 := λx A, A x = '1 check 1 ∈ (λ x, '1)
754ee09b06e46107bd6909e297b99f7cf8e6bd7f
5883d9218e6f144e20eee6ca1dab8529fa1a97c0
/src/vrel/properties.lean
89aa46685a78c01b7a003249624d3c50e0ec1c7e
[]
no_license
spl/alpha-conversion-is-easy
0d035bc570e52a6345d4890e4d0c9e3f9b8126c1
ed937fe85d8495daffd9412a5524c77b9fcda094
refs/heads/master
1,607,649,280,020
1,517,380,240,000
1,517,380,240,000
52,174,747
4
0
null
1,456,052,226,000
1,456,001,163,000
Lean
UTF-8
Lean
false
false
6,410
lean
/- This file contains properties of `vrel` relations. -/ import .identity namespace acie ----------------------------------------------------------------- namespace vrel ----------------------------------------------------------------- variables {V : Type} [decidable_eq V] -- Type of variable names variables {a b ...
f392d83672c0aaa646d873808b8b02bb001bac46
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/elab4b.lean
5bfb80f4a5b1c43f168014641bcc7c3fa789bc53
[ "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
230
lean
definition foo.f {A : Type*} {B : Type*} (a : A) (b : B) : A := a definition boo.f (a : nat) (b : nat) (c : nat) := a + b + c definition bla.f (a b c d : bool) := a open boo foo bla check f 0 1 2 3 check f 0 1 check f tt ff
fd4c31ef063a6aac190a04e1dd55222e716b4e7d
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/set_theory/zfc/ordinal.lean
0a3080e266bb918ee43ebb95966e2128f9efb7ea
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
3,169
lean
/- Copyright (c) 2022 Violeta Hernández Palacios. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Violeta Hernández Palacios -/ import set_theory.zfc.basic /-! # Von Neumann ordinals > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corr...
f649e12b68db5fc047bdd30491f90800c849b777
ac29b4b23012b196d8e8e8fd0482054e994814fb
/Test.lean
bee2d97de04022ca5f79ad29517c3c828b30774d
[]
no_license
laughinggas/Ashvni
ebdcb0ac7486b9d11a0152952da2742246755a5a
934229f6fd246ce1cd71597ef9a579f4cb9ef0ef
refs/heads/master
1,672,397,364,924
1,602,089,148,000
1,602,089,148,000
226,743,788
0
0
null
null
null
null
UTF-8
Lean
false
false
1,829
lean
import ring_theory.ideals import ring_theory.principal_ideal_domain universe u class discrete_valuation_ring (R : Type u) extends principal_ideal_domain R := (prime_ideal' : ideal R) (primality : prime_ideal'.is_prime) (is_nonzero : prime_ideal' ≠ ⊥) (unique_nonzero_prime_ideal : ∀ P : ideal R, P.i...
2b517b71264dffe3fe490dc5dba17d232f39e384
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/calcInType.lean
2cafbb5a9a40d3faba2719ce3ac223dcad9126e9
[ "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
404
lean
inductive EQ {α : Type} (a : α) : α → Type where | refl : EQ a a def EQ.trans (h₁ : EQ a b) (h₂ : EQ b c) : EQ a c := by cases h₁; cases h₂; constructor instance : Trans (@EQ α) (@EQ α) (@EQ α) where trans := EQ.trans infix:50 " ≋ " => EQ example (h₁ : EQ a b) (h₂ : b = c) (h₃ : EQ c d) : EQ a d := by calc ...
dc111d62f90d43a120bd7cff854386787b659667
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/topology/separation.lean
715f98a6760215c3940ecd442f42fbbdf569fe4a
[ "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
39,163
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 Separation properties of topological spaces. -/ import topology.subset_properties import topology.connected open set filter open_locale topological_spa...
4c3f64aa40727568bdb30de5e90c77a66771e89d
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/int/log.lean
2ce1f2a995695ffbb059e0ddba34c10aa270ff46
[ "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
12,288
lean
/- Copyright (c) 2022 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import algebra.order.floor import data.nat.log /-! # Integer logarithms in a field with respect to a natural base > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes...
e6624a912a7aa551b37ba0f4dbd08e7f332ea620
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/run/qed_perf_bug.lean
3501614223fa4ce978ce7c99f8ab03150f981019
[ "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
142
lean
definition f (n : nat) : nat := if n = 100000 then 1 else 0 example (n : nat) : f 100000 = (if (100000 : nat) = 100000 then 1 else 0) := rfl
436236fee8dd07fbbb0e0b28aacfc71d69d1f141
5bf112cf7101c6c6303dc3fd0b3179c860e61e56
/lean/background/poly.lean
459e1229f6e9222770ac90de4ac652c587dde068
[ "Apache-2.0" ]
permissive
fredfeng/formal-encoding
7ab645f49a553dfad2af03fcb4289e40fc679759
024efcf58672ac6b817caa10dfe8cd9708b07f1b
refs/heads/master
1,597,236,551,123
1,568,832,149,000
1,568,832,149,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
160
lean
import .util .vec namespace IMOGrandChallenge axiom Poly (X : Type) (n : Nat) : Type axiom Poly.totalDegree {X : Type} (n : Nat) : Nat end IMOGrandChallenge
ae3d32529034f580771f2c42af1382e8729f2bcc
49bd2218ae088932d847f9030c8dbff1c5607bb7
/src/order/zorn.lean
abb91e1a478ad89ea3d527f7cd4f896336af72f7
[ "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
12,658
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 Zorn's lemmas. Ported from Isabelle/HOL (written by Jacques D. Fleuriot, Tobias Nipkow, and Christian Sternagel). -/ import data.set.lattice noncomputable theory univ...
cd5baf10b896a6cc3a2ae4b6fa06d72fa0564b1b
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/algebra/category/Module/monoidal.lean
2347bf8327fd8207057bd3e0bffb129f894c327f
[ "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
5,563
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, Scott Morrison -/ import category_theory.monoidal.category import algebra.category.Module.basic import linear_algebra.tensor_product /-! # The monoidal category structu...
e4c042fc39d5ab834264d00cc9658c3512f4f139
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/analysis/calculus/lhopital.lean
9beb64cbab42e9889ef9bebeea742c643c3f9dfc
[ "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
25,021
lean
/- Copyright (c) 2020 Anatole Dedecker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anatole Dedecker -/ import analysis.calculus.mean_value /-! # L'Hôpital's rule for 0/0 indeterminate forms In this file, we prove several forms of "L'Hopital's rule" for computing ...
22cfaf0609b0fd3874c2155aacadf6e48353db98
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/logic/basic.lean
7e87d7748c328030dadd8edc218d00794485ec96
[ "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
60,862
lean
/- Copyright (c) 2016 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.doc_commands import tactic.reserved_notation /-! # Basic logic properties This file is one of the earliest imports in mathlib. ## Im...
37375757cddf1df41d88f1f1099b782c240deba7
63abd62053d479eae5abf4951554e1064a4c45b4
/src/ring_theory/fractional_ideal.lean
39c9d28ae10a2af765356493846750084a4057de
[ "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
27,551
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import ring_theory.localization import ring_theory.principal_ideal_domain /-! # Fractional ideals This file defines fractional ideals of an integral domain and proves bas...
89b0029a83e1ef6eda510b88bf5f3c07130196e4
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/linear_algebra/tensor_power.lean
fe707662fff8cc6efb14d23bede5ac31b7e50849
[ "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
2,515
lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import linear_algebra.pi_tensor_product import logic.equiv.fin import algebra.graded_monoid /-! # Tensor power of a semimodule over a commutative semirings We define the...