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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3faf39bc5622c8d549882ebbc2c3484f884102c2 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/ring_theory/polynomial/content.lean | 121e7934aa49896044f047661749bba393813a29 | [
"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,077 | 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.gcd_monoid.finset
import data.polynomial.field_division
import data.polynomial.erase_lead
import data.polynomial.cancel_leads
/-!
# GCD structures on ... |
0e61c0385176da1b791391bdbd364fbc14c50cbb | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/data/pprod.lean | 94ee99b10f2fe13f8f6a1a97a85b4d68d79373f5 | [
"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 | 924 | lean | /-
Copyright (c) 2020 Eric Wieser. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Eric Wieser
-/
/-!
# Extra facts about `pprod`
-/
variables {α : Sort*} {β : Sort*}
namespace pprod
@[simp] lemma mk.eta {p : pprod α β} : pprod.mk p.1 p.2 = p :=
pprod.cases_on p (λ ... |
1ed7ee36b8930df5e46c56fb110a230e0e3ce1d4 | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/tactic/generalize_proofs.lean | 792166ed71dc3150b03f6229eeb29c4308ef322e | [
"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 | 3,067 | 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 tactic.doc_commands
/-!
# `generalize_proofs`
A simple tactic to find and replace all occurrences of proof terms in the
context and goal with new variables.
... |
0ee35d1939d3b3ad4f0f9406c34aa6d8e32e8483 | 49bd2218ae088932d847f9030c8dbff1c5607bb7 | /src/topology/continuous_on.lean | 2ec704122ef145f9606125bd69f4ffdbcda79226 | [
"Apache-2.0"
] | permissive | FredericLeRoux/mathlib | e8f696421dd3e4edc8c7edb3369421c8463d7bac | 3645bf8fb426757e0a20af110d1fdded281d286e | refs/heads/master | 1,607,062,870,732 | 1,578,513,186,000 | 1,578,513,186,000 | 231,653,181 | 0 | 0 | Apache-2.0 | 1,578,080,327,000 | 1,578,080,326,000 | null | UTF-8 | Lean | false | false | 24,220 | lean | /-
Copyright (c) 2019 Reid Barton. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sébastien Gouëzel
-/
import topology.constructions
/-!
# Neighborhoods and continuity relative to a subset
This file defines relative versions
`nhds_within` of `nhds`
`contin... |
17aee28bfdb2830f963ce6ad4543cf1a60beb803 | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/topology/stone_cech.lean | fb50397d8a501f2fc13bda0237d5f0a372b05549 | [
"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 | 11,698 | lean | /-
Copyright (c) 2018 Reid Barton. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Reid Barton
-/
import topology.bases
import topology.dense_embedding
/-! # Stone-Čech compactification
Construction of the Stone-Čech compactification using ultrafilters.
Parts of the ... |
76e482fbff1dbbeb71eb12afc460a38bba45ca13 | c31182a012eec69da0a1f6c05f42b0f0717d212d | /src/pseudo_normed_group/FP.lean | e7d97c354f76fa9595605dada0326ebffaf1f261 | [] | no_license | Ja1941/lean-liquid | fbec3ffc7fc67df1b5ca95b7ee225685ab9ffbdc | 8e80ed0cbdf5145d6814e833a674eaf05a1495c1 | refs/heads/master | 1,689,437,983,362 | 1,628,362,719,000 | 1,628,362,719,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 9,734 | lean | import pseudo_normed_group.breen_deligne
import for_mathlib.SemiNormedGroup
/-!
# Constructions on the filtration on a profinitely filtered pseudo-normed group
## Main definitions
- `FiltrationPow r' c n`: the functor sending a profinitely filtered `M` to `M_c^n`.
- `φ.eval_FP r' c₁ c₂`: The map M_c₁^m → M_c₂^n ind... |
e563c6a185eda141caf906588e1371ef08359e22 | a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940 | /src/Lean/Server/Utils.lean | 6146ff530610b58fbe1fb6d5907737a36680e42a | [
"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 | 5,697 | lean | /-
Copyright (c) 2020 Wojciech Nawrocki. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Wojciech Nawrocki, Marc Huisinga
-/
import Lean.Data.Position
import Lean.Data.Lsp
import Lean.Server.InfoUtils
import Init.System.FilePath
namespace IO
def throwServerError (err... |
24b6d401a5b419aa3ac5706e01b51936d12980fc | 2c096fdfecf64e46ea7bc6ce5521f142b5926864 | /src/Lean/Elab/InfoTree/Main.lean | 57dc8691cad2b7daebaf41c22b88828a6a478e39 | [
"Apache-2.0",
"LLVM-exception",
"NCSA",
"LGPL-3.0-only",
"LicenseRef-scancode-inner-net-2.0",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"Spencer-94",
"LGPL-2.1-or-later",
"HPND",
"LicenseRef-scancode-pcre",
"ISC",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"SunPro",
"CMU-Mach"... | permissive | Kha/lean4 | 1005785d2c8797ae266a303968848e5f6ce2fe87 | b99e11346948023cd6c29d248cd8f3e3fb3474cf | refs/heads/master | 1,693,355,498,027 | 1,669,080,461,000 | 1,669,113,138,000 | 184,748,176 | 0 | 0 | Apache-2.0 | 1,665,995,520,000 | 1,556,884,930,000 | Lean | UTF-8 | Lean | false | false | 15,848 | lean | /-
Copyright (c) 2020 Wojciech Nawrocki. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Wojciech Nawrocki, Leonardo de Moura, Sebastian Ullrich
-/
import Lean.Meta.PPGoal
namespace Lean.Elab.ContextInfo
variable [Monad m] [MonadEnv m] [MonadMCtx m] [MonadOptions m] ... |
7885e4ccbbc5e47235490a8e2d33b9e9d0b6fb8d | f3849be5d845a1cb97680f0bbbe03b85518312f0 | /old_library/init/instances.lean | f1903ad60fc32fc6334a014202ffc523b8d05b5a | [
"Apache-2.0"
] | permissive | bjoeris/lean | 0ed95125d762b17bfcb54dad1f9721f953f92eeb | 4e496b78d5e73545fa4f9a807155113d8e6b0561 | refs/heads/master | 1,611,251,218,281 | 1,495,337,658,000 | 1,495,337,658,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 972 | lean | /-
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
-/
prelude
import init.meta.mk_dec_eq_instance init.subtype init.meta.occurrences init.sum
open tactic subtype
universe variables u v
attribute [instance]
defi... |
1afe2c86808f896daf2d1347a39357d9f742d48c | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/topology/continuous_function/polynomial.lean | 04ae3993512dace38b934e67bf78ae7ad4ba6d83 | [
"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 | 6,237 | 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 topology.algebra.polynomial
import topology.continuous_function.algebra
import topology.continuous_function.compact
import topology.unit_interval
/-!
# Constr... |
6a200443a181bc4ca789ac1bf20d8a40aec580eb | bbecf0f1968d1fba4124103e4f6b55251d08e9c4 | /src/group_theory/order_of_element.lean | 486baf5c1c149029b3a2139af38b631fdf9e85d7 | [
"Apache-2.0"
] | permissive | waynemunro/mathlib | e3fd4ff49f4cb43d4a8ded59d17be407bc5ee552 | 065a70810b5480d584033f7bbf8e0409480c2118 | refs/heads/master | 1,693,417,182,397 | 1,634,644,781,000 | 1,634,644,781,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 39,433 | 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, Julian Kuelshammer
-/
import algebra.pointwise
import group_theory.coset
import dynamics.periodic_pts
import algebra.iterate_hom
/-!
# Order of an element
This file d... |
3455d857d7613c7b82b0d85d543e269909d56e5c | bbecf0f1968d1fba4124103e4f6b55251d08e9c4 | /src/data/multiset/nodup.lean | dc559e43e6c84d167d07b844894fb6211f9cf846 | [
"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 | 9,963 | lean | /-
Copyright (c) 2015 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
-/
import data.multiset.powerset
import data.multiset.range
/-!
# The `nodup` predicate for multisets without duplicate elements.
-/
namespace multiset
open lis... |
8c61588f19de230154c1edfa4d111e28656c2b5e | 969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb | /src/category_theory/closed/cartesian.lean | 3cbf0119436cf0ba9c4038807ec74c9b5cb6acfe | [
"Apache-2.0"
] | permissive | SAAluthwela/mathlib | 62044349d72dd63983a8500214736aa7779634d3 | 83a4b8b990907291421de54a78988c024dc8a552 | refs/heads/master | 1,679,433,873,417 | 1,615,998,031,000 | 1,615,998,031,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 14,519 | lean | /-
Copyright (c) 2020 Bhavik Mehta, Edward Ayers, Thomas Read. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Bhavik Mehta, Edward Ayers, Thomas Read
-/
import category_theory.limits.shapes.finite_products
import category_theory.limits.preserves.shapes.binary_products... |
ab82388b165db5101b3790a57733ffed704424ea | 432d948a4d3d242fdfb44b81c9e1b1baacd58617 | /src/linear_algebra/basis.lean | d03edbbce8117b4549ea07c26faa5e6b6dd1e756 | [
"Apache-2.0"
] | permissive | JLimperg/aesop3 | 306cc6570c556568897ed2e508c8869667252e8a | a4a116f650cc7403428e72bd2e2c4cda300fe03f | refs/heads/master | 1,682,884,916,368 | 1,620,320,033,000 | 1,620,320,033,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 22,158 | 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.linear_independent
import linear_algebra.projection
import linear_algebra.linear_pmap
import data.fintype.ca... |
09a035e1358f43538ec36010203ed90fcd34de19 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/lean/run/evalProp.lean | 0a7c9ff17b42ba806bab6f70ff84fd4585cb0c0c | [
"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 | 24 | lean | #eval 2 < 5
#eval 2 > 5
|
2f0aac218662e580c15dba323d352da171e6218c | 64874bd1010548c7f5a6e3e8902efa63baaff785 | /hott/types/prod.hlean | 9ccf6b2fa80ac78fd738dc6826be26b8177f1a27 | [
"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,348 | hlean | /-
Copyright (c) 2014 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Floris van Doorn
Ported from Coq HoTT
Theorems about products
-/
import init.trunc init.datatypes
open eq equiv is_equiv truncation prod
variables {A A' B B' C D : Type}
... |
a3871713b561ac0994b3aa245bd557e35e324e36 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/lean/interactive/goalEOF.lean | 6e6b56655aeeb0c6f358bb15e08e6a8a608cf6c1 | [
"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 | 128 | lean | -- Local Variables:
-- require-final-newline: nil
-- End:
--v $/lean/plainGoal
example : False := by rfl |
24f7692d2ea591e0d82487f5c803943a9b28b341 | b7f22e51856f4989b970961f794f1c435f9b8f78 | /library/logic/quantifiers.lean | 5fad4f62cfb1687c9488d512091f1257c4d36562 | [
"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 | 3,016 | lean | /-
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura, Jeremy Avigad
Universal and existential quantifiers. See also init.logic.
-/
import .connectives
open inhabited nonempty
theorem exists_imp_distrib {A : Typ... |
40b08df45b58679fb7fad143a2428751fd5b76a0 | acc85b4be2c618b11fc7cb3005521ae6858a8d07 | /order/zorn.lean | e2aef7bc5afa4bac2e93e7095da77190d4afa96e | [
"Apache-2.0"
] | permissive | linpingchuan/mathlib | d49990b236574df2a45d9919ba43c923f693d341 | 5ad8020f67eb13896a41cc7691d072c9331b1f76 | refs/heads/master | 1,626,019,377,808 | 1,508,048,784,000 | 1,508,048,784,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 8,462 | 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
Zorn's lemmas.
Ported from Isabelle/HOL (written by Jacques D. Fleuriot, Tobias Nipkow, and Christian Sternagel).
-/
import data.set.lattice
noncomputable theory
univ... |
fbc37ef53acb0c39d4c5792e7657f71cf09707fc | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/data/equiv/set.lean | a9b1673d3a509a646f3cb89b614b9b55d6abcabb | [
"Apache-2.0"
] | permissive | robertylewis/mathlib | 3d16e3e6daf5ddde182473e03a1b601d2810952c | 1d13f5b932f5e40a8308e3840f96fc882fae01f0 | refs/heads/master | 1,651,379,945,369 | 1,644,276,960,000 | 1,644,276,960,000 | 98,875,504 | 0 | 0 | Apache-2.0 | 1,644,253,514,000 | 1,501,495,700,000 | Lean | UTF-8 | Lean | false | false | 23,228 | lean | /-
Copyright (c) 2015 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura, Mario Carneiro
-/
import data.equiv.basic
import data.set.function
/-!
# Equivalences and sets
In this file we provide lemmas linking equivalences to sets.
... |
c96de0633cabf9b39866448e7c0298a3a7c4d5f4 | 0ed3609caf1962115b28aeb010d2bda5f67ddc4c | /src/data/fintype.lean | 000e1345d6505705f38503752042f862c4e33fd1 | [
"Apache-2.0"
] | permissive | jonaslippert/mathlib | 82dba29632969e3ed1c153a6454306f6bc9d9037 | 1435a196db69a7886a11e310e8923f3dcf249b81 | refs/heads/master | 1,609,938,673,069 | 1,582,018,388,000 | 1,582,018,388,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 38,282 | lean | /-
Copyright (c) 2017 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Mario Carneiro
Finite types.
-/
import data.finset algebra.big_operators data.array.lemmas logic.unique
import tactic.wlog
universes u v
variables {α : Type*} {β : Type*} {γ : Type*}
... |
e674732142876b59908d3ce7b8895dc5c0c6fe33 | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/data/sym/sym2.lean | bd9d2a62f46f52b67d6ca4c3ef76787dc15964a3 | [
"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 | 19,259 | lean | /-
Copyright (c) 2020 Kyle Miller All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kyle Miller
-/
import data.sym.basic
import tactic.linarith
/-!
# The symmetric square
This file defines the symmetric square, which is `α × α` modulo
swapping. This is also known as th... |
3e10fb2b97b43a4c4cf914e25728e46e9ced03b2 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/algebraic_topology/dold_kan/n_reflects_iso.lean | a7f00f781d4b513bedb8d87b9659214dbfb4dde3 | [
"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 | 2,599 | lean | /-
Copyright (c) 2022 Joël Riou. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joël Riou
-/
import algebraic_topology.dold_kan.functor_n
import algebraic_topology.dold_kan.decomposition
import category_theory.idempotents.homological_complex
/-!
# N₁ and N₂ reflects... |
2523293e5e6fe9f0cd9d1ee2ef2d052b65813294 | 78269ad0b3c342b20786f60690708b6e328132b0 | /src/library_dev/data/nat/bquant.lean | 181ee1fadb76dd496fd1d7dd867679b4530e4efa | [] | no_license | dselsam/library_dev | e74f46010fee9c7b66eaa704654cad0fcd2eefca | 1b4e34e7fb067ea5211714d6d3ecef5132fc8218 | refs/heads/master | 1,610,372,841,675 | 1,497,014,421,000 | 1,497,014,421,000 | 86,526,137 | 0 | 0 | null | 1,490,752,133,000 | 1,490,752,132,000 | null | UTF-8 | Lean | false | false | 2,375 | lean | import .sub
open nat
def ball (n : nat) (P : nat → Prop) := ∀ k : ℕ, k < n → P k
def ball' (n : nat) (P : Π (k : ℕ) (p : k < n), Prop) := Π (k : ℕ) (p : k < n), P k p
theorem ball_zero (P : nat → Prop) : ball 0 P :=
λ x Hlt, absurd Hlt (not_lt_zero _)
theorem ball_zero' (P : Π (k : ℕ) (p : k < 0), Prop) : ... |
820c828dacb4afd8139fe7141e10714428f74526 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/topology/algebra/uniform_ring.lean | 7d8bbd1c1196bf5255c9a8056ef1a1b66ec74b6a | [
"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,073 | lean | /-
Copyright (c) 2018 Patrick Massot. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Patrick Massot, Johannes Hölzl
-/
import algebra.algebra.basic
import topology.algebra.group_completion
import topology.algebra.ring.ideal
/-!
# Completion of topological rings:
> TH... |
ff3379202a5ae66c7ef3ad4fe9a88d378bb76eb0 | 9dd3f3912f7321eb58ee9aa8f21778ad6221f87c | /tests/lean/run/meta_level1.lean | bf8475dd0a11f922bfeca58469aceef5f4f79631 | [
"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 | 964 | lean | import system.io
vm_eval do pp (level.max (level.succ level.zero) (level.param `foo)), put_str "\n"
vm_eval level.normalize (level.succ (level.max (level.max level.zero (level.succ level.zero)) (level.param `l₁)))
vm_eval level.imax (level.mvar `m) (level.of_nat 10)
vm_eval if level.zero = level.zero then "eq" else... |
f033afa0ca5644de05bdfefb2b7560d95faaaefd | f083c4ed5d443659f3ed9b43b1ca5bb037ddeb58 | /logic/function.lean | 66c41e8fae61fb9920902aa9dbc999908ec9d9d1 | [
"Apache-2.0"
] | permissive | semorrison/mathlib | 1be6f11086e0d24180fec4b9696d3ec58b439d10 | 20b4143976dad48e664c4847b75a85237dca0a89 | refs/heads/master | 1,583,799,212,170 | 1,535,634,130,000 | 1,535,730,505,000 | 129,076,205 | 0 | 0 | Apache-2.0 | 1,551,697,998,000 | 1,523,442,265,000 | Lean | UTF-8 | Lean | false | false | 8,676 | lean | /-
Copyright (c) 2016 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl, Mario Carneiro
Miscellaneous function constructions and lemmas.
-/
import logic.basic data.option
universes u v w
namespace function
section
variables {α : Sort u} ... |
d449dec1a33c2be2d392a0cfb481301e8a8a28d7 | d1a52c3f208fa42c41df8278c3d280f075eb020c | /tests/lean/run/macro.lean | fd4203683c59c673857d8b1c75bc082ebc3c78b6 | [
"Apache-2.0",
"LLVM-exception",
"NCSA",
"LGPL-3.0-only",
"LicenseRef-scancode-inner-net-2.0",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"Spencer-94",
"LGPL-2.1-or-later",
"HPND",
"LicenseRef-scancode-pcre",
"ISC",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"SunPro",
"CMU-Mach"... | permissive | cipher1024/lean4 | 6e1f98bb58e7a92b28f5364eb38a14c8d0aae393 | 69114d3b50806264ef35b57394391c3e738a9822 | refs/heads/master | 1,642,227,983,603 | 1,642,011,696,000 | 1,642,011,696,000 | 228,607,691 | 0 | 0 | Apache-2.0 | 1,576,584,269,000 | 1,576,584,268,000 | null | UTF-8 | Lean | false | false | 1,206 | lean | abbrev Set (α : Type) := α → Prop
axiom setOf {α : Type} : (α → Prop) → Set α
axiom mem {α : Type} : α → Set α → Prop
axiom univ {α : Type} : Set α
axiom Union {α : Type} : Set (Set α) → Set α
syntax:100 term " ∈ " term:99 : term
macro_rules
| `($x ∈ $s) => `(mem $x $s)
declare_syntax_cat index
syntax term : index
... |
d39807e0d3cd27f84aa64ea87316826dde7d6879 | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/control/bitraversable/instances.lean | 96d89dd41f8760ee9b2e2fd3bef164da15f40c3d | [
"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,394 | lean | /-
Copyright (c) 2019 Simon Hudon. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Simon Hudon
-/
import control.bitraversable.lemmas
import control.traversable.lemmas
/-!
# bitraversable instances
## Instances
* prod
* sum
* const
* flip
* bicompl
* bicompr
#... |
96c5338ba2db4216d8fcfff3be4abb5864bcbedf | b7f22e51856f4989b970961f794f1c435f9b8f78 | /tests/lean/run/proposition.lean | eccfdda0e78e9e3e45a0290f675ea62ee3cf4a6b | [
"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 | 99 | lean | proposition tst {a b : Prop} : a → b → a ∧ b :=
begin
intros, split, repeat assumption
end
|
1fc9fb9ef458d1a8e9ea9d74c63080016897895e | 3dc4623269159d02a444fe898d33e8c7e7e9461b | /.github/workflows/project_1_a_decrire/lean-scheme-submission/src/sheaves/sheaf_on_basis.lean | 0386c66eae9d9188c196a45b8c12f41b9ce61837 | [] | no_license | Or7ando/lean | cc003e6c41048eae7c34aa6bada51c9e9add9e66 | d41169cf4e416a0d42092fb6bdc14131cee9dd15 | refs/heads/master | 1,650,600,589,722 | 1,587,262,906,000 | 1,587,262,906,000 | 255,387,160 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 6,946 | lean | /-
Sheaf (of types) on basis and extension.
https://stacks.math.columbia.edu/tag/009J
https://stacks.math.columbia.edu/tag/009N
-/
import sheaves.covering.covering_on_basis
import sheaves.presheaf
import sheaves.presheaf_on_basis
import sheaves.presheaf_extension
import sheaves.sheaf
import sheaves.sheaf_on_sta... |
c7ed11ca9ae81560fcfa91a2b9541bca66bf31b1 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/algebra/module/opposites.lean | d66b4be1d6cbdc22ec2c43fe372f414634db9b88 | [
"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,785 | lean | /-
Copyright (c) 2020 Eric Wieser. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Eric Wieser
-/
import algebra.module.equiv
import group_theory.group_action.opposite
/-!
# Module operations on `Mᵐᵒᵖ`
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> Any changes to this f... |
b06c4cbcdacb22a80fa8ac21de25a4a6252df324 | e38e95b38a38a99ecfa1255822e78e4b26f65bb0 | /src/certigrad/rng.lean | c0a0f2da0a2a2751f44229a97b7dc3e9bbcda6c1 | [
"Apache-2.0"
] | permissive | ColaDrill/certigrad | fefb1be3670adccd3bed2f3faf57507f156fd501 | fe288251f623ac7152e5ce555f1cd9d3a20203c2 | refs/heads/master | 1,593,297,324,250 | 1,499,903,753,000 | 1,499,903,753,000 | 97,075,797 | 1 | 0 | null | 1,499,916,210,000 | 1,499,916,210,000 | null | UTF-8 | Lean | false | false | 388 | lean | /-
Copyright (c) 2017 Daniel Selsam. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Daniel Selsam
Random number generators.
-/
namespace certigrad
open list
constant RNG : Type
namespace RNG
constant mk : ℕ → RNG
constant to_string : RNG → string
instance : has_to_s... |
834f96321176fc0ef5182690a601b50529812156 | d1a52c3f208fa42c41df8278c3d280f075eb020c | /tests/lean/run/coeIssues4.lean | 55a036fd9eedf5980f8c3a7c6f5f611e2f87a175 | [
"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 | 538 | lean | --
def f : List Int → Bool := fun _ => true
def ex3 : IO Bool := do
let xs ← pure [1, 2, 3];
pure $ f xs -- Works
inductive Expr
| val : Nat → Expr
| app : Expr → Expr → Expr
instance : Coe Nat Expr := ⟨Expr.val⟩
def foo : Expr → Expr := fun e => e
def ex1 : Bool :=
f [1, 2, 3] -- Works
def ex2 : Bool :=
let xs... |
a836b76389989588878e62ddc8ad3fb3b7a3d5ad | 6b2a480f27775cba4f3ae191b1c1387a29de586e | /group_rep_2/basic_definitions/kernel_range.lean | 7a687910353946473e58b58be8199425e767aec9 | [] | 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 | 1,582 | lean | import .sub_module
universe variables u v w w'
variables {G : Type u} [group G] {R : Type v}[ring R]
variables {M1 : Type w} [add_comm_group M1] [module R M1]
{M2 : Type w'} [add_comm_group M2] [module R M2]
{ρ1 : group_representation G R M1}
{ρ2 : group_representation G R M2}
... |
5de3b58c9e8d5be0167b054d6b35acd453750dc9 | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/algebra/module/submodule.lean | c3a100ff2db49328e5af57834c6bc5514c346c85 | [
"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 | 15,118 | lean | /-
Copyright (c) 2015 Nathaniel Thomas. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Nathaniel Thomas, Jeremy Avigad, Johannes Hölzl, Mario Carneiro
-/
import algebra.module.linear_map
import data.equiv.module
import group_theory.group_action.sub_mul_action
/-!
# Su... |
0421120be7cfc58f6bb5ea0f299e878688c50dc5 | e0d5cc416b0cf9011f9706e3b89ad18e34595c44 | /src/cayden/identities.lean | 8f90be710d44767b1219aeb2648b831d0a9f0a43 | [] | no_license | avigad/verified-encodings | c90701b68636c0bae2127b9eb7bcc53e71d06bc8 | 2b8c3b07a7cfcdad3b13cf01685eabe395f35c17 | refs/heads/master | 1,687,237,025,852 | 1,626,625,618,000 | 1,626,625,618,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 7,755 | lean | /-
Proving some useful identities in propositional logic
-/
import data.list
import data.finset
open classical
theorem resolution_single (p q r : Prop) : (p ∨ q) ∧ (¬p ∨ r) → q ∨ r :=
begin
intro h,
cases h with hpq hpr,
cases classical.em p,
cases hpr with hnp hr,
exfalso,
exact hnp h,
exact or.in... |
660705b5d27eda043c23a3757b89ae5a43f37d29 | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/analysis/complex/basic.lean | ffaf30f827e6864c46af6261e6af7d40ebef7dad | [
"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,851 | lean | /-
Copyright (c) Sébastien Gouëzel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sébastien Gouëzel
-/
import data.complex.module
import data.complex.is_R_or_C
/-!
# Normed space structure on `ℂ`.
This file gathers basic facts on complex numbers of an analytic natur... |
059c4dad3c135ccf32f9622daaa8c927f71ec651 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/data/holor.lean | 1210d2d21fcbb66bc298c6e97c1a69296f876a30 | [] | 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 | 13,587 | lean | /-
Copyright (c) 2018 Alexander Bentkamp. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Alexander Bentkamp
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.algebra.module.pi
import Mathlib.algebra.big_operators.basic
import Mathlib.PostPor... |
9b5971d7a942ddec92a002f3e746ef1d98b17f17 | ec5a7ae10c533e1b1f4b0bc7713e91ecf829a3eb | /ijcar16/examples/cc12.lean | 87d8c5a0202af949dc29da050059afa65c793247 | [
"MIT"
] | permissive | leanprover/leanprover.github.io | cf248934af7c7e9aeff17cf8df3c12c5e7e73f1a | 071a20d2e059a2c3733e004c681d3949cac3c07a | refs/heads/master | 1,692,621,047,417 | 1,691,396,994,000 | 1,691,396,994,000 | 19,366,263 | 18 | 27 | MIT | 1,693,989,071,000 | 1,399,006,345,000 | Lean | UTF-8 | Lean | false | false | 894 | lean | /-
Example/test file for the congruence closure procedure described in the paper:
"Congruence Closure for Intensional Type Theory"
Daniel Selsam and Leonardo de Moura
The tactic `by blast` has been configured in this file to use just
the congruence closure procedure using the command
set_option blast.strategy... |
d08900a722bcc51f92716f4338835aa734ca80a0 | 46125763b4dbf50619e8846a1371029346f4c3db | /src/ring_theory/free_comm_ring.lean | a1e27a32d37f71ea4871a4f762acdb007ed92434 | [
"Apache-2.0"
] | permissive | thjread/mathlib | a9d97612cedc2c3101060737233df15abcdb9eb1 | 7cffe2520a5518bba19227a107078d83fa725ddc | refs/heads/master | 1,615,637,696,376 | 1,583,953,063,000 | 1,583,953,063,000 | 246,680,271 | 0 | 0 | Apache-2.0 | 1,583,960,875,000 | 1,583,960,875,000 | null | UTF-8 | Lean | false | false | 15,569 | lean | /-
Copyright (c) 2019 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau, Johan Commelin
-/
import group_theory.free_abelian_group data.equiv.algebra data.equiv.functor data.polynomial
import ring_theory.ideal_operations ring_theory.free_ring
noncomp... |
72c67c35fd166cd6609f31b3617be30c15fe6af9 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/measure_theory/function/special_functions/arctan.lean | 2d10fb0a4c1894f22319f4e97a20d41d581825e2 | [
"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 | 781 | lean | /-
Copyright (c) 2020 Yury Kudryashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yury Kudryashov
-/
import analysis.special_functions.trigonometric.arctan
import measure_theory.constructions.borel_space.basic
/-!
# Measurability of arctan
> THIS FILE IS SYNCHRO... |
6ce1d9744c46721323c8c5b1e3d9bd0c898db3ff | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/logic/equiv/transfer_instance.lean | 82d66799c069ddbedb53bbcc7b7d60fd3ad0ff24 | [
"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,384 | 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
-/
import algebra.algebra.basic
import algebra.field.basic
import algebra.group.type_tags
import logic.equiv.basic
import ring_theory.ideal.local_ring
/-!
# Transfer al... |
155e0c1920afadebfa6c23d1580614e86f991f2d | d436468d80b739ba7e06843c4d0d2070e43448e5 | /src/data/holor.lean | 9f4f037306ded9e339ff8e163e042ae0125b7365 | [
"Apache-2.0"
] | permissive | roro47/mathlib | 761fdc002aef92f77818f3fef06bf6ec6fc1a28e | 80aa7d52537571a2ca62a3fdf71c9533a09422cf | refs/heads/master | 1,599,656,410,625 | 1,573,649,488,000 | 1,573,649,488,000 | 221,452,951 | 0 | 0 | Apache-2.0 | 1,573,647,693,000 | 1,573,647,692,000 | null | UTF-8 | Lean | false | false | 14,342 | lean | /-
Copyright (c) 2018 Alexander Bentkamp. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Alexander Bentkamp
-/
import algebra.pi_instances
/-!
# Basic properties of holors
Holors are indexed collections of tensor coefficients. Confusingly,
they are often called tenso... |
0a972c1eed9f567cb0fa32bbbf841c569c119d12 | 77c5b91fae1b966ddd1db969ba37b6f0e4901e88 | /src/algebra/direct_sum/algebra.lean | 23d6d4979d8be8d66e1f72065ebc346a61c40a8e | [
"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 | 7,059 | lean | /-
Copyright (c) 2021 Eric Wieser. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Eric Wieser
-/
import algebra.direct_sum.ring
import algebra.direct_sum.module
/-! # Additively-graded algebra structures on `⨁ i, A i`
This file provides `R`-algebra structures on exte... |
e60d234853192d66c1be8e90b058387bd40c7e68 | 206422fb9edabf63def0ed2aa3f489150fb09ccb | /src/measure_theory/giry_monad.lean | 5b0ecc62bdb3c1fcccbfdaa62da1be16d10c0f8d | [
"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 | 8,007 | lean | /-
Copyright (c) 2019 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl
-/
import measure_theory.integration
/-!
# The Giry monad
Let X be a measurable space. The collection of all measures on X again
forms a measurable space. This constru... |
584658a6eb5fdde931846f2d1ec433101106beac | cb3da1b91380e7462b579b426a278072c688954a | /src/main.lean | 18df07057b7333bac492f5abaa943ee79e419e17 | [] | no_license | hcheval/tikhonov-mann | 35c93e46a8287f6479a848a9d4f02013e0bc2035 | 6ab7fcefe9e1156c20bd5d1998a7deabd1eeb018 | refs/heads/master | 1,689,232,126,344 | 1,630,182,255,000 | 1,630,182,255,000 | 399,859,996 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 31 | lean | import iteration
#check @l_5_3 |
d925526c2893dcc8245b468376b7aa16c14ee918 | 2d34dfb0a1cc250584282618dc10ea03d3fa858e | /src/pseudo_normed_group/breen_deligne.lean | 0e2b5bb7fa04b97df8c14b7f30dc3c16561b6e5c | [] | 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 | 1,708 | lean | import pseudo_normed_group.basic
import breen_deligne
noncomputable theory
local attribute [instance] type_pow
open_locale nnreal big_operators matrix
namespace breen_deligne
namespace basic_universal_map
variables {m n : ℕ} (f : basic_universal_map m n)
variables (M : Type*) [pseudo_normed_group M]
open add_mon... |
ac463af0bd75b6f9fa9a5157418112e18af5ec8b | 534c92d7322a8676cfd1583e26f5946134561b54 | /src/Exercises/01_Propositions/Q0106/S0006.lean | 4d7851c3d7cb6ca392500d047d0e3d77f21305ec | [
"Apache-2.0"
] | permissive | kbuzzard/mathematics-in-lean | 53f387174f04d6077f434e27c407aee9425837f7 | 3fad7bb7e888dabef94921101af8671b78a4304a | refs/heads/master | 1,586,812,457,439 | 1,546,893,744,000 | 1,546,893,744,000 | 163,450,734 | 8 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 54 | lean | theorem very_easy : true :=
begin
exact trivial
end
|
3d305102f0a35be6d633433aac11598ef2056b04 | 36938939954e91f23dec66a02728db08a7acfcf9 | /lean/file_input.lean | fd78a124622305d442250ffa26f390da15995af8 | [
"Apache-2.0"
] | permissive | pnwamk/reopt-vcg | f8b56dd0279392a5e1c6aee721be8138e6b558d3 | c9f9f185fbefc25c36c4b506bbc85fd1a03c3b6d | refs/heads/master | 1,631,145,017,772 | 1,593,549,019,000 | 1,593,549,143,000 | 254,191,418 | 0 | 0 | null | 1,586,377,077,000 | 1,586,377,077,000 | null | UTF-8 | Lean | false | false | 1,162 | lean |
import system.io -- init.category.lift
structure file_input_state :=
(handle : io.handle)
(pos : ℕ)
(filename : string) -- for reopening
/- A monad for dealing with the fact that lean doesn't support seeking backwards -/
@[reducible]
def file_input := state_t file_input_state (except_t string io)
namespace ... |
b2149b2e3d772e0904f617e8d3cf9cd836c9c926 | d744d97b07fc1e61b0ebea192b2d624125898128 | /src/tree.lean | a562dae273621c853a67fd8d2dffb543244bb3eb | [
"MIT"
] | permissive | parkersullivan/leanstuff | 019c757848dd8f5db185e6973969141aee6fef7c | 3da132c44d365ecd933de64fa04ba66b9e620683 | refs/heads/master | 1,599,036,040,845 | 1,573,316,625,000 | 1,573,316,625,000 | 219,181,711 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 890 | lean | namespace my_tree
inductive tree (α : Type) : Type
| empty {} : tree
| node : α → tree → tree → tree
def sum_node {α : Type} : tree α → ℕ
| tree.empty := 0
| (tree.node n t1 t2) := (1 + (sum_node t1) + (sum_node t2))
def tree_map {α β : Type} : (α → β) → tree α → tree β
| f tree.empty := tree.empty
| f (tree.no... |
1c3fb7474051f593674ac8d3575b9d8cb0fcbfba | 9028d228ac200bbefe3a711342514dd4e4458bff | /src/topology/path_connected.lean | 8dd3653c9473af92ab817a392ed88e12565ff354 | [
"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 | 36,448 | lean | /-
Copyright (c) 2020 Patrick Massot. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Patrick Massot
-/
import topology.instances.real
/-!
# Path connectedness
## Main definitions
In the file the unit interval `[0, 1]` in `ℝ` is denoted by `I`, and `X` is a topologic... |
60d648051356df663d1f666e8928a1137a0e6023 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/data/mv_polynomial/funext.lean | cf1dea8a567639aba485c881624be8d6eb0f1128 | [
"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,402 | lean | /-
Copyright (c) 2020 Johan Commelin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johan Commelin
-/
import data.polynomial.ring_division
import data.mv_polynomial.rename
import ring_theory.polynomial.basic
import data.mv_polynomial.polynomial
/-!
## Function extens... |
f1461d8e18875c4445b6af5582512291837021af | efa51dd2edbbbbd6c34bd0ce436415eb405832e7 | /20161026_ICTAC_Tutorial/ex18.lean | 9c02c5c5bb139c12e0960d88481d3dc49ff8076d | [
"Apache-2.0"
] | permissive | leanprover/presentations | dd031a05bcb12c8855676c77e52ed84246bd889a | 3ce2d132d299409f1de269fa8e95afa1333d644e | refs/heads/master | 1,688,703,388,796 | 1,686,838,383,000 | 1,687,465,742,000 | 29,750,158 | 12 | 9 | Apache-2.0 | 1,540,211,670,000 | 1,422,042,683,000 | Lean | UTF-8 | Lean | false | false | 424 | lean | def compose (A B C : Type) (g : B → C) (f : A → B) (x : A) :
C := g (f x)
def do_twice (A : Type) (h : A → A) (x : A) : A := h (h x)
def do_thrice (A : Type) (h : A → A) (x : A) : A := h (h (h x))
/- Variables -/
variables (A B C : Type)
def compose' (g : B → C) (f : A → B) (x : A) : C := g (f x)
def do_twice' (... |
97369787e5efa4883c7d0f95b78bc61910c213c3 | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/logic/equiv/fintype.lean | a04aa3628a1a4b9c906524b1ba3d358dd8427848 | [
"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,409 | lean | /-
Copyright (c) 2021 Yakov Pechersky. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yakov Pechersky
-/
import data.fintype.basic
import group_theory.perm.sign
import logic.equiv.basic
/-! # Equivalence between fintypes
This file contains some basic results on equi... |
af271911eb01a385550601866837e680da82f5a8 | 9dd3f3912f7321eb58ee9aa8f21778ad6221f87c | /tests/lean/run/assert_tac1.lean | a1c110441e511ad9b383d134b800a1ae6db839c1 | [
"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 | 608 | lean | open tactic
definition tst1 (a : nat) : a = a :=
by do
define `x (expr.const `nat []),
trace_state,
a ← get_local `a,
exact a,
x ← get_local `x,
mk_app `eq.refl [x] >>= exact
print tst1
definition tst2 (a : nat) : a = a :=
by do
define `x (expr.const `nat []),
a ← get_local `a,
exact a,
... |
f2bf6b37fbbed63a3457213268ef70666545bf0f | c86b74188c4b7a462728b1abd659ab4e5828dd61 | /src/Lean/Elab/InfoTree.lean | 88bbc6ba644e3ff42e7f6e2f69736b0d296cf76f | [
"Apache-2.0"
] | permissive | cwb96/lean4 | 75e1f92f1ba98bbaa6b34da644b3dfab2ce7bf89 | b48831cda76e64f13dd1c0edde7ba5fb172ed57a | refs/heads/master | 1,686,347,881,407 | 1,624,483,842,000 | 1,624,483,842,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 15,158 | lean | /-
Copyright (c) 2020 Wojciech Nawrocki. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Wojciech Nawrocki, Leonardo de Moura, Sebastian Ullrich
-/
import Lean.Data.Position
import Lean.Expr
import Lean.Message
import Lean.Data.Json
import Lean.Meta.Basic
import Lean.M... |
99f03991f2b46ec4a562481e8b150ce6f9e80359 | 8b9f17008684d796c8022dab552e42f0cb6fb347 | /library/logic/axioms/examples/leftinv_of_inj.lean | 228c05c7d94cd93cc1e6785172207b3daa21f601 | [
"Apache-2.0"
] | permissive | chubbymaggie/lean | 0d06ae25f9dd396306fb02190e89422ea94afd7b | d2c7b5c31928c98f545b16420d37842c43b4ae9a | refs/heads/master | 1,611,313,622,901 | 1,430,266,839,000 | 1,430,267,083,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,251 | lean | /-
Copyright (c) 2015 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
Classical proof that if f is injective, then f has a left inverse (if domain is not empty).
The proof uses the classical axioms: choice and excluded middle.
... |
e377c6a4672e22a906823292a07167f2bc00d721 | 94e33a31faa76775069b071adea97e86e218a8ee | /src/analysis/analytic/basic.lean | f620f42501c54d0da2cd47b115dc26690e9e7b0b | [
"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 | 60,526 | 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, Yury Kudryashov
-/
import analysis.calculus.formal_multilinear_series
import analysis.specific_limits.normed
import logic.equiv.fin
/-!
# Analytic functions
A f... |
49cf83969fe08cd4265cde908206b943c6701f32 | 9be442d9ec2fcf442516ed6e9e1660aa9071b7bd | /src/Lean/Elab/Structure.lean | b0a91900fe99c2d93c3230fda58e5a4f6d874c7e | [
"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 | 45,606 | 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.Parser.Command
import Lean.Meta.Closure
import Lean.Meta.SizeOf
import Lean.Meta.Injective
import Lean.Meta.Structure
import Lean.Meta.AppBuilde... |
c8fe9094b4e509bbb6a37783505aa107c9797749 | 367134ba5a65885e863bdc4507601606690974c1 | /src/topology/sheaves/presheaf_of_functions.lean | e18031765b2c3cfa8fcd3483a535ae9c8c7474c9 | [
"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,392 | 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.yoneda
import topology.sheaves.presheaf
import topology.category.TopCommRing
import topology.algebra.continuous_functions
/-!
# Presheaves of ... |
108263d91ec0b363a5ab59007204e159d8dc5dca | 7da5ceac20aaab989eeb795a4be9639982e7b35a | /src/algebraic_geometry/general_linear_group.lean | 33eacae4ac15374a45cf63396c52f95f7f3c97bc | [
"MIT"
] | permissive | formalabstracts/formalabstracts | 46c2f1b3a172e62ca6ffeb46fbbdf1705718af49 | b0173da1af45421239d44492eeecd54bf65ee0f6 | refs/heads/master | 1,606,896,370,374 | 1,572,988,776,000 | 1,572,988,776,000 | 96,763,004 | 165 | 28 | null | 1,555,709,319,000 | 1,499,680,948,000 | Lean | UTF-8 | Lean | false | false | 13,741 | lean | /- In this file we define the general linear group as an affine group over a discrete field `K`-/
import .affine_variety group_theory.perm.sign ..to_mathlib category_theory.instances.groups
open topological_space function sum finsupp category_theory tensor_product category_theory.limits
universe u
local attribute [in... |
510c8b8f70398006e2d55caa0575fdd104d33303 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/set_theory/zfc/ordinal.lean | b24835b989ce9c8bb9f3eb40950c235a1b474b0c | [
"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 | 2,641 | lean | /-
Copyright (c) 2022 Violeta Hernández Palacios. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Violeta Hernández Palacios
-/
import set_theory.zfc.basic
/-!
# Von Neumann ordinals
This file works towards the development of von Neumann ordinals, i.e. transitive set... |
a2c1816cc7bd26881d2ffe427ec1569e5f79000d | fe25de614feb5587799621c41487aaee0d083b08 | /tests/lean/run/new_compiler.lean | 75db267656527bed69f1d7187f1a764f1787143f | [
"Apache-2.0"
] | permissive | pollend/lean4 | e8469c2f5fb8779b773618c3267883cf21fb9fac | c913886938c4b3b83238a3f99673c6c5a9cec270 | refs/heads/master | 1,687,973,251,481 | 1,628,039,739,000 | 1,628,039,739,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,744 | lean |
universe u v w r s
set_option trace.compiler.stage1 true
-- set_option pp.explicit true
set_option pp.binderTypes false
-- set_option pp.proofs true
def foo (n : Nat) : Nat :=
let x := Nat.zero;
let x1 := Nat.succ x;
let x2 := Nat.succ x1;
let x3 := Nat.succ x2;
let x4 := Nat.succ x3;
let x5 := Nat.succ x4;
let x6 ... |
8982243b1f87b76627f0f4da803196ebeb34d2b8 | 367134ba5a65885e863bdc4507601606690974c1 | /src/topology/sheaves/sheaf_of_functions.lean | e7900dc0d43cdfacd47e1bdd562e84bceb79400f | [
"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,409 | lean | /-
Copyright (c) 2020 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johan Commelin, Scott Morrison
-/
import topology.sheaves.presheaf_of_functions
import topology.sheaves.sheaf
import category_theory.limits.shapes.types
import topology.local_homeomorp... |
9eba1ba230cc3aef8e0f14083ac2511488e107c4 | a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91 | /tests/lean/run/def8.lean | a2692880cce9c4669b5adb11eace30fe1e1ba52c | [
"Apache-2.0"
] | permissive | soonhokong/lean-osx | 4a954262c780e404c1369d6c06516161d07fcb40 | 3670278342d2f4faa49d95b46d86642d7875b47c | refs/heads/master | 1,611,410,334,552 | 1,474,425,686,000 | 1,474,425,686,000 | 12,043,103 | 5 | 1 | null | null | null | null | UTF-8 | Lean | false | false | 673 | lean |
inductive imf {A B : Type} (f : A → B) : B → Type
| mk : ∀ (a : A), imf (f a)
definition g {A B : Type} {f : A → B} : ∀ {b : B}, imf f b → A
| .(f a) (imf.mk .f a) := a
example {A B : Type} (f : A → B) (a : A) : g (imf.mk f a) = a :=
rfl
definition v₁ : imf nat.succ 1 :=
(imf.mk nat.succ 0)
definition v₂ : imf (λ... |
bcd891197bedcabc3864a600a13207ab8b800e75 | 80cc5bf14c8ea85ff340d1d747a127dcadeb966f | /src/topology/metric_space/baire.lean | fcfd396b994f3753f55e2fda05a9c74bcc5f42f9 | [
"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 | 17,015 | 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.specific_limits
import order.filter.countable_Inter
/-!
# Baire theorem
In a complete metric space, a countable intersection of dense open sub... |
3092e2e706f1cb5f379d0580521bcdb7e564f667 | 3f1a1d97c03bb24b55a1b9969bb4b3c619491d5a | /library/init/meta/tactic.lean | 65d2e286cd7d3514f762edeca83b15638cd0f944 | [
"Apache-2.0"
] | permissive | praveenmunagapati/lean | 00c3b4496cef8e758396005013b9776bb82c4f56 | fc760f57d20e0a486d14bc8a08d89147b60f530c | refs/heads/master | 1,630,692,342,183 | 1,515,626,222,000 | 1,515,626,222,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 51,259 | 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.function init.data.option.basic init.util
import init.category.combinators init.category.monad init.category.alternative init.category.m... |
e90ea77722c1da55df7d6ab3e25c99659edccb1f | f4bff2062c030df03d65e8b69c88f79b63a359d8 | /src/for_mathlib/stuff.lean | 25a83789e92e7c1b7b968bd8396073f2a596709d | [
"Apache-2.0"
] | permissive | adastra7470/real-number-game | 776606961f52db0eb824555ed2f8e16f92216ea3 | f9dcb7d9255a79b57e62038228a23346c2dc301b | refs/heads/master | 1,669,221,575,893 | 1,594,669,800,000 | 1,594,669,800,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 614 | lean | --import algebra.pointwise tactic
/-
The below is not actually needed for this project
/-- Makes an add_comm_monoid in Lean's sense from a more minimal
set of axioms, deducing zero_add from add_comm and add_zero
-/
def add_comm_monoid.mk' {M : Type*} [has_add M] [has_zero M]
(add_assoc : ∀ a b c : M, a + b + c = a + ... |
ca75f32961f23a309e64f0c7994ff86a0fb35bef | 8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3 | /src/ring_theory/algebra_tower.lean | d99f7239f42216063ad803646f9188cc4a10ee77 | [
"Apache-2.0"
] | permissive | troyjlee/mathlib | e18d4b8026e32062ab9e89bc3b003a5d1cfec3f5 | 45e7eb8447555247246e3fe91c87066506c14875 | refs/heads/master | 1,689,248,035,046 | 1,629,470,528,000 | 1,629,470,528,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 12,684 | lean | /-
Copyright (c) 2020 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau
-/
import algebra.algebra.restrict_scalars
import algebra.algebra.tower
import algebra.invertible
import linear_algebra.basis
import ring_theory.adjoin.basic
import ring_theory.po... |
aa2598d2d900051a28358720091fb0745d744cd0 | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/elab7.lean | 1f537ada875f700ce23afd3f41d7b0214f152774 | [
"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 | 167 | lean | set_option pp.all true
set_option pp.purify_metavars false
#check λ x : nat, x + 1
#check λ x y : nat, x + y
#check λ x y, x + y + 1
#check λ x, (x + 1) :: []
|
3cee82e827b1ec43c6a68cf8a15d62a42266de90 | 947b78d97130d56365ae2ec264df196ce769371a | /src/Lean/Elab/MutualDef.lean | d11e06cbc245bd642d26a167433de83f2bf56af5 | [
"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 | 26,500 | 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.Closure
import Lean.Meta.Check
import Lean.Elab.Command
import Lean.Elab.DefView
import Lean.Elab.PreDefinition
namespace Lean
namespace E... |
a4d5d5f96ab72cf21643ec0863f508771ec37569 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/category_theory/limits/fubini.lean | 3dad12f3e93853108ea02a7b78aef2cf3982a276 | [
"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 | 11,271 | 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 category_theory.limits.has_limits
import category_theory.products.basic
import category_theory.functor.currying
/-!
# A Fubini theorem for categorical limits
... |
8a1f20e42b2c6a91c066413308a3e50698621156 | 02005f45e00c7ecf2c8ca5db60251bd1e9c860b5 | /src/logic/basic.lean | a715ba3480bfb7037931a2f9efae18e4cb7c4a8e | [
"Apache-2.0"
] | permissive | anthony2698/mathlib | 03cd69fe5c280b0916f6df2d07c614c8e1efe890 | 407615e05814e98b24b2ff322b14e8e3eb5e5d67 | refs/heads/master | 1,678,792,774,873 | 1,614,371,563,000 | 1,614,371,563,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 55,593 | 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
-/
import tactic.doc_commands
import tactic.reserved_notation
/-!
# Basic logic properties
This file is one of the earliest imports in mathlib.
## Im... |
6b125822066cfe7a685d82e77ebe88255a334b8d | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/aux_decl_zeta.lean | b456cff8b5d0c68409ca81f64cbb5a2a0057da29 | [
"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 | 450 | lean | inductive vec (A : Sort*) : nat → Sort*
| nil : vec 0
| cons : Π {n}, A → vec n → vec (n+1)
definition f : bool → Prop
| x :=
let m := 10,
n := m in
match x with
| tt := true
| ff := ∀ (x : vec nat 10) (w : vec nat n), x = w
end
set_option eqn_compiler.zeta true
definition g : bool → Prop
| x :=
le... |
63ab8669af8a8c36c4d62cf233b1e492ab881996 | 35677d2df3f081738fa6b08138e03ee36bc33cad | /src/category_theory/currying.lean | 87f8f54a82b2fcb628f5d48e626eb4e39b199d9f | [
"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,339 | lean | /-
Copyright (c) 2017 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison
-/
import category_theory.products.bifunctor
import category_theory.equivalence
import category_theory.eq_to_hom
namespace category_theory
universes v₁ v₂ v₃ u₁ u₂ u₃... |
605c2b8d7831b3a42db0c7888113e424589d5a52 | 63abd62053d479eae5abf4951554e1064a4c45b4 | /src/data/polynomial/degree.lean | f0466dbaad590c3c1647b2f0185330f352620785 | [
"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 | 5,486 | 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.eval
import tactic.interval_cases
/-!
# Theory of degrees of polynomials
Some of the main results... |
949cc28d5ccacadd0e769b273dd17f5c05ed8752 | 0e175f34f8dca5ea099671777e8d7446d7d74227 | /tests/lean/rename.lean | 909cc25318e4ba57c0ebac10db8ce497edaecc0c | [
"Apache-2.0"
] | permissive | utensil-contrib/lean | b31266738071c654d96dac8b35d9ccffc8172fda | a28b9c8f78d982a4e82b1e4f7ce7988d87183ae8 | refs/heads/master | 1,670,045,564,075 | 1,597,397,599,000 | 1,597,397,599,000 | 287,528,503 | 0 | 0 | Apache-2.0 | 1,597,408,338,000 | 1,597,408,337,000 | null | UTF-8 | Lean | false | false | 877 | lean | example {α β} (a : α) (b : β) : unit :=
begin
rename a a', -- rename-compatible syntax
guard_hyp a' := α,
rename a' → a, -- more suggestive syntax
guard_hyp a := α,
rename [a a', b b'], -- parallel renaming
guard_hyp a' := α,
guard_hyp b' := β,
rename [a' → a, b' → b], -... |
13b6ef33731544032c55d019f0ec2a82ce31d471 | 8b9f17008684d796c8022dab552e42f0cb6fb347 | /hott/types/default.hlean | d4947f6d32eeb5f7c0b1771f55a607bfd220cdd5 | [
"Apache-2.0"
] | permissive | chubbymaggie/lean | 0d06ae25f9dd396306fb02190e89422ea94afd7b | d2c7b5c31928c98f545b16420d37842c43b4ae9a | refs/heads/master | 1,611,313,622,901 | 1,430,266,839,000 | 1,430,267,083,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 277 | hlean | /-
Copyright (c) 2015 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Module: types.default
Authors: Floris van Doorn
The core of the HoTT library
-/
import .sigma .prod .pi .equiv .fiber .eq .trunc .arrow .pointed
|
17167fd4749c1cf86ec4c81a6702c576b78d388c | 9dc8cecdf3c4634764a18254e94d43da07142918 | /counterexamples/pseudoelement.lean | 1f093546d6b19b56e0a2a55b83c844f0a792c89e | [
"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,376 | lean | /-
Copyright (c) 2022 Riccardo Brasca. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Riccardo Brasca
-/
import category_theory.abelian.pseudoelements
/-!
# Pseudoelements and pullbacks
Borceux claims in Proposition 1.9.5 that the pseudoelement constructed in
`catego... |
92cc0eff74680103d0aa1fb9794d1267fb714e65 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/deprecated/ring.lean | 315e6ff949eaf585d2a2ac11b4109b0e621b0b90 | [
"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 | 5,110 | lean | /-
Copyright (c) 2020 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
-/
import deprecated.group
/-!
# Unbundled semiring and ring homomorphisms (deprecated)
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> Any changes to this file require a... |
0a6ed30e07a1bd6e0f79aa719e0f36dbfc154978 | 4c06d0726f5a71477566b5375c127fa204c6c583 | /proofs-before.lean | 902d04665b031539e2313e0c307551b327b5bed1 | [] | no_license | skaslev/proofs-talk | d2e990c889ee0b3fe015fa391011078a63dba0d5 | b8019ae7506def5f8d657c35c8c4ee685a015796 | refs/heads/master | 1,585,996,863,406 | 1,541,627,234,000 | 1,541,627,234,000 | 155,862,265 | 1 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 3,152 | lean | attribute [simp] function.comp
section intro
variables {a b c d e : Type}
def modus_ponens : a → (a → b) → b :=
sorry
def modus_tollens : (b → empty) → (a → b) → (a → empty) :=
sorry
def ex_falso_quodlibet : empty → a :=
sorry
def eagle : (a → d → c) → a → (b → e → d) → b → e → c :=
sorry
def batman : (((a → emp... |
25452eaff94f01e96bf2325719ab48ee71585b77 | 36c7a18fd72e5b57229bd8ba36493daf536a19ce | /library/data/list/comb.lean | 45bef1e927fc6c534ed1022be018ef5599d510de | [
"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 | 24,247 | lean | /-
Copyright (c) 2015 Leonardo de Moura. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura, Haitao Zhang, Floris van Doorn
List combinators.
-/
import data.list.basic data.equiv
open nat prod decidable function helper_tactics algebra
namespace list
var... |
d01e60649743b9eda4f70342f67445b05e2ec9b4 | 80cc5bf14c8ea85ff340d1d747a127dcadeb966f | /src/category_theory/groupoid.lean | 4438eb1036a19fb81f1cc79afc11e8c8cf5fa33f | [
"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 | 2,085 | lean | /-
Copyright (c) 2018 Reid Barton All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Reid Barton, Scott Morrison, David Wärn
-/
import category_theory.epi_mono
namespace category_theory
universes v v₂ u u₂ -- declare the `v`'s first; see `category_theory.category` for an... |
80baeaab2f4891034c33e00ff2b9b4788774837b | 57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d | /src/Lean/Meta/Tactic/Simp/Types.lean | e2b4bb4678e3daea4a560adf3feef0d370ed821f | [
"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 | 2,142 | 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.AppBuilder
import Lean.Meta.Tactic.Simp.SimpLemmas
import Lean.Meta.Tactic.Simp.CongrLemmas
namespace Lean.Meta
namespace Simp
structure ... |
3620a07ff15cbb4aa143c7544e4ab185aba1b8bb | 2c096fdfecf64e46ea7bc6ce5521f142b5926864 | /src/Lean/Meta/Basic.lean | 8f13208492a5e78fed5ede6669a34dca5fb00511 | [
"Apache-2.0",
"LLVM-exception",
"NCSA",
"LGPL-3.0-only",
"LicenseRef-scancode-inner-net-2.0",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"Spencer-94",
"LGPL-2.1-or-later",
"HPND",
"LicenseRef-scancode-pcre",
"ISC",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"SunPro",
"CMU-Mach"... | permissive | Kha/lean4 | 1005785d2c8797ae266a303968848e5f6ce2fe87 | b99e11346948023cd6c29d248cd8f3e3fb3474cf | refs/heads/master | 1,693,355,498,027 | 1,669,080,461,000 | 1,669,113,138,000 | 184,748,176 | 0 | 0 | Apache-2.0 | 1,665,995,520,000 | 1,556,884,930,000 | Lean | UTF-8 | Lean | false | false | 73,171 | lean | /-
Copyright (c) 2019 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
import Lean.Data.LOption
import Lean.Environment
import Lean.Class
import Lean.ReducibilityAttrs
import Lean.Util.ReplaceExpr
import Lean.Util.MonadBacktrac... |
8d2d00c695965229a05a11e7cfdc8018fb4aa68a | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/tactic/suggest.lean | 0b73339384f4009e4c11761dfec7a82c4d910954 | [
"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 | 22,327 | lean | /-
Copyright (c) 2019 Lucas Allen. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Lucas Allen, Scott Morrison
-/
import data.bool.basic
import data.mllist
import tactic.solve_by_elim
/-!
# `suggest` and `library_search`
`suggest` and `library_search` are a pair of ta... |
a5cac38785e4e57636751cd5c279c70bb7354c5d | f57749ca63d6416f807b770f67559503fdb21001 | /library/theories/group_theory/subgroup.lean | 133ccb2fa1be92e12928d48cd5b9c0a6efa2b907 | [
"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 | 16,949 | lean | /-
Copyright (c) 2015 Haitao Zhang. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author : Haitao Zhang
-/
import data algebra.group data
open function eq.ops
open set
namespace algebra
namespace coset
-- semigroup coset definition
section
variable {A : Type}
variable [s :... |
7e6411215c76f5ea901dd8f34f5e518b24a0a1d6 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/algebra/is_prime_pow.lean | 862dd75df97972b49a90a8001e0be51febcd2d92 | [
"Apache-2.0"
] | permissive | alreadydone/mathlib | dc0be621c6c8208c581f5170a8216c5ba6721927 | c982179ec21091d3e102d8a5d9f5fe06c8fafb73 | refs/heads/master | 1,685,523,275,196 | 1,670,184,141,000 | 1,670,184,141,000 | 287,574,545 | 0 | 0 | Apache-2.0 | 1,670,290,714,000 | 1,597,421,623,000 | Lean | UTF-8 | Lean | false | false | 4,135 | lean | /-
Copyright (c) 2022 Bhavik Mehta. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Bhavik Mehta
-/
import algebra.associated
import number_theory.divisors
/-!
# Prime powers
This file deals with prime powers: numbers which are positive integer powers of a single prim... |
5fe11522fdb3f86aa6a6f2588348ce071f2614b4 | 2eab05920d6eeb06665e1a6df77b3157354316ad | /src/data/zmod/basic.lean | 729ed89f853d4ad828660b56feea31797eafc315 | [
"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 | 32,591 | 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.char_p.basic
import ring_theory.ideal.operations
import tactic.fin_cases
/-!
# Integers mod `n`
Definition of the integers mod n, and the field structur... |
9a6bb2ec770e85d06bda7bfac485a58da7c6cd38 | 8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3 | /src/algebra/covariant_and_contravariant.lean | c327e664b7e187cd77ad213acc31760fd4d2aa9b | [
"Apache-2.0"
] | permissive | troyjlee/mathlib | e18d4b8026e32062ab9e89bc3b003a5d1cfec3f5 | 45e7eb8447555247246e3fe91c87066506c14875 | refs/heads/master | 1,689,248,035,046 | 1,629,470,528,000 | 1,629,470,528,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 12,043 | lean | /-
Copyright (c) 2021 Damiano Testa. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Damiano Testa
-/
import algebra.group.defs
/-!
# Covariants and contravariants
This file contains general lemmas and instances to work with the interactions between a relation and
a... |
3cc72afd24efcf9cc0764396cf6723d6ccc7b65b | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/data/real/enat_ennreal.lean | 34c1e850517162dfe5a3cd2e20e5cf3361624ac0 | [
"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 | 2,741 | lean | /-
Copyright (c) 2022 Yury Kudryashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yury Kudryashov
-/
import data.enat.basic
import data.real.ennreal
/-!
# Coercion from `ℕ∞` to `ℝ≥0∞`
In this file we define a coercion from `ℕ∞` to `ℝ≥0∞` and prove some basic lemm... |
e762e50169c30c125f57eaec6b8a1b2b6933d1ef | c777c32c8e484e195053731103c5e52af26a25d1 | /src/field_theory/abel_ruffini.lean | d5d694479963dea5f5bef3934c3b5ebc4d431397 | [
"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 | 17,018 | lean | /-
Copyright (c) 2020 Thomas Browning and Patrick Lutz. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Thomas Browning, Patrick Lutz
-/
import group_theory.solvable
import field_theory.polynomial_galois_group
import ring_theory.roots_of_unity
/-!
# The Abel-Ruffini T... |
3298de8aee6f720e5e76e5c7fc4a918e18fe99af | e030b0259b777fedcdf73dd966f3f1556d392178 | /tests/lean/run/smt_ematch2.lean | a365f5bc2ed8be9ad289944e4baafd32fbe10b53 | [
"Apache-2.0"
] | permissive | fgdorais/lean | 17b46a095b70b21fa0790ce74876658dc5faca06 | c3b7c54d7cca7aaa25328f0a5660b6b75fe26055 | refs/heads/master | 1,611,523,590,686 | 1,484,412,902,000 | 1,484,412,902,000 | 38,489,734 | 0 | 0 | null | 1,435,923,380,000 | 1,435,923,379,000 | null | UTF-8 | Lean | false | false | 2,775 | lean | universe variables u
namespace foo
variables {α : Type u}
open smt_tactic
meta def no_ac : smt_config :=
{ default_smt_config with cc_cfg := { default_cc_config with ac := ff }}
meta def blast : tactic unit :=
using_smt_core no_ac $ intros >> repeat (ematch >> try close)
section add_comm_monoid
variables [add_comm_m... |
f63ae0a17a1cbdb49b448f1bf20a02e720335025 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/category_theory/limits/pi.lean | b874c5e60dbab20d9e0669de970325cbf975fb2c | [] | no_license | AurelienSaue/Mathlib4_auto | f538cfd0980f65a6361eadea39e6fc639e9dae14 | 590df64109b08190abe22358fabc3eae000943f2 | refs/heads/master | 1,683,906,849,776 | 1,622,564,669,000 | 1,622,564,669,000 | 371,723,747 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 4,813 | lean | /-
Copyright (c) 2020 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.category_theory.pi.basic
import Mathlib.category_theory.limits.limits
import Mathlib.PostPo... |
5c853987a64542e020568102b8b139f142d61bf5 | 55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5 | /src/category_theory/limits/shapes/finite_limits.lean | d0d61a432192657a9216c6d17c5c53d6371a47d9 | [
"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 | 6,879 | 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 data.fintype.basic
import category_theory.limits.shapes.products
import category_theory.limits.shapes.equalizers
import category_theory.limits.shapes.pullbacks... |
40331bdda72c91c996b326f4a99cd099359aabc8 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/topology/algebra/module/strong_topology.lean | 8acfe0b4abcded9a0bd6c902dfdcdaefd135af86 | [
"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 | 9,379 | lean | /-
Copyright (c) 2022 Anatole Dedecker. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Anatole Dedecker
-/
import topology.algebra.uniform_convergence
/-!
# Strong topologies on the space of continuous linear maps
In this file, we define the strong topologies on `E →... |
0807cddc951a70520abd3f973a17e3930e043dd4 | a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91 | /tests/lean/pattern_pp.lean | 64977ca8965855e348392c4e80e09806d1106d75 | [
"Apache-2.0"
] | permissive | soonhokong/lean-osx | 4a954262c780e404c1369d6c06516161d07fcb40 | 3670278342d2f4faa49d95b46d86642d7875b47c | refs/heads/master | 1,611,410,334,552 | 1,474,425,686,000 | 1,474,425,686,000 | 12,043,103 | 5 | 1 | null | null | null | null | UTF-8 | Lean | false | false | 496 | lean | noncomputable definition Sum : nat → (nat → nat) → nat := sorry
attribute [forward]
definition Sum_weird (f g h : nat → nat) (n : nat) : (Sum n (λ x, f (g (h x)))) = 1 := sorry
print Sum_weird
/-
attribute [forward]
definition Sum_weird : ∀ (f g h : nat → nat) (n : nat), eq (Sum n (λ (x : nat), f (g (h x)))) 1 :=
λ (f... |
47a37908cc7152a21337806b0625f36e8d625ca5 | a45212b1526d532e6e83c44ddca6a05795113ddc | /src/meta/coinductive_predicates.lean | cbe756db64ece8696619f2acfa0ea5145035e755 | [
"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 | 23,077 | 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)
-/
namespace name
def last_string : name → string
| anonymous := "[anonymous]"
| (mk_string s _) := s
| (mk_numeral _ n) := last_string n
end name
names... |
620a9322613a374d2c5602f2df91e83a804d42af | 55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5 | /src/representation_theory/maschke.lean | f9c6e9bdf82fe09f1c16547445d7014b457c615e | [
"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 | 5,918 | lean | /-
Copyright (c) 2020 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Scott Morrison
-/
import data.monoid_algebra
import ring_theory.algebra
import algebra.invertible
import algebra.char_p
import linear_algebra.basis
/-!
# Maschke's theorem
We prove Ma... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.