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
b032bbf4d0153515fa1724f3227c8fd525997d99
e030b0259b777fedcdf73dd966f3f1556d392178
/library/init/meta/converter.lean
997180c75e84276d746de4279c1c60c0397bf137
[ "Apache-2.0" ]
permissive
fgdorais/lean
17b46a095b70b21fa0790ce74876658dc5faca06
c3b7c54d7cca7aaa25328f0a5660b6b75fe26055
refs/heads/master
1,611,523,590,686
1,484,412,902,000
1,484,412,902,000
38,489,734
0
0
null
1,435,923,380,000
1,435,923,379,000
null
UTF-8
Lean
false
false
9,102
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...
37c63a5b495471ed95b32259cf5286de770ac013
4727251e0cd73359b15b664c3170e5d754078599
/src/group_theory/nielsen_schreier.lean
b80da04143b0d6a85d4d2da568cd73ecce021f94
[ "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
12,088
lean
/- Copyright (c) 2021 David Wärn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: David Wärn -/ import category_theory.action import combinatorics.quiver.arborescence import combinatorics.quiver.connected_component import group_theory.is_free_group /-! # The Nielsen-Sch...
d2a84e2bd6092b6715e455c50a8153773997b974
4727251e0cd73359b15b664c3170e5d754078599
/src/data/fun_like/equiv.lean
233753fd76c1f2dc9cfeb94b206d035286b7267c
[ "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
6,880
lean
/- Copyright (c) 2021 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import data.fun_like.embedding /-! # Typeclass for a type `F` with an injective map to `A ≃ B` This typeclass is primarily for use by isomorphisms like `monoid_equiv` an...
95054fa24418f46d8e675a42594f9e098bd9a4a4
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/ring_theory/witt_vector/truncated.lean
22a6ad453347cdf7393336abcf977bcb072caae2
[]
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
16,085
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Robert Y. Lewis -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.ring_theory.witt_vector.init_tail import Mathlib.tactic.equiv_rw import Ma...
83e361299f966ba930eaf51f12adbf9e0c2ea2ed
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/direct_sum/decomposition.lean
de748982c5c8ce62586922ee75872b0c9e83c7d0
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
8,378
lean
/- Copyright (c) 2022 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser, Jujian Zhang -/ import algebra.direct_sum.module import algebra.module.submodule.basic /-! # Decompositions of additive monoids, groups, and modules into direct sums > THIS...
de26a150411c2e871631bf2fc8fbac7f09d75423
82e44445c70db0f03e30d7be725775f122d72f3e
/src/measure_theory/simple_func_dense.lean
a7252e78f66f4c28c52eab05c2c9a73d2c429dc5
[ "Apache-2.0" ]
permissive
stjordanis/mathlib
51e286d19140e3788ef2c470bc7b953e4991f0c9
2568d41bca08f5d6bf39d915434c8447e21f42ee
refs/heads/master
1,631,748,053,501
1,627,938,886,000
1,627,938,886,000
228,728,358
0
0
Apache-2.0
1,576,630,588,000
1,576,630,587,000
null
UTF-8
Lean
false
false
40,637
lean
/- Copyright (c) 2019 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou, Yury Kudryashov, Heather Macbeth -/ import measure_theory.l1_space /-! # Density of simple functions Show that each Borel measurable function can be approximated pointw...
279387e0c9723195a8f51d529a92b458af022666
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/data/nat/totient.lean
d0a0e0ec4141e93e468e97fda5654fa33b480a50
[ "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
3,563
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 algebra.big_operators data.nat.gcd open finset namespace nat def totient (n : ℕ) : ℕ := ((range n).filter (nat.coprime n)).card local notation `φ` := totient ...
b4c8cafa43b3a9a1325a49c429223353efe94070
a9fe717b93ccfa4b2e64faeb24f96dfefb390240
/clause.lean
050464898116a076cb48eaef73b1b87178a5ce80
[]
no_license
skbaek/omega
ab1f4a6daadfc8c855f14c39d9459ab841527141
715e384ed14e8eb177a326700066e7c98269e078
refs/heads/master
1,588,000,876,352
1,552,645,917,000
1,552,645,917,000
174,442,914
1
0
null
null
null
null
UTF-8
Lean
false
false
1,735
lean
import .term @[reducible] def clause := (list term) × (list term) namespace clause def weaker : clause → clause → Prop | ⟨eqs1,les1⟩ ⟨eqs2,les2⟩ := eqs1 ⊆ eqs2 ∧ les1 ⊆ les2 def holds (v) : clause → Prop | (eqs,les) := ( (∀ t : term, t ∈ eqs → 0 = term.val v t) ∧ (∀ t : term, t ∈ les → 0 ≤ term.val v t) )...
791e93a97ac7b573017bff3eae109561e3e64094
ee8cdbabf07f77e7be63a449b8483ce308d37218
/lean/src/test/amc12-2001-p21.lean
b9364b16055b7f13671c93db212415808d2b698b
[ "MIT", "Apache-2.0" ]
permissive
zeta1999/miniF2F
6d66c75d1c18152e224d07d5eed57624f731d4b7
c1ba9629559c5273c92ec226894baa0c1ce27861
refs/heads/main
1,681,897,460,642
1,620,646,361,000
1,620,646,361,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
367
lean
/- Copyright (c) 2021 OpenAI. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kunhao Zheng -/ import data.nat.basic import data.nat.factorial example (a b c d : ℕ) (h₀ : a*b*c*d = nat.factorial 8) (h₁ : a*b + a + b = 524) (h₂ : b*c + b + c = 146) (h₃ : c*d + c + d = 10...
fea5bc1f728df9cb69cb47c8fa9b5b50897abe35
957a80ea22c5abb4f4670b250d55534d9db99108
/library/init/meta/smt/ematch.lean
b47f81055005748caea3c0caea250972becd78e4
[ "Apache-2.0" ]
permissive
GaloisInc/lean
aa1e64d604051e602fcf4610061314b9a37ab8cd
f1ec117a24459b59c6ff9e56a1d09d9e9e60a6c0
refs/heads/master
1,592,202,909,807
1,504,624,387,000
1,504,624,387,000
75,319,626
2
1
Apache-2.0
1,539,290,164,000
1,480,616,104,000
C++
UTF-8
Lean
false
false
7,478
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.meta.smt.congruence_closure import init.meta.attribute init.meta.simp_tactic import init.meta.interactive_base open tactic /-- Heuristi...
c13a7880dce169929ca8d749a103e2581a09d49e
d450724ba99f5b50b57d244eb41fef9f6789db81
/src/mywork/lectures/lecture_14.lean
c3d08d682809f5574ea0ecaf5236119245820719
[]
no_license
jakekauff/CS2120F21
4f009adeb4ce4a148442b562196d66cc6c04530c
e69529ec6f5d47a554291c4241a3d8ec4fe8f5ad
refs/heads/main
1,693,841,880,030
1,637,604,848,000
1,637,604,848,000
399,946,698
0
0
null
null
null
null
UTF-8
Lean
false
false
1,577
lean
/- Note this this file is called lecture 14, though today, October, 6, is more than 14 course days in. The reason is that the last two days were review Q&A in preparation for the mid-term. -/ /- REVIEW INTRODUCTION AND ELIMINATION RULES FOR EXISTS. -/ /- LET'S PROVE A THEOREM INVOLVING EXISTS, ALL, AND NEGATION -/ ...
de73d0d66ee61aca11878ba80be6a3ab24acc238
e953c38599905267210b87fb5d82dcc3e52a4214
/library/data/real/order.lean
627b32483287fdb4cc9aeb6358da97f20fec429a
[ "Apache-2.0" ]
permissive
c-cube/lean
563c1020bff98441c4f8ba60111fef6f6b46e31b
0fb52a9a139f720be418dafac35104468e293b66
refs/heads/master
1,610,753,294,113
1,440,451,356,000
1,440,499,588,000
41,748,334
0
0
null
1,441,122,656,000
1,441,122,656,000
null
UTF-8
Lean
false
false
36,329
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...
c13951ea56b92c63ea3e199caa52a8efe038e2ed
bdb33f8b7ea65f7705fc342a178508e2722eb851
/data/list/perm.lean
a4a23af96999fb4227930a5c8c08f196f5168f2b
[ "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
34,306
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 List permutations. -/ import data.list.basic namespace list universe variables uu vv variables {α : Type uu} {β : Type vv} /-...
dcbed6a96f0e62b8e8109f6a4affc40e54b9d647
4727251e0cd73359b15b664c3170e5d754078599
/src/data/hash_map.lean
60f9ec9b3f180b93201b78a43b4ad2d2515c423f
[ "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
29,555
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, Mario Carneiro -/ import data.array.lemmas import data.list.join import data.list.range import data.pnat.basic /-! # Hash maps Defines a hash map data struc...
7dce8813915851fdbede709c2cf4fd20b2ced46c
f313d4982feee650661f61ed73f0cb6635326350
/Mathlib/Tactic/OpenPrivate.lean
feb5785b64a17c4a03b2e4af70b55a3dfd6d0b34
[ "Apache-2.0" ]
permissive
shingtaklam1324/mathlib4
38c6e172eec1385944db5a70a3b5545c924980ee
50610c343b7065e8eec056d641f859ceed608e69
refs/heads/master
1,683,032,333,313
1,621,942,699,000
1,621,942,699,000
371,130,608
0
0
Apache-2.0
1,622,053,166,000
1,622,053,166,000
null
UTF-8
Lean
false
false
4,740
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import Lean.Elab.Command import Lean.Util.FoldConsts open Lean Parser.Tactic Elab Command namespace Lean def Meta.collectPrivateIn [Monad m] [MonadEnv m] [Mo...
77e0e948f8e258e9c239a7767d49f8b7943116ed
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/int/parity.lean
a012ad282e206aa5bff477d4e236b2821ce1fa50
[ "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
7,510
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Benjamin Davidson -/ import data.nat.parity /-! # Parity of integers This file contains theorems about the `even` and `odd` predicates on the integers. ## Tags even, ...
65d506ed9336652de70f7a073e57c59a13c81d55
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/linear_algebra/affine_space/finite_dimensional.lean
a499a38b27d1116f14159685a8e3a43a7c35fe01
[ "Apache-2.0" ]
permissive
lacker/mathlib
f2439c743c4f8eb413ec589430c82d0f73b2d539
ddf7563ac69d42cfa4a1bfe41db1fed521bd795f
refs/heads/master
1,671,948,326,773
1,601,479,268,000
1,601,479,268,000
298,686,743
0
0
Apache-2.0
1,601,070,794,000
1,601,070,794,000
null
UTF-8
Lean
false
false
8,393
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Joseph Myers. -/ import linear_algebra.affine_space.independent import linear_algebra.finite_dimensional noncomputable theory open_locale big_operators open_locale classical /-! # Finit...
067da1bc59ba044fc614cf7ffb7a5586ff1b739a
130c49f47783503e462c16b2eff31933442be6ff
/stage0/src/Lean/Server/FileWorker.lean
a4037fb021b3bdf45ef614463612693f27733e45
[ "Apache-2.0" ]
permissive
Hazel-Brown/lean4
8aa5860e282435ffc30dcdfccd34006c59d1d39c
79e6732fc6bbf5af831b76f310f9c488d44e7a16
refs/heads/master
1,689,218,208,951
1,629,736,869,000
1,629,736,896,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
19,550
lean
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ import Init.System.IO import Std.Data.RBMap import Lean.Environment import Lean.Data.Lsp import Lean.Data.Json.FromToJson import Lean.Server.Util...
76f06a02374dc70a2306debe7c0d3ddb73b78665
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/02_Dependent_Type_Theory.org.23.lean
33febceb4f8c80fc2df8ff8b34e4208636c6709a
[]
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
246
lean
/- page 22 -/ import standard variables (A B C : Type) definition compose (g : B → C) (f : A → B) (x : A) : C := g (f x) definition do_twice (h : A → A) (x : A) : A := h (h x) definition do_thrice (h : A → A) (x : A) : A := h (h (h x))
1bf62fded87ef5cf40f73c997832d1e65daaf717
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/combinatorics/simple_graph/density.lean
bf9bf9dfb761b421b337e483a8fb92cfcf1cf5a1
[ "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
16,280
lean
/- Copyright (c) 2022 Yaël Dillies, Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies, Bhavik Mehta -/ import combinatorics.simple_graph.basic import order.partition.finpartition import tactic.positivity /-! # Edge density > THIS FILE IS SYNCH...
5daed3f386d63ded85f2a506e8c5b74c038f01b9
46125763b4dbf50619e8846a1371029346f4c3db
/src/data/set/intervals/basic.lean
46112b324b062c53b5aec45059afedbba64f5e9e
[ "Apache-2.0" ]
permissive
thjread/mathlib
a9d97612cedc2c3101060737233df15abcdb9eb1
7cffe2520a5518bba19227a107078d83fa725ddc
refs/heads/master
1,615,637,696,376
1,583,953,063,000
1,583,953,063,000
246,680,271
0
0
Apache-2.0
1,583,960,875,000
1,583,960,875,000
null
UTF-8
Lean
false
false
28,604
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Patrick Massot, Yury Kudryashov -/ import order.lattice algebra.order_functions algebra.ordered_field tactic.tauto /-! # Intervals In any preorder `α...
14441466914c255b5f1a1c8caeeee8c9fdd70fbd
958488bc7f3c2044206e0358e56d7690b6ae696c
/lean/propext.lean
3b0d3d44f35d20ae6321fb75adb59a7e6c78f600
[]
no_license
possientis/Prog
a08eec1c1b121c2fd6c70a8ae89e2fbef952adb4
d4b3debc37610a88e0dac3ac5914903604fd1d1f
refs/heads/master
1,692,263,717,723
1,691,757,179,000
1,691,757,179,000
40,361,602
3
0
null
1,679,896,438,000
1,438,953,859,000
Coq
UTF-8
Lean
false
false
682
lean
axiom propext2 {p q : Prop} : (p ↔ q) → p = q --#check @propext2 --#check @propext variables p q r s t : Prop variable P : Prop -> Prop lemma L1 : (p ↔ q) → ((r ∧ p ∧ s → t) ↔ (r ∧ q ∧ s → t)) := begin intros H, rewrite (propext2 H) end lemma L2 : (p ↔ q) → (P p → P q) := begin intros H1 H2, rewrite ← (prop...
63dedead387b043bfff1cffadfef271d3bd29bf3
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/empty_match.lean
51a5a9fe624856bafb13ed27aa5bce02e3e671ba
[ "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
119
lean
open nat definition not_lt_zero (a : nat) : ¬ a < 0 := assume H : a < 0, match H with end #check _root_.not_lt_zero
f93081578b15eff217f5fccd9db71eabfa7575cf
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebraic_topology/simplicial_object.lean
0467fe961b36d1aefb564ed67751af0769a76ba1
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
24,028
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Scott Morrison, Adam Topaz -/ import algebraic_topology.simplex_category import category_theory.arrow import category_theory.limits.functor_category import category_the...
99c6cc52afbc802e8708ed8c2f71d2d8205a638c
f2bd3e4fa52fd93f908a6931e81ce3febc0c115e
/.config
3737124b6ee2d7a54439c8cfe03e0bfdad452abc
[ "MIT" ]
permissive
XDD-Sp/MT1300
66fff2e45606db348b1ee04205ae1cd96d801f26
ae45637a3c907c49ee745e90e0d5d910e3cb3880
refs/heads/main
1,693,850,977,035
1,634,387,675,000
1,634,387,675,000
417,819,436
0
0
MIT
1,634,386,755,000
1,634,386,754,000
null
UTF-8
Lean
false
false
266,817
config
# 2021-10-10 ssr plus, passwall # Automatically generated file; DO NOT EDIT. # OpenWrt Configuration # CONFIG_MODULES=y CONFIG_HAVE_DOT_CONFIG=y # CONFIG_TARGET_sunxi is not set # CONFIG_TARGET_apm821xx is not set # CONFIG_TARGET_ath25 is not set # CONFIG_TARGET_ath79 is not set # CONFIG_TARGET_bcm27xx is not set # CON...
66be7264a8937d34025b746681df8fc82610cbf5
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/analysis/normed_space/banach.lean
103f1d2a63720ac40c51bfbcf1601d782feed318
[ "Apache-2.0" ]
permissive
dexmagic/mathlib
ff48eefc56e2412429b31d4fddd41a976eb287ce
7a5d15a955a92a90e1d398b2281916b9c41270b2
refs/heads/master
1,693,481,322,046
1,633,360,193,000
1,633,360,193,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
17,079
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import topology.metric_space.baire import analysis.normed_space.operator_norm /-! # Banach open mapping theorem This file contains the Banach open mapping the...
ecbea6cf316104f37798df278e18d29b5a26ebf7
19cc34575500ee2e3d4586c15544632aa07a8e66
/src/ring_theory/witt_vector/structure_polynomial.lean
51863dfdbb23d0a3b83056873c6ab35b5a8e673e
[ "Apache-2.0" ]
permissive
LibertasSpZ/mathlib
b9fcd46625eb940611adb5e719a4b554138dade6
33f7870a49d7cc06d2f3036e22543e6ec5046e68
refs/heads/master
1,672,066,539,347
1,602,429,158,000
1,602,429,158,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
12,673
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Robert Y. Lewis -/ import data.matrix.notation import field_theory.mv_polynomial import field_theory.finite.polynomial import number_theory.basic import ring_theory.wi...
f2e80c2b283e7f00f6f104daf61f9e97587b845a
7c2dd01406c42053207061adb11703dc7ce0b5e5
/src/solutions/01_equality_rewriting.lean
fe3d9847fad923381953fd1aa0968cd156fc2cdb
[ "Apache-2.0" ]
permissive
leanprover-community/tutorials
50ec79564cbf2ad1afd1ac43d8ee3c592c2883a8
79a6872a755c4ae0c2aca57e1adfdac38b1d8bb1
refs/heads/master
1,687,466,144,386
1,672,061,276,000
1,672,061,276,000
189,169,918
186
81
Apache-2.0
1,686,350,300,000
1,559,113,678,000
Lean
UTF-8
Lean
false
false
5,718
lean
import data.real.basic /- One of the earliest kind of proofs one encounters while learning mathematics is proving by a calculation. It may not sound like a proof, but this is actually using lemmas expressing properties of operations on numbers. It also uses the fundamental property of equality: if two mathematical ob...
9b742d4a33f5627f1ae10c02dadf1d0436dbbc52
9dc8cecdf3c4634764a18254e94d43da07142918
/src/number_theory/kummer_dedekind.lean
789eb779ba26447fd8a890fe57218441659e658f
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
8,343
lean
/- Copyright (c) 2021 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen, Paul Lezeau -/ import ring_theory.adjoin_root import ring_theory.dedekind_domain.ideal import ring_theory.algebra_tower /-! # Kummer-Dedekind theorem This file proves the ...
f442e0d95bd8a27f3374407c9725eafc249b3449
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/field/opposite.lean
bb6e07c2a8747d0552ae645eed3c5622fa1b66ab
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
2,115
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import algebra.field.defs import algebra.ring.opposite import data.int.cast.lemmas /-! # Field structure on the multiplicative/additive opposite > THIS FILE IS SYNCHRONIZED W...
891fe08ae09c2d18b869e102f2a606993aa6b6ea
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/algebra/group/pi.lean
6dab665c91e740178b9d5efd7a5bd7c6ad5fdb29
[ "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
9,124
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Patrick Massot -/ import data.pi import data.set.function import tactic.pi_instances import algebra.group.hom_instances /-! # Pi instances for groups and monoids This file ...
d5cc1f90906ed76e044a48806d33f7fe1c071896
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/error_pos.lean
9b01dda21a20b1df45f392823d39ce8db69f53f7
[ "Apache-2.0" ]
permissive
bre7k30/lean
de893411bcfa7b3c5572e61b9e1c52951b310aa4
5a924699d076dab1bd5af23a8f910b433e598d7a
refs/heads/master
1,610,900,145,817
1,488,006,845,000
1,488,006,845,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
488
lean
example (A : Type) (B : A → Type) (b : B) : true := trivial example : ∀ (A : Type) (B : A → Type) (b : B), true := begin intros, trivial end check λ (A : Type) (B : A → Type) (b : B), true check λ (A : Type) (B : A → Type), B → true check λ (A : Type) (B : A → Type) b, (b : B) example {A : Type} {B : Type} {a₁ a...
832915814fe86c2e39e4db647268193dd4ae3907
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/topology/metric_space/hausdorff_distance.lean
bcf14501d29fc81f162b06bd8f53a5cac05e0ac9
[ "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
32,345
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Sébastien Gouëzel -/ import topology.metric_space.isometry import topology.instances.ennreal /-! # Hausdorff distance The Hausdorff distance on subsets of a metric (or emetric) spa...
4c029bf8b25c98bf1a5ee815e6824ec5420be394
618003631150032a5676f229d13a079ac875ff77
/src/tactic/omega/clause.lean
e54a872118b0d699cc217dcd022ce05f71f0a1f1
[ "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,997
lean
/- Copyright (c) 2019 Seul Baek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Seul Baek Definition of linear constrain clauses. -/ import tactic.omega.term namespace omega /-- (([t₁,...tₘ],[s₁,...,sₙ]) : clause) encodes the constraints 0 = ⟦t₁⟧ ∧ ... ∧ 0 = ⟦tₘ⟧ ∧ 0...
f32c590316a9c948089e7a20ffb12ffbd79adccf
c777c32c8e484e195053731103c5e52af26a25d1
/src/analysis/special_functions/trigonometric/angle.lean
422c30266f8b2eaf2770d98155a479afcd3b8332
[ "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
35,669
lean
/- Copyright (c) 2019 Calle Sönne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Calle Sönne -/ import analysis.special_functions.trigonometric.basic import analysis.normed.group.add_circle import algebra.char_zero.quotient import topology.instances.sign /-! # The ty...
16ab1d171c8d1d2e5cbf71ff710e2a9a9e38eece
6e41ee3ac9b96e8980a16295cc21f131e731884f
/tests/lean/slow/nat_bug2.lean
883f3b33a5091c560488e0e08bfa5d0eefcf22cf
[ "Apache-2.0" ]
permissive
EgbertRijke/lean
3426cfa0e5b3d35d12fc3fd7318b35574cb67dc3
4f2e0c6d7fc9274d953cfa1c37ab2f3e799ab183
refs/heads/master
1,610,834,871,476
1,422,159,801,000
1,422,159,801,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
49,288
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 -----------------------------------------------------------...
82ae6f3b4ae96a9992e6c750197b4cd1edd4a0a7
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/ideal/prod.lean
96485fbc8535e4b45a99b3fabd6461f77b2e9c55
[ "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
6,131
lean
/- Copyright (c) 2020 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel -/ import ring_theory.ideal.operations /-! # Ideals in product rings > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to ...
07d6ac3d1649d18ed10f51db62ccd3bc51418667
0d7f5899c0475f9e105a439896d9377f80c0d7c3
/src/fron_ualg.lean
f27303eeb50f470bd5ad1351eb7a46f8700e17a3
[]
no_license
adamtopaz/UnivAlg
127038f320e68cdf3efcd0c084c9af02fdb8da3d
2458d47a6e4fd0525e3a25b07cb7dd518ac173ef
refs/heads/master
1,670,320,985,286
1,597,350,882,000
1,597,350,882,000
280,585,500
4
0
null
1,597,350,883,000
1,595,048,527,000
Lean
UTF-8
Lean
false
false
1,190
lean
import .lang import .forget import .free_ralg import .fron_ralg import .add_rules import .ualg namespace rules_hom variables {L0 : lang} {R0 : rules L0} {L1 : lang} {R1 : rules L1} variables (ι : R0 →# R1) variables (A : Type*) [ualg R0 A] include ι def fron := R1.add (ι.lhom.fron A) namespace fron instance : has...
baa9f4e8502e48e71568b37eac281f192c28172b
38ee9024fb5974f555fb578fcf5a5a7b71e669b5
/Mathlib/Mathport/Syntax.lean
9be04c5d0420f3e2424c14a5c11820f29531014d
[ "Apache-2.0" ]
permissive
denayd/mathlib4
750e0dcd106554640a1ac701e51517501a574715
7f40a5c514066801ab3c6d431e9f405baa9b9c58
refs/heads/master
1,693,743,991,894
1,636,618,048,000
1,636,618,048,000
373,926,241
0
0
null
null
null
null
UTF-8
Lean
false
false
34,483
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 Lean.Elab.Command import Lean.Elab.Quotation import Mathlib.Tactic.Core import Mathlib.Tactic.Ext import Mathlib.Tactic.Find import Mathlib.Tactic.Libra...
34a8aefffab9bfe5dec3b1d3eab6751fb922626a
dc253be9829b840f15d96d986e0c13520b085033
/algebra/tensor.hlean
eeb15e8ea2f962fa90f4d867fff9711ca9af7623
[ "Apache-2.0" ]
permissive
cmu-phil/Spectral
4ce68e5c1ef2a812ffda5260e9f09f41b85ae0ea
3b078f5f1de251637decf04bd3fc8aa01930a6b3
refs/heads/master
1,685,119,195,535
1,684,169,772,000
1,684,169,772,000
46,450,197
42
13
null
1,505,516,767,000
1,447,883,921,000
Lean
UTF-8
Lean
false
false
1,268
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Egbert Rijke Tensor group -/ import .free_abelian_group open eq algebra is_trunc sigma sigma.ops prod trunc function equiv namespace group variables {G G' : G...
a604925d471cc7e9daac10bac1f1a744e109f3c1
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/fin/tuple/basic.lean
8deaf3f06fa08cb58ddd23482d887eb272a65ed8
[ "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
27,779
lean
/- Copyright (c) 2019 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Yury Kudryashov, Sébastien Gouëzel, Chris Hughes -/ import data.fin.basic import data.pi.lex import data.set.intervals.basic /-! # Operation on tuples We interpre...
a36e74755c2f84c9246f7a42e925f3a13ecf1b07
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/group_theory/submonoid/default_auto.lean
07492864a93ccd4665cbdfd0eb64a04315afd47c
[]
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
164
lean
import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.group_theory.submonoid.membership import Mathlib.PostPort namespace Mathlib end Mathlib
0b044d32a4ba3dc3de9d73454bb637b6a2730cd6
649957717d58c43b5d8d200da34bf374293fe739
/src/topology/algebra/group.lean
a4d0d7b00037d3ab0f4d2fdf3f1038f18cce9ba7
[ "Apache-2.0" ]
permissive
Vtec234/mathlib
b50c7b21edea438df7497e5ed6a45f61527f0370
fb1848bbbfce46152f58e219dc0712f3289d2b20
refs/heads/master
1,592,463,095,113
1,562,737,749,000
1,562,737,749,000
196,202,858
0
0
Apache-2.0
1,562,762,338,000
1,562,762,337,000
null
UTF-8
Lean
false
false
14,131
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Patrick Massot Theory of topological groups. -/ import data.equiv.algebra import group_theory.quotient_group import topology.algebra.monoid topology.o...
7e87aef800fc3fc30f3052ac2256cec6893cdde4
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/pequiv.lean
ea1cf4cd9b40dc8183b1f05ac133a37c3753d311
[ "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
14,090
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 data.set.basic /-! # Partial Equivalences In this file, we define partial equivalences `pequiv`, which are a bijection between a subset of `α` and a subset of `...
70bc511762df2d577ae50f6f21f0d157ae299819
947b78d97130d56365ae2ec264df196ce769371a
/stage0/src/Lean/Parser/Syntax.lean
321968a12053fc9edfe9fb296072ed1be581e6c0
[ "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
5,452
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, Sebastian Ullrich -/ import Lean.Parser.Command import Lean.Parser.Tactic namespace Lean namespace Parser @[init] def regBuiltinSyntaxParserAttr : IO Unit :...
23c6b081be7bc8d6771e1c2c92b5297f8dad81ce
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/specific_limits/normed.lean
47c7d7a5d578aab9bd84e734eb3f26546dac5c48
[ "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
30,228
lean
/- Copyright (c) 2020 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anatole Dedecker, Sébastien Gouëzel, Yury G. Kudryashov, Dylan MacKenzie, Patrick Massot -/ import algebra.order.field.basic import analysis.asymptotics.asymptotics import analysis....
6adc2bc36625da982410cd1761928953cee2f570
4c630d016e43ace8c5f476a5070a471130c8a411
/group_theory/order_of_element.lean
3fa91cdb8825d9ac1b2e80ff4bd4946ebe43c894
[ "Apache-2.0" ]
permissive
ngamt/mathlib
9a510c391694dc43eec969914e2a0e20b272d172
58909bd424209739a2214961eefaa012fb8a18d2
refs/heads/master
1,585,942,993,674
1,540,739,585,000
1,540,916,815,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,428
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import data.set.finite group_theory.coset open set function variables {α : Type*} {s : set α} {a a₁ a₂ b c: α} -- TODO this lemma isn't used anywhere in this file, ...
d74f6d5ebf994f560d8b785b38202991d66f66cf
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/monoidal/of_chosen_finite_products.lean
5a9b0c48a66886025d717c9e3e231804bbacfd0a
[ "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
15,905
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Simon Hudon -/ import category_theory.monoidal.braided import category_theory.limits.shapes.binary_products import category_theory.limits.shapes.terminal import categor...
fd5c667f9df9877b893c32995edbad197280c952
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/separation.lean
a5bc09e356b2f04219fcb764e1b03ae3fa4cb3ae
[ "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
93,002
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 topology.subset_properties import topology.connected import topology.nhds_set import topology.inseparable /-! # Separation properties of topol...
6e497e3478822b79e01566afd5646c258be0305f
c09f5945267fd905e23a77be83d9a78580e04a4a
/src/topology/algebra/group.lean
07c16c51b71211b9dba71f2c9595a725bb87b556
[ "Apache-2.0" ]
permissive
OHIHIYA20/mathlib
023a6df35355b5b6eb931c404f7dd7535dccfa89
1ec0a1f49db97d45e8666a3bf33217ff79ca1d87
refs/heads/master
1,587,964,529,965
1,551,819,319,000
1,551,819,319,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
13,374
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Patrick Massot Theory of topological groups. -/ import data.equiv.algebra import group_theory.quotient_group import topology.algebra.monoid open clas...
09eee3f0a11cde668b0c253d3d5979515f0c2987
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/counterexamples/phillips.lean
0dab408f4b4878a959f3ba723a7a174ee1541659
[ "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
28,534
lean
/- Copyright (c) 2021 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import analysis.normed_space.hahn_banach import measure_theory.measure.lebesgue /-! # A counterexample on Pettis integrability There are several theories of i...
9ebc3a1ede44d7604c9a18c2a6c8378ff93d7a22
d7189ea2ef694124821b033e533f18905b5e87ef
/galois/bitvec/rotate.lean
a847ca164ed5b88a85fb81a351076e5525b534b2
[ "Apache-2.0" ]
permissive
digama0/lean-protocol-support
eaa7e6f8b8e0d5bbfff1f7f52bfb79a3b11b0f59
cabfa3abedbdd6fdca6e2da6fbbf91a13ed48dda
refs/heads/master
1,625,421,450,627
1,506,035,462,000
1,506,035,462,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
226
lean
import data.bitvec import galois.vector.rotate namespace bitvec variables {n : ℕ} definition rol : bitvec n → ℕ → bitvec n := vector.rol definition ror : bitvec n → ℕ → bitvec n := vector.ror end bitvec
6125557962f6bf09ad25d68493403cd7399b2c77
19cc34575500ee2e3d4586c15544632aa07a8e66
/src/data/complex/exponential.lean
f940b5148ce2644dafe6dd4862e4810fa7591787
[ "Apache-2.0" ]
permissive
LibertasSpZ/mathlib
b9fcd46625eb940611adb5e719a4b554138dade6
33f7870a49d7cc06d2f3036e22543e6ec5046e68
refs/heads/master
1,672,066,539,347
1,602,429,158,000
1,602,429,158,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
51,110
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir -/ import algebra.geom_sum import data.nat.choose.sum import data.complex.basic /-! # Exponential, trigonometric and hyperbolic trigonometric funct...
56fd3522a9a4a2401b60288c7e84fd8a5178e8b2
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/tests/lean/run/listDecEq.lean
060978784e517a3cebeae889293e50faf6ba8eae
[ "Apache-2.0" ]
permissive
dupuisf/lean4
d082d13b01243e1de29ae680eefb476961221eef
6a39c65bd28eb0e28c3870188f348c8914502718
refs/heads/master
1,676,948,755,391
1,610,665,114,000
1,610,665,114,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
788
lean
#lang lean4 -- List decidable equality using `withPtrEqDecEq` def listDecEqAux {α} [s : DecidableEq α] : ∀ (as bs : List α), Decidable (as = bs) | [], [] => isTrue rfl | [], b::bs => isFalse $ fun h => List.noConfusion h | a::as, [] => isFalse $ fun h => List.noConfusion h | a::as, b::bs => match s a b wi...
7a86e69d2908767469c4ba7d4afe48b30c5f203f
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/docs/tutorial/category_theory/intro.lean
238c8926aaa7f13f23603611828765b0ca73408e
[ "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
11,638
lean
import category_theory.functor_category -- this transitively imports -- category_theory.category -- category_theory.functor -- category_theory.natural_transformation /-! # An introduction to category theory in Lean This is an introduction to the basic usage of category theory (in the mathematical sense) in Lean. We c...
62d1c87863b1fd5a16c9ea634a1dca93200ae9c4
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/stage0/src/Lean/Elab/Tactic/Unfold.lean
69ea96a5889e5125f2a1a7de12f19a6e39a2a033
[ "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
1,091
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.Meta.Tactic.Unfold import Lean.Elab.Tactic.Basic import Lean.Elab.Tactic.Location namespace Lean.Elab.Tactic open Meta def unfoldLocalDecl (de...
d10aedee6454dada6a2a45b2479edd31c0324ad7
94e33a31faa76775069b071adea97e86e218a8ee
/src/geometry/manifold/algebra/smooth_functions.lean
b4cdbb28b834193245aabd89798e6870c6b80f40
[ "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
10,233
lean
/- Copyright © 2020 Nicolò Cavalleri. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nicolò Cavalleri -/ import geometry.manifold.algebra.structures /-! # Algebraic structures over smooth functions In this file, we define instances of algebraic structures over smoot...
064bc0cddda2035fcba1325f3d86577878f790c6
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/monoidal/functor.lean
d43a48e845e3c62f58fde9850df1fb5dc101568d
[ "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,641
lean
/- Copyright (c) 2018 Michael Jendrusch. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Michael Jendrusch, Scott Morrison, Bhavik Mehta -/ import category_theory.monoidal.category import category_theory.adjunction.basic import category_theory.products.basic /-! # (Lax...
43bb538d22525da48f685853ffae6b571cae0b78
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/linear_algebra/determinant.lean
581bbc3d9f03be18f7dd04270ccad12e9a8d3123
[ "Apache-2.0" ]
permissive
jumpy4/mathlib
d3829e75173012833e9f15ac16e481e17596de0f
af36f1a35f279f0e5b3c2a77647c6bf2cfd51a13
refs/heads/master
1,693,508,842,818
1,636,203,271,000
1,636,203,271,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
15,852
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, Patrick Massot, Casper Putz, Anne Baanen -/ import linear_algebra.free_module.pid import linear_algebra.matrix.basis import linear_algebra.matrix.diagonal import linear...
1550bb84cc422e0efa1f3c22ec88e8be864cb02c
d7189ea2ef694124821b033e533f18905b5e87ef
/galois/category/monad/state/default.lean
4e3a36a039595d508d887350b0771a0c57346d74
[ "Apache-2.0" ]
permissive
digama0/lean-protocol-support
eaa7e6f8b8e0d5bbfff1f7f52bfb79a3b11b0f59
cabfa3abedbdd6fdca6e2da6fbbf91a13ed48dda
refs/heads/master
1,625,421,450,627
1,506,035,462,000
1,506,035,462,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,710
lean
/- This file defines a monad transformer for state, called monad.state_t that is similiar to the Haskell MTL type by the same name. -/ import galois.category.monad.state.class universe variables u v namespace monad /- The state transformer -/ structure state_t (s : Type u) (m : Type u → Type v) (α : Type u) := (...
d7042a23e22c3272cdc8156cd9a783fe850cfd8e
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/complex/module.lean
c4e89faa5729bf19b3d8457b9926861c0e44c4d4
[ "Apache-2.0" ]
permissive
Lix0120/mathlib
0020745240315ed0e517cbf32e738d8f9811dd80
e14c37827456fc6707f31b4d1d16f1f3a3205e91
refs/heads/master
1,673,102,855,024
1,604,151,044,000
1,604,151,044,000
308,930,245
0
0
Apache-2.0
1,604,164,710,000
1,604,163,547,000
null
UTF-8
Lean
false
false
4,326
lean
/- Copyright (c) 2020 Alexander Bentkamp, Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp, Sébastien Gouëzel -/ import data.complex.basic import data.matrix.notation import field_theory.tower import linear_algebra.finite_dimensional...
da88191ccf07917d10ebe60fa3567d0304563c26
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/data/nat/gcd.lean
68bdc8701bd37e217e8ccd835b3875c655bd7f42
[ "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
13,511
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 data.nat.basic namespace nat /- gcd -/ theorem gcd_dvd (m n : ℕ) : (gcd m n ∣ m) ∧ (g...
1ee79f641e46765b4233e64f007eb4c46f683e40
0845ae2ca02071debcfd4ac24be871236c01784f
/tests/lean/string_imp.lean
06e9b4d466ec37bfe5adb3920bdb881a0bb1da35
[ "Apache-2.0" ]
permissive
GaloisInc/lean4
74c267eb0e900bfaa23df8de86039483ecbd60b7
228ddd5fdcd98dd4e9c009f425284e86917938aa
refs/heads/master
1,643,131,356,301
1,562,715,572,000
1,562,715,572,000
192,390,898
0
0
null
1,560,792,750,000
1,560,792,749,000
null
UTF-8
Lean
false
false
1,582
lean
#exit -- Disabled until we implement new VM #eval ("abc" ++ "cde").length #eval "abc".popBack #eval "".popBack #eval "abcd".popBack #eval ("abcd".mkIterator.nextn 2).remainingToString #eval ("abcd".mkIterator.nextn 2).prevToString #eval ("abcd".mkIterator.nextn 10).remainingToString #eval ("abcd".mkIterator.nextn 10)....
a49faa8d11f655eefad2090bd976538aaf4642f1
4fa118f6209450d4e8d058790e2967337811b2b5
/src/for_mathlib/group.lean
a73b0e8837fc944b67aa09195f03d47ecce38746
[ "Apache-2.0" ]
permissive
leanprover-community/lean-perfectoid-spaces
16ab697a220ed3669bf76311daa8c466382207f7
95a6520ce578b30a80b4c36e36ab2d559a842690
refs/heads/master
1,639,557,829,139
1,638,797,866,000
1,638,797,866,000
135,769,296
96
10
Apache-2.0
1,638,797,866,000
1,527,892,754,000
Lean
UTF-8
Lean
false
false
1,730
lean
import algebra.group data.equiv.basic import group_theory.subgroup import group_theory.quotient_group import for_mathlib.equiv variables {G : Type*} [group G] open quotient_group -- this one lemma is not PR'ed yet. def mul_equiv.quot_eq_of_eq {G1 : set G} [normal_subgroup G1] {G2 : set G} [normal_subgroup G2] (h : G1...
ea468c14d07574a2a248efa7736ebfdd813a4831
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/interactive/editAfterError.lean
aa28b67e868e51d21841e66f068af9450b83821e
[ "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
75
lean
#check tru #check fal --^ insert: s --^ collectDiagnostics
ea19cf91b241a4b05ba67037945657840155ed98
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/list/indexes.lean
bc47dbbec6dcff379657020fdfa7bc9fd52ac7f2
[ "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
7,990
lean
/- Copyright (c) 2020 Jannis Limperg. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jannis Limperg -/ import data.list.range /-! # Lemmas about list.*_with_index functions. Some specification lemmas for `list.map_with_index`, `list.mmap_with_index`, `list.foldl_with...
fab3c57b8556d067a1ed8525ebbe7f2d21998841
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/algebra/monoid_algebra.lean
d4c5f6cdd0ca98347dcc3adafebae10731172980
[ "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
44,760
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 algebra.algebra.basic import linear_algebra.finsupp /-! # Monoid algebras When the domain of a `finsupp` has a multiplica...
4955958792226d81c9da1e9f6906fd4b9448c389
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/logic/unique.lean
5384a49f64e38f90a6597c22da6259596cee9e0e
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
8,296
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 tactic.basic import logic.is_empty /-! # Types with a unique term > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a correspondi...
c7172de9530f453055ac252c07330107d86c42f0
bd30ef9a38da5172e55165b5cf19d92706763afa
/src/fin_group.lean
b6ad58ef575bbb513e47a9602e90a8a2b39c32c8
[]
no_license
kendfrey/rubiks-cube-group
8838ce34704d8d150e5feba6f1e536b3d228dd37
3baebd73972384294931c75d584a491eb0fbc15c
refs/heads/master
1,671,557,772,358
1,601,554,362,000
1,601,554,362,000
285,715,961
21
0
null
null
null
null
UTF-8
Lean
false
false
1,715
lean
import data.fin open fin nat def fin' := fin variables {n : ℕ} (a b c : fin' n.succ) instance : has_one (fin' n.succ) := ⟨(0 : fin n.succ)⟩ instance : has_mul (fin' n.succ) := ⟨((+) : fin n.succ → fin n.succ → fin n.succ)⟩ include a private def inv : fin' n.succ := begin cases a, cases a_val, { exact 1, ...
ca731c817fe985215de0691725cf104472fb19ce
1a61aba1b67cddccce19532a9596efe44be4285f
/library/algebra/complete_lattice.lean
c7f0a70b67b444689e41f67a182a563f7a0db661
[ "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
9,963
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 Complete lattices TODO: define dual complete lattice and simplify proof of dual theorems. -/ import algebra.lattice data.set.basic open set namespace algebra...
5ab050e4c6e6c64596e870d7b6713209120d349b
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/ring_theory/discriminant.lean
eab5a926a4adc09679abd41381ff17a08d76058d
[ "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
14,725
lean
/- Copyright (c) 2021 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca -/ import ring_theory.trace import ring_theory.norm import ring_theory.integrally_closed /-! # Discriminant of a family of vectors Given an `A`-algebra `B` and `b`,...
2d606012fe40532f8e9b0e31e7527c7361f7b252
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/computability/DFA.lean
778349df0f3039e4ae819f865dd1e4edc149fa76
[ "Apache-2.0" ]
permissive
AntoineChambert-Loir/mathlib
64aabb896129885f12296a799818061bc90da1ff
07be904260ab6e36a5769680b6012f03a4727134
refs/heads/master
1,693,187,631,771
1,636,719,886,000
1,636,719,886,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,619
lean
/- Copyright (c) 2020 Fox Thomson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Fox Thomson -/ import data.fintype.basic import computability.language import tactic.norm_num /-! # Deterministic Finite Automata This file contains the definition of a Deterministic Fi...
7c0d8cd9c015245547a5575cc2c259f2c4c32915
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebraic_geometry/projective_spectrum/structure_sheaf.lean
d6d743bec77d11f99cb4b4e52aa4cadf8da78adc
[ "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,788
lean
/- Copyright (c) 2022 Jujian Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jujian Zhang -/ import algebraic_geometry.projective_spectrum.topology import topology.sheaves.local_predicate import ring_theory.graded_algebra.homogeneous_localization import algebraic...
01048611a2fb1fdfab681c80ec4e2c1ff3a1fd42
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/algebra/interval.lean
82372f13cf1bffa00d41ae8668ca8c666cd92b3d
[ "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
6,598
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad Notation for intervals and some properties. The mnemonic: o = open, c = closed, i = infinity. For example, Ioi a b is '(a, ∞). -/ import .order data.set open set namespa...
96612a6018a494e9c0adb3d01092bbf5a05367b6
cf39355caa609c0f33405126beee2739aa3cb77e
/library/init/meta/mk_has_reflect_instance.lean
cff1dcb415e6ff0cc46dd0cae48a0c6789c90c0a
[ "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
3,779
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich Helper tactic for constructing a has_reflect instance. -/ prelude import init.meta.rec_util namespace tactic open expr environment list /-- Retrieve the nam...
891c46643191d9fd86c861831bc17e2c2b18fa1f
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/unusedLet.lean
d1f0f86ffe1d8cd2c807caae319df7202e2b8fbc
[ "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
123
lean
def pro := let x := 42; false #print pro def f : Nat → Nat | 0 => 1 | n+1 => let y := 42 2 * f n #print f
5267a3c6d9a37b452d2081fe69654b687b88525f
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/linear_algebra/quotient.lean
514cef1e606862a2aaeeae821c83d54ff903e205
[ "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
21,248
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Kevin Buzzard, Yury Kudryashov -/ import group_theory.quotient_group import linear_algebra.span /-! # Quotients by submodules * If `p` is a submodule ...
78b2e4e305d6130c7b3d8c731cd5434a37436d76
8034095e1be60c0b8f6559c39220bd537d1f9933
/lambda/types.lean
972502d9482039b43bfdefa203160667472a5629
[]
no_license
teodorov/lambda
40c573e2dd268824641702d9f94cf61e019ae6c5
4dc4d595dd0ee20c59913ef0171fd33eb0d637a1
refs/heads/master
1,585,318,070,303
1,530,364,515,000
1,530,364,515,000
146,645,753
1
0
null
1,535,569,435,000
1,535,569,434,000
null
UTF-8
Lean
false
false
2,053
lean
namespace types inductive term : Type | var : string → term | app : term → term → term | lam : string → term → term open term def multi_lam (names : list string) (body : term) : term := list.foldr lam body names def multi_app (t : term) (b : list term) : term := list.foldl app t b def term_to_string : term → string...
c69b7d41e72a58da0be302e43c7ae45d725fcead
6df8d5ae3acf20ad0d7f0247d2cee1957ef96df1
/notes/9.17.19.notes.lean
4df3b6643dae2e81b7c786d50451aac2c8b5ad2d
[]
no_license
derekjohnsonva/CS2102
8ed45daa6658e6121bac0f6691eac6147d08246d
b3f507d4be824a2511838a1054d04fc9aef3304c
refs/heads/master
1,648,529,162,527
1,578,851,859,000
1,578,851,859,000
233,433,207
0
0
null
null
null
null
UTF-8
Lean
false
false
803
lean
/- Namespaces: Declarative regions that provide scope to an identifier -/ --First Namespace namespace cs def x := 1 #check x #eval x end cs --Second Namespace namespace oc def x := "Hi!" #check x #eval x end oc --to evaluate variables outside of the namespace, prepend the variable with the namespace #eval cs.x ...
dbc7c54e79add008997f4e0c47e94e07d84d6a3c
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/sorry.lean
8685e3a5afae0963d922c7a865dd5e0dda5a4fce
[ "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
66
lean
definition b : Prop := sorry theorem tst : true = false := sorry
12088de2a4abd8147a35ac7d2bf7f7a9f53114a3
5d166a16ae129621cb54ca9dde86c275d7d2b483
/tests/lean/run/even_odd2.lean
c5f5ecb9cdd0ca9bef0c93a279d269918ed26c1a
[ "Apache-2.0" ]
permissive
jcarlson23/lean
b00098763291397e0ac76b37a2dd96bc013bd247
8de88701247f54d325edd46c0eed57aeacb64baf
refs/heads/master
1,611,571,813,719
1,497,020,963,000
1,497,021,515,000
93,882,536
1
0
null
1,497,029,896,000
1,497,029,896,000
null
UTF-8
Lean
false
false
487
lean
mutual def even, odd with even : nat → bool | 0 := tt | (a+1) := odd a with odd : nat → bool | 0 := ff | (a+1) := even a using_well_founded {rel_tac := λ f eqns, tactic.trace f >> tactic.trace eqns >> tactic.apply_instance} example (a : nat) : even (a + 1) = odd a := by simp [even] example (a : nat) : odd (a ...
60156e10f9ea38178b0f4e0746c2a2639bfc2e73
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/linear_algebra/matrix/spectrum.lean
e7f85b320877c26f6b727753fce9ecb969f35295
[ "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
5,518
lean
/- Copyright (c) 2022 Alexander Bentkamp. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp -/ import analysis.inner_product_space.spectrum import linear_algebra.matrix.hermitian /-! # Spectral theory of hermitian matrices > THIS FILE IS SYNCHRONIZED ...
6a1b655c0e740e0753f7dde282c534295dab83a9
96338d06deb5f54f351493a71d6ecf6c546089a2
/priv/Lean/SetoidLim.lean
4976f8337e604e90b7209f6baec78b308a0488eb
[]
no_license
silky/exe
5f9e4eea772d74852a1a2fac57d8d20588282d2b
e81690d6e16f2a83c105cce446011af6ae905b81
refs/heads/master
1,609,385,766,412
1,472,164,223,000
1,472,164,223,000
66,610,224
1
0
null
1,472,178,919,000
1,472,178,919,000
null
UTF-8
Lean
false
false
4,935
lean
/- SetoidLim -/ import Setoid import Mor import Functor import Adjunction import Initial set_option pp.universes true set_option pp.metavar_args false namespace EXE /- - Definition of LIMIT in SetoidCat -/ namespace Setoid record LimType {C : CatType} (F : C⟶SetoidCat) : Type := (atOb : Π(X : C), [F ...
446b0d0a55fac9c5d67a6f9a44e7ab11652f8382
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/group_theory/congruence.lean
1554efd9278cbf6c5550ba3790511177df7066c4
[ "Apache-2.0" ]
permissive
hjvromen/lewis
40b035973df7c77ebf927afab7878c76d05ff758
105b675f73630f028ad5d890897a51b3c1146fb0
refs/heads/master
1,677,944,636,343
1,676,555,301,000
1,676,555,301,000
327,553,599
0
0
null
null
null
null
UTF-8
Lean
false
false
44,063
lean
/- Copyright (c) 2019 Amelia Livingston. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Amelia Livingston -/ import data.setoid.basic import algebra.group.pi import algebra.group.prod import data.equiv.mul_add import group_theory.submonoid.operations /-! # Congruence ...
d4513fcf5555fe027fe700012d1d2fcdfbda6f23
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/ring_theory/free_ring.lean
9c0e085f949e26d5499da01c5b8f2e154734d984
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
3,985
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Johan Commelin -/ import algebra.free_monoid group_theory.free_abelian_group data.polynomial universes u v def free_ring (α : Type u) : Type u := free_abelian_group $ free_mon...
c94615d3dc9e918d0e869038a3399923ce828689
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/run/split2.lean
f5b697c9b3844fb0021104b301592493551669fc
[ "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
942
lean
def f (x y z : Nat) : Nat := match x, y, z with | 5, _, _ => y | _, 5, _ => y | _, _, 5 => y | _, _, _ => 1 example (x y z : Nat) : x ≠ 5 → y ≠ 5 → z ≠ 5 → f x y z = 1 := by intros simp [f] split . contradiction . contradiction . contradiction . rfl example (x y z : Nat) : f x y z = y ∨ f x y ...
f109f8daf3eaa2fdb31788effaa33d2e994f3e54
618003631150032a5676f229d13a079ac875ff77
/src/tactic/norm_num.lean
9aafb5a5d4fecfc5224e8c970d04a7b1af1ccab5
[ "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
62,105
lean
/- Copyright (c) 2017 Simon Hudon All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Mario Carneiro -/ import data.rat.cast import data.rat.meta_defs import tactic.doc_commands /-! # `norm_num` Evaluating arithmetic expressions including *, +, -, ^, ≤ -/ un...
406d9968489cbfc87f4b031335c8acf079e42a17
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/topology/instances/nnreal.lean
61821363737759913c91f6c315e7f5d5c87c1ca8
[ "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
4,502
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin Nonnegative real numbers. -/ import data.real.nnreal topology.instances.real topology.algebra.infinite_sum noncomputable theory open set topological_space metric names...
904210f49168f066889eb5b9f1707a89bc6f114f
43390109ab88557e6090f3245c47479c123ee500
/src/Geometry/tarski_4.lean
f53c7dc209420967bf35434253267c6cba858da6
[ "Apache-2.0" ]
permissive
Ja1941/xena-UROP-2018
41f0956519f94d56b8bf6834a8d39473f4923200
b111fb87f343cf79eca3b886f99ee15c1dd9884b
refs/heads/master
1,662,355,955,139
1,590,577,325,000
1,590,577,325,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
28,897
lean
import geometry.tarski_3 open classical set namespace Euclidean_plane variables {point : Type} [Euclidean_plane point] local attribute [instance, priority 0] prop_decidable -- Planes and Half-planes def Bl (a : point) (A : set point) (b : point) : Prop := line A ∧ a ∉ A ∧ b ∉ A ∧ ∃ t, t ∈ A ∧ B a t b theorem nine1 ...
aeb48140c41a6500b80d2e8dd5a522018b5c1f33
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/print_escape_name.lean
510c637210d610fe77841163d4cee974aa1f9388
[ "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
125
lean
constant «x.y» : false lemma «a.b» : false := «x.y» #print «x.y» #print «a.b» #check «a.b» #print axioms «a.b»
f89523c9ff856ca693c2803aec5ead44da1b68bf
e2fc96178628c7451e998a0db2b73877d0648be5
/src/classes/context_free/closure_properties/permutation.lean
3a02102a0701057b3a18fef1ad4b70543f0e0292
[ "BSD-2-Clause" ]
permissive
madvorak/grammars
cd324ae19b28f7b8be9c3ad010ef7bf0fabe5df2
1447343a45fcb7821070f1e20b57288d437323a6
refs/heads/main
1,692,383,644,884
1,692,032,429,000
1,692,032,429,000
453,948,141
7
0
null
null
null
null
UTF-8
Lean
false
false
287
lean
import classes.context_free.closure_properties.bijection /-- The class of context-free languages is closed under permutation of terminals. -/ theorem CF_of_permute_CF {T : Type} (π : equiv.perm T) (L : language T) : is_CF L → is_CF (permute_lang L π) := CF_of_bijemap_CF π L
d60389c4af4219920c670715478b2a6f9cbba2fa
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/finsupp/lex.lean
9178940be7caeb94c20b16c1b5cdf533224250a0
[ "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
5,804
lean
/- Copyright (c) 2022 Damiano Testa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Damiano Testa -/ import data.pi.lex import data.finsupp.order import data.finsupp.ne_locus /-! # Lexicographic order on finitely supported functions This file defines the lexicographi...
ca924a7bc0b948e1ab7fb6a98f69518484ee90a3
07c76fbd96ea1786cc6392fa834be62643cea420
/hott/homotopy/freudenthal.hlean
65507312af130a16931a42e2e47ce11bf5ca9386
[ "Apache-2.0" ]
permissive
fpvandoorn/lean2
5a430a153b570bf70dc8526d06f18fc000a60ad9
0889cf65b7b3cebfb8831b8731d89c2453dd1e9f
refs/heads/master
1,592,036,508,364
1,545,093,958,000
1,545,093,958,000
75,436,854
0
0
null
1,480,718,780,000
1,480,718,780,000
null
UTF-8
Lean
false
false
11,784
hlean
/- Copyright (c) 2016 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn The Freudenthal Suspension Theorem -/ import homotopy.wedge homotopy.circle open eq is_conn is_trunc pointed susp nat pi equiv is_equiv trunc fiber trunc_index n...
f66301566754fd16d65db13dca52cd6039abada0
e030b0259b777fedcdf73dd966f3f1556d392178
/library/init/data/option/basic.lean
a483a19fb06370f7742ac8e26543f0a43b77ed36
[ "Apache-2.0" ]
permissive
fgdorais/lean
17b46a095b70b21fa0790ce74876658dc5faca06
c3b7c54d7cca7aaa25328f0a5660b6b75fe26055
refs/heads/master
1,611,523,590,686
1,484,412,902,000
1,484,412,902,000
38,489,734
0
0
null
1,435,923,380,000
1,435,923,379,000
null
UTF-8
Lean
false
false
3,344
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 -/ prelude import init.logic init.category open decidable universe variables u v namespace option def to_monad {m : Type → Type} [monad m] [alternative m] {...
47a5b65c75bb9aeabf386acd0a14721f4b82957c
4bcaca5dc83d49803f72b7b5920b75b6e7d9de2d
/tests/lean/run/toFromJson.lean
0bab2b9329c53149d73621e4ec963437a0f6be42
[ "Apache-2.0" ]
permissive
subfish-zhou/leanprover-zh_CN.github.io
30b9fba9bd790720bd95764e61ae796697d2f603
8b2985d4a3d458ceda9361ac454c28168d920d3f
refs/heads/master
1,689,709,967,820
1,632,503,056,000
1,632,503,056,000
409,962,097
1
0
null
null
null
null
UTF-8
Lean
false
false
3,117
lean
import Lean open Lean open Lean Parser Term declare_syntax_cat json syntax strLit : json syntax numLit : json syntax "{" (Lean.Parser.ident ": " json),* "}" : json syntax "[" json,* "]" : json syntax "json " json : term /- declare a micro json parser, so we can write our tests in a more legible way. -/ open Json in...
ae37d9029674392ea6645eb5eeb3ac9e92b76cef
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/ring_theory/roots_of_unity_auto.lean
b1c0a267067d90b0ca6b5a0da1c6baefd42e0c51
[]
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
22,263
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.nat.parity import Mathlib.data.polynomial.ring_division import Mathlib.group_theory.or...
1c4320c9c119837f9a8a5e0d50424c85fe38918d
f3849be5d845a1cb97680f0bbbe03b85518312f0
/library/init/category/alternative.lean
c5e313c0a333f04dac1a45029ea32c7562e4bbf1
[ "Apache-2.0" ]
permissive
bjoeris/lean
0ed95125d762b17bfcb54dad1f9721f953f92eeb
4e496b78d5e73545fa4f9a807155113d8e6b0561
refs/heads/master
1,611,251,218,281
1,495,337,658,000
1,495,337,658,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,115
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.logic init.category.applicative universes u v class has_orelse (f : Type u → Type v) : Type (max u+1 v) := (orelse : Π {α : Type u}, f ...
b7ba1f08c5679a7cbeb687765cd3aa013e646ea5
4727251e0cd73359b15b664c3170e5d754078599
/src/order/category/FinBoolAlg.lean
a6a1960a6ed5dfd4855e893b3481859a32291e4b
[ "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,564
lean
/- Copyright (c) 2022 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import order.category.BoolAlg import order.category.FinPartialOrder import order.hom.complete_lattice /-! # The category of finite boolean algebras This file defines `F...
859aef56855569187a05a55965d5f7d4209843e4
367134ba5a65885e863bdc4507601606690974c1
/src/data/matrix/basic.lean
48d050229e9f322eca074efc339b5e29dd79ba89
[ "Apache-2.0" ]
permissive
kodyvajjha/mathlib
9bead00e90f68269a313f45f5561766cfd8d5cad
b98af5dd79e13a38d84438b850a2e8858ec21284
refs/heads/master
1,624,350,366,310
1,615,563,062,000
1,615,563,062,000
162,666,963
0
0
Apache-2.0
1,545,367,651,000
1,545,367,651,000
null
UTF-8
Lean
false
false
44,361
lean
/- Copyright (c) 2018 Ellen Arlt. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ellen Arlt, Blair Shi, Sean Leather, Mario Carneiro, Johan Commelin -/ import algebra.big_operators.pi import algebra.module.pi import algebra.module.linear_map import algebra.big_operator...
1ee15ca6fc45d42e650156e40147eec06eb3a54f
0d22ec5e0205ec4203aae2ddf07e1f695ff21a61
/src/step3_derivations.lean
10a8e770d837111801ef847ddc29bc86e42d2481
[ "Apache-2.0" ]
permissive
shingtaklam1324/step3-06-q8-lean
4611fda6b002797d38d3f625253960dcfeb2a987
20e5161fab8b5c3c2dd051bd707a26f1dc50dac2
refs/heads/master
1,649,936,589,910
1,585,242,273,000
1,585,242,273,000
250,318,324
2
0
Apache-2.0
1,585,389,271,000
1,585,241,690,000
Lean
UTF-8
Lean
false
false
1,126
lean
import data.polynomial data.real.basic polynomial_derivations -- set_option profiler true section step open polynomial parameters Δ : polynomial ℝ → polynomial ℝ parameter Δ1 : Δ X = C 1 parameter Δ2 : ∀ (f g : polynomial ℝ), Δ(f + g) = Δ f + Δ g parameter Δ3 : ∀ (k : ℝ) (f : polynomial ℝ), Δ(C k * f...