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
c621fa50b5dada6e51e64286d7b3e3a01815721a
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Elab/Arg.lean
a0ebb526c5460fc42601016b5ae0f6c1d0404882
[ "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,124
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Elab.Term namespace Lean.Elab.Term /-- Auxiliary inductive datatype for combining unelaborated syntax and already elaborated expressions. ...
f77b2292edf8642ff7a79c690865794d9156522c
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/test/rewrite.lean
df6c18a1882cdcf590b9d14e408ac1d38fa8018d
[ "Apache-2.0" ]
permissive
dupuisf/mathlib
62de4ec6544bf3b79086afd27b6529acfaf2c1bb
8582b06b0a5d06c33ee07d0bdf7c646cae22cf36
refs/heads/master
1,669,494,854,016
1,595,692,409,000
1,595,692,409,000
272,046,630
0
0
Apache-2.0
1,592,066,143,000
1,592,066,142,000
null
UTF-8
Lean
false
false
1,407
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import tactic.rewrite import data.nat.basic open tactic example : ∀ x y z a b c : ℕ, true := begin intros, have : x + (y + z) = 3 + y, admit, have : a + (b + x) + y + (...
6e52eea93f11718422e4979f241fbf346a160136
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/lake/Lake/Build/Actions.lean
4be6e4e1792ea25776555352ff1b594d891a24fa
[ "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
3,966
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner, Sebastian Ullrich, Mac Malone -/ import Lake.Util.Proc import Lake.Util.NativeLib import Lake.Build.Context namespace Lake open System def compileLeanModule (na...
2681c7aab0c6a31d6dbfb316e3ba42632c050bb3
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebraic_geometry/presheafed_space/gluing.lean
144ed3c721d9e9de6115ab929fbf03e1bef21681
[ "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,250
lean
/- Copyright (c) 2021 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import topology.gluing import algebraic_geometry.open_immersion import algebraic_geometry.locally_ringed_space.has_colimits /-! # Gluing Structured spaces Given a family ...
fb9e79a1b6d2cce3940e98a92c408d5cd31ed56b
1f6fe2f89976b14a4567ab298c35792b21f2e50b
/homotopy/pushout.hlean
fde01fb51fd713c106beec045fef6850bce9711c
[ "Apache-2.0" ]
permissive
jonas-frey/Spectral
e5c1c2f7bcac26aa55f7b1e041a81272a146198d
72d521091525a4bc9a31cac859840efe9461cf66
refs/heads/master
1,610,235,743,345
1,505,417,795,000
1,505,417,795,000
102,653,342
0
0
null
1,504,728,483,000
1,504,728,483,000
null
UTF-8
Lean
false
false
34,660
hlean
import ..algebra.exactness homotopy.cofiber homotopy.wedge open eq function is_trunc sigma prod lift is_equiv equiv pointed sum unit bool cofiber namespace pushout section variables {TL BL TR : Type*} {f : TL →* BL} {g : TL →* TR} {TL' BL' TR' : Type*} {f' : TL' →* BL'} {g' : TL' →* TR'} ...
f44ce250f2d7957bb22c456b62a723e40ad74c3d
9a0b1b3a653ea926b03d1495fef64da1d14b3174
/tidy/rewrite_search/metric/trivial.lean
170289297b9a4b9fe2aff2e39b3a426e484a63f7
[ "Apache-2.0" ]
permissive
khoek/mathlib-tidy
8623b27b4e04e7d598164e7eaf248610d58f768b
866afa6ab597c47f1b72e8fe2b82b97fff5b980f
refs/heads/master
1,585,598,975,772
1,538,659,544,000
1,538,659,544,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,031
lean
import tidy.rewrite_search.core -- The trivial metric: I just report that every vertex is distance zero from every other. open tidy.rewrite_search namespace tidy.rewrite_search.metric.trivial variables {α δ : Type} (g : search_state α unit unit δ) meta def trivial_init : tactic (init_result unit) := init_result.pu...
42815de860280fc64ad15d85e6845863bd47bd1e
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/data/hlist.lean
e200129674dbd2a555ef5921a161970f6cbeeb27
[ "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
2,928
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 Heterogeneous lists -/ import data.list logic.cast open list inductive hlist {A : Type} (B : A → Type) : list A → Type := | nil {} : hlist B [] | cons : ∀ {...
496ba9f0028efd837a62afa5a8b2e2974cf13895
437dc96105f48409c3981d46fb48e57c9ac3a3e4
/src/linear_algebra/basis.lean
b892c31ded9031a1f5aeba906a1b7b31eb1120bc
[ "Apache-2.0" ]
permissive
dan-c-k/mathlib
08efec79bd7481ee6da9cc44c24a653bff4fbe0d
96efc220f6225bc7a5ed8349900391a33a38cc56
refs/heads/master
1,658,082,847,093
1,589,013,201,000
1,589,013,201,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
53,572
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Alexander Bentkamp -/ import linear_algebra.finsupp import order.zorn import data.fintype.card /-! # Linear independence and bases This file defines ...
ca04bf179340aa9e034ad83b5c8691f97455f493
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/nested_match_bug.lean
7f37810f5bb853f8bfbf7a6b64127e521d9ae00d
[ "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
376
lean
inductive Term : Type | app : List Term -> Term namespace Term instance : Inhabited Term := ⟨app []⟩ partial def transform (f : Term -> Option Term) : Term -> Term | t => match f t with | some u => transform f u | none => match t with | app args => let newArgs := args.map (fun arg => transfor...
881e1c28107d46c8ca04b95b39c06a85e58d3d68
ff5230333a701471f46c57e8c115a073ebaaa448
/library/init/data/string/basic.lean
42929583f08f1ea7102e8ee22e39a98ace30a903
[ "Apache-2.0" ]
permissive
stanford-cs242/lean
f81721d2b5d00bc175f2e58c57b710d465e6c858
7bd861261f4a37326dcf8d7a17f1f1f330e4548c
refs/heads/master
1,600,957,431,849
1,576,465,093,000
1,576,465,093,000
225,779,423
0
3
Apache-2.0
1,575,433,936,000
1,575,433,935,000
null
UTF-8
Lean
false
false
8,455
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import init.data.list.basic import init.data.char.basic /- In the VM, strings are implemented using a dynamic array and UTF-8 encoding. TODO: we...
e6de7428c6a3b1eaf397c2186eec649c3df98a3a
5412d79aa1dc0b521605c38bef9f0d4557b5a29d
/stage0/src/Lean/Meta/Tactic/Apply.lean
75b96d0dd950c1a60cd0ff7db852e02892f94e80
[ "Apache-2.0" ]
permissive
smunix/lean4
a450ec0927dc1c74816a1bf2818bf8600c9fc9bf
3407202436c141e3243eafbecb4b8720599b970a
refs/heads/master
1,676,334,875,188
1,610,128,510,000
1,610,128,521,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,288
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.FindMVar import Lean.Meta.ExprDefEq import Lean.Meta.SynthInstance import Lean.Meta.CollectMVars import Lean.Meta.Tactic.Util namespace Le...
712092b8c3e749ec96d5161829d9a541aa56f7f5
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/analysis/calculus/fderiv_analytic.lean
d05088dc5487c336b2dd391433e1ed3af1faad77
[ "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
2,861
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.deriv import analysis.analytic.basic /-! # Frechet derivatives of analytic functions. A function expressible as a power series at a point...
870afbb6517863fedb9b4aba3fb3630e1374bafb
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/topology/algebra/ordered.lean
44f4dbdc8118063064f1fa3c3c4661a6acdefcca
[ "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
44,537
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro Theory of ordered topology. -/ import order.liminf_limsup import data.set.intervals import topology.algebra.group import topology.constructions open cl...
00d71a80ca2e61acd5e24b8e586b03bed1eaa627
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Init/Data/Nat/Log2.lean
0fc581c1015c2269684badee6dc218579067bd50
[ "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
1,038
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ prelude import Init.NotationExtra import Init.Data.Nat.Linear namespace Nat theorem log2_terminates : ∀ n, n ≥ 2 → n / 2 < n | 2, _ => by decide | 3, _ =>...
01ae57c8212b4579f7f2e526704b3fe7c5f5d020
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/analysis/normed_space/add_torsor.lean
31fa8230926f960302002c1e59f2f7a9155eddf9
[ "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
12,568
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers, Yury Kudryashov -/ import analysis.normed_space.basic import linear_algebra.affine_space.midpoint import topology.instances.real_vector_space /-! # Torsors of additive nor...
17406e039f2de724e9ba3b937e22eb509ac539c0
5382d69a781e8d7e4f53e2358896eb7649c9b298
/inverse.lean
920ffbba86c3f5a47a65566fa877397330f95db8
[]
no_license
evhub/lean-math-examples
c30249747a21fba3bc8793eba4928db47cf28768
dec44bf581a1e9d5bf0b5261803a43fe8fd350e1
refs/heads/master
1,624,170,837,738
1,623,889,725,000
1,623,889,725,000
148,759,369
3
0
null
null
null
null
UTF-8
Lean
false
false
4,730
lean
import .util namespace inverse open function open classical (renaming some → unexists) (renaming some_spec → unexists_prop) open classical (choice prop_decidable) local attribute [instance] prop_decidable open util -- one-sided inverses: class invertible.one_sided {T T': Sort _} (f: T → T...
152e49fec7ec1e7d266ae4412f800fdc001deb7d
c777c32c8e484e195053731103c5e52af26a25d1
/src/combinatorics/derangements/exponential.lean
6ab726aa8a1ce289406416205b3ac45ccb5a2ebf
[ "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
1,883
lean
/- Copyright (c) 2021 Henry Swanson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Henry Swanson, Patrick Massot -/ import analysis.special_functions.exponential import combinatorics.derangements.finite import order.filter.basic /-! # Derangement exponential series ...
c07d7a4f4c3ce6e64adc815055ec58454a67a6ff
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/ring_theory/discrete_valuation_ring.lean
7e44203f3d96f34ac166ca6707698d613305c2ac
[ "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
16,277
lean
/- Copyright (c) 2020 Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard -/ import ring_theory.principal_ideal_domain import order.conditionally_complete_lattice import ring_theory.multiplicity import ring_theory.valuation.basic /-! # Discret...
d4c829f38e43de3c0dd97a6b2b41aac773fc8b24
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch5/ex0215.lean
ae8eab92d767b807a420d717e427cbcc60de21f7
[]
no_license
Ailrun/Theorem_Proving_in_Lean
ae6a23f3c54d62d401314d6a771e8ff8b4132db2
2eb1b5caf93c6a5a555c79e9097cf2ba5a66cf68
refs/heads/master
1,609,838,270,467
1,586,846,743,000
1,586,846,743,000
240,967,761
1
0
null
null
null
null
UTF-8
Lean
false
false
100
lean
example (x y : ℕ) (h : x = y) : y = x := begin revert x, intros, symmetry, assumption end
77222ea7bcd3bc3d897fc95ffdd9ee1b0d9f8d84
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/data/nat/basic.lean
2153340a48399d6d9e54e85448ba3a11a641dfd9
[ "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
56,025
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 /-! # Basic operations on the natural numbers This fi...
6feeb12d971a1f402a59843b667eff8a1b6bae2a
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/src/Lean/Meta/RecursorInfo.lean
f4db964d26359a149bd9f72a8b7005e8281101e6
[ "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
13,519
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.AuxRecursor import Lean.Util.FindExpr import Lean.Meta.ExprDefEq namespace Lean.Meta inductive RecursorUnivLevelPos where | motive ...
d5369f9bdf3b81005ec67bb1ecb2db27db398be6
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/control/traversable/derive.lean
3bd145a69f05fcf9dda12edcf818c89a099e328c
[ "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
17,051
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon Automation to construct `traversable` instances -/ import tactic.basic import control.traversable.lemmas namespace tactic.interactive open tactic list monad functor meta d...
0d9c265a71f1840b487a437b88e8bb7e9c04cfbb
c777c32c8e484e195053731103c5e52af26a25d1
/src/analysis/complex/removable_singularity.lean
2e52005a61a26c40378a8f7d405942161fc74173
[ "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,563
lean
/- Copyright (c) 2022 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import analysis.calculus.fderiv_analytic import analysis.asymptotics.specific_asymptotics import analysis.complex.cauchy_integral /-! # Removable singularity theor...
ae6d205b92193a166f109ea33cb5dc59748c99f3
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/data/real/division.lean
d0a54beb12779ac14941307d025b92d8123444b6
[ "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
23,997
lean
/- Copyright (c) 2015 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Robert Y. Lewis The real numbers, constructed as equivalence classes of Cauchy sequences of rationals. This construction follows Bishop and Bridges (1985). At this point, we no longer...
d2777849a9b95f954133524daddc1e701ad1f7ca
02fbe05a45fda5abde7583464416db4366eedfbf
/tests/lean/run/psum_wf_rec.lean
9b849e4553a7a072cc79ff50a39dd9d99a29e540
[ "Apache-2.0" ]
permissive
jasonrute/lean
cc12807e11f9ac6b01b8951a8bfb9c2eb35a0154
4be962c167ca442a0ec5e84472d7ff9f5302788f
refs/heads/master
1,672,036,664,637
1,601,642,826,000
1,601,642,826,000
260,777,966
0
0
Apache-2.0
1,588,454,819,000
1,588,454,818,000
null
UTF-8
Lean
false
false
826
lean
def psum.alt.sizeof {α β} [has_sizeof α] [has_sizeof β] : psum α β → nat | (psum.inl a) := 2*sizeof a + 2 | (psum.inr b) := 2*sizeof b + 1 def sum_has_sizeof_2 {α β} [has_sizeof α] [has_sizeof β] : has_sizeof (psum α β) := ⟨psum.alt.sizeof⟩ local attribute [instance] sum_has_sizeof_2 local attribute [simp] nat.add_co...
a0b4d69c67e303556ad58973d30546b145a90984
4727251e0cd73359b15b664c3170e5d754078599
/src/group_theory/group_action/embedding.lean
25553f746f4f858d97b1973354b72c0f00a910d3
[ "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,898
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 group_theory.group_action.group import group_theory.group_action.pi /-! # Group actions on embeddings This file provides a `mul_action G (α ↪ β)` instance that agr...
ff070e06a66e9d8b16380b80bc0a9d5efb4637e1
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/num/prime_auto.lean
92aae515cff47070488daf91d75c89d26386d358
[]
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
2,882
lean
/- Copyright (c) 2020 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.num.lemmas import Mathlib.data.nat.prime import Mathlib.tactic.ring import Mathlib.Post...
4a4057b8bd587a9a4532b56334206650eed8bb3f
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/field/basic.lean
78eb496fa6ecaf6088a5894f1a7215d50512a70b
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
13,309
lean
/- Copyright (c) 2014 Robert Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Lewis, Leonardo de Moura, Johannes Hölzl, Mario Carneiro -/ import algebra.field.defs import algebra.group_with_zero.units.lemmas import algebra.hom.ring import algebra.ring.inj_s...
0fc2832483ae0143b08e6b61213a980e7b07327f
35b83be3126daae10419b573c55e1fed009d3ae8
/_target/deps/mathlib/analysis/topology/topological_space.lean
0749d003f135816ca0f68849095d0b61ddcff446
[]
no_license
AHassan1024/Lean_Playground
ccb25b72029d199c0d23d002db2d32a9f2689ebc
a00b004c3a2eb9e3e863c361aa2b115260472414
refs/heads/master
1,586,221,905,125
1,544,951,310,000
1,544,951,310,000
157,934,290
0
0
null
null
null
null
UTF-8
Lean
false
false
65,568
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro Theory of topological spaces. Parts of the formalization is based on the books: N. Bourbaki: General Topology I. M. James: Topologies and Uniformit...
52a99eb0a0336282147a3d55d1b7e61fa6f6f1dc
54f4ad05b219d444b709f56c2f619dd87d14ec29
/my_project/src/love01_definitions_and_statements_exercise_sheet.lean
e8d9d216f0102ea1da981bb12d316047594e93f1
[]
no_license
yizhou7/learning-lean
8efcf838c7276e235a81bd291f467fa43ce56e0a
91fb366c624df6e56e19555b2e482ce767cd8224
refs/heads/master
1,675,649,087,737
1,609,022,281,000
1,609,022,281,000
272,072,779
0
0
null
null
null
null
UTF-8
Lean
false
false
4,353
lean
import .love01_definitions_and_statements_demo /-! # LoVe Exercise 1: Definitions and Statements Replace the placeholders (e.g., `:= sorry`) with your solutions. -/ set_option pp.beta true namespace LoVe /-! ## Question 1: Truncating Subtraction 1.1. Define the function `sub` that implements truncating subtrac...
9674a54ae9fb416a0894521f5e768c02d0cf48c6
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/special_functions/complex/arg.lean
c08f7fb3cc240fc96ea92d8e8fa79f3d9366be5f
[ "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
25,066
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 algebra.order.to_interval_mod import analysis.special_functions.trigonometric.angle import analy...
beb7d92143fdb882f56a21a0a6fdc81c8b92d297
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/algebra/group_power.lean
389f17f72f36afa6f1e8739cf88ad6126a512daf
[ "Apache-2.0" ]
permissive
fpvandoorn/mathlib
b21ab4068db079cbb8590b58fda9cc4bc1f35df4
b3433a51ea8bc07c4159c1073838fc0ee9b8f227
refs/heads/master
1,624,791,089,608
1,556,715,231,000
1,556,715,231,000
165,722,980
5
0
Apache-2.0
1,552,657,455,000
1,547,494,646,000
Lean
UTF-8
Lean
false
false
27,178
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis The power operation on monoids and groups. We separate this from group, because it depends on nat, which in turn depends on other parts of algebra. We h...
1fd03e6b44768685cdb367eec4278cdd144f77c6
96e44fc78cabfc9d646dc37d0e756189b6b79181
/library/init/algebra/order.lean
beae81f0ce5c1240a192b318599029aa8d18b687
[ "Apache-2.0" ]
permissive
TwoFX/lean
23c73c10a340f5a381f6abf27a27f53f1fb7e2e3
7e3f336714055869690b7309b6bb651fbc67e76e
refs/heads/master
1,612,504,908,183
1,594,641,622,000
1,594,641,622,000
243,750,847
0
0
Apache-2.0
1,582,890,661,000
1,582,890,661,000
null
UTF-8
Lean
false
false
9,242
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.logic init.classical init.meta.name init.algebra.classes /- Make sure instances defined in this file have lower priority than the ones ...
968ca3b0d3be0c109ec687bb52c46a6b45c2299c
37336e9dcf558f325cf43bdf45bab5d8e455a3b4
/xenalib/real_experiments.lean
08465f0bcec78a1d6c20a178b37030c57197f7a1
[]
no_license
rafaelbailo/xena
bfeab41b3b401c812689a4879d58f2ad046240b5
fad865c3d1bac6279f9a77e8aa6ba7e0cd572e06
refs/heads/master
1,626,002,809,060
1,507,793,086,000
1,507,793,086,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,611
lean
/- Fake real numbers. There are technical difficulties in accessing real numbers in the online version of Lean. Anyone who is using Lean online but wants real numbers can just cut and paste the below code. This gives us a class "real", which is a fake version of the real numbers. See if you can spot any differences! -/...
87842a36a4a87faa3b6b456b95e3632b1ba3c06a
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/hole_issue2.lean
299e22bc6f3705cdde418f4aba375cf3b2c21094
[ "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
1,838
lean
constant bag_setoid : ∀ A, setoid (list A) attribute [instance] bag_setoid definition bag (A : Type) : Type := quotient (bag_setoid A) constant subcount : ∀ {A}, list A → list A → bool constant list.count : ∀ {A}, A → list A → nat constant all_of_subcount_eq_tt : ∀ {A} {l₁ l₂ : list A}, subcount l₁ l₂ = tt → ∀ a, li...
fe0a26096dd0a9bd5b5e29856cc2f01e517cbb70
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/instances/real_auto.lean
130b24b8487d63cba0dc76feb32f8c197d497ce3
[]
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,138
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.metric_space.basic import Mathlib.topology.algebra.uniform_group i...
9983ea9f2044e36b19597cc98365b94baaef6eb3
618003631150032a5676f229d13a079ac875ff77
/test/lint_simp_comm.lean
34bc4e88b8b516b299b5cb86178ae541899900a1
[ "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
1,075
lean
import tactic.lint import algebra.group.basic /-! ## Commutativity lemmas should be rejected -/ attribute [simp] add_comm add_left_comm open tactic #eval do decl ← get_decl ``add_comm, res ← linter.simp_comm.test decl, -- linter complains guard res.is_some open tactic #eval do decl ← get_decl ``add_left_comm, res ...
930bcbf02b2aca36e2c9de44bcc9709672c0017a
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/src/Lean/Elab/Syntax.lean
86c50d586b368b629e8d8f6f9b3c4409ae3d062c
[ "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
18,307
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.Elab.Command import Lean.Parser.Syntax import Lean.Elab.Util namespace Lean.Elab.Term /-- Expand `optional «precedence»` where «precedence» :=...
95ed37fc041abe5480e5028f805b30e71e627a1c
453dcd7c0d1ef170b0843a81d7d8caedc9741dce
/tactic/rewrite.lean
1059f2ca59794a1eac6c90b3b4310e854a8c255c
[ "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
7,414
lean
import data.dlist import meta.expr namespace tactic open expr list meta def match_fn (fn : expr) : expr → tactic (expr × expr) | (app (app fn' e₀) e₁) := (e₀,e₁) <$ unify fn fn' | _ := failed meta def fill_args : expr → tactic (expr × list expr) | (pi n bi d b) := do v ← mk_meta_var d, (r,vs) ← fill_args (b.insta...
e91d70656d38ab4e6a5723914c7119edd4caac0c
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Meta/InferType.lean
83c401fafe999fdbed3510e31c7bb49cf0251433
[ "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
16,816
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:st...
256ab2cdb8edc91ff408958cca6aba64a19fd36d
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/stage0/src/Lean/Elab/Tactic/Induction.lean
622f95d72c0475b93a7ede1421dce2d80a36a9a5
[ "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
27,662
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ import Lean.Util.CollectFVars import Lean.AuxRecursor import Lean.Parser.Term import Lean.Meta.RecursorInfo import Lean.Meta.CollectMVars...
4c33f5edbde474d5e30a9ba45bb1c2a08b8832ed
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/tests/lean/run/struct_instance_in_eqn.lean
7d561bda55b918bea1d320aaa888cf4406c4d316
[ "Apache-2.0" ]
permissive
walterhu1015/lean4
b2c71b688975177402758924eaa513475ed6ce72
2214d81e84646a905d0b20b032c89caf89c737ad
refs/heads/master
1,671,342,096,906
1,599,695,985,000
1,599,695,985,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
155
lean
structure S := (x : Nat) (y : Bool) (z : Nat) (w : Nat) set_option trace.compiler.stage1 true def g : S → S | s@{ x := x, ..} => { s with x := x + 1 }
e1b410fb993bbe5e0f1a0f235d71f60c78a6167c
94e33a31faa76775069b071adea97e86e218a8ee
/src/data/finset/basic.lean
b084904ab0bb84fe8e11969b3d673cb7605bbdb9
[ "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
122,013
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad, Minchao Wu, Mario Carneiro -/ import data.int.basic import data.multiset.finset_ops import tactic.apply import tactic.monotonicity import tacti...
8d5bc7ad57d9ef40c9e9988ddc694dc625c8391c
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/algebra/order/t5.lean
14ac6d4ad9c254459bb17755bcc2c59e7cc4f6a1
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
4,449
lean
/- Copyright (c) 2022 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import topology.order.basic import data.set.intervals.ord_connected_component /-! # Linear order is a completely normal Hausdorff topological space > THIS FILE IS...
d35ff0564094313588dcbe4aeabf37a4e26cbafe
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/ring_theory/polynomial/rational_root.lean
eb7120cabc7ce29fb4dd93bd9a946cb5a73948c1
[]
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,908
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.ring_theory.polynomial.scale_roots import Mathlib.ring_theory.localization import Mathlib.PostPor...
be0bee8111714db0e94abcfa38401cba4aa41bf5
de91c42b87530c3bdcc2b138ef1a3c3d9bee0d41
/old/old_demos_4-8/expressions_demo_current.lean
8c678caf1f09be111c3b38a5afe0de448f728450
[]
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
2,113
lean
import ..eval.time_expr_current /- Adapted from Dr Sullivan's phys/demo/demo.lean to highlight differences from phys and lang -/ open lang.time --Alias std time frame and space def std_fr : time_frame_expr ℚ := [(time_std_frame ℚ)] --(std_frame ℚ TIME) def std_sp : time_space_expr std_fr.value := [(time_std_space ℚ...
efb6dc717a46e09f0caf9cdc1d17875ede9b66a1
66a6486e19b71391cc438afee5f081a4257564ec
/homotopy/susp.hlean
6696f6c1eec3bf9ef10e65aada69cab5aa20af60
[ "Apache-2.0" ]
permissive
spiceghello/Spectral
c8ccd1e32d4b6a9132ccee20fcba44b477cd0331
20023aa3de27c22ab9f9b4a177f5a1efdec2b19f
refs/heads/master
1,611,263,374,078
1,523,349,717,000
1,523,349,717,000
92,312,239
0
0
null
1,495,642,470,000
1,495,642,470,000
null
UTF-8
Lean
false
false
3,075
hlean
import homotopy.susp types.pointed2 ..move_to_lib open susp eq pointed function is_equiv lift equiv is_trunc nat namespace susp variables {X X' Y Y' Z : Type*} definition iterate_susp_iterate_susp_rev (n m : ℕ) (A : Type*) : iterate_susp n (iterate_susp m A) ≃* iterate_susp (m + n) A := begin induction...
131aa8b5a618c0cbbc65547f381653217bcfc94d
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/data/real/order.lean
3a032a9260210a18d9a2254dbd75f53f6ee5ca21
[ "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
38,871
lean
/- Copyright (c) 2015 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Robert Y. Lewis The real numbers, constructed as equivalence classes of Cauchy sequences of rationals. This construction follows Bishop and Bridges (1985). To do: o Rename things and...
b34746037f8782984d7111a716d76dd6493dbb21
69bc7d0780be17e452d542a93f9599488f1c0c8e
/exam-2-study-guide.lean
ea665c30dbcc00d2957425db11aff0483bd73acd
[]
no_license
joek13/cs2102-notes
b7352285b1d1184fae25594f89f5926d74e6d7b4
25bb18788641b20af9cf3c429afe1da9b2f5eafb
refs/heads/master
1,673,461,162,867
1,575,561,090,000
1,575,561,090,000
207,573,549
0
0
null
null
null
null
UTF-8
Lean
false
false
3,444
lean
/- *** I. FORMAL LANGUAGES *** -/ /- Using our implementation of the syntax and semantics of propositional logic, know how to implement the syntax and semantics of simple arithmetic expressions, with natural number literal expressions, natural number-valued variable expressions, and natural number unary and binary op...
5467487a75b1ea39fe3fbf5db708a037f4e31727
7cdf3413c097e5d36492d12cdd07030eb991d394
/src/game/world6/level2.lean
86540e4848cbc2843c4df73cabf2460c363cc9f9
[]
no_license
alreadydone/natural_number_game
3135b9385a9f43e74cfbf79513fc37e69b99e0b3
1a39e693df4f4e871eb449890d3c7715a25c2ec9
refs/heads/master
1,599,387,390,105
1,573,200,587,000
1,573,200,691,000
220,397,084
0
0
null
1,573,192,734,000
1,573,192,733,000
null
UTF-8
Lean
false
false
2,121
lean
/- # Proposition world. ## Level 2 : `intro`. Let's prove an implication. Let $P$ be a true/false statement, and let's prove that $P\implies P$. If you delete the `sorry` you will see that our goal is `P → P`. Constructing a term of type `P → P` (which is what solving this goal *means*) in this case amounts to provi...
7fab046ed5b8701098f731c19ca7dba4a4aa71e7
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/group_theory/group_action/group.lean
ce036680ff4ae59b81be58490f191057692feac9
[ "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
4,968
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.defs import algebra.group.units import algebra.group_with_zero import data.equiv.mul_add import group_theory.perm.basic /-! # Group acti...
fa76aaf8508d73a36a170a85c6a217aacc0ba456
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/multiset/nat_antidiagonal.lean
67d4ebf2debfb203062adeb1bbb70ae40f3f107a
[]
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,465
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.multiset.nodup import Mathlib.data.list.nat_antidiagonal import Mathlib.PostPort name...
6e9b69c149d6d924bebe1a2805429e1e9ab00565
aa2345b30d710f7e75f13157a35845ee6d48c017
/algebra/group_power.lean
5f30344874fc227bd7f605e6e56bdbc99c1eae75
[ "Apache-2.0" ]
permissive
CohenCyril/mathlib
5241b20a3fd0ac0133e48e618a5fb7761ca7dcbe
a12d5a192f5923016752f638d19fc1a51610f163
refs/heads/master
1,586,031,957,957
1,541,432,824,000
1,541,432,824,000
156,246,337
0
0
Apache-2.0
1,541,434,514,000
1,541,434,513,000
null
UTF-8
Lean
false
false
23,258
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis The power operation on monoids and groups. We separate this from group, because it depends on nat, which in turn depends on other parts of algebra. We h...
a3acc2bc61546c8af58d214dab9225ad9f4c691d
a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7
/src/category_theory/limits/shapes/kernels.lean
a3711dc997eb99d4caedf71a5368a9ddc548eb4a
[ "Apache-2.0" ]
permissive
kmill/mathlib
ea5a007b67ae4e9e18dd50d31d8aa60f650425ee
1a419a9fea7b959317eddd556e1bb9639f4dcc05
refs/heads/master
1,668,578,197,719
1,593,629,163,000
1,593,629,163,000
276,482,939
0
0
null
1,593,637,960,000
1,593,637,959,000
null
UTF-8
Lean
false
false
15,648
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Markus Himmel -/ import category_theory.limits.shapes.zero import category_theory.limits.shapes.equalizers /-! # Kernels and cokernels In a category with zero morphis...
d88fbc37eb739df657527dd05cccd5dc49922109
618003631150032a5676f229d13a079ac875ff77
/archive/100-theorems-list/82_cubing_a_cube.lean
a1b698a3069d1aa70335182486d7012f81e3c539
[ "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
23,047
lean
/- Copyright (c) 2019 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn -/ import data.real.basic import data.set.disjointed import data.set.intervals import set_theory.cardinal /-! Proof that a cube (in dimension n ≥ 3) cannot be cubed: ...
78c1bf9abd25e329b36c31d9c0eb11012f693e00
4fa161becb8ce7378a709f5992a594764699e268
/src/data/list/basic.lean
2ad5b7cf7925a4edb4a13d86a6274899c4f83ed6
[ "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
155,161
lean
/- Copyright (c) 2014 Parikshit Khanna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Mario Carneiro -/ import algebra.group import deprecated.group import data.nat.basic import order.rel_classes /...
e1c61db6a46d297e1b4608e242629919d64afb96
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/tactic15.lean
42f5e2cdaa2b9bd804bfac199d2bfc817c0aef53
[ "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
274
lean
import logic open tactic constant A : Type.{1} constant f : A → A → A open eq theorem tst {a b c : A} (H1 : a = b) (H2 : b = c) : f a (f b b) = f b (f c c) := by apply (subst H1); trace "trying again... "; state; apply (subst H2); apply eq.refl
2301718ee3a5890985f3a614d363557dae26db82
ea4aee6b11f86433e69bb5e50d0259e056d0ae61
/src/tidy/congr_struct.lean
ebf08627d7baa947ab336d6cb1198c8a3190780b
[]
no_license
timjb/lean-tidy
e18feff0b7f0aad08c614fb4d34aaf527bf21e20
e767e259bf76c69edfd4ab8af1b76e6f1ed67f48
refs/heads/master
1,624,861,693,182
1,504,411,006,000
1,504,411,006,000
103,740,824
0
0
null
1,505,553,968,000
1,505,553,968,000
null
UTF-8
Lean
false
false
3,274
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison import .applicable open tactic namespace tactic open expr /-- Given a fully applied structure type `ty` with fields `f1`...`fn`, synthesize the proof ...
7ca5ada584d01a3be42ab08f2193020d040f34c3
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/03_Propositions_and_Proofs.org.20.lean
998f577085c76d12d1f6aa0ac73ddc6432a98329
[]
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
140
lean
/- page 39 -/ import standard variables p q : Prop -- BEGIN example (H : p ∧ q) : q ∧ p := and.intro (and.right H) (and.left H) -- END
66b1dd722ececf1d678f93cbeb21bbd253ce4e79
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/int_eval.lean
971ac6cbab94b5ff7cf78fa6781bf68336ad4992
[ "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
557
lean
#eval (1073741823:int) #eval (1073741824:int) #eval ((1073741824:int) + (1:int) - (3:int)) #eval - (2:int) #eval - (1000:int) #eval 10 - (1000:int) #eval (1073741824:int) * 10 #eval (100000:int) * (-3:int) #eval -(1073741823:int) #eval ((1073741824:int) + (1:int) - (1:int)) #eval int.of_nat 1000 #eval int.of_nat 107374...
be4c04d5cda38bee08f6deb20ab4a8e3e2b0634e
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/match2.lean
34117a680c0f6dbfc3157fa1935ec3f38f3057f0
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
cipher1024/lean4
6e1f98bb58e7a92b28f5364eb38a14c8d0aae393
69114d3b50806264ef35b57394391c3e738a9822
refs/heads/master
1,642,227,983,603
1,642,011,696,000
1,642,011,696,000
228,607,691
0
0
Apache-2.0
1,576,584,269,000
1,576,584,268,000
null
UTF-8
Lean
false
false
1,903
lean
#print "---- Op" inductive Op : Nat → Nat → Type | mk : ∀ n, Op n n structure Node : Type where id₁ : Nat id₂ : Nat o : Op id₁ id₂ def h1 (x : List Node) : Bool := match x with | _ :: Node.mk _ _ (Op.mk 0) :: _ => true | _ => false def mkNode (n : Nat) : Node := { id₁...
589c40bce1bdc91cefd366e56c874661855ea018
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/nary_overload2.lean
cdd13d0dacf3ca72d84e6bc73b0433ce282ca326
[ "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
390
lean
import data.list data.examples.vector open nat list vector check [(1:nat), 2, 3] check ([1, 2, 3] : vector nat _) check ([1, 2, 3] : list nat) check (#list [(1:nat), 2, 3]) check (#vector [(1:nat), 2, 3]) example : (#vector [1, 2, 3]) = [(1:nat), 2, 3] := rfl example : (#vector [1, 2, 3]) = ([1, 2, 3] : vector nat _...
948f755e74e4cff972edc4e42a54a82dd1386123
4727251e0cd73359b15b664c3170e5d754078599
/src/data/list/duplicate.lean
638c67ce66c5f9d89a9e9a95aca3d8e16427e291
[ "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
4,323
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 ## Main definitions * `list.duplicate x l : Prop` is an inductive property that holds when `x` is a du...
89b1f5e1f48ebb611c171016263e70ee14ab3b69
b074a51e20fdb737b2d4c635dd292fc54685e010
/src/data/fintype.lean
11844a2c5a427b3307908aa407b1a781a4ba8804
[ "Apache-2.0" ]
permissive
minchaowu/mathlib
2daf6ffdb5a56eeca403e894af88bcaaf65aec5e
879da1cf04c2baa9eaa7bd2472100bc0335e5c73
refs/heads/master
1,609,628,676,768
1,564,310,105,000
1,564,310,105,000
99,461,307
0
0
null
null
null
null
UTF-8
Lean
false
false
33,039
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Finite types. -/ import data.finset algebra.big_operators data.array.lemmas logic.unique import tactic.wlog universes u v variables {α : Type*} {β : Type*} {γ : Type*} ...
ba14d3f26565d1d9e7ba453dc0f8879c3f28d9a9
64874bd1010548c7f5a6e3e8902efa63baaff785
/tests/lean/run/coercion_bug2.lean
6698eab4dae501e4e1c30acbc080b6a36b57f123
[ "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
261
lean
import data.nat open nat inductive list (T : Type) : Type := nil {} : list T, cons : T → list T → list T definition length {T : Type} : list T → nat := list.rec 0 (fun x l m, succ m) theorem length_nil {T : Type} : length (@list.nil T) = 0 := eq.refl _
8c22a9cbb7d4dc3fcbfd0e9636a9268ba50a2f49
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/extra/rec4.lean
eef6d94ebf837d8efef853b2edec02984820573e
[ "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
259
lean
import data.examples.vector open nat vector set_option pp.implicit true set_option pp.notation false definition diag {A : Type} : Π {n}, vector (vector A n) n → vector A n, diag nil := nil, diag ((a :: va) :: vs) := a :: diag (map tail vs)
cd673daef8c50acdefb1f133be71fa432984c08e
a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7
/src/data/monoid_algebra.lean
451baaeda9cdbf2efd344ee1b0bb89f202780f42
[ "Apache-2.0" ]
permissive
kmill/mathlib
ea5a007b67ae4e9e18dd50d31d8aa60f650425ee
1a419a9fea7b959317eddd556e1bb9639f4dcc05
refs/heads/master
1,668,578,197,719
1,593,629,163,000
1,593,629,163,000
276,482,939
0
0
null
1,593,637,960,000
1,593,637,959,000
null
UTF-8
Lean
false
false
26,060
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Yury G. Kudryashov, Scott Morrison -/ import data.finsupp import ring_theory.algebra /-! # Monoid algebras When the domain of a `finsupp` has a multiplicative or addi...
a004a75227b639ef893444a5878b2d71f7ee1ba7
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/set_theory/zfc/basic.lean
7b7600f04ced7acfac026a4e369214ac12b29f4c
[ "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
41,030
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.set.lattice import logic.small import order.well_founded /-! # A model of ZFC In this file, we model Zermelo-Fraenkel set theory (+ Choice) using Lean's...
e91245bcdac1138ff78ed67864204346fcdaa753
ac89c256db07448984849346288e0eeffe8b20d0
/stage0/src/Init/Prelude.lean
383e5c6e07111d65af23eec2d739ee4e61d39d2a
[ "Apache-2.0" ]
permissive
chepinzhang/lean4
002cc667f35417a418f0ebc9cb4a44559bb0ccac
24fe2875c68549b5481f07c57eab4ad4a0ae5305
refs/heads/master
1,688,942,838,326
1,628,801,942,000
1,628,801,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
75,418
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 -/ prelude universe u v w @[inline] def id {α : Sort u} (a : α) : α := a /- `idRhs` is an auxiliary declaration used to implement "smart unfolding". It is u...
89ea0175bede8a4f87ecc0da890ae7940dbf3bfe
b412a6d3e313459a241fcd7941e1ec91263762eb
/move_to_lib.hlean
ced7791ada34c998ce92f0c23f8dbcc5a069a774
[ "Apache-2.0" ]
permissive
avigad/Spectral
fb5b87f7d25746b2203fbe6fdc0c80f7035158c9
6e2d8807f467e9662bace347bdfcaed593cba147
refs/heads/master
1,607,307,431,821
1,503,349,559,000
1,503,349,559,000
47,590,774
0
0
null
null
null
null
UTF-8
Lean
false
false
41,271
hlean
-- definitions, theorems and attributes which should be moved to files in the HoTT library import homotopy.sphere2 homotopy.cofiber homotopy.wedge hit.prop_trunc hit.set_quotient eq2 types.pointed2 open eq nat int susp pointed sigma is_equiv equiv fiber algebra trunc pi group is_trunc function unit prod bool at...
e02cd0acef52b22410b4c4733bd59ca1634896af
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/tactic/basic.lean
1dfddba76b78d74ac4fc78384c9d2990237291af
[ "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
792
lean
import tactic.alias import tactic.clear import tactic.converter.apply_congr import tactic.delta_instance import tactic.elide import tactic.explode import tactic.find import tactic.finish import tactic.generalizes import tactic.generalize_proofs import tactic.lift import tactic.lint import tactic.localized import tactic...
cac7ae135ccc7f6d00364fab4fde1f1d0c93e11e
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/theories/analysis/metric_space.lean
e5c2911f4c44abc2ae0cf5561dce65c08cdfba9c
[ "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
27,572
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad Metric spaces. -/ import data.real.complete data.pnat data.list.sort ..topology.basic data.set open nat real eq.ops classical structure metric_space [class] (M : Type) : ...
ab13cb26e657007c98a77d3015467ae7de139495
5b273b8c05e2f73fb74340ce100ce261900a98cd
/binomial.lean
9ca96d81df4b53652d6c6cf4760213e578e68f56
[]
no_license
ChrisHughes24/leanstuff1
2eba44bc48da6e544e07495b41e1703f81dc1c24
cbcd788b8b1d07b20b2fff4482c870077a13d1c0
refs/heads/master
1,631,670,333,297
1,527,093,981,000
1,527,093,981,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,315
lean
import algebra.big_operators data.real.cau_seq tactic.ring algebra.archimedean data.nat.choose analysis.limits open nat is_absolute_value variables {α : Type*} {β : Type*} (f g : ℕ → α) (n m : ℕ) local infix `^` := monoid.pow local notation f ` ∑ ` : 90 n : 90 := finset.sum (finset.range n) f section sum_range var...
f3642faa0a50f8ed60396851f7552ea8895e346a
9a2260f3b7b64ae9c50bf326fdb0387f5ac64683
/src/NITRO/Elements.lean
2ec6067acbae7eb04346633c76caf1d496a3a7b1
[ "LicenseRef-scancode-mit-taylor-variant", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
o89/nitro
e8e1c7f3e7baeb7a659f899c605d37b1d3e553a6
c62a67398a89d6e6a2e9da62350adaf5f17cfda9
refs/heads/master
1,670,068,174,264
1,669,086,407,000
1,669,086,407,000
204,147,098
3
5
null
null
null
null
UTF-8
Lean
false
false
245
lean
import NITRO.Tags variable {α : Type} def div := @Elem.tag α "div" def title := @Elem.tag α "title" [] def idAttr := Attr.str "id" def classAttr := Attr.list "class" def br := @Elem.unpaired α "br" [] def hr := @Elem.unpaired α "hr" []
fcfe8ae7bd0af97076f4ff6ec2487f6e6864a6bf
63abd62053d479eae5abf4951554e1064a4c45b4
/src/linear_algebra/direct_sum/tensor_product.lean
361936a9ca50cf3040d52f3ba963798f637a1fc7
[ "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
2,277
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 -/ import linear_algebra.tensor_product import linear_algebra.direct_sum_module section ring namespace tensor_product open_locale tensor_product open_locale dir...
e0e3cc58e0d75905fdc89fe45135dfa898931aa1
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/cc_value.lean
e053c0bd65763554ea80b3414f1223a53fd29e71
[ "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
412
lean
open tactic example (a b : nat) : a = 1 → b = 2 → a = b → false := by cc example (a b c : int) : a = 1 → c = -2 → a = b → c = b → false := by cc example (a b : char) : a = 'h' → b = 'w' → a = b → false := by cc example (a b : string) : a = "hello" → b = "world" → a = b → false := by cc example (a b c : string) : a...
512ff287fab40317d9eed9b1a3a6fcb1e1591d04
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/rbmap/default.lean
c4bfe039c17e4aac7a0ea98c38787254b59968dd
[ "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
15,049
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 import data.rbmap.basic universes u v namespace rbmap variables {α : Type u} {β : Type v} {lt : α → α → Prop} /- Auxiliary instances -...
804705a59fcf03fd7a60b79492c9c93a9f4eac11
b561a44b48979a98df50ade0789a21c79ee31288
/src/Init/Data/Array/Basic.lean
86765aa384f5599ff495b805c904b9a0536d4289
[ "Apache-2.0" ]
permissive
3401ijk/lean4
97659c475ebd33a034fed515cb83a85f75ccfb06
a5b1b8de4f4b038ff752b9e607b721f15a9a4351
refs/heads/master
1,693,933,007,651
1,636,424,845,000
1,636,424,845,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
27,536
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Data.Nat.Basic import Init.Data.Fin.Basic import Init.Data.UInt import Init.Data.Repr import Init.Data.ToString.Basic import Init.Util u...
a46b58b80c57c747218796df623d9e5d54438ef7
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/bounded_continuous_function_auto.lean
16eba22a58acab58e4f01476c45192222cc2aa74
[]
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
27,767
lean
/- Copyright (c) 2018 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel, Mario Carneiro, Yury Kudryashov, Heather Macbeth -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.analysis.normed_space.basic import ...
411379a7d6af1307ca009bd230f0074c3a912288
5fbbd711f9bfc21ee168f46a4be146603ece8835
/lean/natural_number_game/power/6.lean
78c263a0d479a853534d764c0eb8dff9d90305a3
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
goedel-gang/maths
22596f71e3fde9c088e59931f128a3b5efb73a2c
a20a6f6a8ce800427afd595c598a5ad43da1408d
refs/heads/master
1,623,055,941,960
1,621,599,441,000
1,621,599,441,000
169,335,840
0
0
null
null
null
null
UTF-8
Lean
false
false
166
lean
lemma mul_pow (a b n : mynat) : (a * b) ^ n = a ^ n * b ^ n := induction n with d hd, repeat {rw pow_zero}, simp, repeat {rw pow_succ}, rw hd, simp, end
1562112825ad356f4236095ac708cef8d24ae331
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/data/zmod/quadratic_reciprocity.lean
c4a8bc90746eb4af7d07c0f11d2bdd29ed7b50cb
[ "Apache-2.0" ]
permissive
vaibhavkarve/mathlib
a574aaf68c0a431a47fa82ce0637f0f769826bfe
17f8340912468f49bdc30acdb9a9fa02eeb0473a
refs/heads/master
1,621,263,802,637
1,585,399,588,000
1,585,399,588,000
250,833,447
0
0
Apache-2.0
1,585,410,341,000
1,585,410,341,000
null
UTF-8
Lean
false
false
23,223
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 field_theory.finite data.zmod.basic data.nat.parity /-! # Quadratic reciprocity. This file contains results about quadratic residues modulo a prime number. The...
30d99d39051f87601c6406cc58e3cc21eb952137
9dc8cecdf3c4634764a18254e94d43da07142918
/src/combinatorics/simple_graph/connectivity.lean
4b5e0aec79048f9d4713d20e5a54bb87b88e9cd4
[ "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
52,427
lean
/- Copyright (c) 2021 Kyle Miller. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kyle Miller -/ import combinatorics.simple_graph.basic import combinatorics.simple_graph.subgraph import data.list /-! # Graph connectivity In a simple graph, * A *walk* is a finite se...
70d2b73f99dbf8de280fdf6c390d6741fde37bea
5e42295de7f5bcdf224b94603a8ec29b17c2d367
/additive_tests.lean
33cc46a39c4fc708a61210f8084264c846548ed4
[]
no_license
pnmadelaine/lean_polya
9369e0d87dce773f91383bb58ac6fde0a00a1a40
1c62b0b3fa71044b0225ce28030627d251b08ebc
refs/heads/master
1,590,161,172,243
1,515,010,019,000
1,515,010,019,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,429
lean
import control variables x y z : ℚ #exit example (e1 : x < 1*y) (e2 : z < 1*y) (e3 : x + z > 3*y) (e4 : x + z >0) : false := by polya e1 e2 e3 e4 /-exps ← monad.mapm get_local [`e1, `e2, `e3, `e4], bb ← add_proofs_to_blackboard blackboard.mk_empty exps, bb.trace_exprs, (_, bb) ← return $ add_new_ineqs bb, b...
d1d2b7db5e4686445f301080a720deed14b582c5
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/category/Ring/limits.lean
c59aaa2422e9d061d59ed98da1b707de6a7ebaf1
[ "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
18,609
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 algebra.ring.pi import algebra.category.Ring.basic import algebra.category.Group.limits import ring_theory.subring.basic /-! # The category of (commutative) r...
1d78a746f04c0736d4219ff5ed277beca7ae4e21
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/algebra/group/defs.lean
ddc201b75a2cdb98b393fc990e403aad9727a532
[ "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
29,653
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, Simon Hudon, Mario Carneiro -/ import algebra.group.to_additive import tactic.basic /-! # Typeclasses for (semi)groups and monoids In this file we de...
adde855b525c007069cc4e516973754841684741
4b846d8dabdc64e7ea03552bad8f7fa74763fc67
/library/init/meta/converter.lean
7b15d876172b86aa3b4dedb4dc88c72e2c310321
[ "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
8,866
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 Converter monad for building simplifiers. -/ prelude import init.meta.tactic init.meta.simp_tactic import init.meta.congr_lemma init.meta.match_tactic open ta...
00eff52efbad5d5f28bf284cf5060abc1653bdd6
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/fintype/prod.lean
e46ad8a5ded577e0ad7526025fa411a7ad132179
[ "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,070
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.fintype.card import data.finset.prod /-! # fintype instance for the product of two fintypes. -/ open function open_locale nat universes u v variables...
3aeada49d68e2cfaf9e09b72bbefb728b266c932
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/field_theory/is_alg_closed/algebraic_closure.lean
1a755a816eeefb05ccd8f150a8a4687fe475fec2
[ "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
10,844
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import algebra.direct_limit import field_theory.is_alg_closed.basic /-! # Algebraic Closure In this file we construct the algebraic closure of a field ## Main Definitions - ...
20edf8e8ebd26964e4bb96e75fcf7d28d2709a1a
ca1ad81c8733787aba30f7a8d63f418508e12812
/clfrags/src/hilbert/kleene/l4.lean
fa14b769a77891d8e17945cdc6d48df0a2fc0d75
[]
no_license
greati/hilbert-classical-fragments
5cdbe07851e979c8a03c621a5efd4d24bbfa333a
18a21ac6b2e890060eb4ae65752fc0245394d226
refs/heads/master
1,591,973,117,184
1,573,822,710,000
1,573,822,710,000
194,334,439
2
0
null
null
null
null
UTF-8
Lean
false
false
1,723
lean
namespace hidden constant and : Prop → Prop → Prop constant or : Prop → Prop → Prop constant imp : Prop → Prop → Prop constant neg : Prop → Prop constant top : Prop constant bot : Prop notation a `or` b := or a b notation a `imp` b := imp a b notation a `and` b := and a b axiom cl₁ : ∀ {a b : Prop}, a → (a imp b) →...
f6763ca64a0a0ed46c96eca5535c28ceaf8ebb38
df561f413cfe0a88b1056655515399c546ff32a5
/8-inequality-world/l4.lean
2033fdec2fe1874ac712d0c73011bbc7eb766807
[]
no_license
nicholaspun/natural-number-game-solutions
31d5158415c6f582694680044c5c6469032c2a06
1e2aed86d2e76a3f4a275c6d99e795ad30cf6df0
refs/heads/main
1,675,123,625,012
1,607,633,548,000
1,607,633,548,000
318,933,860
3
1
null
null
null
null
UTF-8
Lean
false
false
74
lean
lemma zero_le (a : mynat) : 0 ≤ a := begin use a, rw zero_add, refl, end
c5f25a1b90d9c0cfa36f9bee7fe83f43d23a3831
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Data/Lsp/Capabilities.lean
e6c178544f6cc0f070e74677d860331959416b53
[ "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
3,262
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 Lean.Data.JsonRpc import Lean.Data.Lsp.TextSync import Lean.Data.Lsp.LanguageFeatures import Lean.Data.Lsp.CodeActions /-! Minimal LSP serve...
728927e4c630755ca89ee07553ac8afb49dce842
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/limits/shapes/concrete_category.lean
4956e18c20747a70e0a341a5fc78829ff81c987a
[ "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
673
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.limits.shapes.kernels import category_theory.concrete_category.basic import tactic.elementwise /-! # Facts about limits of functors into concr...
ce86bdb30bd16e8e2f2adc783d5a79005b1d0de9
9e90bb7eb4d1bde1805f9eb6187c333fdf09588a
/src/lib/attributed/to_mathlib.lean
0311ea45405740e883e5bc93e1cd94ee9686e4d8
[ "Apache-2.0" ]
permissive
alexjbest/stump-learnable
6311d0c3a1a1a0e65ce83edcbb3b4b7cecabb851
f8fd812fc646d2ece312ff6ffc2a19848ac76032
refs/heads/master
1,659,486,805,691
1,590,454,024,000
1,590,454,024,000
266,173,720
0
0
Apache-2.0
1,590,169,884,000
1,590,169,883,000
null
UTF-8
Lean
false
false
31,317
lean
/- Various lemmas intended for mathlib. Some parts of this file are originally from https://github.com/johoelzl/mathlib/blob/c9507242274ac18defbceb917f30d6afb8b839a5/src/measure_theory/measurable_space.lean Authors: Johannes Holzl, John Tristan, Koundinya Vajjha -/ import tactic.tidy import measure_theory.giry_mon...
7c856c6d4e43cbeaad7c3b146d4e9ec8604c5e72
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/src/Lean/Parser/Extension.lean
e01c29f5c442de2d861ae4135cd9cf85b53291f7
[ "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
26,301
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ import Lean.ScopedEnvExtension import Lean.Parser.Basic import Lean.Parser.StrInterpolation import Lean.KeyedDeclsAttribute /-! Extensib...
5a4ecd1d6251a34f5832e9503e963bc0f33ab33a
aa5a655c05e5359a70646b7154e7cac59f0b4132
/src/Init/Core.lean
de20f0154169b16eb95e80c872fb4f225c3fe764
[ "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
34,229
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura notation, basic datatypes and type classes -/ prelude import Init.Prelude import Init.SizeOf universes u v w def inline {α : Sort u} (a : α) : α := a @[inl...
29c065587e47e9ca5b37b7585f4d797003da36f4
75c54c8946bb4203e0aaf196f918424a17b0de99
/old/language_term_ln.lean
e204449c11a26deea6a3cda62faf663eae0eb535
[ "Apache-2.0" ]
permissive
urkud/flypitch
261e2a45f1038130178575406df8aea78255ba77
2250f5eda14b6ef9fc3e4e1f4a9ac4005634de5c
refs/heads/master
1,653,266,469,246
1,577,819,679,000
1,577,819,679,000
259,862,235
1
0
Apache-2.0
1,588,147,244,000
1,588,147,244,000
null
UTF-8
Lean
false
false
4,679
lean
/- 2018-10-12T21:52:34 Locally nameless formulas, built off Floris' preterms ---Jesse I wanted to avoid the headache over shifts (at the cost of needing to define a well-formedness predicate on terms); my implementation of locally nameless formulas is based off Chargueraud's paper (thanks for the pointer Jeremy!). TO...
883c4e899ad7f55223b8fa56a59cdd6d0472cbc4
274748215b6d042f0d9c9a505f9551fa8e0c5f38
/src/affine_algebraic_set/intersection.lean
16612961424c776b5d0db7fafece75448dc6f1ce
[ "Apache-2.0" ]
permissive
ImperialCollegeLondon/M4P33
878ecb515c77d20cc799ff1ebd78f1bf4fd65c12
1a179372db71ad6802d11eacbc1f02f327d55f8f
refs/heads/master
1,607,519,867,193
1,583,344,297,000
1,583,344,297,000
233,316,107
59
4
Apache-2.0
1,579,285,778,000
1,578,788,367,000
Lean
UTF-8
Lean
false
false
2,032
lean
/- The intersection of algebraic sets is an algebraic set. Kevin Buzzard -/ import affine_algebraic_set.basic -- the basic theory of affine algebraic sets. /- # The intersection of (any number of) affine algebraic sets is affine. Let k be a field and let n be a natural number. We prove the following theorem in this...
2bbf4cb2817d89aaf4ec464290b79402771bfb90
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/export.lean
7983c99a683f4cc915215355ef1de550b42a0663
[ "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
206
lean
import data.nat constants a b : nat namespace boo export nat (rec add) check a + b check nat.add check boo.add check add end boo check boo.rec open boo check a + b check boo.rec check nat.rec
1f14a5946cf48ae1076431a5e11457b6c464252c
367134ba5a65885e863bdc4507601606690974c1
/src/field_theory/minpoly.lean
d437ddc4ebebbd971697b89263e960832970fceb
[ "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
17,956
lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johan Commelin -/ import data.polynomial.field_division import ring_theory.integral_closure import ring_theory.polynomial.gauss_lemma /-! # Minimal polynomials This file ...
e85b093e5dda139a50abc9e424d74e3b104df423
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/tests/lean/run/decClassical.lean
ed2d59fd99b405bbf929646c700004994b09ab5d
[ "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
309
lean
open Classical theorem ex : if (fun x => x + 1) = (fun x => x + 2) then False else True := by have : (fun x => x + 1) ≠ (fun x => x + 2) := by intro h have : 1 = 2 := congrFun h 0 contradiction rw [ifNeg this] exact True.intro def tst (x : Nat) : Bool := if 1 < 2 then true else false