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
a5f6f03187e63779f7080cc89d6d78432b19665b
8cb37a089cdb4af3af9d8bf1002b417e407a8e9e
/library/data/rbtree/insert.lean
8cbedb147c3c5ca6d4dce5819e126b26562d10a5
[ "Apache-2.0" ]
permissive
kbuzzard/lean
ae3c3db4bb462d750dbf7419b28bafb3ec983ef7
ed1788fd674bb8991acffc8fca585ec746711928
refs/heads/master
1,620,983,366,617
1,618,937,600,000
1,618,937,600,000
359,886,396
1
0
Apache-2.0
1,618,936,987,000
1,618,936,987,000
null
UTF-8
Lean
false
false
33,618
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 -/ import data.rbtree.find universes u v local attribute [simp] rbnode.lift namespace rbnode variables {α : Type u} open color @[simp] lemma balance1_eq₁ (...
4a2f3da6f3124e1f7de1fcdeed14ea3c0dbcea17
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/order/hom/monoid.lean
9d36f82d867ce3471aef08e592349f40ef1c6409
[ "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
21,650
lean
/- Copyright (c) 2022 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import data.pi.algebra import algebra.hom.group import algebra.order.group.instances import algebra.order.monoid.with_zero.defs import order.hom.basic /-! # Ordered mono...
15103a32334fd461046562f2d78252e1b7b95d4b
80162757f50b09d3cad5564907e4c9b00742e045
/lattice.lean
b878ed3f326a24850f7a67c71500521574ff5543
[]
no_license
EdAyers/edlib
cc30d0a54fed347a85b6df6045f68e6b48bc71a3
78b8c5d91f023f939c102837d748868e2f3ed27d
refs/heads/master
1,586,459,758,216
1,571,322,179,000
1,571,322,179,000
160,538,917
2
0
null
null
null
null
UTF-8
Lean
false
false
6,605
lean
import .set .order set_option old_structure_cmd true -- stops errors for diamonds. universes u v section variables {α : Type u} {ι : Type v} {a b c: α} /-- A function between preorders is monotone if `a ≤ b` implies `f a ≤ f b`. -/ def monotone [preorder α] [preorder ι] (f : α → ι) := ∀⦃a b⦄, a ≤ b → f a ≤ f ...
1355feeacb0bffcc13c228aa2c721d7ca230dacd
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/linear_algebra/quadratic_form/prod.lean
5b7d0039b76c5e514b6a1989c87bb42927dfc8d6
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
8,101
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.quadratic_form.isometry /-! # Quadratic form on product and pi types > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a...
81bb1f13e9e5339b610a589f5c8abda88555d254
48eee836fdb5c613d9a20741c17db44c8e12e61c
/src/algebra/theories/action.lean
ca0719f4940c6add7964b52744b0dc5b27236770
[ "Apache-2.0" ]
permissive
fgdorais/lean-universal
06430443a4abe51e303e602684c2977d1f5c0834
9259b0f7fb3aa83a9e0a7a3eaa44c262e42cc9b1
refs/heads/master
1,592,479,744,136
1,589,473,399,000
1,589,473,399,000
196,287,552
1
1
null
null
null
null
UTF-8
Lean
false
false
1,754
lean
-- Copyright © 2019 François G. Dorais. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. import .basic namespace algebra signature left_action (α : Type*) (β : Type*) := (act : α → β → β) class left_action {α : Type*} {β : Type*} (s : left_action_sig α β) : Prop := intro ...
6975ea8b675405e7cb15862104bc7eaaf0a34aa6
f4bff2062c030df03d65e8b69c88f79b63a359d8
/kb_solns/sets_level10.lean
1a2b7940f04cb9c317a443f981014932edf03144
[ "Apache-2.0" ]
permissive
adastra7470/real-number-game
776606961f52db0eb824555ed2f8e16f92216ea3
f9dcb7d9255a79b57e62038228a23346c2dc301b
refs/heads/master
1,669,221,575,893
1,594,669,800,000
1,594,669,800,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,129
lean
import data.real.basic /- # Chapter 1 : Sets ## Level 10 As a final test of your ability in working with sets, prove that the set of rational numbers is dense in the reals. This proof will, among other things, rely on several new axioms that appear in the left side bar. Note that you may need to change the type of...
b4ec47192e44747149dbc8613563d23ce16501c8
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/stage0/src/Lean/Meta/InferType.lean
14167a757ffe65851faea815358977bf5920e65f
[ "Apache-2.0" ]
permissive
williamdemeo/lean4
72161c58fe65c3ad955d6a3050bb7d37c04c0d54
6d00fcf1d6d873e195f9220c668ef9c58e9c4a35
refs/heads/master
1,678,305,356,877
1,614,708,995,000
1,614,708,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
17,230
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.LBool import Lean.Meta.Basic namespace Lean /- Auxiliary function for instantiating the loose bound variables in `e` with `args[start:sto...
e10e524a5e12939f2ccf5d96e21fd056b921fa41
4bcaca5dc83d49803f72b7b5920b75b6e7d9de2d
/stage0/src/Lean/Elab/Print.lean
070af7e0679e5367f4ec1e692be7357efc5c29f4
[ "Apache-2.0" ]
permissive
subfish-zhou/leanprover-zh_CN.github.io
30b9fba9bd790720bd95764e61ae796697d2f603
8b2985d4a3d458ceda9361ac454c28168d920d3f
refs/heads/master
1,689,709,967,820
1,632,503,056,000
1,632,503,056,000
409,962,097
1
0
null
null
null
null
UTF-8
Lean
false
false
5,721
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Util.FoldConsts import Lean.Elab.Command namespace Lean.Elab.Command private def throwUnknownId (id : Name) : CommandElabM Unit := throwErro...
66a7ed9a87168a42cf7d05c3182bc4f4c0248533
491068d2ad28831e7dade8d6dff871c3e49d9431
/tests/lean/run/eq25.lean
6ec2f1648c9d2a125705438f9787df0873e62ed1
[ "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
152
lean
inductive N := | O : N | S : N → N definition Nat := N open N definition add : Nat → Nat → Nat | add O b := b | add (S a) b := S (add a b)
9573608159f1e02e9025ce732d8f01e2818346c3
883eaea6bef0d3c38f46c45d3454e0af631a6e61
/src/inClassNotes/langs/imp.lean
36a94416d01a366a38a71b0512cbbf43f2841dbb
[]
no_license
hannahbrooke720/complogic-s21
bd3c4981cfeb8642654d83ce874a5c50a3077948
3f4098b174c54e1699a07222662ffec7e14223f2
refs/heads/master
1,681,504,336,289
1,620,140,677,000
1,620,140,677,000
335,838,993
0
0
null
1,620,140,678,000
1,612,413,391,000
Lean
UTF-8
Lean
false
false
5,043
lean
import .arith_expr import .bool_expr /- A little PL in which we have mutable state and an update (assignment) operation. -/ /- We don't have mutable state in a pure functional language -/ def x := 1 -- def x := 2 -- structure avar : Type := (idx : nat) def X := avar.mk 0 def Y := avar.mk 1 def Z := avar.mk 2 def ...
30943507544142f69ead85e5b997bdddf96e68b3
f083c4ed5d443659f3ed9b43b1ca5bb037ddeb58
/data/finsupp.lean
d2ad9e494f6f703bc36b2642eb76a6de430140fc
[ "Apache-2.0" ]
permissive
semorrison/mathlib
1be6f11086e0d24180fec4b9696d3ec58b439d10
20b4143976dad48e664c4847b75a85237dca0a89
refs/heads/master
1,583,799,212,170
1,535,634,130,000
1,535,730,505,000
129,076,205
0
0
Apache-2.0
1,551,697,998,000
1,523,442,265,000
Lean
UTF-8
Lean
false
false
28,843
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl Type of functions with finite support. Functions with finite support provide the basis for the following concrete instances: * ℕ →₀ α: Polynomials (where α is a ring...
1648866fb2cc40c93b3a2ab72eb45201eeedf015
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/data/multiset/basic.lean
8be28fdcbfbed825681ec2ee95b16fda567886b7
[ "Apache-2.0" ]
permissive
ramonfmir/mathlib
c5dc8b33155473fab97c38bd3aa6723dc289beaa
14c52e990c17f5a00c0cc9e09847af16fabbed25
refs/heads/master
1,661,979,343,526
1,660,830,384,000
1,660,830,384,000
182,072,989
0
0
null
1,555,585,876,000
1,555,585,876,000
null
UTF-8
Lean
false
false
94,879
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.bool.all_any import data.list.perm /-! # Multisets These are implemented as the quotient of a list by permutations. ## Notation We define the glob...
67bb2b8e96a4753b0d7a2b032c5eb3a51a3d6901
b70031c8e2c5337b91d7e70f1e0c5f528f7b0e77
/src/data/real/ennreal.lean
e55f2ca1a5ae20204a49a9efbe70100b4dbe09cb
[ "Apache-2.0" ]
permissive
molodiuc/mathlib
cae2ba3ef1601c1f42ca0b625c79b061b63fef5b
98ebe5a6739fbe254f9ee9d401882d4388f91035
refs/heads/master
1,674,237,127,059
1,606,353,533,000
1,606,353,533,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
54,697
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl, Yury Kudryashov -/ import data.real.nnreal import data.set.intervals /-! # Extended non-negative reals We define `ennreal := with_no ℝ≥0` to be the type of extended no...
17428e660c0304f7325adf09da0a4d5c19133631
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/hex_char.lean
bc2f732dae4a0418dbd89c3eed099a62c3442429
[ "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
39
lean
#eval '\x41' #eval '\x42' #eval '\x43'
9f5e0d2e527c115db985be7eb0dee25cf04778d6
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/group_theory/sylow.lean
853bd5f2b0dee5630a0e08dab9865f02a7b6c272
[ "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
11,386
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import group_theory.group_action group_theory.quotient_group import group_theory.order_of_element data.zmod.basic open equiv fintype finset mul_action function open equi...
6298463c826624a9d57bf39dbfbeb7d7d2d151b7
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/analysis/box_integral/partition/additive.lean
ff36bec2ed7405346131b9b84c7779dbf9ec3f20
[ "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
9,500
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 analysis.box_integral.partition.split import analysis.normed_space.operator_norm import data.set.intervals.proj_Icc /-! # Box additive functions We say tha...
9d43680ad1fe81ebdf03cfb788217c52193cd51f
28be2ab6091504b6ba250b367205fb94d50ab284
/src/game/world10/level14.lean
c26d53421104214b3ae2b5e67ee5cb8eebbdae5a
[ "Apache-2.0" ]
permissive
postmasters/natural_number_game
87304ac22e5e1c5ac2382d6e523d6914dd67a92d
38a7adcdfdb18c49c87b37831736c8f15300d821
refs/heads/master
1,649,856,819,031
1,586,444,676,000
1,586,444,676,000
255,006,061
0
0
Apache-2.0
1,586,664,599,000
1,586,664,598,000
null
UTF-8
Lean
false
false
777
lean
import game.world10.level13 -- hide namespace mynat -- hide /- # Inequality world. ## Level 14: `add_le_add_left` I know these are easy and we've done several already, but this is one of the axioms for an ordered commutative monoid! The nature of formalising is that we should formalise all "obvious" lemmas, and th...
00ed7eeb750678fc0659f305f4b30418626ecb7c
1b8f093752ba748c5ca0083afef2959aaa7dace5
/src/category_theory/universal/comparisons.lean
78668210d49d3a50c9f5941a3798dab3b2da0c6f
[]
no_license
khoek/lean-category-theory
7ec4cda9cc64a5a4ffeb84712ac7d020dbbba386
63dcb598e9270a3e8b56d1769eb4f825a177cd95
refs/heads/master
1,585,251,725,759
1,539,344,445,000
1,539,344,445,000
145,281,070
0
0
null
1,534,662,376,000
1,534,662,376,000
null
UTF-8
Lean
false
false
5,992
lean
import category_theory.limits open category_theory namespace category_theory.limits universes u v variables {C : Type u} [𝒞 : category.{u v} C] {Y Y₁ Y₂ Z : C} include 𝒞 @[reducible] def binary_product_comparison (t : span Y Z) (X' : C) : (X' ⟶ t.X) → (X' ⟶ Y) × (X' ⟶ Z) := λ φ, (φ ≫ t.π₁, φ ≫ t.π₂) def is_bina...
e6aed7dd9e6128b5eea9d20150d151be57650541
94e33a31faa76775069b071adea97e86e218a8ee
/src/order/category/omega_complete_partial_order.lean
dffcf5b9076fa70fd525c8380420c143f82c1f28
[ "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
4,195
lean
/- Copyright (c) 2020 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import order.omega_complete_partial_order import order.category.Preorder import category_theory.limits.shapes.products import category_theory.limits.shapes.equalizers impo...
1da7d40e1604eb3fcee05b1f757ba925e04730e2
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/algebra/category/Group/basic.lean
f0412f448328544396dcb951bdda260008100d7f
[ "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,500
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import algebra.category.Mon.basic import category_theory.endomorphism /-! # Category instances for group, add_group, comm_group, and add_comm_group. We introduce th...
84cfbc85a36c13d35dac50c0c7e3f7c26d4ad409
c3f2fcd060adfa2ca29f924839d2d925e8f2c685
/tests/lean/run/class_bug1.lean
d085d603e279c75f450a1e26e13b34e7c6b9153d
[ "Apache-2.0" ]
permissive
respu/lean
6582d19a2f2838a28ecd2b3c6f81c32d07b5341d
8c76419c60b63d0d9f7bc04ebb0b99812d0ec654
refs/heads/master
1,610,882,451,231
1,427,747,084,000
1,427,747,429,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
980
lean
import logic inductive category (ob : Type) (mor : ob → ob → Type) : Type := mk : Π (comp : Π⦃A B C : ob⦄, mor B C → mor A B → mor A C) (id : Π {A : ob}, mor A A), (Π {A B C D : ob} {f : mor A B} {g : mor B C} {h : mor C D}, comp h (comp g f) = comp (comp h g) f) → (Π {A B...
4aa7915d73f50be11ca84a005d10e00e31a36853
6b9f7292f079a781a1e11aec2932248bf70a9ac0
/src/problems/day1.lean
b40d9baf298576021d1f9e03d9935b987bd02a9e
[]
no_license
cipher1024/advent-of-lean
f3abe5069f638b60ae2f5dd901e5688d21c9486c
f16bc92afe6e836bbde1a1172c571c7680dddc73
refs/heads/master
1,587,691,910,350
1,550,637,443,000
1,550,637,443,000
171,601,681
1
0
null
null
null
null
UTF-8
Lean
false
false
980
lean
import data.buffer.parser import system.io import category.basic namespace day1 def fn := "input/day1.txt" open parser def sign : parser (ℤ → ℤ) := id <$ ch '+' <|> has_neg.neg <$ ch '-' def digit : parser ℤ := (λ c, char.to_nat c - '0'.to_nat) <$> sat (∈ "0123456789".to_list) def parse_nat : parser ℤ := do ds ← ...
84a89729d0b0dc47568aa96e363837970126021d
4727251e0cd73359b15b664c3170e5d754078599
/src/data/finsupp/interval.lean
e82f01c069ac3a04e85fb88e0a36bbb5cc70ef2b
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
3,049
lean
/- Copyright (c) 2022 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import data.finset.finsupp import data.finset.locally_finite import data.finsupp.order /-! # Finite intervals of finitely supported functions This file provides the `lo...
010174a2ce13bc4b2e8ff8cd5e048e4f1015f935
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/analysis/convex/caratheodory.lean
a8bb59d48e0cbde7a2e30c0d9643529780a9a055
[ "Apache-2.0" ]
permissive
hikari0108/mathlib
b7ea2b7350497ab1a0b87a09d093ecc025a50dfa
a9e7d333b0cfd45f13a20f7b96b7d52e19fa2901
refs/heads/master
1,690,483,608,260
1,631,541,580,000
1,631,541,580,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,369
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Scott Morrison -/ import analysis.convex.combination import linear_algebra.affine_space.independent /-! # Carathéodory's convexity theorem Convex hull can be regarded...
76938c8d2de1b3971913d56a996e56ea098ec7ca
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/measure_theory/integral/interval_integral.lean
1c6c22436579314ac35e65e7146b82124d8c1c9b
[ "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
105,700
lean
/- Copyright (c) 2020 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov, Patrick Massot -/ import measure_theory.integral.set_integral import measure_theory.measure.lebesgue import analysis.calculus.fderiv_measurable import analysis....
59ad9ac53d16055755d44fea9fa6f7d84e2ab943
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/group_theory/perm/sign.lean
e4bf4b0d7c664e7923004d371159217d9adc71e0
[ "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
31,249
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import data.fintype.basic import data.finset.sort import data.nat.parity import group_theory.perm.support import group_theory.order_of_element import tactic.norm_swap imp...
cea8ef4bd80783cbf7c97c2a8f725790be1a1f10
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/data/list/as_type.lean
9fc80f3b1bd9192d715578ed6f686cfdf8f9df5b
[ "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
454
lean
/- Copyright (c) 2015 Leonardo de Moura. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import data.list.basic namespace list structure as_type {A : Type} (l : list A) : Type := (value : A) (is_member : value ∈ l) namespace as_type notation `⟪`:m...
8a586c850d5ef6dbda3ca184b572f05e285227f5
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/algebra/field_power.lean
3ccad7f3cbef4ce45f4365e0103648fa8cd82cc7
[ "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,206
lean
/- Copyright (c) 2018 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis Integer power operation on fields. -/ import algebra.group_power algebra.ordered_field algebra.group_with_zero_power import tactic.wlog tactic.linarith universe u ...
be0129ba6cb2bcaca252b6709def671c794df174
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/run/mvar_backtrack.lean
1aff48110eca987540c18fedd6a5b49b5d956666
[ "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
366
lean
namespace foo open nat class lt (n : inout ℕ) (m : ℕ) instance succ_lt_succ_of_lt (n m) [lt n m] : lt (succ n) (succ m) := by constructor instance zero_lt_succ (m) : lt 0 (succ m) := by constructor class foo (n : inout ℕ) (m : ℕ) instance (n m) [lt n 10] [lt m n] : foo n m := by constructor def bar {n} (m) [foo n m]...
bed060add2f38ec665e5dbe7f6cdd302371d7a85
618003631150032a5676f229d13a079ac875ff77
/src/data/semiquot.lean
0b0ee53950914dd6a8b48dfcc00827aef3bd3302
[ "Apache-2.0" ]
permissive
awainverse/mathlib
939b68c8486df66cfda64d327ad3d9165248c777
ea76bd8f3ca0a8bf0a166a06a475b10663dec44a
refs/heads/master
1,659,592,962,036
1,590,987,592,000
1,590,987,592,000
268,436,019
1
0
Apache-2.0
1,590,990,500,000
1,590,990,500,000
null
UTF-8
Lean
false
false
7,658
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro A data type for semiquotients, which are classically equivalent to nonempty sets, but are useful for programming; the idea is that a semiquotient set `S` represents som...
65358733e32c7e39095cdd5946c4beafebf7b9dd
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/run/parent_struct_inst.lean
94e9e4b080ea2663bcbe56b4d1986a2b0632d2be
[ "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
165
lean
open nat class A := (n : ℕ) definition f [A] := A.n structure B extends A := (Hf : f = 0) example : B := ⟨⟨0⟩, rfl⟩ example : B := (| (| 0 |), rfl |)
19bd6a9687dc653d3fb9d774d7462f8c6a813233
4d3f29a7b2eff44af8fd0d3176232e039acb9ee3
/Mathlib/Mathlib.lean
ef742a4545ea1cebe3dda08ca3f89ddddb237b3d
[]
no_license
marijnheule/lamr
5fc5d69d326ff92e321242cfd7f72e78d7f99d7e
28cc4114c7361059bb54f407fa312bf38b48728b
refs/heads/main
1,689,338,013,620
1,630,359,632,000
1,630,359,632,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,239
lean
import Mathlib.Algebra.Group.Basic import Mathlib.Algebra.Group.Defs import Mathlib.Algebra.GroupWithZero.Defs import Mathlib.Algebra.Ring.Basic import Mathlib.Data.Array.Basic import Mathlib.Data.ByteArray import Mathlib.Data.Char import Mathlib.Data.Equiv.Basic import Mathlib.Data.Equiv.Functor import Mathlib.Data.In...
b23183d632e67ab7a14a145d04e7e0303090c2e6
4727251e0cd73359b15b664c3170e5d754078599
/src/topology/connected.lean
ef642ef23ac0bdf4c3549c14f2faeccf25d24dda
[ "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
63,172
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, Yury Kudryashov -/ import data.int.succ_pred import data.nat.succ_pred import order.partial_sups import order.succ_pred.relation import topology.subset_...
57621ea2622a20e79325b20fd51e89d246248ef2
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/src/Lean/Parser/Do.lean
f0a2e630f031b8bffcda3939a62bc8608aa1ecc8
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
tobiasgrosser/lean4
ce0fd9cca0feba1100656679bf41f0bffdbabb71
ebdbdc10436a4d9d6b66acf78aae7a23f5bd073f
refs/heads/master
1,673,103,412,948
1,664,930,501,000
1,664,930,501,000
186,870,185
0
0
Apache-2.0
1,665,129,237,000
1,557,939,901,000
Lean
UTF-8
Lean
false
false
8,786
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.Parser.Term namespace Lean namespace Parser builtin_initialize registerBuiltinParserAttribute `builtinDoElemParser ``Category.doElem builtin_i...
b20aca75692a04e9fe5dcc643512c1ce1301e033
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/tests/lean/j3.lean
3cb5d9b7bda2dd0f7f13a9a608999745a57b708e
[ "Apache-2.0" ]
permissive
codyroux/lean0.1
1ce92751d664aacff0529e139083304a7bbc8a71
0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef
refs/heads/master
1,610,830,535,062
1,402,150,480,000
1,402,150,480,000
19,588,851
2
0
null
null
null
null
UTF-8
Lean
false
false
1,415
lean
import macros import tactic using Nat definition dvd (a b : Nat) : Bool := ∃ c, a * c = b infix 50 | : dvd theorem dvd_elim {a b : Nat} (H : a | b) : ∃ c, a * c = b := H theorem dvd_intro {a b : Nat} (c : Nat) (H : a * c = b) : a | b := exists_intro c H set_opaque dvd true theorem dvd_trans {a b c} (H1 : a | b) (H2...
512fc62ad566641d74acb08dd058ff33a36174ff
7cef822f3b952965621309e88eadf618da0c8ae9
/src/linear_algebra/finite_dimensional.lean
b09bb14a61432bc95eb148c8e982c2313d696de0
[ "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
17,130
lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import ring_theory.noetherian linear_algebra.dimension import ring_theory.principal_ideal_domain /-! # Finite dimensional vector spaces Definition and basic properties...
608c60cde18229988984c7108cf299e176ecfeca
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/category_theory/adjunction/limits.lean
1b009900b89d81ebeab2b49b3dff89e79f2770af
[ "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
8,656
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.creates open opposite namespace category_theory.adjunction open category_theory open...
772eb074469c2ad174ed312e262b8e3862ff733d
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/star/pi.lean
e86ed581ead5576aa65c11349389defacf441631
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
1,646
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 algebra.star.basic import algebra.ring.pi import algebra.module.pi /-! # `star` on pi types We put a `has_star` structure on pi types that operates elementwise, su...
a336844ab532f868e1dfdc3ae26142913e90aea1
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebraic_topology/fundamental_groupoid/simply_connected.lean
e04bbe10c63b603d3516e6fe59d0a0216f09ea86
[ "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
3,797
lean
/- Copyright (c) 2022 Praneeth Kolichala. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Praneeth Kolichala -/ import algebraic_topology.fundamental_groupoid.induced_maps import topology.homotopy.contractible import category_theory.punit import algebraic_topology.funda...
9064c3fb97968c157a02c29e63daaa9e129355ca
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/run/elab_meta1.lean
74eab02d9712b9be0cdf176ffa4a2b2e54c162f0
[ "Apache-2.0" ]
permissive
bre7k30/lean
de893411bcfa7b3c5572e61b9e1c52951b310aa4
5a924699d076dab1bd5af23a8f910b433e598d7a
refs/heads/master
1,610,900,145,817
1,488,006,845,000
1,488,006,845,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
230
lean
meta definition f : nat → nat | n := if n / 2 = 0 then n + 1 else f (n / 2) + 1 meta definition g : nat × nat → nat | (0, b) := b | (a+1, b+1) := g (a/2 - 1, a + b) | (a+1, 0) := 2*a vm_eval f 200 vm_eval g (10, 20)
f6af8eb878c21738fda601b0698b1cfb4a2257ec
510e96af568b060ed5858226ad954c258549f143
/algebra/lattice/filter.lean
ccae2306fda6f6703191c392fbdf3ea8d03b4081
[]
no_license
Shamrock-Frost/library_dev
cb6d1739237d81e17720118f72ba0a6db8a5906b
0245c71e4931d3aceeacf0aea776454f6ee03c9c
refs/heads/master
1,609,481,034,595
1,500,165,215,000
1,500,165,347,000
97,350,162
0
0
null
1,500,164,969,000
1,500,164,969,000
null
UTF-8
Lean
false
false
66,108
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 Theory of filters on sets. -/ import .complete_lattice ...data.set .zorn open lattice set universes u v w x section applicative variables {f : Type u → Type v} [appli...
bccc884bc4db10b2c09646a112f21d7177c30db7
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/calculus/inverse.lean
0d145396471edab45005490a410249a9d6c841d6
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
37,367
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov, Heather Macbeth, Sébastien Gouëzel -/ import analysis.calculus.cont_diff import tactic.ring_exp import analysis.normed_space.banach import topology.local_homeomorph ...
06a0f1a3b08918c0db1cd43b39509bd30f30c996
b70447c014d9e71cf619ebc9f539b262c19c2e0b
/hott/types/fiber.hlean
37f89ecbad3dd79d3f24a1a42ed9fe5a33c1ec6b
[ "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
10,767
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Mike Shulman Ported from Coq HoTT Theorems about fibers -/ import .sigma .eq .pi cubical.squareover .pointed .eq open equiv sigma sigma.ops eq pi pointed structu...
f191ee11088607aa14414dd498c6d14f4c85f183
d642a6b1261b2cbe691e53561ac777b924751b63
/src/topology/algebra/uniform_group.lean
e38b175b567921a37788be753425ee8186db965d
[ "Apache-2.0" ]
permissive
cipher1024/mathlib
fee56b9954e969721715e45fea8bcb95f9dc03fe
d077887141000fefa5a264e30fa57520e9f03522
refs/heads/master
1,651,806,490,504
1,573,508,694,000
1,573,508,694,000
107,216,176
0
0
Apache-2.0
1,647,363,136,000
1,508,213,014,000
Lean
UTF-8
Lean
false
false
19,797
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Johannes Hölzl Uniform structure on topological groups: * `topological_add_group.to_uniform_space` and `topological_add_group_is_uniform` can be used to construct a...
ac21f7e5f6c94c9e536e7b065cefa7ef50276be9
a047a4718edfa935d17231e9e6ecec8c7b701e05
/src/meta/rb_map.lean
3cafe71361dc664731be43ae6617b33e32c5f150
[ "Apache-2.0" ]
permissive
utensil-contrib/mathlib
bae0c9fafe5e2bdb516efc89d6f8c1502ecc9767
b91909e77e219098a2f8cc031f89d595fe274bd2
refs/heads/master
1,668,048,976,965
1,592,442,701,000
1,592,442,701,000
273,197,855
0
0
null
1,592,472,812,000
1,592,472,811,000
null
UTF-8
Lean
false
false
6,292
lean
/- Copyright (c) 2018 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Robert Y. Lewis -/ import data.option.defs /-! # rb_map This file defines additional operations on native rb_maps and rb_sets. These structures are defined in core in `init.meta.rb_m...
4620b9bd658af80549f45086b0e72998e6389a21
453dcd7c0d1ef170b0843a81d7d8caedc9741dce
/data/nat/prime.lean
b8b526bd0c8b4187c968ab54e6c51db1405b2f98
[ "Apache-2.0" ]
permissive
amswerdlow/mathlib
9af77a1f08486d8fa059448ae2d97795bd12ec0c
27f96e30b9c9bf518341705c99d641c38638dfd0
refs/heads/master
1,585,200,953,598
1,534,275,532,000
1,534,275,532,000
144,564,700
0
0
null
1,534,156,197,000
1,534,156,197,000
null
UTF-8
Lean
false
false
15,089
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad, Mario Carneiro Prime numbers. -/ import data.nat.sqrt data.nat.gcd data.list.basic data.list.perm open bool subtype namespace nat open decida...
368760fe8cc2595203800cf9899e9cf25f6ebb4d
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/module/basic.lean
4aa56282af5f35ddbfc587bd37463f5326a4252d
[ "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
25,781
lean
/- Copyright (c) 2015 Nathaniel Thomas. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nathaniel Thomas, Jeremy Avigad, Johannes Hölzl, Mario Carneiro -/ import algebra.smul_with_zero import group_theory.group_action.group import tactic.abel /-! # Modules over a ring...
51dce3b91ac8b05b3456f6493290f41289fde3b3
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/normed/field/basic.lean
ea3f874e13211330c292b80aaf5c5fc2f5b79650
[ "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
44,036
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Johannes Hölzl -/ import algebra.algebra.subalgebra.basic import analysis.normed.group.infinite_sum import topology.algebra.module.basic import topology.instances.ennre...
2fb6c0b9e25e7a94052df985ea03ea7ba41bda84
bb31430994044506fa42fd667e2d556327e18dfe
/src/analysis/calculus/parametric_interval_integral.lean
f6e82e4cef6736eaa489464ba81365828e339f04
[ "Apache-2.0" ]
permissive
sgouezel/mathlib
0cb4e5335a2ba189fa7af96d83a377f83270e503
00638177efd1b2534fc5269363ebf42a7871df9a
refs/heads/master
1,674,527,483,042
1,673,665,568,000
1,673,665,568,000
119,598,202
0
0
null
1,517,348,647,000
1,517,348,646,000
null
UTF-8
Lean
false
false
6,494
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 analysis.calculus.parametric_integral import measure_theory.integral.interval_integral /-! # Derivatives of interval integrals depending on parameters In t...
47cdfe8c6711422a2eae39b48b190ea3944e500a
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/attrCmd.lean
dbf13411dd402d5082341c1d52b0a1348be08543
[ "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
132
lean
def M := StateM Nat def f1 : M Nat := pure 0 -- failed to synthesize `Pure M` attribute [reducible] M def f2 : M Nat := pure 0
88156068deebe5f196c98f01353579adc237564a
c777c32c8e484e195053731103c5e52af26a25d1
/src/linear_algebra/tensor_algebra/basic.lean
98229da93f80286766a471a8132e83fe345f7645
[ "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,849
lean
/- Copyright (c) 2020 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Topaz -/ import algebra.free_algebra import algebra.ring_quot import algebra.triv_sq_zero_ext import algebra.algebra.operations import linear_algebra.multilinear.basic /-! # Tensor A...
594a41978834da9b25bf0c5d2f603c53c18808d8
649957717d58c43b5d8d200da34bf374293fe739
/src/topology/algebra/group_completion.lean
c773ac5b45cc471a4270b77d7c7530599cdf78b5
[ "Apache-2.0" ]
permissive
Vtec234/mathlib
b50c7b21edea438df7497e5ed6a45f61527f0370
fb1848bbbfce46152f58e219dc0712f3289d2b20
refs/heads/master
1,592,463,095,113
1,562,737,749,000
1,562,737,749,000
196,202,858
0
0
Apache-2.0
1,562,762,338,000
1,562,762,337,000
null
UTF-8
Lean
false
false
5,497
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Johannes Hölzl Completion of topological groups: -/ import topology.uniform_space.completion topology.algebra.uniform_group noncomputable theory section group open un...
e563a1a10c181fc182f038a68b262065d4f8aec3
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/topology/paracompact.lean
5d4f89a52e1027ce59175cdfdeec1a8c39186a3d
[ "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
15,279
lean
/- Copyright (c) 2021 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Yury Kudryashov -/ import topology.subset_properties import topology.separation import data.option.basic /-! # Paracompact topological spaces A topological space `X` is...
36ca3f94f708b0c3c23dc3f050ca73c87c940c56
b7f22e51856f4989b970961f794f1c435f9b8f78
/hott/types/bool.hlean
7b3453d23e84e876a08b8b3ee2c00d69a82bb155
[ "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
5,145
hlean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura, Floris van Doorn Partially ported from the standard library -/ open eq eq.ops decidable namespace bool local attribute bor [reducible] local attribute b...
77110de1355feaa0835a1f893ee43dea0e846c7a
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/model_theory/satisfiability.lean
c528b7d6b91599da67584e4f2f93156b23ed5199
[ "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
26,741
lean
/- Copyright (c) 2021 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import model_theory.ultraproducts import model_theory.bundled import model_theory.skolem /-! # First-Order Satisfiability This file deals with the satisfiability of ...
9ddb2bc609fc4af71a5d5e1d1f7c6cd9fdd19fb5
6b2a480f27775cba4f3ae191b1c1387a29de586e
/group_rep1/kernel.lean
057f4c211052538a82a55fcceec91780ae041842
[]
no_license
Or7ando/group_representation
a681de2e19d1930a1e1be573d6735a2f0b8356cb
9b576984f17764ebf26c8caa2a542d248f1b50d2
refs/heads/master
1,662,413,107,324
1,590,302,389,000
1,590,302,389,000
258,130,829
0
1
null
null
null
null
UTF-8
Lean
false
false
2,284
lean
import .group_representation import .morphism import .sub_module universe variables u v w w' w'' w''' variables {G : Type u} [group G] {R : Type v}[ring R] variables {M1 : Type w} [add_comm_group M1] [module R M1] {M2 : Type w'} [add_comm_group M2] [module R M2] {ρ1 : group_representation G R M1...
c8e70bef1f8ed0c17af8b1a4eebc3d3312e96bf8
c777c32c8e484e195053731103c5e52af26a25d1
/src/algebraic_geometry/Gamma_Spec_adjunction.lean
ebe6c4c29ea3fb3f05242b9dbd6e6b2d641fcc9c
[ "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
16,140
lean
/- Copyright (c) 2021 Junyan Xu. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Junyan Xu -/ import algebraic_geometry.Scheme import category_theory.adjunction.limits import category_theory.adjunction.reflective /-! # Adjunction between `Γ` and `Spec` We define the a...
aec9b58877670e47fb15392cfac6abdb6920ceb1
d7189ea2ef694124821b033e533f18905b5e87ef
/galois/crypto/merkle/merkle_construction.lean
32b205060ea9f31c8aa0f605ecd6aa17cd508212
[ "Apache-2.0" ]
permissive
digama0/lean-protocol-support
eaa7e6f8b8e0d5bbfff1f7f52bfb79a3b11b0f59
cabfa3abedbdd6fdca6e2da6fbbf91a13ed48dda
refs/heads/master
1,625,421,450,627
1,506,035,462,000
1,506,035,462,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,241
lean
import galois.data.bounded_list import galois.list.take_drop_lemmas universes u v namespace ksi namespace merkle structure combine_result (Link Data : Type) := (root : Data) (left : Link) (right : Link) /-- Operations needed to build a Merkle tree.-/ structure merkle_ops (Leaf Link Data : Type) := (empty_root : Dat...
dab2fdea08c3a08be77ad412919dfec91b5451e7
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/compiler/t2.lean
df84a5cb3418ee1c456bc4b75c40dff9407f0c5f
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
2,966
lean
/- Benchmark for new code generator -/ inductive Expr | Val : Int → Expr | Var : String → Expr | Add : Expr → Expr → Expr | Mul : Expr → Expr → Expr | Pow : Expr → Expr → Expr | Ln : Expr → Expr namespace Expr partial def pown : Int → Int → Int | a, 0 => 1 | a, 1 => a | a, n => let b := pown a (n / 2); b * b * (...
d37f368689c5a5543ee66ee48d1b7805ea8eecf3
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/typeMismatch.lean
a8e9bdd5393dcabf6bf70225ad0f28cf5ec6111d
[ "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
185
lean
import Lean -- Test type mismatch error messages for "liftable" methods def test (x : Nat) : IO Nat := IO.println "" open Lean def test (x : Expr) : MetaM Unit := Meta.isDefEq x x
329237efe9e6785d335c49215dab97499fbfa035
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/data/set/finite.lean
b4abd24f1a1a0130e05c3dbd17beaed61f364111
[ "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
35,263
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 data.finset.sort /-! # Finite sets This file defines predicates `finite : set α → Prop` and `infinite : set α → Prop` and proves some basic f...
ffb8583a31097a5881f11a470212670898b61f08
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/locally_convex/balanced_core_hull.lean
65e6cf2b31a427aef0903ec0e86d08f00981cb28
[ "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
9,647
lean
/- Copyright (c) 2022 Moritz Doll. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Moritz Doll -/ import analysis.locally_convex.basic import order.closure /-! # Balanced Core and Balanced Hull ## Main definitions * `balanced_core`: The largest balanced subset of a s...
c8ac4ccf317136d415359e31c465a5f3d54a39b6
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/data/multiset/functor.lean
f0b5990c445791e8bf8230ed54f25ecc68a1549c
[ "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
4,259
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Johannes Hölzl, Simon Hudon, Kenny Lau -/ import data.multiset.basic import control.traversable.lemmas import control.traversable.instances /-! # Functoriality of `multis...
300605b5407b2041af327f791222ab9fc0ab75e1
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/run/partial_explicit1.lean
81f676f9065dcece18c8efb63114c48c3bbb8416
[ "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
130
lean
lemma eq_rect (A : Type) (x : A) (P : A → Type) (f : P x) (y : A) (e : x = y) : P y := @eq.rec_on _ _ (λ (y : A), P y) _ e f
a2ebe822b09c9192a19f9698733b2de621036b22
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/analysis/convex/basic.lean
825aa0709af1ee6b4682c21f312b325e397e9727
[]
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
50,401
lean
/- Copyright (c) 2019 Alexander Bentkamp. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp, Yury Kudriashov -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.set.intervals.ord_connected import Mathlib.data.set.intervals...
9557309cf1ff494a04b178fde4f317d8f768efea
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebraic_geometry/Spec.lean
fcc2c42962b83b541baa5848ac9cf01cff64a0c8
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
1,407
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebraic_geometry.locally_ringed_space import Mathlib.algebraic_geometry.structure_sheaf i...
5d52fc2bb6f919fd83c234f26b96478ad1b7f671
09b3e1beaeff2641ac75019c9f735d79d508071d
/Mathlib.lean
9188d07654fdcf9352c4a280ae8b06fcf4872c97
[ "Apache-2.0" ]
permissive
abentkamp/mathlib4
b819079cc46426b3c5c77413504b07541afacc19
f8294a67548f8f3d1f5913677b070a2ef5bcf120
refs/heads/master
1,685,309,252,764
1,623,232,534,000
1,623,232,534,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
813
lean
import Mathlib.Algebra.Group.Basic import Mathlib.Algebra.Group.Defs import Mathlib.Algebra.GroupWithZero.Defs import Mathlib.Algebra.Ring.Basic import Mathlib.Data.Array.Basic import Mathlib.Data.ByteArray import Mathlib.Data.Char import Mathlib.Data.Equiv.Basic import Mathlib.Data.Equiv.Functor import Mathlib.Data.Li...
21b21be3fd2ef6e9720cefd04fff69d2b4326c19
cf39355caa609c0f33405126beee2739aa3cb77e
/library/init/meta/local_context.lean
80cca54badd8e84a317e4c156e970013e4bf638e
[ "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
2,096
lean
prelude import init.meta.name init.meta.expr init.data.option.basic meta structure local_decl := (unique_name : name) (pp_name : name) (type : expr) (value : option expr) (bi : binder_info) (idx : nat) meta def local_decl.to_expr : local_decl → expr | ⟨un, pn, y, _, bi, _⟩ := expr.local_const un pn bi y /-- A local ...
fe181b94823b9e4c1f641fce1d4d531041b6d59f
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Elab/Binders.lean
54d0823280f5b13ac81f082bcd837b8838df3a4b
[ "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
32,503
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.Parser.Term import Lean.Elab.Quotation.Precheck import Lean.Elab.Term import Lean.Elab.BindersUtil import Lean.Elab.AuxDiscr namespace Lean.Ela...
0c279c1c3a51c7d2efca55e66bad48653c01a3be
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/dynamics/flow.lean
3235f5a1b40f2eeacdce2a5eda9e0cb6974c89e8
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
6,146
lean
/- Copyright (c) 2020 Jean Lo. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jean Lo -/ import topology.algebra.group.basic import logic.function.iterate /-! # Flows and invariant sets This file defines a flow on a topological space `α` by a topological monoid `τ` ...
a9b941ea7cec99b075915a0d88037117f4720083
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/library/data/nat/gcd.lean
422ec7f2dbe2f8c71d94822100732bc2d0f283b9
[ "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
15,582
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 Definitions and properties of gcd, lcm, and coprime. -/ import .div open eq.ops well_founded decidable prod open algebra namespace nat /- gcd -/ pri...
b6ce331b7544319ac9106f9f9ce7ea99b182ce41
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/order/filter/at_top_bot_auto.lean
a5c5944386f0c0d6829d59f58464a6c7f079ddf2
[]
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
57,635
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, Jeremy Avigad, Yury Kudryashov, Patrick Massot -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.order.filter.bases import Mathlib.data.fins...
4dd31fd0861624d541fba60e8ed2f9fedd7bb273
ff5230333a701471f46c57e8c115a073ebaaa448
/library/init/data/ordering/default.lean
729647f40cba42a68b0b61d13bed464ccb50ea96
[ "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
194
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 -/ prelude import .basic .lemmas
9b5154f263e2ecf81042bd841b8c3beee493d4c3
c3de33d4701e6113627153fe1103b255e752ed7d
/data/list/sort.lean
e3c3aed2f5cbd86b57590f8f52af3422c5a6b68e
[]
no_license
jroesch/library_dev
77d2b246ff47ab05d55cb9706a37d3de97038388
4faa0a45c6aa7eee6e661113c2072b8840bff79b
refs/heads/master
1,611,281,606,352
1,495,661,644,000
1,495,661,644,000
92,340,430
0
0
null
1,495,663,344,000
1,495,663,344,000
null
UTF-8
Lean
false
false
15,877
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad Insertion sort and merge sort. -/ import .perm -- TODO(Jeremy): move this namespace nat theorem add_pos_left {m : ℕ} (h : m > 0) (n : ℕ) : m + n > 0 := calc m + n > 0...
d0cf8f1d3145eecc35e0d126ad073fe9d7ff2cba
690889011852559ee5ac4dfea77092de8c832e7e
/src/algebra/floor.lean
478f9c7bab1e7103d55f73a9ccd4cf3dedd5afd3
[ "Apache-2.0" ]
permissive
williamdemeo/mathlib
f6df180148f8acc91de9ba5e558976ab40a872c7
1fa03c29f9f273203bbffb79d10d31f696b3d317
refs/heads/master
1,584,785,260,929
1,572,195,914,000
1,572,195,913,000
138,435,193
0
0
Apache-2.0
1,529,789,739,000
1,529,789,739,000
null
UTF-8
Lean
false
false
9,680
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Kevin Kappelmann -/ import data.int.basic import tactic.linarith tactic.abel /-! # Floor and Ceil ## Summary We define `floor`, `ceil`, and `nat_ceil` functions on li...
b1d5ddff4f8816079809da582726e2c2da7ee881
c777c32c8e484e195053731103c5e52af26a25d1
/src/order/sup_indep.lean
a91dab0d8ad134996960c4b7a3284dd29a1a9112
[ "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
14,481
lean
/- Copyright (c) 2021 Aaron Anderson, Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson, Kevin Buzzard, Yaël Dillies, Eric Wieser -/ import data.finset.pairwise import data.finset.powerset import data.fintype.basic /-! # Supremum independence...
bf7d00b6a22983689cf28165e56176fc3457b713
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/locally_constant/algebra.lean
158d2fc65bc0d6566b60f3c76aaa7c85c7190bc5
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
9,488
lean
/- Copyright (c) 2021 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import algebra.algebra.basic import topology.locally_constant.basic /-! # Algebraic structure on locally constant functions This file puts algebraic structure (`add...
0d9af81c89269f0f9a68475675039af30adeac4c
076f5040b63237c6dd928c6401329ed5adcb0e44
/assignments/hw2_a_few_easy_pieces.lean
48fafff0906a27c516da4a3a8a57397e45e6aaa7
[]
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
4,517
lean
/- UVa CS Discrete Math (Sullivan) Homework #2 -/ /- Note: We distribute homework assignments and even exams as Lean files, as we do now for this assignment. You will answer the questions in one of two ways: by writing an answer in a comment block (such as this one), or by writing mathematical logic (which is what ...
68bb14a8f0ce46d550e0dfb63b1022fb46648003
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/algebra/char_p.lean
9b288fdf94de1b9a1f480d4911f67eda9bb3e9ab
[ "Apache-2.0" ]
permissive
agjftucker/mathlib
d634cd0d5256b6325e3c55bb7fb2403548371707
87fe50de17b00af533f72a102d0adefe4a2285e8
refs/heads/master
1,625,378,131,941
1,599,166,526,000
1,599,166,526,000
160,748,509
0
0
Apache-2.0
1,544,141,789,000
1,544,141,789,000
null
UTF-8
Lean
false
false
12,504
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Kenny Lau, Joey van Langen, Casper Putz -/ import data.fintype.basic import data.nat.choose import data.int.modeq import algebra.module.basic import algebra.iterate_hom /-! # Characteristi...
218fa576b637cfe3b723331f00a50dc6bbac3468
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/ring_theory/unique_factorization_domain.lean
c7c86565658bff9a30f700316d227181ad1003bd
[ "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
19,715
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Jens Wagemaker Theory of unique factorization domains. @TODO: setup the complete lattice structure on `factor_set`. -/ import algebra.gcd_domain variables {α : Type*...
573450f8b23867397ec581e0494c0456f892cc7d
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/linear_algebra/general_linear_group.lean
f4629219b1ec4c2aeacf65edb6b549f95811ce2e
[ "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
2,317
lean
/- Copyright (c) 2019 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import algebra.module.equiv /-! # The general linear group of linear maps > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a correspond...
9a1f74cf69a500d14c931314915d28eef5a1f9ed
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/group_theory/monoid_localization.lean
9c802740499b99e55aa7848c9f7eaf7eef23fd73
[ "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
40,549
lean
/- Copyright (c) 2019 Amelia Livingston. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Amelia Livingston -/ import group_theory.congruence import algebra.associated import algebra.punit_instances /-! # Localizations of commutative monoids Localizing a commutative ri...
533e021a3256cea926f985fa82e03348b75bb154
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/archive/imo/imo1972_b2.lean
e1ad58e24f7dfd40a1fb80a6d7a3a0d768c9d806
[ "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
4,418
lean
/- Copyright (c) 2020 Ruben Van de Velde, Stanislas Polu. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ruben Van de Velde, Stanislas Polu -/ import data.real.basic import data.set.basic import analysis.normed_space.basic /-- IMO 1972 B2 Problem: `f` and `g` are re...
eafc72e47b4052124c9c25192945ba5fb6e3914d
853df553b1d6ca524e3f0a79aedd32dde5d27ec3
/src/linear_algebra/basic.lean
ac1e5e52524fe13fff5baec61a2dd14aa05928d6
[ "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
97,705
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Kevin Buzzard, Yury Kudryashov -/ import algebra.pi_instances import data.finsupp /-! # Linear algebra This file defines the basics of linear algebra....
6378c32a7e260c8cf9488c9216b5ced0c73f6bf4
695574baef97a204f68217f2dfede8512fd91ff8
/src/ralgebra.lean
eb9a3c1ca68cd0c489cad638289c4a1772faa979
[]
no_license
JasonKYi/stone-weierstrass
ba463bedc758c4993e922afcc8cf8895a9257bd4
390affd1415cf393da55866b82fdf68747dee7a2
refs/heads/master
1,680,089,697,789
1,617,652,603,000
1,617,652,603,000
266,203,243
1
0
null
null
null
null
UTF-8
Lean
false
false
6,637
lean
import topology.bounded_continuous_function noncomputable theory open set classical local attribute [instance] prop_decidable variables {X : Type*} [metric_space X] [compact_space X] -- We adopt the notation of bounded countinuous function from mathlib local infixr ` →ᵇ ` : 25 := bounded_continuous_function /- In t...
76705835c2fe6eb0f96c7239b526a557567c07d2
2fbe653e4bc441efde5e5d250566e65538709888
/src/data/finsupp.lean
01e7045ec5de282262b6bf4d3435c730a1b27265
[ "Apache-2.0" ]
permissive
aceg00/mathlib
5e15e79a8af87ff7eb8c17e2629c442ef24e746b
8786ea6d6d46d6969ac9a869eb818bf100802882
refs/heads/master
1,649,202,698,930
1,580,924,783,000
1,580,924,783,000
149,197,272
0
0
Apache-2.0
1,537,224,208,000
1,537,224,207,000
null
UTF-8
Lean
false
false
62,065
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl Type of functions with finite support. Functions with finite support provide the basis for the following concrete instances: * ℕ →₀ α: Polynomials (where α is a ring...
714f8fca0e9cce3943fda09cc90c7c70b1aadb37
4950bf76e5ae40ba9f8491647d0b6f228ddce173
/src/topology/algebra/infinite_sum.lean
f08eb1dc86a72340be96793eec522ad06c15dbb0
[ "Apache-2.0" ]
permissive
ntzwq/mathlib
ca50b21079b0a7c6781c34b62199a396dd00cee2
36eec1a98f22df82eaccd354a758ef8576af2a7f
refs/heads/master
1,675,193,391,478
1,607,822,996,000
1,607,822,996,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
41,179
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import algebra.big_operators.intervals import topology.instances.real import topology.algebra.module import data.indicator_function import data.equiv.encodable.lattic...
04ac7a312d48db4ff22002066b2701311fdf43d2
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/11_Tactic-Style_Proofs.org.28.lean
4709384abfca87e7872c8812db0b5fd5308f0b8c
[]
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
301
lean
import standard import data.nat open nat example (x : ℕ) (H : x ≠ 0) : succ (pred x) = x := begin revert H, cases x, -- first goal: ⊢ 0 ≠ 0 → succ (pred 0) = 0 { intro H1, apply (absurd rfl H1)}, -- second goal: ⊢ succ a ≠ 0 → succ (pred (succ a)) = succ a { intro H1, apply rfl} end
c0a846ae9dbc88dfd9fe5c23131750fb7f6292ce
de8d0cdc3dc15aa390280472764229d0e14e734c
/src/topological_spaces.lean
79e86102756bd9a2c337b76d60a80afaa3c250ff
[]
no_license
amesnard0/lean-topology
94720ccf0af34961b24b52b96bcfb19df5c8f544
e8f6a720c435cb59d098579a26f6eb70ea05f91a
refs/heads/main
1,682,525,569,376
1,622,116,766,000
1,622,116,766,000
358,047,823
0
0
null
null
null
null
UTF-8
Lean
false
false
5,722
lean
import tactic import data.set.finite open set -- Definition d'un espace topologique : @[ext] class topological_space (X : Type) := (is_open : set X → Prop) (univ_mem : is_open univ) (union : ∀ (B : set (set X)) (h : ∀ b ∈ B, is_open b), is_open (⋃₀ B)) (inter : ∀ {A B : set X} (hA : is_open A) (hB : is...
c0d84c20a6a675bfa1570cc51975ba4454427580
367134ba5a65885e863bdc4507601606690974c1
/src/group_theory/congruence.lean
67e9bc912e59ae79121bc8ceb231e9829b8ed4a8
[ "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
44,062
lean
/- Copyright (c) 2019 Amelia Livingston. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Amelia Livingston -/ import data.setoid.basic import algebra.group.pi import algebra.group.prod import data.equiv.mul_add import group_theory.submonoid.operations /-! # Congruence ...
af901981b3a93473c155624a28c2baaec2beadd9
b328e8ebb2ba923140e5137c83f09fa59516b793
/stage0/src/Lean/Elab/MutualDef.lean
7c672f8e427353069d242325c9e7ba4d69168943
[ "Apache-2.0" ]
permissive
DrMaxis/lean4
a781bcc095511687c56ab060e816fd948553e162
5a02c4facc0658aad627cfdcc3db203eac0cb544
refs/heads/master
1,677,051,517,055
1,611,876,226,000
1,611,876,226,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
28,306
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.Parser.Term import Lean.Meta.Closure import Lean.Meta.Check import Lean.Elab.Command import Lean.Elab.DefView import Lean.Elab.PreDefinition imp...
e78ca0efe784337933df001f799a24fd3cf880ca
de91c42b87530c3bdcc2b138ef1a3c3d9bee0d41
/old/expressions/boolean.lean
d8bf24b5902f32946fc771d24972c7a7ec4e0a00
[]
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
667
lean
/- We have a better version of this. To be replaced. -/ inductive bvar : Type | mk (n : ℕ) def bvar_eq : bvar → bvar → bool | (bvar.mk n1) (bvar.mk n2) := n1=n2 inductive bExpr : Type | BLit (b: bool) | BVar (v: bvar) def benv := bvar → bool def bEval : bExpr → benv → bool | (bExpr.BLit b) i := b | (bExpr.BVar v) ...
7cad00d36083da0e05be4e57b06bb275f851ec68
761d983a78bc025071bac14a3facced881cf5e53
/new_affine/affine_with_frame.lean
ccf0aa033b819aea83eb6ea0ec48c5609920c731
[]
no_license
rohanrajnair/affine_lib
bcf22ff892cf74ccb36a95bc9b7fff8e0adb2d0d
83076864245ac547b9d615bc6a23804b1b4a8f70
refs/heads/master
1,673,320,928,343
1,603,036,653,000
1,603,036,653,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,878
lean
import tactic.ext linear_algebra.affine_space.basic import algebra.module linear_algebra.basis universes u v w variables (X : Type u) (K : Type v) (V : Type w) (ι : Type*) [ring K] [add_comm_group V] [module K V] variables (s : finset ι) (g : ι → K) (v : ι → V) [is_basis K v] [affine_space V X] open_locale big_opera...
116c8c1e20bb1a77d573dd0dd1b072ec730a68d0
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Init/Meta.lean
9e6bdf7ceb58b32b058df004f603dcac8b65f13b
[ "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
45,739
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 and Sebastian Ullrich Additional goodies for writing macros -/ prelude import Init.Data.Array.Basic import Init.Data.Option.BasicAux namespace Lean @[extern...
c2195def8e3c02d09ff5cdca2457461902ef906e
4727251e0cd73359b15b664c3170e5d754078599
/src/ring_theory/localization/integral.lean
a2defcc55fc68b72a88111de57d289508fce8d59
[ "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
17,379
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro, Johan Commelin, Amelia Livingston, Anne Baanen -/ import algebra.ring.equiv import group_theory.monoid_localization import ring_theory.algebraic import ring_theor...
c5d67c8fe667cc4750898ce7379f7e15e83e2b62
9b9a16fa2cb737daee6b2785474678b6fa91d6d4
/src/tactic/interactive.lean
b9c5e1e3f8b83ab5eea03e0bcb97b254bda10116
[ "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
27,125
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Simon Hudon, Sebastien Gouezel, Scott Morrison -/ import data.dlist data.dlist.basic data.prod category.basic tactic.basic tactic.rcases tactic.generalize_proofs ta...
b1de3c7f3f8a56aa8cf6d7746092869c06d1c498
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/linear_algebra/direct_sum_module.lean
4196caf26d6301139900312c8a39148856848511
[ "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
4,749
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau Direct sum of modules over commutative rings, indexed by a discrete type. -/ import algebra.direct_sum import linear_algebra.basic /-! # Direct sum of modules over commutative r...
b27cf28b31f6eab87dc2ea929afb8313b3e247ab
4727251e0cd73359b15b664c3170e5d754078599
/src/number_theory/sum_four_squares.lean
18e2a198015dcdcd4a1951517209b6899e8d5c76
[ "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
11,862
lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import algebra.group_power.identities import data.zmod.basic import field_theory.finite.basic import data.int.parity import data.fintype.card /-! # Lagrange's four squa...
ce990bc222a44c6202397840eea1a10ea17e1542
4fa161becb8ce7378a709f5992a594764699e268
/src/field_theory/splitting_field.lean
6822c25f64acb7030b75e5cf6f3f5696d1125918
[ "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
8,901
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes Definition of splitting fields, and definition of homomorphism into any field that splits -/ import data.polynomial import ring_theory.principal_ideal_domain universes u v...
61d6fc7cb38d5af20135a104e9dade5eae054203
88892181780ff536a81e794003fe058062f06758
/src/100_theorems/t017.lean
4e2ff6c1ccd1b2a5e8a1a98e962960c1587e0432
[]
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
173
lean
import data.complex.exponential open complex theorem t017 : Π (n : ℕ) (z : ℂ), (cos z + sin z * I) ^ n = cos (↑n * z) + sin (↑n * z) * I := cos_add_sin_mul_I_pow