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
8fd5ef086982dd12e54cac13f04ae2cfbbd8accd
94e33a31faa76775069b071adea97e86e218a8ee
/src/category_theory/abelian/exact.lean
7fcfc6ebf5cf057f1ff49ad6e952fbc08fd77f01
[ "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
13,125
lean
/- Copyright (c) 2020 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel, Adam Topaz, Johan Commelin, Jakob von Raumer -/ import category_theory.abelian.opposite import category_theory.limits.constructions.finite_products_of_binary_products imp...
7e89996e0f22e974b8e53db94a2e6b7220833c18
9d2e3d5a2e2342a283affd97eead310c3b528a24
/src/exercises_sources/tuesday/afternoon/logic.lean
5dcc860df4f96e2dbcfde963a2e02ebe41cca363
[]
permissive
Vtec234/lftcm2020
ad2610ab614beefe44acc5622bb4a7fff9a5ea46
bbbd4c8162f8c2ef602300ab8fdeca231886375d
refs/heads/master
1,668,808,098,623
1,594,989,081,000
1,594,990,079,000
280,423,039
0
0
MIT
1,594,990,209,000
1,594,990,209,000
null
UTF-8
Lean
false
false
5,598
lean
/- Lean for the Curious Mathematician Tuesday, July 14, 2020 13:00 session Happy Bastille Day! -/ import data.real.basic /-! ## Logic -/ /-! ### Agenda - a quick overview of Lean's tactics for dealing with logical connectives - continue with Patrick Massot's tutorial After the overview, I will ask you to tell us h...
00fb90b022d53b36320db27916600a8729e74fd7
4b846d8dabdc64e7ea03552bad8f7fa74763fc67
/library/init/meta/inductive_compiler.lean
bdb4c98f73993b7cf2a7f6994a857de30960029e
[ "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
4,394
lean
/- Copyright (c) 2017 Daniel Selsam. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Daniel Selsam -/ prelude import init.meta.tactic init.meta.simp_tactic init.meta.rewrite_tactic init.meta.converter init.function namespace inductive_compiler namespace tactic open tac...
6fb6a8b15aa12669afd3d877b8f8191168f61ceb
4fa161becb8ce7378a709f5992a594764699e268
/src/analysis/analytic/composition.lean
fe1dfb414b8965fd6d12ed248338ee3d7a9807c7
[ "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
56,625
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, Johan Commelin -/ import analysis.analytic.basic import combinatorics.composition /-! # Composition of analytic functions in this file we prove that the composi...
0363542014b50416b4be47e26e5648d207090dcd
947b78d97130d56365ae2ec264df196ce769371a
/stage0/src/Lean/Util/Constructions.lean
0d7abe401d20fe09aefaeb09a6554b98ba05e57b
[ "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
961
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.Environment namespace Lean @[extern "lean_mk_cases_on"] constant mkCasesOn (env : Environment) (name : @& Name) : Environment := env @[extern ...
b372a3fa76a0dc5b8672a446444732d51d6946ae
8b9f17008684d796c8022dab552e42f0cb6fb347
/tests/lean/run/rewrite8.lean
3818cb050e5f6753c5b5f864d54e1d0e5f45fe9c
[ "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
192
lean
import data.nat open nat constant f : nat → nat theorem tst1 (x y : nat) (H1 : (λ z, z + 0) x = y) : f x = f y := by rewrite [▸* at H1, ^add at H1, ^nat.rec_on at H1, ^of_num at H1, H1]
4104009310d74714ce9b315338d232fd72320d3c
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/special_functions/compare_exp.lean
c48a5ca404fbdacf3770ec470d6e167f0a863de7
[ "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
9,271
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.special_functions.pow.asymptotics import analysis.asymptotics.asymptotic_equivalent import analysis.asymptotics.specific_asymptotics /-! # Growth e...
0dfbe612f3f07ff32fde9b8bd72d6a069497e3b2
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/rel.lean
648ba5244df3179661145fd941188b5c9061265e
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
8,357
lean
/- Copyright (c) 2018 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad Operations on set-valued functions, aka partial multifunctions, aka relations. -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.set.latt...
3b84cfe08f476c6e15db65437e2465db88e29bc2
b2fe74b11b57d362c13326bc5651244f111fa6f4
/src/algebra/free_algebra.lean
f9b0fe9eafebdc729932331ababe17de655f817d
[ "Apache-2.0" ]
permissive
midfield/mathlib
c4db5fa898b5ac8f2f80ae0d00c95eb6f745f4c7
775edc615ecec631d65b6180dbcc7bc26c3abc26
refs/heads/master
1,675,330,551,921
1,608,304,514,000
1,608,304,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
15,767
lean
/- Copyright (c) 2020 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Scott Morrison, Adam Topaz. -/ import algebra.algebra.subalgebra import algebra.monoid_algebra import linear_algebra import data.equiv.transfer_instance /-! # Free Algebras Given a commut...
58597acd76df4ba03772969895d4bbe9a009a4ab
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/multiset/bind.lean
1942de94367d9bc25de3af4056e6621bc7ccde1e
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
9,275
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 algebra.big_operators.multiset /-! # Bind operation for multisets This file defines a few basic operations on `multiset`, notably the monadic bind. ## Main ...
f901df65d8382302c78ad4a0c06994e5102e5405
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/class_instance_param.lean
a870e9637f06e34fa68d612e304e87900b584743
[ "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
282
lean
universes u class densely_ordered (α : Type u) [preorder α] : Prop := (dense : ∀ a c : α, a < c → ∃ b, a < b ∧ b < c) -- [preorder α] should be instance implicit in all of the following: #check @densely_ordered #check @densely_ordered.mk #check @densely_ordered.dense
6d38a6ce3dffb4f30398d9b1be507e37d7d4ad28
4727251e0cd73359b15b664c3170e5d754078599
/src/linear_algebra/clifford_algebra/equivs.lean
97143343bc02f58cebd598788fae6b38ab41df42
[ "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
15,063
lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import algebra.quaternion_basis import data.complex.module import linear_algebra.clifford_algebra.conjugation import algebra.dual_number import linear_algebra.quadratic_for...
f8d698609802ea1713732c1072aed4de8407fcd1
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/tests/lean/ex2.lean
15656a7752eff3aa6ddfa96a4a1a9ebf8dc6686b
[ "Apache-2.0" ]
permissive
codyroux/lean0.1
1ce92751d664aacff0529e139083304a7bbc8a71
0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef
refs/heads/master
1,610,830,535,062
1,402,150,480,000
1,402,150,480,000
19,588,851
2
0
null
null
null
null
UTF-8
Lean
false
false
374
lean
-- comment print true set_option lean::pp::notation false print true && false set_option pp::unicode false print true && false variable a : Bool variable a : Bool variable b : Bool print a && b variable A : Type check a && A print environment 1 print options set_option lean::p::notation true set_option lean::pp::notati...
23b448d98622f0b955acde247330bd95d197b853
bdb33f8b7ea65f7705fc342a178508e2722eb851
/tests/examples.lean
801817d5a901bf2ce7e10b1587b558b831206f67
[ "Apache-2.0" ]
permissive
rwbarton/mathlib
939ae09bf8d6eb1331fc2f7e067d39567e10e33d
c13c5ea701bb1eec057e0a242d9f480a079105e9
refs/heads/master
1,584,015,335,862
1,524,142,167,000
1,524,142,167,000
130,614,171
0
0
Apache-2.0
1,548,902,667,000
1,524,437,371,000
Lean
UTF-8
Lean
false
false
1,695
lean
open tactic universe u variable {α : Type} example (s t u : set ℕ) (h : s ⊆ t ∩ u) (h' : u ⊆ s) : u ⊆ s → true := begin dunfold has_subset.subset has_inter.inter at *, -- trace_state, intro1, triv end example (s t u : set ℕ) (h : s ⊆ t ∩ u) (h' : u ⊆ s) : u ⊆ s → true := begin delta has_subset.subset has_inte...
821710a49a78938e52317b6c807d4012f304ad23
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/data/int/basic.lean
ce48052195d647fd6614f9118b4b18fa49d01316
[ "Apache-2.0" ]
permissive
abentkamp/mathlib
d9a75d291ec09f4637b0f30cc3880ffb07549ee5
5360e476391508e092b5a1e5210bd0ed22dc0755
refs/heads/master
1,682,382,954,948
1,622,106,077,000
1,622,106,077,000
149,285,665
0
0
null
null
null
null
UTF-8
Lean
false
false
56,025
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad The integers, with addition, multiplication, and subtraction. -/ import data.nat.basic import algebra.order_functions open nat namespace int instance : inhabited ℤ := ...
2b8595b6f87f8ec7aa56341f9eaa106a3fef5878
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/emptyTypeAscription.lean
d63daff3a4818074ff880a5217944df393221c2e
[ "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
533
lean
example : Nat := ( .zero : Nat) example : Nat := ( .zero : _) example : Nat := ( .zero :) -- fail example : Nat := by have' := .zero; exact this -- fail def add (x y : Nat) := x + y example (h₁ : z = x + y) (h₂ : w = z) : w = add x y := have := h₁ ▸ h₂; by exact this example (h₁ : z = x + y) (h₂ : w = z) : w = add x ...
92023cc5c36985d7b588b6acebbda58ae587d681
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/03_Propositions_and_Proofs.org.14.lean
56289c34ae6c84a50e05705e744458922027ae2c
[]
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
177
lean
/- page 37 -/ import standard theorem t1 (p q : Prop) (Hp : p) (Hq : q) : p := Hp variables p q r s : Prop -- BEGIN premise H : r → s check t1 (r → s) (s → r) H -- END
fa25adde124fadc7f4895c47162cda13cc9158a3
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/tests/lean/run/have6.lean
ea3ca93dc09bb354afe525b2dfa12dd7a72c49fa
[ "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
651
lean
definition Prop : Type.{1} := Type.{0} constant and : Prop → Prop → Prop infixl `∧`:25 := and constant and_intro : forall (a b : Prop), a → b → a ∧ b constants a b c d : Prop axiom Ha : a axiom Hb : b axiom Hc : c check have a ∧ b, from and_intro a b Ha Hb, have [visible] b ∧ a, from and_intro b a Hb Ha, have H :...
1d7d83be8a317ed575129ad9c3dbd98b6789f80a
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/localization/ideal.lean
93a871f3285fd84c25b74837e9a6cf9bcbb13fac
[ "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
9,694
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro, Johan Commelin, Amelia Livingston, Anne Baanen -/ import ring_theory.ideal.quotient_operations import ring_theory.localization.basic /-! # Ideals in localization...
73dbe6b1a15e5ed24c4f1c277a72043c735749bd
9dc8cecdf3c4634764a18254e94d43da07142918
/src/measure_theory/integral/circle_transform.lean
36b42bcf906b16da337764a72f8c43abb7744693
[ "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
7,801
lean
/- Copyright (c) 2022 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import analysis.complex.cauchy_integral import analysis.analytic.basic import analysis.calculus.parametric_interval_integral import data.complex.basic import measure_...
e1fcd1dd6ffbf4ddba7fafb3d039cde3d08ef77d
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/calc_heq_symm.lean
e6172a48e92b90e4f0a125429267a497e8e8eaee
[ "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
324
lean
theorem tst {A B C D : Type} {a₁ a₂ : A} {b : B} {c : C} {d : D} (H₀ : a₁ = a₂) (H₁ : a₂ == b) (H₂ : b == c) (H₃ : c == d) : d == a₁ := calc d == c : heq.symm H₃ ... == b : heq.symm H₂ ... == a₂ : heq.symm H₁ ... = a₁ : eq.symm H₀ reveal tst print definition tst
20f6cf5c4771c8b0e4e5e90e36f184aceadb99ac
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/stage0/src/Lean/Meta/Match/Match.lean
559b252eedd83df5dc1b56d6c472b5dca34fb872
[ "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
30,477
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.CollectLevelParams import Lean.Meta.Check import Lean.Meta.Closure import Lean.Meta.Tactic.Cases import Lean.Meta.GeneralizeTelescope impor...
958340bc9ec691fecc3af84ff72e377497cea972
1a61aba1b67cddccce19532a9596efe44be4285f
/tests/lean/hott/615.hlean
74c5d0c1abcbc50ad4d9075945f5a35606a936c9
[ "Apache-2.0" ]
permissive
eigengrau/lean
07986a0f2548688c13ba36231f6cdbee82abf4c6
f8a773be1112015e2d232661ce616d23f12874d0
refs/heads/master
1,610,939,198,566
1,441,352,386,000
1,441,352,494,000
41,903,576
0
0
null
1,441,352,210,000
1,441,352,210,000
null
UTF-8
Lean
false
false
484
hlean
-- HoTT import hit.circle open circle eq int pi attribute circle.rec circle.elim [recursor 4] protected definition my_code (x : circle) : Type₀ := begin induction x, { exact ℤ}, { apply ua, apply equiv_succ} end protected definition my_decode {x : circle} : my_code x → base = x := begin induction x, ...
60ef7cb8a7b232b173e08fe049e5afcd5e7418f6
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/nativeReflBackdoor.lean
89e011a03fd5247a34e4f9f41ba07d2163fa6a05
[ "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,021
lean
new_frontend /- This example demonstratea that when we are using `nativeRefl!`, we are also trusting the correctness of `implementedBy` annotations, foreign functions (i.e., `[extern]` annotations), etc. -/ def g (b : Bool) := false /- The following `implementedBy` is telling the compiler "trust me, `g` does implemen...
16a2ffbe98638e3e0d5b221fcaf66ed1bd3f2c6b
86f6f4f8d827a196a32bfc646234b73328aeb306
/examples/basics/unnamed_1435.lean
f974d2a88a9bff97204bf6bd25f591657ee6cf30
[]
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
203
lean
import data.real.basic variables a b c d : ℝ -- BEGIN #check (min_le_left a b : min a b ≤ a) #check (min_le_right a b : min a b ≤ b) #check (le_min : c ≤ a → c ≤ b → c ≤ min a b) -- END
cb263e8815f0deb938280427205dda32d1efc573
c777c32c8e484e195053731103c5e52af26a25d1
/src/number_theory/zsqrtd/gaussian_int.lean
66a9a7c1451b3b8db5767f1362be9bef0f440126
[ "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
12,767
lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import number_theory.zsqrtd.basic import data.complex.basic import ring_theory.principal_ideal_domain import number_theory.legendre_symbol.quadratic_reciprocity /-! # Gau...
d8ad6b3100ed82dd27bb400f52a6ab191b9f04b7
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/ex.lean
965fa4d87eee91b80cade7b5d385aee64156053e
[ "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
90
lean
import standard set_option pp.implicit true check ∃x, x = (0:num) check ∃x:num, x = 0
db8e2c7d94955944418db7787f4b2b72b7a7551b
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/full.lean
351a2a875c560840d9a8372d0028433078e738a6
[ "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
106
lean
namespace foo constant x : nat #check x #check x set_option pp.full_names true #check x end foo
a4e04c14436b4b465a62d81f2cc5e50a01a59a0c
947b78d97130d56365ae2ec264df196ce769371a
/tests/playground/forIn.lean
3cc618da7b4730214048201e772870583a7fec86
[ "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
4,537
lean
new_frontend namespace ForIn inductive Step.{u} (α : Type u) | done : α → Step α | yield : α → Step α class Fold.{u, v, w, z} (m : Type w → Type z) [Monad m] (α : outParam (Type u)) (s : Type v) : Type (max v u z (w+1)):= (fold {β : Type w} (as : s) (init : β) (f : α → β → m (Step β)) : m β) export Fold (fold) cl...
f3cbd5a7dadcca00c7ec36bc6974f527b1872cc3
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/probability/probability_mass_function/uniform.lean
42fbd7618dc161373f7996608db1f79515229c90
[ "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,255
lean
/- Copyright (c) 2022 Devon Tuma. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Devon Tuma -/ import probability.probability_mass_function.constructions /-! # Uniform Probability Mass Functions > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file re...
b89f88492cfc388f06f1adf2cb005cdd553efe4a
64874bd1010548c7f5a6e3e8902efa63baaff785
/tests/lean/run/eq17.lean
db084c7523b60298fed16fe9e8237886d03f9d50
[ "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
204
lean
open nat definition lt_of_succ : ∀ {a b : nat}, succ a < b → a < b, lt_of_succ (lt.base (succ a)) := lt.trans (lt.base a) (lt.base (succ a)), lt_of_succ (lt.step h) := lt.step (lt_of_succ h)
7b44030ffb0e3a197470d694218351cedfb284e7
63abd62053d479eae5abf4951554e1064a4c45b4
/archive/imo/imo1981_q3.lean
e65a97066dca3c16ae971b0ba330a46b440be247
[ "Apache-2.0" ]
permissive
Lix0120/mathlib
0020745240315ed0e517cbf32e738d8f9811dd80
e14c37827456fc6707f31b4d1d16f1f3a3205e91
refs/heads/master
1,673,102,855,024
1,604,151,044,000
1,604,151,044,000
308,930,245
0
0
Apache-2.0
1,604,164,710,000
1,604,163,547,000
null
UTF-8
Lean
false
false
6,978
lean
/- Copyright (c) 2020 Kevin Lacker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Lacker -/ import data.nat.fib import tactic.linarith /-! # IMO 1981 Q3 Determine the maximum value of `m ^ 2 + n ^ 2`, where `m` and `n` are integers in `{1, 2, ..., 1981}` and ...
41e7c490d1e55c1055c07406bdbfed6675969168
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/library/data/int/gcd.lean
44d63ee3ba775c2fd9933f628cee49944a60da91
[ "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
14,573
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura Definitions and properties of gcd, lcm, and coprime. -/ import .div data.nat.gcd open eq.ops namespace int /- gcd -/ definition gcd (a b : ℤ) : ℤ :=...
753c2db64406f13ff42d7b8c72f2b30374100d0b
fe7174aadb02f3f5a6781c52facd5ebcbb35105c
/src/15_Formal_Languages/00_intro.lean
8c4ac1c195db67de72bff71aa3af0f0415cd72b9
[]
no_license
tcmch/cs-dm-lean
1ea180c6ff15e4e9a3ea78f2608506924e34e922
16ef75c7e68077e265441acc16cf5fe643db911b
refs/heads/master
1,586,377,195,552
1,544,118,724,000
1,544,118,724,000
159,694,678
0
0
null
null
null
null
UTF-8
Lean
false
false
9,566
lean
/- A logic is a "formal language" that has a mathematically defined syntax and a mathematically defined semantics. The semantics in turn depends on an intended "real-world interpretation" of the basic symbols in a given logical expression. Consider for example this proposition ∀ p : Person, ∃ m: Person, motherOf p m. ...
22a5efc7887f34c8e708981f6d6b025b876bdaba
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Compiler/Main.lean
f022ac9af49f32a170f760b1d0bf9c90487c51c5
[ "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
600
lean
/- Copyright (c) 2022 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Compiler.LCNF namespace Lean.Compiler /-- Run the code generation pipeline for all declarations in `declNames` that fulfill the requirements of...
1e273edce29b54b9569c9a9ab8a4c1a3dfa0f400
367134ba5a65885e863bdc4507601606690974c1
/src/tactic/congr.lean
eac6ef1fd90bd40ccdcb591e090dbcf948509ecc
[ "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
8,196
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 tactic.lint import tactic.ext /-! # Congruence and related tactics This file contains the tactic `congr'`, which is an extension of `congr`, and various ...
ec2f52633e28616bce6b47a8b80591635999f043
7cef822f3b952965621309e88eadf618da0c8ae9
/src/data/pnat/xgcd.lean
ddab8dbfddd4d15ecbe781662c373ea9d778b4b7
[ "Apache-2.0" ]
permissive
rmitta/mathlib
8d90aee30b4db2b013e01f62c33f297d7e64a43d
883d974b608845bad30ae19e27e33c285200bf84
refs/heads/master
1,585,776,832,544
1,576,874,096,000
1,576,874,096,000
153,663,165
0
2
Apache-2.0
1,544,806,490,000
1,539,884,365,000
Lean
UTF-8
Lean
false
false
13,418
lean
/- Copyright (c) 2019 Neil Strickland. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Neil Strickland This file sets up a version of the Euclidean algorithm that works only with natural numbers. Given a, b > 0, it computes the unique system (w, x, y, z, d) such that ...
08e4e02f61adc10fd7f1f4d7e90b0c700ec402ff
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/preadditive/biproducts.lean
c0329a4b857af5e4ac1595f584cb7c7d880bab46
[ "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
11,434
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import tactic.abel import category_theory.limits.shapes.biproducts import category_theory.preadditive /-! # Basic facts about morphisms between biproducts in preaddi...
b666bf76f1934f645ba9dc8211f7c46c80f3a52b
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/pfunctor/multivariate/M_auto.lean
b5ee2458a59b17cefdcf152972bf7616798ee8f8
[]
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
11,142
lean
/- Copyright (c) 2018 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad, Mario Carneiro, Simon Hudon -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.pfunctor.univariate.default import Mathlib.data.pfunctor.mul...
89375a8cb2ee8634f56796c948518a0fdaffccee
934eae675a9d997202bb021816325184e7d694aa
/_notes/Languages/lean/myproject/Main.lean
9e038ea6fd41d629eff22c8986bdeb1c8e8f9a60
[]
no_license
philzook58/philzook58.github.io
da78841df4ffd9a19c81e0eab833983d95a64b70
76000a5847bd6ee41dff25937ae916835bbcf03f
refs/heads/master
1,692,951,958,916
1,692,631,945,000
1,692,631,945,000
91,513,884
9
4
null
1,677,330,791,000
1,494,977,989,000
Jupyter Notebook
UTF-8
Lean
false
false
103
lean
import «Myproject» import Std.Data.List.Basic def main : IO Unit := IO.println s!"Hello, {hello}!"
cbd4a398f8c6d0a3847e88163f7904cc0c64efa2
675b8263050a5d74b89ceab381ac81ce70535688
/src/topology/algebra/infinite_sum.lean
57458a23a31b86d9dcdd48c409af24c8845489d2
[ "Apache-2.0" ]
permissive
vozor/mathlib
5921f55235ff60c05f4a48a90d616ea167068adf
f7e728ad8a6ebf90291df2a4d2f9255a6576b529
refs/heads/master
1,675,607,702,231
1,609,023,279,000
1,609,023,279,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
41,991
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import algebra.big_operators.intervals import topology.instances.real import topology.algebra.module import data.indicator_function import data.equiv.encodable.lattic...
fc219503c72155a332902d5235cae3e4f82702a1
947b78d97130d56365ae2ec264df196ce769371a
/stage0/src/Lean/Elab/Level.lean
01780bf4cfd33ac45e51f58fd7ba931380d15257
[ "Apache-2.0" ]
permissive
shyamalschandra/lean4
27044812be8698f0c79147615b1d5090b9f4b037
6e7a883b21eaf62831e8111b251dc9b18f40e604
refs/heads/master
1,671,417,126,371
1,601,859,995,000
1,601,860,020,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,541
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.Meta.LevelDefEq import Lean.Elab.Exception import Lean.Elab.Log namespace Lean namespace Elab namespace Level structure Context := (ref ...
f48cfb7495a884b9e63f7d51109d14a2ee8eb089
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/linear_algebra/finsupp.lean
4af4d4f17f0ad211a12bf343628e0b1b44ac6a96
[ "Apache-2.0" ]
permissive
JLimperg/aesop3
306cc6570c556568897ed2e508c8869667252e8a
a4a116f650cc7403428e72bd2e2c4cda300fe03f
refs/heads/master
1,682,884,916,368
1,620,320,033,000
1,620,320,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
30,017
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import data.finsupp.basic import linear_algebra.basic /-! # Properties of the module `α →₀ M` Given an `R`-module `M`, the `R`-module structure on `α →₀ M` is defin...
04915f91561731a50caeb9eb3161b0aae33d1a6c
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch6/ex0407.lean
423d69ca7b463f73448406ecda4660bfcc56f63f
[]
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
290
lean
variable {α : Type*} def is_prefix (l₁ : list α) (l₂ : list α) : Prop := ∃ t, l₁ ++ t = l₂ infix ` <+: `:50 := is_prefix attribute [simp, refl] theorem list.is_prefix_refl (l : list α) : l <+: l := ⟨[], by simp⟩ example : [1, 2, 3] <+: [1, 2, 3] := by reflexivity
d2e7e1d7bff82c136e42d5ca345c108250c7a353
4727251e0cd73359b15b664c3170e5d754078599
/src/set_theory/game/domineering.lean
dd6f0a0a8ef4821e7c59a47860826c8e046af1ff
[ "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
7,534
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 set_theory.game.state /-! # Domineering as a combinatorial game. We define the game of Domineering, played on a chessboard of arbitrary shape (possibly even ...
3590c16f67e56295343c23b940f0f02850d165e1
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/preadditive/projective.lean
89e532ada0046757541c2ec7b14ec06b311019cc
[ "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
6,439
lean
/- Copyright (c) 2020 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel, Scott Morrison -/ import algebra.homology.exact import category_theory.types /-! # Projective objects and categories with enough projectives An object `P` is called pro...
25beb92909c08e34faa374e092635f4be70769a1
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/field_theory/algebraic_closure.lean
f7a1edffc371e352c9af20035d5d75b40cd6481c
[ "Apache-2.0" ]
permissive
hamdysalah1/mathlib
b915f86b2503feeae268de369f1b16932321f097
95454452f6b3569bf967d35aab8d852b1ddf8017
refs/heads/master
1,677,154,116,545
1,611,797,994,000
1,611,797,994,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
13,373
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.splitting_field import analysis.complex.polynomial /-! # Algebraic Closure In this file we define the typeclass for algebraic...
35cfab7a42af981f8640089c089c7f77af2d59ee
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/differential_object.lean
0028bf77ce6861a6d937e48c4af8e2651eb22348
[ "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
10,233
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.shift import category_theory.concrete_category /-! # Differential objects in a category. A differential object in a category with zero morphi...
d5b3d67a3011537c7ae9a5f9b3109b124b58f6c3
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/1289.lean
a5c9feefaa06635cd02255ed2025831a7332e66c
[ "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
866
lean
def _root_.Nat.mod2 : Nat → Nat | n+2 => n.mod2 | n => n protected def _root_.Nat.mod3 : Nat → Nat | n+2 => n.mod3 | n => n private def _root_.Nat.mod4 : Nat → Nat | n+2 => n.mod4 | n => n #exit inductive Foo.Bla.T where | s : T → T | z namespace AAA.BBB.CCC def _root_.Foo.Bla.T.toNat₁ : Foo.Bla.T...
421a536c1d0737bac1d0d0bf346ab10500a49e24
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/task_test.lean
f51897ce534f3bd70d34f9d69847c6dca9f9b08f
[ "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
495
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 tst (n : Nat) : IO UInt32 := l...
2976203ccbbad8bd3faef4e3744269685f4c1c07
f618aea02cb4104ad34ecf3b9713065cc0d06103
/src/analysis/specific_limits.lean
4939b405e9f8423a1b43224ee193bdcb52fad644
[ "Apache-2.0" ]
permissive
joehendrix/mathlib
84b6603f6be88a7e4d62f5b1b0cbb523bb82b9a5
c15eab34ad754f9ecd738525cb8b5a870e834ddc
refs/heads/master
1,589,606,591,630
1,555,946,393,000
1,555,946,393,000
182,813,854
0
0
null
1,555,946,309,000
1,555,946,308,000
null
UTF-8
Lean
false
false
7,404
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 A collection of specific limit computations. -/ import analysis.normed_space.basic import topology.instances.ennreal noncomputable theory local attribute [instance] cl...
58c2eb0ef6c1c0dfebb4dbddd49c3907208145bf
6fbf10071e62af7238f2de8f9aa83d55d8763907
/answers/hw4.lean
723a38bdd0f1b7685fa91fb93f350a048cf6b086
[]
no_license
HasanMukati/uva-cs-dm-s19
ee5aad4568a3ca330c2738ed579c30e1308b03b0
3e7177682acdb56a2d16914e0344c10335583dcf
refs/heads/master
1,596,946,213,130
1,568,221,949,000
1,568,221,949,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,468
lean
/- 0. Read the class notes through Section 3.7, Implication. It is important that you do this before classes next week, as we will move somewhat quickly through a few of these chapters. To complete the rest of this homework, solve the problems given as specified, then save and submit this file. -/ /- 1. Show tha...
7fff3e8eb3b490e1ab252f85c5e96b7e90be034b
e151e9053bfd6d71740066474fc500a087837323
/src/hott/types/equiv.lean
4b21eaeb9b873693571e07498230997fe8c7dda1
[ "Apache-2.0" ]
permissive
daniel-carranza/hott3
15bac2d90589dbb952ef15e74b2837722491963d
913811e8a1371d3a5751d7d32ff9dec8aa6815d9
refs/heads/master
1,610,091,349,670
1,596,222,336,000
1,596,222,336,000
241,957,822
0
0
Apache-2.0
1,582,222,839,000
1,582,222,838,000
null
UTF-8
Lean
false
false
13,284
lean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn Ported from Coq HoTT Theorems about the types equiv and is_equiv -/ import .fiber .arrow ..arity ..prop_trunc ..cubical.square .pointed universes u v w hott_theory ...
7f33c6048f9f9cb85ce5ceb164cdaee92f962b4d
4727251e0cd73359b15b664c3170e5d754078599
/src/data/finsupp/pointwise.lean
17a4c91e3e405349443393bed5bed0715ae8eb0f
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
3,758
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import data.finsupp.basic /-! # The pointwise product on `finsupp`. For the convolution product on `finsupp` when the domain has a binary operation, see the type sy...
c877c0fbb572365b526504844e9f9690bd8d964b
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/data/polynomial/algebra_map.lean
35f1c6d962b37e5b0b95bac0b9c99f9aaefe060d
[ "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
7,676
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker -/ import data.polynomial.eval /-! # Theory of univariate polynomials We show that `polynomial A` is an R-algebra when `A`...
5c88af64514b0d044e69e61b6b8bf72955368943
63abd62053d479eae5abf4951554e1064a4c45b4
/src/analysis/asymptotics.lean
3701c0f766d211bfa7144bbee328b5eacee10d13
[ "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
50,127
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Yury Kudryashov -/ import analysis.normed_space.basic import topology.local_homeomorph /-! # Asymptotics We introduce these relations: * `is_O_with c f g l` : "f is bi...
943724993ef8139f0660327c4565d9826db09bca
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/trace_crash.lean
9de236f29e97f3e6e5a5f582a7b2cb97af205171
[ "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
204
lean
constant f : nat → nat → nat constant fax1 : ∀ x, f x x = f x 0 constant fax2 : ∀ x, f x 0 = x set_option trace.type_context.is_def_eq true example (a : nat) : f a a = a := by simp [fax1, fax2]
1c74105e4ffd5b0aae342e61fb0715eaabf242ed
b561a44b48979a98df50ade0789a21c79ee31288
/src/Lean/MonadEnv.lean
1ee4595cb3bfec44c2a666516cbc0f29a2284bb3
[ "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
7,364
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.Environment import Lean.Exception import Lean.Declaration import Lean.Util.FindExpr import Lean.AuxRecursor namespace Lean def setEnv [MonadEn...
c6d99bfb2badf90d3502b3c37442be330a2755cb
5cb186111bc6de231aef3b26698e9235da128bb0
/hygiene.lean
c7bb45861f9e986b1b170f46d586f3e872b70190
[]
no_license
Kha/syntax
2f96982b920a24d9bdbbb48ad6acce1817e62f26
af05028581955d9fd5af99be9cbb82f5c9226551
refs/heads/master
1,631,456,662,519
1,523,806,396,000
1,523,978,266,000
110,000,924
1
0
null
null
null
null
UTF-8
Lean
false
false
7,032
lean
import macro def α_conv (rsm : resolve_map) (σ : syntax_id → name) : syntax → syntax | (syntax.ident ident) := match rsm.find ident.id with -- TODO: renaming of globals? | some r@{decl := sum.inl id, ..} := syntax.ident {ident with sp := none, name := ident.name.replace_prefix' r.prefix (σ id)} | _ := syntax.i...
e83a5f8ae20ce34ebf158752f6f9ed85b3c3ee0c
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/data/real/cau_seq_completion.lean
49f59ed57e611d8c1174c754fd963fe38f8314bc
[ "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
9,503
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Robert Y. Lewis Generalizes the Cauchy completion of (ℚ, abs) to the completion of a commutative ring with absolute value. -/ import data.real.cau_seq namespace cau_...
df2a8bbf755fcf05fcc6ffff5b522075715ddcef
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/data/set/countable.lean
28d41c78c7783850209183444263f68f122ba5bc
[ "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,536
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 -/ import data.equiv.list import data.set.finite /-! # Countable sets -/ noncomputable theory open function set encodable open classical (hiding some) open_locale clas...
0c767e4759a077b86a99e338a73314fc241e63c7
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/list/perm.lean
d8987584e9a046d07e612b99caefc508e57af1c3
[ "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
47,725
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad, Mario Carneiro -/ import data.list.bag_inter import data.list.erase_dup import data.list.zip import logic.relation /-! # List permutations -/ ...
407bd9e449e67b912415775902ec5ed17da666c5
c777c32c8e484e195053731103c5e52af26a25d1
/src/ring_theory/dedekind_domain/adic_valuation.lean
86e0bac6f8b446376dcd7da9997ddd770334d58b
[ "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
19,208
lean
/- Copyright (c) 2022 María Inés de Frutos-Fernández. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: María Inés de Frutos-Fernández -/ import ring_theory.dedekind_domain.ideal import ring_theory.valuation.extend_to_localization import ring_theory.valuation.valuation_su...
50bca39dd3a323d77e3d027f791b29b55707bf62
1fd908b06e3f9c1252cb2285ada1102623a67f72
/init/path.lean
b66be53737ac23c2f0255a2c819ed162c83fa0d8
[ "Apache-2.0" ]
permissive
avigad/hott3
609a002849182721e7c7ae536d9f1e2956d6d4d3
f64750cd2de7a81e87d4828246d1369d59f16f43
refs/heads/master
1,629,027,243,322
1,510,946,717,000
1,510,946,717,000
103,570,461
0
0
null
1,505,415,620,000
1,505,415,620,000
null
UTF-8
Lean
false
false
32,324
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Jakob von Raumer, Floris van Doorn Ported from Coq HoTT -/ import .meta.support .meta.simp_attr .meta.induction universes u v w hott_theory namespace hott open...
d879429db7289b221a1ac5b7ed0ec7a6a22d9add
076f5040b63237c6dd928c6401329ed5adcb0e44
/instructor-notes/2019.10.01..poly/option_test.lean
d115e8706b8146fe197ce7598c3d74a56f40ea22
[]
no_license
kevinsullivan/uva-cs-dm-f19
0f123689cf6cb078f263950b18382a7086bf30be
09a950752884bd7ade4be33e9e89a2c4b1927167
refs/heads/master
1,594,771,841,541
1,575,853,850,000
1,575,853,850,000
205,433,890
4
9
null
1,571,592,121,000
1,567,188,539,000
Lean
UTF-8
Lean
false
false
372
lean
import .option open myoption def o1 := moption.some 3 def o2 := moption.none nat def o3 := moption.some tt def o4 := moption.none bool def o5 := moption.some "Hello Lean" def o6 := moption.none string def just_zero : ℕ → moption ℕ | 0 := moption.some 0 | _ := moption.none nat #reduce just_zero 0 #reduce just_zer...
cec54c68ab379fff00f48c274946c971ad100fe6
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/hott/algebra/ordered_field.hlean
c07086aaf01d6070bbe101f6e799d9b5df2464ec
[ "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
20,343
hlean
/- Copyright (c) 2014 Robert Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Lewis -/ import algebra.ordered_ring algebra.field open eq eq.ops algebra set_option class.force_new true namespace algebra structure linear_ordered_field [class] (A : Type) exte...
439e5762c1424c44e1e72101a758f3c6e9bb8fc5
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/ring_theory/dedekind_domain.lean
5f853978f55967ff970cbb2e8b6f67a3c88b48af
[ "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
42,698
lean
/- Copyright (c) 2020 Kenji Nakagawa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenji Nakagawa, Anne Baanen, Filippo A. E. Nuccio -/ import ring_theory.discrete_valuation_ring import ring_theory.fractional_ideal import ring_theory.ideal.over import ring_theory.int...
8ede732ed7b115b54823a5341bfebefb4bb03cff
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/algebra/field.lean
3a14edd9d993a3d89f5a54f637071181d374ca97
[ "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
7,492
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.ring.basic import algebra.group_with_zero open set set_option default_priority 100 -- see Note [default...
abb3aae472a7cc2c8b005613fdfd262134e0489a
d29d82a0af640c937e499f6be79fc552eae0aa13
/src/data/mv_polynomial/basic.lean
2e93905534a2e28b4cd362a7595289e8687d12be
[ "Apache-2.0" ]
permissive
AbdulMajeedkhurasani/mathlib
835f8a5c5cf3075b250b3737172043ab4fa1edf6
79bc7323b164aebd000524ebafd198eb0e17f956
refs/heads/master
1,688,003,895,660
1,627,788,521,000
1,627,788,521,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
37,396
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Johan Commelin, Mario Carneiro -/ import data.polynomial.eval import data.finsupp.antidiagonal /-! # Multivariate polynomials This file defines polynomial rings over...
9e10cf5264f4f672d9ff15031a47cbbda3b8e1d7
97f752b44fd85ec3f635078a2dd125ddae7a82b6
/hott/init/reserved_notation.hlean
ee2cabbef23d96942c7eed2046e9ef6c56b6163e
[ "Apache-2.0" ]
permissive
tectronics/lean
ab977ba6be0fcd46047ddbb3c8e16e7c26710701
f38af35e0616f89c6e9d7e3eb1d48e47ee666efe
refs/heads/master
1,532,358,526,384
1,456,276,623,000
1,456,276,623,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,802
hlean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad, Floris van Doorn -/ prelude import init.datatypes notation `assume` binders `,` r:(scoped f, f) := r notation `take` binders `,` r:(scoped f...
d6dc37e6e3cc1d25371b48048b22f2fc1358d98b
618003631150032a5676f229d13a079ac875ff77
/src/data/list/bag_inter.lean
8bab787a6a8266e698cb53a994bf151476979797
[ "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
3,475
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Scott Morrison -/ import data.list.basic namespace list open nat /- bag_inter -/ universe u variables {α : Type u} [decidable_eq α] @[simp] theorem nil_bag_inter (...
140d64d4067a79e1685c60504d0337c69cb61c4a
d1a52c3f208fa42c41df8278c3d280f075eb020c
/src/Init/Data/FloatArray/Basic.lean
f9b5a1b9bda17b25fb9679ab87879c81448b4b5b
[ "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
5,439
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 -/ prelude import Init.Data.Array.Basic import Init.Data.Float import Init.Data.Option.Basic universe u structure FloatArray where data : Array Float attrib...
6e92076b84f15fadefa303c05c581f5680bb4c59
9028d228ac200bbefe3a711342514dd4e4458bff
/src/data/polynomial/algebra_map.lean
6801e8e80e69e5b7f5a76efc53a73cc79fd3c338
[ "Apache-2.0" ]
permissive
mcncm/mathlib
8d25099344d9d2bee62822cb9ed43aa3e09fa05e
fde3d78cadeec5ef827b16ae55664ef115e66f57
refs/heads/master
1,672,743,316,277
1,602,618,514,000
1,602,618,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,584
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker -/ import data.polynomial.eval /-! # Theory of univariate polynomials We show that `polynomial A` is an R-algebra when `A`...
5f1d9b0f7093b5840fdab80a6effc6f7392cce15
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/category_theory/skeletal.lean
1e5c9b3ccbb712a852a26523df23425f791dfec5
[ "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
10,921
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta -/ import category_theory.category.preorder import category_theory.isomorphism_classes import category_theory.thin /-! # Skeleton of a category Define skeletal categories ...
4da8a2ff93ebaa4036d4eddb48b518e7d1c97f36
bb31430994044506fa42fd667e2d556327e18dfe
/src/field_theory/minpoly/field.lean
f32ab9138dfcd126f3842978d8e7caa2efc564ef
[ "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
11,248
lean
/- Copyright (c) 2019 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca, Johan Commelin -/ import data.polynomial.field_division import field_theory.minpoly.basic import ring_theory.algebraic /-! # Minimal polynomials on an algebra over a ...
fdff0b8dba69a2f5113d97d3303d95671fdf4e32
aa5a655c05e5359a70646b7154e7cac59f0b4132
/src/Lean/Elab/App.lean
b39dee70e8e49188ff54d2f995b3a1cfc5ede7b1
[ "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
43,895
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.Elab.Term import Lean.Elab.Binders import Lean.Elab.SyntheticMVars namespace Lean.Elab.Term open Meta builtin_initia...
9427db57064f79ae8680a92a094a0ba526036c6d
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/set/function.lean
b357f073ebe29f856e37c1581774972b8dcf611f
[ "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
37,209
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Andrew Zipperer, Haitao Zhang, Minchao Wu, Yury Kudryashov -/ import data.set.basic import logic.function.conjugate /-! # Functions over sets ## Main definitions ### P...
3885305d2c1ce211d4b840d27fe57592490e14f3
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/cody2.lean
2c0cc5d9d64cf773b272d0fb27d367d7e1728507
[ "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
447
lean
open eq definition subsets (P : Type) := P → Prop. section hypothesis A : Type. hypothesis r : A → subsets A. hypothesis i : subsets A → A. hypothesis retract {P : subsets A} {a : A} : r (i P) a = P a. definition delta (a:A) : Prop := ¬ (r a a). local notation `δ` := delta. theorem delta_aux : ¬ (δ (i delta)) ...
95fec2daba09c7c21d74081fe98700cd6b4b543e
fddcf4b659baa121761c71be606b3f74b86fa695
/test.lean
5c179555321115c4874038f14b5610ec46a9d7ef
[]
no_license
swarnpriya/Lean
4218df9392f396cd7e5e745de35a917536ebd2bb
a0a9978fd058041eb1a09aec0e2dd7d19a7436a7
refs/heads/master
1,595,831,634,399
1,568,673,127,000
1,568,673,127,000
208,903,604
0
0
null
null
null
null
UTF-8
Lean
false
false
199
lean
-- BEGIN theorem and_commutative (p q : Prop) : p /\ q -> q /\ p := assume hpq : p /\ q, have hp : p, from and. left hpq, have hq : q, from and. right hpq, show p /\ q, from and. intro hq hq -- END
2dc920cc8e8ca7316c3b28e7035667b52b4d4ef7
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/topology/sheaves/stalks.lean
677705b23e3a7b5c1ef21709be07defd3ff5bb20
[ "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
24,402
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 topology.category.Top.open_nhds import topology.sheaves.presheaf import topology.sheaves.sheaf_condition.unique_gluing import category_theory....
39730acdbaa395d9b6026c608e97eedf11178a98
4727251e0cd73359b15b664c3170e5d754078599
/src/data/finsupp/to_dfinsupp.lean
5f5784a57584c64325a20ca69e7030fee1a91f8a
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
11,405
lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import algebra.module.equiv import data.dfinsupp.basic import data.finsupp.basic /-! # Conversion between `finsupp` and homogenous `dfinsupp` This module provides convers...
0d6efd88aaa7bc2230a1fffaa30fb0488593d4b4
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/order/compactly_generated.lean
cbc65d8192296c5cf6acfdda812ffcdf2e346fa6
[ "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
19,806
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 tactic.tfae import order.atoms import order.order_iso_nat import order.zorn import data.finset.order /-! # Compactness properties for complete lattices For complet...
b5011219a41b314f523adf602c7c967662c7ef1f
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/pendingInstBug.lean
a99999fa94ada712022426b557c38796ce11a0ac
[ "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
226
lean
class AddIdepotent (α : Type u) [Add α] : Prop where add_id (x : α) : x + x = x export AddIdepotent (add_id) theorem tst [Add α] [AddIdepotent α] (x : α) : id (x + x + x) = x := by rw [add_id, add_id] simp [id]
6159ec5f2e7242bf3836399b39e71cb51c834370
87a08a8e9b222ec02f3327dca4ae24590c1b3de9
/src/data/set/basic.lean
cedd17d3a243c6ce7c9b327348888d0267603ce5
[ "Apache-2.0" ]
permissive
naussicaa/mathlib
86d05223517a39e80920549a8052f9cf0e0b77b8
1ef2c2df20cf45c21675d855436228c7ae02d47a
refs/heads/master
1,592,104,950,080
1,562,073,069,000
1,562,073,069,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
54,293
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad, Leonardo de Moura -/ import tactic.basic tactic.finish data.subtype open function /- set coercion to a type -/ namespace set instance {α : Type*} : has_coe_to_sort (set ...
3b240cebaf674dda4654886e6b02f97ca0ed381d
5756a081670ba9c1d1d3fca7bd47cb4e31beae66
/Mathport/Syntax/Translate/Tactic/Mathlib/Alias.lean
19a836808117f2d1bb8457341f2c3bee7a91a067
[ "Apache-2.0" ]
permissive
leanprover-community/mathport
2c9bdc8292168febf59799efdc5451dbf0450d4a
13051f68064f7638970d39a8fecaede68ffbf9e1
refs/heads/master
1,693,841,364,079
1,693,813,111,000
1,693,813,111,000
379,357,010
27
10
Apache-2.0
1,691,309,132,000
1,624,384,521,000
Lean
UTF-8
Lean
false
false
1,651
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import Mathport.Syntax.Translate.Tactic.Basic import Mathport.Syntax.Translate.Command open Lean namespace Mathport.Translate.Tactic open AST3 Parser -- # t...
4f5a10fc6166569c36510b2a930424f25e8d8600
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/topology/bounded_continuous_function.lean
67b533314f3d71c5ac2cd5b7c84ff071bf2578d1
[ "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
28,972
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 analysis.normed_space.basic /-! # Bounded continuous functions The type of bounded continuous functio...
07794e42442f330a09482ec9ce5e9c0c56aee840
f41725a360d902d3c7939fdf81a5acaf0d0467f0
/src/adjoin.lean
f6c7fba44430cb143d1d4eac269453fa1636f8d7
[]
no_license
pglutz/galois_theory
978765d82b7586c21fd719b84b21d5eea030b25d
4561c2c97d4c49377356e1d7a2051dedc87d30ba
refs/heads/master
1,671,472,063,361
1,603,597,360,000
1,603,597,360,000
281,502,125
0
0
null
null
null
null
UTF-8
Lean
false
false
23,140
lean
--import subfield_stuff import field_theory.subfield import field_theory.separable import field_theory.tower import group_theory.subgroup import field_theory.minimal_polynomial import linear_algebra.dimension import linear_algebra.finite_dimensional import ring_theory.adjoin_root import data.zmod.basic variables (F : ...
dc7815c7a5aead12516e547194ba80095964860f
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/topology/algebra/field.lean
bf75496757b0ad2255d8ae8cfdd896b1e84aeafc
[ "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
960
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import topology.algebra.ring import topology.algebra.group_with_zero /-! A topological field is usually described via `{𝕜 : Type*} [field 𝕜] [topological_space 𝕜]...
b914dca9b42d8789a72af82d5c2f645a31afb867
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/polynomial/lifts.lean
1b6ea296def3c7370a095bac6f2b6fa60cc40277
[ "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,038
lean
/- Copyright (c) 2020 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca -/ import data.polynomial.algebra_map import data.polynomial.monic /-! # Polynomials that lift > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file ...
5f6c4776038c20e93c28409468627d0d775f5309
4727251e0cd73359b15b664c3170e5d754078599
/src/ring_theory/localization/at_prime.lean
49ec3ca61a51f699aa45352870f2ca70ce5309d3
[ "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
9,485
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro, Johan Commelin, Amelia Livingston, Anne Baanen -/ import ring_theory.ideal.local_ring import ring_theory.localization.ideal /-! # Localizations of commutative ri...
b6fa55301aa4b2f9bbf61b4ac3055d5f0db7e879
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/Spindle.lean
b065d864e506155a95b2d1096aaa431ade408bc5
[]
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
8,826
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 Spindle structure Spindle (A : Type) : Type := (linv : (A → (A → A))) (rinv : (A → (A → A))) (leftDistributive : (∀ {x y z : A} , (linv x (linv y z)) = (...
9fef72068a3756180cc4d15e855d5df64f327d81
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/archive/imo/imo2013_q5.lean
5ee58c411f068566afc2480c523a297bb351f379
[ "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,926
lean
/- Copyright (c) 2021 David Renshaw. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: David Renshaw -/ import algebra.geom_sum import data.rat.basic import data.real.basic /-! # IMO 2013 Q5 Let `ℚ>₀` be the positive rational numbers. Let `f : ℚ>₀ → ℝ` be a function sa...
cc495e19f5fccc26f07694c3693bf9dec70fc154
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch3/ex0401.lean
f0e0756db57bc37f8c6c206938a268541c85fc8f
[]
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
159
lean
variables p q : Prop example (h : p ∧ q) : q ∧ p := have hp : p, from and.left h, have hq : q, from and.right h, show q ∧ p, from and.intro hq hp
5bb4c99593de6153df253a113cf153a13eb4530b
ff5230333a701471f46c57e8c115a073ebaaa448
/library/init/meta/simp_tactic.lean
40aef0ffeb6082912f1a4e7fc0e15f707c07f623
[ "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
26,246
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.meta.tactic init.meta.attribute init.meta.constructor_tactic import init.meta.relation_tactics init.meta.occurrences import init.data.op...
b958b1d14a7bfd74f6fe916cc10a4c9eaa0187b7
618003631150032a5676f229d13a079ac875ff77
/src/data/list/perm.lean
25176d2f606c4590ee84bd04aa390cd83676827c
[ "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
43,101
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad, Mario Carneiro -/ import data.list.bag_inter import data.list.erase_dup import data.list.zip import logic.relation /-! # List permutations -/ ...
36fc9a0448af718590447cfbe29dabbdfd766c29
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/quote_bas.lean
0287318d3f511629740d3e7ec39ad1b318bf784b
[ "Apache-2.0" ]
permissive
leanprover-community/lean
12b87f69d92e614daea8bcc9d4de9a9ace089d0e
cce7990ea86a78bdb383e38ed7f9b5ba93c60ce0
refs/heads/master
1,687,508,156,644
1,684,951,104,000
1,684,951,104,000
169,960,991
457
107
Apache-2.0
1,686,744,372,000
1,549,790,268,000
C++
UTF-8
Lean
false
false
2,294
lean
universes u v w namespace quote_bas inductive Expr (V : Type u) | One {} : Expr | Var (v : V) : Expr | Mult (a b : Expr) : Expr @[reducible] def Value := nat def Env (V : Type u) := V → Value open Expr def evalExpr {V} (vs : Env V) : Expr V → Value | One := 1 | (Var v) := vs v | (Mult a ...
677b1678f63cacf7c777959bd451302e1653fc98
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/quadratic_discriminant.lean
18318b7084c3777beb9e4361e5a1d6e50170e8b7
[ "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,261
lean
/- Copyright (c) 2019 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou -/ import algebra.char_p.invertible import order.filter.at_top_bot import tactic.linarith import tactic.field_simp import tactic.linear_combination /-! # Quadratic discri...
f7cfdedfc4fa20b1fc52b4436d8252aee7cf1fcc
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/beta_zeta.lean
da59b98b7fd7f344d6fecf417eaa8e95700416e2
[ "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
446
lean
open tactic meta def check_expr (p : pexpr) (t : expr) : tactic unit := do e ← to_expr p, guard (t = e) example : true := let x := 10 in by do h ← get_local `x, head_zeta h >>= check_expr ``(10), triv example : let x := 10 in true := by do x ← intro1, head_zeta x >>= check_expr ``(10), triv ...
19040f772731f22021f8df4509056ddbbba895e8
fcf3ffa92a3847189ca669cb18b34ef6b2ec2859
/src/world8/level4.lean
fb10bd1c824bcf66c94121f930813b2d47ded43c
[ "Apache-2.0" ]
permissive
nomoid/lean-proofs
4a80a97888699dee42b092b7b959b22d9aa0c066
b9f03a24623d1a1d111d6c2bbf53c617e2596d6a
refs/heads/master
1,674,955,317,080
1,607,475,706,000
1,607,475,706,000
314,104,281
0
0
null
null
null
null
UTF-8
Lean
false
false
253
lean
import mynat.definition import world8.level3 namespace mynat theorem eq_iff_succ_eq_succ (a b : mynat) : succ(a) = succ(b) ↔ a = b := begin split, { exact succ_inj, }, { exact succ_eq_succ_of_eq, }, end end mynat
f28077c8532c45c26317c5ada344fe50d26955aa
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/set/pointwise/support.lean
2fe0996ee3a80536825d2e96eb623829c1f19447
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
1,618
lean
/- Copyright (c) 2022 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 data.set.pointwise.smul import algebra.support /-! # Support of a function composed with a scalar action We show that the support of `x ↦ f (c⁻¹ • x)` ...