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
af7bb3a35d90756b48cc2751108c4f603996361b
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/geometry/euclidean/basic.lean
693be4db98b7c0bcd186fa4286812a7d6321f2e2
[ "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
55,991
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers, Manuel Candales -/ import analysis.inner_product_space.projection import analysis.special_functions.trigonometric.inverse import algebra.quadratic_discriminant import linea...
24f64c38b06cbbbe3711d30c9678a9e160aa7d05
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/data/set/basic.lean
9b437b04c483c9f4c370c7f9784efbf2599eb695
[ "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
81,242
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 -/ import logic.unique import order.boolean_algebra /-! # Basic properties of sets Sets in Lean are homogeneous; all their elements have the same type...
b96e175a48bb966408e02cc7db851f61a0e505cc
6fca17f8d5025f89be1b2d9d15c9e0c4b4900cbf
/src/game/world2/level3.lean
09c1383141373f8bf3bd9dc0579c061219c477cd
[ "Apache-2.0" ]
permissive
arolihas/natural_number_game
4f0c93feefec93b8824b2b96adff8b702b8b43ce
8e4f7b4b42888a3b77429f90cce16292bd288138
refs/heads/master
1,621,872,426,808
1,586,270,467,000
1,586,270,467,000
253,648,466
0
0
null
1,586,219,694,000
1,586,219,694,000
null
UTF-8
Lean
false
false
1,290
lean
import mynat.definition -- hide import mynat.add -- hide import game.world2.level2 -- hide namespace mynat -- hide /- # Addition World ## Level 3: `succ_add` Oh no! On the way to `add_comm`, a wild `succ_add` appears. `succ_add` is the proof that `succ(a) + b = succ(a + b)` for `a` and `b` in your natural number ty...
86f615407a37d3a8223de746697c998eb84d53a0
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch6/ex0308.lean
95a86e4cd174e505f5d0cb8d2479ab90ada583b3
[]
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
26
lean
export nat (succ add sub)
fce0ac415cdd463b8f117e503d23326a3cea4fa1
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/tactic/basic.lean
d58af9230685e9ec29c3a008e7d0950d2a1ac67a
[ "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
613
lean
import tactic.alias tactic.cache tactic.clear tactic.converter.interactive tactic.converter.apply_congr tactic.core tactic.ext tactic.elide tactic.explode tactic.show_term tactic.find tactic.generalize_proofs tactic.interactive tactic.suggest tactic.lift tactic.localized tactic.mk_iff_...
59f3b89d25f9dd760361944fdfdefe8b7b7b362c
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebraic_geometry/elliptic_curve/weierstrass.lean
ea856a6ac27ac54aeca61960909f21a62f2eb854
[ "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
33,547
lean
/- Copyright (c) 2021 Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, David Kurniadi Angdinata -/ import algebra.cubic_discriminant import ring_theory.norm import tactic.linear_combination /-! # Weierstrass equations of elliptic curves >...
4d6a15872cdbf3b6213a05b58d85374a6dbe5754
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebraic_topology/cech_nerve.lean
fd2452124d89424eceacb2fbd909f2799017283e
[ "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
16,350
lean
/- Copyright (c) 2021 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Topaz -/ import algebraic_topology.simplicial_object import category_theory.limits.shapes.wide_pullbacks import category_theory.limits.shapes.finite_products import category_theory.a...
bbd417d7dec3fb31fcba17c0fa1fc1b37684b31a
acc85b4be2c618b11fc7cb3005521ae6858a8d07
/data/sigma/basic.lean
ef374a733dc0cc46cd318b0a79e0033588849543
[ "Apache-2.0" ]
permissive
linpingchuan/mathlib
d49990b236574df2a45d9919ba43c923f693d341
5ad8020f67eb13896a41cc7691d072c9331b1f76
refs/heads/master
1,626,019,377,808
1,508,048,784,000
1,508,048,784,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,449
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 -/ variables {α : Type*} {β : α → Type*} instance [inhabited α] [inhabited (β (default α))] : inhabited (sigma β) := ⟨⟨default α, default (β (default α))⟩⟩ instance [h...
a4b734071706a8a34a84e46e04a8868a345a7d51
2c096fdfecf64e46ea7bc6ce5521f142b5926864
/src/Lean/Compiler/IR/LLVMBindings.lean
dec031c79843665e4ed1b3a8bda5892688d7bfac
[ "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
Kha/lean4
1005785d2c8797ae266a303968848e5f6ce2fe87
b99e11346948023cd6c29d248cd8f3e3fb3474cf
refs/heads/master
1,693,355,498,027
1,669,080,461,000
1,669,113,138,000
184,748,176
0
0
Apache-2.0
1,665,995,520,000
1,556,884,930,000
Lean
UTF-8
Lean
false
false
14,358
lean
/- Copyright (c) 2022 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Siddharth Bhat -/ namespace LLVM /-! This file defines bindings for LLVM. The main mechanisms are to: - Mirror the values of C enumerations. - Create opaque values for LLVM's p...
b18ba8705b13425431aab6845b1237d14efd34cf
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/topology/metric_space/basic.lean
91fb9271b1a34a5b4ec6f271cf8fba923151fe26
[ "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
101,122
lean
/- Copyright (c) 2015, 2017 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis, Johannes Hölzl, Mario Carneiro, Sébastien Gouëzel -/ import topology.metric_space.emetric_space import topology.algebra.ordered.basic import data....
06cb46383c44d6cda6362961fc896a75d8426a07
f7c63613a4933f66368ef2802a50c417a46cddfc
/library/init/meta/derive.lean
776a8e1b34eafa73a074a63ba8c1e48240537c0a
[ "Apache-2.0" ]
permissive
avigad/lean
28cef71cd8c4eae53f342c87f81ca78d7cc75874
5410178203ab5ae854b5804586ace074ffd63aae
refs/heads/master
1,608,801,379,340
1,504,894,459,000
1,505,174,163,000
22,361,408
0
0
null
null
null
null
UTF-8
Lean
false
false
3,773
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich Attribute that can automatically derive typeclass instances. -/ prelude import init.meta.attribute import init.meta.interactive_base import init.meta.mk_has_r...
ba2ec7761a38e38484bfe8272f796d7ea8cedc85
08bd4ba4ca87dba1f09d2c96a26f5d65da81f4b4
/src/Init/WF.lean
1ba5015043cec366eb4879d3dfa645326cddca2a
[ "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", "Apache-2.0", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
gebner/lean4
d51c4922640a52a6f7426536ea669ef18a1d9af5
8cd9ce06843c9d42d6d6dc43d3e81e3b49dfc20f
refs/heads/master
1,685,732,780,391
1,672,962,627,000
1,673,459,398,000
373,307,283
0
0
Apache-2.0
1,691,316,730,000
1,622,669,271,000
Lean
UTF-8
Lean
false
false
12,142
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import Init.SizeOf import Init.Data.Nat.Basic universe u v inductive Acc {α : Sort u} (r : α → α → Prop) : α → Prop where | intro (x : α) (h : (y...
a19d26f2f97740b1491bf007c39d05f2ff32b881
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/run/PPTopDownAnalyze.lean
668e7b39f9be2c6614f6fa676e06bfec24d2fe16
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
EdAyers/lean4
57ac632d6b0789cb91fab2170e8c9e40441221bd
37ba0df5841bde51dbc2329da81ac23d4f6a4de4
refs/heads/master
1,676,463,245,298
1,660,619,433,000
1,660,619,433,000
183,433,437
1
0
Apache-2.0
1,657,612,672,000
1,556,196,574,000
Lean
UTF-8
Lean
false
false
13,869
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Selsam -/ import Lean import Std open Lean Lean.Meta Lean.Elab Lean.Elab.Term Lean.Elab.Command open Lean.PrettyPrinter def checkDelab (e : Expr) (tgt? : Option Term) (...
3137af4669eb074e78acbfc5a8c802fd2bbcb5bb
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/run/trace.lean
694b771188d3142b2d950bf93c715e3229c54446
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
cipher1024/lean4
6e1f98bb58e7a92b28f5364eb38a14c8d0aae393
69114d3b50806264ef35b57394391c3e738a9822
refs/heads/master
1,642,227,983,603
1,642,011,696,000
1,642,011,696,000
228,607,691
0
0
Apache-2.0
1,576,584,269,000
1,576,584,268,000
null
UTF-8
Lean
false
false
1,489
lean
import Lean.CoreM open Lean structure MyState := (trace_state : TraceState := {}) (s : Nat := 0) abbrev M := CoreM def tst1 : M Unit := do trace[module] (m!"hello" ++ MessageData.nest 9 (m!"\n" ++ "world")); trace[module.aux] "another message"; pure () def tst2 (b : Bool) : M Unit := traceCtx `modul...
b8037f08428a038869ef448187260492d18911df
94e33a31faa76775069b071adea97e86e218a8ee
/src/algebraic_geometry/AffineScheme.lean
654dc6e6d7b16609cb41cc639ace59f6c6a5012e
[ "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
23,128
lean
/- Copyright (c) 2022 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import algebraic_geometry.Gamma_Spec_adjunction import algebraic_geometry.open_immersion import category_theory.limits.opposites import ring_theory.localization.inv_submono...
f99ff67ba21bd7674cd70eaae48a1b3a469c6081
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebra/big_operators/nat_antidiagonal.lean
a4ab8866ce7afe13c6b1420bd8da218f1c204a1b
[ "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
2,739
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import data.finset.nat_antidiagonal import algebra.big_operators.basic /-! # Big operators for `nat_antidiagonal` This file contains theorems relevant to big opera...
fe0a002184d262629cb3d74341b73a0f53044485
63abd62053d479eae5abf4951554e1064a4c45b4
/src/algebra/linear_recurrence.lean
cd96d5ffd884daa9072906b5f12e4fdd9fdfd2de
[ "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
7,816
lean
/- Copyright (c) 2020 Anatole Dedecker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anatole Dedecker -/ import data.polynomial.ring_division import linear_algebra.dimension import algebra.polynomial.big_operators /-! # Linear recurrence Informally, a "linear recur...
707cbecdf3adecd61c7d02a239e48173a636e2d4
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/bicategory/functor_bicategory.lean
0d1cd9f0e4618ed987435b97fc07f79b17c02f8b
[ "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
2,769
lean
/- Copyright (c) 2022 Yuma Mizuno. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yuma Mizuno -/ import category_theory.bicategory.natural_transformation /-! # The bicategory of oplax functors between two bicategories Given bicategories `B` and `C`, we give a bicateg...
52fdef2ce7066e7188b7be84cda8e2c92a4c5ac6
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/algebra/hierarchy_design.lean
151bd8f90095e173c5399e0a1305d496307a5b42
[ "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
7,844
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Eric Weiser -/ import tactic.doc_commands /-! # Documentation of the algebraic hierarchy A library note giving advice on modifying the algebraic hierarchy. (It is not...
caf4bb2ef5c024de1ecf8e2bb7af3cb8b4047171
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/occurs_check_bug1.lean
d686ebc6f8da9b8131f92cbde996cb87523b6087
[ "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
511
lean
open nat prod open decidable constant modulo1 (x : ℕ) (y : ℕ) : ℕ infixl `mod`:70 := modulo1 constant gcd_aux : ℕ × ℕ → ℕ noncomputable definition gcd (x y : ℕ) : ℕ := gcd_aux (x, y) theorem gcd_def (x y : ℕ) : gcd x y = @ite (y = 0) (nat.has_decidable_eq (pr2 (x, y)) 0) nat x (gcd y (x mod y)) := sorry constant s...
45426e2774e2f1716231c2eff8fd5dbda3120b08
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/order/filter/basic_auto.lean
b82fac908f2333af2d4b5ed0eaee6265efc26d39
[]
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
105,471
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Jeremy Avigad -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.order.zorn import Mathlib.order.copy import Mathlib.data.set.finite import M...
fc8d4dc45f69d9c76d76ea7abfba69c809b83ef2
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/blast_cc2.lean
c9d018ffc53f8be4e191b8684f435f18061d2059
[ "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
572
lean
set_option blast.strategy "cc" example (a b c d : nat) : a == b → b = c → c == d → a == d := by blast example (a b c d : nat) : a = b → b = c → c == d → a == d := by blast example (a b c d : nat) : a = b → b == c → c == d → a == d := by blast example (a b c d : nat) : a == b → b == c → c = d → a == d := by blast e...
018354c60a9d8faedd529caa8ed4f1bf1839992f
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/thunk.lean
3a460e8253d7b103cb7840b5ad1d0d068644aa2c
[ "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
525
lean
#eval (Thunk.pure 1).get #eval (Thunk.mk fun _ => 2).get #eval let t1 := Thunk.mk fun _ => dbg_trace 4; 5 let t2 := Thunk.mk fun _ => dbg_trace 3; 0 let v2 := t2.get let v1 := t1.get v1 + v2 #eval let t1 := Thunk.pure 8 |>.map fun n => dbg_trace 7; n let t2 := Thunk.mk fun _ => dbg_trace 6; 0 let v2 := ...
ca92a5301f53957c57cda0df69ec3c20d991da5b
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/matchErrorLocation.lean
df15599fdc8e24dc63e3189e850ed3b9141ec5ef
[ "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
133
lean
-- def head {α} (xs : List α) (h : xs = [] → False) : α := match (generalizing := false) he:xs with | [] => h he | x::_ => x
d77e01476fa888b816535a909b77b711ae5853a8
63abd62053d479eae5abf4951554e1064a4c45b4
/src/category_theory/natural_transformation.lean
7422dcd92a3e6d9f03c79f274d216ae859a09ad6
[ "Apache-2.0" ]
permissive
Lix0120/mathlib
0020745240315ed0e517cbf32e738d8f9811dd80
e14c37827456fc6707f31b4d1d16f1f3a3205e91
refs/heads/master
1,673,102,855,024
1,604,151,044,000
1,604,151,044,000
308,930,245
0
0
Apache-2.0
1,604,164,710,000
1,604,163,547,000
null
UTF-8
Lean
false
false
2,969
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tim Baumann, Stephen Morgan, Scott Morrison, Floris van Doorn Defines natural transformations between functors. Introduces notations `τ.app X` for the components of natural transfo...
ac72c594076a9b7bf88ad2ce74b1f34bdc78609e
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/analysis/calculus/darboux.lean
39b859ab57c4a2341d2c1acebd4f7e0cef1bf2fd
[ "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
4,805
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import analysis.calculus.mean_value /-! # Darboux's theorem In this file we prove that the derivative of a differentiable function on an interval takes all interm...
1e3de6af9fd6772eef2b5cd10930fd938b341343
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/algebra/field.lean
1c70c6da74753771a44804b7dccac85297a98d59
[ "Apache-2.0" ]
permissive
keeferrowan/mathlib
f2818da875dbc7780830d09bd4c526b0764a4e50
aad2dfc40e8e6a7e258287a7c1580318e865817e
refs/heads/master
1,661,736,426,952
1,590,438,032,000
1,590,438,032,000
266,892,663
0
0
Apache-2.0
1,590,445,835,000
1,590,445,835,000
null
UTF-8
Lean
false
false
15,859
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 import algebra.group_with_zero open set set_option default_priority 100 -- see Note [default prior...
6692b6b3e9d794ab6ad8898f39a0d84f18cc0719
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/data/set/disjointed.lean
6b427e8a54f2ca7505ef67a28f079d4d07d82973
[ "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,780
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 Disjointed sets -/ import data.set.lattice data.nat.basic tactic.wlog open set classical lattice local attribute [instance] prop_decidable universes u v w x variables ...
553ab8e5cd3c109d0e2b209baf0fc45392e8ad9a
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/attribute_bug1.lean
a85e401654b8efc35ce02252e874225e096d0594
[ "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
476
lean
open tactic constant f : nat → nat constant fdef : ∀ n, f n = n + 1 example (n : nat) : f n = n + 1 := by simp -- Failed as expected, since fdef is not marked as [simp] local attribute [simp] fdef example (n : nat) : f n = n + 1 := by simp -- Succeeded as expected local attribute [-simp] fdef print fdef -- we...
d7a9f96b2c3ee131215068c0523e24970de63dda
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/data/array/basic_auto.lean
e5a7d663ec9df7f90ef825ff286a366cbe7e1ea4
[]
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
10,633
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.data.nat.default import Mathlib.Lean3Lib.init.data.bool.default import Mathlib.Lean3Lib....
acfb515db4c41694c7097f17e9c37774e90f45a9
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/subst_tac1.lean
c0bad7e89782d36aeb8fa3282cfa9bc06524ba9a
[ "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
372
lean
constant p : nat → Prop open tactic set_option pp.all true definition ex (a b c : nat) (H : p c) : a = b → p a → p b := by do intro `H1, intro `H2, get_local `a >>= subst, trace_state, assumption #print ex example (a b c : nat) (H : p c) : a = b → p a → p b := by do intros, get_local `b >>= s...
2c5febe3071faa3046861b51bc774072196fb27c
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Util/FindLevelMVar.lean
f6ce8d040427dd07eddaaaf74db0a3e84703affb
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
1,566
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Selsam -/ import Lean.Expr namespace Lean namespace FindLevelMVar abbrev Visitor := Option LMVarId → Option LMVarId mutual partial def visit (p : LMVarId → Bool) (e...
8f9c8a238316daffa9ce722a0eeb4e538264219e
4727251e0cd73359b15b664c3170e5d754078599
/src/geometry/manifold/tangent_bundle.lean
db791abf647c96de735f4ac39ffb8f39ca7bd1cc
[ "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
31,370
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.vector_bundle import geometry.manifold.smooth_manifold_with_corners import data.set.prod /-! # Basic smooth bundles In general, a smooth bundl...
000fbe3db71444817badb49f18943fa790efe8c5
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/nat_pp.lean
010698c334bd02dd00b6144b9ebaef4200475b63
[ "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
69
lean
#reduce nat.add 3 6 open nat #reduce nat.add 3 6 #reduce (3:nat) + 6
c1a77ed57b68ceed9c33ad7222dea4a51c0c7c09
a7602958ab456501ff85db8cf5553f7bcab201d7
/Notes/Theorem_Proving_in_Lean/Chapter2/2.8.lean
8e1de3d64b384fa621dbb8787c03a78f6359866e
[]
no_license
enlauren/math-logic
081e2e737c8afb28dbb337968df95ead47321ba0
086b6935543d1841f1db92d0e49add1124054c37
refs/heads/master
1,594,506,621,950
1,558,634,976,000
1,558,634,976,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,367
lean
-- 2.8 Dependent Types -- The short explanation of what makes dependent type theory "dependent", -- is that types can depend on parameters. For example, with list: constant α: Type 0 #check list #check list α #check list ℕ #check list bool #check list Prop #check list (Type 1) -- The type `list α` depends on the pa...
f8baabb659aa22daba456357a360252feb664ee6
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/psigma/order.lean
d148bc589dbbc568fee8a88e88eb75619279beef
[ "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,350
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Minchao Wu -/ import data.sigma.lex import order.bounded_order /-! # Lexicographic order on a sigma type > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to t...
f88be15b4eed2a85e5f18b3c71ad1af2355fb3e3
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/int/modeq.lean
3fdca9184eea41dee47e7d37fd169700b76401fc
[ "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,132
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import data.nat.modeq import tactic.ring namespace int /-- `a ≡ b [ZMOD n]` when `a % n = b % n`. -/ def modeq (n a b : ℤ) := a % n = b % n notation a ` ≡ `:50 b ` [ZM...
14628cb56312a1d1de1252f43e320f7e5032cc7a
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Data/Position.lean
23bcbb6a5f6721eac99c3fcb1a22cba4b30c0c26
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
2,688
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ import Lean.Data.Format import Lean.ToExpr namespace Lean structure Position where line : Nat column : Nat deriving Inhabited, ...
72a5949e2c323123b187362edd5de7a94395e6a4
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/order/filter/bases.lean
e6c727a021d50d25d8be728cf8d8a76807855737
[ "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
39,401
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov, Johannes Hölzl, Mario Carneiro, Patrick Massot -/ import order.filter.basic import data.set.countable import data.pprod /-! # Filter bases A filter basis `B : filte...
db46e274d00e4fc571b17c416061008b9bf67def
4727251e0cd73359b15b664c3170e5d754078599
/src/data/seq/seq.lean
05f1631891f2ac21aaa8233ee1ab5b39e6a8a1fa
[ "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
28,430
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.lazy_list import data.nat.basic import data.stream.init import data.seq.computation universes u v w /- coinductive seq (α : Type u) : Type u | nil : seq...
efb5cb78f2eb9c57756b91eb47c0695238742a6b
491068d2ad28831e7dade8d6dff871c3e49d9431
/hott/arity.hlean
cd1d4d2b3290ffaf28ea4817a9c34784f162e2b0
[ "Apache-2.0" ]
permissive
davidmueller13/lean
65a3ed141b4088cd0a268e4de80eb6778b21a0e9
c626e2e3c6f3771e07c32e82ee5b9e030de5b050
refs/heads/master
1,611,278,313,401
1,444,021,177,000
1,444,021,177,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,900
hlean
/- 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 Theorems about functions with multiple arguments -/ variables {A U V W X Y Z : Type} {B : A → Type} {C : Πa, B a → Type} {D : Πa b, C a b → Type} {E : Πa ...
6d5e6f72b87adcf2e0a30a13be4af8f12883a81e
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/geometry/manifold/derivation_bundle.lean
68308fc1b2656812cfe16ddf7a2aa878083baa18
[ "Apache-2.0" ]
permissive
ramonfmir/mathlib
c5dc8b33155473fab97c38bd3aa6723dc289beaa
14c52e990c17f5a00c0cc9e09847af16fabbed25
refs/heads/master
1,661,979,343,526
1,660,830,384,000
1,660,830,384,000
182,072,989
0
0
null
1,555,585,876,000
1,555,585,876,000
null
UTF-8
Lean
false
false
6,364
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.smooth_functions import ring_theory.derivation /-! # Derivation bundle In this file we define the derivations at a point of a m...
f6966ba24d2af24c2ce94a8054c4197d8bada9b9
9f1929110d7ce695e60c30a12c83161ea7eadc15
/experiments/bench/pose1000.lean
a5991c245083450360c60f116ddcad9405cdf4c3
[]
no_license
andres-erbsen/coq-experiments
4820d05608c445eba0ea965e23bd9cf39a5c418f
2018edd397a23c0429d316c96e86f9be7a9678f1
refs/heads/master
1,619,935,106,811
1,578,518,728,000
1,578,518,728,000
120,850,328
1
1
null
null
null
null
UTF-8
Lean
false
false
204
lean
open tactic lemma test : true := begin iterate_exactly 1000 (do pose (`_) none `(trivial), skip), exact trivial end -- 0.61user 0.04system 0:00.65elapsed 99%CPU (0avgtext+0avgdata 96756maxresident)k
ad966c02560998f4ffaeda7d2d8ea9a2f9c2233f
fe84e287c662151bb313504482b218a503b972f3
/src/group_theory/perm_extra.lean
eb82b52493d72ca6fac942f082b2e6443637382c
[]
no_license
NeilStrickland/lean_lib
91e163f514b829c42fe75636407138b5c75cba83
6a9563de93748ace509d9db4302db6cd77d8f92c
refs/heads/master
1,653,408,198,261
1,652,996,419,000
1,652,996,419,000
181,006,067
4
1
null
null
null
null
UTF-8
Lean
false
false
2,990
lean
import group_theory.perm.cycles import data.vector import data.fin_extra import group_theory.cyclic open int.modeq variables {α : Type*} [decidable_eq α] def finperm (n : ℕ) := equiv.perm (fin n) namespace finperm variable (n : ℕ) instance : group (finperm n) := by { dsimp[finperm], apply_instance } ins...
fd39c20f11654057f488d4c58c8a5d036f7a2b76
c8b4b578b2fe61d500fbca7480e506f6603ea698
/src/flt_three/edwards.lean
0311c109c7a47b05c1050ee50cae23507590c862
[]
no_license
leanprover-community/flt-regular
aa7e564f2679dfd2e86015a5a9674a6e1197f7cc
67fb3e176584bbc03616c221a7be6fa28c5ccd32
refs/heads/master
1,692,188,905,751
1,691,766,312,000
1,691,766,312,000
421,021,216
19
4
null
1,694,532,115,000
1,635,166,136,000
Lean
UTF-8
Lean
false
false
22,331
lean
/- Copyright (c) 2020 Ruben Van de Velde. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. -/ import .primes import .spts import .odd_prime_or_four lemma zsqrtd.associated_norm_of_associated {d : ℤ} {f g : ℤ√d} (h : associated f g) : associated f.norm g.norm := begin obtain...
5e2d3fc0ff117ae01d1a2d2b3531714743920226
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/topology/instances/ennreal.lean
312107b09fbdf4b429d9116aa2f6581f0221f69f
[ "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
40,850
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 topology.instances.nnreal /-! # Extended non-negative reals -/ noncomputable theory open classical set filter metric open_locale classical open_locale topologi...
695bc3bd99d2b137580e5df84db7b658e609a9c4
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/ring_theory/adjoin_root.lean
3ec46fcb13aa203494dbb8875830b77d30a4343a
[ "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
4,176
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Chris Hughes Adjoining roots of polynomials -/ import data.polynomial ring_theory.principal_ideal_domain /-! # Adjoining roots of polynomials This file defines the ...
21d03792020bb6fabe2f1051b8a9beb3e8bd3b10
d6124c8dbe5661dcc5b8c9da0a56fbf1f0480ad6
/test/run/ir/types.lean
2bac5f777b1e37afe4181f7fcae4d6bc37a3c16c
[ "Apache-2.0" ]
permissive
xubaiw/lean4-papyrus
c3fbbf8ba162eb5f210155ae4e20feb2d32c8182
02e82973a5badda26fc0f9fd15b3d37e2eb309e0
refs/heads/master
1,691,425,756,824
1,632,122,825,000
1,632,123,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,048
lean
import Papyrus open Papyrus def checkTypeRoundtrips (type : «Type») : IO PUnit := LlvmM.run do let ref ← type.getRef let actual ← ref.purify unless type == actual do ref.dump IO.println s!"expected {repr type}, got {repr actual}" throw <| IO.userError "did not round trip" macro tk:"#c...
cb526e541f213a1e51c3566ea55a2cd55d49f085
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/test/set.lean
e264d107075472ebe015f5028d4782fe5a7c5c10
[ "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
1,110
lean
import data.matrix.notation example (x : ℕ) (h : x = 3) : x + x + x = 9 := begin set y := x with ←h_xy, guard_hyp y : ℕ := x, guard_hyp h_xy : x = y, guard_hyp h : y = 3, guard_target y + y + y = 9, set! z : ℕ := y, guard_target y + y + y = 9, simp [h] end example : true := let X1 := (![![1, 0], ![0,...
d412687f147a240a2d26a3a9fe6e064f1df7d1dc
46125763b4dbf50619e8846a1371029346f4c3db
/src/category/monad/writer.lean
51e580c7c57a7c45a49bc288c73bfd68a48edc4b
[ "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
7,371
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon The writer monad transformer for passing immutable state. -/ import tactic.basic category.monad.basic universes u v w structure writer_t (ω : Type u) (m : Type u...
0e2e55d6991920e5d2043153b9381ebd396339d0
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/analysis/normed_space/bounded_linear_maps.lean
819f0c571e5a0fab0758ba44fe4fc1d6d9ef7837
[ "Apache-2.0" ]
permissive
hikari0108/mathlib
b7ea2b7350497ab1a0b87a09d093ecc025a50dfa
a9e7d333b0cfd45f13a20f7b96b7d52e19fa2901
refs/heads/master
1,690,483,608,260
1,631,541,580,000
1,631,541,580,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
22,060
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Johannes Hölzl -/ import analysis.normed_space.multilinear /-! # Continuous linear maps This file defines a class stating that a map between normed vector spaces is (...
2e3441f862b3757c74c7140bc5ba9788636c0463
df7bb3acd9623e489e95e85d0bc55590ab0bc393
/lean/love05_inductive_predicates_homework_sheet.lean
e98fb71f75f8a62d52b58cd0c471b54c188f74d5
[]
no_license
MaschavanderMarel/logical_verification_2020
a41c210b9237c56cb35f6cd399e3ac2fe42e775d
7d562ef174cc6578ca6013f74db336480470b708
refs/heads/master
1,692,144,223,196
1,634,661,675,000
1,634,661,675,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,999
lean
import .lovelib /- # LoVe Homework 5: Inductive Predicates Homework must be done individually. -/ set_option pp.beta true set_option pp.generalized_field_notation false namespace LoVe /- ## Question 1 (3 points): A Type of λ-Terms Recall the following type of λ-terms from question 3 of exercise 4. -/ inductiv...
e2f918d2fb7006969dae27f03ab4ac7ea8376dc6
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/analysis/fourier.lean
3ef9081a630d572511b45645c2385b453b5c5124
[ "Apache-2.0" ]
permissive
ayush1801/mathlib
78949b9f789f488148142221606bf15c02b960d2
ce164e28f262acbb3de6281b3b03660a9f744e3c
refs/heads/master
1,692,886,907,941
1,635,270,866,000
1,635,270,866,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,200
lean
/- Copyright (c) 2021 Heather Macbeth. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Heather Macbeth -/ import measure_theory.function.continuous_map_dense import measure_theory.function.l2_space import measure_theory.measure.haar import analysis.complex.circle import...
c2fe52cf72d445fe5f77486cd24e0e337ee2d5dc
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/algebra/gcd_domain.lean
772892fee9c3cbbd33336c5e30bcc96f42d2c287
[ "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
26,084
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Jens Wagemaker GCD domain and integral domains with normalization functions TODO: abstract the domains to to semi domains (i.e. domains on semirings) to include ℕ and...
f6cf19fa076228e76e6543413729ddb3c9e11253
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/single_obj.lean
1279f34f75d2bffb93e7c0b5d47d0938ff0e8287
[]
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
5,969
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.endomorphism import Mathlib.category_theory.category.Cat import Mathlib.a...
5f2a118a6d076d5a2c8c053b3b0d4242033110b8
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/lift.lean
147c7fdf82a3a94293ce54dfec9bda6eb780a7fc
[ "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
449
lean
open nat namespace test inductive {u} lift (A : Type u) : Type (u+1) | up : A → lift namespace lift definition down {A : Type} (a : lift A) : A := lift.rec (λ a, a) a theorem down_up {A : Type} (a : A) : down (up a) = a := rfl theorem up_down {A : Type} (a' : lift A) : up (down a') = a' := lift.cases_on a' (λ a, r...
7fb31649d08c2382830de33c0c6be6c3a2093d59
c56b090bd37dca8992124f0b09c22340ef7e27bc
/src/lecture6.lean
276e66d86d69f494cf9d5fd01d1409827228bdcd
[]
no_license
stjordanis/math135
df113ed7ae9f81b27316cc5b000f88b385391a81
e270f3a9cae435c066c0d2574f03a8adbe40b7b5
refs/heads/master
1,677,069,951,721
1,611,905,122,000
1,611,905,122,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
904
lean
import tactic import data.nat.parity import data.set import data.set.basic namespace lecture6 open set example : {n | 4 ∣ n + 1} ⊆ {k | odd k} := begin rw set.subset_def, intros x hx, simp at hx, simp, cases nat.even_or_odd x, { apply nat.even_succ.symm.mpr, refine dvd_of_mul_left_dvd _, use...
c83bd4c4608726de3ec6d629cd60640983d35a30
4bcaca5dc83d49803f72b7b5920b75b6e7d9de2d
/src/Lean/Elab/Command.lean
df6e42f5b91d91336c947e8b0c71d89c86cd21bb
[ "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
18,381
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Parser.Command import Lean.ResolveName import Lean.Meta.Reduce import Lean.Elab.Log import Lean.Elab.Term import Lean.Elab.Binders import Lean.E...
c9cbb8417930c5a55459c37d9f94f808fe693f32
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/sym/basic.lean
556b140d654e5ccee7c34491c462d3e849180729
[ "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,929
lean
/- Copyright (c) 2020 Kyle Miller All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kyle Miller -/ import data.multiset.basic import data.vector.basic import data.setoid.basic import tactic.apply_fun /-! # Symmetric powers This file defines symmetric powers of a type. ...
e5979915fe5384daf29ca0ff452989b6cea8876a
e030b0259b777fedcdf73dd966f3f1556d392178
/tests/lean/run/simplifier_custom_relations.lean
6eac102dfd56b6fcbf75fe08d1729afd7098424d
[ "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
1,022
lean
open tactic universe l constants (A : Type.{l}) (rel : A → A → Prop) (rel.refl : ∀ a, rel a a) (rel.symm : ∀ a b, rel a b → rel b a) (rel.trans : ∀ a b c, rel a b → rel b c → rel a c) attribute [refl] rel.refl attribute [symm] rel.symm attribute [trans] rel.trans constants (x y z : A) (...
2cf64659c2371bc2689eacc684c63d31a832a527
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/analysis/special_functions/trigonometric/inverse_deriv.lean
8897aaace3c24e9cecc8ebe655b29a7e72f7783e
[ "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
7,953
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne, Benjamin Davidson -/ import analysis.special_functions.trigonometric.inverse import analysis.special_functions.trigonometric...
0a802a63cbebe57b633bc3a7bb4e5808d421e3fe
4bcaca5dc83d49803f72b7b5920b75b6e7d9de2d
/stage0/src/Lean/DocString.lean
2e7555f81f55dee56a92eba6c7c6ed17f16a8c3e
[ "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
1,493
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.MonadEnv namespace Lean private builtin_initialize docStringExt : MapDeclarationExtension String ← mkMapDeclarationExtension `docstring def a...
8c12b5197d0c2436897ba9a13618c509697a21a3
94e33a31faa76775069b071adea97e86e218a8ee
/src/data/buffer/parser/numeral.lean
db45fd8dee01c483a1d89de5c1b83169389a1805
[ "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
5,106
lean
/- Copyright (c) 2020 Yakov Pechersky. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yakov Pechersky -/ import data.buffer.parser.basic /-! # Numeral parsers This file expands on the existing `nat : parser ℕ` to provide parsers into any type `α` that can be represen...
c0eff348fa904843115756586d64872f1c397cd9
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/change_tac.lean
e27165fb1ad9f2ff0fcfc705b3be67f9b256c017
[ "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
884
lean
example : 1 + 2 = 3 := begin change 2 + 1 = 3, trace_state, refl end example : 1 + 2 = 3 := begin change 2 + 2 = 3 -- ERROR end example (h : 1 + 2 = 3) : 2 + 2 = 4 := begin change 2 + 1 = 3 at h, trace_state, refl end example (h : 1 + 2 = 3) : 2 + 2 = 4 := begin change 2 + 1 = 3 at h h, -- ERROR end ...
3e2edd78b3cf4d0eeecdef795e42c2031568818c
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/algebra/ordered_group.lean
d2a10ba9edb5c5ebd276bb8d6e3f9132f04740de
[ "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
30,826
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura, Mario Carneiro, Johannes Hölzl -/ import algebra.ordered_monoid /-! # Ordered groups This file develops the basics of ordered groups. ## Implementat...
4cdf74aef7b0e2ac0a22e3d55af682e350935a24
785b41b0993f39cbfa9b02fe0940ce3f2f51a57d
/conf/all4.lean
5cb2d19a17bc2725001dc1698e6138f56553f98b
[ "MIT" ]
permissive
loso3000/OpenWrt-DIY-1
75b0d70314d703203508218a29acefc3b914d32d
5858be81ee44199908cbaa1a752b17505c9834e8
refs/heads/main
1,690,532,461,283
1,631,008,241,000
1,631,008,241,000
354,817,508
1
0
MIT
1,617,623,493,000
1,617,623,492,000
null
UTF-8
Lean
false
false
13,115
lean
CONFIG_TARGET_x86=y CONFIG_TARGET_x86_64=y CONFIG_TARGET_x86_64_DEVICE_generic=y # 设置固件大小 CONFIG_TARGET_KERNEL_PARTSIZE=64 CONFIG_TARGET_ROOTFS_PARTSIZE=1516 # EFI支持: CONFIG_GRUB_IMAGES=y CONFIG_EFI_IMAGES=y # CONFIG_VMDK_IMAGES is not set # 不压缩efi CONFIG_TARGET_ROOTFS_TARGZ=n # CONFIG_TARGET_IMAGES_GZIP is not set # ...
f221f3b4d2aa8c9a6e7e431bc0218fbdc108d7a2
d29d82a0af640c937e499f6be79fc552eae0aa13
/src/data/matrix/basic.lean
f856492dfbc12e7ca7f59b8be851d08ab81fce73
[ "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
49,300
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, Lu-Ming Zhang -/ import algebra.big_operators.pi import algebra.module.pi import algebra.module.linear_map import algeb...
d39c6cd787e789ccf1434d7a606e1bb879f5b5b8
618003631150032a5676f229d13a079ac875ff77
/src/algebra/group/default.lean
054de35a2b1dadfc04d42a7037838aebcf42eaaa
[ "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
463
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, Michael Howes -/ import algebra.group.type_tags import algebra.group.conj import algebra.group.with_one import algebra.group.anti_hom import algebra.gr...
12309ec99090c3866cb3dded61cd571ac5dddea0
9dc8cecdf3c4634764a18254e94d43da07142918
/src/algebra/group_ring_action.lean
520c11f19a127d31f5213bf39357d36dd34161c5
[ "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
4,408
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.ring.equiv import group_theory.group_action.group import ring_theory.subring.basic /-! # Group action on rings This file defines the typeclass of monoid actin...
a03d7a62579d3482861952c32a0fb3d3c94db215
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/structure_default_value_issue.lean
d3f638c94d05afa81f9136c1b0914a720ff750ae
[ "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
690
lean
namespace test universes u v w structure lens (α : Type u) (β : Type v) := (get : α → β) (modify : α → (β → β) → α) (set : α → β → α := λ a b, modify a (λ _, b)) def lens.compose {α : Type u} {β : Type v} {σ : Type w} (t : lens β σ) (s : lens α β) : lens α σ := { get := t^.get ∘ s^.get, modify := λ a f, s^...
e12f8835f455fbe7a783000181e816cd136d5912
4727251e0cd73359b15b664c3170e5d754078599
/src/field_theory/cardinality.lean
2d48f1aa45b252e806d84070a48535c65952fd81
[ "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,379
lean
/- Copyright (c) 2022 Eric Rodriguez. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Rodriguez -/ import algebra.ring.ulift import data.mv_polynomial.cardinal import data.rat.denumerable import field_theory.finite.galois_field import logic.equiv.transfer_instance ...
ab0b951d26eb5b81416f8f52f40460e26868d2f0
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/listLength.lean
9b45b6d8e4462167b3018f2e2ece17663eba4fcb
[ "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
80
lean
set_option trace.compiler.ir.init true def f (xs : List Nat) := 2 * xs.length
3d03a9a75613be82580722cb2b7f0cc2be10e1bd
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/order/lattice.lean
8daa58e55f13d7d106edefa10d26beab34b7879f
[ "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
16,600
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 Defines the inf/sup (semi)-lattice with optionally top/bot type class hierarchy. -/ import order.basic set_option old_structure_cmd true universes u v w variables {...
73782982ead37261eeb1a1bb0e64efa099acdc36
e4e5bde6f14c01a8a34267a9d7bb45e137735696
/src/exercises/logic_and_proof/16.lean
74c9b56c69551a1f99c76b6022b2b44b7fcee55b
[]
no_license
jamesdabbs/proofs
fb5dab6f3c4f3f5f952fca033ec649888ae787c6
00baf355b08e7aec00de34208e1b2cb4a8d7b701
refs/heads/master
1,645,645,735,797
1,569,559,636,000
1,569,559,636,000
211,238,170
0
0
null
null
null
null
UTF-8
Lean
false
false
3,734
lean
/- 1. Fill in the sorry’s in the last three proofs below. -/ import data.set section ex1 open function int algebra def f (x : ℤ) : ℤ := x + 3 def g (x : ℤ) : ℤ := -x def h (x : ℤ) : ℤ := 2 * x + 3 example : injective f := assume x1 x2, assume h1 : x1 + 3 = x2 + 3, -- Lean knows this is the same as f x1 = f x2 sho...
26dbbdfc043b4d8fea63d22918377f4f69d3743a
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/tactic/equiv_rw.lean
6fcceabd49fd985902ab376bf84ba5097bd05da8
[ "Apache-2.0" ]
permissive
dupuisf/mathlib
62de4ec6544bf3b79086afd27b6529acfaf2c1bb
8582b06b0a5d06c33ee07d0bdf7c646cae22cf36
refs/heads/master
1,669,494,854,016
1,595,692,409,000
1,595,692,409,000
272,046,630
0
0
Apache-2.0
1,592,066,143,000
1,592,066,142,000
null
UTF-8
Lean
false
false
12,104
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 tactic.simp_result import tactic.clear import control.equiv_functor.instances /-! # The `equiv_rw` tactic transports goals or hypotheses along equivalences. ...
e84b755ae502fb9ae6e473e4e93ae6b02c4b3b4b
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/real/nnreal.lean
15685b7067bbac7b74b9cb92a6a8f8f7b6cb2231
[ "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
36,143
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import order.conditionally_complete_lattice.group import algebra.algebra.basic import algebra.order.nonneg.field import algebra.order.field.canonical.basic import dat...
11b7b6d231faea22beaa0f1070a70c64b7c8d1ed
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/category_theory/limits/functor_category.lean
3f9a96a0f049be2d2e43a436c0426d5aad137609
[ "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
4,791
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.limits.preserves open category_theory category_theory.category namespace category_theory.limits universes v u -- declare the `v`'s first; se...
ec197c9cf037fa3721be70bb7ccbf047ea658d55
4727251e0cd73359b15b664c3170e5d754078599
/src/data/set/prod.lean
4084dc924d3001e382261030ca631db596fcf3cb
[ "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
18,631
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Johannes Hölzl, Patrick Massot -/ import data.set.basic /-! # Sets in product and pi types This file defines the product of sets in `α × β` and in `Π i, α i` along wi...
896ce9a59fbe8e6eb732d8b11a011fb1b19f3f52
94e33a31faa76775069b071adea97e86e218a8ee
/src/topology/metric_space/completion.lean
5f3269b118b4cd88a40d8a7586e507b5bb2825b2
[ "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
8,126
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.uniform_space.completion import topology.metric_space.isometry import topology.instances.real /-! # The completion of a metric space Completio...
c09425310e9189e70a2331de2158ce265a582c58
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/topology/category/Top/open_nhds.lean
8d0a1d791540eac09a160c229d5e179df96f2136
[ "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
1,807
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import topology.category.Top.opens import category_theory.full_subcategory open category_theory open topological_space open opposite universe u variables {X Y : To...
da338b948f7ca7f724b1af4a350959ab27f95974
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/src/Init/Data/Array.lean
6e7adb07e52b31e1e7c20161125e58eac7614844
[ "Apache-2.0" ]
permissive
mhuisi/lean4
28d35a4febc2e251c7f05492e13f3b05d6f9b7af
dda44bc47f3e5d024508060dac2bcb59fd12e4c0
refs/heads/master
1,621,225,489,283
1,585,142,689,000
1,585,142,689,000
250,590,438
0
2
Apache-2.0
1,602,443,220,000
1,585,327,814,000
C
UTF-8
Lean
false
false
259
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ prelude import Init.Data.Array.Basic import Init.Data.Array.QSort import Init.Data.Array.BinSearch
ec8bf5b060ce074957a3527ec76441f9c1f5cea6
b32d3853770e6eaf06817a1b8c52064baaed0ef1
/test/super_examples.lean
35498db1997519c37ec69ddee45c6d16deb338e9
[]
no_license
gebner/super2
4d58b7477b6f7d945d5d866502982466db33ab0b
9bc5256c31750021ab97d6b59b7387773e54b384
refs/heads/master
1,635,021,682,021
1,634,886,326,000
1,634,886,326,000
225,600,688
4
2
null
1,598,209,306,000
1,575,371,550,000
Lean
UTF-8
Lean
false
false
3,176
lean
import super open tactic set_option trace.super true set_option profiler true def prime (n : ℕ) := ∀ d, d ∣ n → d = 1 ∨ d = n set_option trace.check true lemma nat_mul_cancel_one {m n : ℕ} : m ≠ 0 → m * n = m → n = 1 := by cases m; super [gt, nat.zero_lt_succ, nat.eq_of_mul_eq_mul_left, mul_one, zero_mul, nat.not_l...
897b572a0aaaf60d3532533f9408d6bce45e0fa7
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/topology/order.lean
f8130767c1cae70dd25dddc8665ae6a65852d154
[ "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
29,025
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.tactic /-! # Ordering on topologies and (co)induced topologies Topologies on a fixed type `α` are ordered, by reverse inclusion. Tha...
24a67cba52012d2f711a8ab325119a567eefb55a
60bf3fa4185ec5075eaea4384181bfbc7e1dc319
/src/game/sup_inf/unbdd_iff.lean
4b961cc170cd69d9463cb5c0cb5fab6db032d8be
[ "Apache-2.0" ]
permissive
anrddh/real-number-game
660f1127d03a78fd35986c771d65c3132c5f4025
c708c4e02ec306c657e1ea67862177490db041b0
refs/heads/master
1,668,214,277,092
1,593,105,075,000
1,593,105,075,000
264,269,218
0
0
null
1,589,567,264,000
1,589,567,264,000
null
UTF-8
Lean
false
false
1,516
lean
import data.real.basic namespace xena -- hide /- # Chapter 3 : Sup and Inf ## Level 12 -/ def unboundedAbove (A : set ℝ) := ∀ x : ℝ, x > 0 → ∃ a ∈ A, x < a -- Might want to make this into an axiom to be placed on the left def archimPrinciple := ∀ x : ℝ, x > 0 → ∃ n : ℕ, n > 0 ∧ (1/n : ℝ) < x /- Lemma The Archime...
bfd0ef6725110e9decee3f472f3c44de7662db07
36938939954e91f23dec66a02728db08a7acfcf9
/lean/deps/galois_stdlib/src/galois/data/sigma.lean
976bf9ad6e82ab215fa60cf522a67d3dbb05d065
[ "Apache-2.0" ]
permissive
pnwamk/reopt-vcg
f8b56dd0279392a5e1c6aee721be8138e6b558d3
c9f9f185fbefc25c36c4b506bbc85fd1a03c3b6d
refs/heads/master
1,631,145,017,772
1,593,549,019,000
1,593,549,143,000
254,191,418
0
0
null
1,586,377,077,000
1,586,377,077,000
null
UTF-8
Lean
false
false
656
lean
namespace galois namespace sigma variables {α : Type*} {β : α → Type*} -- from matlib instance [h₁ : decidable_eq α] [h₂ : ∀a, decidable_eq (β a)] : decidable_eq (sigma β) | ⟨a₁, b₁⟩ ⟨a₂, b₂⟩ := match a₁, b₁, a₂, b₂, h₁ a₁ a₂ with | _, b₁, _, b₂, is_true (eq.refl a) := match b₁, b₂, h₂ a b₁ b₂ with | _, _, ...
3e39a1d9e0e3c3d322afc42c45a5649ddbf28a88
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/group_theory/monoid_localization.lean
065cf9e382305504fc79249d59e009de1f0ed21f
[ "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
49,353
lean
/- Copyright (c) 2019 Amelia Livingston. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Amelia Livingston -/ import group_theory.congruence import algebra.group.units import algebra.punit_instances /-! # Localizations of commutative monoids Localizing a commutative r...
4fba764c277a673d2ac6e2326b63238ec03b75c1
0c1546a496eccfb56620165cad015f88d56190c5
/tests/lean/run/using_smt3.lean
d2cfae2aba7c54eda9aa79cb1e893c4831a83718
[ "Apache-2.0" ]
permissive
Solertis/lean
491e0939957486f664498fbfb02546e042699958
84188c5aa1673fdf37a082b2de8562dddf53df3f
refs/heads/master
1,610,174,257,606
1,486,263,620,000
1,486,263,620,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
595
lean
open tactic lemma ex1 : let x := 1 in ∀ y, x = y → y = 1 := by using_smt $ smt_tactic.intros >> get_local `x >>= (fun a, trace a) open tactic_result meta def fail_if_success {α : Type} (t : smt_tactic α) : smt_tactic unit := λ ss ts, match t ss ts with | success _ _ := failed ts | exception ....
266724804d81a07a5c7c9ca216138d679c774053
bcdb337a071a6642a282053e6c285336b9716772
/Tensor/Enumerable.lean
26937d329e1396d5416a215159da0ea6fed6fac6
[]
no_license
kovach/lean4-sparse-matrix-test
87a8b3a0b7785976eccfaf69b0d289940549f446
be9f6029883c88bf1f7588a0e6d3cde033368809
refs/heads/master
1,678,513,001,774
1,614,027,522,000
1,614,027,522,000
341,329,194
1
0
null
null
null
null
UTF-8
Lean
false
false
8,249
lean
-- Kyle Miller import Init.Data.Nat.Basic import Init.Core import Tensor.Has macro "exfalso" : tactic => `(apply False.elim) def Function.leftInverse (g : β → α) (f : α → β) : Prop := ∀ x, g (f x) = x def Function.rightInverse (g : β → α) (f : α → β) : Prop := Function.leftInverse f g structure Equiv (α : So...
d2d3b40a1631489145b3290b40f52e7126c1b735
d7189ea2ef694124821b033e533f18905b5e87ef
/galois/vector/repeat_lemmas.lean
7c737aba09edc1d54d31555f7e9e4017cf83bb62
[ "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
624
lean
import data.vector universe variables u namespace vector variable {α : Type u} variable {n : ℕ} local infix `++`:65 := vector.append @[simp] theorem to_list_repeat (x : α) : to_list (repeat x n) = list.repeat x n := begin induction n, all_goals { simp [repeat] } end theorem repeat_succ_to_append {α : Type} (x...
cea3657d2578208a9cf3e5812a631054884a988d
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/control/equiv_functor/instances_auto.lean
0ea3f6dca0151b3787a1858a94791154f339f2e5
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
1,371
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Scott Morrison -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.fintype.basic import Mathlib.control.equiv_functor import Mathlib.PostPort universes u...
39df89c6147864bfa8c71d109dd1ad570abbbbe2
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/algebra/group/freiman.lean
9a04d8f0c74db5a6a9103370ead0aa1c4a84190e
[ "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
16,478
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 algebra.big_operators.multiset import data.fun_like.basic /-! # Freiman homomorphisms In this file, we define Freiman homomorphisms. A `n`-Freiman homomorphism o...
a3d1b49cfc96e6bb37d4316659e89437bd4e8e7b
4b846d8dabdc64e7ea03552bad8f7fa74763fc67
/library/tools/super/cdcl.lean
a891281ad3017258ad2ca2e32eb8670312426e54
[ "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
863
lean
/- Copyright (c) 2016 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ import .clause .clausifier .cdcl_solver open tactic expr monad super meta def cdcl_t (th_solver : tactic unit) : tactic unit := do as_refutation, local_false ← target,...
47a2b9a9ef9a2e19d74a14ca57d739acf6fe52f2
d0c6b2ba2af981e9ab0a98f6e169262caad4b9b9
/src/Init/Data/Array/Basic.lean
8ec1eac84e5015804c498c55fe965ca832d9ba0a
[ "Apache-2.0" ]
permissive
fizruk/lean4
953b7dcd76e78c17a0743a2c1a918394ab64bbc0
545ed50f83c570f772ade4edbe7d38a078cbd761
refs/heads/master
1,677,655,987,815
1,612,393,885,000
1,612,393,885,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
27,330
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Data.Nat.Basic import Init.Data.Fin.Basic import Init.Data.UInt import Init.Data.Repr import Init.Data.ToString.Basic import Init.Util u...
a51455059ebc86e0c2409eeb588d04deb81335ef
c777c32c8e484e195053731103c5e52af26a25d1
/src/analysis/special_functions/complex/log_deriv.lean
2d43df3418d50bb5b86becb401f9a63ba97c6ba6
[ "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
6,336
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne, Benjamin Davidson -/ import analysis.special_functions.complex.log import analysis.special_functions.exp_deriv /-! # Differ...
d9f238899496a308fcb947f4643ec44680385b4b
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/set_theory/cardinal_ordinal.lean
0306d8e4902a4941e6bfbcf54f024d14547bf30a
[ "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
38,202
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, Floris van Doorn -/ import set_theory.ordinal_arithmetic import tactic.linarith import logic.small /-! # Cardinals and ordinals Relationships between...
f19d198a766feea461f9a9606091c653ec5867b9
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/show_term_auto.lean
6ea89dd1b925a2dc87171e942eaca66e62b7a0c0
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
1,127
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.core import Mathlib.PostPort namespace Mathlib namespace tactic.interactive /-- ...
bcef69b6e80970d67cda24e9e3e5ba5b7aa4375f
618003631150032a5676f229d13a079ac875ff77
/src/linear_algebra/finsupp.lean
0deea29944d3c39e96585ae6b131217fb7e50b2d
[ "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
17,115
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl Linear structures on function with finite support `α →₀ M`. -/ import data.monoid_algebra noncomputable theory open set linear_map submodule open_locale classical na...
87bdc47f89f4ddbf2b54eed90400fa28bcd908f4
b70031c8e2c5337b91d7e70f1e0c5f528f7b0e77
/test/ring_exp.lean
3d3b04537e08f1a56b05c327219bdb63b5a8d888
[ "Apache-2.0" ]
permissive
molodiuc/mathlib
cae2ba3ef1601c1f42ca0b625c79b061b63fef5b
98ebe5a6739fbe254f9ee9d401882d4388f91035
refs/heads/master
1,674,237,127,059
1,606,353,533,000
1,606,353,533,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,367
lean
import tactic.ring_exp import algebra.group_with_zero.power universes u section addition /-! ### `addition` section Test associativity and commutativity of `(+)`. -/ example (a b : ℚ) : a = a := by ring_exp example (a b : ℚ) : a + b = a + b := by ring_exp example (a b : ℚ) : b + a = a + b := by ring_exp example ...
15e8d2bcc752fd6b666f15e5380cbaa7e8739332
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/algebra/big_operators/finprod.lean
619f1f4b5c014c1d6ccc698f2ad44b41fed32aca
[ "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
38,328
lean
/- Copyright (c) 2020 Kexing Ying and Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kexing Ying, Kevin Buzzard, Yury Kudryashov -/ import algebra.big_operators.order import algebra.indicator_function import data.set.pairwise /-! # Finite products and s...
70b5d514a7c784503987fe5cae253b9af2ebad1c
cf39355caa609c0f33405126beee2739aa3cb77e
/library/system/io_interface.lean
67faa4450c63e915c19b48dcf0ec139271450864
[ "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
4,200
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import data.buffer system.random inductive io.error | other : string → io.error | sys : nat → io.error inductive io.mode | read | write | read_w...