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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fcc6c65045cbcafd9a7750ff25c3d5a242e9a6b1 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/tactic/find_unused.lean | f49e10485a45a1daedf8dac4399c62ce1cb6e0b0 | [] | 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,952 | lean | /-
Copyright (c) 2020 Simon Hudon. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Simon Hudon
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.tactic.core
import Mathlib.PostPort
namespace Mathlib
/-!
# list_unused_decls
`#list_unused_de... |
158b6916e842b37c7b545d3a9495bcb588b8396c | 22e97a5d648fc451e25a06c668dc03ac7ed7bc25 | /src/geometry/manifold/basic_smooth_bundle.lean | a684abdadfb8389d314cfb824fa3777c7c437257 | [
"Apache-2.0"
] | permissive | keeferrowan/mathlib | f2818da875dbc7780830d09bd4c526b0764a4e50 | aad2dfc40e8e6a7e258287a7c1580318e865817e | refs/heads/master | 1,661,736,426,952 | 1,590,438,032,000 | 1,590,438,032,000 | 266,892,663 | 0 | 0 | Apache-2.0 | 1,590,445,835,000 | 1,590,445,835,000 | null | UTF-8 | Lean | false | false | 31,886 | lean | /-
Copyright (c) 2019 Sébastien Gouëzel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sébastien Gouëzel
-/
import topology.topological_fiber_bundle
import geometry.manifold.smooth_manifold_with_corners
/-!
# Basic smooth bundles
In general, a smooth bundle is a bund... |
97dfb46a65f60dae4301d3fba6b0cb4acd635d27 | 491068d2ad28831e7dade8d6dff871c3e49d9431 | /hott/types/fiber.hlean | 9eb18444f73cf65c510df74d4b7f08ba9409b8ed | [
"Apache-2.0"
] | permissive | davidmueller13/lean | 65a3ed141b4088cd0a268e4de80eb6778b21a0e9 | c626e2e3c6f3771e07c32e82ee5b9e030de5b050 | refs/heads/master | 1,611,278,313,401 | 1,444,021,177,000 | 1,444,021,177,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 4,290 | 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
Ported from Coq HoTT
Theorems about fibers
-/
import .sigma .eq .pi .pointed
structure fiber {A B : Type} (f : A → B) (b : B) :=
(point : A)
(point_eq : f poin... |
b4febe739711383e5e305f4e2df21b27a9f01866 | 75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2 | /hott/cubical/cube.hlean | 2e0a806bc722b776ccadaa75abfffe969af7043e | [
"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 | 16,239 | 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, Jakob von Raumer
Cubes
-/
import .square
open equiv equiv.ops is_equiv sigma sigma.ops
namespace eq
inductive cube {A : Type} {a₀₀₀ : A} : Π{a₂₀₀ a₀₂₀ a₂₂₀ a₀... |
a6114e23f88d0ca65c4f9059fe975b816bd28cec | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/ring_theory/polynomial_algebra.lean | dcc3d84fef01f4c3900eae9d79019ebec96643c2 | [
"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 | 10,832 | 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 ring_theory.matrix_algebra
import data.polynomial.algebra_map
import data.matrix.basis
/-!
# Algebra isomorphism between matrices of polynomials and polynomia... |
e20540a06b2e51f878f01b81dd5ce5e31d8f41da | 4727251e0cd73359b15b664c3170e5d754078599 | /src/ring_theory/valuation/integers.lean | 6955151a5148cbb994b7059bb20c0866e70a79bc | [
"Apache-2.0"
] | permissive | Vierkantor/mathlib | 0ea59ac32a3a43c93c44d70f441c4ee810ccceca | 83bc3b9ce9b13910b57bda6b56222495ebd31c2f | refs/heads/master | 1,658,323,012,449 | 1,652,256,003,000 | 1,652,256,003,000 | 209,296,341 | 0 | 1 | Apache-2.0 | 1,568,807,655,000 | 1,568,807,655,000 | null | UTF-8 | Lean | false | false | 4,221 | 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 ring_theory.valuation.basic
/-!
# Ring of integers under a given valuation
The elements with valuation less than or equal to 1.
TODO: Define characteristic predicate... |
adff4a711b20498001b0594cb9ad74f668d6b694 | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/tactic/hint.lean | fc5f863edeb7222194eb3323962b0e4c65b8aaed | [
"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 | 3,955 | 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 tactic.solve_by_elim
import tactic.interactive
namespace tactic
namespace hint
/-- An attribute marking a `tactic unit` or `tactic string` which should be u... |
b27dda7448391a8d4b4fcb63690014aa678ac1a0 | d78da34857deb99eac819e7889eae59fdccec754 | /src/article2.lean | 605a9b87ea196cbb1830535ea91533d36ede1b15 | [] | no_license | wudcscheme/conceptual-mathematics-in-lean | 6ef168b69fb28eb25223db10ebb4b2fefad4dbdb | cc7877f528bfaf99a024844744e023acbfcadb1d | refs/heads/master | 1,678,885,284,910 | 1,601,437,497,000 | 1,601,663,206,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 19,969 | lean | import category_theory.category
import category_theory.isomorphism
import category_theory.types
import data.fintype.basic
import data.real.basic
import magma
open category_theory
namespace exercises
variables {C: Type*} [category C]
variables (A B D A' B' D' X T : C)
-- Exercise 1 page 40
-- the inverse of identit... |
6cdb246f1acf7a2db36a08b42329b72d1ef50a3a | ff5230333a701471f46c57e8c115a073ebaaa448 | /library/init/data/to_string.lean | a22a4a1aa7be9fe25a4acdce6a41e8148dd3ad18 | [
"Apache-2.0"
] | permissive | stanford-cs242/lean | f81721d2b5d00bc175f2e58c57b710d465e6c858 | 7bd861261f4a37326dcf8d7a17f1f1f330e4548c | refs/heads/master | 1,600,957,431,849 | 1,576,465,093,000 | 1,576,465,093,000 | 225,779,423 | 0 | 3 | Apache-2.0 | 1,575,433,936,000 | 1,575,433,935,000 | null | UTF-8 | Lean | false | false | 2,855 | 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.data.string.basic init.data.bool.basic init.data.subtype.basic
import init.data.unsigned.basic init.data.prod init.data.sum.basic init.da... |
427018792e822ab716c26543100dba6612626550 | bb31430994044506fa42fd667e2d556327e18dfe | /src/linear_algebra/affine_space/affine_subspace.lean | d7e5ebcb29fe29b85b268dbf4499cc493bc08b61 | [
"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 | 70,785 | lean | /-
Copyright (c) 2020 Joseph Myers. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joseph Myers
-/
import linear_algebra.affine_space.affine_equiv
/-!
# Affine spaces
This file defines affine subspaces (over modules) and the affine span of a set of points.
## Main d... |
7f020cb39e03098b05051e28f23fdabdc29d7799 | 3b15c7b0b62d8ada1399c112ad88a529e6bfa115 | /stage0/src/Lean/Meta/Basic.lean | f520e60c6749e59961db0da5d2e8f15bbecd6123 | [
"Apache-2.0"
] | permissive | stephenbrady/lean4 | 74bf5cae8a433e9c815708ce96c9e54a5caf2115 | b1bd3fc304d0f7bc6810ec78bfa4c51476d263f9 | refs/heads/master | 1,692,621,473,161 | 1,634,308,743,000 | 1,634,310,749,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 50,296 | 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.Trace
import Lean.Util.RecDepth
import Lea... |
31bc9b36058bfb5c52d0bb0a276d54ea7e485701 | 57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d | /stage0/src/Lean/Data/Lsp/TextSync.lean | 9691596406f68675ac2c9f1613e2a9e64610e36c | [
"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,780 | lean | /-
Copyright (c) 2020 Marc Huisinga. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Marc Huisinga, Wojciech Nawrocki
-/
import Lean.Data.Json
import Lean.Data.Lsp.Basic
/-! Section "Text Document Synchronization" of the LSP spec. -/
namespace Lean
namespace Lsp
ope... |
b979ef5e45d1baa9882eb2fba1b5351239560ad3 | 00c000939652bc85fffcfe8ba5dd194580a13c4b | /src/pfunctor.lean | d879e3955c260f6d3fc2a1174fabddffb24170fa | [
"Apache-2.0"
] | permissive | johoelzl/qpf | a795220c4e872014a62126800313b74ba3b06680 | d93ab1fb41d085e49ae476fa364535f40388f44d | refs/heads/master | 1,587,372,400,745 | 1,548,633,467,000 | 1,548,633,467,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 2,945 | lean | /-
Copyright (c) 2018 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Jeremy Avigad
Polynomial functors. Also expresses the W-type construction as a polynomial functor.
(For the M-type construction, see Mtype.lean.)
-/
import tactic.interactive data.multi... |
933425e342a5406c6b35eef4677fff8ffd6fa693 | 491068d2ad28831e7dade8d6dff871c3e49d9431 | /tests/lean/800.lean | b1528e773c44eeb88494ad07052bc28b9121d918 | [
"Apache-2.0"
] | permissive | davidmueller13/lean | 65a3ed141b4088cd0a268e4de80eb6778b21a0e9 | c626e2e3c6f3771e07c32e82ee5b9e030de5b050 | refs/heads/master | 1,611,278,313,401 | 1,444,021,177,000 | 1,444,021,177,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 464 | lean | import data.matrix data.list
open matrix nat list
variables {A : Type} {m n : nat}
definition row_vector [reducible] (A : Type) (n : nat) := matrix A 1 n
definition get_row [reducible] (M : matrix A m n) (row : fin m) : row_vector A n :=
λ i j, M row j
variables (M : matrix A m n) (row : fin m) (col : fin n)
notati... |
ed186a63f84ffe0d67a2a15441f67c6e49c7519f | 57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d | /tests/lean/run/structInst2.lean | 6f4324172ddac77892d45ea61cf06096f01d4181 | [
"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 | 1,517 | lean | import Init.Control.Option
universes u v
def OptionT2 (m : Type u → Type v) (α : Type u) : Type v :=
m (Option α)
namespace OptionT2
variable {m : Type u → Type v} [Monad m] {α β : Type u}
@[inline] protected def bind (ma : OptionT2 m α) (f : α → OptionT2 m β) : OptionT2 m β :=
(do {
let a? ← ma;
(match a?... |
20e0c67c5fab62f612c9b1e1eea228b038bb9a5b | 7cef822f3b952965621309e88eadf618da0c8ae9 | /src/topology/uniform_space/pi.lean | aad26dff162e12a00e941972c4820dbea405db30 | [
"Apache-2.0"
] | permissive | rmitta/mathlib | 8d90aee30b4db2b013e01f62c33f297d7e64a43d | 883d974b608845bad30ae19e27e33c285200bf84 | refs/heads/master | 1,585,776,832,544 | 1,576,874,096,000 | 1,576,874,096,000 | 153,663,165 | 0 | 2 | Apache-2.0 | 1,544,806,490,000 | 1,539,884,365,000 | Lean | UTF-8 | Lean | false | false | 1,765 | lean | /-
Copyright (c) 2019 Patrick Massot. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Patrick Massot
Indexed product of uniform spaces
-/
import topology.uniform_space.cauchy
import topology.uniform_space.separation
noncomputable theory
open_locale uniformity topolog... |
99147399788a0f7ed356db916ab8cadeefaf69cc | 57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d | /stage0/src/Lean/Elab/Extra.lean | b90aef3404facf9133634be576a0c4db1f614d72 | [
"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 | 3,721 | lean | /-
Copyright (c) 2021 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
import Lean.Elab.App
/-
Auxiliary elaboration functions: AKA custom elaborators
-/
namespace Lean.Elab.Term
open Meta
@[builtinTermElab binrel] def elabB... |
7c4efb9df5537dcc59dfe79473e4a3df52dcd6b0 | d72901cc240bd78b8b0384565e4f4dee8abd3a86 | /src/field_theory/adjoin.lean | 4d57014c7b2c8fd040cac34cd22c8a32d624e4fc | [
"Apache-2.0"
] | permissive | leon-volq/mathlib | 513b24765349bb5187df9d898b92beadf96124d9 | 0cc93a137e9b2e243f8ae1f808fa7225ce0fe143 | refs/heads/master | 1,676,294,376,990 | 1,610,838,688,000 | 1,610,838,688,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 24,163 | 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 and Patrick Lutz
-/
import field_theory.intermediate_field
import field_theory.splitting_field
import field_theory.separable
/-!
# Adjoining Element... |
ed6b2ac2a2287845b4c644cd5b84199bfb35a1b2 | 9be442d9ec2fcf442516ed6e9e1660aa9071b7bd | /tests/lean/rwWithoutOffsetCnstrs.lean | 2db3af5eea8c1f753b2fb7bdcde3bd3802c5fe43 | [
"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 | 222 | lean | open Lean.Parser.Tactic in
macro "rw0" s:rwRuleSeq : tactic =>
`(rw (config := { offsetCnstrs := false }) $s:rwRuleSeq)
example (m n : Nat) : Nat.ble (n+1) (n+0) = false := by
rw0 [Nat.add_zero]
trace_state
admit
|
a7150d45389043239385a7b8ef090f5005820bbd | 5e3548e65f2c037cb94cd5524c90c623fbd6d46a | /src_icannos_totilas/reduction/cpge_reduction_012_a.lean | 84d0b77247d20bcce9e48ecf052d6bb032f46db9 | [] | no_license | ahayat16/lean_exos | d4f08c30adb601a06511a71b5ffb4d22d12ef77f | 682f2552d5b04a8c8eb9e4ab15f875a91b03845c | refs/heads/main | 1,693,101,073,585 | 1,636,479,336,000 | 1,636,479,336,000 | 415,000,441 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 970 | lean | import data.real.basic
import data.polynomial.derivative
import linear_algebra.basic
import linear_algebra.finite_dimensional
-- On se place dans le R -espace vectoriel E = R[X] .
-- (a) Soit H un sous-espace vectoriel de dimension finie et f un endomorphisme de H. Montrer qu'il existe p ∈ N tel que
-- ∀k ≥ p, Ke... |
f2e2a2a6c08bc735721261ee7f82f4004b50eeec | 05f637fa14ac28031cb1ea92086a0f4eb23ff2b1 | /tests/lean/tst5.lean | 454055b2cff88cd97d323c159eae0866ed183151 | [
"Apache-2.0"
] | permissive | codyroux/lean0.1 | 1ce92751d664aacff0529e139083304a7bbc8a71 | 0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef | refs/heads/master | 1,610,830,535,062 | 1,402,150,480,000 | 1,402,150,480,000 | 19,588,851 | 2 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 180 | lean | universe U >= 3
variable N : Type
variable a : N
variable b : N
print a = b
check a = b
set_option lean::pp::implicit true
print a = b
print (Type 1) = (Type 1)
print true = false
|
6c0c9fe3e0ad877aae0b8956c357be5710bb2531 | f1a12d4db0f46eee317d703e3336d33950a2fe7e | /common/list.lean | b51869b4101e46466c3cce6baa05bd4381b448e2 | [
"Apache-2.0"
] | permissive | avigad/qelim | bce89b79c717b7649860d41a41a37e37c982624f | b7d22864f1f0a2d21adad0f4fb3fc7ba665f8e60 | refs/heads/master | 1,584,548,938,232 | 1,526,773,708,000 | 1,526,773,708,000 | 134,967,693 | 2 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 21,289 | lean | import .auxiliary ...mathlib.data.list.basic
variables {α β γ : Type}
namespace list
def update_nth_force : list α → ℕ → α → α → list α
| (x::xs) 0 a a' := a :: xs
| (x::xs) (i+1) a a' := x :: update_nth_force xs i a a'
| [] 0 a a' := [a]
| [] (i+1) a a' := a' :: update_nth_force [] i a a'
def zi... |
9bc7aa96c8329a62426496bbe02b768decc4a876 | fe84e287c662151bb313504482b218a503b972f3 | /src/exercises/loh/exercises_2.lean | 071fc3d24333755159c2a67b8f69ebf43ed71cf7 | [] | no_license | NeilStrickland/lean_lib | 91e163f514b829c42fe75636407138b5c75cba83 | 6a9563de93748ace509d9db4302db6cd77d8f92c | refs/heads/master | 1,653,408,198,261 | 1,652,996,419,000 | 1,652,996,419,000 | 181,006,067 | 4 | 1 | null | null | null | null | UTF-8 | Lean | false | false | 1,520 | lean | import data.finset
import data.real.basic
import algebra.group.basic
import algebra.order.floor
#check finset.sum_range_induction
section commutators
variables {G H : Type*} [group G] [group H]
def γ (a b : G) : G := a * b * a⁻¹ * b⁻¹
lemma map_γ (f : monoid_hom G H) (a b : G) : f (γ a b) = γ (f a) (f b) := by {
... |
906e1d1261721e7e380643ca93cb36af8f38e9f2 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/lean/run/382.lean | c0923f8daa43a594de24d5f74bf9798808cdbf5a | [
"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 | 167 | lean | variable (n k : Nat)
set_option pp.all true
#check n+k
#check (n + k : Int)
#check (n + 1 : Int)
#check (2 + n : Int)
#check (1 + 2 : Int)
#check (1 + 2 * 3 : UInt32)
|
993f240cb544ae47178d0885d28d85e3b5e81254 | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/data/equiv/basic.lean | 212abd8ad6173566a5aa0dd5537bb9aa80d8aa68 | [
"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 | 101,067 | 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.set.function
import data.sigma.basic
/-!
# Equivalence between types
In this file we define two types:
* `equiv α β` a.k.a. `... |
eb200766d6d3815b3f468280cd7119b44c549b9d | 71c62298fd72620ddff9e4ed896ca29a77073a7c | /2.lean | be63becc9016915182452f40480b5d58571f76c0 | [] | no_license | BelegCuthalion/lean-exc | dcfe8e4c2293a661a830ce06f5fa032563901ec6 | 9143dc8b8aac62b9b2dcee85b619fe5c2e2a7144 | refs/heads/master | 1,688,507,036,780 | 1,627,883,419,000 | 1,627,883,419,000 | 335,643,688 | 3 | 2 | null | null | null | null | UTF-8 | Lean | false | false | 230 | lean | def curry (α β γ : Type) (f : α × β → γ) : α → β → γ :=
begin
assume a b,
exact f ⟨a,b⟩
end
def uncurry (α β γ : Type) (f : α → β → γ) : α × β → γ :=
begin
assume p,
exact f p.1 p.2
end |
5ae8ae9e80b13ec02a93754cb91de58ea1d083a7 | aa3f8992ef7806974bc1ffd468baa0c79f4d6643 | /tests/lean/run/uuu.lean | 1657ee4924bda25ea6f843f98a1423d782e836d5 | [
"Apache-2.0"
] | permissive | codyroux/lean | 7f8dff750722c5382bdd0a9a9275dc4bb2c58dd3 | 0cca265db19f7296531e339192e9b9bae4a31f8b | refs/heads/master | 1,610,909,964,159 | 1,407,084,399,000 | 1,416,857,075,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 5,399 | lean | -- Porting Vladimir's file to Lean
notation `assume` binders `,` r:(scoped f, f) := r
notation `take` binders `,` r:(scoped f, f) := r
inductive empty : Type
inductive unit : Type :=
tt : unit
definition tt := @unit.tt
inductive nat : Type :=
O : nat,
S : nat → nat
inductive paths {A : Type} (a : A) : A → Type :=
i... |
7bcb03cd30d595652e77f03b60634c1a4395c107 | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/algebra/order/pi.lean | f2f3b1518818f45c35a80bfc3e640c6aacf7d8f4 | [
"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 | 2,316 | lean | /-
Copyright (c) 2018 Simon Hudon. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Simon Hudon, Patrick Massot
-/
import algebra.group.pi
import algebra.order.group
import tactic.pi_instances
/-!
# Pi instances for ordered groups and monoids
This file defines instances... |
c01b6375f71cbbe5a614219e0837769f217d68d3 | 626e312b5c1cb2d88fca108f5933076012633192 | /src/analysis/normed_space/inner_product.lean | d943739a0b821bfe533a72ae45802eb977ae901a | [
"Apache-2.0"
] | permissive | Bioye97/mathlib | 9db2f9ee54418d29dd06996279ba9dc874fd6beb | 782a20a27ee83b523f801ff34efb1a9557085019 | refs/heads/master | 1,690,305,956,488 | 1,631,067,774,000 | 1,631,067,774,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 127,192 | lean | /-
Copyright (c) 2019 Zhouhang Zhou. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Zhouhang Zhou, Sébastien Gouëzel, Frédéric Dupuis, Heather Macbeth
-/
import analysis.complex.basic
import analysis.normed_space.bounded_linear_maps
import analysis.special_functions.sq... |
5ce1223a380e1a5885da8040968565dacd556c12 | 510e96af568b060ed5858226ad954c258549f143 | /data/int/order.lean | 791d3779ab21e51790e7d84e23cf9ce112230c39 | [] | no_license | Shamrock-Frost/library_dev | cb6d1739237d81e17720118f72ba0a6db8a5906b | 0245c71e4931d3aceeacf0aea776454f6ee03c9c | refs/heads/master | 1,609,481,034,595 | 1,500,165,215,000 | 1,500,165,347,000 | 97,350,162 | 0 | 0 | null | 1,500,164,969,000 | 1,500,164,969,000 | null | UTF-8 | Lean | false | false | 7,353 | lean | /-
Copyright (c) 2016 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad
The order relation on the integers.
-/
import .basic
namespace int
end int
/-
/- more facts specific to int -/
theorem coe_nat_nonneg (n : ℕ) : 0 ≤ ↑n := trivial
the... |
9add11048cf4a6e9d0c1c4814c019d16984e503e | 367134ba5a65885e863bdc4507601606690974c1 | /src/category_theory/triangulated/basic.lean | ae90aba51954b8697bb0c3c9aad5120cc34b5d7d | [
"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 | 3,995 | lean | /-
Copyright (c) 2021 Luke Kershaw. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Luke Kershaw
-/
import category_theory.additive.basic
import category_theory.shift
import category_theory.abelian.additive_functor
/-!
# Triangulated Categories
This file contains the ... |
f437c1b6bd5687ed74e4c8d7ad313507dd0e94e0 | 02005f45e00c7ecf2c8ca5db60251bd1e9c860b5 | /src/ring_theory/witt_vector/teichmuller.lean | f0079bbad403eb53e5f31867a4bebf00abd54c14 | [
"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 | 4,521 | 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 ring_theory.witt_vector.basic
/-!
# Teichmüller lifts
This file defines `witt_vector.teichmuller`, a monoid hom `R →* 𝕎 R`, which embeds `r : R` as the
`0`... |
3110d0bad1350ec0b6c33f8c652cac8537c99d73 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/topology/bornology/basic.lean | 80f7ae0d71c7abf9187864b61eef897e736fedab | [
"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 | 10,093 | lean | /-
Copyright (c) 2022 Jireh Loreaux. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jireh Loreaux
-/
import order.filter.cofinite
/-!
# Basic theory of bornology
We develop the basic theory of bornologies. Instead of axiomatizing bounded sets and defining
bornologies... |
f6f2c714fcb43c8cb0fbdcc7dce2015350fe9121 | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/topology/basic.lean | 4967dbfe8b8306c02f3063f0b6c280c45784b2fd | [
"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 | 72,187 | 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, Jeremy Avigad
-/
import order.filter.ultrafilter
import order.filter.partial
import order.filter.small_sets
import algebra.support
/-!
# Basic theory o... |
6f94b2a78ae3f7bc94ae516195fc527e9f8217b6 | a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940 | /stage0/src/Lean/Elab/Tactic/Location.lean | 4cb5ef721e38967541a2616943e2b093ee7ca6c3 | [
"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 | 873 | lean | /-
Copyright (c) 2020 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
namespace Lean.Elab.Tactic
inductive Location where
| wildcard
| targets (hypotheses : Array Name) (type : Bool)
/-
Recall that
```
syntax locationWil... |
097d6d0957ee7e017f8e159adfe0eff2f2bb16c1 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /src/lake/Lake/Version.lean | 05b856e438f54f266f4b3c4f3aba55b1cd3ab546 | [
"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 | 700 | lean | /-
Copyright (c) 2021 Mac Malone. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mac Malone
-/
namespace Lake
def version.major := 5
def version.minor := 0
def version.patch := 0
def version.isRelease :=
Lean.version.isRelease
def version.specialDesc :=
if isRe... |
0c1b455771a9a5cb4fc6121b89f00ebdd7661873 | 4fa161becb8ce7378a709f5992a594764699e268 | /src/algebra/add_torsor.lean | c7b2f6a5f8de8533534527499ed28443e475e7ee | [
"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 | 11,942 | lean | /-
Copyright (c) 2020 Joseph Myers. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joseph Myers, Yury Kudryashov.
-/
import algebra.group.prod
import algebra.group.type_tags
import algebra.pi_instances
import data.equiv.basic
/-!
# Torsors of additive group actions
T... |
bd0a09eaf781f0cfa546d9c8d2c08c8cde1b27ee | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/ring_theory/power_series/well_known.lean | 95b14d16c5a8522a98bbfea5f159d367d2189ba7 | [
"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,749 | 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 ring_theory.power_series.basic
import data.nat.parity
import algebra.big_operators.nat_antidiagonal
/-!
# Definition of well-known power series
> THI... |
045a247bb3ec9e097c682cdc536d8b4bc3cbda01 | 01ae0d022f2e2fefdaaa898938c1ac1fbce3b3ab | /categories/functor_categories/default.lean | dfa983481a7b13ec99592d2be0963acbbcb30765 | [] | no_license | PatrickMassot/lean-category-theory | 0f56a83464396a253c28a42dece16c93baf8ad74 | ef239978e91f2e1c3b8e88b6e9c64c155dc56c99 | refs/heads/master | 1,629,739,187,316 | 1,512,422,659,000 | 1,512,422,659,000 | 113,098,786 | 0 | 0 | null | 1,512,424,022,000 | 1,512,424,022,000 | null | UTF-8 | Lean | false | false | 3,588 | 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
import ..natural_transformation
open categories
open categories.isomorphism
open categories.functor
open categories.natural_transfor... |
0e3a400d9351fa57ff89cfacae0f1457791754ee | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/probability/martingale/optional_stopping.lean | 5e609db29e41efc18e86d05ef17189fff2521e5d | [
"Apache-2.0"
] | permissive | alreadydone/mathlib | dc0be621c6c8208c581f5170a8216c5ba6721927 | c982179ec21091d3e102d8a5d9f5fe06c8fafb73 | refs/heads/master | 1,685,523,275,196 | 1,670,184,141,000 | 1,670,184,141,000 | 287,574,545 | 0 | 0 | Apache-2.0 | 1,670,290,714,000 | 1,597,421,623,000 | Lean | UTF-8 | Lean | false | false | 12,230 | lean | /-
Copyright (c) 2022 Kexing Ying. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kexing Ying
-/
import probability.process.hitting_time
import probability.martingale.basic
/-! # Optional stopping theorem (fair game theorem)
The optional stopping theorem states that ... |
75f78c02255971dcbc19506c383c8e43c06731fc | 82e44445c70db0f03e30d7be725775f122d72f3e | /test/instance_diamonds.lean | bd263b55036966965e0d032fa046c791194f8604 | [
"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 | 1,206 | 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.module.pi
import data.polynomial.basic
import group_theory.group_action.prod
import group_theory.group_action.units
/-! # Tests that instances do not form ... |
3841e1ed3223d0185b9759b15510319a80d8ca58 | d9d511f37a523cd7659d6f573f990e2a0af93c6f | /src/measure_theory/decomposition/radon_nikodym.lean | eaa90ff5da77b49ac0fbab731304a0f120212bcc | [
"Apache-2.0"
] | permissive | hikari0108/mathlib | b7ea2b7350497ab1a0b87a09d093ecc025a50dfa | a9e7d333b0cfd45f13a20f7b96b7d52e19fa2901 | refs/heads/master | 1,690,483,608,260 | 1,631,541,580,000 | 1,631,541,580,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 2,575 | lean | /-
Copyright (c) 2021 Kexing Ying. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kexing Ying
-/
import measure_theory.decomposition.lebesgue
/-!
# Radon-Nikodym theorem
This file proves the Radon-Nikodym theorem. The Radon-Nikodym theorem states that, given measures... |
ba69f602a6a6745eff4cb4222bdc63cc1ff18eab | a4673261e60b025e2c8c825dfa4ab9108246c32e | /stage0/src/Init/Meta.lean | c060538ac782ccb666cec7fe9c5c390a9aae87c2 | [
"Apache-2.0"
] | permissive | jcommelin/lean4 | c02dec0cc32c4bccab009285475f265f17d73228 | 2909313475588cc20ac0436e55548a4502050d0a | refs/heads/master | 1,674,129,550,893 | 1,606,415,348,000 | 1,606,415,348,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 22,486 | 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 and Sebastian Ullrich
Additional goodies for writing macros
-/
prelude
import Init.Data.Array.Basic
namespace Lean
/- Valid identifier names -/
def isGreek (... |
4115de2b7a0847b57ae893a097c29717e9096024 | 491068d2ad28831e7dade8d6dff871c3e49d9431 | /tests/lean/param.lean | 01c874eb8f012f454d19415b326092ad24ebd398 | [
"Apache-2.0"
] | permissive | davidmueller13/lean | 65a3ed141b4088cd0a268e4de80eb6778b21a0e9 | c626e2e3c6f3771e07c32e82ee5b9e030de5b050 | refs/heads/master | 1,611,278,313,401 | 1,444,021,177,000 | 1,444,021,177,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 508 | lean | import data.num
open num
definition foo1 a b c := a + b + c
definition foo2 (a : num) b c := a + b + c
definition foo3 a b (c : num) := a + b + c
definition foo4 (a b c : num) := a + b + c
definition foo5 (a b c) : num := a + b + c
definition foo6 {a b c} : num := a + b + c
definition foo7 a b c : num := a + b +... |
6f0f59e26fe1af7017130b8bb10a63b845e00484 | ad0c7d243dc1bd563419e2767ed42fb323d7beea | /linear_algebra/dimension.lean | 2bde208b1498a7ccc67d707cf57542bebc92faa7 | [
"Apache-2.0"
] | permissive | sebzim4500/mathlib | e0b5a63b1655f910dee30badf09bd7e191d3cf30 | 6997cafbd3a7325af5cb318561768c316ceb7757 | refs/heads/master | 1,585,549,958,618 | 1,538,221,723,000 | 1,538,221,723,000 | 150,869,076 | 0 | 0 | Apache-2.0 | 1,538,229,323,000 | 1,538,229,323,000 | null | UTF-8 | Lean | false | false | 4,863 | 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.basic
import linear_algebra.linear_map_module
import linear_algebra.prod_module
import linear_algebra.qu... |
1a5afcdbd1d390c16373708ea48cdc5a484e218f | b7f22e51856f4989b970961f794f1c435f9b8f78 | /tests/lean/hott/get_tac1.hlean | 28a621fd8320a48a03b26a8381d3ffa24604d98c | [
"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 | 205 | hlean | open eq
definition concat_pV_p {A : Type} {x y z : A} (p : x = z) (q : y = z) : (p ⬝ q⁻¹) ⬝ q = p :=
begin
generalize p,
eapply (eq.rec_on q),
intro p,
apply (eq.rec_on p),
apply idp
end
|
68e4148a544b58b02fb9b0612294246bc1a0d2ea | 35b83be3126daae10419b573c55e1fed009d3ae8 | /_target/deps/mathlib/data/padics/hensel.lean | 923c16a05a796d1e16f1723449e3fdcdac8cec37 | [] | no_license | AHassan1024/Lean_Playground | ccb25b72029d199c0d23d002db2d32a9f2689ebc | a00b004c3a2eb9e3e863c361aa2b115260472414 | refs/heads/master | 1,586,221,905,125 | 1,544,951,310,000 | 1,544,951,310,000 | 157,934,290 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 20,787 | 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... |
20313501b5863d13392f6f9d624f8525b065e9be | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/order/hom/bounded.lean | cb58486e39e0737d10a8465884edbcbce67cc2e8 | [
"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 | 21,356 | lean | /-
Copyright (c) 2022 Yaël Dillies. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yaël Dillies
-/
import order.hom.basic
import order.bounded_order
/-!
# Bounded order homomorphisms
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> Any changes to this file require a corr... |
377ca0b776640caa2c5bf9befb72d71c4269d1dd | 4727251e0cd73359b15b664c3170e5d754078599 | /src/ring_theory/finiteness.lean | 9e38911ef024d7a55610ebdb74eff3fde5bd7222 | [
"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 | 37,595 | 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 group_theory.finiteness
import ring_theory.algebra_tower
import ring_theory.ideal.quotient
import ring_theory.noetherian
/-!
# Finiteness conditions in commu... |
f3f6c7df4b24f1075882f25119823088db784cd1 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/category_theory/closed/types.lean | 680c96c614d433af40bdf5e45001e110ad1542de | [
"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,738 | lean | /-
Copyright (c) 2020 Bhavik Mehta. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Bhavik Mehta
-/
import category_theory.limits.presheaf
import category_theory.limits.preserves.functor_category
import category_theory.limits.shapes.types
import category_theory.closed.c... |
e87f2dcd1f0ffd684e3a92aa1252100bf0482f0b | 200b12985a863d01fbbde6abfc9326bb82424a8b | /src/propLogic/Ex003.lean | 5883c2545586bcc2539ddb1b78872e4c61be7bfd | [] | 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 | 235 | lean |
theorem Ex003_1 (a b: Prop) : ¬a → a → b :=
assume A:¬a,
assume B:a,
have C:false, from A B,
show b, from false.elim C
theorem Ex003_2 (a b : Prop) : ¬a → a → b :=
begin
intro,
intro,
contradiction
end
|
6ce1e7555064d6a5d216413f26bae1c4c1e42bd2 | df561f413cfe0a88b1056655515399c546ff32a5 | /2-addition-world/l1.lean | 9a1d58b7373dd8df9d525eea21eb9884e76404bf | [] | no_license | nicholaspun/natural-number-game-solutions | 31d5158415c6f582694680044c5c6469032c2a06 | 1e2aed86d2e76a3f4a275c6d99e795ad30cf6df0 | refs/heads/main | 1,675,123,625,012 | 1,607,633,548,000 | 1,607,633,548,000 | 318,933,860 | 3 | 1 | null | null | null | null | UTF-8 | Lean | false | false | 120 | lean | lemma zero_add (n : mynat) : 0 + n = n :=
begin
induction n with k Pk,
rw add_zero, refl,
rw add_succ, rw Pk, refl,
end |
553ad9d7f927fc95e22660f3d6865fe12680f98f | 649957717d58c43b5d8d200da34bf374293fe739 | /src/data/equiv/nat.lean | 3ea11b0139b79351d2584dd2ff9b778f16476404 | [
"Apache-2.0"
] | permissive | Vtec234/mathlib | b50c7b21edea438df7497e5ed6a45f61527f0370 | fb1848bbbfce46152f58e219dc0712f3289d2b20 | refs/heads/master | 1,592,463,095,113 | 1,562,737,749,000 | 1,562,737,749,000 | 196,202,858 | 0 | 0 | Apache-2.0 | 1,562,762,338,000 | 1,562,762,337,000 | null | UTF-8 | Lean | false | false | 1,341 | lean | /-
Copyright (c) 2018 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Mario Carneiro
Additional facts about equiv and encodable using the
pairing function on nat.
-/
import data.equiv.basic data.nat.pairing data.pnat.basic
open nat
namespace equiv
@[s... |
e4edd62b4a8db60e6d1f71571e47988dd9e7e5e0 | 827a8a5c2041b1d7f55e128581f583dfbd65ecf6 | /spectral/dsmash2.hlean | b39f611b7f685034c2a9067d4ac117f1b8e8aa67 | [
"Apache-2.0"
] | permissive | fpvandoorn/leansnippets | 6af0499f6f3fd2c07e4b580734d77b67574e7c27 | 601bafbe07e9534af76f60994d6bdf741996ef93 | refs/heads/master | 1,590,063,910,882 | 1,545,093,878,000 | 1,545,093,878,000 | 36,044,957 | 2 | 2 | null | 1,442,619,708,000 | 1,432,256,875,000 | Lean | UTF-8 | Lean | false | false | 6,787 | hlean | -- Authors: Floris van Doorn
/-
The "dependent" smash product, trying to define it in a different way.
Given A : Type* and B : A → Type* it is the cofiber of
A ∨ B pt → Σ(a : A), B a
We will encode this as a HIT (2-quotient)
-/
import ..pointed_binary hit.two_quotient
open bool pointed eq equiv is_equiv sum bool p... |
3ca6575a7a6168a6c26e1735de3c5a3ab88ab3fc | ba4794a0deca1d2aaa68914cd285d77880907b5c | /src/game/world4/level1.lean | e11c76f0ff695797cb6a3837b5cab72f81bf1916 | [
"Apache-2.0"
] | permissive | ChrisHughes24/natural_number_game | c7c00aa1f6a95004286fd456ed13cf6e113159ce | 9d09925424da9f6275e6cfe427c8bcf12bb0944f | refs/heads/master | 1,600,715,773,528 | 1,573,910,462,000 | 1,573,910,462,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,593 | lean | import game.world3.level9 -- hide
import mynat.pow -- new import
namespace mynat -- hide
-- World name : Power world
/- Axiom : pow_zero (a : mynat) :
a ^ 0 = 1
-/
/- Axiom : pow_succ (a b : mynat) :
a ^ succ(b) = a ^ b * b
-/
/-
# Power World
A new world with seven levels. And a new import!
This import gives yo... |
abf62aa7f54d1d95d917f39e18fe8e250ade4fc9 | 7cef822f3b952965621309e88eadf618da0c8ae9 | /src/category_theory/monad/limits.lean | 498a0a8194393ebed9a0bca0d06f900dd2191985 | [
"Apache-2.0"
] | permissive | rmitta/mathlib | 8d90aee30b4db2b013e01f62c33f297d7e64a43d | 883d974b608845bad30ae19e27e33c285200bf84 | refs/heads/master | 1,585,776,832,544 | 1,576,874,096,000 | 1,576,874,096,000 | 153,663,165 | 0 | 2 | Apache-2.0 | 1,544,806,490,000 | 1,539,884,365,000 | Lean | UTF-8 | Lean | false | false | 4,305 | 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.monad.adjunction
import category_theory.adjunction.limits
namespace category_theory
open category
open category_theory.limits
universes v₁ v₂... |
3312a9916d436cee3be0ed277f3b2ebe68fb807d | 856e2e1615a12f95b551ed48fa5b03b245abba44 | /src/tactic/interactive.lean | 9dbf2bcb2414693e06b587f0315641b59038c06e | [
"Apache-2.0"
] | permissive | pimsp/mathlib | 8b77e1ccfab21703ba8fbe65988c7de7765aa0e5 | 913318ca9d6979686996e8d9b5ebf7e74aae1c63 | refs/heads/master | 1,669,812,465,182 | 1,597,133,610,000 | 1,597,133,610,000 | 281,890,685 | 1 | 0 | null | 1,595,491,577,000 | 1,595,491,576,000 | null | UTF-8 | Lean | false | false | 44,263 | lean |
/-
Copyright (c) 2017 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro, Simon Hudon, Sebastien Gouezel, Scott Morrison
-/
import tactic.lint
open lean
open lean.parser
local postfix `?`:9001 := optional
local postfix *:9001 := many
name... |
5f58418e40f1f44fbe7bc98a1c5a76db5aff0de5 | 618003631150032a5676f229d13a079ac875ff77 | /src/category_theory/limits/concrete_category.lean | 587b67cfe46c54042eeea98595740386893d3276 | [
"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 | 1,776 | 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.limits.cones
import category_theory.concrete_category.bundled_hom
/-!
# Facts about limits of functors into concrete categories
-/
universes ... |
7483423698e6fdccfe191912bd8846ac186c7bef | d9d511f37a523cd7659d6f573f990e2a0af93c6f | /src/geometry/euclidean/basic.lean | 408410d4b3160f28fda6f5cdcf68e317958d3dcb | [
"Apache-2.0"
] | permissive | hikari0108/mathlib | b7ea2b7350497ab1a0b87a09d093ecc025a50dfa | a9e7d333b0cfd45f13a20f7b96b7d52e19fa2901 | refs/heads/master | 1,690,483,608,260 | 1,631,541,580,000 | 1,631,541,580,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 56,134 | lean | /-
Copyright (c) 2020 Joseph Myers. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joseph Myers, Manuel Candales
-/
import analysis.special_functions.trigonometric
import algebra.quadratic_discriminant
import analysis.normed_space.affine_isometry
import data.matrix.not... |
8b631685a32b5526de125491c2036e8995a91f82 | 4b264bd060cfaad29c2dca34fa94c34f88a4d619 | /colimit/sequence.hlean | f515e3b22341c0ad1885ed94ceaa049a4ce114a1 | [
"Apache-2.0"
] | permissive | UlrikBuchholtz/leansnippets | a0d2675f5173867a1b90c3b0e559af5152f2e96c | ee547e8b301c9364022937cdc4a1dbf2cb4b1162 | refs/heads/master | 1,611,460,071,315 | 1,441,903,237,000 | 1,441,903,237,000 | 41,886,729 | 0 | 0 | null | 1,441,319,113,000 | 1,441,319,113,000 | null | UTF-8 | Lean | false | false | 2,868 | 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, Egbert Rijke
-/
import types.nat .move_to_lib
open nat eq equiv sigma sigma.ops is_trunc
namespace seq_colim
definition seq_diagram [class] (A : ℕ → Type) : T... |
380fb88852b3dff1198e5ba6fc7cf2cd5a6d45d1 | 94e33a31faa76775069b071adea97e86e218a8ee | /src/linear_algebra/exterior_algebra/grading.lean | 01a4a680a4e3e5cd7cccbb2474df2fd6ef4f7518 | [
"Apache-2.0"
] | permissive | urkud/mathlib | eab80095e1b9f1513bfb7f25b4fa82fa4fd02989 | 6379d39e6b5b279df9715f8011369a301b634e41 | refs/heads/master | 1,658,425,342,662 | 1,658,078,703,000 | 1,658,078,703,000 | 186,910,338 | 0 | 0 | Apache-2.0 | 1,568,512,083,000 | 1,557,958,709,000 | Lean | UTF-8 | Lean | false | false | 3,500 | lean | /-
Copyright (c) 2021 Eric Wieser. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Eric Wieser
-/
import linear_algebra.exterior_algebra.basic
import ring_theory.graded_algebra.basic
/-!
# Results about the grading structure of the exterior algebra
Many of these resul... |
04f316bec65387b70ee36b1ebdaa950181090ae7 | 9be442d9ec2fcf442516ed6e9e1660aa9071b7bd | /src/Init/Control/ExceptCps.lean | a8ed4413df0767de00e33cc6636bbc686f5c7abb | [
"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 | 2,953 | 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
-/
prelude
import Init.Control.Lawful
/-!
The Exception monad transformer using CPS style.
-/
def ExceptCpsT (ε : Type u) (m : Type u → Type v) (α : Type u) ... |
d4bbb94506dc4bdcc0b653a4b0493a680f38fe83 | 947fa6c38e48771ae886239b4edce6db6e18d0fb | /src/analysis/normed_space/add_torsor_bases.lean | 86479d528ff06f28e758722f853773c79444e2c6 | [
"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 | 7,430 | lean | /-
Copyright (c) 2021 Oliver Nash. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Oliver Nash
-/
import analysis.normed_space.banach
import analysis.normed_space.finite_dimension
import analysis.calculus.affine_map
import analysis.convex.combination
import linear_algeb... |
d996f2861b46a1d68cfeba39ef61074013688991 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/category_theory/functor_auto.lean | 36b019528f29586f16563cb141e45027ee01c938 | [] | 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,462 | 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
Defines a functor between categories.
(As it is a 'bundled' object rather than the `is_functorial` typeclass parametrised
by the underlyin... |
b44d9c388634b5c9def4cc0331dfddee7b2404d6 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/topology/sheaves/sheaf.lean | e00cba69f43798aec72df7ec8dd4c394c00644a9 | [] | 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,460 | 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.topology.sheaves.sheaf_condition.equalizer_products
import Mathlib.category_theory.full_sub... |
2abdfbb09920c8f03f9dbde4ea60fb197b4ae945 | 9d00e4b237465921fb33aa10eed92a2495ca2e46 | /andRules.lean | 2b28120e6fc4e42ca3aca472e2b2664c3c99bddc | [] | no_license | Bpalkmim/LeanNatD | 7756abf1ed7b0e7a3e3b9d16ad756018f5c70c7c | 2e73bb44e44b955839e7a0874cd7013fbfb9c4e3 | refs/heads/master | 1,610,999,141,530 | 1,475,515,895,000 | 1,475,515,895,000 | 69,893,600 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,059 | lean | namespace andRules
-- Requer o namespace de implicação
open implRules
print " "
print "Provas com AND - início"
print " "
constant and : Prop → Prop → Prop
constants A B : Prop
-- Definições
constant and_intro {X Y : Prop} : Proof X → Proof Y → Proof (and X Y)
constant and_elim_left {X Y : Prop} : Proof (and X Y) ... |
46e07d44f5452d55049a53906e8292d35a1e571e | cc060cf567f81c404a13ee79bf21f2e720fa6db0 | /lean/20170304-solving-goals.lean | 7b472a14ce648440ffd75df4b23a07588d1d8967 | [
"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 | 1,562 | lean | open tactic
notation `♮` := by abstract { begin intros, simp end }
structure Monoid ( α : Type ) :=
(one : α)
(multiply : α → α → α)
(left_identity : ∀ ( f : α ), multiply one f = f)
(right_identity : ∀ ( f : α ), multiply f one = f)
(associativity : ∀ ( f g h : α ),
multiply (multiply f g) h = multi... |
d06efd43e5151c305803947f2caa24a331040165 | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/topology/sheaves/limits.lean | f2dd492e36222b7552528a6e87353dd4a3e2b129 | [
"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 | 1,799 | 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 topology.sheaves.sheaf_condition.sites
import category_theory.sites.limits
import category_theory.adjunction
import category_theory.limits.functor_category
/-... |
346821c0969194892bfddd990d1be84183e82b1a | 130c49f47783503e462c16b2eff31933442be6ff | /stage0/src/Init/Data/String/Basic.lean | 81ac8a245e6a3762166f0215e5741cf98414cb86 | [
"Apache-2.0"
] | permissive | Hazel-Brown/lean4 | 8aa5860e282435ffc30dcdfccd34006c59d1d39c | 79e6732fc6bbf5af831b76f310f9c488d44e7a16 | refs/heads/master | 1,689,218,208,951 | 1,629,736,869,000 | 1,629,736,896,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 16,975 | 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.Data.List.Basic
import Init.Data.Char.Basic
import Init.Data.Option.Basic
universe u
def List.asString (s : List Char) : String :=
⟨s⟩... |
8c2adbf86c2a21f6238cc6623f127ec00cf280bd | 5e3548e65f2c037cb94cd5524c90c623fbd6d46a | /src_icannos_totilas/aops/1995-IMO-Problem_2.lean | d13330352e1a91f4f684f90ae5bcef301d8727e6 | [] | no_license | ahayat16/lean_exos | d4f08c30adb601a06511a71b5ffb4d22d12ef77f | 682f2552d5b04a8c8eb9e4ab15f875a91b03845c | refs/heads/main | 1,693,101,073,585 | 1,636,479,336,000 | 1,636,479,336,000 | 415,000,441 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 188 | lean | import data.real.basic
import data.real.nnreal
theorem USAMO_problem_5_1997 (a b c : nnreal) :
a*b*c = 1 →
1 / (a^3 * (b+c)) + 1 / (b^3 *(a+c)) + 1 /(c^3 * (a + b)) ≥ 3/2 := sorry
|
75656a71fdd67019fb8b1c604500f40fee3463eb | 35677d2df3f081738fa6b08138e03ee36bc33cad | /src/data/matrix/pequiv.lean | 769931fad8296344c82ed0d048603552dff276ee | [
"Apache-2.0"
] | permissive | gebner/mathlib | eab0150cc4f79ec45d2016a8c21750244a2e7ff0 | cc6a6edc397c55118df62831e23bfbd6e6c6b4ab | refs/heads/master | 1,625,574,853,976 | 1,586,712,827,000 | 1,586,712,827,000 | 99,101,412 | 1 | 0 | Apache-2.0 | 1,586,716,389,000 | 1,501,667,958,000 | Lean | UTF-8 | Lean | false | false | 5,718 | 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 data.matrix.basic data.pequiv
/-
# partial equivalences for matrices
Using partial equivalences to represent matrices.
This file introduces the function `pequiv.t... |
986103ead6674724b382428417fdbf0867e9a140 | 367134ba5a65885e863bdc4507601606690974c1 | /src/group_theory/quotient_group.lean | d0ec3e95e8106e4c520c1737e095fdc597648eb8 | [
"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 | 10,793 | lean | /-
Copyright (c) 2018 Kevin Buzzard and Patrick Massot. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kevin Buzzard, Patrick Massot.
This file is to a certain extent based on `quotient_module.lean` by Johannes Hölzl.
-/
import group_theory.coset
/-!
# Quotients of g... |
ef8e9aca652462e7b0629c6c517d08b886c8b862 | c86b74188c4b7a462728b1abd659ab4e5828dd61 | /src/Lean/Elab/Match.lean | 3692806d3d392e63014c4001ebe9962a515a5e42 | [
"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 | 58,803 | lean | /-
Copyright (c) 2020 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
import Lean.Util.CollectFVars
import Lean.Meta.Match.MatchPatternAttr
import Lean.Meta.Match.Match
import Lean.Meta.SortLocalDecls
import Lean.Meta.Generali... |
eebaeb10c7f21118464959a28956ea39510010a8 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/measure_theory/function/uniform_integrable.lean | bc774fd28acf65c1595750c6e4b83560d0570524 | [
"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 | 42,844 | lean | /-
Copyright (c) 2022 Kexing Ying. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kexing Ying
-/
import measure_theory.function.convergence_in_measure
/-!
# Uniform integrability
This file contains the definitions for uniform integrability (both in the measure theory... |
d138575b71c278d58a3f3351e88984dfa80e9e73 | e07b1aca72e83a272dd59d24c6e0fa246034d774 | /src/complex_number_game.lean | c255226315896d054001291600bae2610b1223e1 | [] | no_license | pedrominicz/learn | 637a343bd4f8669d76819ac660a2d2d3e0958710 | b79b802a9846c86c21d4b6f3e17af36e7382f0ef | refs/heads/master | 1,671,746,990,402 | 1,670,778,113,000 | 1,670,778,113,000 | 265,735,177 | 1 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 20,873 | lean | /-
The complex numbers.
A documented remix of part of mathlib
Our goal is to define the complex numbers, and then "extract some API".
Our first goal is to define addition and multiplication,
and prove that the complex numbers are a commutative ring.
We then do a slightly more computer-sciency worked development of the... |
060c0695b5fbae8ec9195bcd6b0d2ad756a13551 | 87a08a8e9b222ec02f3327dca4ae24590c1b3de9 | /src/topology/algebra/infinite_sum.lean | c21f006d9069e990d7b52884cf7e6770781d4af6 | [
"Apache-2.0"
] | permissive | naussicaa/mathlib | 86d05223517a39e80920549a8052f9cf0e0b77b8 | 1ef2c2df20cf45c21675d855436228c7ae02d47a | refs/heads/master | 1,592,104,950,080 | 1,562,073,069,000 | 1,562,073,069,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 25,694 | lean | /-
Copyright (c) 2017 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl
Infinite sum over a topological monoid
This sum is known as unconditionally convergent, as it sums to the same value under all possible
permutations. For Euclidean spa... |
6b8da02dd6c028e3af7311e00071881f5b014c25 | a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91 | /library/data/old_string.lean | b3f8484149264e00d3685becf90f6458627e1a04 | [
"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 | 1,756 | lean | /-
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
-/
import data.bool
open bool
attribute [instance]
protected definition char.is_inhabited : inhabited char :=
inhabited.mk (char.mk ff ff ff ff ff ff ff ff)
a... |
4dcff92fe3dca0f0be27963998cfcbde5d7acb87 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/lean/stream.lean | ef007592fe85050c7b3e8bdd0d3ac22682b17eeb | [
"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 | 949 | lean | def g (xs : Array Nat) (ys : Array Nat) : IO Unit := do
let mut s := toStream ys
for x in xs do
match Stream.next? s with
| none => break
| some (y, s') =>
s := s'
IO.println s!"x: {x}, y: {y}"
#eval g #[1, 2, 3] #[4, 5]
#print "-----"
def f [Stream ρ α] [ToString α] (xs : Array Nat) (ys :... |
e4231c93586fb9ff7d934df5178c18e91794999c | f70b31f6396d12f83817534a1579ad4102d34497 | /problem.lean | 4ad50a8227238572154e330ee2b567523a42f1ce | [] | no_license | asi1024/topprover-lean-example | cf3eeb017ebfc5547c56d41f490b471d54783171 | 3507da918fe235599776f6367e2603c0375e00e0 | refs/heads/master | 1,609,053,679,942 | 1,580,697,001,000 | 1,580,697,001,000 | 237,811,882 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 49 | lean | def prob := ∀ p q : Prop, p ∧ q → q ∧ p.
|
4164b6cc1b1b4e0da026bd2279dd6b503a143940 | e00ea76a720126cf9f6d732ad6216b5b824d20a7 | /src/category_theory/monad/limits.lean | 29424e5ea18c00c92cf5c8fc1f3c430c9461a9c5 | [
"Apache-2.0"
] | permissive | vaibhavkarve/mathlib | a574aaf68c0a431a47fa82ce0637f0f769826bfe | 17f8340912468f49bdc30acdb9a9fa02eeb0473a | refs/heads/master | 1,621,263,802,637 | 1,585,399,588,000 | 1,585,399,588,000 | 250,833,447 | 0 | 0 | Apache-2.0 | 1,585,410,341,000 | 1,585,410,341,000 | null | UTF-8 | Lean | false | false | 9,134 | 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.monad.adjunction
import category_theory.adjunction.limits
namespace category_theory
open category
open category_theory.limits
universes v₁ v₂... |
31944d34d7a912e03c087dd307227216a21881ed | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/dsimp_whnf.lean | d4ea67b6b89363c2a254bb3ba3d768eba4b703d7 | [
"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 | 112 | lean | open tactic
example (a b : nat) : ((a + 1, b).1) = a + 1 :=
by do
dsimp_target,
trace_state,
reflexivity
|
c0e217a181c3d673e956cfb4dd81686d67454226 | a45212b1526d532e6e83c44ddca6a05795113ddc | /src/data/padics/padic_numbers.lean | 5cc13d61724c70283b13a2bbcef383a653e8a7c5 | [
"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 | 28,983 | lean | /-
Copyright (c) 2018 Robert Y. Lewis. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Robert Y. Lewis
Define the p-adic numbers (rationals) ℚ_p as the completion of ℚ wrt the p-adic norm.
Show that the p-adic norm extends to ℚ_p, that ℚ is embedded in ℚ_p, and that ℚ_... |
34559bd096f1133d2a4e824ca56702866029f212 | 63abd62053d479eae5abf4951554e1064a4c45b4 | /src/data/set/intervals/ord_connected.lean | dede870024726ecdefe3f4682b03d995d590652b | [
"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,394 | lean | /-
Copyright (c) 2020 Yury G. Kudryashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Yury G. Kudryashov
-/
import data.set.intervals.unordered_interval
import data.set.lattice
/-!
# Order-connected sets
We say that a set `s : set α` is `ord_connected` if for all `... |
665135083de917fd5da627f631ff90eda8bc00c2 | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/run/state.lean | 32e09d37fe936c64f782b992e2de28eac2913ea0 | [
"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,393 | lean | import system.io
def lifted_test : reader_t ℕ (state_t ℕ io) unit :=
do 0 ← read, -- unlifted
1 ← get, -- transparently lifted through reader_t
put 2,
2 ← get,
modify (+1),
3 ← get,
put 4 <|> put 5,
4 ← get, -- left branch wins
modify (+1) >> monad_fail.fail "" <|> modify (+2),
6 ← ge... |
2ad32312e30f3fefe8152ffe12538648671387f2 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/topology/algebra/field.lean | 4ee0e1a7e9de6998a3936a29a0c5be08e6b255c1 | [
"Apache-2.0"
] | permissive | leanprover-community/mathlib | 56a2cadd17ac88caf4ece0a775932fa26327ba0e | 442a83d738cb208d3600056c489be16900ba701d | refs/heads/master | 1,693,584,102,358 | 1,693,471,902,000 | 1,693,471,902,000 | 97,922,418 | 1,595 | 352 | Apache-2.0 | 1,694,693,445,000 | 1,500,624,130,000 | Lean | UTF-8 | Lean | false | false | 6,977 | lean | /-
Copyright (c) 2021 Patrick Massot. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Patrick Massot, Scott Morrison
-/
import topology.algebra.ring.basic
import topology.algebra.group_with_zero
import topology.local_extr
import field_theory.subfield
/-!
# Topological ... |
a59a15174679bada39aa4d2fe86defa8fe057794 | bb31430994044506fa42fd667e2d556327e18dfe | /src/data/list/lemmas.lean | afc0d0070e9ebae78a802377787e7eed7ed530de | [
"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 | 2,259 | lean | /-
Copyright (c) 2021 Yakov Pechersky. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yakov Pechersky, Yury Kudryashov
-/
import data.set.function
import data.list.basic
/-! # Some lemmas about lists involving sets
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> Any cha... |
4aa21a4cc25a63e6d56c1a3cad6fb598e3a8ba04 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/topology/category/Top/limits/products.lean | cee1c228483cb456f291ac82611f57012d61e50c | [
"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,711 | lean | /-
Copyright (c) 2017 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Patrick Massot, Scott Morrison, Mario Carneiro, Andrew Yang
-/
import topology.category.Top.epi_mono
import topology.category.Top.limits.basic
/-!
# Products and coproducts in the cat... |
326ef10b3dc629b2d1998e857304e7ada21b5f41 | 302c785c90d40ad3d6be43d33bc6a558354cc2cf | /src/data/erased.lean | 9cd6a4f5bebff72ebede3b28319f5bdc8b508995 | [
"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 | 3,754 | 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 data.equiv.basic
universes u
/-!
# A type for VM-erased data
This file defines a type `erased α` which is classically isomorphic to `α`,
but erased in the V... |
883283d9e10aafdcd5544061b3b509b6a3eb9fd8 | 7a468d7c7c0949ab8b191bb62ff6d4d2af9f3917 | /src/smt2/lol.lean | 0c72d46a31e32daee8bb1eabe63a3322fe8bcc78 | [
"Apache-2.0"
] | permissive | seanpm2001/LeanProver_SMT2_Interface | c15b2fba021c406d965655b182eef54a14121b82 | 7ff0ce248b68ea4db2a2d4966a97b5786da05ed7 | refs/heads/master | 1,688,599,220,366 | 1,547,825,187,000 | 1,547,825,187,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 13,125 | lean | import smt2.syntax
import smt2.builder
open native
namespace lol
structure refinement (T : Type) :=
(refinment : T → T)
mutual inductive type, term
with type : Type
| bool : type
| int : type
| var : string → type
| fn : list type → type → type
| refinement : type → (string → term) → type
with term : Type
-- TODO: e... |
d34ad07d95b54b83f38144b64eb7f2f34b608fac | 32317185abf7e7c963f4c67c190aec61af6b3628 | /tests/lean/run/trans.lean | be1a6d377712c612c39b988f6d137600c62f4602 | [
"Apache-2.0"
] | permissive | Andrew-Zipperer-unorganized/lean | 198a2317f21198cd8d26e7085e484b86277f17f7 | dcb35008e1474a0abebe632b1dced120e5f8c009 | refs/heads/master | 1,622,526,520,945 | 1,453,576,559,000 | 1,454,612,842,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,569 | lean | -- Copyright (c) 2014 Microsoft Corporation. All rights reserved.
-- Released under Apache 2.0 license as described in the file LICENSE.
-- Author: Leonardo de Moura
import logic
open eq
definition refl := @eq.refl
definition transport {A : Type} {a b : A} {P : A → Type} (p : a = b) (H : P a) : P b
:= eq.rec H p
theo... |
2907f7c432c5f9f2f31446087f20e08e4e45fbbf | 8c9f90127b78cbeb5bb17fd6b5db1db2ffa3cbc4 | /inductiveTypes.lean | 2fecfcfe5a905f91f71611a396c217634b78e52d | [] | no_license | picrin/lean | 420f4d08bb3796b911d56d0938e4410e1da0e072 | 3d10c509c79704aa3a88ebfb24d08b30ce1137cc | refs/heads/master | 1,611,166,610,726 | 1,536,671,438,000 | 1,536,671,438,000 | 60,029,899 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 6,663 | lean | import init.data
namespace hide
definition add (n m : nat) : nat :=
nat.rec_on m n (
assume (k : nat),
assume (IH : nat),
nat.succ IH)
lemma ladd (n m : nat) : nat :=
nat.rec_on n m (
assume (k : nat),
assume (IH : nat),
nat.succ IH)
le... |
86d3f11682887a5f4e8cf8ac63c7ec730efd945b | 947fa6c38e48771ae886239b4edce6db6e18d0fb | /src/topology/path_connected.lean | 4397b7b123f04eb34a6113b0358fc09d80188519 | [
"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 | 40,991 | 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.algebra.order.proj_Icc
import topology.continuous_function.basic
import topology.unit_interval
/-!
# Path connectedness
## Main definitions
In the ... |
52191b2d403e6b45e3780f833d0e5b08f497eb6b | d1a52c3f208fa42c41df8278c3d280f075eb020c | /tests/leanpkg/b/B.lean | fc5594b7a61c85aea7dd5cca2559c8bada116c48 | [
"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 | 96 | lean | import A
import B.Bar
import B.Baz
def main : IO Unit :=
IO.println s!"Hello, {foo} {name}!"
|
0630be2f52cdd24437f48b14c0e64343c0f476e8 | 618003631150032a5676f229d13a079ac875ff77 | /src/analysis/normed_space/mazur_ulam.lean | 417c208fc35bba328686ed7d409707e102911632 | [
"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 | 5,387 | lean | /-
Copyright (c) 2020 Yury Kudryashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Yury Kudryashov
-/
import analysis.normed_space.point_reflection
import topology.instances.real_vector_space
/-!
# Mazur-Ulam Theorem
Mazur-Ulam theorem states that an isometric bije... |
12dca7efd8416415ccab4e077b00bdc40a6cdc90 | 69d4931b605e11ca61881fc4f66db50a0a875e39 | /src/data/complex/is_R_or_C.lean | 6e0f838bdf6261806f4d4d29760728e779a98033 | [
"Apache-2.0"
] | permissive | abentkamp/mathlib | d9a75d291ec09f4637b0f30cc3880ffb07549ee5 | 5360e476391508e092b5a1e5210bd0ed22dc0755 | refs/heads/master | 1,682,382,954,948 | 1,622,106,077,000 | 1,622,106,077,000 | 149,285,665 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 32,047 | lean | /-
Copyright (c) 2020 Frédéric Dupuis. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Frédéric Dupuis
-/
import data.real.sqrt
import field_theory.tower
import analysis.normed_space.finite_dimension
/-!
# `is_R_or_C`: a typeclass for ℝ or ℂ
This file defines the type... |
3cf8ca1e2fa03ba4eef102f60819be8f150e6441 | a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940 | /src/Lean/Meta/Tactic/Simp/Main.lean | edfedda18de92ff6dbcf793b5f3b4e6d9f91d080 | [
"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 | 15,049 | 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.Transform
import Lean.Meta.Tactic.Replace
import Lean.Meta.Tactic.Util
import Lean.Meta.Tactic.Clear
import Lean.Meta.Tactic.Simp.Types
imp... |
523ab4842d581d79f2504d007f76c1d87c52a3a4 | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/category_theory/sites/cover_preserving.lean | 29a6bb92301508d2f99df0ce61130e46be64aff0 | [
"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 | 11,479 | lean | /-
Copyright (c) 2021 Andrew Yang. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Andrew Yang
-/
import category_theory.sites.limits
import category_theory.flat_functors
import category_theory.limits.preserves.filtered
import category_theory.sites.left_exact
/-!
# Cov... |
c538d12d9409df453a3b01ed2770eda06aa09980 | 76df16d6c3760cb415f1294caee997cc4736e09b | /lean/src/generation/main.lean | 729358c8f14c91be9984ab69c6e26efbbf877b52 | [
"MIT"
] | permissive | uw-unsat/leanette-popl22-artifact | 70409d9cbd8921d794d27b7992bf1d9a4087e9fe | 80fea2519e61b45a283fbf7903acdf6d5528dbe7 | refs/heads/master | 1,681,592,449,670 | 1,637,037,431,000 | 1,637,037,431,000 | 414,331,908 | 6 | 1 | null | null | null | null | UTF-8 | Lean | false | false | 168 | lean | import ..sym_factory.sym_factory
def initial_state : sym.state (op.sym.term op.sym.type.bool) :=
⟨sym_factory.sym_factory.mk_tt, sym_factory.sym_factory.mk_tt⟩
|
eaa3157a050fcfec6a668f7a3cfb8a264d669861 | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/measure_theory/pi_system.lean | cb745d1d6bb160537a0224a4c4d2183960858c08 | [
"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 | 17,832 | lean | /-
Copyright (c) 2021 Martin Zinkevich. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl, Martin Zinkevich
-/
import measure_theory.measurable_space_def
import data.equiv.encodable.lattice
/-!
# Induction principles for measurable sets, related to π-syste... |
d1d063d7d1be4b795fd5daec84aa689895977928 | 69d4931b605e11ca61881fc4f66db50a0a875e39 | /src/data/padics/padic_integers.lean | 193a937f5eb4890e51f49299c7fbefedf83fc566 | [
"Apache-2.0"
] | permissive | abentkamp/mathlib | d9a75d291ec09f4637b0f30cc3880ffb07549ee5 | 5360e476391508e092b5a1e5210bd0ed22dc0755 | refs/heads/master | 1,682,382,954,948 | 1,622,106,077,000 | 1,622,106,077,000 | 149,285,665 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 20,118 | 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, Mario Carneiro, Johan Commelin
-/
import data.int.modeq
import data.zmod.basic
import linear_algebra.adic_completion
import data.padics.padic_numbers
import ring_theo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.