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
5261617e1315baaf1435d05371c47a043a057085
82e44445c70db0f03e30d7be725775f122d72f3e
/src/geometry/manifold/smooth_manifold_with_corners.lean
f0ce96b3d6f3dcbeffe1470b589e9d3fc7dd05b9
[ "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
41,669
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 analysis.calculus.times_cont_diff import geometry.manifold.charted_space /-! # Smooth manifolds (possibly with boundary or corners) A smooth manifold i...
03e34c33e3c7c39ab2ce51238aab987103561308
54518a41e0f0c03b53f961e37a3ac2fed5cfeaa9
/src/bvm.lean
0421839b3794fb850534cfaf178298e8e1425852
[ "Apache-2.0" ]
permissive
cipher1024/flypitch
9110cbfc99aa2195fe0a903fffc7034cdb00e87c
357cd9cc344d7b6ea0c1f5d7232956b9ddb39359
refs/heads/master
1,598,733,974,743
1,572,308,681,000
1,572,992,816,000
218,170,521
0
0
Apache-2.0
1,572,308,724,000
1,572,308,723,000
null
UTF-8
Lean
false
false
128,643
lean
/- Copyright (c) 2019 The Flypitch Project. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jesse Han, Floris van Doorn -/ import order.complete_boolean_algebra order.zorn .pSet_ordinal local infix ` ⟹ `:65 := lattice.imp local infix ` ⇔ `:50 := lattice.biimp -- unc...
4b72c58e7bcef0d32d83d95641dc0d897f0adf3c
097294e9b80f0d9893ac160b9c7219aa135b51b9
/instructor/propositional_logic/propositional_logic_syntax_and_semantics.lean
e9baaeef9dee7d99499c3733a171d39564e2d520
[]
no_license
AbigailCastro17/CS2102-Discrete-Math
cf296251be9418ce90206f5e66bde9163e21abf9
d741e4d2d6a9b2e0c8380e51706218b8f608cee4
refs/heads/main
1,682,891,087,358
1,621,401,341,000
1,621,401,341,000
368,749,959
0
0
null
null
null
null
UTF-8
Lean
false
false
1,238
lean
inductive var : Type | mk : ℕ → var /- SYNTAX -/ -- Abstract syntax inductive pExp : Type | pTrue : pExp | pFalse : pExp | pVar : var → pExp | pNot : pExp → pExp | pAnd : pExp → pExp → pExp | pOr : pExp → pExp → pExp | pImp : pExp → pExp → pExp | pIff : pExp → pExp → pExp | pXor : pExp → pExp → pExp open pExp -- ...
7e3bc1bd40a27edb0e53ac564666eb726e833aec
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/deprecated/subfield.lean
45d8eec408488f9be28f7f95bafa4917e776c485
[ "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
6,121
lean
/- Copyright (c) 2018 Andreas Swerdlow. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andreas Swerdlow -/ import deprecated.subring /-! # Unbundled subfields (deprecated) This file is deprecated, and is no longer imported by anything in mathlib other than other depr...
4709152281a0516f8b0fe7e992e6dee1a4c96768
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Meta/Tactic/AC.lean
bd8aede0ec79b28cd59fe20c0c2a81397b182872
[ "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
190
lean
/- Copyright (c) 2022 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Dany Fabian -/ import Lean.Meta.Tactic.AC.Main
e18e8c2b1399fdb2bf0ea7b01f00ec76575e675a
5fbbd711f9bfc21ee168f46a4be146603ece8835
/lean/natural_number_game/inequality/08.lean
e698c1dc966c757f7dc342d4cfcafc49843de0c3
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
goedel-gang/maths
22596f71e3fde9c088e59931f128a3b5efb73a2c
a20a6f6a8ce800427afd595c598a5ad43da1408d
refs/heads/master
1,623,055,941,960
1,621,599,441,000
1,621,599,441,000
169,335,840
0
0
null
null
null
null
UTF-8
Lean
false
false
135
lean
lemma succ_le_succ (a b : mynat) (h : a ≤ b) : succ a ≤ succ b := begin cases h with n hn, use n, rw hn, rwa succ_add, end
b32e80a97018958449789ebec77052d0e172b269
367134ba5a65885e863bdc4507601606690974c1
/src/analysis/analytic/radius_liminf.lean
24217e24ae3dcf706c1a26d3235c35228f871b70
[ "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
2,490
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Yury Kudryashov -/ import analysis.analytic.basic import analysis.special_functions.pow /-! # Representation of `formal_multilinear_series.radius` as a `liminf` In this file we prove...
3d7cf29d6428c8a6c229f836320eecd5f01756ac
c3f2fcd060adfa2ca29f924839d2d925e8f2c685
/tests/lean/run/tactic14.lean
dd52822cfc10e331bf5a585977e6fbe4e39966fb
[ "Apache-2.0" ]
permissive
respu/lean
6582d19a2f2838a28ecd2b3c6f81c32d07b5341d
8c76419c60b63d0d9f7bc04ebb0b99812d0ec654
refs/heads/master
1,610,882,451,231
1,427,747,084,000
1,427,747,429,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
391
lean
import logic open tactic definition basic_tac : tactic := repeat [apply @and.intro | assumption] set_begin_end_tactic basic_tac -- basic_tac is automatically applied to each element of a proof-qed block theorem tst (a b : Prop) (H : ¬ a ∨ ¬ b) (Hb : b) : ¬ a ∧ b := begin assume Ha, or.elim H (assume Hna, @absu...
56e7b60cd86077b055319371c258396e818d857e
1dd482be3f611941db7801003235dc84147ec60a
/src/topology/uniform_space/basic.lean
c80839e26657fa1321bee892bfb98ad88c84db1a
[ "Apache-2.0" ]
permissive
sanderdahmen/mathlib
479039302bd66434bb5672c2a4cecf8d69981458
8f0eae75cd2d8b7a083cf935666fcce4565df076
refs/heads/master
1,587,491,322,775
1,549,672,060,000
1,549,672,060,000
169,748,224
0
0
Apache-2.0
1,549,636,694,000
1,549,636,694,000
null
UTF-8
Lean
false
false
79,564
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 uniform spaces. Uniform spaces are a generalization of metric spaces and topological groups. Many concepts directly generaliz...
01ab0b7f146fb1bf8cb703fb03fae272a782347f
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/topology/uniform_space/basic.lean
034d5e662b73f0c162a4e55d21942bc9665a5f88
[ "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
71,754
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 -/ import order.filter.lift import topology.subset_properties /-! # Uniform spaces Uniform spaces are a generalization of metric spaces ...
b136964ed6538e41f2deba01608ea76d65810636
9dc8cecdf3c4634764a18254e94d43da07142918
/src/category_theory/subobject/mono_over.lean
98ccbe1a4b4e159c706ae3bb3e7216c52a269976
[ "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
13,523
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta, Scott Morrison -/ import category_theory.functor.currying import category_theory.limits.over import category_theory.limits.shapes.images import category_theory.adjunction.r...
6ab9ba845a5d12a39199935e8647babf0483b388
35b83be3126daae10419b573c55e1fed009d3ae8
/_target/deps/mathlib/data/padics/padic_numbers.lean
10a83fcbe6bda3d4f7ceea514950419b5ee4a1ef
[]
no_license
AHassan1024/Lean_Playground
ccb25b72029d199c0d23d002db2d32a9f2689ebc
a00b004c3a2eb9e3e863c361aa2b115260472414
refs/heads/master
1,586,221,905,125
1,544,951,310,000
1,544,951,310,000
157,934,290
0
0
null
null
null
null
UTF-8
Lean
false
false
28,299
lean
/- Copyright (c) 2018 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis Define the p-adic numbers (rationals) ℚ_p as the completion of ℚ wrt the p-adic norm. Show that the p-adic norm extends to ℚ_p, that ℚ is embedded in ℚ_p, and that ℚ_...
130af1c3013060099a911cdad9f31be030fb4b5e
618003631150032a5676f229d13a079ac875ff77
/test/ext.lean
68784d53c888e1184145f962d7beb05eaa730022
[ "Apache-2.0" ]
permissive
awainverse/mathlib
939b68c8486df66cfda64d327ad3d9165248c777
ea76bd8f3ca0a8bf0a166a06a475b10663dec44a
refs/heads/master
1,659,592,962,036
1,590,987,592,000
1,590,987,592,000
268,436,019
1
0
Apache-2.0
1,590,990,500,000
1,590,990,500,000
null
UTF-8
Lean
false
false
2,968
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import tactic.ext import tactic.solve_by_elim import data.stream.basic import data.finset @[ext] lemma unit.ext (x y : unit) : x = y := begin cases x, cases y, refl end...
1a2e784f7e2f3efa088e10c0faa5739f7e5a1fa2
d751a70f46ed26dc0111a87f5bbe83e5c6648904
/Code/src/inst/network/ids.lean
bfe22b7589edbf9e10450251c56b3bc25be63aec
[]
no_license
marcusrossel/bachelors-thesis
92cb12ae8436c10fbfab9bfe4929a0081e615b37
d1ec2c2b5c3c6700a506f2e3cc93f1160e44b422
refs/heads/main
1,682,873,547,703
1,619,795,735,000
1,619,795,735,000
306,041,494
2
0
null
null
null
null
UTF-8
Lean
false
false
644
lean
import inst.reactor -- A type of unique identifiers for reactors in a network. protected def reactor.id := ℕ -- A type of unique identifiers for reactions in a network. @[ext] protected structure reaction.id := (rtr : reactor.id) (rcn : ℕ) -- Reaction-IDs' equality is non-constructively decidable. noncomputab...
48c6724b298ea4fd086479df4be7d8e81b0d554c
4fa161becb8ce7378a709f5992a594764699e268
/src/ring_theory/adjoin_root.lean
a0209519d32f45165449edf7ccc40697921b837b
[ "Apache-2.0" ]
permissive
laughinggas/mathlib
e4aa4565ae34e46e834434284cb26bd9d67bc373
86dcd5cda7a5017c8b3c8876c89a510a19d49aad
refs/heads/master
1,669,496,232,688
1,592,831,995,000
1,592,831,995,000
274,155,979
0
0
Apache-2.0
1,592,835,190,000
1,592,835,189,000
null
UTF-8
Lean
false
false
4,178
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 import ring_theory.principal_ideal_domain /-! # Adjoining roots of polynomials This file define...
cb07fefed23a25b85d57f7816e3c3c5b6c2cc913
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/bench/rbmap_checkpoint2.lean
285f3d44f508ab4807fd619eda9f22b5bac1d3c1
[ "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
3,347
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.coe init.data.option.basic init.system.io universes u v w w' inductive color | Red | Black inductive Tree | Leaf {} ...
d0bf1c3e1d573c2c1447cee265a8ef5bfabec567
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/order/complete_boolean_algebra.lean
8827fec5999fcaa3bb155366f196d8c9b9ed087c
[ "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
4,587
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 Theory of complete Boolean algebras. -/ import order.complete_lattice order.boolean_algebra data.set.basic set_option old_structure_cmd true universes u v w variables...
5cbe3e2f38fd83444fcb0aceb597c201ebd52ff9
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/data/dfinsupp.lean
10a5823d503a16618474b7fdfb927c1741325387
[ "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
48,894
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Kenny Lau -/ import algebra.module.pi import algebra.big_operators.basic import data.set.finite import group_theory.submonoid.basic /-! # Dependent functions with finite su...
d69dddaf9be1dd792267a3c513f56c5ef0b8e106
e61a235b8468b03aee0120bf26ec615c045005d2
/src/Init/Lean/Compiler/IR/NormIds.lean
f2d2cfb4352daacfc87433702c36f3369046fd6a
[ "Apache-2.0" ]
permissive
SCKelemen/lean4
140dc63a80539f7c61c8e43e1c174d8500ec3230
e10507e6615ddbef73d67b0b6c7f1e4cecdd82bc
refs/heads/master
1,660,973,595,917
1,590,278,033,000
1,590,278,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,438
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 -/ prelude import Init.Control.Reader import Init.Control.Conditional import Init.Lean.Compiler.IR.Basic namespace Lean namespace IR namespace UniqueIds abbr...
684549970e8c6aa0959acfc43285d691c3e553c0
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/normed/group/pointwise.lean
d355e95c1835c6f4c05379d83c20ad363ce115db
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
7,513
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.group.add_torsor import topology.metric_space.hausdorff_distance /-! # Properties of pointwise addition of sets in normed groups We exp...
66e17d519d1d249e4fd6387eeb7b5bb85d7ce72c
94e33a31faa76775069b071adea97e86e218a8ee
/src/linear_algebra/determinant.lean
a8d473a41635ef1bde1ab20fe0c971f1e474a01b
[ "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
22,823
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.multilinear.basis import linear_algebra.matrix.reindex import ring_theory.algebra_tower import tactic....
becc7123e5f0986dbbd1236bd6a3cd190c9f3bb2
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/combinatorics/composition.lean
a9bdcafda3213d8baa41bcc715ba93ec9a077745
[ "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
36,454
lean
/- Copyright (c) 2020 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import data.fintype.card import data.finset.sort import algebra.big_operators.order /-! # Compositions A composition of a natural number `n` is a decompositio...
231815d168260f9da9013e4633386bc4d3eba6c7
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/ring_theory/fractional_ideal.lean
65e5dc7d5c5c873aa6c18eb3ca60759a543b15c0
[]
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
41,485
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen, Filippo A. E. Nuccio -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.ring_theory.localization import Mathlib.ring_theory.noetherian import Mathl...
9b4ccc52bd4d70c975e8183a8e24ad5513411738
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/algebra/continued_fractions/basic.lean
38d573b2959d812cae1430089b71c329f03db506
[ "Apache-2.0" ]
permissive
anrddh/mathlib
6a374da53c7e3a35cb0298b0cd67824efef362b4
a4266a01d2dcb10de19369307c986d038c7bb6a6
refs/heads/master
1,656,710,827,909
1,589,560,456,000
1,589,560,456,000
264,271,800
0
0
Apache-2.0
1,589,568,062,000
1,589,568,061,000
null
UTF-8
Lean
false
false
13,301
lean
/- Copyright (c) 2019 Kevin Kappelmann. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Kappelmann -/ import data.seq.seq /-! # Basic Definitions/Theorems for Continued Fractions ## Summary We define generalised, simple, and regular continued fractions and funct...
27fcf02f4d0b656a89eeedfb52a06c1d2b42d926
0ddf2dd8409bcb923d11603846800bd9699616ea
/vector.lean
6fbcde60aea80a99eadfa9b941c45083dfdff6b2
[]
no_license
tounaishouta/Lean
0cbaaa9340e7f8f884504ea170243e07a54f0566
1d75311f5506ca2bfd8b7ccec0b7d70c3319d555
refs/heads/master
1,610,229,383,935
1,459,950,226,000
1,459,950,226,000
50,836,185
0
0
null
null
null
null
UTF-8
Lean
false
false
3,338
lean
import standard open nat inductive vector (A : Type) : nat → Type := | nil {} : vector A zero | cons : Π {n : nat}, A → vector A n → vector A (succ n) open vector (nil cons) infix `^` := vector infixr ` :: ` := cons definition uncons {A : Type} : Π {n : nat}, A^succ n → A × A^n := have aux : Π m : nat, A^m → Π ...
12ced782c4a838f151df87ee521b6b157f31d867
d642a6b1261b2cbe691e53561ac777b924751b63
/src/topology/algebra/infinite_sum.lean
bc12f6d23a0e747c3395e5608856b24fbdff4372
[ "Apache-2.0" ]
permissive
cipher1024/mathlib
fee56b9954e969721715e45fea8bcb95f9dc03fe
d077887141000fefa5a264e30fa57520e9f03522
refs/heads/master
1,651,806,490,504
1,573,508,694,000
1,573,508,694,000
107,216,176
0
0
Apache-2.0
1,647,363,136,000
1,508,213,014,000
Lean
UTF-8
Lean
false
false
25,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 Infinite sum over a topological monoid This sum is known as unconditionally convergent, as it sums to the same value under all possible permutations. For Euclidean spa...
33450e36fe8fca9daf23378d659868cbc5c0c1ac
9ad8d18fbe5f120c22b5e035bc240f711d2cbd7e
/src/combinatorics/domino.lean
885fcfd8880dd7882b098920d25cce8a069c035a
[]
no_license
agusakov/lean_lib
c0e9cc29fc7d2518004e224376adeb5e69b5cc1a
f88d162da2f990b87c4d34f5f46bbca2bbc5948e
refs/heads/master
1,642,141,461,087
1,557,395,798,000
1,557,395,798,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,337
lean
/- Copyright (c) 2019 Neil Strickland. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Neil Strickland (This is part of an attempt to formalise some material from a basic undergraduate combinatorics course.) A "domino" means a subset of ℕ × ℕ of the form {i} × {j,...
663cd74e64b05ea828e7b26d4c71b5d99f22a7b5
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/obtain.lean
15fa6320913af3e3d15e424db90cb90154126dd2
[ "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
653
lean
macro "obtain " p:term " from " d:term "; " body:term : term => `(match $d:term with | $p => $body) theorem tst1 {p q r} (h : p ∧ q ∧ r) : q ∧ p ∧ r := match h with | ⟨h₁, ⟨h₂, h₃⟩⟩ => ⟨h₂, ⟨h₁, h₃⟩⟩ theorem tst2 {p q r} (h : p ∧ q ∧ r) : q ∧ p ∧ r := obtain ⟨h₁, ⟨h₂, h₃⟩⟩ from h; ⟨h₂, ⟨h₁, h₃⟩⟩ macro "obtain " p:...
aaf3e5a6b24456d962c0469cea28131f085bcca1
9028d228ac200bbefe3a711342514dd4e4458bff
/src/topology/algebra/infinite_sum.lean
1c0f0ad1ed79674f191f4f0183c97e01136db0e2
[ "Apache-2.0" ]
permissive
mcncm/mathlib
8d25099344d9d2bee62822cb9ed43aa3e09fa05e
fde3d78cadeec5ef827b16ae55664ef115e66f57
refs/heads/master
1,672,743,316,277
1,602,618,514,000
1,602,618,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
39,038
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import algebra.big_operators.intervals import topology.instances.real import data.indicator_function import data.equiv.encodable.lattice import order.filter.at_top_bo...
ca55006c6624a24d14d7524b234dea3681196c4c
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/ring_theory/trace.lean
776788b63afa3ce77d0838bd100f31e0b144ad1a
[ "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
3,968
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import linear_algebra.bilinear_form import ring_theory.power_basis /-! # Trace for (finite) ring extensions. Suppose we have an `R`-algebra `S` with a finite basis. For ...
ba090bb04a8981a2590a1405f3afd8bee3d0ad50
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/tactic/simps.lean
a48170207209e66aa55fc3a7478ff0ac87714627
[ "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
46,692
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 -/ import tactic.protected import algebra.group.to_additive /-! # simps attribute This file defines the `@[simps]` attribute, to automatically generate `simp` lemm...
7b1f26b303d1319b8268c1867cde72b5067ad8e4
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/sign.lean
092565b849f62742e44c1f2ca4aaffc91b383b68
[ "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
12,374
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.big_operators.basic import data.fintype.card import tactic.derive_fintype /-! # Sign function This file defines the sign function for types with zero...
32208876b39c437b80f0d633b83570cb9edb844f
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/algebra/group/with_one.lean
03b1c620df67f202a3e085ab958e3b5fc902f152
[ "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
9,093
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Johan Commelin Various multiplicative and additive structures. -/ import algebra.group.to_additive algebra.group.basic algebra.group.hom universes u v variable {α : T...
c694e2f89c204613d8765412d8d6c09b2cddd036
37a833c924892ee3ecb911484775a6d6ebb8984d
/src/category_theory/sigma_category.lean
6525941ec5f4d65b503fd7d0b6a68672db957a60
[]
no_license
silky/lean-category-theory
28126e80564a1f99e9c322d86b3f7d750da0afa1
0f029a2364975f56ac727d31d867a18c95c22fd8
refs/heads/master
1,589,555,811,646
1,554,673,665,000
1,554,673,665,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
965
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison import category_theory.fully_faithful /- This is exactly analogous to the full_subcategory definition for a subtype, but for a sigma type instead. -/ namespace c...
09abd2aba2ec93a062a1064cce230a8995685c81
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/run/cc_ac3.lean
de3bd032fdbe2736099869c151810443e97a9a9b
[ "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
1,132
lean
open tactic example (a b c d e : nat) (f : nat → nat → nat) : b + a = d → b + c = e → f (a + b + c) (a + b + c) = f (c + d) (a + e) := by cc example (a b c d e : nat) (f : nat → nat → nat) : b + a = d + d → b + c = e + e → f (a + b + c) (a + b + c) = f (c + d + d) (e + a + e) := by cc section universe variable u ...
5493e937f7751bb7d7e9a810b5f7a0b0e15a4534
6b45072eb2b3db3ecaace2a7a0241ce81f815787
/data/set/basic.lean
1e383983d749015b1fb621d1569b36205c9df995
[]
no_license
avigad/library_dev
27b47257382667b5eb7e6476c4f5b0d685dd3ddc
9d8ac7c7798ca550874e90fed585caad030bbfac
refs/heads/master
1,610,452,468,791
1,500,712,839,000
1,500,713,478,000
69,311,142
1
0
null
1,474,942,903,000
1,474,942,902,000
null
UTF-8
Lean
false
false
32,451
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, Johannes Hölzl -- QUESTION: can make the first argument in ∀ x ∈ a, ... implicit? -/ import logic.basic data.set -- from the library in the main repo ...
7f90e1f2c5c679a4688d2d81d132b38f43f34b70
94e33a31faa76775069b071adea97e86e218a8ee
/src/ring_theory/multiplicity.lean
e9057a160e6567e5677b076b9bbd62c97ddc2fc1
[ "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
22,784
lean
/- Copyright (c) 2018 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis, Chris Hughes -/ import algebra.associated import algebra.big_operators.basic import ring_theory.valuation.basic import data.nat.factorization.basic /-! # Multiplicit...
244bf928a73e75bc383e05f18025ad8925ac99a7
efa51dd2edbbbbd6c34bd0ce436415eb405832e7
/20161026_ICTAC_Tutorial/ex15.lean
d67d090fce0466a40a11cc09dcf64a029d416358
[ "Apache-2.0" ]
permissive
leanprover/presentations
dd031a05bcb12c8855676c77e52ed84246bd889a
3ce2d132d299409f1de269fa8e95afa1333d644e
refs/heads/master
1,688,703,388,796
1,686,838,383,000
1,687,465,742,000
29,750,158
12
9
Apache-2.0
1,540,211,670,000
1,422,042,683,000
Lean
UTF-8
Lean
false
false
285
lean
/- We want to do is define objects in Lean and prove things about them. -/ definition foo : (ℕ → ℕ) → ℕ := λ f, f 0 check foo -- (ℕ → ℕ) → ℕ print foo -- λ (f : ℕ → ℕ), f 0 eval foo nat.succ definition foo' := λ f : ℕ → ℕ, f 0 check foo'
6e2797ed072c8503533bbd2b6f756ea7ccde29d0
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/ring_theory/local_properties.lean
04153d3d739297b4b28e3a6f6b08160008609f66
[ "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
23,383
lean
/- Copyright (c) 2021 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import ring_theory.localization import data.equiv.transfer_instance import group_theory.submonoid.pointwise import ring_theory.nilpotent /-! # Local properties of commutat...
e0fd000f340185eaa736cb222171a7e4087d66c0
aa5a655c05e5359a70646b7154e7cac59f0b4132
/tests/lean/run/simp3.lean
183965e2a027e9f893404ef0e92701e14336290d
[ "Apache-2.0" ]
permissive
lambdaxymox/lean4
ae943c960a42247e06eff25c35338268d07454cb
278d47c77270664ef29715faab467feac8a0f446
refs/heads/master
1,677,891,867,340
1,612,500,005,000
1,612,500,005,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
737
lean
constant f (x : Nat) : Nat @[simp] axiom fEq (x : Nat) : f x = x theorem ex1 (x : Nat) : f (f x, x).fst = x := by simp theorem ex2 (x : Nat) : f ((fun a => f (f a)) x) = x := by simp constant g (x : Nat) : Nat @[simp] axiom gEq (x : Nat) : g x = match x with | 0 => 1 | x+1 => 2 @[simp] theorem add1 (x : Nat) : x + 1...
238bfcdea18b5cf83a34d42ea2eda213b02d3875
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/uni_issue1.lean
d56d97fb0330eb2fbada75e24f8f7c94c6356da3
[ "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
162
lean
namespace experiment inductive nat : Type | zero : nat | succ : nat → nat definition is_zero (n : nat) : Prop := nat.rec true (λ n r, false) n end experiment
46461db709e2d9bd090f0e2acc74f32aa9a7d39d
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/measure_theory/measure/doubling.lean
b9562c46077a03c8625cf6169c1b15fc4011205e
[ "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
6,069
lean
/- Copyright (c) 2022 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import analysis.special_functions.log.base import measure_theory.measure.measure_space_def /-! # Doubling measures A doubling measure `μ` on a metric space is a measure f...
01732f38f3ce528c4fa596811e3976e2f434a8c9
bdb33f8b7ea65f7705fc342a178508e2722eb851
/order/galois_connection.lean
5152ff69637a284c67f6bcd504d754135e29abf4
[ "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
6,801
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 Galois connections - order theoretic adjoints. -/ import order data.set open function set lattice universes u v w x variables {α : Type u} {β : Type v} {γ : Type w} {ι ...
956a938a133becff131fca5168ab5c3640527b53
439bc6c3e74a118aa51df633b8e1f24415804d86
/sheaf_condition.lean
b7225185acceeefb425949b98d0c7d4a20e8c5fa
[]
no_license
jcommelin/lt2019_slides
4ca498db02b5187c5778c21b985126d52d260696
3234cd92920d3d4321cc2cef78b48e5fa55be413
refs/heads/master
1,586,718,101,957
1,546,930,855,000
1,546,930,855,000
162,697,592
1
0
null
null
null
null
UTF-8
Lean
false
false
56
lean
F'(U) = { s ∈ Π_i F(U_i) | r(s_i) = r(s_j), ∀ i,j }
6e257bebe3b94b9cd3401efb5b7ae9f80df354f1
bb31430994044506fa42fd667e2d556327e18dfe
/src/analysis/normed_space/banach.lean
c900d45d51f63c050a8a26a7ed60f24689293f4d
[ "Apache-2.0" ]
permissive
sgouezel/mathlib
0cb4e5335a2ba189fa7af96d83a377f83270e503
00638177efd1b2534fc5269363ebf42a7871df9a
refs/heads/master
1,674,527,483,042
1,673,665,568,000
1,673,665,568,000
119,598,202
0
0
null
1,517,348,647,000
1,517,348,646,000
null
UTF-8
Lean
false
false
21,566
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 import analysis.normed_space.affine_isometry /-! # Banach open mapping theorem T...
87244fbde64690aa4a61abf3eae672d34da288f5
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/int/log.lean
2db29221f739cf1d9c076b5e47eea83479fbd550
[ "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
12,247
lean
/- Copyright (c) 2022 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import algebra.order.floor import data.nat.log /-! # Integer logarithms in a field with respect to a natural base This file defines two `ℤ`-valued analogs of the logarith...
450e973f433c289b9f7f35f58effa39ed7d7ee2f
271e26e338b0c14544a889c31c30b39c989f2e0f
/stage0/src/Init/Data/Array/Basic.lean
54ca8b4bb2721f09363c249c5b29ce2d4bf9552e
[ "Apache-2.0" ]
permissive
dgorokho/lean4
805f99b0b60c545b64ac34ab8237a8504f89d7d4
e949a052bad59b1c7b54a82d24d516a656487d8a
refs/heads/master
1,607,061,363,851
1,578,006,086,000
1,578,006,086,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
20,509
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 import Init.Control.Id i...
f3c473e5b5bfe806e97049fb596eb8ebd77738bc
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/data/set/finite.lean
a560e864fe1efb4885f1d627e46ea31e1c2ec583
[ "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
22,228
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 Finite sets. -/ import logic.function import data.nat.basic data.fintype.basic data.set.lattice data.set.function import algebra.big_operators open set...
aefffb1793d0872dbfc41e7c24a679bbdfad47ca
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/offset1.lean
507970fb6c4c0fb343985d8fe3ff1dc391af3997
[ "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
476
lean
open nat inductive {u} vec (α : Type u) : ℕ → Type u | nil {} : vec 0 | cons : α → Π {n : nat}, vec n → vec (n+1) namespace vec def head {α : Type*} : Π {n : ℕ}, vec α (n+1) → α | n (cons x xs) := x end vec constants (dret : Π {n : ℕ}, vec nat n → (vec nat n → nat) → nat) axiom dret_spec : Π {n : ℕ} (xs : vec nat ...
edeb5404ce8dc9ca51e8b8d3d4327774e179a7a8
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/unfold_rec2.lean
421967b0bb8995a83e322a9accb860f16e707b3d
[ "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
209
lean
open nat definition f (a n : ℕ) : ℕ := nat.rec_on n (λa', a') (λn' f' a', f' (a' * 2)) a example (a n : nat) : a = 2 → f a (succ n) = f 4 n := begin unfold f at {1}, state, intros, subst a end
33102ae07c48c94d5520754303e5b222a8f6db45
07c6143268cfb72beccd1cc35735d424ebcb187b
/src/tactic/suggest.lean
1d104ba47676b22c0f5135a1ead56a5dba8fd0cf
[ "Apache-2.0" ]
permissive
khoek/mathlib
bc49a842910af13a3c372748310e86467d1dc766
aa55f8b50354b3e11ba64792dcb06cccb2d8ee28
refs/heads/master
1,588,232,063,837
1,587,304,803,000
1,587,304,803,000
176,688,517
0
0
Apache-2.0
1,553,070,585,000
1,553,070,585,000
null
UTF-8
Lean
false
false
16,342
lean
/- Copyright (c) 2019 Lucas Allen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Lucas Allen and Scott Morrison -/ import data.mllist import tactic.solve_by_elim /-! # `suggest` and `library_search` `suggest` and `library_search` are a pair of tactics for applying ...
b20fcfa02b7e368839a73eaebe0ceb27614500c1
c777c32c8e484e195053731103c5e52af26a25d1
/src/data/fintype/card.lean
43d7bf3b7f0f5869efc8449ec94f66125bedd7a1
[ "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
41,841
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.fintype.basic import data.finset.card import data.list.nodup_equiv_fin import tactic.positivity import tactic.wlog /-! # Cardinalities of finite types >...
d016857a5b12f029e79931f027ca75a98df31cfa
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/linear_algebra/finsupp_vector_space.lean
52889c94fa4d08232b462f7b3fe7582604298cff
[ "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
7,951
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import data.mv_polynomial import linear_algebra.dimension import linear_algebra.direct_sum.finsupp import linear_algebra.finite_dimensional import linear_algebra.std...
4669d1cb63a0fae21836f0a6b4491d89e4711e55
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/algebra/big_operators.lean
72060ee8a811fa784a24b9fc5baacf79a9d192ee
[ "Apache-2.0" ]
permissive
anrddh/mathlib
6a374da53c7e3a35cb0298b0cd67824efef362b4
a4266a01d2dcb10de19369307c986d038c7bb6a6
refs/heads/master
1,656,710,827,909
1,589,560,456,000
1,589,560,456,000
264,271,800
0
0
Apache-2.0
1,589,568,062,000
1,589,568,061,000
null
UTF-8
Lean
false
false
52,408
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import data.finset import data.nat.enat import tactic.omega /-! # Big operators In this file we define products and sums indexed by finite sets (specifically, `fin...
f1de9be14be7c8a3e6e02177a523ef30b463432a
ee8cdbabf07f77e7be63a449b8483ce308d37218
/lean/src/test/amc12-2001-p5.lean
17b7231bcd3b8b14568ac2113af37d7ef9a3611a
[ "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
451
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.real.basic import data.finset.basic import algebra.big_operators.basic open_locale big_operators example (A : finset ℕ) (h₀ : A = finset.filter (λ e, 2 ∣ (e + 1)) ...
b1755b375007e0e7995e7d95b6aab9499e6a7a12
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/tactic/fin_cases.lean
cfb587fdcdbb9e793a777c573625fd36a9ec9692
[ "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
4,349
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Scott Morrison Case bashing: * on `x ∈ A`, for `A : finset α` or `A : list α`, or * on `x : A`, with `[fintype A]`. -/ import data.fintype.basic import tactic.norm_num namespace tacti...
6f8f941c4d96453559777a1b364d7e50a3aeeefe
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/src/Init/Data/DList.lean
9e8c5d19495f8f76eba5443e8eb8a42d57c30ac2
[ "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
1,791
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import Init.Data.List.Basic universes u /-- A difference List is a Function that, given a List, returns the original contents of the difference List ...
6fc50a88336dcaf49613a2fa1a687225e9938ae5
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/rbtree/insert.lean
955270781fd371553fa642d64ff0f4fb341b94b3
[ "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
33,754
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import data.rbtree.find universes u v local attribute [simp] rbnode.lift namespace rbnode variables {α : Type u} open color @[simp] lemma balance1_eq₁ (...
289e108d6641a9d94ad58cdbfb83f46f2b07a459
92b50235facfbc08dfe7f334827d47281471333b
/hott/algebra/category/constructions/hset.hlean
819dde2942ac80e034e8d1c3ceaefbca63da32e5
[ "Apache-2.0" ]
permissive
htzh/lean
24f6ed7510ab637379ec31af406d12584d31792c
d70c79f4e30aafecdfc4a60b5d3512199200ab6e
refs/heads/master
1,607,677,731,270
1,437,089,952,000
1,437,089,952,000
37,078,816
0
0
null
1,433,780,956,000
1,433,780,955,000
null
UTF-8
Lean
false
false
3,628
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, Jakob von Raumer Category of hsets -/ import ..category types.equiv --open eq is_trunc sigma equiv iso is_equiv open eq category equiv iso is_equiv is_trunc func...
df6a7ba4f8cf3dfa558489cb4299a6b64aae1ccf
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/ring_theory/integral_closure.lean
1366cdea57f6b153eabeff0c2757827305bcf913
[ "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,691
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau Integral closure of a subring. -/ import ring_theory.adjoin linear_algebra.finsupp universes u v open polynomial submodule variables (R : Type u) {A : Type v} variables [comm...
e4db62d7d6adc19e70f822653b14f407b0465914
cc060cf567f81c404a13ee79bf21f2e720fa6db0
/lean/20170309-analysing-expressions.lean
b4f21df9609a8a8024c0c33eeae45ea73efbf3d6
[ "Apache-2.0" ]
permissive
semorrison/proof
cf0a8c6957153bdb206fd5d5a762a75958a82bca
5ee398aa239a379a431190edbb6022b1a0aa2c70
refs/heads/master
1,610,414,502,842
1,518,696,851,000
1,518,696,851,000
78,375,937
2
1
null
null
null
null
UTF-8
Lean
false
false
562
lean
open tactic open tactic.interactive meta def occuring_in ( targets : list expr ) ( e : expr ) : list expr := list.filter (λ t, expr.occurs t e) targets meta def fail_if_empty { α : Type } (or_else : list expr → tactic α) : list expr → tactic α | list.nil := failed | l := or_else l meta def unfold_at_least_one ( targ...
b538218c25c1c1b6fa2c1db27d8e7f594c5a55bd
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/quote1.lean
f82869f9a39c736b69ee2d70adf2d080d59f5141
[ "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
270
lean
open tactic list meta_definition foo (a : pexpr) : pexpr := `(%%a + %%a + %%a + b) example (a b : nat) : a = a := by do a ← get_local `a, t1 ← mk_app `add [a, a], t2 ← to_expr (foo (to_pexpr t1)), trace t2, r ← mk_app (`eq.refl) [a], exact r
aab4622422256547617740a2570fbfc695feee79
367134ba5a65885e863bdc4507601606690974c1
/src/data/finsupp/pointwise.lean
04d23f6faeecef22bd0ab3ed476a21eec3de3046
[ "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
1,976
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import data.finsupp.basic /-! # The pointwise product on `finsupp`. TODO per issue #1864: We intend to remove the convolution product on finsupp, and define it only...
89b461449c768d5eaa5fba14318b8b5d607a1fe1
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/combinatorics/set_family/kleitman.lean
daefabc28c79de6f24546dd52bde96ddbec5cc17
[ "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
3,746
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 combinatorics.set_family.harris_kleitman import combinatorics.set_family.intersecting /-! # Kleitman's bound on the size of intersecting families An intersecting...
ab9c4d483dea4957aa9fbc38efa768166d6ef6e3
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/choose_auto.lean
7cdd98b17ffbb94af442069a7567e752979d5f56
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
3,771
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, Floris van Doorn, Mario Carneiro -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.core import Mathlib.PostPort namespace Mathlib /...
7324246d0fc0c9b7b19e0eb7983d75f0636928f2
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/normed_space/indicator_function.lean
71019a37d71c510d58dd61c530148994336b9a17
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
1,345
lean
/- Copyright (c) 2020 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou, Yury Kudryashov -/ import analysis.normed.group.basic import algebra.indicator_function /-! # Indicator function and norm This file contains a few simple lemmas about `...
b0d0d0adc16df02a92015a89930a11c27fd38af4
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/list/erase_dup.lean
e3da08b38647002ffbab31cdd3f63f36c3355eab
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
2,302
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.list.nodup import Mathlib.PostPort universes u namespace Mathlib namespace list ...
2fbe68386dad47f5778f6303ec7256e99b6091c0
b82c5bb4c3b618c23ba67764bc3e93f4999a1a39
/src/formal_ml/probability_space.lean
86a051dcae0e6e7dc5ece96b5494f582787ac0dc
[ "Apache-2.0" ]
permissive
nouretienne/formal-ml
83c4261016955bf9bcb55bd32b4f2621b44163e0
40b6da3b6e875f47412d50c7cd97936cb5091a2b
refs/heads/master
1,671,216,448,724
1,600,472,285,000
1,600,472,285,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
49,958
lean
/- Copyright 2020 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
b97126ec49c6ab1676315727bdbf554dff92bf58
95dcf8dea2baf2b4b0a60d438f27c35ae3dd3990
/src/topology/algebra/uniform_group.lean
5c6b9e731c49a59317935cbc3cbc0af17567b011
[ "Apache-2.0" ]
permissive
uniformity1/mathlib
829341bad9dfa6d6be9adaacb8086a8a492e85a4
dd0e9bd8f2e5ec267f68e72336f6973311909105
refs/heads/master
1,588,592,015,670
1,554,219,842,000
1,554,219,842,000
179,110,702
0
0
Apache-2.0
1,554,220,076,000
1,554,220,076,000
null
UTF-8
Lean
false
false
20,507
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 Uniform structure on topological groups: * `topological_add_group.to_uniform_space` and `topological_add_group_is_uniform` can be used to construct a...
69455afdccfc60a02e214e9ba00336eb978ac9f4
e898bfefd5cb60a60220830c5eba68cab8d02c79
/uexp/src/uexp/rules/pushFilterPastAgg.lean
5951925490b5665b91f6edc9a98d81e089eeeade
[ "BSD-2-Clause" ]
permissive
kkpapa/Cosette
9ed09e2dc4c1ecdef815c30b5501f64a7383a2ce
fda8fdbbf0de6c1be9b4104b87bbb06cede46329
refs/heads/master
1,584,573,128,049
1,526,370,422,000
1,526,370,422,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,053
lean
import ..sql import ..tactics import ..u_semiring import ..extra_constants import ..cosette_tactics open Expr open Proj open Pred open SQL open tree notation `int` := datatypes.int constant integer_10 : const int definition rule: forall (Γ scm_dept: Schema) (rel_dept: relation scm_dept) (dept_deptno : Column int sc...
9ea95d9a37f93ac015f066e06332d988244ec9fc
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/calculus/conformal/inner_product.lean
7d84a6b327469bfe9192bf1392c177bc85f4e7c2
[ "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,449
lean
/- Copyright (c) 2021 Yourong Zang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yourong Zang -/ import analysis.calculus.conformal.normed_space import analysis.inner_product_space.conformal_linear_map /-! # Conformal maps between inner product spaces A function be...
dce4eeaa5881087459764298ee3aba07a4777d98
46125763b4dbf50619e8846a1371029346f4c3db
/src/tactic/clear.lean
506160ff3be7d01e7cf646e00c09dfb8c1dd1763
[ "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
2,939
lean
/- Copyright (c) 2020 Jannis Limperg. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jannis Limperg -/ import tactic.core /-! # Better `clear` tactics We define two variants of the standard `clear` tactic: * `clear'` works like `clear` but the hypotheses that should...
056f9e6f266bb0fee39c872366e3bc53f2690880
4b846d8dabdc64e7ea03552bad8f7fa74763fc67
/tests/lean/run/basic_monitor1.lean
fa4b2ec984048dca4c8d896fa901b9e09d26204a
[ "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
273
lean
meta def basic_monitor : vm_monitor nat := { init := 0, step := λ s, return (trace ("step " ++ s^.to_string) (s+1)) >> failure } run_cmd vm_monitor.register `basic_monitor set_option debugger true def f : nat → nat | 0 := 0 | (a+1) := f a #eval trace "a" (f 4)
52815852b1b71360f7e1e58e404be37394b0d970
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Meta/Match/MVarRenaming.lean
366ad65e34c1827fdc1b489aba2c124b38b92fe3
[ "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,034
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Util.ReplaceExpr namespace Lean.Meta /-- A mapping from MVarId to MVarId -/ structure MVarRenaming where map : MVarIdMap MVarId := {} def M...
6d3b0f85e174e153c948f943440bb8a9dd0804df
69bc7d0780be17e452d542a93f9599488f1c0c8e
/11-21-2019.lean
57e6b538ee94fb89f385f6c3b24765c8c1283979
[]
no_license
joek13/cs2102-notes
b7352285b1d1184fae25594f89f5926d74e6d7b4
25bb18788641b20af9cf3c429afe1da9b2f5eafb
refs/heads/master
1,673,461,162,867
1,575,561,090,000
1,575,561,090,000
207,573,549
0
0
null
null
null
null
UTF-8
Lean
false
false
2,025
lean
-- 11/21/2019 - natural deduction variables P Q R : Prop -- two different ways to solve proofs including "forall" -- forall introduction: given a proof of Q for an arbitrary value of type P, we can conclude that Q holds "for all" P -- i.e. ∀ (p : P), Q example : ∀ (p : P), Q := λ (hp : P), sorry e...
246cdc7c555177ca3d90b70955594756e3a545d2
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Lean/Elab/Tactic/Conv/Unfold.lean
c1c8b7d2cb6b435862733b090c6ac245b416d192
[ "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
521
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.Elab.Tactic.Unfold import Lean.Elab.Tactic.Conv.Simp namespace Lean.Elab.Tactic.Conv open Meta @[builtinTactic Lean.Parser.Tactic.Conv.unfold]...
c1c01ff26fe6b1185adafe9a1816edf2409c5b1f
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/mutualWithCompositeNames.lean
78569fdfa4d56e2531f930f64fbaefadcd1c94c4
[ "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,247
lean
namespace Ex1 mutual def Foo.boo (x : Nat) := match x with | 0 => 1 | x + 1 => 2*Boo.bla x def Boo.bla (x : Nat) := match x with | 0 => 2 | x+1 => 3*Foo.boo x end example : Foo.boo 2 = 2*3*1 := by simp [Foo.boo, Boo.bla] end Ex1 namespace Ex2 mutual def Bla.Foo.boo (x : Nat) := match x with |...
8869391e5d62b3ee972ed4a4d7170bc6d0204821
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/rewrite_bug.lean
bc19e2538b35eeb0c1cbc2c3ce688129c1f6bc45
[ "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
159
lean
open nat example (a b c : nat) : a = 0 → b = 1 + a → a = b → false := begin intro a0 b1 ab, rewrite a0 at *, rewrite b1 at *, contradiction end
62e77a338c7108e6f48c7042eb24d8f0533860ef
abd85493667895c57a7507870867b28124b3998f
/src/data/fin_enum.lean
ea9998e013b1dbfacd44dc8db0f3659f58482139
[ "Apache-2.0" ]
permissive
pechersky/mathlib
d56eef16bddb0bfc8bc552b05b7270aff5944393
f1df14c2214ee114c9738e733efd5de174deb95d
refs/heads/master
1,666,714,392,571
1,591,747,567,000
1,591,747,567,000
270,557,274
0
0
Apache-2.0
1,591,597,975,000
1,591,597,974,000
null
UTF-8
Lean
false
false
8,922
lean
/- Copyright (c) 2019 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author(s): Simon Hudon -/ import control.monad.basic import data.fintype.basic /-! Type class for finitely enumerable types. The property is stronger than `fintype` in that it assigns each elemen...
bea9aaf79fe02ec9ba18399a1877c846445edde3
94e33a31faa76775069b071adea97e86e218a8ee
/src/ring_theory/hahn_series.lean
2a8c0a09b8ae747cd54c6bb41df56ab4ce31b8d5
[ "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
62,221
lean
/- Copyright (c) 2021 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import order.well_founded_set import algebra.big_operators.finprod import ring_theory.valuation.basic import algebra.module.pi import ring_theory.power_series.basic i...
5ea37492436758e20e97d09c7762dc73b987ae52
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/1812.lean
8319abccc0e567174eab7e6b17f7fcb8da191741
[ "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
228
lean
def bndng (α : Type) : Type := string inductive pterm : Type | star : pterm -> pterm | letrec : bndng pterm -> pterm def weaken : pterm → pterm | (pterm.star p) := pterm.star (weaken p) | (pterm.letrec _) := pterm.letrec ""
53ed382de64bc02f6a271c889424347582ffd55c
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/geometry/manifold/basic_smooth_bundle_auto.lean
2390dd9fe0e4d6b70d7fea5509c0f06627073488
[]
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,408
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.topological_fiber_bundle import Mathlib.geometry.manifold.smooth_manifold_wi...
ea5f0bda81ec72d91708e88aaa2907dda4c92136
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/tactic/alias.lean
e4a3a380b5b08f247ff2cdae7363af806ccbc329
[ "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
5,504
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.buffer.parser import tactic.core /-! # The `alias` command This file defines an `alias` command, which can be used to create copies of a theorem or defi...
c3bbdfb98d294e5ab41a7d479a4382631ab0d2f7
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/set/intervals/group.lean
eb430b8c338aaead7d41631f3ffe0aec9379428c
[ "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
4,445
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, Rémy Degenne -/ import data.set.intervals.basic import algebra.order.group.abs /-! ### Lemmas about arithmetic operati...
1bf605e464cc57c3e9ed2b69cfa00f9ae14d6343
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/algebra/category/Group/colimits.lean
6c4c10f4aa16d2287c5c0908b714a80bb53fd0d2
[ "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
8,829
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.category.Group.basic import category_theory.limits.limits /-! # The category of additive commutative groups has all colimits. This file uses a "pre-a...
9ec7d7513cec520c740b547d67741d256856efec
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/ring_theory/algebra_tower_auto.lean
166a0fa32e4da012e824e6f977d1e06c679e5e85
[]
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,337
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.algebra.tower import Mathlib.algebra.invertible import Mathlib.linear_algebra.basis import Ma...
846f8df6982e0f4c092f6333f4fd5b5c1fbcb4fb
3bdd27ffdff3ffa22d4bb010eba695afcc96bc4a
/src/combinatorics/simplicial_complex/vertices.lean
fc0d5d419ebec1c5e78923f8e447a912e71e69ac
[]
no_license
mmasdeu/brouwerfixedpoint
684d712c982c6a8b258b4e2c6b2eab923f2f1289
548270f79ecf12d7e20a256806ccb9fcf57b87e2
refs/heads/main
1,690,539,793,996
1,631,801,831,000
1,631,801,831,000
368,139,809
4
3
null
1,624,453,250,000
1,621,246,034,000
Lean
UTF-8
Lean
false
false
1,282
lean
/- Copyright (c) 2021 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.simplicial_complex.exposed open_locale classical affine big_operators open set --TODO: Generalise to LCTVS variables {E ...
2f39f9f34ff99aba804884b0a047997239b7ac3d
491068d2ad28831e7dade8d6dff871c3e49d9431
/tests/lean/793a.lean
780daf69a8804974d91ff52e916845ba8502206a
[ "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
136
lean
import data.rat check 4.0 check 2.3 check 1.00 check 10.213 open rat check -0.3 check 10.213 check 2.3 check 1.0 eval (λ v, 1.0) 2
f26af3672616cdaea8e5ed428f16ca58348b8f0b
46125763b4dbf50619e8846a1371029346f4c3db
/src/linear_algebra/dimension.lean
94b08635535128ec8db8d5d351414634f3d9ae5f
[ "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
15,938
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro, Johannes Hölzl, Sander Dahmen Dimension of modules and vector spaces. -/ import linear_algebra.basis import set_theory.ordinal noncomputable theory universes u u' u'' ...
48807f3ed87ebd39c1eac962a902837be94a4bbe
853df553b1d6ca524e3f0a79aedd32dde5d27ec3
/src/algebra/ring.lean
7ae1a4db85836397cb7fbb779bb199e9379ed5cf
[ "Apache-2.0" ]
permissive
DanielFabian/mathlib
efc3a50b5dde303c59eeb6353ef4c35a345d7112
f520d07eba0c852e96fe26da71d85bf6d40fcc2a
refs/heads/master
1,668,739,922,971
1,595,201,756,000
1,595,201,756,000
279,469,476
0
0
null
1,594,696,604,000
1,594,696,604,000
null
UTF-8
Lean
false
false
38,309
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, Floris van Doorn, Amelia Livingston, Yury Kudryashov, Neil Strickland -/ import algebra.group.hom import algebra.group.units import algebra.group_with_...
4b7df60fd7d6a640752194f864fd29bfdeb30513
9cb9db9d79fad57d80ca53543dc07efb7c4f3838
/src/for_mathlib/equalizers.lean
baec1f41f6da02e4ff9a8de81a48af34f7143be8
[]
no_license
mr-infty/lean-liquid
3ff89d1f66244b434654c59bdbd6b77cb7de0109
a8db559073d2101173775ccbd85729d3a4f1ed4d
refs/heads/master
1,678,465,145,334
1,614,565,310,000
1,614,565,310,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,968
lean
import category_theory.limits.shapes.equalizers noncomputable theory namespace category_theory open category namespace limits namespace equalizer variables {C : Type*} [category C] variables {X₁ X₂ X₃ Y₁ Y₂ Y₃ : C} {f₁ g₁ : X₁ ⟶ Y₁} {f₂ g₂ : X₂ ⟶ Y₂} {f₃ g₃ : X₃ ⟶ Y₃} variables (φ : X₁ ⟶ X₂) (ψ : Y₁ ⟶ Y₂) (φ' : X₂...
f7c3717aadeeab295acecfcac6d8e8fe32a56beb
36938939954e91f23dec66a02728db08a7acfcf9
/lean/deps/galois_stdlib/src/galois/algebra/order.lean
3ada41f30964eb98bc1b160a96692119321ad506
[ "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
915
lean
variable {α:Type _} namespace galois lemma le_of_not_lt [linear_order α] {a b : α} : ¬ a < b → b ≤ a := le_of_not_gt lemma not_lt_of_le [preorder α] {a b : α} (h : a ≤ b) : ¬ b < a | hab := not_le_of_gt hab h -- Simplify not-less than (mathlib alt) @[simp] lemma not_lt [linear_order α] {a b : α} : ¬ a < b ↔ b ≤ a ...
a494c0c56694809f564dc4e1249f821db0c9d361
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/linear_algebra/free_algebra.lean
b5d5a5cd957c9fe16950b0f388cc8b53e979c3b4
[ "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
1,139
lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import linear_algebra.basis import algebra.free_algebra import linear_algebra.finsupp_vector_space /-! # Linear algebra properties of `free_algebra R X` This file provides...
32642de9e4abc599aa64de5f03ab53f37a0b4e68
367134ba5a65885e863bdc4507601606690974c1
/src/data/nat/dist.lean
d6b4046861e5101bb71dbcb6b0ff93d9e3721f6b
[ "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
4,437
lean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Jeremy Avigad Distance function on the natural numbers. -/ import data.nat.basic namespace nat /- distance -/ /-- Distance (absolute value of difference) betwee...
4eb38cebf9c7679752a1411fa686f2ab6977d69a
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/lie/tensor_product.lean
2880b7c9aba29ede1c64b3c8c4c77167bfd6ab2d
[ "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
8,899
lean
/- Copyright (c) 2021 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import algebra.lie.abelian /-! # Tensor products of Lie modules Tensor products of Lie modules carry natural Lie module structures. ## Tags lie module, tensor product, ...
591a1fd165345cf98d1de270131dfd4348e343db
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/data/vector/mem.lean
458960d34cc63f257ffe22426ba964dfefec2f95
[ "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
2,894
lean
/- Copyright (c) 2022 Devon Tuma. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Devon Tuma -/ import data.vector.basic /-! # Theorems about membership of elements in vectors This file contains theorems for membership in a `v.to_list` for a vector `v`. Having the leng...
5d79aada9b7bd27911cd5a7b4dcaf27aa73ef2c2
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/12_Axioms.org.9.lean
25b77734434ea74d98cf031ae541492251fc6f95
[]
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
221
lean
import standard import data.prod open prod prod.ops quot private definition eqv {A : Type} (p₁ p₂ : A × A) : Prop := (p₁.1 = p₂.1 ∧ p₁.2 = p₂.2) ∨ (p₁.1 = p₂.2 ∧ p₁.2 = p₂.1) infix `~` := eqv
6663b818e5452d171bc85b259ab745eb40fcc526
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/list/sort_auto.lean
85d2dc4b931e1b55cf54bfcbb7f94875b968d07d
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
9,048
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.list.perm import Mathlib.data.list.chain import Mathlib.PostPort universes u_1 uu name...
f7c55a54673a74f3b513ca0f0be1a9a2b7ab7713
618003631150032a5676f229d13a079ac875ff77
/src/linear_algebra/projection.lean
8fe301f33c399c2f3fc800486f703c2ea8119176
[ "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
9,023
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Yury Kudryashov -/ import linear_algebra.basic /-! # Projection to a subspace In this file we define * `linear_proj_of_is_compl (p q : submodule R E) (h : is_compl p q)`: the project...
f9d8bff3981d85ceaf4982b5e3d2e698fe8eecf7
88fb7558b0636ec6b181f2a548ac11ad3919f8a5
/tests/lean/run/match_expr.lean
04b8aa60f6fdeba78619696ec8a98259763a0367
[ "Apache-2.0" ]
permissive
moritayasuaki/lean
9f666c323cb6fa1f31ac597d777914aed41e3b7a
ae96ebf6ee953088c235ff7ae0e8c95066ba8001
refs/heads/master
1,611,135,440,814
1,493,852,869,000
1,493,852,869,000
90,269,903
0
0
null
1,493,906,291,000
1,493,906,291,000
null
UTF-8
Lean
false
false
407
lean
open tactic axiom Sorry : ∀ {A:Sort*}, A example (a b c : nat) (h₀ : c > 0) (h₁ : a > 1) (h₂ : b > 0) : a + b + c = 0 := by do [x, y] ← match_target_subexpr `(λ x y : nat, x + y) | failed, trace "------ subterms -------", trace x, trace y, (h, [z]) ← match_hypothesis `(λ x : nat, x > 1) | failed, trace "--- ...