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
742361a87c86aad18d6bdb639658562b81f4d6bd
491068d2ad28831e7dade8d6dff871c3e49d9431
/tests/lean/run/791.lean
d29879df6b63d66a1b913e46c4c8b41763ecdd78
[ "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
153
lean
definition foo.bar := 10 definition boo.bla.foo := 20 open foo open boo.bla eval bar eval foo constant x.y.z : nat open x check y.z open x.y check z
d39c3dc5115e908aebd07de3a53138b61d3aea0c
0bebf71b69ba876e3ff052251728b46e79d4f55b
/differential_geometry_in_hott/lean/manifold.lean
04d4c5c056baf48a9d4b35f0a8a1cc8039677995
[]
no_license
glangmead/writing
448f4b3880d5478bc0a511c8d7038ab1cd95e0a6
296aa7ebc5c880fe1e1b7a594be67113d8cba677
refs/heads/master
1,688,939,782,411
1,687,865,154,000
1,687,865,154,000
212,832,461
0
0
null
null
null
null
UTF-8
Lean
false
false
3,298
lean
import geometry.manifold.real_instances import data.set.basic noncomputable theory /-- Smooth functions from R^n to R form a commutative algebra over R (pointwise addition, multiplication etc.) Same for functions from a manifold. Evaluation-at-x is an algebra morphism from smooth functions over R to R. Any such algeb...
ff1e7d39c8285bd8ad196b1e2cc4d867ba7b2ee3
367134ba5a65885e863bdc4507601606690974c1
/src/topology/category/Top/open_nhds.lean
77ecba2f53580e20228592db88167c575a5f7c35
[ "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
3,463
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import topology.category.Top.opens import category_theory.filtered open category_theory open topological_space open opposite universe u variables {X Y : Top.{u}} (...
6421624de1529b7feb9f4b313f4f67837007186e
5178376877966e906d8301a3169ebc83b8185ddb
/src/verifyopt.lean
b2d5d533a2361f9bbe6bc2a452381a303d633f18
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
aqjune/AliveInLean
8c436f1897774df37c532e6790c7e503712a7f00
7e92791c8bc316ef391c15a9e31dbd2355b6a4d4
refs/heads/master
1,584,465,770,747
1,549,480,763,000
1,549,480,763,000
133,785,889
0
0
null
1,526,547,050,000
1,526,547,049,000
null
UTF-8
Lean
false
false
1,804
lean
-- Copyright (c) Microsoft Corporation. All rights reserved. -- Licensed under the MIT license. import .ops import .lang import .irsem namespace opt section open irsem parameter (sem : irsem) -- uint_like types variable [ihc:has_comp sem.intty sem.boolty] variable [ioc:has_overflow_check sem.intty sem.boolty] vari...
693a002b2d07cad58d6bb19ec39e8376de57b0bc
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/data/complex/exponential.lean
e9e12fdafa0d88850d6cf5ba453eeb2e190f28c7
[ "Apache-2.0" ]
permissive
agjftucker/mathlib
d634cd0d5256b6325e3c55bb7fb2403548371707
87fe50de17b00af533f72a102d0adefe4a2285e8
refs/heads/master
1,625,378,131,941
1,599,166,526,000
1,599,166,526,000
160,748,509
0
0
Apache-2.0
1,544,141,789,000
1,544,141,789,000
null
UTF-8
Lean
false
false
50,993
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir -/ import algebra.geom_sum import data.nat.choose import data.complex.basic /-! # Exponential, trigonometric and hyperbolic trigonometric functions...
616f3e44c447e927ad870fec55559e0575d740eb
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/MiddleCommute.lean
8a70cbe40c51b2eef4d7a0313260fcf25839133b
[]
no_license
ysharoda/Deriving-Definitions
3e149e6641fae440badd35ac110a0bd705a49ad2
dfecb27572022de3d4aa702cae8db19957523a59
refs/heads/master
1,679,127,857,700
1,615,939,007,000
1,615,939,007,000
229,785,731
4
0
null
null
null
null
UTF-8
Lean
false
false
6,024
lean
import init.data.nat.basic import init.data.fin.basic import data.vector import .Prelude open Staged open nat open fin open vector section MiddleCommute structure MiddleCommute (A : Type) : Type := (op : (A → (A → A))) (middleCommute_times : (∀ {x y z : A} , (op (op (op x y) z) x) = (op (op (op x z...
0a9cc697d5d09f49ba8c738ca8e9fd290fcfef62
82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7
/stage0/src/Lean/Util/PPExt.lean
1a59548073015dac788eaf48f19dea74c8190caa
[ "Apache-2.0" ]
permissive
banksonian/lean4
3a2e6b0f1eb63aa56ff95b8d07b2f851072d54dc
78da6b3aa2840693eea354a41e89fc5b212a5011
refs/heads/master
1,673,703,624,165
1,605,123,551,000
1,605,123,551,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,829
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ import Lean.Environment import Lean.MetavarContext import Lean.Data.OpenDecl namespace Lean builtin_initialize registerOption `syntaxMaxDepth { defValue ...
67bb5c0b676649ef04de228300985002dc08b031
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/limits/shapes/regular_mono.lean
aebe52044659d8cee6dfdcfa83144e6bded862fa
[ "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
11,168
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Bhavik Mehta -/ import category_theory.limits.shapes.pullbacks import category_theory.limits.shapes.strong_epi import category_theory.limits.shapes.equalizers /-! # De...
e0946f220088df5d42ba6b5bb2f2103e655d6279
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/hom/non_unital_alg.lean
a5443eb570e6b95340732424fe8e8a7cd1955ca3
[ "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,540
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.hom /-! # Morphisms of non-unital algebras > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to math...
d130c781db240355f9497a32156c21c5c03b4c3f
122543640bfbfedbcee1318bfdbd466ead2716a7
/src/p4.lean
7426363c8c95544d56e5859934af345b7246438c
[]
no_license
jsm28/bmo2-2020-lean
f038489093312c97b9cae3cdb9410b2683ccb11f
ff87ce51ed080d462e63c5549d5f2b377ad83204
refs/heads/master
1,692,783,059,184
1,689,807,657,000
1,689,807,657,000
239,362,030
9
0
null
null
null
null
UTF-8
Lean
false
false
20,211
lean
-- BMO2 2020 problem 4. -- Choices made for formalization: we index the sequence starting at 0 -- rather than at 1 as in the original problem. import analysis.normed.field.basic import data.polynomial.ring_division import data.real.cardinality import data.real.sqrt import tactic.basic import tactic.linarith import ta...
1976afc8307c3dd672c99eab9811037f4f71cb42
63abd62053d479eae5abf4951554e1064a4c45b4
/src/algebra/order.lean
11a11f40a613b6626e4be7af4f46b586b8707884
[ "Apache-2.0" ]
permissive
Lix0120/mathlib
0020745240315ed0e517cbf32e738d8f9811dd80
e14c37827456fc6707f31b4d1d16f1f3a3205e91
refs/heads/master
1,673,102,855,024
1,604,151,044,000
1,604,151,044,000
308,930,245
0
0
Apache-2.0
1,604,164,710,000
1,604,163,547,000
null
UTF-8
Lean
false
false
13,081
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 tactic.alias import tactic.lint /-! # Lemmas about inequalities This file contains some lemmas about `≤`/`≥`/`<`/`>`, and `cmp`. * We simplify `a ≥ b` and `...
580b451e9480c84d3d01ce8058453746b3afad9a
da23b545e1653cafd4ab88b3a42b9115a0b1355f
/test/rewrite_all.lean
b323377a5b94f886aad4cb28fe1e542a6183f87b
[]
no_license
minchaowu/lean-tidy
137f5058896e0e81dae84bf8d02b74101d21677a
2d4c52d66cf07c59f8746e405ba861b4fa0e3835
refs/heads/master
1,585,283,406,120
1,535,094,033,000
1,535,094,033,000
145,945,792
0
0
null
null
null
null
UTF-8
Lean
false
false
131
lean
import tidy.rewrite_all axiom foo : [1] = [2] example : [[1], [1], [1]] = [[1], [2], [1]] := begin nth_rewrite_lhs 1 [foo], end
0f551228a267fbdb28c8b6363b2d365998e65ec8
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/set_theory/ordinal/principal.lean
f3a07a8808b1a502ca78972aa141f34d3f4ff870
[ "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
16,450
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.ordinal.fixed_point /-! ### Principal ordinals We define principal or indecomposable ordinals, and we prove the standard ...
ceb4a580d50babfa3490b2806ebd15dac41d4573
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/scopedCommandAfterOpen.lean
32b4f4508c37acb7a1772c6debcfdf6cf3915902
[ "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
145
lean
namespace Internal scoped macro "foo" : command => `(#print "foo") end Internal section open Internal foo end section open Internal in foo end
17bf8e3503a7cb52f31280e2a5dacea01a3f7806
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/src/Lean/Elab/App.lean
33d0ca0f3e9c852fae94abbbaf20f5d26e364d98
[ "Apache-2.0" ]
permissive
collares/lean4
861a9269c4592bce49b71059e232ff0bfe4594cc
52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee
refs/heads/master
1,691,419,031,324
1,618,678,138,000
1,618,678,138,000
358,989,750
0
0
Apache-2.0
1,618,696,333,000
1,618,696,333,000
null
UTF-8
Lean
false
false
44,622
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.Util.FindMVar import Lean.Parser.Term import Lean.Elab.Term import Lean.Elab.Binders import Lean.Elab.SyntheticMVars namespace Lean.Elab.Term o...
faae0f70657a834281a96d714990ea0b98f9aff0
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/init/meta/mk_has_sizeof_instance.lean
c60eba4e07a2d1684eddc9c302fd7a5a90b71339
[ "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
3,324
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 constructing has_sizeof instance. -/ prelude import init.meta.rec_util init.combinator import init.meta.constructor_tactic namespace tactic...
4d11edd9072db5f37d2af779aa03dc24a1a477fe
86f6f4f8d827a196a32bfc646234b73328aeb306
/examples/logic/unnamed_294.lean
7ca1d8662cf08033742780d8207a82859b829939
[]
no_license
jamescheuk91/mathematics_in_lean
09f1f87d2b0dce53464ff0cbe592c568ff59cf5e
4452499264e2975bca2f42565c0925506ba5dda3
refs/heads/master
1,679,716,410,967
1,613,957,947,000
1,613,957,947,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
338
lean
import algebra.ordered_group variables {α : Type*} {R : Type*} [ordered_cancel_add_comm_monoid R] #check @add_le_add def fn_ub (f : α → R) (a : R) : Prop := ∀ x, f x ≤ a theorem fn_ub_add {f g : α → R} {a b : R} (hfa : fn_ub f a) (hgb : fn_ub g b) : fn_ub (λ x, f x + g x) (a + b) := λ x, add_le_add (hfa x) (h...
398de845e317de27bbe69e099fa36843dafd0f43
9dc8cecdf3c4634764a18254e94d43da07142918
/src/field_theory/finite/galois_field.lean
4eaff75a0af26ac6b64f8f956c72def2cda06ffe
[ "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
8,553
lean
/- Copyright (c) 2021 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson, Alex J. Best, Johan Commelin, Eric Rodriguez, Ruben Van de Velde -/ import algebra.char_p.algebra import field_theory.finite.basic import field_theory.galois /-! # Ga...
93f044ab5da0f45cd470d2e546656de43cde9ba6
60bf3fa4185ec5075eaea4384181bfbc7e1dc319
/src/game/limits/seq_cauchyBdd.lean
bef1a97c6ab3095c22944ba4c5a70fb493574f8d
[ "Apache-2.0" ]
permissive
anrddh/real-number-game
660f1127d03a78fd35986c771d65c3132c5f4025
c708c4e02ec306c657e1ea67862177490db041b0
refs/heads/master
1,668,214,277,092
1,593,105,075,000
1,593,105,075,000
264,269,218
0
0
null
1,589,567,264,000
1,589,567,264,000
null
UTF-8
Lean
false
false
2,561
lean
import game.limits.L01defs import game.limits.seq_proveLimit import algebra.pi_instances import game.order.level05 --open function open finset namespace xena -- hide notation `|` x `|` := abs x -- hide def is_convergent (a : ℕ → ℝ) := ∃ α : ℝ, is_limit a α def is_Cauchy (a : ℕ → ℝ) := ∀ ε : ℝ, 0 < ε → ∃ N : ℕ,...
5ba835574963723e810d0251f6c69f78cee4e577
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/measure_theory/measure/content.lean
ed2cca7809d60b48209b025f283c0cb2809b0e20
[ "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
19,301
lean
/- Copyright (c) 2020 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import measure_theory.measure.measure_space import measure_theory.measure.regular import topology.sets.compacts /-! # Contents In this file we work with *conten...
6e1b0993d1bac86e0e4a78ff178c895aa0ba9147
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/whiskering_auto.lean
0a9c77b1f96dee8a1e65d60c95d0e356bf83a89d
[]
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
9,322
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.natural_isomorphism import Mathlib.PostPort universes u₁ u₂ u₃ v₁ v₂ v₃ u₄...
bd20d2020c0ca561b2f918d935e63c7cf12a87b6
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/string_imp2.lean
586a8cfd0d0a06d608e196225dc6127d6b6cbaa4
[ "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,706
lean
new_frontend def f (s : String) : String := s ++ " " ++ s def g (s : String) : String := s.push ' ' ++ s.push '-' def h (s : String) : String := let it₁ := s.mkIterator; let it₂ := it₁.next; it₁.remainingToString ++ "-" ++ it₂.remainingToString #eval "hello" ++ "hello" #eval f "hello" #eval (f "αβ").length #eval "he...
f9b1f29d2667ebf7694f339aea43156364d6e453
80b18137872dad7c3df334b9069d70935b4224f3
/src/tactic/core.lean
b273dab8dd5cb4841080ddc17b571064334884fe
[ "Apache-2.0" ]
permissive
Jack-Pumpkinhead/mathlib
1bcf5692d355dc397847791c137158f01b407535
da8b23f907f750528539bffa604875b98717fb93
refs/heads/master
1,621,299,949,262
1,585,480,767,000
1,585,480,767,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
71,461
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Simon Hudon, Scott Morrison, Keeley Hoek -/ import data.dlist.basic category.basic meta.expr meta.rb_map data.bool tactic.doc_commands tactic.derive_inhabited univer...
37c48b0b3559d886c1d41599237ea57d2a535fb8
25cd4a0846d2a570ed3214242a816f1934f1ad77
/src/logic/basic.lean
a99d2c41c782989a9ed5ce84910cb2aa07a84dea
[]
no_license
kckennylau/mathlib4
e1c65d4aa1a91523689b0a443c30fbf2e2975451
eb67d87662d726bafe45bab0a7a86f8dd23777c9
refs/heads/master
1,676,424,712,712
1,610,022,081,000
1,610,022,081,000
327,550,002
11
0
null
null
null
null
UTF-8
Lean
false
false
1,957
lean
universes u v /-- Ex falso, the nondependent eliminator for the `Empty` type. -/ def Empty.elim {C : Sort u} (t : Empty) : C := nomatch t instance : Subsingleton Empty := ⟨λ a => a.elim⟩ instance {α : Type u} {β : Type v} [Subsingleton α] [Subsingleton β] : Subsingleton (α × β) := ⟨λ ⟨a₁, b₁⟩ ⟨a₂, b₂⟩ => congr (cong...
80c7baaf68306004c85fe0a03eaa792cb2e9daa9
367134ba5a65885e863bdc4507601606690974c1
/src/ring_theory/adjoin/basic.lean
d7ee0ec9fcd1a327e956f9ab97a57ed949299860
[ "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
12,314
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import ring_theory.polynomial.basic import algebra.algebra.subalgebra /-! # Adjoining elements to form subalgebras This file develops the basic theory of subalgebras of an R-...
7af01b508b3589f6a7d2d1b543c6005e6d50e567
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/topology/opens.lean
4f5645307a9fcc4e322f6eba2dd082a1365505e7
[ "Apache-2.0" ]
permissive
keeferrowan/mathlib
f2818da875dbc7780830d09bd4c526b0764a4e50
aad2dfc40e8e6a7e258287a7c1580318e865817e
refs/heads/master
1,661,736,426,952
1,590,438,032,000
1,590,438,032,000
266,892,663
0
0
Apache-2.0
1,590,445,835,000
1,590,445,835,000
null
UTF-8
Lean
false
false
6,322
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 Subtype of open subsets in a topological space. -/ import topology.bases import topology.separation open filter variables {α : Type*} {β : Type*} [topo...
4b9ead2445edbcec6b099efdecea4ff4d2d03ea8
2cf781335f4a6706b7452ab07ce323201e2e101f
/lean/deps/galois_stdlib/src/galois/logic.lean
4ec47eee5f47d0b9a6ee1fd73db6975008906ad0
[ "Apache-2.0" ]
permissive
simonjwinwood/reopt-vcg
697cdd5e68366b5aa3298845eebc34fc97ccfbe2
6aca24e759bff4f2230bb58270bac6746c13665e
refs/heads/master
1,586,353,878,347
1,549,667,148,000
1,549,667,148,000
159,409,828
0
0
null
1,543,358,444,000
1,543,358,444,000
null
UTF-8
Lean
false
false
472
lean
-- Definitions --- Use type-class resolution to find a decidable instance. def decide (p:Prop) [h:decidable p] : decidable p := h --- Use decidable instance to prove any theorem is we have a proof of the theorem, but it is false. theorem of_as_false {P : Prop} [h:decidable P] (p:P) (q : as_false P) {α : Prop} : α :...
02ea309ae1e8fde7cde1bd6b2e9b0db7f146b8c8
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/library/data/finset/partition.lean
5bbf7803680567dc15a312e54e3bd5d363641a23
[ "Apache-2.0" ]
permissive
jroesch/lean
30ef0860fa905d35b9ad6f76de1a4f65c9af6871
3de4ec1a6ce9a960feb2a48eeea8b53246fa34f2
refs/heads/master
1,586,090,835,348
1,455,142,203,000
1,455,142,277,000
51,536,958
1
0
null
1,455,215,811,000
1,455,215,811,000
null
UTF-8
Lean
false
false
5,958
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Haitao Zhang Partitions of a type A into finite subsets of A. Such a partition is represented by a function f : A → finset A which maps every element a : A to its equivalence cl...
d65b2ce359a8f7ebe2e84cab1da9acea16888be1
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/geometry/euclidean/basic.lean
d08ff6b6703b63a4270fa831e56f7e96d516bbce
[ "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
54,985
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers, Manuel Candales -/ import analysis.normed_space.inner_product import analysis.special_functions.trigonometric import algebra.quadratic_discriminant import analysis.normed_s...
c854a73bfbabf90b78ec3e493a2cff1ef1aed3c2
3f7026ea8bef0825ca0339a275c03b911baef64d
/src/category_theory/limits/cones.lean
8e937d8b3578ab46e7483c09c8bf7ae9af91e96e
[ "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
16,622
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Stephen Morgan, Scott Morrison, Floris van Doorn -/ import category_theory.const import category_theory.yoneda import category_theory.concrete_category import category_theory.equivalen...
931f09125c3a8703a6ea315f3e593aee0406ddca
88892181780ff536a81e794003fe058062f06758
/src/lib/finite.lean
04c7a9a07c11bfd40ddada55078e24e1b1c8144f
[]
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,292
lean
import data.fintype import lib.sets import lib.lists #print set example {α} {s : set α} (x : subtype s) : subtype s := x /- instance finite_all_unit : finite (λ (_ : unit), true) := finite.mk [()] (λ x _, by {cases x, simp}) def finite_sub [fin : finite (all α)] (s : set α) [decidable_pred s] [decidable_eq α] : fin...
d76937047331ab35447fd9f064606cb1fc4facdf
0ce335c3cee4b6a212935fdfd1a5270985454648
/src/category_theory/limits/cones.lean
f6fba30d0f87a68c48be130f70dd68052c5cd2bd
[ "Apache-2.0" ]
permissive
yashen32768/mathlib
191f6113ccd0ef74091c3f5951ae84c0aa85516f
f54463254784b400da2e33dfa58f94775e3de845
refs/heads/master
1,598,060,530,541
1,571,523,082,000
1,571,523,082,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,432
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Stephen Morgan, Scott Morrison, Floris van Doorn -/ import category_theory.const import category_theory.yoneda import category_theory.concrete_category.bundled_hom import category_theo...
b4bd20e3c35631271115c00276cbccd5252d87ff
c777c32c8e484e195053731103c5e52af26a25d1
/src/topology/category/Profinite/cofiltered_limit.lean
1fb982d1ad7d36a80085e3ee4518321ea6bc31f8
[ "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
9,481
lean
/- Copyright (c) 2021 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Topaz -/ import topology.category.Profinite.basic import topology.locally_constant.basic import topology.discrete_quotient import topology.category.Top.limits.cofiltered import topolo...
8240cd4a50da255e8374313f787cc93aed3122d8
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/category_theory/limits/cones.lean
b34b822e37d54be38d3a8e43d7a4fe25d303f7fe
[ "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
31,268
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Stephen Morgan, Scott Morrison, Floris van Doorn -/ import category_theory.functor.const import category_theory.discrete_category import category_theory.yoneda import category_theory.f...
cd2924b6714b14f69957a9f18b8e6020408e2b7d
297c4ceafbbaed2a59b6215504d09e6bf201a2ee
/finset/logic.lean
6b4039c98b9b4793385bbaf8db4d8308401b5a4b
[]
no_license
minchaowu/Kruskal.lean3
559c91b82033ce44ea61593adcec9cfff725c88d
a14516f47b21e636e9df914fc6ebe64cbe5cd38d
refs/heads/master
1,611,010,001,429
1,497,935,421,000
1,497,935,421,000
82,000,982
1
0
null
null
null
null
UTF-8
Lean
false
false
494
lean
import tools.super theorem iff.of_eq {a b : Prop} (h : a = b) : a ↔ b := eq.rec_on h iff.rfl theorem and.left_distrib (a b c : Prop) : a ∧ (b ∨ c) ↔ (a ∧ b) ∨ (a ∧ c) := by super theorem and.right_distrib (a b c : Prop) : (a ∨ b) ∧ c ↔ (a ∧ c) ∨ (b ∧ c) := by super theorem or.left_distrib (a b c : Prop) : a ∨ (b ...
3404b8bba0c93c79976290cbd31a9811ebcac525
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/measure_theory/decomposition/radon_nikodym.lean
b039a0505b94a5c8b36c679d2bca3401f43e6e26
[ "Apache-2.0" ]
permissive
dexmagic/mathlib
ff48eefc56e2412429b31d4fddd41a976eb287ce
7a5d15a955a92a90e1d398b2281916b9c41270b2
refs/heads/master
1,693,481,322,046
1,633,360,193,000
1,633,360,193,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,909
lean
/- Copyright (c) 2021 Kexing Ying. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kexing Ying -/ import measure_theory.decomposition.lebesgue /-! # Radon-Nikodym theorem This file proves the Radon-Nikodym theorem. The Radon-Nikodym theorem states that, given measures...
4972115e0e14450613b86d0b8ea31544d97b10bd
94e33a31faa76775069b071adea97e86e218a8ee
/archive/imo/imo1972_q5.lean
4b83138a45def1373e0262e40c08adc6969bff5c
[ "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,242
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 analysis.normed_space.basic /-! # IMO 1972 Q5 Problem: `f` and `g` are real-valued functions ...
1e717d02911615dac56c08cc4a3624e4dec3306b
94e33a31faa76775069b071adea97e86e218a8ee
/src/data/vector3.lean
823a146c1225f3ffbdcf54522b8bdeaff6d25a13
[ "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,978
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.fin.fin2 import tactic.localized /-! # Alternate definition of `vector` in terms of `fin2` This file provides a locale `vector3` which overrides the `[a...
2320f6883dc3332f9296d4865e8c4d53a5c6edca
6b2a480f27775cba4f3ae191b1c1387a29de586e
/group_rep1/Tools/sum_group.lean
710dd746bf3f776ae27d9d9d7f19a066dbe23136
[]
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
1,245
lean
import .to_permutation import .to_sum open equiv universe u /-- For a group `G` and an element `g : G`, `to equiv g` is the permutation (i.e `equiv G G`) define by : `s ↦ s * g⁻¹` -/ def to_equiv {G : Type u}[group G](g : G) : perm G := { to_fun := λ s :G , s * g⁻¹ , inv_fun := λ s : G , s * g, left_in...
215ca022168f13810d56e960aa8d658c2662b857
6de8ea38e7f58ace8fbf74ba3ad0bf3b3d1d7ab5
/solutions2/Problem2/lambda.lean
f3158ac9784b4c87b3c8807a820f00b9b88cb15e
[]
no_license
KinanBab/CS591K1-Labs
72f4e2c7d230d4e4f548a343a47bf815272b1f58
d4569bf99d20c22cd56721024688cda247d1447f
refs/heads/master
1,587,016,758,873
1,558,148,366,000
1,558,148,366,000
165,329,114
5
2
null
1,550,689,848,000
1,547,252,664,000
TeX
UTF-8
Lean
false
false
1,377
lean
-- Syntax inductive term | var : nat → term | abs : nat → term → term | app : term → term → term -- Custom notation -- instance : has_coe nat term := ⟨term.var⟩ notation `X`n := term.var n notation `λ:X`n `.` t := term.abs n t notation `[`t1`]@(`t2`)` := term.app t1 t2 -- Substitution: the core of beta reduction ...
5d149bd2abbe4c38a06a7b09cc4b3b15451baf6a
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/geometry/manifold/instances/real.lean
c00ac5892a405623f5bc2b0d9658ed1da09b264d
[ "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
13,760
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import linear_algebra.finite_dimensional import geometry.manifold.smooth_manifold_with_corners import analysis.inner_product_space.pi_L2 /-! # Constructing exa...
7e134756f5174f289cd6b58659841396051a13f5
618003631150032a5676f229d13a079ac875ff77
/src/category_theory/groupoid.lean
b661c3984caaa0b315584ade1c7772a32df35f3b
[ "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
2,200
lean
/- Copyright (c) 2018 Reid Barton All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison, David Wärn -/ import category_theory.category import category_theory.epi_mono namespace category_theory universes v u -- declare the `v`'s first; see `catego...
4ab8adcde6092d86c8f44ca323b2c7a712957012
6ae186a0c6ab366b39397ec9250541c9d5aeb023
/src/category_theory/adjunctions/comparisons.lean
7a5c897706b4248d4a0bac0ab68545301d68dbd9
[]
no_license
ThanhPhamPhuong/lean-category-theory
0d5c4fe1137866b4fe29ec2753d99aa0d0667881
968a29fe7c0b20e10d8a27e120aca8ddc184e1ea
refs/heads/master
1,587,206,682,489
1,544,045,056,000
1,544,045,056,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,117
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Stephen Morgan, Scott Morrison import category_theory.adjunctions import category_theory.adjunctions.hom_adjunction -- FIXME why do we need this here? @[obviously] meta def obv...
c83fb66e9a23cdad038888a305f3fddef13d3eea
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/analysis/special_functions/trigonometric_auto.lean
7a815feb0873cb02d336eef7c98fcd2ec86b2423
[]
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
112,085
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne, Benjamin Davidson -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.analysis.special_functions.e...
58572b0bd393d4603205ee198ccc64409c31ff8a
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/sec_var.lean
885f1b10c7088555391154fd3561b6c297a69a78
[ "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
534
lean
section parameter A : Type definition foo : ∀ ⦃ a b : A ⦄, a = b → a = b := take a b H, H variable a : A set_option pp.implicit true check foo (eq.refl a) check foo check foo = (λ (a b : A) (H : a = b), H) end check foo = (λ (A : Type) (a b : A) (H : a = b), H) section variable A : Type definitio...
8f363af650746494d4d8d44f16fab0d84c07841c
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/data/dfinsupp.lean
2b1201add8e14683c749b964f59aa89f1d95376d
[ "Apache-2.0" ]
permissive
keeferrowan/mathlib
f2818da875dbc7780830d09bd4c526b0764a4e50
aad2dfc40e8e6a7e258287a7c1580318e865817e
refs/heads/master
1,661,736,426,952
1,590,438,032,000
1,590,438,032,000
266,892,663
0
0
Apache-2.0
1,590,445,835,000
1,590,445,835,000
null
UTF-8
Lean
false
false
32,786
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Kenny Lau -/ import algebra.pi_instances /-! # Dependent functions with finite support For a non-dependent version see `data/finsupp.lean`. -/ universes u u₁ u₂ v v₁ v₂ v...
51484428c2eafed47e00003c228dba1d171e7220
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/algebra/group_action_hom.lean
c3cfce8f23c85c446c2c8599fe668ceec73dd3db
[ "Apache-2.0" ]
permissive
robertylewis/mathlib
3d16e3e6daf5ddde182473e03a1b601d2810952c
1d13f5b932f5e40a8308e3840f96fc882fae01f0
refs/heads/master
1,651,379,945,369
1,644,276,960,000
1,644,276,960,000
98,875,504
0
0
Apache-2.0
1,644,253,514,000
1,501,495,700,000
Lean
UTF-8
Lean
false
false
11,518
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import group_theory.group_action.basic import algebra.group_ring_action /-! # Equivariant homomorphisms ## Main definitions * `mul_action_hom M X Y`, the type of equivariant...
60ac5e18b3219b732bf6bf1a6dd1d26933660978
d436468d80b739ba7e06843c4d0d2070e43448e5
/src/data/padics/padic_numbers.lean
ba43afe1f86436dd654f891389feda365d68b5da
[ "Apache-2.0" ]
permissive
roro47/mathlib
761fdc002aef92f77818f3fef06bf6ec6fc1a28e
80aa7d52537571a2ca62a3fdf71c9533a09422cf
refs/heads/master
1,599,656,410,625
1,573,649,488,000
1,573,649,488,000
221,452,951
0
0
Apache-2.0
1,573,647,693,000
1,573,647,692,000
null
UTF-8
Lean
false
false
32,528
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 -/ import data.real.cau_seq_completion topology.metric_space.cau_seq_filter import data.padics.padic_norm algebra.archimedean analysis.normed_space.basic import tact...
16598b4c1ec9dec7fad92e6eb9029cde7efccc52
4bcaca5dc83d49803f72b7b5920b75b6e7d9de2d
/stage0/src/Lean/Elab/InfoTree.lean
57f1752881aab2af6be271a35c394c7382a3f41b
[ "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
15,255
lean
/- Copyright (c) 2020 Wojciech Nawrocki. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wojciech Nawrocki, Leonardo de Moura, Sebastian Ullrich -/ import Lean.Data.Position import Lean.Expr import Lean.Message import Lean.Data.Json import Lean.Meta.Basic import Lean.M...
710ae96b2cc57b533d2d571114b1c9a7c0ade59d
1a9d3677cccdaaccacb163507570e75d34043a38
/src/week_1/Part_A_logic.lean
5d9fc1ca6d7ee7b0fe315e8dc354b81f7ffc0c62
[ "Apache-2.0" ]
permissive
alreadydone/formalising-mathematics
687d386a72065795e784e270f5c05ea3948b67dd
65869362cd7a2ac74dd1a97c7f9471835726570b
refs/heads/master
1,680,260,936,332
1,616,563,371,000
1,616,563,371,000
348,780,769
0
0
null
null
null
null
UTF-8
Lean
false
false
13,357
lean
-- We import all of Lean's standard tactics import tactic /-! # Logic We will develop the basic theory of following five basic logical symbols * `→` ("implies" -- type with `\l`) * `¬` ("not" -- type with `\not` or `\n`) * `∧` ("and" -- type with `\and` or `\an`) * `↔` ("iff" -- type with `\iff` or `\lr`) * `∨` ("or...
765a5e02786d149602858c4ee534da7c9cbc39d8
130d371f971f05e5686dfbc39bba9b3867057815
/src/playground.lean
4d19a5b6a57ceabd2ae903d5c5f1ac1f7e747612
[]
no_license
JasonKYi/analysis_with_filters
7d5df1a0966e21d54e3baa5b7e2b72938f190fa6
a1182aa3965f034d27b5cf493ee9737972cbbf2a
refs/heads/master
1,669,288,659,683
1,596,107,251,000
1,596,107,251,000
283,021,905
1
1
null
null
null
null
UTF-8
Lean
false
false
48
lean
import data.set.finite open set #check finite
26093560afd1cffc8669e3e7fcede9c9bcf4c190
64874bd1010548c7f5a6e3e8902efa63baaff785
/tests/lean/run/structure_test.lean
684b6c34d59d1642bc41a1df3c0e765068e72fdc
[ "Apache-2.0" ]
permissive
tjiaqi/lean
4634d729795c164664d10d093f3545287c76628f
d0ce4cf62f4246b0600c07e074d86e51f2195e30
refs/heads/master
1,622,323,796,480
1,422,643,069,000
1,422,643,069,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
694
lean
import logic data.sigma inductive point (A B : Type) := mk : Π (x : A) (y : B), point A B inductive color [class] := red, green, blue constant foo.{l} (A : Type.{l}) [H : decidable_eq A] : Type.{l} constants a : num section universe variable l variable A : Type.{l} variable Ha : decidable_eq A variable E :...
bc4b2329c7449900e141777f58033cb62a6a1b35
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/order/filter/pointwise.lean
f9355b3a676745eddbcb4d75cdd3d2460fbcb1a0
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
36,240
lean
/- Copyright (c) 2019 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou, Yaël Dillies -/ import data.set.pointwise.smul import order.filter.n_ary import order.filter.ultrafilter /-! # Pointwise operations on filters > THIS FILE IS SYNCHRONIZ...
4b962f1cf96045752fd8efbf312ad6bed28a4670
94e33a31faa76775069b071adea97e86e218a8ee
/src/category_theory/category/PartialFun.lean
2f1349a549b6caa12069890bcc9231fb4ca989dc
[ "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
6,377
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 category_theory.category.Pointed import data.pfun /-! # The category of types with partial functions This defines `PartialFun`, the category of types equipped wi...
a78136d14d5f1b3d8c8c267781f31f1fa0c0b763
9dc8cecdf3c4634764a18254e94d43da07142918
/src/category_theory/limits/lattice.lean
9e5bf04bfd98f05af04c2147cf8bb37e52c3c5eb
[ "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
8,697
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Justus Springer -/ import order.complete_lattice import category_theory.limits.shapes.pullbacks import category_theory.category.preorder import category_theory.limits.s...
da6d07e41ec873d47e45dc5d82252e041c08b9dc
b794ca1df49bc5a3bd3fd5552eed3bc4f63b8b93
/src/mywork/9-17-2021notes.lean
7c707a8d4db5bc31811f45453904ec0642bbbc85
[]
no_license
akraisinger/cs2120f21
8235ac98375e04ffcec504cff5cab7833ee69e54
4ef83d7151bb6a284028092aa4f1d509c0eb8237
refs/heads/main
1,691,714,771,612
1,632,889,465,000
1,632,889,465,000
399,946,508
0
0
null
null
null
null
UTF-8
Lean
false
false
52
lean
/- to prove true true, do true.intro false.elim? -/
ee5e95092a86dcc0ced9311cb990590bd1392e99
bb31430994044506fa42fd667e2d556327e18dfe
/src/linear_algebra/affine_space/affine_map.lean
be0d1ad6dd466555ca6dc4421b89f12484b5b916
[ "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
25,192
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 data.set.pointwise.interval import linear_algebra.affine_space.basic import linear_algebra.bilinear_map import linear_algebra.pi import linear_algebra.prod /-! # ...
bd7fb73a33cd5efa76ae6bcb8ad4a044aca09de4
a88f0086fb3e2025ebb21e0ba2f2725774c6979f
/src/data/finset.lean
ec4ff7be0978c4ca2da755eaa4f9907b9862a217
[ "Apache-2.0" ]
permissive
Kha/stdlib
b5a4456c35def0ca8f1bf2d32dbeebd7639cbc4d
e44b105c72ec77120f43a7a7dd1cd49867a65a41
refs/heads/master
1,609,528,111,500
1,572,963,395,000
1,572,963,395,000
98,516,307
0
1
null
1,501,146,352,000
1,501,146,352,000
null
UTF-8
Lean
false
false
89,357
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura, Jeremy Avigad, Minchao Wu, Mario Carneiro Finite sets. -/ import logic.embedding algebra.order_functions data.multiset data.sigma.basic data.set.lattice op...
e17f8a0e695694dee3636b60f94b31ab93fdb5cc
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/abs.lean
a7ed47f3b95cab213d55b31d556c36aa158bf6d5
[ "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
1,710
lean
/- Copyright (c) 2021 Christopher Hoskin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Christopher Hoskin -/ /-! # Absolute value > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to mathlib4. This file defines a nota...
4923f3ba65564f5eb194aa17b9b8595b5c88edc8
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/stage0/src/Lean/Data/Trie.lean
3d76ce4d8aeee21be456c89bc70a11392e471841
[ "Apache-2.0" ]
permissive
WojciechKarpiel/lean4
7f89706b8e3c1f942b83a2c91a3a00b05da0e65b
f6e1314fa08293dea66a329e05b6c196a0189163
refs/heads/master
1,686,633,402,214
1,625,821,189,000
1,625,821,258,000
384,640,886
0
0
Apache-2.0
1,625,903,617,000
1,625,903,026,000
null
UTF-8
Lean
false
false
2,754
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Sebastian Ullrich, Leonardo de Moura Trie for tokenizing the Lean language -/ import Lean.Data.Format namespace Lean namespace Parser open Std (RBNode RBNode.leaf RBNode.singl...
41fbddd0fa10668de9d3a5a8a3241a47e93e0b93
05b503addd423dd68145d68b8cde5cd595d74365
/src/algebra/group/hom.lean
b7630b7e0115c878b0c1f85853b90bed936c6462
[ "Apache-2.0" ]
permissive
aestriplex/mathlib
77513ff2b176d74a3bec114f33b519069788811d
e2fa8b2b1b732d7c25119229e3cdfba8370cb00f
refs/heads/master
1,621,969,960,692
1,586,279,279,000
1,586,279,279,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,942
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Kevin Buzzard, Scott Morrison, Johan Commelin, Chris Hughes, Johannes Hölzl, Yury Kudryashov -/ import algebra.group.to_additive algebra.group.basic /-! # monoid an...
dfae369904fb0682413182d376f23a5c390791ca
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/linear_algebra/clifford_algebra/even_equiv.lean
55e8ea60c4c02b3c10e6b9887b2bc9f7494d5d0e
[ "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
11,417
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 linear_algebra.clifford_algebra.conjugation import linear_algebra.clifford_algebra.even import linear_algebra.quadratic_form.prod /-! # Isomorphisms with the even su...
20bf41501e4027045bcae0f781a01d6ddfc5e487
aa5a655c05e5359a70646b7154e7cac59f0b4132
/tests/lean/match4.lean
4a0cb78e69213acb2fbeb601ed9d8d1e7375aacb
[ "Apache-2.0" ]
permissive
lambdaxymox/lean4
ae943c960a42247e06eff25c35338268d07454cb
278d47c77270664ef29715faab467feac8a0f446
refs/heads/master
1,677,891,867,340
1,612,500,005,000
1,612,500,005,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,131
lean
def f1 (x : Nat × Nat) : Nat := match x with | { fst := x, snd := y } => x - y #eval f1 (20, 15) def g1 (h : Nat × Nat × Nat → Nat) : Nat := h (1, 2, 3) def f2 (w : Nat) : Nat := g1 fun (x, y, z) => x + y + z + w #eval f2 10 def g2 (h : Nat × Nat → Nat × Nat → Nat) : Nat := h (1, 2) (20, 40) def f3 (a : Nat) : Na...
9665cd1cb77e932758080db9b8fc573d0f6d9f5c
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/data/real/cau_seq.lean
b2506789ca54333fadbb336fb721fb6f328d8dbf
[ "Apache-2.0" ]
permissive
ilitzroth/mathlib
ea647e67f1fdfd19a0f7bdc5504e8acec6180011
5254ef14e3465f6504306132fe3ba9cec9ffff16
refs/heads/master
1,680,086,661,182
1,617,715,647,000
1,617,715,647,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
26,015
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import algebra.big_operators.order /-! # Cauchy sequences A basic theory of Cauchy sequences, used in the construction of the reals and p-adic numbers. Where applic...
14dfbff0720723165acc9152ce2c4d865fe6738c
947b78d97130d56365ae2ec264df196ce769371a
/src/Lean.lean
8ef15243758ffb1364ee7c9863238195f10cad7b
[ "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
718
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.Compiler import Lean.Environment import Lean.Modifiers import Lean.ProjFns import Lean.Runtime import Lean.Attributes import Lean.Parser import ...
d78ce1b822b6b0b6b9a864b18787bccbf8cd6814
8b9f17008684d796c8022dab552e42f0cb6fb347
/library/data/nat/power.lean
446e7ec7807f7c2ee49b854f336069d9be571ab7
[ "Apache-2.0" ]
permissive
chubbymaggie/lean
0d06ae25f9dd396306fb02190e89422ea94afd7b
d2c7b5c31928c98f545b16420d37842c43b4ae9a
refs/heads/master
1,611,313,622,901
1,430,266,839,000
1,430,267,083,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,357
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: data.nat.power Authors: Leonardo de Moura Power -/ import data.nat.basic data.nat.div namespace nat definition pow : nat → nat → nat | a 0 := 1 | a (succ b) := a * p...
e62c5647d9745f5f1e8668a52a8a417cffce41cc
491068d2ad28831e7dade8d6dff871c3e49d9431
/library/init/logic.lean
c21169480328aac6ed6b4cb45266d95367da102b
[ "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
23,584
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, Jeremy Avigad, Floris van Doorn -/ prelude import init.datatypes init.reserved_notation /- implication -/ definition implies (a b : Prop) := a → b lemma im...
429756b6d2b941355c8ea1151023737404e287dc
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/topology/metric_space/lipschitz.lean
c221e631ca9051eb3967ac57fee1fed4f991bb12
[ "Apache-2.0" ]
permissive
keeferrowan/mathlib
f2818da875dbc7780830d09bd4c526b0764a4e50
aad2dfc40e8e6a7e258287a7c1580318e865817e
refs/heads/master
1,661,736,426,952
1,590,438,032,000
1,590,438,032,000
266,892,663
0
0
Apache-2.0
1,590,445,835,000
1,590,445,835,000
null
UTF-8
Lean
false
false
11,374
lean
/- Copyright (c) 2018 Rohan Mitta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rohan Mitta, Kevin Buzzard, Alistair Tucker, Johannes Hölzl, Yury Kudryashov -/ import topology.metric_space.basic import category_theory.endomorphism import category_theory.types /-! # ...
908040e82142997a59c11c244aa2ff5ffa50eb9f
4b846d8dabdc64e7ea03552bad8f7fa74763fc67
/library/init/meta/quote.lean
4b9f8813f9cc356d8dbffd3eb77ff7a323179462
[ "Apache-2.0" ]
permissive
pacchiano/lean
9324b33f3ac3b5c5647285160f9f6ea8d0d767dc
fdadada3a970377a6df8afcd629a6f2eab6e84e8
refs/heads/master
1,611,357,380,399
1,489,870,101,000
1,489,870,101,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,644
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ prelude import init.meta.tactic open tactic meta class has_quote (α : Type) := (quote : α → pexpr) @[inline] meta def quote {α : Type} [has_quote α] : α ...
5e2821a759ab3d832513e6f8675e8d8ef660c797
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/blast2.lean
d5dd8c2dae7fb550f895640196ff2671749844ae
[ "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
153
lean
set_option blast.strategy "preprocess" example (a b : Prop) : forall (Ha : a) (Hb : b), a := by blast example (a b : Prop) : a → b → a := by blast
44993e37e31a0feeba49226c6468646035415e51
bb31430994044506fa42fd667e2d556327e18dfe
/src/analysis/analytic/inverse.lean
daf8eb37174567f6d32d32a6a13907d6df969774
[ "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
27,363
lean
/- Copyright (c) 2021 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import analysis.analytic.composition import tactic.congrm /-! # Inverse of analytic functions We construct the left and right inverse of a formal multilinear ...
2e09055ef456bb05080d900f3639a4d9ef10826e
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Lean/Server/FileWorker.lean
993199ff09301cc1a16d66252ac5aa2dfc162a4e
[ "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
23,302
lean
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ import Init.System.IO import Std.Data.RBMap import Std.System.Uri import Lean.Environment import Lean.Data.Lsp import Lean.Data.Json.FromToJson i...
b08be131cd56340750c088a10b7c1dd61e82134e
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/opposite.lean
5ffbb94639c13cc31b4a4f8de98212933b6e9875
[]
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
3,834
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Reid Barton, Simon Hudon, Kenny Lau -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.equiv.basic import Mathlib.PostPort universes u ...
5b20edc29a932fb155565d32314354680e0cd550
1963cb8789bf8cf695607cc2d4106d7fdd8fb9f2
/homework4/homework4.lean
ed00d83e4bd9bc3f0b15089e3d3d61c22e5dffc2
[]
no_license
mtegene/homework-mtegene-master
ed43dd0b8cbcea936b6eec82c614842eca02a406
5f9b3623a46d2d3b98c54d8cbc82962d3fef49f5
refs/heads/master
1,610,605,612,607
1,488,481,866,000
1,488,481,866,000
81,875,687
0
0
null
null
null
null
UTF-8
Lean
false
false
4,838
lean
/- The goal of this assignment is to formalize a proof that there are infinitely many primes. -/ import tools.super -- provides some automation /- The statement -/ namespace nat protected def dvd (m n : ℕ) : Prop := ∃ k, n = m * k instance : has_dvd nat := ⟨nat.dvd⟩ -- remember, type "dvd" with \| def pri...
3a6c1974baafc49fc363e67896fb25fb94860eb6
4727251e0cd73359b15b664c3170e5d754078599
/src/ring_theory/simple_module.lean
1baeee6b8877bd5e034ee443217ebf5d99281b7f
[ "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,337
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import linear_algebra.span import order.atoms /-! # Simple Modules ## Main Definitions * `is_simple_module` indicates that a module has no proper submodules (t...
7d0e72c02b6fb3829206882d995690270f97bc53
8930e38ac0fae2e5e55c28d0577a8e44e2639a6d
/analysis/measure_theory/borel_space.lean
d3e5a0814dc3a5067b43c7529ab02d14c08164b3
[ "Apache-2.0" ]
permissive
SG4316/mathlib
3d64035d02a97f8556ad9ff249a81a0a51a3321a
a7846022507b531a8ab53b8af8a91953fceafd3a
refs/heads/master
1,584,869,960,527
1,530,718,645,000
1,530,724,110,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,298
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl Borel (measurable) space -- the smallest σ-algebra generated by open sets It would be nice to encode this in the topological space type class, i.e. each topological sp...
2d23b61a3edfcd5a69763d04d0d9162d526ad5c1
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/category_theory/fin_category.lean
be38ca3dcd899e1ae3b1534127a6b6f3b6e4dbf1
[ "Apache-2.0" ]
permissive
robertylewis/mathlib
3d16e3e6daf5ddde182473e03a1b601d2810952c
1d13f5b932f5e40a8308e3840f96fc882fae01f0
refs/heads/master
1,651,379,945,369
1,644,276,960,000
1,644,276,960,000
98,875,504
0
0
Apache-2.0
1,644,253,514,000
1,501,495,700,000
Lean
UTF-8
Lean
false
false
3,959
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import data.fintype.basic import category_theory.discrete_category import category_theory.opposites /-! # Finite categories A category is finite in this sense if it...
7a84e89623ddf8694330da86db5fec56315b7c2b
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/category_theory/filtered.lean
f9b769683cf7e339bc77782022748d8e04cee4f6
[ "Apache-2.0" ]
permissive
anthony2698/mathlib
03cd69fe5c280b0916f6df2d07c614c8e1efe890
407615e05814e98b24b2ff322b14e8e3eb5e5d67
refs/heads/master
1,678,792,774,873
1,614,371,563,000
1,614,371,563,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,840
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton -/ import category_theory.fin_category import category_theory.limits.cones import category_theory.adjunction.basic import order.bounded_lattice /-! # Filtered categories A c...
97c96044de86e98ea73b1bf8838e92fbdf846c43
bb31430994044506fa42fd667e2d556327e18dfe
/src/data/list/duplicate.lean
efa5f35a83d938e4d5cd30b56e092289b3e920a2
[ "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
4,434
lean
/- Copyright (c) 2021 Yakov Pechersky. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yakov Pechersky, Chris Hughes -/ import data.list.nodup /-! # List duplicates > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to mat...
80a3d7b5d8f79ed4881fd9599f33f78a2872967a
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/normed/field/unit_ball.lean
397e10d308943710e83bfe13b2839700bf655483
[ "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
7,520
lean
/- Copyright (c) 2022 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov, Heather Macbeth -/ import analysis.normed.field.basic import analysis.normed.group.ball_sphere /-! # Algebraic structures on unit balls and spheres > THIS FILE IS S...
e3634ce687ffa9ef159c1c4aecc09463ca554992
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/data/real/ennreal.lean
d3cc937a952581fdc78b3dbbc1c2b2d2e2f075cf
[ "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
46,833
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 Extended non-negative reals -/ import data.real.nnreal import data.set.intervals noncomputable theory open classical set open_locale classical big_oper...
d936d56a4da4bcfb07a38b8b8d61fc6e9df7f7d7
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/eq_to_hom_auto.lean
241004b519f291874a57241d34259c244c5742f7
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
4,867
lean
/- Copyright (c) 2018 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.opposites import Mathlib.PostPort universes u₁ v₁ v₂ u₂ namesp...
e048ecc006600544fa79d80e00bef378f3b1a7ad
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/decidable.lean
7d712e29cd9575f96d3d3a70031effdd128eda99
[ "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
235
lean
import logic data.unit data.bool open bool unit decidable constants a b c : bool constants u v : unit set_option pp.implicit true check if ((a = b) ∧ (b = c) → ¬ (u = v) ∨ (a = c) → (a = c) ↔ a = tt ↔ true) then a else b
3a9d255a3ac0bfb21301e076ee2bee0104ce8227
36938939954e91f23dec66a02728db08a7acfcf9
/lean/deps/typed_smt2/src/galois/smt2/interface.lean
790906858cccedb0446e8f21f3f459c9afff589f
[ "Apache-2.0" ]
permissive
pnwamk/reopt-vcg
f8b56dd0279392a5e1c6aee721be8138e6b558d3
c9f9f185fbefc25c36c4b506bbc85fd1a03c3b6d
refs/heads/master
1,631,145,017,772
1,593,549,019,000
1,593,549,143,000
254,191,418
0
0
null
1,586,377,077,000
1,586,377,077,000
null
UTF-8
Lean
false
false
1,179
lean
import .basic universes u v namespace smt2 /-- This is a class for generating SMTLIB definitions -/ class is_generator (m : Type u → Type v) extends monad m := -- Assert a Boolean term is true. (assert {} : term Bool → m punit) -- Declare a function (declare_fun {} : symbol → list sort → sort → m punit) -- Declare a...
2fa56e1b46d443ea24e86e4d4a056e6468e24418
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/measure_theory/measure/portmanteau.lean
12f92076938eddbd9cd41cc1dc73c4117f3a4350
[ "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
24,857
lean
/- Copyright (c) 2021 Kalle Kytölä. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kalle Kytölä -/ import measure_theory.measure.probability_measure import measure_theory.measure.lebesgue.basic /-! # Characterizations of weak convergence of finite measures and probabi...
5afc29f367dbe30f3a7a89e87ac28a3eaa9c01c3
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/library/init/data/setoid.lean
166da36ff7100108a905c1281ddd367c0b082d0a
[ "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
812
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 -/ prelude import init.logic universes u class setoid (α : Type u) := (r : α → α → Prop) (iseqv : equivalence r) namespace setoid infix ` ≈ ` := setoid.r va...
79172a7435e62266fc84b7387e5d53ed204f712b
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/rewrite_search/frontend.lean
359ffa3697afb732ec88c2666a061444be716846
[]
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
3,360
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Keeley Hoek, Scott Morrison -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.rewrite_search.explain import Mathlib.tactic.rewrite_search.discovery i...
1a6c3b62b0bfef975bf057aee89b3f1c498efa68
367134ba5a65885e863bdc4507601606690974c1
/src/analysis/convex/cone.lean
b78e74355ca88de532d676fc250b426c760726f6
[ "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
22,743
lean
/- Copyright (c) 2020 Yury Kudryashov All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov, Frédéric Dupuis -/ import linear_algebra.linear_pmap import analysis.convex.basic import order.zorn /-! # Convex cones In a vector space `E` over `ℝ`, we define a co...
7aeca2dec378558c67a32ae0acf872a68d642c40
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/matchAltIndent.lean
473035fbe60a8ab2200d9bdb468cd11dc8eb1ae7
[ "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
76
lean
partial def frob : Nat → Nat | i => if i > 10 then frob 5 else frob (i-1)
61de6c45d3b0c671170959b2bb0ba5d32627ca70
618003631150032a5676f229d13a079ac875ff77
/src/order/bounds.lean
cba8debda1c2bd81a44cb50f81a0348f333ef1ac
[ "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
25,146
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Yury Kudryashov -/ import data.set.intervals.basic /-! # Upper / lower bounds In this file we define: * `upper_bounds`, `lower_bounds` : the set of upper bounds (res...
97a2c335bd47837aeeea7bef5fa6d344b1427936
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/topology/metric_space/pi_Lp.lean
7c9e9247a971f9815da80908edebc0f4501fbab6
[ "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
12,037
lean
/- Copyright (c) 2020 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import analysis.mean_inequalities /-! # `L^p` distance on finite products of metric spaces Given finitely many metric spaces, one can put the max distance on t...
9a0c58a23788267c277ef529230ecafe615c806a
5d166a16ae129621cb54ca9dde86c275d7d2b483
/tests/lean/run/priority_test2.lean
48df160164adbaea34983e0a09d549ee86822c8f
[ "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
748
lean
open nat structure [class] foo := (a : nat) (b : nat) attribute [instance, priority std.priority.default-2] definition i1 : foo := foo.mk 1 1 example : foo.a = 1 := rfl attribute [instance, priority std.priority.default-1] definition i2 : foo := foo.mk 2 2 example : foo.a = 2 := rfl attribute [instance] definitio...
5e034cf897c11f55928edb5aec314fe3c8e4fd28
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/tests/lean/run/nateq.lean
54fdb2e0eed740769a945ecad27cbd959b7e079d
[ "Apache-2.0" ]
permissive
codyroux/lean
7f8dff750722c5382bdd0a9a9275dc4bb2c58dd3
0cca265db19f7296531e339192e9b9bae4a31f8b
refs/heads/master
1,610,909,964,159
1,407,084,399,000
1,416,857,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
917
lean
import data.nat.basic data.bool open bool nat eq.ops reducible nat.rec_on definition is_eq (a b : nat) : bool := nat.rec_on a (λ b, nat.cases_on b tt (λb₁, ff)) (λ a₁ r₁ b, nat.cases_on b ff (λb₁, r₁ b₁)) b example : is_eq 3 3 = tt := rfl example : is_eq 3 5 = ff := rfl theorem eq.to_is_eq (a b : nat) (H : a ...
8dac05093977414fbb929b0c83915800d01785c9
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/inductionParse.lean
5421f3ebda7eac85a10d8d565711cb6515251515
[ "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
108
lean
example (a b : Nat) : True := by induction a generalizing b case zero => trivial case succ => trivial
9f3b1cef62d38677c8e94eb95e6ad14f53835d5a
bf532e3e865883a676110e756f800e0ddeb465be
/group_theory/subgroup.lean
1f93c5611f7ea8fce305a941a1dd58585db83558
[ "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
9,741
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 -/ import data.finset algebra.big_operators data.equiv data.set data.nat.basic set_theory.cardinal open set function finset local infix ` ^ ` := monoid.pow universes ...
c0c82347e9c8cca36b6e45435a08accefaea15fb
63abd62053d479eae5abf4951554e1064a4c45b4
/src/analysis/calculus/iterated_deriv.lean
1a6d97edc98ba0b3a1d7f8014ac853d2a84a826a
[ "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
14,706
lean
/- Copyright (c) 2020 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import analysis.calculus.deriv import analysis.calculus.times_cont_diff /-! # One-dimensional iterated derivatives We define the `n`-th derivative of a functi...
406cef9d18ae2b4e8d07e6afbbc4b50081048690
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/playground/task_test.lean
559a99e9fd65eac3b147c34333ca212d07a21d5c
[ "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
519
lean
def g (x : Nat) : Nat := dbgTrace ("g: " ++ toString x) $ fun _ => x + 1 def f1 (x : Nat) : Nat := dbgSleep 1000 $ fun _ => dbgTrace ("f1: " ++ toString x) $ fun _ => g (x + 1) def f2 (x : Nat) : Nat := dbgSleep 100 $ fun _ => dbgTrace ("f2: " ++ toString x) $ fun _ => g x def main (xs : List String) : IO UIn...
647ad11fc7962ab16b111c7338bcf662e1eb203d
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/def13.lean
9c2c14cf9ea61f3628fa56f7d90c8c4bd5c72314
[ "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
623
lean
new_frontend variables {α} (p : α → Prop) [DecidablePred p] def filter : List α → List α | [] => [] | a::as => if p a then a :: filter as else filter as theorem filter_nil : filter p [] = [] := rfl theorem filter_cons (a : α) (as : List α) : filter p (a :: as) = if p a then a :: filter p as else filter p as := r...
fdefe45844385b02a0f2266bcf9705ad9908afb6
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/nat/order/basic.lean
c0913019067e22b1acf5c53bf7a0c2849863168b
[ "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
23,954
lean
/- Copyright (c) 2014 Floris van Doorn (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Leonardo de Moura, Jeremy Avigad, Mario Carneiro -/ import algebra.order.ring.canonical import data.nat.basic /-! # The natural numb...
5678a5ac8cf592580e908f50773593dfb5813987
1437b3495ef9020d5413178aa33c0a625f15f15f
/data/complex/basic.lean
5de127dfb9fd7608be668c431cfef1c9f5ab86a8
[ "Apache-2.0" ]
permissive
jean002/mathlib
c66bbb2d9fdc9c03ae07f869acac7ddbfce67a30
dc6c38a765799c99c4d9c8d5207d9e6c9e0e2cfd
refs/heads/master
1,587,027,806,375
1,547,306,358,000
1,547,306,358,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
18,056
lean
/- Copyright (c) 2017 Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, Mario Carneiro The complex numbers, modelled as R^2 in the obvious way. -/ import data.real.basic tactic.ring algebra.field structure complex : Type := (re : ℝ) (im : ℝ...