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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
90088604a4c13e81f5172e804aa93adab6be384f | 958488bc7f3c2044206e0358e56d7690b6ae696c | /lean/classical.lean | 6074c4a65e082470be9760df4f98cf9cfe14d66e | [] | no_license | possientis/Prog | a08eec1c1b121c2fd6c70a8ae89e2fbef952adb4 | d4b3debc37610a88e0dac3ac5914903604fd1d1f | refs/heads/master | 1,692,263,717,723 | 1,691,757,179,000 | 1,691,757,179,000 | 40,361,602 | 3 | 0 | null | 1,679,896,438,000 | 1,438,953,859,000 | Coq | UTF-8 | Lean | false | false | 8,196 | lean | open classical
variable p : Prop
----#check em p -- law of excluded middle
-- This requres law of exlcuded middle
lemma L1 : ∀ (p:Prop), ¬¬p → p := λ p h,
or.elim (em p)
(assume hp : p, hp)
(assume hnp : ¬p, absurd hnp h)
----#check L1
lemma L2 : ∀ (p:Prop), ¬¬p → p := λ p h,
by_cases
(assume h1:... |
61bb7243ca7213e3a3f0fd99f95ee378fa34be1b | 367134ba5a65885e863bdc4507601606690974c1 | /src/topology/algebra/open_subgroup.lean | ef5a7bd7b4319e56f1a11aa6bc0cf1cdccc7f26a | [
"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 | 7,405 | lean | /-
Copyright (c) 2019 Johan Commelin All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johan Commelin
-/
import order.filter.lift
import topology.opens
import topology.algebra.ring
open topological_space
open_locale topological_space
set_option old_structure_cmd true
/... |
aac5bee92f993d5492448bdf80b183a7ff65f119 | 80cc5bf14c8ea85ff340d1d747a127dcadeb966f | /src/category_theory/monad/algebra.lean | 091bb6de4b587d33c1c28b51d9ab01c71c043926 | [
"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,013 | lean | /-
Copyright (c) 2019 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison, Bhavik Mehta
-/
import category_theory.monad.basic
import category_theory.adjunction.basic
import category_theory.reflects_isomorphisms
/-!
# Eilenberg-Moore (co)algeb... |
e7f5479f0f3981d5e24444ff113bcf3f5ea122d2 | 531456391187e1b7678c24ddaf3d6470b4dba971 | /library/init/native/default.lean | 731ffea460fefc27c5d039b435b2b1805320d111 | [
"Apache-2.0"
] | permissive | tigerneil/lean | 7e4834cb9b03027c0e3ba42efd8c1a4f52389c9c | 8f31cff99bca2c5dd7fcd425de1ff1cb8e4e150a | refs/heads/master | 1,606,890,672,381 | 1,499,580,201,000 | 1,499,580,305,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 23,753 | lean | /-
Copyright (c) 2016 Jared Roesch. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jared Roesch
-/
prelude
import init.meta.format
import init.meta.expr
import init.category.state
import init.data.string
import init.data.list.instances
import init.native.ir
import in... |
eab7e35159e227591590806b7183f030602a2a90 | 9028d228ac200bbefe3a711342514dd4e4458bff | /src/measure_theory/l1_space.lean | 76abe4495eca414a46c4e38266d8b327370102a0 | [
"Apache-2.0"
] | permissive | mcncm/mathlib | 8d25099344d9d2bee62822cb9ed43aa3e09fa05e | fde3d78cadeec5ef827b16ae55664ef115e66f57 | refs/heads/master | 1,672,743,316,277 | 1,602,618,514,000 | 1,602,618,514,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 39,917 | 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 o... |
0df7b6ce8da05bf248761f3a1f856795e0233a92 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/data/pnat/xgcd.lean | 0c5998b828569e33a0f405bf59fcf7da1197b2e5 | [] | no_license | AurelienSaue/Mathlib4_auto | f538cfd0980f65a6361eadea39e6fc639e9dae14 | 590df64109b08190abe22358fabc3eae000943f2 | refs/heads/master | 1,683,906,849,776 | 1,622,564,669,000 | 1,622,564,669,000 | 371,723,747 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 9,813 | lean | /-
Copyright (c) 2019 Neil Strickland. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Neil Strickland
This file sets up a version of the Euclidean algorithm that works
only with natural numbers. Given a, b > 0, it computes the unique
system (w, x, y, z, d) such that ... |
f0a7107307b340c3aa8c284d7ff25399b8d3f180 | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/analysis/normed/group/infinite_sum.lean | bbaa474874c0d23fd8ff699ea59c67d375633088 | [
"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 | 7,696 | 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, Heather Macbeth, Johannes Hölzl, Yury Kudryashov
-/
import analysis.normed.group.basic
import topology.instances.nnreal
/-!
# Infinite sums in (semi)normed group... |
3e67cd580d741c7ebb3acc9305d0dc412e69a784 | 6e8de6b43162bef473b4a0bd93b71db886df98ce | /src/linear_algebra/lincomb.lean | 57b0bbf36b1e08417f0ebea4516586eaa1cb6b51 | [
"Unlicense"
] | permissive | adamtopaz/comb_geom | 38ec6fde8d2543f56227ec50cdfb86cac6ac33c1 | e16b629d6de3fbdea54a528755e7305dfb51e902 | refs/heads/master | 1,668,613,552,530 | 1,593,199,940,000 | 1,593,199,940,000 | 269,824,442 | 6 | 0 | Unlicense | 1,593,119,545,000 | 1,591,404,975,000 | Lean | UTF-8 | Lean | false | false | 4,499 | lean | import linear_algebra
variables (R : Type*) (M : Type*)
/--
An abbreviation for linear combinations.
By definition, a linear combination is a list of elements of type R × M
-/
abbreviation lincomb := list (R × M)
namespace lincomb
variables {R M}
/--
consts L is the list of constants appearing in the linear comb... |
402633c1be221613dcfaacc14c57b52ee26c4f5f | 2a70b774d16dbdf5a533432ee0ebab6838df0948 | /_target/deps/mathlib/src/number_theory/arithmetic_function.lean | e9613b863a25c9faa5be36fe26b69319db6cda69 | [
"Apache-2.0"
] | permissive | hjvromen/lewis | 40b035973df7c77ebf927afab7878c76d05ff758 | 105b675f73630f028ad5d890897a51b3c1146fb0 | refs/heads/master | 1,677,944,636,343 | 1,676,555,301,000 | 1,676,555,301,000 | 327,553,599 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 31,868 | lean | /-
Copyright (c) 2020 Aaron Anderson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Aaron Anderson
-/
import algebra.big_operators.ring
import number_theory.divisors
import algebra.squarefree
import algebra.invertible
/-!
# Arithmetic Functions and Dirichlet Convolut... |
c23b9d13a2003beb76fd1e57e341a598e5f6bd30 | 3618c6e11aa822fd542440674dfb9a7b9921dba0 | /src/no_exp_sum_zero.lean | 0096faa53e8fc5de043e4ecae900212e373b1d00 | [] | no_license | ChrisHughes24/single_relation | 99ceedcc02d236ce46d6c65d72caa669857533c5 | 057e157a59de6d0e43b50fcb537d66792ec20450 | refs/heads/master | 1,683,652,062,698 | 1,683,360,089,000 | 1,683,360,089,000 | 279,346,432 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,894 | lean | import pow_single_pullback
import exp_sum_eq_zero
/-!
# No exponent sum equal to zero
The case when there is no exponent sum equal to zero for the one relator algorithm.
-/
open free_group multiplicative
variables {ι : Type} [decidable_eq ι] (r : free_group ι) (T : set ι) [decidable_pred T]
variables (t x : ι)
/-- `p... |
2f673258040d46853d98e989aa236a3f3c0b3f2d | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/data/nat/parity.lean | 11e15f1d3e8d2d2cca9105aa5b3987b25c5ad1d3 | [
"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 | 7,969 | lean | /-
Copyright (c) 2019 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad, Benjamin Davidson
-/
import data.nat.modeq
/-!
# Parity of natural numbers
This file contains theorems about the `even` and `odd` predicates on the natural numbers.
##... |
650055c1f0fe785eb87f294b41dd0002d1bf332c | 30b012bb72d640ec30c8fdd4c45fdfa67beb012c | /linear_algebra/dimension.lean | 44efaefb25425baaeab27007f80d70492c017905 | [
"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 | 3,651 | lean | /-
Copyright (c) 2018 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Mario Carneiro
Dimension of modules and vector spaces.
-/
import linear_algebra.basis
import set_theory.ordinal
noncomputable theory
local attribute [instance] classical.prop_decidabl... |
299bc55f9fde25cb3424d2443e24e148d41acac9 | eeee7bfb5e0033ce2c5099a3cf5c87a3c71b1f62 | /src/for_mathlib/topology.lean | 3b0728d81e98996042d4f254bfc1b027c9df441d | [
"Apache-2.0"
] | permissive | jesse-michael-han/lean-perfectoid-spaces | f0c652bc1a0de64de90bb8c98f26d9579b226a9c | 45b42a5302dca28910ae9c6e3847c025e5ba4180 | refs/heads/master | 1,584,646,248,214 | 1,528,569,065,000 | 1,528,569,065,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 285 | lean | import analysis.topology.topological_space
section opens
variables (X : Type*) [topological_space X]
include X
@[class] def opens := {U : set X // is_open U}
instance : has_coe (opens X) (set X) := ⟨λU, U.1⟩
instance : has_mem X (opens X) := ⟨λx U, x ∈ U.1⟩
end opens |
5aca662e53e46fa85498e6b7b498c94cb678cb1e | e151e9053bfd6d71740066474fc500a087837323 | /src/hott/types/nat/sub.lean | 1f94c03e7b42686abdb13de162bb663834df1ce4 | [
"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 | 20,924 | 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
Subtraction on the natural numbers, as well as min, max, and distance.
-/
import .order
universes u v w
hott_theory
namespace hott
open hott.algebra ... |
5754e6e4d580f8621f07dfc604f65e259435aab1 | a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7 | /src/category_theory/limits/shapes/images.lean | 5f4dc56ef00e4416729abcaefc0b223457d7cbff | [
"Apache-2.0"
] | permissive | kmill/mathlib | ea5a007b67ae4e9e18dd50d31d8aa60f650425ee | 1a419a9fea7b959317eddd556e1bb9639f4dcc05 | refs/heads/master | 1,668,578,197,719 | 1,593,629,163,000 | 1,593,629,163,000 | 276,482,939 | 0 | 0 | null | 1,593,637,960,000 | 1,593,637,959,000 | null | UTF-8 | Lean | false | false | 19,018 | lean | /-
Copyright (c) 2019 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison, Markus Himmel
-/
import category_theory.limits.shapes.equalizers
import category_theory.limits.shapes.strong_epi
/-!
# Categorical images
We define the categorical im... |
159a4929f1f896c754dfef5d60b671e0e454cbc5 | 6b2a480f27775cba4f3ae191b1c1387a29de586e | /group_rep1/Tools/to_permutation.lean | 71261e140cec84c62b7bada567260106bafa3d29 | [] | no_license | Or7ando/group_representation | a681de2e19d1930a1e1be573d6735a2f0b8356cb | 9b576984f17764ebf26c8caa2a542d248f1b50d2 | refs/heads/master | 1,662,413,107,324 | 1,590,302,389,000 | 1,590,302,389,000 | 258,130,829 | 0 | 1 | null | null | null | null | UTF-8 | Lean | false | false | 753 | lean | import data.fintype.basic
import algebra.big_operators
import data.set.function
import data.equiv.basic
open finset
open equiv function fintype finset
universes u v
variables {α : Type u} {β : Type v}
lemma finset.prod_univ_perm_ [fintype α] [comm_monoid β] {f : α → β} (σ : perm α) :
(univ : finset α).prod f = uni... |
867f87ec660f3fa15c70338e582389df7a285c6c | 5d166a16ae129621cb54ca9dde86c275d7d2b483 | /library/init/category/monad.lean | 198abc3a44341c5b4e6bb0e968fd508f3e7e2e6f | [
"Apache-2.0"
] | permissive | jcarlson23/lean | b00098763291397e0ac76b37a2dd96bc013bd247 | 8de88701247f54d325edd46c0eed57aeacb64baf | refs/heads/master | 1,611,571,813,719 | 1,497,020,963,000 | 1,497,021,515,000 | 93,882,536 | 1 | 0 | null | 1,497,029,896,000 | 1,497,029,896,000 | null | UTF-8 | Lean | false | false | 4,086 | lean | /-
Copyright (c) Luke Nelson and Jared Roesch. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura, Luke Nelson, Jared Roesch, Sebastian Ullrich
-/
prelude
import init.category.applicative
universes u v
open function
class has_bind (m : Type u → Type v) ... |
89a6b0436bcaac2026b241df93bce611631ff23c | 75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2 | /library/data/finset/comb.lean | 595f6899eb329931299b793f2d2280bf0785e180 | [
"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 | 18,772 | 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, Jeremy Avigad
Combinators for finite sets.
-/
import data.finset.basic logic.identities
open list quot subtype decidable perm function
namespace finset
/- i... |
3e1589279cfb9387f325f7d82a399d3fdef4bed9 | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/io_process_echo.lean | 7168d00fa4dc06e9c2ead1e89c0d9f9c78007cad | [
"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 | 153 | lean | import system.io
def main : io unit := do
handle ← io.cmd {cmd := "echo", args := ["Hello World!"]},
io.put_str handle,
return ()
#eval main
|
f4864f041316431437bb3537cddf9bfed8012bee | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/deprecated/subgroup.lean | f9db55de6b81444563ef52ae379a4162821f74ec | [
"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 | 25,096 | 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, Mitchell Rowett, Scott Morrison, Johan Commelin, Mario Carneiro,
Michael Howes
-/
import group_theory.subgroup.basic
import deprecated.submonoid
/-!
# Unbundled subgr... |
c8a4afa150392fe89eafa1a8ac8c35b8fa9fd735 | 8f0ea954c1cc4f4cda83826954d6186c68fc9536 | /hott/homotopy/homotopy_group.hlean | c556b54bb22d6d96a42fffc32d0c68f189308272 | [
"Apache-2.0"
] | permissive | piyush-kurur/lean | fb3cbd339dfa8c70c49559fbea88ac0d3102b8ca | a8db8bc61a0b00379b3d0be8ecaf0d0858dc82ee | refs/heads/master | 1,594,387,140,961 | 1,457,548,608,000 | 1,457,909,538,000 | 53,615,930 | 0 | 0 | null | 1,457,642,939,000 | 1,457,642,939,000 | null | UTF-8 | Lean | false | false | 1,653 | hlean | /-
Copyright (c) 2016 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Floris van Doorn, Clive Newstead
-/
import algebra.homotopy_group .connectedness
open eq is_trunc trunc_index pointed algebra trunc nat homotopy fiber pointed
namespace is_trunc
... |
58d84c4d662b8723f7244b785116225d33c0ed3c | 66a6486e19b71391cc438afee5f081a4257564ec | /homotopy/EM.hlean | 02fe3c8caaed2269dc91c837cdfb10d2a133a655 | [
"Apache-2.0"
] | permissive | spiceghello/Spectral | c8ccd1e32d4b6a9132ccee20fcba44b477cd0331 | 20023aa3de27c22ab9f9b4a177f5a1efdec2b19f | refs/heads/master | 1,611,263,374,078 | 1,523,349,717,000 | 1,523,349,717,000 | 92,312,239 | 0 | 0 | null | 1,495,642,470,000 | 1,495,642,470,000 | null | UTF-8 | Lean | false | false | 28,965 | hlean | -- Authors: Floris van Doorn
import homotopy.EM algebra.category.functor.equivalence types.pointed2 ..pointed_pi ..pointed
..move_to_lib .susp ..algebra.exactness ..univalent_subcategory
open eq equiv is_equiv algebra group nat pointed EM.ops is_trunc trunc susp function is_conn nat
/- TODO: try to fix the co... |
9de2f9bb9baefb0001f7e22fce8144bc07e7e53c | 77c5b91fae1b966ddd1db969ba37b6f0e4901e88 | /src/data/complex/exponential.lean | 6cd293b5aba50c2144b651cf9d88d7b267794118 | [
"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 | 63,202 | lean | /-
Copyright (c) 2018 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes, Abhimanyu Pallavi Sudhir
-/
import algebra.geom_sum
import data.complex.basic
import data.nat.choose.sum
/-!
# Exponential, trigonometric and hyperbolic trigonometric func... |
dbf6e1d04a5db36bbbc6d82cd8c18413946860ce | bbecf0f1968d1fba4124103e4f6b55251d08e9c4 | /src/data/real/ennreal.lean | 35e535d444aabe84e7d57231920b41aae82e9ca8 | [
"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 | 68,638 | 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 data.real.nnreal
import data.set.intervals
/-!
# Extended non-negative reals
We define `ennreal = ℝ≥0∞ := with_top ℝ≥0` to be the type of ex... |
56f0a665c0a672029291a804061e82ac0d6e2809 | 2eab05920d6eeb06665e1a6df77b3157354316ad | /src/group_theory/free_abelian_group.lean | 218d25a9484387d3bd094a369381e52be43d2ae1 | [
"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 | 19,470 | lean | /-
Copyright (c) 2018 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau
-/
import algebra.group.pi
import group_theory.free_group
import group_theory.abelianization
import algebra.module.basic -- we use the ℤ-module structure on an add_comm_group in ... |
18a4571a7a2d999bee4710fd62ca6d8c07238608 | 618003631150032a5676f229d13a079ac875ff77 | /src/order/pilex.lean | d95bae11ef0aed5ba4c805c9458de0ba702d1775 | [
"Apache-2.0"
] | permissive | awainverse/mathlib | 939b68c8486df66cfda64d327ad3d9165248c777 | ea76bd8f3ca0a8bf0a166a06a475b10663dec44a | refs/heads/master | 1,659,592,962,036 | 1,590,987,592,000 | 1,590,987,592,000 | 268,436,019 | 1 | 0 | Apache-2.0 | 1,590,990,500,000 | 1,590,990,500,000 | null | UTF-8 | Lean | false | false | 4,062 | lean | /-
Copyright (c) 2019 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes
-/
import algebra.pi_instances
variables {ι : Type*} {β : ι → Type*} (r : ι → ι → Prop)
(s : Π {i}, β i → β i → Prop)
def pi.lex (x y : Π i, β i) : Prop :=
∃ i, (∀ j, r ... |
fac5463b26a9d906ec94c8ce38670d675c3627b2 | 618003631150032a5676f229d13a079ac875ff77 | /src/tactic/explode.lean | 75fb3378b87ba8c4f919921fe49aa1f443852bfc | [
"Apache-2.0"
] | permissive | awainverse/mathlib | 939b68c8486df66cfda64d327ad3d9165248c777 | ea76bd8f3ca0a8bf0a166a06a475b10663dec44a | refs/heads/master | 1,659,592,962,036 | 1,590,987,592,000 | 1,590,987,592,000 | 268,436,019 | 1 | 0 | Apache-2.0 | 1,590,990,500,000 | 1,590,990,500,000 | null | UTF-8 | Lean | false | false | 6,052 | lean | /-
Copyright (c) 2018 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Mario Carneiro
-/
import tactic.core
/-!
# `#explode` command
Displays a proof term in a line by line format somewhat akin to a Fitch style
proof or the Metamath proof style.
-/
open ... |
b5c257884bf2085b8b865884bdf3ea26b96e2263 | 09b3e1beaeff2641ac75019c9f735d79d508071d | /Mathlib/Function.lean | 343d205b0977c2a12cf410382b13758f2e3e8a88 | [
"Apache-2.0"
] | permissive | abentkamp/mathlib4 | b819079cc46426b3c5c77413504b07541afacc19 | f8294a67548f8f3d1f5913677b070a2ef5bcf120 | refs/heads/master | 1,685,309,252,764 | 1,623,232,534,000 | 1,623,232,534,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 5,712 | 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, Haitao Zhang
-/
-- a port of core Lean `init/function.lean`
/-!
# General operations on functions
-/
universes u₁ u₂ u₃ u₄
namespace Function... |
af4e286e19aee1ddb8bf3f063205177cf8c672ea | 64874bd1010548c7f5a6e3e8902efa63baaff785 | /tests/lean/run/tree2.lean | 7d1a6841e0e816518d90a9198318def406d725c1 | [
"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 | 2,037 | lean | import logic data.prod
open eq.ops prod tactic
inductive tree (A : Type) :=
leaf : A → tree A,
node : tree A → tree A → tree A
inductive one.{l} : Type.{max 1 l} :=
star : one
set_option pp.universes true
namespace tree
namespace manual
section
universe variables l₁ l₂
variable {A : Type.{l₁}}
varia... |
caaac467b082837c8250908bef413a2e1f9bb324 | 500f65bb93c499cd35c3254d894d762208cae042 | /src/data/option/basic.lean | ca1f78fac6cbc243ccf1f298c2f0cec3ece94f7b | [
"Apache-2.0"
] | permissive | PatrickMassot/mathlib | c39dc0ff18bbde42f1c93a1642f6e429adad538c | 45df75b3c9da159fe3192fa7f769dfbec0bd6bda | refs/heads/master | 1,623,168,646,390 | 1,566,940,765,000 | 1,566,940,765,000 | 115,220,590 | 0 | 1 | null | 1,514,061,524,000 | 1,514,061,524,000 | null | UTF-8 | Lean | false | false | 5,983 | 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.basic data.bool data.option.defs tactic.basic
namespace option
variables {α : Type*} {β : Type*} {γ : Type*}
@[simp] theorem get_mem : ∀ {o : option α}... |
3ebc731bd82d6d54036bf464c66d014cbeac2be5 | b7fc5b86b12212bea5542eb2c9d9f0988fd78697 | /src/exercises_sources/friday/manifolds.lean | 1a0cdc45fce58f98ac944ebe5fa2a7b412f81a08 | [] | no_license | stjordanis/lftcm2020 | 3b16591aec853c8546d9c8b69c0bf3f5f3956fee | 1f3485e4dafdc587b451ec5144a1d8d3ec9b411e | refs/heads/master | 1,675,958,865,413 | 1,609,901,722,000 | 1,609,901,722,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 32,578 | lean | import ...for_mathlib.manifolds
noncomputable theory
open_locale manifold classical big_operators
open set
universe u
/-!
## Reminder on updating the exercises
These instructions are now available at:
https://leanprover-community.github.io/lftcm2020/exercises.html
To get a new copy of the exercises,
run the foll... |
f414d41c53674522b7680788468a44e38f395c25 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/ring_theory/localization/integral.lean | 3ffbf6a9d4928368c6ed50a280be20f79ef8a80b | [
"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 | 19,606 | 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, Johan Commelin, Amelia Livingston, Anne Baanen
-/
import data.polynomial.lifts
import group_theory.monoid_localization
import ring_theory.algebraic
import ring_th... |
d2682938ee8e40b2e6f3802397500b91e0601746 | d1a52c3f208fa42c41df8278c3d280f075eb020c | /stage0/src/Lean/Elab/BuiltinCommand.lean | d09f32283c40a603b525645f5b2dc512d4c0b447 | [
"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 | 15,565 | 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.DocString
import Lean.Elab.Command
import Lean.Elab.Open
namespace Lean.Elab.Command
@[builtinCommandElab moduleDoc] def elabModuleDoc : Comma... |
870f5c3383a2593e4549f460858ec0aa63cd42c4 | b7f22e51856f4989b970961f794f1c435f9b8f78 | /tests/lean/run/695e.lean | 450d76a5601b9a5ee86bcf824234cf809f9232d3 | [
"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 | 85 | lean | import data.nat
open nat
example (n : ℕ) : n + 1 = succ n :=
by rewrite [-add_one]
|
7bbdfa0cdc62ad44c092b559fc6091c720bf4fa9 | 200b12985a863d01fbbde6abfc9326bb82424a8b | /src/propLogic/Ex008.lean | 7ccccb7f841a7cc90f27f4d1f34cc679461e2e39 | [] | no_license | SvenWille/LeanLogicExercises | 38eacd36733ac48e5a7aacf863c681c9a9a48271 | 2dbc920feadd63bbc50f87e69646c0081db26eba | refs/heads/master | 1,629,676,667,365 | 1,512,161,459,000 | 1,512,161,459,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 655 | lean | open classical
theorem Ex008(a b : Prop): ¬(a ∧ b) → (¬a ∨ ¬b) :=
assume H1:¬(a ∧ b),
have tmp:¬¬(¬a ∨ ¬b),from not.intro
(
assume H2:¬(¬a ∨ ¬b),
have ¬a,from not.intro
(
assume H3:a,
have A:¬b,from not.intro
(
assume H4:b,
have tmp2:(a ∧ b), from an... |
3b457fc333d95fd80a9d6639ba18f29378d95853 | 9028d228ac200bbefe3a711342514dd4e4458bff | /src/linear_algebra/tensor_algebra.lean | 708cafa186d107a8efd5d085921f1cf42da16d48 | [
"Apache-2.0"
] | permissive | mcncm/mathlib | 8d25099344d9d2bee62822cb9ed43aa3e09fa05e | fde3d78cadeec5ef827b16ae55664ef115e66f57 | refs/heads/master | 1,672,743,316,277 | 1,602,618,514,000 | 1,602,618,514,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 4,358 | lean | /-
Copyright (c) 2020 Adam Topaz. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Adam Topaz.
-/
import algebra.free_algebra
import algebra.ring_quot
/-!
# Tensor Algebras
Given a commutative semiring `R`, and an `R`-module `M`, we construct the tensor algebra of `M`.
... |
970d0da34f11716774276f079430533616101195 | 77c5b91fae1b966ddd1db969ba37b6f0e4901e88 | /src/group_theory/perm/cycle_type.lean | ec381d92cf7532d8cc9cdb34e9842fb3f1395ef8 | [
"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 | 26,291 | lean | /-
Copyright (c) 2020 Thomas Browning. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Thomas Browning
-/
import algebra.gcd_monoid.multiset
import combinatorics.partition
import group_theory.perm.cycles
import ring_theory.int.basic
import tactic.linarith
/-!
# Cycle ... |
ce6903f207447bde0faf7c25f6b8e23276c4431a | c777c32c8e484e195053731103c5e52af26a25d1 | /src/topology/metric_space/hausdorff_dimension.lean | da666adf355ce4f91612bece896c39e7d1bc56c0 | [
"Apache-2.0"
] | permissive | kbuzzard/mathlib | 2ff9e85dfe2a46f4b291927f983afec17e946eb8 | 58537299e922f9c77df76cb613910914a479c1f7 | refs/heads/master | 1,685,313,702,744 | 1,683,974,212,000 | 1,683,974,212,000 | 128,185,277 | 1 | 0 | null | 1,522,920,600,000 | 1,522,920,600,000 | null | UTF-8 | Lean | false | false | 22,820 | 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 measure_theory.measure.hausdorff
/-!
# Hausdorff dimension
The Hausdorff dimension of a set `X` in an (extended) metric space is the unique number
`dimH s ... |
8793b0810f9e423b10e500801eec467cbc71d010 | 82e44445c70db0f03e30d7be725775f122d72f3e | /src/field_theory/galois.lean | 6fbb6430b6d0f9e613c46b2e7b636a116b434c4a | [
"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 | 18,826 | 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.normal
import field_theory.primitive_element
import field_theory.fixed
import ring_theory.power_basis
/-!
# Galois... |
f59b5090e42b7ba33f7769d0f4384352f23feb35 | f57749ca63d6416f807b770f67559503fdb21001 | /hott/core.hlean | 5c23ff06d59db8d4eee5a6350d06d4f5bf3f4ad7 | [
"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 | 240 | 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
The core of the HoTT library
-/
import types
import hit.circle
import algebra.hott
|
4b1a2f553d2ab3397514a5d500b1268a778a7f14 | cc060cf567f81c404a13ee79bf21f2e720fa6db0 | /lean/mwe.lean | 40efaa9267c1252e38d31db231ff733d3b6d903d | [
"Apache-2.0"
] | permissive | semorrison/proof | cf0a8c6957153bdb206fd5d5a762a75958a82bca | 5ee398aa239a379a431190edbb6022b1a0aa2c70 | refs/heads/master | 1,610,414,502,842 | 1,518,696,851,000 | 1,518,696,851,000 | 78,375,937 | 2 | 1 | null | null | null | null | UTF-8 | Lean | false | false | 487 | lean | structure C1 := (a: unit)
structure C2 extends C1
attribute [class] C1 C2
instance : has_coe C2 C1 := ⟨C2.to_C1⟩
instance C2_to_C1 [ c2: C2 ] : C1 := c2
definition X1: C1 := { a := unit.star }
definition X2: C2 := { a := unit.star }
definition f (c: C1) := ()
definition works_fine := f X1
definition doesnt_work :=... |
198bab1a53868e2f860fae3e4672bc28ad9be7e3 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/ring_theory/dedekind_domain/finite_adele_ring.lean | 78cf47915dd32db133de8299922d3f6a8d21753e | [
"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,190 | lean | /-
Copyright (c) 2023 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
-/
import ring_theory.dedekind_domain.adic_valuation
/-!
# The finite adèle ring of a Dedekind domain
> THIS FILE IS SYNCHRONIZED WITH... |
259ac7c9e8ced6ccc1ee6daed6209fc6fbb61514 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/data/W/cardinal.lean | 251c034ee7beda28bf5128726923a4dfcceb7b07 | [
"Apache-2.0"
] | permissive | leanprover-community/mathlib | 56a2cadd17ac88caf4ece0a775932fa26327ba0e | 442a83d738cb208d3600056c489be16900ba701d | refs/heads/master | 1,693,584,102,358 | 1,693,471,902,000 | 1,693,471,902,000 | 97,922,418 | 1,595 | 352 | Apache-2.0 | 1,694,693,445,000 | 1,500,624,130,000 | Lean | UTF-8 | Lean | false | false | 2,766 | 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.basic
import set_theory.cardinal.ordinal
/-!
# Cardinality of W-types
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> Any changes to this file require a corr... |
ef733b716341a3390274aec1d05d98d27fdb8dce | 59aed81a2ce7741e690907fc374be338f4f88b6f | /src/chromatic_index.lean | f339f6049d4ccdc585f6dc9727ba0cab7b8876a4 | [] | no_license | agusakov/math-688-lean | c84d5e1423eb208a0281135f0214b91b30d0ef48 | 67dc27ebff55a74c6b5a1c469ba04e7981d2e550 | refs/heads/main | 1,679,699,340,788 | 1,616,602,782,000 | 1,616,602,782,000 | 332,894,454 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 383 | lean | import combinatorics.simple_graph.basic
namespace simple_graph
universes u v
variables {V : Type u} (G : simple_graph V)
def incident (e f : sym2 V) : Prop := ∃ (v : V), v ∈ e ∧ v ∈ f
@[ext]
structure edge_coloring (β : Type v) :=
(color : G.edge_set → β)
(valid : ∀ e f ∈ G.edge_set, incident e f → color e ≠ color f... |
32d52b4b990f09f1d099520f6e8096349274b05b | 46125763b4dbf50619e8846a1371029346f4c3db | /src/category_theory/equivalence.lean | 3b7f8215661197d33b3bf8f2eb9a19cb76aafbed | [
"Apache-2.0"
] | permissive | thjread/mathlib | a9d97612cedc2c3101060737233df15abcdb9eb1 | 7cffe2520a5518bba19227a107078d83fa725ddc | refs/heads/master | 1,615,637,696,376 | 1,583,953,063,000 | 1,583,953,063,000 | 246,680,271 | 0 | 0 | Apache-2.0 | 1,583,960,875,000 | 1,583,960,875,000 | null | UTF-8 | Lean | false | false | 14,358 | lean | /-
Copyright (c) 2017 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Tim Baumann, Stephen Morgan, Scott Morrison, Floris van Doorn
-/
import category_theory.fully_faithful
import category_theory.whiskering
import category_theory.natural_isomorphism
impo... |
6b585a6963ca84f596f8754e170a82f6e21eef15 | 97f752b44fd85ec3f635078a2dd125ddae7a82b6 | /hott/algebra/category/constructions/functor.hlean | 93534f2c18719169238c155588c88320aba31db2 | [
"Apache-2.0"
] | permissive | tectronics/lean | ab977ba6be0fcd46047ddbb3c8e16e7c26710701 | f38af35e0616f89c6e9d7e3eb1d48e47ee666efe | refs/heads/master | 1,532,358,526,384 | 1,456,276,623,000 | 1,456,276,623,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 16,111 | hlean | /-
Copyright (c) 2015 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Floris van Doorn, Jakob von Raumer
Functor precategory and category
-/
import ..nat_trans ..category .opposite
open eq category is_trunc nat_trans iso is_equiv category.hom
names... |
88c05ffd67bfe0adb2f10579e5e764be7612c3fb | cf39355caa609c0f33405126beee2739aa3cb77e | /library/init/meta/backward.lean | 834cf2baf940f563057cf40503c15f5d44495e3b | [
"Apache-2.0"
] | permissive | leanprover-community/lean | 12b87f69d92e614daea8bcc9d4de9a9ace089d0e | cce7990ea86a78bdb383e38ed7f9b5ba93c60ce0 | refs/heads/master | 1,687,508,156,644 | 1,684,951,104,000 | 1,684,951,104,000 | 169,960,991 | 457 | 107 | Apache-2.0 | 1,686,744,372,000 | 1,549,790,268,000 | C++ | UTF-8 | Lean | false | false | 3,022 | lean | /-
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
prelude
import init.meta.tactic init.meta.set_get_option_tactics
namespace tactic
meta constant back_lemmas : Type
/-- Create a datastructure containing a... |
114ce6853c02aa7322f265ae2a2fae772bff3933 | b561a44b48979a98df50ade0789a21c79ee31288 | /src/Leanc.lean | 16c2b84bcbb8868771ee4dd2df6eb6dfb7d37847 | [
"Apache-2.0"
] | permissive | 3401ijk/lean4 | 97659c475ebd33a034fed515cb83a85f75ccfb06 | a5b1b8de4f4b038ff752b9e607b721f15a9a4351 | refs/heads/master | 1,693,933,007,651 | 1,636,424,845,000 | 1,636,424,845,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 2,169 | lean | def main (args : List String) : IO UInt32 := do
if args.isEmpty then
IO.println "Lean C compiler
A simple wrapper around a C compiler. Defaults to `@LEANC_CC@`,
which can be overridden with the environment variable `LEAN_CC`. All parameters are passed
as-is to the wrapped compiler.
Interesting options:
* `-U LE... |
74622adefe8fb1053652f581f86cb2605aa89e90 | c61b91f85121053c627318ad8fcde30dfb8637d2 | /Chapter3/3-3.lean | 61e62f418faf2b6001f6ea007e7152b4ce596b83 | [] | no_license | robkorn/theorem-proving-in-lean-exercises | 9e2256360eaf6f8df6cdd8fd656e63dfb04c8cdb | 9c51da587105ee047a9db55d52709d881a39be7a | refs/heads/master | 1,585,403,341,988 | 1,540,142,619,000 | 1,540,142,619,000 | 148,431,678 | 2 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 2,107 | lean |
variables p q : Prop
#check p → q → p ∧ q
#check ¬p -> p ↔ false
#check p ∨ q → q ∨ p
namespace conjunction
example (hp : p) (hq : q) : p ∧ q := and.intro hp hq
#check assume (hp : p) (hq : q), and.intro hp hq
example (h : p ∧ q) : p := and.elim_left h
example (h : p ∧ q) : q := and.el... |
701875f91380bed67c31b7ff4972b533670e1345 | 624f6f2ae8b3b1adc5f8f67a365c51d5126be45a | /stage0/src/Init/Control/Except.lean | fdc4ef055d5a41794f7807f779b670a123871aec | [
"Apache-2.0"
] | permissive | mhuisi/lean4 | 28d35a4febc2e251c7f05492e13f3b05d6f9b7af | dda44bc47f3e5d024508060dac2bcb59fd12e4c0 | refs/heads/master | 1,621,225,489,283 | 1,585,142,689,000 | 1,585,142,689,000 | 250,590,438 | 0 | 2 | Apache-2.0 | 1,602,443,220,000 | 1,585,327,814,000 | C | UTF-8 | Lean | false | false | 7,097 | lean | /-
Copyright (c) 2017 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jared Roesch, Sebastian Ullrich
The Except monad transformer.
-/
prelude
import Init.Control.Alternative
import Init.Control.Lift
import Init.Data.ToString
universes u v w
ind... |
1c4546337bd73f9352e015ec7143c5625626fece | 1a61aba1b67cddccce19532a9596efe44be4285f | /library/data/rat/basic.lean | 2f7f5b6eb47bb7af757be199d2e4a639ac4f3a7c | [
"Apache-2.0"
] | permissive | eigengrau/lean | 07986a0f2548688c13ba36231f6cdbee82abf4c6 | f8a773be1112015e2d232661ce616d23f12874d0 | refs/heads/master | 1,610,939,198,566 | 1,441,352,386,000 | 1,441,352,494,000 | 41,903,576 | 0 | 0 | null | 1,441,352,210,000 | 1,441,352,210,000 | null | UTF-8 | Lean | false | false | 22,687 | lean | /-
Copyright (c) 2014 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Jeremy Avigad
The rational numbers as a field generated by the integers, defined as the usual quotient.
-/
import data.int algebra.field
open int quot eq.ops
record prerat : Type :=
(n... |
fca0f061327c4c3bbd1dc93b02b953461d5ff6a9 | 206422fb9edabf63def0ed2aa3f489150fb09ccb | /src/ring_theory/witt_vector/witt_polynomial.lean | 4afc8411d3cd093b9b2584a7f24c17d5d086d3af | [
"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 | 10,592 | lean | /-
Copyright (c) 2020 Johan Commelin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johan Commelin, Robert Y. Lewis
-/
import algebra.invertible
import data.mv_polynomial.variables
import data.mv_polynomial.comm_ring
import data.mv_polynomial.expand
import data.zmod.... |
3e02497faee515a8da2f27f6411e2d1d71fbc3c1 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/data/equiv/fin.lean | bd3b37a58682c36ebb4659cfa30e0c04c1e6fead | [] | no_license | AurelienSaue/Mathlib4_auto | f538cfd0980f65a6361eadea39e6fc639e9dae14 | 590df64109b08190abe22358fabc3eae000943f2 | refs/heads/master | 1,683,906,849,776 | 1,622,564,669,000 | 1,622,564,669,000 | 371,723,747 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 3,039 | lean | /-
Copyright (c) 2018 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Kenny Lau
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.data.fin
import Mathlib.data.equiv.basic
import Mathlib.PostPort
universes u
namespace Mathlib
/-!... |
ed1f5b218e137e4f042460d760123aad1550ba7f | 947fa6c38e48771ae886239b4edce6db6e18d0fb | /src/data/nat/part_enat.lean | c22ddee0b6d576c2fa13ae32e9468fca17677229 | [
"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 | 21,145 | lean | /-
Copyright (c) 2018 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes
-/
import algebra.hom.equiv
import data.part
import data.nat.lattice
import tactic.norm_num
/-!
# Natural numbers with infinity
The natural numbers and an extra `top` elem... |
98118c8543f0f81b78508ecc5d14c002edcd81ca | 1a61aba1b67cddccce19532a9596efe44be4285f | /tests/lean/hott/ind_tac4.hlean | b35a6f49dcb1a399afd8b8b0b5bef17ce2bcaf64 | [
"Apache-2.0"
] | permissive | eigengrau/lean | 07986a0f2548688c13ba36231f6cdbee82abf4c6 | f8a773be1112015e2d232661ce616d23f12874d0 | refs/heads/master | 1,610,939,198,566 | 1,441,352,386,000 | 1,441,352,494,000 | 41,903,576 | 0 | 0 | null | 1,441,352,210,000 | 1,441,352,210,000 | null | UTF-8 | Lean | false | false | 102 | hlean | import hit.circle
open circle
attribute circle.elim_on [recursor 2]
print [recursor] circle.elim_on
|
dc9aefd6b7e18b8c874bacec4d0dd306c80a738f | 4727251e0cd73359b15b664c3170e5d754078599 | /src/algebra/module/pointwise_pi.lean | 50e1153def811ba1290c92140d23330dc4920db3 | [
"Apache-2.0"
] | permissive | Vierkantor/mathlib | 0ea59ac32a3a43c93c44d70f441c4ee810ccceca | 83bc3b9ce9b13910b57bda6b56222495ebd31c2f | refs/heads/master | 1,658,323,012,449 | 1,652,256,003,000 | 1,652,256,003,000 | 209,296,341 | 0 | 1 | Apache-2.0 | 1,568,807,655,000 | 1,568,807,655,000 | null | UTF-8 | Lean | false | false | 1,617 | lean | /-
Copyright (c) 2021 Alex J. Best. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Alex J. Best
-/
import data.set.pointwise
import group_theory.group_action.pi
/-!
# Pointwise actions on sets in Pi types
This file contains lemmas about pointwise actions on sets in P... |
ac19ef23020827c123d3187e9c35b60d28d5daa0 | 5749d8999a76f3a8fddceca1f6941981e33aaa96 | /src/ring_theory/algebra.lean | 2e1722a732211e74db43f4f7d1093874d39f0a93 | [
"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 | 22,527 | lean | /-
Copyright (c) 2018 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau
Algebra over Commutative Ring (under category)
-/
import data.polynomial data.mv_polynomial
import data.complex.basic
import data.matrix.basic
import linear_algebra.tensor_produ... |
f64efa22c78fa1246f22fdfe3efe286ea28bb9c2 | 737dc4b96c97368cb66b925eeea3ab633ec3d702 | /stage0/src/Lean/Meta/Match/CaseValues.lean | f6d5739c89bbcae91fe03f320568725ee7bb8b17 | [
"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 | 4,557 | lean | /-
Copyright (c) 2020 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
import Lean.Meta.Tactic.Subst
import Lean.Meta.Tactic.Clear
import Lean.Meta.Match.Value
namespace Lean.Meta
structure CaseValueSubgoal where
mvarId : M... |
f3e7e0a067cb5e38b3e8539fdeced17cf9fb1fd3 | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/algebra/group/commute.lean | 0a52ee04dedeec6acb23ed7dc6c7fb691f12459e | [
"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 | 7,680 | lean | /-
Copyright (c) 2019 Neil Strickland. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Neil Strickland, Yury Kudryashov
-/
import algebra.group.semiconj
/-!
# Commuting pairs of elements in monoids
We define the predicate `commute a b := a * b = b * a` and provide som... |
8812078e48c95e218cfa8aa5e807b5aa6905ed59 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/analysis/convex/specific_functions/basic.lean | e79cfe707bc79cec77a47502aacb2632d24e31fe | [
"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 | 12,412 | lean | /-
Copyright (c) 2020 Yury Kudryashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yury Kudryashov, Sébastien Gouëzel, Heather Macbeth
-/
import analysis.convex.slope
import analysis.special_functions.pow.real
import tactic.linear_combination
/-!
# Collection of co... |
a46ca7486ad3c24b41e50f48c562973ba2506677 | 53618200bef52920c1e974173f78cd378d268f3e | /hott/types/sum.hlean | cf43ac59a49255134409efc78142c579f5fb24ce | [
"Apache-2.0"
] | permissive | sayantangkhan/lean2 | cc41e61102e0fcc8b65e8501186dcca40b19b22e | 0fc0378969678eec25ea425a426bb48a184a6db0 | refs/heads/master | 1,590,323,112,724 | 1,489,425,932,000 | 1,489,425,932,000 | 84,854,525 | 0 | 0 | null | 1,489,425,509,000 | 1,489,425,509,000 | null | UTF-8 | Lean | false | false | 15,620 | hlean | /-
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 sums/coproducts/disjoint unions
-/
import .pi .equiv logic
open lift eq is_equiv equiv prod prod.ops is_trunc sigma bool
namespace sum
universe v... |
4799b1df5727ecc9a57fbf9a8a7093a656e3cce8 | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/linear_algebra/matrix/adjugate.lean | 9083adee09b76466b8cd75b914518eef3126ffce | [
"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 | 18,885 | lean | /-
Copyright (c) 2019 Anne Baanen. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Anne Baanen
-/
import algebra.associated
import algebra.regular.basic
import linear_algebra.matrix.mv_polynomial
import linear_algebra.matrix.polynomial
import ring_theory.polynomial.basi... |
6047656a78fc28e4dee0dd6a7b6cfe9925d2598c | 302c785c90d40ad3d6be43d33bc6a558354cc2cf | /src/measure_theory/measure_space.lean | ff20a078490a95178eee369dd75a9bc18d67ac46 | [
"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 | 117,338 | 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 measure_theory.outer_measure
import order.filter.countable_Inter
import data.set.accumulate
/-!
# Measure spaces
Given a measurable space `α`... |
e8e3183878755d5efbf1799fd2dbad6631c0b0b9 | 32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7 | /src/Lean/Meta/Check.lean | bbaa12796517e55a49f9fe42ad5680b5523737df | [
"Apache-2.0"
] | permissive | walterhu1015/lean4 | b2c71b688975177402758924eaa513475ed6ce72 | 2214d81e84646a905d0b20b032c89caf89c737ad | refs/heads/master | 1,671,342,096,906 | 1,599,695,985,000 | 1,599,695,985,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 3,711 | 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.InferType
/-
This is not the Kernel type checker, but an auxiliary method for checking
whether terms produced by tactics and `isDefEq` are... |
e38769e514c9f9a255a94f67b4b1b9903092dad4 | 35677d2df3f081738fa6b08138e03ee36bc33cad | /src/algebra/ordered_field.lean | ef9d2591aef98ea5f4038e4de638c9cb453942c5 | [
"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 | 9,230 | lean | /-
Copyright (c) 2018 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
-/
import algebra.ordered_ring algebra.field
section linear_ordered_field
variables {α : Type*} [linear_ordered_field α] {a b c d : α}
lemma div_pos : 0 < a → 0 < b → ... |
4e746494f9f136cd3ce8f649ff940c0a37fd0bd2 | 35677d2df3f081738fa6b08138e03ee36bc33cad | /src/data/equiv/encodable.lean | fab1f3337df0cf3acb53e950c6f92dcaef253ae7 | [
"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,343 | 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.equiv.nat order.order_iso
open option list nat func... |
321a117f68d97cf755f1cf0dcd56f8a660829304 | 947b78d97130d56365ae2ec264df196ce769371a | /stage0/src/Lean/Meta/Closure.lean | fccd3681953e150350cb96e7a40d44e999b3d758 | [
"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 | 14,587 | lean | /-
Copyright (c) 2020 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
import Std.ShareCommon
import Lean.MetavarContext
import Lean.Environment
import Lean.Util.FoldConsts
import Lean.Meta.Basic
import Lean.Meta.Check
/-
Thi... |
f18f6cba94121ff1c2539161ad7f474deb5a6dad | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/linear_algebra/affine_space/affine_equiv.lean | c81fc970ecac9584e9a584288bd54dc07b730998 | [
"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 | 18,953 | lean | /-
Copyright (c) 2020 Yury G. Kudryashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yury G. Kudryashov
-/
import linear_algebra.affine_space.affine_map
import linear_algebra.general_linear_group
import algebra.invertible
/-!
# Affine equivalences
> THIS FILE IS ... |
7c3fb714c3e41778938973f7745c1a4ce847a57a | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/algebra/category/Group/subobject.lean | 07506cf2a8e19ee829141708ae2a41de45222461 | [
"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 | 533 | 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 algebra.category.Group.Z_Module_equivalence
import algebra.category.Module.subobject
/-!
# The category of abelian groups is well-powered
-/
open category_theo... |
1b2bac5da46a6a2186e50e359056ef592bdcd69c | 07f5f86b00fed90a419ccda4298d8b795a68f657 | /library/init/data/ordering/lemmas.lean | 91bc58ad8e42f79da0d09c6d6daba237909cc29d | [
"Apache-2.0"
] | permissive | VBaratham/lean | 8ec5c3167b4835cfbcd7f25e2173d61ad9416b3a | 450ca5834c1c35318e4b47d553bb9820c1b3eee7 | refs/heads/master | 1,629,649,471,814 | 1,512,060,373,000 | 1,512,060,469,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 2,127 | lean | /-
Copyright (c) 2017 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
prelude
import init.data.ordering.basic init.meta init.algebra.classes init.ite_simp
set_option default_priority 100
universes u
namespace ordering
/- Del... |
a4ef0217dc58bb23db9e1d75d2f2c7c92286a30b | 54ce0561cebde424526f41d45f490ed56be2bd0c | /src/game/intro.lean | 23aaee63d0bf00202c2226e41730527e99272d26 | [] | no_license | melembroucarlitos/Tao_Analysis-LEAN | cf7b3298d317891a09e4bf21cfe7c7ffcb57b9a9 | 3f4fc7e090d96b6cef64896492fba4bef124794b | refs/heads/master | 1,692,952,385,694 | 1,636,287,522,000 | 1,636,287,522,000 | 400,630,166 | 3 | 0 | null | 1,635,910,807,000 | 1,630,096,823,000 | Lean | UTF-8 | Lean | false | false | 155 | lean | -- Level name : Intro
/-
# Hey yall
## This is just to a placeholder to make sure all is working
these are some words
and these are some other words
-/
|
eaf62de0a026c4eda01213536e114309215086ab | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/algebra/punit_instances.lean | e0d96bc9658da1d8a964d935c25b2d190c8b390e | [
"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,611 | lean | /-
Copyright (c) 2019 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau
-/
import algebra.module.basic
import algebra.gcd_monoid.basic
import algebra.group_ring_action
import group_theory.group_action.defs
/-!
# Instances on punit
This file collect... |
c8af45e14f50641be6d0d002041414fd55affb37 | 35677d2df3f081738fa6b08138e03ee36bc33cad | /src/geometry/manifold/smooth_manifold_with_corners.lean | e13c065092147d490cb1deb34c383f66c5de7817 | [
"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 | 25,407 | lean | /-
Copyright (c) 2019 Sébastien Gouëzel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sébastien Gouëzel
-/
import analysis.calculus.times_cont_diff geometry.manifold.manifold
/-!
# Smooth manifolds (possibly with boundary or corners)
A smooth manifold is a manifol... |
15b1d4e07b4d474ebfb26eee07b195205bac8c3b | 26bff4ed296b8373c92b6b025f5d60cdf02104b9 | /tests/lean/hott/rw_eta.hlean | a733af89c00827c2c91966331ae46f393c053727 | [
"Apache-2.0"
] | permissive | guiquanz/lean | b8a878ea24f237b84b0e6f6be2f300e8bf028229 | 242f8ba0486860e53e257c443e965a82ee342db3 | refs/heads/master | 1,526,680,092,098 | 1,427,492,833,000 | 1,427,493,281,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 815 | hlean | open eq is_equiv funext
constant f : nat → nat → nat
example : (λ x y : nat, f x y) = f :=
rfl
namespace hide
variables {A : Type} {B : A → Type} {C : Πa, B a → Type}
definition homotopy2 [reducible] (f g : Πa b, C a b) : Type :=
Πa b, f a b = g a b
notation f `∼2`:50 g := homotopy2 f g
definition eq_of_homotopy2... |
cb9ff1a9ae73d11c389563c49515ef945a2e5745 | 64874bd1010548c7f5a6e3e8902efa63baaff785 | /hott/init/axioms/funext_varieties.hlean | e4b29b466a52485be6ee0d5f4f5fabe350a95307 | [
"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 | 4,414 | hlean | -- Copyright (c) 2014 Jakob von Raumer. All rights reserved.
-- Released under Apache 2.0 license as described in the file LICENSE.
-- Authors: Jakob von Raumer
-- Ported from Coq HoTT
prelude
import ..path ..trunc ..equiv .funext
open eq truncation sigma function
/- In hott.axioms.funext, we defined function extensi... |
bdd3c84c7dd19ff90c67941a05f891843eac88c2 | b2e508d02500f1512e1618150413e6be69d9db10 | /src/category_theory/limits/shapes/pullbacks.lean | 5062bad094d3ebe5ec2207cbd4b7af15cae68779 | [
"Apache-2.0"
] | permissive | callum-sutton/mathlib | c3788f90216e9cd43eeffcb9f8c9f959b3b01771 | afd623825a3ac6bfbcc675a9b023edad3f069e89 | refs/heads/master | 1,591,371,888,053 | 1,560,990,690,000 | 1,560,990,690,000 | 192,476,045 | 0 | 0 | Apache-2.0 | 1,568,941,843,000 | 1,560,837,965,000 | Lean | UTF-8 | Lean | false | false | 7,543 | lean | -- Copyright (c) 2018 Scott Morrison. All rights reserved.
-- Released under Apache 2.0 license as described in the file LICENSE.
-- Authors: Scott Morrison
import category_theory.eq_to_hom
import category_theory.limits.cones
import category_theory.sparse
open category_theory
namespace category_theory.limits
univer... |
897eccabaa538558dd016766ef454aa9b83db0d5 | d6124c8dbe5661dcc5b8c9da0a56fbf1f0480ad6 | /Papyrus/IR/FunctionRef.lean | aaa1c2e002a6d9d3ccc6f7561c6b66c61c534419 | [
"Apache-2.0"
] | permissive | xubaiw/lean4-papyrus | c3fbbf8ba162eb5f210155ae4e20feb2d32c8182 | 02e82973a5badda26fc0f9fd15b3d37e2eb309e0 | refs/heads/master | 1,691,425,756,824 | 1,632,122,825,000 | 1,632,123,075,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 3,276 | lean | import Papyrus.Context
import Papyrus.IR.AddressSpace
import Papyrus.IR.CallingConvention
import Papyrus.IR.BasicBlockRef
import Papyrus.IR.GlobalRefs
import Papyrus.IR.ArgumentRef
import Papyrus.IR.TypeRefs
namespace Papyrus
/--
A reference to an external LLVM
[Function](https://llvm.org/doxygen/classllvm_1_1Fun... |
3ef4915c709ffd515470a64b77b0f0a466c329dc | 4fa161becb8ce7378a709f5992a594764699e268 | /src/measure_theory/integration.lean | 0fdfcb3c12ca015a741b980a3dc1dd4194b397a3 | [
"Apache-2.0"
] | permissive | laughinggas/mathlib | e4aa4565ae34e46e834434284cb26bd9d67bc373 | 86dcd5cda7a5017c8b3c8876c89a510a19d49aad | refs/heads/master | 1,669,496,232,688 | 1,592,831,995,000 | 1,592,831,995,000 | 274,155,979 | 0 | 0 | Apache-2.0 | 1,592,835,190,000 | 1,592,835,189,000 | null | UTF-8 | Lean | false | false | 56,772 | lean | /-
Copyright (c) 2018 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro, Johannes Hölzl
Lebesgue integral on `ennreal`.
We define simple functions and show that each Borel measurable function on `ennreal` can be
approximated by a sequence ... |
30d51d814848b380d48ade86191cc96ae1e22285 | 63abd62053d479eae5abf4951554e1064a4c45b4 | /src/data/polynomial/monic.lean | de9568012f696a4ebfd92109e96246ec6375358f | [
"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 | 9,662 | 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.degree
import algebra.associated
import tactic.omega
/-!
# Theory of monic polynomials
We give se... |
3dcf683c6dd40f96875cbbf009341e98b94eeab5 | bb31430994044506fa42fd667e2d556327e18dfe | /src/analysis/normed_space/star/gelfand_duality.lean | e391587d86287c4ac5684878cb51a0d3fd6de26d | [
"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 | 10,697 | lean | /-
Copyright (c) 2022 Jireh Loreaux. All rights reserved.
Reeased under Apache 2.0 license as described in the file LICENSE.
Authors: Jireh Loreaux
-/
import analysis.normed_space.star.spectrum
import analysis.normed.group.quotient
import analysis.normed_space.algebra
import topology.continuous_function.units
import to... |
7a9b24724343246dea9e54f8506bb2d8435d4039 | 94096349332b0a0e223a22a3917c8f253cd39235 | /src/solutions/world2_multiplication.lean | 2309d8fd8c4aabda52e741720fbbe6b83dc06668 | [] | no_license | robertylewis/natural_number_game | 26156e10ef7b45248549915cc4d1ab3d8c3afc85 | b210c05cd627242f791db1ee3f365ee7829674c9 | refs/heads/master | 1,598,964,725,038 | 1,572,602,236,000 | 1,572,602,236,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 5,664 | lean | import solutions.world1_addition
import mynat.mul
/- Here's what you get from the import:
1) The following data:
* a function called mynat.mul, and notation a * b for this function
2) The following axioms:
* `mul_zero : ∀ a : mynat, a * 0 = 0`
* `mul_succ : ∀ a b : mynat, a * succ(b) = a * b + b`
These axio... |
0d53d1d97cf269ccd52d7ff2bd788bbc557954ea | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/model_theory/types.lean | ebda7d5a6855b17a42c91d1e00c89ea2f2610c1c | [
"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 | 5,492 | lean | /-
Copyright (c) 2022 Aaron Anderson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Aaron Anderson
-/
import model_theory.satisfiability
/-!
# Type Spaces
This file defines the space of complete types over a first-order theory.
(Note that types in model theory are di... |
8173d068675e5af972c7ebed2ad9499989983ebe | e9dbaaae490bc072444e3021634bf73664003760 | /src/Problems/2018/IMO_2018_P1.lean | a73ad19468bb9f47850ad72cf6510eac0bc6a1f7 | [
"Apache-2.0"
] | permissive | liaofei1128/geometry | 566d8bfe095ce0c0113d36df90635306c60e975b | 3dd128e4eec8008764bb94e18b932f9ffd66e6b3 | refs/heads/master | 1,678,996,510,399 | 1,581,454,543,000 | 1,583,337,839,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 519 | lean | import Geo.Geo.Core
namespace Geo
open Seg Triangle
def IMO_2018_P1 : Prop :=
∀ (A B C : Point),
acute ⟨A, B, C⟩ →
let Γ := Triangle.circumcircle ⟨A, B, C⟩;
∀ (D E : Point),
on D (Seg.mk A B) →
on E (Seg.mk A C) →
cong ⟨A, D⟩ ⟨A, E⟩ →
∀ (F G : Point),
intersectAt (perpBis ⟨B, D⟩) (Arc.buildMinor Γ A B) F →
intersect... |
11d3b4f5c4eee05efe3d480db8bd0bf7efc07eee | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/extra/eqn_macro2.lean | 3c8ceb71644ad739ca4d116e23ccd4b49864efc2 | [
"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 | 44 | lean | import eqn_macro1
open nat
eval foo (2, 3)
|
e7fbe593fba0279d2a496bef6412b2b09e6d4cb0 | 52b9f0379b3b0200088f3b2ec594d4dd3d3e6128 | /special_functions.lean | 5125c4d19daf9300107bc49aa17f04c81a26570e | [] | no_license | minchaowu/mathematica_examples | f83fdf092a136f157dde8119b8a75c2cd4d91aae | fcc65b0b9fcb854f8671c0ebbca77bb3c1a9ecc1 | refs/heads/master | 1,610,729,580,720 | 1,498,331,049,000 | 1,498,331,049,000 | 99,731,631 | 0 | 0 | null | 1,502,222,706,000 | 1,502,222,706,000 | null | UTF-8 | Lean | false | false | 3,538 | lean | /-
Copyright (c) 2017 Robert Y. Lewis. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Robert Y. Lewis
-/
import init.meta.mathematica .datatypes
open tactic
/-constant real : Type
notation `ℝ` := real
constant rof : linear_ordered_field ℝ
attribute [instance] rof-/
co... |
cdaa868323629ace90e4a47d052c36153d3612ab | 1dd482be3f611941db7801003235dc84147ec60a | /src/data/padics/hensel.lean | 8a3da3ba837886cd1c130cd3e99661c7fc0d0cfe | [
"Apache-2.0"
] | permissive | sanderdahmen/mathlib | 479039302bd66434bb5672c2a4cecf8d69981458 | 8f0eae75cd2d8b7a083cf935666fcce4565df076 | refs/heads/master | 1,587,491,322,775 | 1,549,672,060,000 | 1,549,672,060,000 | 169,748,224 | 0 | 0 | Apache-2.0 | 1,549,636,694,000 | 1,549,636,694,000 | null | UTF-8 | Lean | false | false | 20,858 | lean | /-
Copyright (c) 2018 Robert Y. Lewis. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Robert Y. Lewis
A proof of Hensel's lemma on ℤ_p, roughly following Keith Conrad's writeup:
http://www.math.uconn.edu/~kconrad/blurbs/gradnumthy/hensel.pdf
-/
import data.padics.pad... |
200b455ff9dd5f90b4e770b5ac11dcd5a2a54455 | 4767244035cdd124e1ce3d0c81128f8929df6163 | /data/finset.lean | b0b3909632b6f08b0281a2ae6089609fc18095ea | [
"Apache-2.0"
] | permissive | 5HT/mathlib | b941fecacd31a9c5dd0abad58770084b8a1e56b1 | 40fa9ade2f5649569639608db5e621e5fad0cc02 | refs/heads/master | 1,586,978,681,358 | 1,546,681,764,000 | 1,546,681,764,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 72,780 | 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, Jeremy Avigad, Minchao Wu, Mario Carneiro
Finite sets.
-/
import logic.embedding order.boolean_algebra algebra.order_functions
data.multiset data.sigma.basi... |
93fcf2aa1691f538c06af25db4aecb30f1c3344d | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/data/nat/choose/sum.lean | 2ef0c1c87c63b51029f857d1e85f98ec34fafe43 | [] | no_license | AurelienSaue/Mathlib4_auto | f538cfd0980f65a6361eadea39e6fc639e9dae14 | 590df64109b08190abe22358fabc3eae000943f2 | refs/heads/master | 1,683,906,849,776 | 1,622,564,669,000 | 1,622,564,669,000 | 371,723,747 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 2,775 | lean | /-
Copyright (c) 2018 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes, Patrick Stevens
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.data.nat.choose.basic
import Mathlib.tactic.linarith.default
import Mathlib.ta... |
591e63b29d2bde50dfa3cf90309f9e2f92835180 | bbecf0f1968d1fba4124103e4f6b55251d08e9c4 | /src/number_theory/fermat4.lean | 0bd814ab297b1ad9221d3d00abe4f938480b7a0a | [
"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 | 12,346 | lean | /-
Copyright (c) 2020 Paul van Wamelen. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Paul van Wamelen
-/
import number_theory.pythagorean_triples
import ring_theory.coprime.lemmas
/-!
# Fermat's Last Theorem for the case n = 4
There are no non-zero integers `a`, `b`... |
4fe5ed3b21d6d85ec2c9107a1cd848847e3dc25e | 62271bd7dd89226b0c7452b066ffe77a3508dd2a | /src/library_dev_extras/dmap.lean | 171c234daff4632aff797961e896f0ed93611be0 | [] | no_license | dselsam/library_dev_extras | 88b9bce036c25c4cff0f3c39c3178f24a5a5b382 | 302d631dfc40c6d69f921fd7bacf017e11e6e56c | refs/heads/master | 1,611,565,791,995 | 1,497,972,059,000 | 1,497,972,059,000 | 93,791,043 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 6,248 | lean | import library_dev.data.list.sort
open list
@[reducible] def pre_pdmap (K : Type) (V : K → Type) := list (Σ (k : K), V k)
namespace pre_pdmap
variables {K : Type} {V : K → Type}
def get [decidable_eq K] [∀ k, inhabited (V k)] (k₀ : K) : pre_pdmap K V → V k₀
| [] := default _
| (⟨k,v⟩::kvs) := if H : k = k... |
0ecb86977c4219ae1bb6e359f7d3d1f4e452aeca | 9b9a16fa2cb737daee6b2785474678b6fa91d6d4 | /src/data/list/alist.lean | 01d074ae36cfd16cc7c2652cce202c1ca513289c | [
"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 | 6,120 | lean | /-
Copyright (c) 2018 Sean Leather. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sean Leather, Mario Carneiro
Association lists.
-/
import data.list.sigma
universes u v w
open list
variables {α : Type u} {β : α → Type v}
/-- `alist β` is a key-value map stored as ... |
2c5e5550fd330db6a3ce690958c68d4c18654945 | 2eab05920d6eeb06665e1a6df77b3157354316ad | /src/ring_theory/integral_closure.lean | 2cd4d7d1cb19ac3339ba05b01b3a852732a6d17d | [
"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 | 33,060 | lean | /-
Copyright (c) 2019 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau
-/
import ring_theory.adjoin.fg
import ring_theory.polynomial.scale_roots
import ring_theory.polynomial.tower
/-!
# Integral closure of a subring.
If A is an R-algebra then `a :... |
bc2410fef56bf50874b1d7a402a69caa208e3a64 | 5fbbd711f9bfc21ee168f46a4be146603ece8835 | /lean/natural_number_game/proposition/6.lean | 036b6e8eb05dad219d9d64b14920583094144f87 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | goedel-gang/maths | 22596f71e3fde9c088e59931f128a3b5efb73a2c | a20a6f6a8ce800427afd595c598a5ad43da1408d | refs/heads/master | 1,623,055,941,960 | 1,621,599,441,000 | 1,621,599,441,000 | 169,335,840 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 140 | lean | example (P Q R : Prop) : (P → (Q → R)) → ((P → Q) → (P → R)) :=
begin
cc, -- we already did this in function world anyway
end
|
cca530ae05b6cb69019a8116e66facc02b62928a | 63abd62053d479eae5abf4951554e1064a4c45b4 | /src/logic/relation.lean | 5da1684e59bcbf5525cf386902befe203f311415 | [
"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 | 14,042 | 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
variables {α : Type*} {β : Type*} {γ : Type*} {δ : Type*}
namespace relation
s... |
8cd5fef560636327278c6af48208c46145aeab07 | 624f6f2ae8b3b1adc5f8f67a365c51d5126be45a | /stage0/src/Init/Data/Nat/Control.lean | 41f9b2810432113fbb41bda2759d6c440d8f468a | [
"Apache-2.0"
] | permissive | mhuisi/lean4 | 28d35a4febc2e251c7f05492e13f3b05d6f9b7af | dda44bc47f3e5d024508060dac2bcb59fd12e4c0 | refs/heads/master | 1,621,225,489,283 | 1,585,142,689,000 | 1,585,142,689,000 | 250,590,438 | 0 | 2 | Apache-2.0 | 1,602,443,220,000 | 1,585,327,814,000 | C | UTF-8 | Lean | false | false | 1,910 | lean | /-
Copyright (c) 2019 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.Monad
import Init.Control.Alternative
import Init.Data.Nat.Basic
namespace Nat
universes u v
@[specialize] def forMAux {m} [Mon... |
d1105d975373818a2efed02b9676b368c093389b | 8c7985fc095f6da499df1c1d184f54136d95cdaf | /library/init/meta/expr.lean | dd1fadc146622f2c424b765dafff9a2bcc42d26e | [
"Apache-2.0"
] | permissive | EdAyers/lean-old | 26677fb8b98fb85e3a09eb7987a2879c776dda3e | f2b0c28ed6634fdb45c405650f501e5a7226c2e5 | refs/heads/master | 1,650,505,394,249 | 1,586,343,550,000 | 1,586,343,550,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 21,869 | lean | /-
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
prelude
import init.meta.level init.category.monad init.meta.rb_map
universes u v
open native
/-- Column and line position in a Lean source file. -/
structu... |
9b3ed60aefe485b3229f7ac1779fcb852ac78aa3 | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/run/rw1.lean | 2812a3f86782eaf85d8f63d47b497ee4a63a0cee | [
"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,689 | lean | local attribute [simp] nat.zero_add
namespace Ex1
variables
(f : nat → nat → nat)
(p : nat → nat → Prop)
(h₁ : ∀ a b c, p b c → f a b = a)
(x y z : nat)
(h₂ : p y z)
include f h₁ x y z h₂
open tactic
example : f x y = 0 + x :=
begin
rw [h₁],
/- Resulting goals
... ⊢ x = 0 + x
... ⊢ ... |
9022454539e1fbe755a98e6aaffea3890aa31908 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /src/Lean/Meta/Tactic.lean | c5e7469c83c1da102826ee523e418237256fd83a | [
"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 | 990 | 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.Intro
import Lean.Meta.Tactic.Assumption
import Lean.Meta.Tactic.Contradiction
import Lean.Meta.Tactic.Apply
import Lean.Meta.Tactic... |
cb0402b0e0f687f20c168054148d9bdec78da14e | 2d34dfb0a1cc250584282618dc10ea03d3fa858e | /src/Mbar/breen_deligne.lean | 2c46dd9d055659c172c9e40f24c007d068a56841 | [] | no_license | zeta1999/lean-liquid | 61e294ec5adae959d8ee1b65d015775484ff58c2 | 96bb0fa3afc3b451bcd1fb7d974348de2f290541 | refs/heads/master | 1,676,579,150,248 | 1,610,771,445,000 | 1,610,771,445,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 8,714 | lean | import Mbar.Mbar_le
import pseudo_normed_group.breen_deligne
import normed_group_hom
import for_mathlib.discrete_topology
local attribute [instance] type_pow
noncomputable theory
open_locale big_operators nnreal
-- move this
-- instance normed_group_pow (V : Type*) (n : ℕ) [normed_group V] :
-- normed_group (V^n... |
3879f98be455ed66e429344b2ab116000f4d0649 | 36c7a18fd72e5b57229bd8ba36493daf536a19ce | /hott/algebra/category/functor/adjoint.hlean | e5124bf3280b24f029a696569972c96fdcd49032 | [
"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 | 10,112 | 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
Adjoint functors
-/
import .attributes .examples
open functor nat_trans is_trunc eq iso prod
namespace category
structure adjoint {C D : Precategory} (F : C ⇒... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.