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
2435597d9e53d00397bd79e9a3f4dbfee4642c1f
95dcf8dea2baf2b4b0a60d438f27c35ae3dd3990
/src/topology/instances/nnreal.lean
9ea710aa3e6b6baef9aa93e5ce22fae543b045e0
[ "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
3,976
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin Nonnegative real numbers. -/ import data.real.nnreal topology.instances.real topology.algebra.infinite_sum noncomputable theory open set topological_space metric names...
5803a13bcbf792870c510d514a7a6e5a20f00ca0
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/tests/lean/extra/num_norm1.lean
422a19632ee38e07b18499e92771baa10a3e4591
[ "Apache-2.0" ]
permissive
YHVHvx/lean
732bf0fb7a298cd7fe0f15d82f8e248c11db49e9
038369533e0136dd395dc252084d3c1853accbf2
refs/heads/master
1,610,701,080,210
1,449,128,595,000
1,449,128,595,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,640
lean
import algebra.numeral data.real open algebra real /- variable {A : Type} variable [s : linear_ordered_field A] include s-/ notation `A` := real example : (-1 :A) * 1 = -1 := by norm_num example : (-2 :A) * 1 = -2 := by norm_num example : (-2 :A) * -1 = 2 := by norm_num example : (-2 :A) * -2 = 4 := by norm_num exam...
8143c39258fd1e87f6f7058e05036cef32c6c4fa
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/stage0/src/Init/Control/Basic.lean
b242bbd8dfd402c909c11dcd9e3f79d183ee79d7
[ "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
3,628
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, Sebastian Ullrich -/ prelude import Init.Core universes u v w @[reducible] def Functor.mapRev {f : Type u → Type v} [Functor f] {α β : Type u} : f α → (α → β...
1ab7281cdda2bc110bc574d244619cd599d41d45
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/data/equiv/list.lean
e70148bb51d68c2f5c85b5b1ded8279b3e7c3a23
[ "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
10,322
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Additional equiv and encodable instances for lists, finsets, and fintypes. -/ import data.equiv.denumerable import data.finset.sort open nat list namespace encodable v...
b6c8f48843581e287ac4c32f859ec092b1091fc4
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/measure_theory/constructions/borel_space.lean
af3d4e86e00fc18a01139f719687165bc80ac03b
[ "Apache-2.0" ]
permissive
dexmagic/mathlib
ff48eefc56e2412429b31d4fddd41a976eb287ce
7a5d15a955a92a90e1d398b2281916b9c41270b2
refs/heads/master
1,693,481,322,046
1,633,360,193,000
1,633,360,193,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
68,520
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Yury Kudryashov -/ import measure_theory.function.ae_measurable_sequence import analysis.complex.basic import analysis.normed_space.finite_dimension import topology.G_d...
b850ab57552566cc4e5b348df91ee70b1808f5c7
02fbe05a45fda5abde7583464416db4366eedfbf
/library/init/data/int/basic.lean
c43c37a4b8bf36a99a778541541ba3206b63cd07
[ "Apache-2.0" ]
permissive
jasonrute/lean
cc12807e11f9ac6b01b8951a8bfb9c2eb35a0154
4be962c167ca442a0ec5e84472d7ff9f5302788f
refs/heads/master
1,672,036,664,637
1,601,642,826,000
1,601,642,826,000
260,777,966
0
0
Apache-2.0
1,588,454,819,000
1,588,454,818,000
null
UTF-8
Lean
false
false
23,225
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad The integers, with addition, multiplication, and subtraction. -/ prelude import init.data.nat.lemmas init.data.nat.gcd open nat /- the type, coercions, and notation -/ ...
f1c4c6006bc1521ffc3bc1daba6df3c08c67a7ae
e09201d437062e1f95e6e5360aab0c9f947901aa
/src/regular/dfa_to_regex.lean
8da075a5837c9a4b3a984243e6599a4c36ce971c
[]
no_license
VArtem/lean-regular-languages
34f4b093f28ef2f09ba7e684e642a0f97c901560
e877243188253d0ac17ccf0ae2da7bf608686ff0
refs/heads/master
1,683,590,111,306
1,622,307,234,000
1,622,307,234,000
284,232,653
7
0
null
null
null
null
UTF-8
Lean
false
false
10,993
lean
import tactic import languages.basic import languages.star import regular.regex import automata.dfa import data.set.basic import data.finset.basic import data.finset.fold import data.finset.lattice import data.finset.order import data.fintype.basic import data.set.finite open languages regex DFA finset list namespace...
3cc28f31d27781412bc70f40756fe6f809caee26
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/library/data/int/basic.lean
af13ee87e72df49c1eb2db0ee206a874684851b9
[ "Apache-2.0" ]
permissive
YHVHvx/lean
732bf0fb7a298cd7fe0f15d82f8e248c11db49e9
038369533e0136dd395dc252084d3c1853accbf2
refs/heads/master
1,610,701,080,210
1,449,128,595,000
1,449,128,595,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
25,796
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 The integers, with addition, multiplication, and subtraction. The representation of the integers is chosen to compute efficiently. To faciliate prov...
3127c483cd4a3a1b02d6bec670e945134e663e60
6dacdff2020860f2468bb8dacf344e6b043d6a78
/love/src/demo_gptf.lean
0ed4569bd186a3dd18119257217ae2bad74713ae
[]
no_license
alexjbest/talks
514ca57af312a14cf68c30efa1c7228294edc190
84976b4329ea768c754da72cc15d5ce29332466d
refs/heads/master
1,686,993,465,308
1,686,315,975,000
1,686,315,975,000
16,347,963
2
0
null
null
null
null
UTF-8
Lean
false
false
170
lean
import tactic.gptf lemma my_lemma {α} (a : α) : a = a := begin gptf {n := 32, temp := 1.0} -- this will query the server and return a set of 'try this' commands. end
e4fb05a77039ce611e2bbb60825454d0732da14b
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/hom/non_unital_alg.lean
1c82398d8a8a311bc86b4fa8d15ea83b46cef35a
[ "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
10,063
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.algebra.basic /-! # Morphisms of non-unital algebras This file defines morphisms between two types, each of which carries: * an addition, * an additive z...
2c3c837ea47d0a652ec11d57d02bfe242ce038d4
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/box_integral/divergence_theorem.lean
c23bc769cc82e49edaf90368db54b1f6d907f78e
[ "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
16,446
lean
/- Copyright (c) 2021 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import analysis.box_integral.basic import analysis.box_integral.partition.additive import analysis.calculus.fderiv /-! # Divergence integral for Henstock-Kurzweil ...
8ce26f5082743bbeb8647e5cb2971106401e26b1
e514e8b939af519a1d5e9b30a850769d058df4e9
/src/tactic/rewrite_search/discovery/collect.lean
2579c8ddf9bb94b9fa978b82b82b5bb4bbfedebc
[]
no_license
semorrison/lean-rewrite-search
dca317c5a52e170fb6ffc87c5ab767afb5e3e51a
e804b8f2753366b8957be839908230ee73f9e89f
refs/heads/master
1,624,051,754,485
1,614,160,817,000
1,614,160,817,000
162,660,605
0
1
null
null
null
null
UTF-8
Lean
false
false
2,028
lean
import tactic.rewrite_search.core.common import .types import .screening import .bundle import .suggest import .collector import .common open tactic universe u namespace tactic.rewrite_search.discovery open tactic.rewrite_search -- TODO trace only when we have success. -- TODO add configurable "persistence" meta...
f870a8fc6331f8695925fae6b6d14c16581c0c07
367134ba5a65885e863bdc4507601606690974c1
/src/logic/function/iterate.lean
ee3614fd7429ca8a299bd9f7b7ee24410d35d652
[ "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
5,300
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 logic.function.conjugate /-! # Iterations of a function In this file we prove simple properties of `nat.iterate f n` a.k.a. `f^[n]`: * `iterate_zero`, `ite...
caf31e23a2a86c9f795afd2098fd30777432a88d
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/uniform_space/uniform_convergence_auto.lean
fba60a3f7162991cb85229cb705d1ace4ee7d12b
[]
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
20,122
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.uniform_space.basic import Mathlib.PostPort universes u v u_1 w namespace...
c367ff9c55d042875deb7cbc7b825f56f2537b6d
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/331.lean
c3d13b8e99f6ff3cfc1d39939f89ae77beecc0fe
[ "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
171
lean
structure Foo where foo : Nat def baz {x : _} := Foo.mk x -- works fine example {x : _} := Foo.mk x def qux {x : _} : Foo := Foo.mk x example {x : _} : Foo := Foo.mk x
78352e149ba1c371099c677455dc9493e763e73b
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/analysis/topology_auto.lean
a79f4636b0c3dd5f5d8e342efaf32a20588d29c1
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
8,425
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro Computational realization of topological spaces (experimental). -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.bases import Math...
d5fd0611ff5cf10f55ac4d70903026a2c9772bfd
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/tactic/doc_commands.lean
3fd0389491b8af41f1099ac98e0fe27a40400cd9
[ "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
17,320
lean
/- Copyright (c) 2020 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis -/ import tactic.fix_reflect_string /-! # Documentation commands We generate html documentation from mathlib. It is convenient to collect lists of tactics, commands,...
e12678ec9d139d75b074201d257128f541d9be1a
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/multiset/dedup.lean
2373d990007364b8669839e04aae79ca4a179d8c
[ "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
3,328
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.multiset.nodup /-! # Erasing duplicates in a multiset. -/ namespace multiset open list variables {α β : Type*} [decidable_eq α] /-! ### dedup -/ /-- ...
09026c65406a1feeaf90342c73aa144b4ab45ccd
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/linear_algebra/basis.lean
be833c1cec027bdf31d2a7a3bf8d3acb993ec72c
[ "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
56,537
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, Alexander Bentkamp -/ import linear_algebra.finsupp import linear_algebra.projection import order.zorn import data.fintype.card import data.finset.order...
56cec46abe46b16b8bef17e6791eb4adfc8ab0cc
d1a52c3f208fa42c41df8278c3d280f075eb020c
/src/Lean/Parser/Extra.lean
d0dd0a35abec92e34ed74476d1ecd9de8113af2c
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
cipher1024/lean4
6e1f98bb58e7a92b28f5364eb38a14c8d0aae393
69114d3b50806264ef35b57394391c3e738a9822
refs/heads/master
1,642,227,983,603
1,642,011,696,000
1,642,011,696,000
228,607,691
0
0
Apache-2.0
1,576,584,269,000
1,576,584,268,000
null
UTF-8
Lean
false
false
7,398
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ import Lean.Parser.Extension -- necessary for auto-generation import Lean.PrettyPrinter.Parenthesizer import Lean.PrettyPrinter.Formatter...
8de7304966d4823620419bf58bd165964acf74a1
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/int/cast/defs.lean
5dedeb0a57e154f1fa9ab16e8a51db256588436d
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
5,102
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Gabriel Ebner -/ import data.nat.cast.defs /-! # Cast of integers This file defines the *canonical* homomorphism from the integers into an additive group with a one (...
7f4e1f05349ca6bc22490e14e2b9305166dfa360
41ebf3cb010344adfa84907b3304db00e02db0a6
/uexp/src/uexp/rules/aggregateProjectMerge.lean
f2b442155e11d8e07c813ddc2bc6a84aa6370bfb
[ "BSD-2-Clause" ]
permissive
ReinierKoops/Cosette
e061b2ba58b26f4eddf4cd052dcf7abd16dfe8fb
eb8dadd06ee05fe7b6b99de431dd7c4faef5cb29
refs/heads/master
1,686,483,953,198
1,624,293,498,000
1,624,293,498,000
378,997,885
0
0
BSD-2-Clause
1,624,293,485,000
1,624,293,484,000
null
UTF-8
Lean
false
false
1,616
lean
import ..extra_constants import ..sql import ..u_semiring import ..tactics import ..meta.cosette_tactics open SQL open Proj open Pred open Expr theorem rule : forall (Γ scm_emp : Schema) (rel_emp : relation scm_emp) (emp_empno : Column datatypes.int scm_emp) (emp_ename : Column da...
6c6e91f1e35caf60b23f70b197c61e800808f1c7
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/real/ereal.lean
3d989b14c8591959547febb0a9f85ca173ee770e
[ "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
19,202
lean
/- Copyright (c) 2019 Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard -/ import data.real.basic import data.real.ennreal /-! # The extended reals [-∞, ∞]. This file defines `ereal`, the real numbers together with a top and bottom element, ...
c5bd057fd6e7d845f06cd05e298ac0d4358e0880
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/category/Group/adjunctions.lean
2167941a3068acc09a941daf0e077f8be1ab4a70
[ "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
4,033
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Johannes Hölzl -/ import algebra.category.Group.basic import group_theory.free_abelian_group /-! # Adjunctions regarding the category of (abelian) groups This file co...
df4603a8025fa537558bc17e6c94f5ce3ada1b1d
80746c6dba6a866de5431094bf9f8f841b043d77
/src/category/applicative.lean
ce1af4d2be1408bd945e55105adf6db79135dda3
[ "Apache-2.0" ]
permissive
leanprover-fork/mathlib-backup
8b5c95c535b148fca858f7e8db75a76252e32987
0eb9db6a1a8a605f0cf9e33873d0450f9f0ae9b0
refs/heads/master
1,585,156,056,139
1,548,864,430,000
1,548,864,438,000
143,964,213
0
0
Apache-2.0
1,550,795,966,000
1,533,705,322,000
Lean
UTF-8
Lean
false
false
5,887
lean
/- Copyright (c) 2017 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon Instances for identity and composition functors -/ import category.functor universe variables u v w section lemmas open function variables {F : Type u → Type v} variables...
0719c83d5c793728cf2b70f7227c4e968bf7ebb7
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/lake/Lake/Config/Package.lean
5e1a59d729bdd9fea83097d12e191eb86251aa45
[ "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
12,895
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner, Sebastian Ullrich, Mac Malone -/ import Lake.Config.Opaque import Lake.Config.LeanLibConfig import Lake.Config.LeanExeConfig import Lake.Config.ExternLibConfig im...
7dc8312858f5aa32967683954b9dcb6d80830104
367134ba5a65885e863bdc4507601606690974c1
/src/category_theory/adjunction/limits.lean
ee665e749cb8457219a17e24746c4631b3715e60
[ "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
11,027
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Johan Commelin -/ import category_theory.adjunction.basic import category_theory.limits.creates open opposite namespace category_theory.adjunction open category_theory open...
5f75729e8d7a9341c6532a56cef40738f89491d0
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/stage0/src/Lean/Elab/Notation.lean
113f2d0c55978534d47645a53851abffbc893b85
[ "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
6,909
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Elab.Syntax import Lean.Elab.AuxDef import Lean.Elab.BuiltinNotation namespace Lean.Elab.Command open Lean.Syntax open Lean.Parser.Term hiding ...
a04b965317c2ff4ad805ceb199938728d0844e23
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/topology/algebra/localization.lean
00b65f616e8dbd23124c2a0c2eda033e15598320
[ "Apache-2.0" ]
permissive
hikari0108/mathlib
b7ea2b7350497ab1a0b87a09d093ecc025a50dfa
a9e7d333b0cfd45f13a20f7b96b7d52e19fa2901
refs/heads/master
1,690,483,608,260
1,631,541,580,000
1,631,541,580,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,287
lean
/- Copyright (c) 2021 María Inés de Frutos-Fernández. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: María Inés de Frutos-Fernández Localization of topological rings. -/ import topology.algebra.ring import ring_theory.localization /-! # Localization of topological r...
c92f71da7e14d9d5b6519bdd8ff4c4cdf49db5a2
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/linear_algebra/matrix/charpoly/coeff.lean
f92caae53968159d01e2eeb814cda6a5a776e2ba
[ "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
8,806
lean
/- Copyright (c) 2020 Aaron Anderson, Jalex Stark. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson, Jalex Stark -/ import data.polynomial.expand import linear_algebra.matrix.charpoly.basic /-! # Characteristic polynomials We give methods for computing ...
2c108a1c91b9dd36eb8c551694687ac2396d2d3b
82e44445c70db0f03e30d7be725775f122d72f3e
/src/combinatorics/colex.lean
837914171e729bb3ab159752526102a63ef755d0
[ "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
15,029
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta, Alena Gusakov -/ import data.finset import data.fintype.basic import algebra.geom_sum /-! # Colex We define the colex ordering for finite sets, and give a couple of impor...
55619d581e1df0063ce80019001196583301b24b
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/import_middle.lean
2e04148c1af059b8894196f0ac0b5ff0867e1c92
[ "Apache-2.0" ]
permissive
bre7k30/lean
de893411bcfa7b3c5572e61b9e1c52951b310aa4
5a924699d076dab1bd5af23a8f910b433e598d7a
refs/heads/master
1,610,900,145,817
1,488,006,845,000
1,488,006,845,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
50
lean
import data.set print "hello" import data.tuple
12a90f31a18c27439bd7b3888fc5c185a1431bf1
6b10c15e653d49d146378acda9f3692e9b5b1950
/examples/logic/unnamed_269.lean
7becfddb2ea9cc60d8ccab7666ef6c7627bcf691
[]
no_license
gebner/mathematics_in_lean
3cf7f18767208ea6c3307ec3a67c7ac266d8514d
6d1462bba46d66a9b948fc1aef2714fd265cde0b
refs/heads/master
1,655,301,945,565
1,588,697,505,000
1,588,697,505,000
261,523,603
0
0
null
1,588,695,611,000
1,588,695,610,000
null
UTF-8
Lean
false
false
125
lean
variables A B : Prop -- BEGIN example : A ∧ B → B ∧ A := begin intro h, split, apply h.2, apply h.1 end -- END
ef9b16a31e9e5006d3e9d3d3a09bb696abf95b5b
5756a081670ba9c1d1d3fca7bd47cb4e31beae66
/Mathport/Util/Json.lean
996bc2be066a64ec6719a9ba0fdf546d45b97523
[ "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,387
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Daniel Selsam -/ import Lean import Mathport.Util.String open Lean Lean.Json open System (FilePath) instance : FromJson FilePath where fromJson? json := do ...
49e94e8e424c5ba6433db8cb9457accc8e413a9a
92b50235facfbc08dfe7f334827d47281471333b
/tests/lean/run/tactic28.lean
0f1e51c7f1063e7e78146ca7c1aab728f98adf5b
[ "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
921
lean
import logic data.num open tactic inhabited namespace foo inductive sum (A : Type) (B : Type) : Type := | inl : A → sum A B | inr : B → sum A B theorem inl_inhabited {A : Type} (B : Type) (H : inhabited A) : inhabited (sum A B) := inhabited.destruct H (λ a, inhabited.mk (sum.inl B a)) theorem inr_inhabited (A : Ty...
d8e77c5144739971a76266b9e4af935f733b1b8d
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/tactic/tauto.lean
7bd627e1dec77278a0c7214ff3aa36596cf97be3
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
11,648
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.hint namespace tactic open expr open tactic.interactive ( casesm constructor_matching ) /-- find all assumptions of the shape `¬ (p ∧ q)` or `¬ (p ∨ q)` ...
12e1fbe4f59b187722e0f2da47e809a30e27fbfd
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/category_theory/sums/associator.lean
e0c088666cba479d5dbdba685599372a6de3ea80
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
3,203
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 category_theory.sums.basic /-# The associator functor `((C ⊕ D) ⊕ E) ⥤ (C ⊕ (D ⊕ E))` and its inverse form an equivalence. -/ universes v u open category_th...
53adfe30b40baa7f99eb52ace5f990fac12c97f9
94637389e03c919023691dcd05bd4411b1034aa5
/src/inClassNotes/propositions/predicates_equality.lean
b179d78cc16aad44025cde75a3fd9953dcdfb1d9
[]
no_license
kevinsullivan/complogic-s21
7c4eef2105abad899e46502270d9829d913e8afc
99039501b770248c8ceb39890be5dfe129dc1082
refs/heads/master
1,682,985,669,944
1,621,126,241,000
1,621,126,241,000
335,706,272
0
38
null
1,618,325,669,000
1,612,374,118,000
Lean
UTF-8
Lean
false
false
5,780
lean
import inClassNotes.propositions.propositions_as_types_the_idea /- It's now an easy jump to using type families indexed by two types to represent predicates with two arguments. For example, here's an equality predicate, representing an equality relation, on terms of type day. -/ open day inductive eq_day : day → da...
43f06eb3449ee0a493b025ecf2ddc12b791a429a
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/limits/shapes/regular_mono_auto.lean
51ac59a457974a23fe17df8c9d23d5a3b48fdd1c
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
8,058
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Bhavik Mehta -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.limits.preserves.basic import Mathlib.category_theory.limits....
e915fa2a4a79ae0476bbd32a1945979abe480fa8
586535ff9853f5b85dc5fdeb5b78f1ad2d573a6e
/src/type_system.lean
4c9933a9e5bf2845966bcf08a9661feb15029d51
[ "Apache-2.0" ]
permissive
Kha/rc-correctness
fede4ae228c5f04985cf332e718a5a433230b150
be5a521f1b0528ccbc685619b265cd11ea854edf
refs/heads/master
1,595,967,325,275
1,568,889,756,000
1,568,889,756,000
209,523,947
0
0
Apache-2.0
1,568,888,337,000
1,568,888,336,000
null
UTF-8
Lean
false
false
4,660
lean
import ast namespace rc_correctness @[derive decidable_eq] inductive ob_lin_type : Type | 𝕆 | 𝔹 @[derive decidable_eq] inductive lin_type : Type | ob : ob_lin_type → lin_type | ℝ : lin_type instance ob_lin_type_to_lin_type : has_coe ob_lin_type lin_type := ⟨lin_type.ob⟩ @[simp] lemma coe_eq_coe {t1 t2 : o...
26381793e99ebbd998c3d760834dbe1e12966b69
4727251e0cd73359b15b664c3170e5d754078599
/src/linear_algebra/affine_space/finite_dimensional.lean
f782f009cb68a5435e66dc02558310a4233ca2e8
[ "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
16,395
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers -/ import linear_algebra.affine_space.independent import linear_algebra.finite_dimensional /-! # Finite-dimensional subspaces of affine spaces. This file provides a few re...
162a5ef5e70496e458150ccc0bd05e280a6d9893
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/mvar2.lean
2465c8d5c2fc6fdfa9aaabb07ed9a9726433198c
[ "Apache-2.0" ]
permissive
shyamalschandra/lean4
27044812be8698f0c79147615b1d5090b9f4b037
6e7a883b21eaf62831e8111b251dc9b18f40e604
refs/heads/master
1,671,417,126,371
1,601,859,995,000
1,601,860,020,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,447
lean
import Lean.MetavarContext new_frontend open Lean def check (b : Bool) : IO Unit := «unless» b (throw $ IO.userError "error") def f := mkConst `f [] def g := mkConst `g [] def a := mkConst `a [] def b := mkConst `b [] def c := mkConst `c [] def b0 := mkBVar 0 def b1 := mkBVar 1 def b2 := mkBVar 2 def u := mkLevelPa...
35a9ed3931634d4b8b70a8f4f918ca2106c389ed
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/order/monoid/canonical/defs.lean
ddce37a99ab5118f81f7305f4bddc8ae448a2191
[ "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
10,574
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura, Mario Carneiro, Johannes Hölzl -/ import order.bounded_order import order.min_max import algebra.ne_zero import algebra.order.monoid.defs /-! # Canoni...
20c978eb26890b389fe4d65cc2510ac31fb290e3
3f7026ea8bef0825ca0339a275c03b911baef64d
/src/tactic/basic.lean
222f973e580b242c283bc6792a5d22a707236631
[ "Apache-2.0" ]
permissive
rspencer01/mathlib
b1e3afa5c121362ef0881012cc116513ab09f18c
c7d36292c6b9234dc40143c16288932ae38fdc12
refs/heads/master
1,595,010,346,708
1,567,511,503,000
1,567,511,503,000
206,071,681
0
0
Apache-2.0
1,567,513,643,000
1,567,513,643,000
null
UTF-8
Lean
false
false
414
lean
import tactic.alias tactic.cache tactic.converter.interactive tactic.core tactic.doc_blame tactic.ext tactic.generalize_proofs tactic.interactive tactic.library_search tactic.lift tactic.mk_iff_of_inductive_prop tactic.push_neg tactic.rcases tactic.replacer tactic.restate_axiom tactic.re...
bf40f0f2a04f6091f1a2b2ea5cfcd22e3df45882
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/category_theory/instances/Top/adjunctions.lean
f8dca5472c67cf1fec32e8ac1768e4e0f7b86d52
[ "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
943
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Patrick Massot, Mario Carneiro import category_theory.instances.Top.basic import category_theory.adjunction universe u open category_theory open category_theory.instances nam...
29e5e76c814d00d2f2ad08eb6b3b83a96e8b80e1
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch2/ex0801.lean
f6217476304cb6579f4e72828360f8fa30bd6320
[]
no_license
Ailrun/Theorem_Proving_in_Lean
ae6a23f3c54d62d401314d6a771e8ff8b4132db2
2eb1b5caf93c6a5a555c79e9097cf2ba5a66cf68
refs/heads/master
1,609,838,270,467
1,586,846,743,000
1,586,846,743,000
240,967,761
1
0
null
null
null
null
UTF-8
Lean
false
false
352
lean
namespace hidden universe u constant list : Type u → Type u constant cons : Π α : Type u, α → list α → list α constant nil : Π α : Type u, list α constant head : Π α : Type u, list α → α constant tail : Π α : Type u, list α → list α constant append : Π α : Type u, list α → list α → list α end hidden
b0b0a8c8479330a11d24bcf7423363d34f073c3f
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/meta/smt/ematch.lean
952f36990a7d8c465a723fe066feefd462166b76
[]
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,201
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.meta.smt.congruence_closure import Mathlib.Lean3Lib.init.meta.attribute import Mathlib.Lean3Lib.init.met...
53cb7bc7b3127bc259e6a4eefc80168e6128580a
976d2334b51721ddc405deb2e1754016d454286e
/src/QQuiz/2012_q4.lean
5ee5f45ff289c185d02dd55fcb5e9649db023999
[]
no_license
kbuzzard/lean-at-MC2020
11bb6ac9ec38a6caace9d5d9a1705d6794d9f477
1f7ca65a7ba5cc17eb49f525c02dc6b0e65d6543
refs/heads/master
1,668,496,422,317
1,594,131,838,000
1,594,131,838,000
277,877,735
0
0
null
1,594,142,006,000
1,594,142,005,000
null
UTF-8
Lean
false
false
779
lean
import tactic import data.real.basic noncomputable theory open_locale classical -- Let a be a rational number with 0 < a < 1. -- A lollipop in the xy-plane with base (a,0) consists of ---- a line segment from (a,0) to some point (a,b) with b > 0, ---- together with a filled in disc of radius less than b, centered ...
800b6785ec4eedd6128e4e635656c06b3c3cf8b2
4727251e0cd73359b15b664c3170e5d754078599
/src/probability/integration.lean
25f55ffae32319eef026fb6d90a25af3f0570fd7
[ "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
13,732
lean
/- Copyright (c) 2021 Martin Zinkevich. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Martin Zinkevich, Vincent Beffara -/ import measure_theory.integral.set_integral import probability.independence /-! # Integration in Probability Theory Integration results for ind...
a041b7c659ad0175a47730bf54e6192a0df4b409
e61a235b8468b03aee0120bf26ec615c045005d2
/src/Init/Lean/Delaborator.lean
6d1e159663a37a7824a1a4d881a37d53d2094d84
[ "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
18,785
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ /-! The delaborator is the first stage of the pretty printer, and the inverse of the elaborator: it turns fully elaborated `Expr` core terms back into surf...
35ca2f4fb723c65ff7b8ac179d2c7724cc22064d
05b503addd423dd68145d68b8cde5cd595d74365
/src/measure_theory/l1_space.lean
65ed26f4013c6618ab8b50406ad1724977e1d534
[ "Apache-2.0" ]
permissive
aestriplex/mathlib
77513ff2b176d74a3bec114f33b519069788811d
e2fa8b2b1b732d7c25119229e3cdfba8370cb00f
refs/heads/master
1,621,969,960,692
1,586,279,279,000
1,586,279,279,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
28,769
lean
/- Copyright (c) 2019 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou -/ import measure_theory.ae_eq_fun /-! # Integrable functions and `L¹` space In the first part of this file, the predicate `integrable` is defined and basic properties ...
31df59789ee1416d1fd9eb5c286ebfc97b36842d
4f643cce24b2d005aeeb5004c2316a8d6cc7f3b1
/src/o_minimal/tame/basic.lean
8b7a15d8cd0b6ef0ebc47f677633cb428388486e
[]
no_license
rwbarton/lean-omin
da209ed061d64db65a8f7f71f198064986f30eb9
fd733c6d95ef6f4743aae97de5e15df79877c00e
refs/heads/master
1,674,408,673,325
1,607,343,535,000
1,607,343,535,000
285,150,399
9
0
null
null
null
null
UTF-8
Lean
false
false
8,989
lean
import for_mathlib.boolean_subalgebra import for_mathlib.finite import for_mathlib.order import o_minimal.dunlo /- Basic properties of tame sets. A tame set is a subset of a DUNLO which is a finite union of points and intervals. They can also be described as the boolean subalgebra generated by half-infinite intervals....
0536a90f9d97ccade6d03793143034ad20911164
e6b8240a90527fd55d42d0ec6649253d5d0bd414
/src/tactic/lint.lean
f24d1cea3a20e7d9d096203e764fe22e3cec85ab
[ "Apache-2.0" ]
permissive
mattearnshaw/mathlib
ac90f9fb8168aa642223bea3ffd0286b0cfde44f
d8dc1445cf8a8c74f8df60b9f7a1f5cf10946666
refs/heads/master
1,606,308,351,137
1,576,594,130,000
1,576,594,130,000
228,666,195
0
0
Apache-2.0
1,576,603,094,000
1,576,603,093,000
null
UTF-8
Lean
false
false
24,991
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, Robert Y. Lewis -/ import tactic.core /-! # lint command This file defines the following user commands to spot common mistakes in the code. * `#lint`: check all dec...
c434237376dda2d6b676e2347f24cce820c226b4
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/itac.lean
4fce0c2114835ea76344cfc7b1d771439e8ddfe5
[ "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
361
lean
axiom addz {A : Type} [has_add A] [has_zero A] : ∀ a : A, a + 0 = a example {A : Type} [has_add A] [has_zero A] (a b c : A) : (a + 0) + (b + 0) + (c + 0) = a + b + c := begin repeat {rw addz} end example {A : Type} [has_add A] [has_zero A] (a b c : A) : (a + 0) + (b + 0) + (c + 0) = a + b + c := begin repeat {rw ...
010ce9d04dbf859da509a4b7ecfc04108f484980
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/set_theory/schroeder_bernstein.lean
a3a80ca27deb203ab2aa2ff6332480eccc2a41ac
[ "Apache-2.0" ]
permissive
abentkamp/mathlib
d9a75d291ec09f4637b0f30cc3880ffb07549ee5
5360e476391508e092b5a1e5210bd0ed22dc0755
refs/heads/master
1,682,382,954,948
1,622,106,077,000
1,622,106,077,000
149,285,665
0
0
null
null
null
null
UTF-8
Lean
false
false
5,075
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 The Schröder-Bernstein theorem, and well ordering of cardinals. -/ import order.fixed_points import order.zorn open set classical open_locale classical...
ecd985148268f0cdbf2ba518a8bb4bfa92f6308f
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/tactic/omega/int/form.lean
45ea52ad6b193e1259cfde033add5a47aa581fe5
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
4,170
lean
/- Copyright (c) 2019 Seul Baek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Seul Baek -/ /- Linear integer arithmetic formulas in pre-normalized form. -/ import tactic.omega.int.preterm namespace omega namespace int /-- Intermediate shadow syntax for LNA formul...
eb7133c84e0387d942ad9a825a685aca701c62a8
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/tests/lean/hott/len_eq.hlean
a3a4ea436f3c0f880801130f10ebb51a7fd25e7e
[ "Apache-2.0" ]
permissive
jroesch/lean
30ef0860fa905d35b9ad6f76de1a4f65c9af6871
3de4ec1a6ce9a960feb2a48eeea8b53246fa34f2
refs/heads/master
1,586,090,835,348
1,455,142,203,000
1,455,142,277,000
51,536,958
1
0
null
1,455,215,811,000
1,455,215,811,000
null
UTF-8
Lean
false
false
2,974
hlean
import init.ua open nat unit equiv is_trunc inductive vector (A : Type) : nat → Type := | nil {} : vector A zero | cons : Π {n}, A → vector A n → vector A (succ n) open vector notation a :: b := cons a b definition const {A : Type} : Π (n : nat), A → vector A n | zero a := nil | (succ n) a := a :: const n a d...
b5a554b7b6e63351b902c338b89ee07342f95bc0
9dc8cecdf3c4634764a18254e94d43da07142918
/src/group_theory/free_group.lean
fcca4d3aee03eb22cfdaafac0b6637245a25b60e
[ "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
36,036
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import data.fintype.basic import group_theory.subgroup.basic /-! # Free groups This file defines free groups over a type. Furthermore, it is shown that the free group constru...
10aae618931ed9b90c6a5d0e86dd6d55be8990ff
94e33a31faa76775069b071adea97e86e218a8ee
/src/category_theory/limits/shapes/finite_products.lean
0e6f79c7a08c2b9eaa069ea978bbabf722485056
[ "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
3,484
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 category_theory.limits.shapes.binary_products import category_theory.limits.shapes.finite_limits import category_theory.limits.shapes.products import category_...
ca3257ebebe1f83916111b35d7b93b52f7e216f9
83c8119e3298c0bfc53fc195c41a6afb63d01513
/tests/lean/run/conv_tac1.lean
ab9b4429090b5e3827ef2405513adab0486e157c
[ "Apache-2.0" ]
permissive
anfelor/lean
584b91c4e87a6d95f7630c2a93fb082a87319ed0
31cfc2b6bf7d674f3d0f73848b842c9c9869c9f1
refs/heads/master
1,610,067,141,310
1,585,992,232,000
1,585,992,232,000
251,683,543
0
0
Apache-2.0
1,585,676,570,000
1,585,676,569,000
null
UTF-8
Lean
false
false
3,509
lean
local attribute [simp] add_comm add_left_comm example (a b : nat) : (λ x, a + x) 0 = b + 1 + a := begin conv in (_ + 1) { change nat.succ b }, guard_target (λ x, a + x) 0 = nat.succ b + a, admit end def Div : nat → nat → nat | x y := if h : 0 < y ∧ y ≤ x then have x - y < x, from sorry, Div (x - y) y + 1 els...
288c94f2fe7caa512a8c96f296651b3655f2f655
5c5878e769950eabe897ad08485b3ba1a619cea9
/src/categories/universal/cones.lean
5f8220a9a5ce0c2fb49f46722b1d60ceaed2ee0f
[ "Apache-2.0" ]
permissive
semorrison/lean-category-theory-pr
39dc2077fcb41b438e61be1685e4cbca298767ed
7adc8d91835e883db0fe75aa33661bc1480dbe55
refs/heads/master
1,583,748,682,010
1,535,111,040,000
1,535,111,040,000
128,731,071
1
2
Apache-2.0
1,528,069,880,000
1,523,258,452,000
Lean
UTF-8
Lean
false
false
7,185
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 category_theory.functor import .initial open category_theory open category_theory.initial namespace category_theory.universal universes ...
962e7b6752a467cfd1b96ec8838b7feaeb75949f
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/category/Quiv.lean
423cb7d97b5a0908199be2f13cb450afa51dc731
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
3,178
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.adjunction.basic import category_theory.category.Cat import category_theory.path_category /-! # The category of quivers The category of (bund...
fbbec63aea7e1a854e9e0a8ab0f9781875585b77
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/group_theory/specific_groups/quaternion.lean
0af5ef908c007dc28f6beab33661b43f1481ebff
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
8,917
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 data.zmod.basic import data.nat.basic import tactic.interval_cases import group_theory.specific_groups.dihedral import group_theory.specific_groups.cyc...
3ff7a6913938f11200ee55825b6ab59bfd1ba9c8
f57749ca63d6416f807b770f67559503fdb21001
/library/algebra/ordered_field.lean
756f5afef9044c2b85ff82daa62632c094b08f97
[ "Apache-2.0" ]
permissive
aliassaf/lean
bd54e85bed07b1ff6f01396551867b2677cbc6ac
f9b069b6a50756588b309b3d716c447004203152
refs/heads/master
1,610,982,152,948
1,438,916,029,000
1,438,916,029,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
20,407
lean
/- Copyright (c) 2014 Robert Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Lewis -/ import algebra.ordered_ring algebra.field open eq eq.ops namespace algebra structure linear_ordered_field [class] (A : Type) extends linear_ordered_ring A, field A s...
f77e58973092dda548f51c2fa341401e6d21ffb2
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/run/e1.lean
1cb094254d1333c7f0e01e6b6d43f8ed77fbed45
[ "Apache-2.0" ]
permissive
bre7k30/lean
de893411bcfa7b3c5572e61b9e1c52951b310aa4
5a924699d076dab1bd5af23a8f910b433e598d7a
refs/heads/master
1,610,900,145,817
1,488,006,845,000
1,488,006,845,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
324
lean
prelude definition Prop : Sort.{1} := Sort.{0} constant eq : forall {A : Type}, A → A → Prop constant N : Type constants a b c : N infix `=`:50 := eq check a = b constant f : Prop → N → N constant g : N → N → N precedence `+`:50 infixl + := f infixl + := g check a + b + c constant p : Prop check p + a + b + c
231609729c8c7f1788dd3c878116e9e634223129
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/analysis/subadditive.lean
0e8e549093dd37f5b867a52c26ca1ca7170e7c95
[ "Apache-2.0" ]
permissive
AntoineChambert-Loir/mathlib
64aabb896129885f12296a799818061bc90da1ff
07be904260ab6e36a5769680b6012f03a4727134
refs/heads/master
1,693,187,631,771
1,636,719,886,000
1,636,719,886,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,724
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 topology.instances.real import order.filter.archimedean /-! # Convergence of subadditive sequences A subadditive sequence `u : ℕ → ℝ` is a sequence sat...
6df32c69f67e781da52f5f88a899f2fa4bd1bb62
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/src/Lean/Compiler/InitAttr.lean
2b3f6c93b1eb1c2f7cb530b3a4a75a637ccada72
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
tobiasgrosser/lean4
ce0fd9cca0feba1100656679bf41f0bffdbabb71
ebdbdc10436a4d9d6b66acf78aae7a23f5bd073f
refs/heads/master
1,673,103,412,948
1,664,930,501,000
1,664,930,501,000
186,870,185
0
0
Apache-2.0
1,665,129,237,000
1,557,939,901,000
Lean
UTF-8
Lean
false
false
5,967
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.Elab.InfoTree.Main namespace Lean private def getIOTypeArg : Expr → Option Expr | Expr.app (Expr.const `IO _) arg => some arg | _ ...
5e724068c7e976e406063eb563da4a7440c2ee49
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/algebra/polynomial/big_operators.lean
885770a970f01900bf88e70a7af16aad25e3748e
[ "Apache-2.0" ]
permissive
dexmagic/mathlib
ff48eefc56e2412429b31d4fddd41a976eb287ce
7a5d15a955a92a90e1d398b2281916b9c41270b2
refs/heads/master
1,693,481,322,046
1,633,360,193,000
1,633,360,193,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
12,414
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson, Jalex Stark -/ import data.polynomial.monic import data.polynomial.ring_division import tactic.linarith /-! # Lemmas for the interaction between polynomials and `∑` and...
00bd265fcbbfe6b09cd825db5db20b3d046f8de2
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/data/rbtree/insert.lean
ca5b72114652f2c9e40733cbe1d367b3077fd767
[]
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
23,141
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.Lean3Lib.data.rbtree.find universes u v namespace Mathlib namespace rbnode ...
4345dfba7c3d18285c623db2f813a7c8be36dd45
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/topology/metric_space/emetric_space.lean
202540918cb66235764d38eb9c36f20e38875a7d
[ "Apache-2.0" ]
permissive
jumpy4/mathlib
d3829e75173012833e9f15ac16e481e17596de0f
af36f1a35f279f0e5b3c2a77647c6bf2cfd51a13
refs/heads/master
1,693,508,842,818
1,636,203,271,000
1,636,203,271,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
45,897
lean
/- Copyright (c) 2015, 2017 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis, Johannes Hölzl, Mario Carneiro, Sébastien Gouëzel -/ import data.nat.interval import data.real.ennreal import topology.uniform_space.pi import topo...
fe02dbe6e7e402c89a36cc319b344fe60c308c97
6df8d5ae3acf20ad0d7f0247d2cee1957ef96df1
/HW/hw5_higher_order_functions.lean
dae655562f1598817b2e55b23d4cd47eaa2791e4
[]
no_license
derekjohnsonva/CS2102
8ed45daa6658e6121bac0f6691eac6147d08246d
b3f507d4be824a2511838a1054d04fc9aef3304c
refs/heads/master
1,648,529,162,527
1,578,851,859,000
1,578,851,859,000
233,433,207
0
0
null
null
null
null
UTF-8
Lean
false
false
9,108
lean
open list /- #1. You are to implement a function that takes a "predicate" function and a list and that returns a new list: namely a list that contains all and only those elements of the first list for which the given predicate function returns true. We start by giving you two predicate functions. Each takes an argum...
a1be3c787b5eb69672f43f65e3c08c50cc754d3d
9b9a16fa2cb737daee6b2785474678b6fa91d6d4
/src/category_theory/instances/topological_spaces.lean
fd92393ea9ee60da29dab3a3ccb992853d960d07
[ "Apache-2.0" ]
permissive
johoelzl/mathlib
253f46daa30b644d011e8e119025b01ad69735c4
592e3c7a2dfbd5826919b4605559d35d4d75938f
refs/heads/master
1,625,657,216,488
1,551,374,946,000
1,551,374,946,000
98,915,829
0
0
Apache-2.0
1,522,917,267,000
1,501,524,499,000
Lean
UTF-8
Lean
false
false
5,127
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Patrick Massot, Scott Morrison, Mario Carneiro import category_theory.concrete_category import category_theory.full_subcategory import category_theory.functor_category import ca...
4594ec1053bf00c8e08b4fc9730d288cfc457642
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/order/order_iso.lean
9fff2b5d009da8f7d1f878205b0df5469737fd30
[ "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
14,253
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 logic.embedding import data.nat.basic open function universes u v w variables {α : Type*} {β : Type*} {γ : Type*} {r : α → α → Prop} {s : β → β → Prop} {t ...
f243f131fe62a1c7a3bc6284124730ed52abba05
205f0fc16279a69ea36e9fd158e3a97b06834ce2
/src/11_Existential_Quantification/00_intro.lean
22627aba326d9802477491e35c50ce4ccacda4cf
[]
no_license
kevinsullivan/cs-dm-lean
b21d3ca1a9b2a0751ba13fcb4e7b258010a5d124
a06a94e98be77170ca1df486c8189338b16cf6c6
refs/heads/master
1,585,948,743,595
1,544,339,346,000
1,544,339,346,000
155,570,767
1
3
null
1,541,540,372,000
1,540,995,993,000
Lean
UTF-8
Lean
false
false
16,643
lean
/- ***********************-/ /- *** ∃ Introduction *** -/ /-************************-/ /- An existentially quantified proposition asserts that there exists *some* value of some type that makes a given predicate true. Here's an example. -/ def anExistsProp := ∃ m , m + m = 8 /- This proposition asserts that ...
5ec40c2e3b11e920358d6a9c018161fb821cec7a
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/deprecated/subfield.lean
2c68a30c862e5f800032bc567e44c6b1a83d642f
[ "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,232
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 SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding P...
1533f3868942178276fa3fa33ce46722b4323348
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/extra/755.hlean
c045817a603957f69e5ef4fb6972651e6ccc226b
[ "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
1,743
hlean
import types.eq types.pi hit.colimit open eq is_trunc unit quotient seq_colim equiv axiom mysorry : ∀ {A : Type*}, A namespace one_step_tr section parameters {A : Type*} variables (a a' : A) protected definition R (a a' : A) : Type₀ := unit parameter (A) definition one_step_tr : Type* := quotient R parame...
fafb9508a9101744469f14d920915cc34f6e9c4e
b73bd2854495d87ad5ce4f247cfcd6faa7e71c7e
/src/game/world3/level3.lean
0a461227079730e87bb9641bb3b715975a8aa5a4
[]
no_license
agusakov/category-theory-game
20db0b26270e0c95a3d5605498570273d72f731d
652dd7e90ae706643b2a597e2c938403653e167d
refs/heads/master
1,669,201,216,310
1,595,740,057,000
1,595,740,057,000
280,895,295
12
0
null
null
null
null
UTF-8
Lean
false
false
1,009
lean
import category_theory.category.default universes v u -- The order in this declaration matters: v often needs to be explicitly specified while u often can be omitted namespace category_theory variables (C : Type u) [category.{v} C] --rewrite this /- # Category world ## Level 7: Cancellations With monomorphisms ...
a52962b49c344fad7ab3f71a2d6ec0175749da74
38bf3fd2bb651ab70511408fcf70e2029e2ba310
/src/analysis/complex/exponential.lean
cac139b2cd26e28d1e1a51e0612c5694619c0bfe
[ "Apache-2.0" ]
permissive
JaredCorduan/mathlib
130392594844f15dad65a9308c242551bae6cd2e
d5de80376088954d592a59326c14404f538050a1
refs/heads/master
1,595,862,206,333
1,570,816,457,000
1,570,816,457,000
209,134,499
0
0
Apache-2.0
1,568,746,811,000
1,568,746,811,000
null
UTF-8
Lean
false
false
74,177
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import topology.instances.complex tactic.linarith data.complex.exponential group_theory.quotient_group topology.metr...
035706df543a674d03d0cbaa75455ad563c8dae2
bb31430994044506fa42fd667e2d556327e18dfe
/src/analysis/inner_product_space/basic.lean
fdac512a030767c4f555ddf904b398122f4460c6
[ "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
109,962
lean
/- Copyright (c) 2019 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou, Sébastien Gouëzel, Frédéric Dupuis -/ import algebra.direct_sum.module import analysis.complex.basic import analysis.convex.uniform import analysis.normed_space.completio...
8dd53aab5eae001e73e844f00166629e2f41f107
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/tactic/omega/find_ees.lean
77427d36fe61b298a9860717cb918514d2454970
[ "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
5,560
lean
/- Copyright (c) 2019 Seul Baek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: 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 namespace omega...
fbd98bfd310b168a13dd24db795f6884ea7b77bd
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/algebra/star/chsh.lean
c63dcb4fd56bcec65a1c706e3c7929f1e48e2626
[ "Apache-2.0" ]
permissive
dexmagic/mathlib
ff48eefc56e2412429b31d4fddd41a976eb287ce
7a5d15a955a92a90e1d398b2281916b9c41270b2
refs/heads/master
1,693,481,322,046
1,633,360,193,000
1,633,360,193,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,336
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...
1140c1d661077056a0db0aa97dfce6248b7f58db
82e44445c70db0f03e30d7be725775f122d72f3e
/src/data/polynomial/field_division.lean
55454f694476b85cb9e2bf25b2312df2b73677fa
[ "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
19,811
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker -/ import data.polynomial.ring_division import data.polynomial.derivative import algebra.gcd_monoid /-! # Theory of univaria...
b82e7f494752eda33123178cfbb70816a0899204
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/library/logic/wf_k.lean
9c91cc2f65bcad191124c14e1c5ae3912d35f217
[ "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
758
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 import logic.wf data.nat.basic namespace well_founded -- This is an auxiliary definition that useful for generating a new "proof" for (well_founded R)...
3a693429ffe0e4a9f5a99fd664c78cae2b0e00cb
e151e9053bfd6d71740066474fc500a087837323
/tests/induction.lean
d3e69a168dc4b7d63bc5b16c7bb80baee4b5eb25
[ "Apache-2.0" ]
permissive
daniel-carranza/hott3
15bac2d90589dbb952ef15e74b2837722491963d
913811e8a1371d3a5751d7d32ff9dec8aa6815d9
refs/heads/master
1,610,091,349,670
1,596,222,336,000
1,596,222,336,000
241,957,822
0
0
Apache-2.0
1,582,222,839,000
1,582,222,838,000
null
UTF-8
Lean
false
false
8,294
lean
import hott.init open expr tactic pexpr hott universes u v noncomputable theory axiom sorry' : Π{α : Sort _}, α /- no warnings are generated when using this axiom -/ @[induction] def foo2 {X Y : Type} {P : X × Y → Type} (x : X × Y) (z : Πa b, P ⟨a, b⟩) : P x := sorry' @[induction] def foo3 {P : ℕ × ℕ → Sort _} (x : ℕ ...
c5588d685ec0d81185cd5cfc349738566029110d
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/blast_ematch_heq1.lean
67df52e1b8ca69750babc7ac48e65685b33dfec0
[ "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
248
lean
import data.nat open algebra nat section open nat set_option blast.strategy "ematch" set_option blast.cc.heq true attribute add.comm [forward] attribute add.assoc [forward] example (a b c : nat) : a + b + b + c = c + b + a + b := by blast end
5dc041c1a9ff4311e0c20636ce520e8a67af1930
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/data/rbtree/min_max.lean
f816bb54e0c0bbf5c6f0b87f70c4a82ac6a2dd5d
[]
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,449
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.Lean3Lib.data.rbtree.basic universes u namespace Mathlib namespace rbnode ...
bb6c4a6e3f0c778fabd3b69c022c10defed283df
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/topology/homeomorph.lean
20f2d0e48b7016e02975342752bf36a483f04feb
[ "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
20,974
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, Patrick Massot, Sébastien Gouëzel, Zhouhang Zhou, Reid Barton -/ import logic.equiv.fin import topology.dense_embedding import topology.support /-! # Homeomorphisms This...
b075dbfb1707b86f668565c95e2a54e7f260fd78
367134ba5a65885e863bdc4507601606690974c1
/src/set_theory/cardinal.lean
d118b5f321b92cde6f2af55d3f0ec58050d99298
[ "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
51,505
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Floris van Doorn -/ import data.set.countable import set_theory.schroeder_bernstein import data.fintype.card import data.nat.enat /-! # Cardinal Number...
599eaf54f4dbb113a9de346f5c9c379472dfafd0
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/stage0/src/Lean/Meta/TransparencyMode.lean
4d07fc9ddb1d585c5db7ff1614f85d84359d56e9
[ "Apache-2.0" ]
permissive
collares/lean4
861a9269c4592bce49b71059e232ff0bfe4594cc
52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee
refs/heads/master
1,691,419,031,324
1,618,678,138,000
1,618,678,138,000
358,989,750
0
0
Apache-2.0
1,618,696,333,000
1,618,696,333,000
null
UTF-8
Lean
false
false
816
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 -/ namespace Lean.Meta inductive TransparencyMode where | all | default | reducible | instances deriving Inhabited, BEq, Repr namespace TransparencyMode ...
99dbe70383a5d8a4232a64328324c444608dcca7
abd85493667895c57a7507870867b28124b3998f
/src/group_theory/group_action.lean
4b664b7c8df8efacc82536a8505c421839d322d1
[ "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
10,581
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import data.set.finite import group_theory.coset universes u v w variables {α : Type u} {β : Type v} {γ : Type w} /-- Typeclass for types with a scalar multiplication o...
e8935c414f5982e7524ab6d3959377c90423cd35
947b78d97130d56365ae2ec264df196ce769371a
/tests/bench/parser.lean
e3457f97262d20ace4a7987aa17db3d961909848
[ "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
236
lean
import Lean.Parser def main : List String → IO Unit | [fname, n] => do env ← Lean.mkEmptyEnvironment; n.toNat!.forM $ fun _ => discard $ Lean.Parser.parseFile env fname; pure () | _ => throw $ IO.userError "give file"
c98094e562b89572fce42b8dfd87f77fdf3704a7
5df84495ec6c281df6d26411cc20aac5c941e745
/src/formal_ml/finite_pi_measure.lean
b51522ecd4b8fa344265dab4b44dcfb8264856b9
[ "Apache-2.0" ]
permissive
eric-wieser/formal-ml
e278df5a8df78aa3947bc8376650419e1b2b0a14
630011d19fdd9539c8d6493a69fe70af5d193590
refs/heads/master
1,681,491,589,256
1,612,642,743,000
1,612,642,743,000
360,114,136
0
0
Apache-2.0
1,618,998,189,000
1,618,998,188,000
null
UTF-8
Lean
false
false
21,412
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...
b257dfabd0cf828843683cdd6e423859f441d577
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Init/Prelude.lean
40da57bd6cef2ba08e07c5fe92c4f5310556cc51
[ "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
165,230
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, Mario Carneiro -/ prelude -- Don't import Init, because we're in Init itself set_option linter.missingDocs true -- keep it documented /-! # Init.Prelude Thi...
c9fe8b207a72d08b850d8c68a3e8ee83f897416d
2d041ea7f2e9b29093ffd7c99b11decfaa8b20ca
/ch7.lean
99a84e037b5005a58c96221392d960bb99123c3b
[]
no_license
0xpr/lean_tutorial
1a66577602baa9a52c2b01130b9d70089653ea37
56ef609d8df9e392916012db5354bf182cbbb8d8
refs/heads/master
1,606,955,421,810
1,499,014,388,000
1,499,014,388,000
96,036,899
1
0
null
null
null
null
UTF-8
Lean
false
false
1,531
lean
open nat inductive vector (A : Type) : nat → Type := | nil {} : vector A zero | cons : Π {n}, A → vector A n → vector A (succ n) open vector notation h :: t := cons h t -- defining map with only recursors definition head_aux {A : Type} {m n : nat} (v : vector A m) : (m = succ n) → A := vector.cases_on v (a...
c45df07223140e29f2c413d91352f930624adbd9
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/expr.lean
89641583e33bdc49de43ef834762de9e39b5feb8
[ "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
1,852
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 tactic.core /-! ### Helpers to invoke functions involving algebra at tactic time > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a co...
a60056133b13ffc5bc4af634a35407f49307ca4b
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/topology/instances/real.lean
83c48ab7714cd0e24421825eaa04b8adb2360470
[ "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
18,751
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 The real numbers ℝ. They are constructed as the topological completion of ℚ. With the following steps: (1) prove that ℚ forms a uniform space. (2) subt...
a5b8d6848f551e29691cc8db67ad86223f6136c4
94e33a31faa76775069b071adea97e86e218a8ee
/src/topology/vector_bundle/hom.lean
ddd1541339077ce674d8514cbd5ca13ae1876824
[ "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
14,407
lean
/- Copyright © 2022 Heather Macbeth. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Heather Macbeth, Floris van Doorn -/ import topology.vector_bundle.basic import analysis.normed_space.operator_norm /-! # The topological vector bundle of continuous (semi)linear maps...
903c3c343dde4ead0b44f12bd8af400ffd90eb30
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/src/Lean/Elab/Tactic.lean
fb800b76a577a611d3faa35689de58b1d3121b80
[ "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
533
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, Sebastian Ullrich -/ import Lean.Elab.Term import Lean.Elab.Tactic.Basic import Lean.Elab.Tactic.ElabTerm import Lean.Elab.Tactic.Induction import Lean.Elab.T...
98fa650cb3288b6725c3d938e5fc2d7673e07f44
6305b69bc7636a761e1a1947508bb5ebad93cb7e
/library/init/meta/coinductive_predicates.lean
dc1ec9ee1297301e5c1309f601c34f36299300d4
[ "Apache-2.0" ]
permissive
HGldJ1966/lean
e7f0068f8a69fde3593b77d8a44609ae446d7738
049d940167c419cd5935d12b459c0695d8615ae9
refs/heads/master
1,611,340,395,700
1,503,103,829,000
1,503,103,829,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
23,192
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 (CMU) -/ prelude import init.meta.expr init.meta.tactic init.meta.constructor_tactic init.meta.attribute import init.meta.interactive namespace name def last_string : n...
614572061017bb75374953d94ef43ea68e3d068c
64874bd1010548c7f5a6e3e8902efa63baaff785
/tests/lean/run/uni2.lean
625e03a5031f055225a22d19e14e7025a3f125c9
[ "Apache-2.0" ]
permissive
tjiaqi/lean
4634d729795c164664d10d093f3545287c76628f
d0ce4cf62f4246b0600c07e074d86e51f2195e30
refs/heads/master
1,622,323,796,480
1,422,643,069,000
1,422,643,069,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,363
lean
import logic namespace experiment inductive nat : Type := zero : nat, succ : nat → nat constant f : nat → nat check @nat.rec (* local env = get_env() local nat_rec = Const({"nat", "rec"}, {1}) local nat = Const("nat") local f = Const("f") local n = Local("n", nat) local C = Fun(n, Prop) loc...