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
0afdb443d40a45d1ba2d5caa07fd14cfdd18996a
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/algebra/nonarchimedean/basic.lean
8f6d94f28a25a1690ecaaccdfaf28c54b89de396
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
6,396
lean
/- Copyright (c) 2021 Ashwin Iyengar. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, Johan Commelin, Ashwin Iyengar, Patrick Massot -/ import group_theory.subgroup.basic import topology.algebra.open_subgroup import topology.algebra.ring.basic /-! # Nona...
f4f361e52e5999413f9d94e95d673a70a5a31e31
99b5e6372af1f404777312358869f95be7de84a3
/src/hott/types/nat/hott.lean
5efa9e7919581b44d3f62503b7e9425762f86b2c
[ "Apache-2.0" ]
permissive
forked-from-1kasper/hott3
8fa064ab5e8c9d6752a783d74ab226ddc5b5232a
2db24de7a361a7793b0eae4ca5c3fd4d4a0fc691
refs/heads/master
1,584,867,131,028
1,530,766,841,000
1,530,766,841,000
139,797,034
0
0
Apache-2.0
1,530,766,961,000
1,530,766,961,000
null
UTF-8
Lean
false
false
9,451
lean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn Theorems about the natural numbers specific to HoTT -/ import .order ..pointed .sub universes u v w hott_theory namespace hott open nat is_trunc hott.algebra hott.i...
0fb2e1bf95bbf496b8e835f23e820f1c481c8ae1
4727251e0cd73359b15b664c3170e5d754078599
/src/data/fintype/basic.lean
f323070c5ba65f41f4d41952c075aa9732ddbb55
[ "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
90,706
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.array.lemmas import data.finset.fin import data.finset.option import data.finset.pi import data.finset.powerset import data.finset.prod import data.finset...
ddf2919895c63f12c2bb345d056c637d86975730
7cef822f3b952965621309e88eadf618da0c8ae9
/src/algebra/char_p.lean
342390dd09494831a8e72e567f830f96ce52ed65
[ "Apache-2.0" ]
permissive
rmitta/mathlib
8d90aee30b4db2b013e01f62c33f297d7e64a43d
883d974b608845bad30ae19e27e33c285200bf84
refs/heads/master
1,585,776,832,544
1,576,874,096,000
1,576,874,096,000
153,663,165
0
2
Apache-2.0
1,544,806,490,000
1,539,884,365,000
Lean
UTF-8
Lean
false
false
8,677
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Kenny Lau, Joey van Langen, Casper Putz Characteristic of semirings. -/ import data.padics.padic_norm data.nat.choose data.fintype import data.zmod.basic algebra.module universes u v /--...
f39e81d856d881d599faf85f3cc607c396623ede
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebra/pempty_instances.lean
bacafd4d32d1e0c1d2b1f6c2b47ea1c509ba391f
[ "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
495
lean
/- Copyright (c) 2021 Julian Kuelshammer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julian Kuelshammer -/ import algebra.module.basic /-! # Instances on pempty This file collects facts about algebraic structures on the (universe-polymorphic) empty type, e.g. th...
351a51ed6547709225b1a305d54e96d400f80e1b
38193807b9085b93599c814229d2b0dacb64ba22
/benchmarks/diverge/Diverge.lean
4cc495208bd42157227d3053a5400b974a88f65f
[]
no_license
zgrannan/rest-old
d650363e403a9d5322fb44ee892b743aec558e1b
6a6974641b25259cb8701af4302169db22b33b6b
refs/heads/master
1,670,816,037,466
1,599,571,928,000
1,599,571,928,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
340
lean
open nat mutual def f,g with f : ℕ → ℕ | (succ x) := have 1 < 1, from sorry, g (succ x) | zero := zero with g : ℕ → ℕ | (succ x) := have x < succ x, from lt_succ_self x, f x | zero := zero theorem diverge (x : ℕ): f x = g (succ (succ x)) := sorry theorem proof (x : ℕ) : g x = f x := begin simp [diverge] ...
c089d7259f0778d22ce17765e67039d1b549b950
5412d79aa1dc0b521605c38bef9f0d4557b5a29d
/stage0/src/Lean/Server/Watchdog.lean
7f6c6dc125a5a7aa77a20ec3a2e9f41d72fbdfd7
[ "Apache-2.0" ]
permissive
smunix/lean4
a450ec0927dc1c74816a1bf2818bf8600c9fc9bf
3407202436c141e3243eafbecb4b8720599b970a
refs/heads/master
1,676,334,875,188
1,610,128,510,000
1,610,128,521,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
20,537
lean
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ import Init.System.IO import Init.Data.ByteArray import Std.Data.RBMap import Lean.Elab.Import import Lean.Data.Lsp import Lean.Server.FileSource ...
d4aa0491937fd72536fe87d12dbd4a74bf19e3a5
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/category_theory/yoneda.lean
be75fce2bd51d4e36863a1fbea94ca80a0c3cb46
[ "Apache-2.0" ]
permissive
agjftucker/mathlib
d634cd0d5256b6325e3c55bb7fb2403548371707
87fe50de17b00af533f72a102d0adefe4a2285e8
refs/heads/master
1,625,378,131,941
1,599,166,526,000
1,599,166,526,000
160,748,509
0
0
Apache-2.0
1,544,141,789,000
1,544,141,789,000
null
UTF-8
Lean
false
false
6,549
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.hom_functor /-! # The Yoneda embedding The Yoneda embedding as a functor `yoneda : C ⥤ (Cᵒᵖ ⥤ Type v₁)`, along with an instance that it is `f...
84e07096dcaef74643782ad5dd0aa673b124b476
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/data/setoid_auto.lean
0a66c08d040b2257c626feb40f5347c93fbf00e6
[]
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
757
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.logic universes u l namespace Mathlib class setoid (α : Sort u) where r : α → α → Prop iseqv : ...
570145eb62d5c3d00907c495cf0d8ecc9497ee7c
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/field_theory/adjoin.lean
c6f2e7dcd0a4aa0db6efc8c9f766c220dd4be540
[ "Apache-2.0" ]
permissive
AntoineChambert-Loir/mathlib
64aabb896129885f12296a799818061bc90da1ff
07be904260ab6e36a5769680b6012f03a4727134
refs/heads/master
1,693,187,631,771
1,636,719,886,000
1,636,719,886,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
33,349
lean
/- Copyright (c) 2020 Thomas Browning, Patrick Lutz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Thomas Browning, Patrick Lutz -/ import field_theory.intermediate_field import field_theory.splitting_field import field_theory.separable import ring_theory.adjoin_root...
7497f742faee55a5a6ae606b5789ea22df4724ea
94e33a31faa76775069b071adea97e86e218a8ee
/src/algebra/invertible.lean
e7bf9715b372412fc0520dd48158567c0549e680
[ "Apache-2.0" ]
permissive
urkud/mathlib
eab80095e1b9f1513bfb7f25b4fa82fa4fd02989
6379d39e6b5b279df9715f8011369a301b634e41
refs/heads/master
1,658,425,342,662
1,658,078,703,000
1,658,078,703,000
186,910,338
0
0
Apache-2.0
1,568,512,083,000
1,557,958,709,000
Lean
UTF-8
Lean
false
false
10,411
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 algebra.group.units import algebra.ring.basic /-! # Invertible elements This file defines a typeclass `invertible a` for elements `a` with a two-sided multiplicat...
538170a2f7f8849a2cf2aa3ce202d844cd973b92
947b78d97130d56365ae2ec264df196ce769371a
/src/Init/Data/String/Extra.lean
7b3de051a77c7fb3a91101faa5c5cfec8821b0bf
[ "Apache-2.0" ]
permissive
shyamalschandra/lean4
27044812be8698f0c79147615b1d5090b9f4b037
6e7a883b21eaf62831e8111b251dc9b18f40e604
refs/heads/master
1,671,417,126,371
1,601,859,995,000
1,601,860,020,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
743
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import Init.Control.Except import Init.Data.ByteArray import Init.Util namespace String def toNat! (s : String) : Nat := if s.isNat then s.foldl ...
1a78dbeefecd03d62b2127406f422ceada370ae5
5749d8999a76f3a8fddceca1f6941981e33aaa96
/src/tactic/core.lean
a871a011708e079c8e3606e1037421bf416aa836
[ "Apache-2.0" ]
permissive
jdsalchow/mathlib
13ab43ef0d0515a17e550b16d09bd14b76125276
497e692b946d93906900bb33a51fd243e7649406
refs/heads/master
1,585,819,143,348
1,580,072,892,000
1,580,072,892,000
154,287,128
0
0
Apache-2.0
1,540,281,610,000
1,540,281,609,000
null
UTF-8
Lean
false
false
56,760
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Simon Hudon, Scott Morrison, Keeley Hoek -/ import data.dlist.basic category.basic meta.expr meta.rb_map data.bool tactic.library_note namespace expr open tactic attr...
2bebd7ba1c57234f0a1b34578c898140b93849e9
737dc4b96c97368cb66b925eeea3ab633ec3d702
/stage0/src/Lean/Meta/Tactic/Intro.lean
097e64b33a5f2cbf2b8019d604f73967550ad9e0
[ "Apache-2.0" ]
permissive
Bioye97/lean4
1ace34638efd9913dc5991443777b01a08983289
bc3900cbb9adda83eed7e6affeaade7cfd07716d
refs/heads/master
1,690,589,820,211
1,631,051,000,000
1,631,067,598,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,425
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.Tactic.Util namespace Lean.Meta @[inline] private partial def introNImp {σ} (mvarId : MVarId) (n : Nat) (mkName : LocalContext → Name → B...
a19b63354bf88382df306a8ed9065a4073de78f8
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/library/data/num/ops.lean
b9b9bc09305cd21bdb597056f4134215ab735b50
[ "Apache-2.0" ]
permissive
codyroux/lean
7f8dff750722c5382bdd0a9a9275dc4bb2c58dd3
0cca265db19f7296531e339192e9b9bae4a31f8b
refs/heads/master
1,610,909,964,159
1,407,084,399,000
1,416,857,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,032
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 -----------------------------------------------------...
1f8fd4f357bacefd66d51dc24d86e41a4b69b7f8
097294e9b80f0d9893ac160b9c7219aa135b51b9
/instructor/types/option/dm_option_preliminary_test.lean
99eeb14d65eab89eaeff4a5e812e76cae32871c8
[]
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
232
lean
import .dm_option_preliminary open hidden def o1 := dm_option.none -- Hmm. Check it. #check o1 def o2 := dm_option.none bool -- Probably right def o3 := dm_option.some tt #reduce p 0 #reduce p 1 #reduce p 0 -- etc
de5d71bcf6ff267dfb9137774f517601fac72de9
94e33a31faa76775069b071adea97e86e218a8ee
/src/category_theory/limits/shapes/biproducts.lean
18cb405f2951e3b266458ec557bf6545c8dd8add
[ "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
81,721
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Jakob von Raumer -/ import algebra.group.ext import category_theory.limits.shapes.finite_products import category_theory.limits.shapes.binary_products import category_t...
1caab42605c74eb038cc1cd32eef7ca696380656
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/init/subtype.lean
6bd3b6e6b4b68bb4676a65a3207ab448091d65e9
[ "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
996
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, Jeremy Avigad -/ prelude import init.datatypes init.logic open decidable universe variables u structure subtype {A : Type u} (P : A → Prop) := tag :: (elt_of...
bd5f03e7f62d0b36d2ac7187df1c74ea456db96c
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/algebra/continued_fractions/computation/basic.lean
30fe9159a3887c62fc4243778ca32b94741788b6
[ "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
7,885
lean
/- Copyright (c) 2020 Kevin Kappelmann. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Kappelmann -/ import algebra.continued_fractions.basic import algebra.ordered_field import algebra.archimedean /-! # Computable Continued Fractions ## Summary We formalise th...
055a9a1f88ae37f4f9d69bdb2577c13a901f6ca0
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/simplifier18.lean
7ba2caaafd58047037cf88ffa44d14bb4fa17a98
[ "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
1,015
lean
-- Basic fusion import algebra.ring open algebra universe l constants (T : Type.{l}) (s : comm_ring T) constants (x1 x2 x3 x4 : T) (f g : T → T) attribute s [instance] set_option simplify.max_steps 50000 set_option simplify.fuse true open simplifier.unit simplifier.ac simplifier.neg #simplify eq env 0 x1 * x2 #simpl...
8686cf064e61e1304c8115b52fa8a5eea08124ec
b00eb947a9c4141624aa8919e94ce6dcd249ed70
/tests/lean/run/def7.lean
719bb856c3bb5f2abd52671614d4f2ecd1c348c8
[ "Apache-2.0" ]
permissive
gebner/lean4-old
a4129a041af2d4d12afb3a8d4deedabde727719b
ee51cdfaf63ee313c914d83264f91f414a0e3b6e
refs/heads/master
1,683,628,606,745
1,622,651,300,000
1,622,654,405,000
142,608,821
1
0
null
null
null
null
UTF-8
Lean
false
false
1,406
lean
inductive InfTree.{u} (α : Type u) | leaf : α → InfTree α | node : (Nat → InfTree α) → InfTree α open InfTree def szn.{u} {α : Type u} (n : Nat) : InfTree α → InfTree α → Nat | leaf a, t2 => 1 | node c, leaf b => 0 | node c, node d => szn n (c n) (d n) universes u theorem ex1 {α : Type u} (n : Nat) (c : Nat → I...
f96deffb3baf5913fbc79225f534b3272c2c9e99
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/data/fintype/sort.lean
41ce485adc587ef93fa06ca3f8dd4c02d26dd287
[ "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
858
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import data.fintype.basic import data.finset.sort variables {α : Type*} open finset /-- Given a linearly ordered fintype `α` of cardinal `k`, the equiv `mono_equiv_...
2ff365afdcc8ac2b63ba28dcc1a2550612de3fc7
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/tests/compiler/str.lean
43696454f91fd2d9735730a28d7f34fdc97c3c79
[ "Apache-2.0" ]
permissive
dupuisf/lean4
d082d13b01243e1de29ae680eefb476961221eef
6a39c65bd28eb0e28c3870188f348c8914502718
refs/heads/master
1,676,948,755,391
1,610,665,114,000
1,610,665,114,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
949
lean
#lang lean4 def showChars : Nat → String → String.Pos → IO Unit | 0, _, _ => pure () | n+1, s, idx => do unless s.atEnd idx do IO.println (">> " ++ toString (s.get idx)) *> showChars n s (s.next idx) def main : IO UInt32 := let s₁ := "hello α_world_β"; let b : String.Pos := 0; let e ...
8bed1a312a734ecb776ee95c02484020204fa7f6
7cef822f3b952965621309e88eadf618da0c8ae9
/src/tactic/omega/nat/sub_elim.lean
1e5d457f30287800cc3c8cdff829a606cdd5d8e1
[ "Apache-2.0" ]
permissive
rmitta/mathlib
8d90aee30b4db2b013e01f62c33f297d7e64a43d
883d974b608845bad30ae19e27e33c285200bf84
refs/heads/master
1,585,776,832,544
1,576,874,096,000
1,576,874,096,000
153,663,165
0
2
Apache-2.0
1,544,806,490,000
1,539,884,365,000
Lean
UTF-8
Lean
false
false
5,100
lean
/- Copyright (c) 2019 Seul Baek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Seul Baek Subtraction elimination for linear natural number arithmetic. Works by repeatedly rewriting goals of the form `P[t-s]` into `P[x] ∧ (t = s + x ∨ (t ≤ s ∧ x = 0))`, where `x` is fr...
906a2898db33805bd2d4090d9e7a8c27ccb63b0f
36938939954e91f23dec66a02728db08a7acfcf9
/lean4/deps/x86_semantics/src/X86Semantics/Instructions.lean
30c09773d53bba86b3dcbaed7c92647318209925
[]
no_license
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
35,812
lean
import X86Semantics.Common -- import system.io namespace x86 ------------------------------------------------------------------------ -- Notation open mc_semantics open mc_semantics.type open reg open semantics set_option class.instance_max_depth 1000 notation `pattern` body `pat_end` := mk_pattern body -- Introd...
e1a2a11bd64414e22d5d034cf3b2ca5531a98727
f5f7e6fae601a5fe3cac7cc3ed353ed781d62419
/src/algebra/ring.lean
cf0391be3cd840db474ab35e8a06003f4e1c8768
[ "Apache-2.0" ]
permissive
EdAyers/mathlib
9ecfb2f14bd6caad748b64c9c131befbff0fb4e0
ca5d4c1f16f9c451cf7170b10105d0051db79e1b
refs/heads/master
1,626,189,395,845
1,555,284,396,000
1,555,284,396,000
144,004,030
0
0
Apache-2.0
1,533,727,664,000
1,533,727,663,000
null
UTF-8
Lean
false
false
11,525
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 -/ import algebra.group data.set.basic universes u v variable {α : Type u} section variable [semiring α] theorem mul_two (n : α) : ...
fe3d4449a36cbc932461cdd6e8d0286dd200eed0
8c9f90127b78cbeb5bb17fd6b5db1db2ffa3cbc4
/deMorgan.lean
d964453eddd43364449f0b53cbc544e78bba078d
[]
no_license
picrin/lean
420f4d08bb3796b911d56d0938e4410e1da0e072
3d10c509c79704aa3a88ebfb24d08b30ce1137cc
refs/heads/master
1,611,166,610,726
1,536,671,438,000
1,536,671,438,000
60,029,899
0
0
null
null
null
null
UTF-8
Lean
false
false
2,342
lean
-- `variable` is an unfortunate name, conflicting -- with usual meaning of the word. -- `p` and `q` are *implicit parameters* -- passed to our functions. (All lemmas and theorems -- will be functions) variables p q : Prop -- These introduction and elimination rules -- are analogous to and.intro and and.elim, -- but t...
6dd498ae4b386920e7be85c4402802b7c2c0525f
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/measure_theory/outer_measure.lean
fae94309036592561dfc9bcbc3ae36d89dcdf3d5
[ "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
19,601
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 Outer measures -- overapproximations of measures -/ import algebra.big_operators algebra.module topology.instances.ennreal analysis.specific_lim...
76a941861a1677641b0de5ae74ae68a413c2af6e
5756a081670ba9c1d1d3fca7bd47cb4e31beae66
/Mathport/Syntax/Transform/Basic.lean
c9b9bee7b1004b9f3303630ee958452d2dba0256
[ "Apache-2.0" ]
permissive
leanprover-community/mathport
2c9bdc8292168febf59799efdc5451dbf0450d4a
13051f68064f7638970d39a8fecaede68ffbf9e1
refs/heads/master
1,693,841,364,079
1,693,813,111,000
1,693,813,111,000
379,357,010
27
10
Apache-2.0
1,691,309,132,000
1,624,384,521,000
Lean
UTF-8
Lean
false
false
1,899
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ import Mathport.Syntax.Translate.Basic namespace Mathport namespace Transform open Lean Elab Elab.Command abbrev M := CommandElabM abbrev Transformer := Syn...
905facd714da7ed9d811d6afd45a52514e4fad82
4727251e0cd73359b15b664c3170e5d754078599
/src/tactic/congr.lean
37d5efe57eaef08e284fb1620db86168412944b1
[ "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,663
lean
/- Copyright (c) 2020 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import tactic.lint import tactic.ext /-! # Congruence and related tactics This file contains the tactic `congr'`, which is an extension of `congr`, and various ...
b8e9b37398ac519c50fbc331ffc2a768688f2636
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/codeBindUnreachIssue.lean
97a709d7eb7062730854d70e35d5ba540dd9e996
[ "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
151
lean
set_option trace.Compiler.result true def f (x : Empty) (y : Nat) : Nat := let g (_ : Unit) : Nat → Nat := x.casesOn let aux := g () y + aux y
cbc276278687df9ae492d356bac9a1cb1ba81036
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/logic/relation.lean
cda84742cb0c2686e59db1f3dd692bd806907cd1
[ "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
13,257
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 Transitive reflexive as well as reflexive closure of relations. -/ import tactic.basic logic.relator variables {α : Type*} {β : Type*} {γ : Type*} {δ : Type*} namespac...
8c380f4de0a03a1104c6b728fa67dc043e36218c
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/stage0/src/Lean/Meta/Offset.lean
76dcf4321945e23bb6e6a965ce3f036e50195cbb
[ "Apache-2.0" ]
permissive
williamdemeo/lean4
72161c58fe65c3ad955d6a3050bb7d37c04c0d54
6d00fcf1d6d873e195f9220c668ef9c58e9c4a35
refs/heads/master
1,678,305,356,877
1,614,708,995,000
1,614,708,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,207
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Data.LBool import Lean.Meta.InferType namespace Lean.Meta private abbrev withInstantiatedMVars (e : Expr) (k : Expr → OptionT MetaM α) : Optio...
ed0a09ce8a96b16a6269e956c1473c841074a2bc
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/group_theory/perm/subgroup.lean
95cea04e829a4bb91626548929ae5d6547982347
[ "Apache-2.0" ]
permissive
hamdysalah1/mathlib
b915f86b2503feeae268de369f1b16932321f097
95454452f6b3569bf967d35aab8d852b1ddf8017
refs/heads/master
1,677,154,116,545
1,611,797,994,000
1,611,797,994,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,229
lean
/- Copyright (c) 2020 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import group_theory.perm.basic import data.fintype.basic import group_theory.subgroup /-! # Lemmas about subgroups within the permutations (self-equivalences) of a type `α`...
fea2264fce73f09217bce207d7ea2809b99239b0
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Data/Lsp/InitShutdown.lean
ad1eea912c96f5faefaf380b90dee041c36ebd78
[ "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
4,033
lean
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ import Lean.Data.Lsp.Capabilities import Lean.Data.Lsp.Workspace import Lean.Data.Json /-! Functionality to do with initializing and shutting down ...
7e9310fe69a7bd4f7df896970ff567905a927236
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/1686.lean
3f83c58aec579e5d8d07f29450b04d19e1da9a04
[ "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
465
lean
def f (n : ℕ) := n + n def g (n : ℕ) := 2*n example (n : ℕ) : g (n+1) = f n + 2 := begin change 2 * (n + 1) = f n + 2, unfold f, guard_target 2 * (n + 1) = n + n + 2, admit end example (n : ℕ) : g (n+1) = f n + 2 := begin change g (n + 1) with 2 * (n+1), unfold f, guard_target 2 * (n + 1) = n + n + 2, admit e...
ff15b541b5242ff200048c0831bb15241980adce
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/set/intervals/unordered_interval.lean
026c3420404422509912d76647f45dd1fb4b01fb
[ "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,905
lean
/- Copyright (c) 2020 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou -/ import order.bounds import data.set.intervals.image_preimage /-! # Intervals without endpoints ordering In any decidable linear order `α`, we define the set of elemen...
cc1236c793de4537a7c080cbae8f8a24fed417c0
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/tactic/omega/find_ees.lean
9529649b468465728b3ca498aa64667caee32cc0
[ "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,567
lean
/- Copyright (c) 2019 Seul Baek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Seul Baek -/ /- A tactic for finding a sequence of equality elimination rules for a given set of constraints. -/ import tactic.omega.eq_elim variables {α β : Type} open tactic namespac...
57fbcc78108a933d0b8a0bb444a97b312cbd996b
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/sheaves/operations.lean
c4ce3bb1979d90797bc3979365de5f8fb7f9593a
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
4,089
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 algebra.category.Ring.instances import algebra.category.Ring.filtered_colimits import ring_theory.localization.basic import topology.sheaves.stalks /-! # Operation...
094af6862ec5b45dbed4d66f2c644379d186e57b
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/finset/default.lean
18a599317abb4e21ec36cde2142af58fde2173c0
[]
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
419
lean
import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.finset.basic import Mathlib.data.finset.fold import Mathlib.data.finset.intervals import Mathlib.data.finset.lattice import Mathlib.data.finset.nat_antidiagonal import Mathlib.data.finset.pi import Mathlib.data.finset.powerset import Mathli...
1d26acd3ea7bb538f7e57e0905edbe8be7b8be65
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/tactic/omega/int/main.lean
636373b490d047ab7c10070abce29abbf03b0762
[ "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
2,553
lean
/- Copyright (c) 2019 Seul Baek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Seul Baek Main procedure for linear integer arithmetic. -/ import tactic.omega.prove_unsats import tactic.omega.int.dnf open tactic namespace omega namespace int local notation x ` =* `...
48c0e0f9a1937cf476b883fe75b15422a4b1c499
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/category/Semigroup/basic.lean
7e8666e59eda3add7cc71ce9523dabdd04a8661f
[ "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,401
lean
/- Copyright (c) 2021 Julian Kuelshammer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julian Kuelshammer -/ import algebra.pempty_instances import algebra.hom.equiv.basic import category_theory.concrete_category.bundled_hom import category_theory.functor.reflects_is...
e01d82fa4535c597fdf143c9bae6dda83b625af3
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/hott/algebra/binary.hlean
18a5525cd48a502ef6c8387382c3f0a0b416da61
[ "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
4,558
hlean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad General properties of binary operations. -/ open eq.ops function namespace binary section variable {A : Type} variables (op₁ : A → A...
f9b6aeb40cdeafade98f8a971855a4498eb666ee
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/tactic/core.lean
ce316a71ae8275fdff65cb37152cc8191e4d883e
[ "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
87,314
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Simon Hudon, Scott Morrison, Keeley Hoek -/ import data.dlist.basic import control.basic import meta.expr import meta.rb_map import data.bool import tactic.lean_core_do...
6b3aef4be53691dab21539bc51694c5346999e7e
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/topology/dense_embedding.lean
d4dad464ec20922d45a3a56cb5779fce85475849
[ "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
12,823
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Patrick Massot -/ import topology.separation import topology.bases /-! # Dense embeddings This file defines three properties of functions: * `dense_rang...
a673cebd00518d942278b2d02f81fa9e41021c73
a523fc1740c8cb84cd0fa0f4b52a760da4e32a5c
/src/missing_mathlib/data/list/basic.lean
eca902092d953fa5bb95f1bfa0972837bd311009
[]
no_license
abentkamp/spectral
a1aff51e85d30b296a81d256ced1d382345d3396
751645679ef1cb6266316349de9e492eff85484c
refs/heads/master
1,669,994,798,064
1,597,591,646,000
1,597,591,646,000
287,544,072
0
0
null
null
null
null
UTF-8
Lean
false
false
793
lean
import data.list.basic universe u theorem list.foldl_map' {α β: Type u} (g : α → β) (f : α → α → α) (f' : β → β → β) (a : α) (l : list α) (h : ∀ x y, g (f x y) = f' (g x) (g y)) : g (list.foldl f a l) = list.foldl f' (g a) (l.map g) := begin induction l generalizing a, { simp }, { simp [list.foldl_cons, l...
921cc31cbd201c95188c49e28db10d23aa057322
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/polynomial/default_auto.lean
67251d26bbe86a5963e9374a7773688d83ca0f35
[]
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
342
lean
import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.polynomial.algebra_map import Mathlib.data.polynomial.field_division import Mathlib.data.polynomial.derivative import Mathlib.data.polynomial.identities import Mathlib.data.polynomial.integral_normalization import Mathlib.PostPort namespac...
ff8e7a46aec5cfadd250f765da0c101f10b9f806
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/logic/embedding.lean
c10fa4d749acd7bcece01fad278e50fda222e388
[ "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
17,208
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 data.equiv.basic import data.fun_like.embedding import data.pprod import data.set.basic import data.sigma.basic /-! # Injective functions -/ ...
db54bc544a2cc66deb8f29f3c31ed44ec8b68394
367134ba5a65885e863bdc4507601606690974c1
/src/analysis/calculus/lagrange_multipliers.lean
3034271915398e0100946a2ce7381df5028c43dd
[ "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
6,765
lean
/- Copyright (c) 2021 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Yury Kudryashov -/ import analysis.calculus.local_extr import analysis.calculus.implicit /-! # Lagrange multipliers In this file we formalize the [Lagrange multipliers](https://en.wi...
1eb4e999e5faf8ebbf371ecedf83a046a15df0db
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/linear_algebra/matrix/determinant.lean
fa527c57a6b8cb509c8f0d722d10a51af88c9b62
[ "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
31,891
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Chris Hughes, Tim Baanen -/ import data.matrix.pequiv import data.matrix.block import data.matrix.notation import data.fintype.big_operators import group_theory.perm.fin import g...
7c509ab3ec5acba10f55bdc3c6cf04637f2d8254
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/group_theory/subgroup/pointwise.lean
0c597042b6136dcf28b86dceb659247bf1d29ca0
[ "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
8,219
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 group_theory.subgroup.basic import group_theory.submonoid.pointwise /-! # Pointwise instances on `subgroup` and `add_subgroup`s This file provides the actions * `...
43422669f2094f5ec19b0fd441318ea316822ba0
1b8f093752ba748c5ca0083afef2959aaa7dace5
/src/category_theory/adjunctions/initial.lean
1c340d253bb8b0051c6bef12cf0ce6aa005a72f4
[]
no_license
khoek/lean-category-theory
7ec4cda9cc64a5a4ffeb84712ac7d020dbbba386
63dcb598e9270a3e8b56d1769eb4f825a177cd95
refs/heads/master
1,585,251,725,759
1,539,344,445,000
1,539,344,445,000
145,281,070
0
0
null
1,534,662,376,000
1,534,662,376,000
null
UTF-8
Lean
false
false
760
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.adjunctions import category_theory.universal.comma_categories open category_theory open category_theory.comma namespace categories.adjunc...
d9cc55c72741f1f308a1d0e568096c2893ac242f
0c1546a496eccfb56620165cad015f88d56190c5
/library/init/algebra/functions.lean
36843005ce2c34efb2160353eee77becebfa8723
[ "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
17,297
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura -/ prelude import init.algebra.ordered_field universe variables u definition min {α : Type u} [decidable_linear_order α] (a b : α) : α := if a...
60033c1a1fe9c6ae8fe8ffb4809665b44628ff8d
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/arity1.lean
84f1e4be85b8913cb658301bb7ee76cef9add5c7
[ "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
410
lean
open tactic decidable definition foo (A B : Type) := A → B definition boo (c : bool) := bool.cond c nat bool definition bla (a : nat) : boo (to_bool (a > 0)) → foo nat nat := λ v x, a + x example : true := by do bla ← mk_const `bla, infer_type bla >>= trace, n ← get_arity bla, trace ("n arity: " ++ to_str...
356e22f9b846a9655296a206df909f86050fd0d6
bdb33f8b7ea65f7705fc342a178508e2722eb851
/data/encodable.lean
d5069f95784c7aa4c66468ef40bcdb6827ecfdb4
[ "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
10,050
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura, Mario Carneiro Type class for encodable Types. Note that every encodable Type is countable. -/ import data.fintype data.list data.list.perm data.list.sort ...
452c5036889d7368b9dcff7aaeea67e023f7d3d8
c7e82eae1927be05158e1a5bf2e5a9de9b3c0d4a
/non_mathlib/field_extension.lean
dcd9120cfcc3f815c739149f5c7d705600cb58c7
[]
no_license
NicholasDyson/lean-polynomials
a869743465b58cd9454443517534afeccd31f275
1f8ebc475479b997d14397df3b875a27644ce9b1
refs/heads/master
1,693,980,023,161
1,635,593,501,000
1,635,593,501,000
405,369,236
0
0
null
null
null
null
UTF-8
Lean
false
false
4,926
lean
import field inductive item_plus_sqrt (f : Type) [myfld f] (rt : f) : Type | ips : f -> f -> item_plus_sqrt open item_plus_sqrt def ips_zero (f : Type) [myfld f] (rt : f) : (item_plus_sqrt f rt) := ips myfld.zero myfld.zero def ips_add (f : Type) [myfld f] (rt : f) : (item_plus_sqrt f rt) -> (item_plus_sqrt f rt) ...
f6e4c7d6e5e4ea733499fd6d8404e334a04663ee
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/mv_polynomial/cardinal.lean
3407ce37f2a6459836355c60f492446873e9011c
[ "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
4,365
lean
/- Copyright (c) 2021 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import data.W.cardinal import data.mv_polynomial.basic /-! # Cardinality of Polynomial Ring The main result in this file is `mv_polynomial.cardinal_mk_le_max`, which say...
4e55949481595bbbc0a247169cdf71d0d856a97b
9c1ad797ec8a5eddb37d34806c543602d9a6bf70
/monoidal_categories/internal_objects/modules.lean
9def80cff2c1fb3825587f34400443ec32a80a94
[]
no_license
timjb/lean-category-theory
816eefc3a0582c22c05f4ee1c57ed04e57c0982f
12916cce261d08bb8740bc85e0175b75fb2a60f4
refs/heads/master
1,611,078,926,765
1,492,080,000,000
1,492,080,000,000
88,348,246
0
0
null
1,492,262,499,000
1,492,262,498,000
null
UTF-8
Lean
false
false
1,681
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Stephen Morgan, Scott Morrison import .semigroup_modules import .monoids open tqft.categories open tqft.categories.monoidal_category namespace tqft.categories.internal_objects ...
a5bc03c2d348c8c86316c57c7efe8844f208cc29
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/complex/re_im_topology.lean
6eec8014fa1c96cc51ce5af3bcce2ad541c167f5
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
7,726
lean
/- Copyright (c) 2022 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import analysis.complex.basic import topology.fiber_bundle.is_homeomorphic_trivial_bundle /-! # Closure, interior, and frontier of preimages under `re` and `im` I...
949e797d9ce2f5165a530988683d1edd6ab9fc82
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/algebra/star/chsh.lean
91552e315065ec8f8ff13b728b98bbe50268916b
[ "Apache-2.0" ]
permissive
ilitzroth/mathlib
ea647e67f1fdfd19a0f7bdc5504e8acec6180011
5254ef14e3465f6504306132fe3ba9cec9ffff16
refs/heads/master
1,680,086,661,182
1,617,715,647,000
1,617,715,647,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
12,232
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 algebra.star.algebra import algebra.algebra.ordered import analysis.special_functions.pow /-! # The Clauser-Horne-Shimony-Holt inequality and Tsirelson's ineq...
e484bde6fe9ce52ec6b4f4e5c8867a6298c0504b
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Lean/Compiler/IR/EmitUtil.lean
ca6d2caf6a94673ec8b0f6699a81f3617961b7a9
[ "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
3,185
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.Compiler.InitAttr import Lean.Compiler.IR.CompilerM /-! # Helper functions for backend code generators -/ namespace Lean.IR /-- Return true if...
e9984296b5a5806b3677071bac02661bd20c357f
95dcf8dea2baf2b4b0a60d438f27c35ae3dd3990
/src/algebra/pi_instances.lean
1bc89d868d90f095ef4aed684866a04006f02d03
[ "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
17,569
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Patrick Massot Pi instances for algebraic structures. -/ import order.basic import algebra.module algebra.group import data.finset import tactic.pi_instances namespace pi u...
f32393e1b3fc7370ad8864fcc5a6aef96f39e6b5
caa1512363b76923d0e9cdb716122a5c26c3c6bc
/src/mat.lean
2e27cad277aab7a2b23457cc7b049fb6e2268351
[]
no_license
apurvanakade/cvx
deb20e425ce478159a98e1ffc0d37f9c88a89280
b47784831339df5a3e45f5cddd84edc545f95808
refs/heads/master
1,687,403,288,536
1,555,930,740,000
1,555,930,740,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,832
lean
import data.matrix data.real.basic universes u v namespace matrix variables {l m n o : Type u} [fintype l] [fintype m] [fintype n] [fintype o] variables {α : Type v} -- TODO: move / generalize in matrix.lean lemma mul_zero' [ring α] (M : matrix m n α) : M.mul (0 : matrix n l α) = 0 := begin ext i j, unfold ma...
d54af522cad242e0a1ec9406d6fa68a5d62df0e2
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/limits/constructions/equalizers.lean
e311be168e3fc85fa129a6410feaaddcd3d823bb
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
9,315
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta, Andrew Yang -/ import category_theory.limits.shapes.equalizers import category_theory.limits.shapes.binary_products import category_theory.limits.shapes.pullbacks import ca...
3ee0e606d144a4d782b5d2e44dd818e49618ff5e
4bcaca5dc83d49803f72b7b5920b75b6e7d9de2d
/src/Init/Data/Float.lean
9b0d86e53b1ba900491be19d394ad1980989cf6c
[ "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
4,564
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Core import Init.Data.Int.Basic import Init.Data.ToString.Basic structure FloatSpec where float : Type val : float lt : floa...
5ebba6e1df0285a0c32348e5fa92d409a6cf9edc
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/complex/is_R_or_C.lean
3c3a368b4f371c11523c6e712ee55870f2f0b0e8
[ "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
37,133
lean
/- Copyright (c) 2020 Frédéric Dupuis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Frédéric Dupuis -/ import data.real.sqrt import field_theory.tower import analysis.normed_space.finite_dimension import analysis.normed_space.star.basic /-! # `is_R_or_C`: a typeclas...
4bb57fa330f2a5963e3fdb3517a2d415943a1fc8
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/order/bounded_lattice.lean
4a4a2a87e5b0c7ee459a8c47d7bf1d4f9a1db2f7
[ "Apache-2.0" ]
permissive
agjftucker/mathlib
d634cd0d5256b6325e3c55bb7fb2403548371707
87fe50de17b00af533f72a102d0adefe4a2285e8
refs/heads/master
1,625,378,131,941
1,599,166,526,000
1,599,166,526,000
160,748,509
0
0
Apache-2.0
1,544,141,789,000
1,544,141,789,000
null
UTF-8
Lean
false
false
40,188
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 bounded lattice type class hierarchy. Includes the Prop and fun instances. -/ import order.lattice import data.option.basic import tactic.pi_instances set_opt...
a99ae7d9cc14e709223f4d6636a814991575dae3
367134ba5a65885e863bdc4507601606690974c1
/src/category_theory/adjunction/opposites.lean
0955c01ffafe3dddd3651365c321c08d781fef45
[ "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,626
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta, Thomas Read -/ import category_theory.adjunction.basic import category_theory.yoneda import category_theory.opposites /-! # Opposite adjunctions This file contains const...
6b86ac4be4b61ce2b6917ef301a6a17cf89d7b4b
ec62863c729b7eedee77b86d974f2c529fa79d25
/15/a.lean
37c21438d1d279a917b0f4534f8e01da105ad93f
[]
no_license
rwbarton/advent-of-lean-4
2ac9b17ba708f66051e3d8cd694b0249bc433b65
417c7e2718253ba7148c0279fcb251b6fc291477
refs/heads/main
1,675,917,092,057
1,609,864,581,000
1,609,864,581,000
317,700,289
24
0
null
null
null
null
UTF-8
Lean
false
false
529
lean
def List.head [Inhabited α] : List α → α | [] => panic! "empty" | (x :: xs) => x def List.findAux [BEq α] (n : Int) (y : α) : List α -> Int | [] => 0 | (x :: xs) => if x == y then n else xs.findAux (n+1) y def solve (inlst : List Int) : Int := do let mut lst := inlst.reverse for _ in [inlst.length:2020] do ls...
1e321d9a001cae6b4f1e9ed3fbb2b9e6155fa0f0
deb45868eed82bf318edfa1465dfc25f93e4fe7d
/M1F/2017-18/Example_Sheet_01/Question_01/solution.lean
7c6d082660a0faee6878ce82346e8ee9863e7de8
[]
no_license
elma16/xena
16421db3416e73d73860a72cf24f32ae56ddb4db
5a5534aa40e8ec3e05fc85ef374dbf5d27a4a718
refs/heads/master
1,625,400,269,823
1,506,370,990,000
1,506,370,990,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,356
lean
/- M1F Sheet 1 Question 1 part (a) , solution. Author : Kevin Buzzard Preliminary version TODO (KMB) : This proof is valid for integers only -- need : to work with reals. : figure out how to use x^2 instead of x*x : figure out how to make 3 mean 3:Z automatically : remove s...
ddfad28851b657390512ed310e7d9f9aa5281df3
ba4b63fe3410ccb8e043a57aa024ac63bf06961c
/src/homeos.lean
80ab275ab430103ee5b0f0f4ea294c87dfed8f48
[]
no_license
digama0/lean-scratchpad
f30cd665037c226b63ef9933c8fa83e8770f7909
fe7d6261d60769328e091a37dff7d456c57366b7
refs/heads/master
1,583,695,343,314
1,522,993,425,000
1,522,993,425,000
128,350,243
0
0
null
1,522,993,456,000
1,522,993,456,000
null
UTF-8
Lean
false
false
3,083
lean
import analysis.topology.topological_space import analysis.topology.continuity open set function variables {α : Type*} {β : Type*} {γ : Type*} {δ : Type*} [topological_space α] [topological_space β] [topological_space γ] [topological_space δ] structure homeo (α β) [topological_space α] [topological_space β] exten...
29678fc89917c1d86f23a173bc5f81acfa8ee58a
d7189ea2ef694124821b033e533f18905b5e87ef
/galois/probabilistic.lean
fa16e28e92e5022bb413bb369a668627f57144e8
[ "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
6,993
lean
/- This module is the start for defining core concepts needed to talk about security proofs of cryptographic processes. At the moment, it is a fairly empty skeleton. I expect more will be needed. Here are a list of the main concepts that we will need: "Probability" : A function from some finite domain to rational n...
0d7b55bede173cf3b366d29699c3e862cbb729d0
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/src/Lean/Server/Requests.lean
845885afb8b3c5221f6a3b9c3bf5781ede7a1f2b
[ "Apache-2.0" ]
permissive
WojciechKarpiel/lean4
7f89706b8e3c1f942b83a2c91a3a00b05da0e65b
f6e1314fa08293dea66a329e05b6c196a0189163
refs/heads/master
1,686,633,402,214
1,625,821,189,000
1,625,821,258,000
384,640,886
0
0
Apache-2.0
1,625,903,617,000
1,625,903,026,000
null
UTF-8
Lean
false
false
6,482
lean
/- Copyright (c) 2021 Wojciech Nawrocki. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wojciech Nawrocki, Marc Huisinga -/ import Lean.DeclarationRange import Lean.Data.Json import Lean.Data.Lsp import Lean.Server.FileSource import Lean.Server.FileWorker.Utils /-!...
82ce7101658cfc54cf8d4062f380b0bc501a499e
6f5de810441f308574c75db94e700cd376fae571
/src/dpll.lean
6770292778347f2a9db74d914346f466e509ee42
[ "Apache-2.0" ]
permissive
TwoFX/lean-dpll
c64c4beed742133007a08fb054c33e8e7f03f66a
f621689295a9ed883ed9af0b8e817927311ce676
refs/heads/master
1,693,255,456,121
1,635,758,972,000
1,635,758,972,000
423,206,970
0
0
null
null
null
null
UTF-8
Lean
false
false
11,693
lean
/- Copyright (c) 2021 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel -/ import tactic cnf universes u v variables {α : Type u} [decidable_eq α] namespace list variables {β : Type v} [add_monoid β] [partial_order β] variables [contravar...
13be38ca1fd2a0e9768471bdefe88a006b88b8f5
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/doSeqRightIssue.lean
f39a9598dd2de49af0c8c37e25006f114adaa6f5
[ "Apache-2.0" ]
permissive
shyamalschandra/lean4
27044812be8698f0c79147615b1d5090b9f4b037
6e7a883b21eaf62831e8111b251dc9b18f40e604
refs/heads/master
1,671,417,126,371
1,601,859,995,000
1,601,860,020,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
275
lean
new_frontend universes u variables {α : Type u} variables {β : α → Type v} theorem ex {p₁ p₂ : Sigma (fun a => β a)} (h₁ : p₁.1 = p₂.1) (h : p₁.2 ≅ p₂.2) : p₁ = p₂ := match p₁, p₂, h₁, h with | ⟨_, _⟩, ⟨_, _⟩, rfl, HEq.refl _ => rfl
37147956b264c717910c2523e8ae4e773ef0c6e0
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/number_theory/fermat4_auto.lean
14b526ffb2b9553edc252cbc4198a49bf9525fab
[]
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
4,194
lean
/- Copyright (c) 2020 Paul van Wamelen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Paul van Wamelen. -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.number_theory.pythagorean_triples import Mathlib.ring_theory.coprime import Mathlib.Pos...
b734293347eab73fb5d380fbabd1dee3af352fb8
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/tests/lean/run/quasi_pattern_unification_approx_issue.lean
33aa4dde64c589807a67d57a1cbd254d534963fc
[ "Apache-2.0" ]
permissive
dupuisf/lean4
d082d13b01243e1de29ae680eefb476961221eef
6a39c65bd28eb0e28c3870188f348c8914502718
refs/heads/master
1,676,948,755,391
1,610,665,114,000
1,610,665,114,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
260
lean
variables {δ σ : Type} def foo0 : StateT δ (StateT σ Id) σ := getThe σ def foo1 : StateT δ (StateT σ Id) σ := monadLift (get : StateT σ Id σ) def foo2 : StateT δ (StateT σ Id) σ := do let s : σ ← monadLift (get : StateT σ Id σ) pure s
dfe4ecf82bb08fcbccf98868b80a4f3774c2cec9
82e44445c70db0f03e30d7be725775f122d72f3e
/src/probability_theory/independence.lean
d75aba76b3fa6e448b8d62c10a48a5bac23461ba
[ "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
17,218
lean
/- Copyright (c) 2021 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne -/ import measure_theory.measure_space import measure_theory.pi_system import algebra.big_operators.intervals import data.finset.intervals /-! # Independence of sets of set...
05b8a6e0aa5d35359455ba7825f660472839e7d5
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/algebra/module/multilinear.lean
ef1fead7e6fc31cec231e480aa867d2500e0af43
[ "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
23,805
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 topology.algebra.module.basic import linear_algebra.multilinear.basic /-! # Continuous multilinear maps > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > An...
b4b74bf55f6c71756465ae23d0e5aba70f27e098
63abd62053d479eae5abf4951554e1064a4c45b4
/src/algebra/module/submodule.lean
ca3b6a4ec72ca3d04ad17f91f813f378d12e3353
[ "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,942
lean
/- Copyright (c) 2015 Nathaniel Thomas. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nathaniel Thomas, Jeremy Avigad, Johannes Hölzl, Mario Carneiro -/ import algebra.module.linear_map /-! # Submodules of a module In this file we define * `submodule R M` : a subse...
967bf4b036d07eeedb47f9097d7c0e33cc8adce6
43390109ab88557e6090f3245c47479c123ee500
/src/finite_dimensional_vector_spaces/linear_map.lean
5ebce05d2ef79a4c0b9dcd41e09cd6c1b8067cba
[ "Apache-2.0" ]
permissive
Ja1941/xena-UROP-2018
41f0956519f94d56b8bf6834a8d39473f4923200
b111fb87f343cf79eca3b886f99ee15c1dd9884b
refs/heads/master
1,662,355,955,139
1,590,577,325,000
1,590,577,325,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
17,946
lean
/- Copyright (c) 2018 Keji Neri, Blair Shi. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Keji Neri, Blair Shi * `finite_free_module R n`: the set of maps from (fin n) to R (R ^ n) -- Proved R^n is an abellian group and module R (R ^ n) * `matrix_to_linear_map` : c...
012bee75135792b78b907253bd49ad095db56a01
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/data/real/basic.lean
ab7d4944d915492a88f09935d4d51b1e742adbf3
[ "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
25,710
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Floris van Doorn The (classical) real numbers ℝ. This is a direct construction from Cauchy sequences. -/ import order.conditionally_complete_lattice data.real.cau_seq_...
01f7a21c8ba377f7e50ceadb5286cd379abce4dd
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/src/Lean/Elab/Command.lean
c5847e00c6470b4c8d18cfe3f38078cf5d559828
[ "Apache-2.0" ]
permissive
WojciechKarpiel/lean4
7f89706b8e3c1f942b83a2c91a3a00b05da0e65b
f6e1314fa08293dea66a329e05b6c196a0189163
refs/heads/master
1,686,633,402,214
1,625,821,189,000
1,625,821,258,000
384,640,886
0
0
Apache-2.0
1,625,903,617,000
1,625,903,026,000
null
UTF-8
Lean
false
false
18,034
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...
93801fa3c999c75cf3a618702be603f13a0f9e5d
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/linear_algebra/direct_sum/tensor_product.lean
feeddfb145064c81d756373ab6011c08ab333c0e
[ "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,420
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro -/ import linear_algebra.tensor_product import linear_algebra.direct_sum_module /-! # Tensor products of direct sums This file shows that taking `tensor_product...
a9325101265fe893ad0896b25b9652b2d534bad9
0707842a58b971bc2c537fdcab2f5cef1c12d77a
/lean4/propositional_logic/avigad.lean
ce9dbc5b6f0536f6da9bb97005f606e1d2d9ab0e
[]
no_license
adolfont/LearningProgramming
7a41e5dfde8df72fc0b4a23592999ecdb22a26e0
866e6654d347287bd0c63aa31d18705174f00324
refs/heads/master
1,652,902,832,503
1,651,315,660,000
1,651,315,660,000
1,328,601
2
0
null
null
null
null
UTF-8
Lean
false
false
1,337
lean
variable (p q r s : Prop) #check True #check False #check p ∧ q #check p ∨ q #check p → q #check p ↔ q #check ¬ p theorem foo : p → q → p ∧ q := fun hp hq => And.intro hp hq theorem bar : p ∧ q → q ∧ p := fun ⟨hp, hq⟩ => ⟨hq, hp⟩ example : p → p := by intro h apply h theorem two_plus_two_is_four : 2 + 2 = ...
22fe2b422d0d23363540b160bc143e154cc7082b
6950a6e5cebf75da9b91f42789baf52514655111
/import_export.lean
e6746654e9f34e3fbdf7750c0954907d7268d072
[]
no_license
phlippe/Lean_hammer
a6d0a1af09fbce0c58b801032099b9b91d49ecf0
2116279b9c6b334f5b661e4abf4561368cca2391
refs/heads/master
1,587,486,769,513
1,561,466,931,000
1,561,466,931,000
169,705,506
0
1
null
1,550,228,564,000
1,549,614,939,000
Lean
UTF-8
Lean
false
false
673
lean
import system.io import .tptp.translation_tptp import .problem_translation --################### --## IMPORT/EXPORT ## --################### -- -> Started but currently stopped. Will be continued after other points are done open io open io.fs meta def export_format (f : format) : io unit := put_str f.to_string /- ru...
ad634e3a482a864406ff7e47a4ea8dd6fcf6fb6d
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/data/sum.lean
b0592a01443befdb1af0d4227e1846bb265ed17b
[ "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
3,355
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro More theorems about the sum type. -/ universes u v variables {α : Type u} {β : Type v} open sum attribute [derive decidable_eq] sum @[simp] theorem sum.forall {p : α...
baea68c5074c113f74b1b28fe5a97e40023e7fce
30b012bb72d640ec30c8fdd4c45fdfa67beb012c
/data/pfun.lean
f0ffbde2d67f91828b86fe93c634f94449ea7d6c
[ "Apache-2.0" ]
permissive
kckennylau/mathlib
21fb810b701b10d6606d9002a4004f7672262e83
47b3477e20ffb5a06588dd3abb01fe0fe3205646
refs/heads/master
1,634,976,409,281
1,542,042,832,000
1,542,319,733,000
109,560,458
0
0
Apache-2.0
1,542,369,208,000
1,509,867,494,000
Lean
UTF-8
Lean
false
false
15,761
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import data.set.basic data.option data.equiv.basic /-- `roption α` is the type of "partial values" of type `α`. It is similar to `option α` except the domain condit...
b100d4c4a22562a349b564421cabbaa7db400c08
5883d9218e6f144e20eee6ca1dab8529fa1a97c0
/src/exp/subst/apply.lean
32086cb02d2474c08469597b7de6b3048cc3fcfd
[]
no_license
spl/alpha-conversion-is-easy
0d035bc570e52a6345d4890e4d0c9e3f9b8126c1
ed937fe85d8495daffd9412a5524c77b9fcda094
refs/heads/master
1,607,649,280,020
1,517,380,240,000
1,517,380,240,000
52,174,747
4
0
null
1,456,052,226,000
1,456,001,163,000
Lean
UTF-8
Lean
false
false
1,008
lean
/- This files defines `subst.apply`. -/ import .update namespace acie ----------------------------------------------------------------- namespace exp ------------------------------------------------------------------ namespace subst ---------------------------------------------------------------- variables {V : Ty...
2c42e88997f305acf69bf2ea9a974e013f81f81f
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/algebra/smul_with_zero.lean
12bdc651432af69eca0c8bf8958240e5529491d7
[ "Apache-2.0" ]
permissive
ilitzroth/mathlib
ea647e67f1fdfd19a0f7bdc5504e8acec6180011
5254ef14e3465f6504306132fe3ba9cec9ffff16
refs/heads/master
1,680,086,661,182
1,617,715,647,000
1,617,715,647,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,082
lean
/- Copyright (c) 2021 Damiano Testa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Damiano Testa -/ import group_theory.group_action.defs /-! # Introduce `smul_with_zero` In analogy with the usual monoid action on a Type `M`, we introduce an action of a `monoid_with_...
ebc4f4d3c6870914999e2a46ec2238c4d3268761
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/real/basic.lean
c93711b5e8169a4959351e7cccabbd1a86c16fdb
[ "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,444
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Floris van Doorn -/ import algebra.module.basic import algebra.bounds import algebra.order.archimedean import algebra.star.basic import data.real.cau_seq_completion imp...
60fd953a358d04afd9b909009775bd4664883e61
bb31430994044506fa42fd667e2d556327e18dfe
/src/analysis/normed_space/affine_isometry.lean
34389bb722cb67034cdec9f91f0e936495e80e38
[ "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
24,601
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 analysis.normed_space.linear_isometry import analysis.normed.group.add_torsor import analysis.normed_space.basic import linear_algebra.affine_space.restrict ...
b81399e9b3c74bfeece78f7f4e05daa954534fa7
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/ring/ulift_auto.lean
b548f18219cb3a6ce585222c68c1473f31ac583c
[]
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,841
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.algebra.group.ulift import Mathlib.data.equiv.ring import Mathlib.PostPort universes u u_1...
99570c91894ad4d7aec010ba3b16f719143d75cf
b7f22e51856f4989b970961f794f1c435f9b8f78
/hott/algebra/group_theory.hlean
0d8447579a6dd75242a83110830a402187ef4f63
[ "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
13,416
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 Basic group theory This file will be rewritten in the future, when we develop are more systematic notation for describing homomorphisms -/ import algebra.category...
59899737963efe4c24cae60c1f48fe37e9875ab3
b815abf92ce063fe0d1fabf5b42da483552aa3e8
/library/data/tuple.lean
4ef6b354a2111e5940cb43382b53e3e7a179bbf9
[ "Apache-2.0" ]
permissive
yodalee/lean
a368d842df12c63e9f79414ed7bbee805b9001ef
317989bf9ef6ae1dec7488c2363dbfcdc16e0756
refs/heads/master
1,610,551,176,860
1,481,430,138,000
1,481,646,441,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,278
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura Tuples are lists of a fixed size. It is implemented as a subtype. -/ import data.list def tuple (α : Type) (n : ℕ) := {l : list α // list.length l = n} names...
fd1dc19590c919fbdbfef74fae5bc3d2616aa530
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/group_theory/sylow.lean
496bf7ceee6e2858d76c245e39f15309d3d6b0c9
[ "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
19,405
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Thomas Browning -/ import group_theory.group_action.conj_act import group_theory.p_group /-! # Sylow theorems The Sylow theorems are the following results for every fini...
3892f0f40af43c9e8dd3dad60ec806cba89a2ab0
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/order/omega_complete_partial_order.lean
dd70b69a64d110f25712504bf19345b2eb69c2f1
[ "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
30,370
lean
/- Copyright (c) 2020 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import data.pfun import order.preorder_hom import tactic.wlog import tactic.monotonicity /-! # Omega Complete Partial Orders An omega-complete partial order is a partial ...
7d8581e17809146ad58122e78343c1be5369e832
3dd1b66af77106badae6edb1c4dea91a146ead30
/tests/lean/run/tactic14.lean
4a5f67b638f33b8779839b66b2773d319553f113
[ "Apache-2.0" ]
permissive
silky/lean
79c20c15c93feef47bb659a2cc139b26f3614642
df8b88dca2f8da1a422cb618cd476ef5be730546
refs/heads/master
1,610,737,587,697
1,406,574,534,000
1,406,574,534,000
22,362,176
1
0
null
null
null
null
UTF-8
Lean
false
false
369
lean
import standard using tactic definition basic_tac : tactic := repeat [apply @and_intro | assumption] set_proof_qed 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 := proof assume Ha, or_elim H (assume Hna, absurd H...
0e2795c6f74e08c3979d2e890cb4f9272a86e597
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/field_theory/finite/basic.lean
a760a4c7e3c267b9d74ded895db2df64ac4a0e89
[ "Apache-2.0" ]
permissive
ilitzroth/mathlib
ea647e67f1fdfd19a0f7bdc5504e8acec6180011
5254ef14e3465f6504306132fe3ba9cec9ffff16
refs/heads/master
1,680,086,661,182
1,617,715,647,000
1,617,715,647,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
12,485
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Joey van Langen, Casper Putz -/ import tactic.apply_fun import data.equiv.ring import data.zmod.basic import linear_algebra.basis import ring_theory.integral_domain import ...
e2c055971c8bb144e2082233b47ab48c470e64a2
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/tests/lean/run/newfrontend1.lean
a07f7bef3c5ad0a83a171649d8d572165db54e13
[ "Apache-2.0" ]
permissive
williamdemeo/lean4
72161c58fe65c3ad955d6a3050bb7d37c04c0d54
6d00fcf1d6d873e195f9220c668ef9c58e9c4a35
refs/heads/master
1,678,305,356,877
1,614,708,995,000
1,614,708,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,776
lean
def x := 1 #check x variable {α : Type} def f (a : α) : α := a def tst (xs : List Nat) : Nat := xs.foldl (init := 10) (· + ·) #check tst [1, 2, 3] #check fun x y : Nat => x + y #check tst #check (fun stx => if True then let e := stx; Pure.pure e else Pure.pure stx : Nat → Id Nat) #check let x : Nat := 1; x de...