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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3031b298779690d69993ba876ffbb9441394dcca | e514e8b939af519a1d5e9b30a850769d058df4e9 | /src/tactic/rewrite_search/metric/trivial.lean | 0aa0c482727a01040c4d598200f3fd964f39ab04 | [] | no_license | semorrison/lean-rewrite-search | dca317c5a52e170fb6ffc87c5ab767afb5e3e51a | e804b8f2753366b8957be839908230ee73f9e89f | refs/heads/master | 1,624,051,754,485 | 1,614,160,817,000 | 1,614,160,817,000 | 162,660,605 | 0 | 1 | null | null | null | null | UTF-8 | Lean | false | false | 1,353 | lean | import tactic.rewrite_search.core
import tactic.rewrite_search.module
-- The trivial metric: I just report that every vertex is distance zero from every other.
open tactic.rewrite_search
namespace tactic.rewrite_search.metric.trivial
variables {Ξ± Ξ΄ : Type} (g : search_state Ξ± unit unit Ξ΄)
meta def trivial_init : t... |
3c0cfa04b3d59a55e90d4cab2303b3e93e374889 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/ring_theory/derivation.lean | 53013c8efc68723e62465ef19fe402d574a52471 | [
"Apache-2.0"
] | permissive | Vierkantor/mathlib | 0ea59ac32a3a43c93c44d70f441c4ee810ccceca | 83bc3b9ce9b13910b57bda6b56222495ebd31c2f | refs/heads/master | 1,658,323,012,449 | 1,652,256,003,000 | 1,652,256,003,000 | 209,296,341 | 0 | 1 | Apache-2.0 | 1,568,807,655,000 | 1,568,807,655,000 | null | UTF-8 | Lean | false | false | 13,442 | lean | /-
Copyright Β© 2020 NicolΓ² Cavalleri. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: NicolΓ² Cavalleri
-/
import ring_theory.adjoin.basic
import algebra.lie.of_associative
/-!
# Derivations
This file defines derivation. A derivation `D` from the `R`-algebra `A` to th... |
f91cd800a5cab7167054024ef853d4164370c99f | 5a6ff5f8d173cbfe51967eb4c96837e3a791fe3d | /mm0-lean/x86/assembly.lean | da7b6da9dbc855623c8b610d25171a0be8d189e3 | [
"CC0-1.0"
] | permissive | digama0/mm0 | 491ac09146708aa1bb775007bf3dbe339ffc0096 | 98496badaf6464e56ed7b4204e7d54b85667cb01 | refs/heads/master | 1,692,321,030,902 | 1,686,254,458,000 | 1,686,254,458,000 | 172,456,790 | 273 | 38 | CC0-1.0 | 1,689,939,563,000 | 1,551,080,059,000 | Rust | UTF-8 | Lean | false | false | 5,077 | lean | import x86.lemmas
namespace x86
inductive arg : Type
| imm : qword β arg
| reg : regnum β arg
| mem : option scale_index β base β β€ β arg
| label : β β arg
| loc : β β β€ β arg
inductive directive
| label : β β directive
| loc : β β arg β directive
inductive asm1
| unop : unop β wsize β arg β asm1
| binop : binop β ... |
f64c06db179fafd6533356603e339371b509f301 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/number_theory/ramification_inertia.lean | 056498830a63f564cc53bc4ce15a1ba2a03136c4 | [
"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 | 39,064 | lean | /-
Copyright (c) 2022 Anne Baanen. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Anne Baanen
-/
import linear_algebra.free_module.finite.rank
import ring_theory.dedekind_domain.ideal
/-!
# Ramification index and inertia degree
Given `P : ideal S` lying over `p : id... |
7611977ad26b1e9cacda7072a2a153cda4671377 | 80cc5bf14c8ea85ff340d1d747a127dcadeb966f | /src/analysis/special_functions/trigonometric.lean | 4ed5ff6e3fb2fc048ccb790b7905231df4f09d1a | [
"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 | 79,999 | lean | /-
Copyright (c) 2018 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle SΓΆnne, Benjamin Davidson
-/
import analysis.special_functions.exp_log
/-!
# Trigonometric functions
## Main definitions
This fil... |
906db9b89440c27a69f736efccb28a380373249c | 63abd62053d479eae5abf4951554e1064a4c45b4 | /src/data/analysis/filter.lean | ec5a7aabadc0c8302b24738c8b97a818da21ac6c | [
"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 | 11,767 | lean | /-
Copyright (c) 2017 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
Computational realization of filters (experimental).
-/
import order.filter.cofinite
open set filter
/-- A `cfilter Ξ± Ο` is a realization of a filter (base) on `Ξ±`,
... |
8ed50f4cf2af116fe5414c9231f032637b49012d | a8c03ed21a1bd6fc45901943b79dd6574ea3f0c2 | /clause_ops.lean | e38e9f13df9d91c45c0d116f4028357037b7d466 | [] | no_license | gebner/resolution.lean | 716c355fbb5204e5c4d0c5a7f3f3cc825892a2bf | c6fafe06fba1cfad73db68f2aa474b29fe892a2b | refs/heads/master | 1,601,111,444,528 | 1,475,256,701,000 | 1,475,256,701,000 | 67,711,151 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 2,609 | lean | import clause
open monad tactic expr
meta def on_left_at {m} [monad m] (c : clause) (i : β)
[has_coe_fam tactic m]
-- f gets a type and returns a list of proofs of that type
(f : expr β m (list (list expr Γ expr))) : m (list clause) := do
op : clause Γ list e... |
1f7c8c4402b62d7359d32e8280358a134dbf1bf4 | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/number_theory/pell.lean | fc009cf1fa311528482a33f1fdac82dc1bb788f2 | [
"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 | 37,768 | lean | /-
Copyright (c) 2017 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
-/
import data.nat.modeq
import number_theory.zsqrtd.basic
/-!
# Pell's equation and Matiyasevic's theorem
This file solves Pell's equation, i.e. integer solutions to... |
e7f2dc7d55fe256044b9fbb704ed4eeef2184a3a | 54f4ad05b219d444b709f56c2f619dd87d14ec29 | /my_project/src/cong.lean | 924c18945ad318dd44803ee066b012716954adcc | [] | no_license | yizhou7/learning-lean | 8efcf838c7276e235a81bd291f467fa43ce56e0a | 91fb366c624df6e56e19555b2e482ce767cd8224 | refs/heads/master | 1,675,649,087,737 | 1,609,022,281,000 | 1,609,022,281,000 | 272,072,779 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,479 | lean | import data.nat.modeq -- modular arithmetic
import topology.basic
example : 5 β‘ 8 [MOD 3] :=
begin
apply rfl,
end
#check nat.modeq.modeq_mul
example (a b c d m : β) : a β‘ b [MOD m] β c β‘ d [MOD m] β a * c β‘ b * d [MOD m] :=
begin
apply nat.modeq.modeq_mul,
end
lemma cong_mul1 (a b c d m : β) : a β‘ b [MOD ... |
d5e1342df8190285ab7c9005c1dd7a8233a5e689 | 9dd3f3912f7321eb58ee9aa8f21778ad6221f87c | /tests/lean/run/auto_param.lean | 4aa2a0861b7cb0db52fcfea4094fad0294549910 | [
"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 | 630 | lean | open tactic
meta def my_tac : tactic unit :=
assumption <|> abstract (comp_val >> skip) <|> fail "my_tac failed to synthesize auto_param"
def f (x : nat) (h : auto_param (x > 0) `my_tac) : nat :=
nat.pred x
check f 12
check f 13
lemma f_inj {xβ xβ : nat} {hβ : xβ > 0} {hβ : xβ > 0} : f xβ = f xβ β xβ = xβ :=
begin
... |
8985416087083d081d1443659c76130e6e4912a7 | 57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d | /stage0/src/Leanpkg/Git.lean | a2ebcdcc8f32176bde0a8b419bfbf5a1a09d01e8 | [
"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,368 | lean | /-
Copyright (c) 2017 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Gabriel Ebner, Sebastian Ullrich
-/
import Leanpkg.LeanVersion
namespace Leanpkg
def upstreamGitBranch :=
"master"
def gitdefaultRevision : Option String β String
| none ... |
0829c38b7620b7e7c3f6432768803fbb31d36da1 | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/algebra/algebra/operations.lean | ca196177368d8b08e7a6e96ffa7a9dbe44ef33c7 | [
"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 | 24,428 | lean | /-
Copyright (c) 2019 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau
-/
import algebra.algebra.bilinear
import algebra.module.submodule.pointwise
import algebra.module.submodule.bilinear
import algebra.module.opposites
import data.finset.pointwise
... |
a7b1d4d323475d310744c3ba5454d3c7523b7c9c | 1b8f093752ba748c5ca0083afef2959aaa7dace5 | /src/category_theory/universal/constructions/from_limits.lean | 1364b2b16396fe9b98a173664b5ceb28934d14b2 | [] | no_license | khoek/lean-category-theory | 7ec4cda9cc64a5a4ffeb84712ac7d020dbbba386 | 63dcb598e9270a3e8b56d1769eb4f825a177cd95 | refs/heads/master | 1,585,251,725,759 | 1,539,344,445,000 | 1,539,344,445,000 | 145,281,070 | 0 | 0 | null | 1,534,662,376,000 | 1,534,662,376,000 | null | UTF-8 | Lean | false | false | 3,853 | 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.universal.complete
-- import category_theory.walking
-- import tidy.its
-- open category_theory
-- open category_theory.initia... |
829405acdb336f8d532d6d9058a75e059b8d4c1c | 07c76fbd96ea1786cc6392fa834be62643cea420 | /hott/homotopy/interval.hlean | 78a6ea0fa2beb7534dfffbe9a1e93e04a2896022 | [
"Apache-2.0"
] | permissive | fpvandoorn/lean2 | 5a430a153b570bf70dc8526d06f18fc000a60ad9 | 0889cf65b7b3cebfb8831b8731d89c2453dd1e9f | refs/heads/master | 1,592,036,508,364 | 1,545,093,958,000 | 1,545,093,958,000 | 75,436,854 | 0 | 0 | null | 1,480,718,780,000 | 1,480,718,780,000 | null | UTF-8 | Lean | false | false | 3,460 | 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
Declaration of the interval
-/
import .susp types.eq types.prod cubical.square
open eq susp unit equiv is_trunc nat prod pointed
definition interval : Typeβ := su... |
79cec0d82f4a433f5bf69c43ca84c3cbb524f140 | ec5a7ae10c533e1b1f4b0bc7713e91ecf829a3eb | /ijcar16/examples/cc5.lean | cd84695c6d6daa1876bd572d7e6ff80003850927 | [
"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 | 584 | 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... |
3ff77c083492fb85a32a62f37bcdc99507aefdca | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/analysis/special_functions/trigonometric/complex.lean | cfc98592859160d2198a230dd97e3dc473d29075 | [
"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 | 9,444 | lean | /-
Copyright (c) 2018 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle SΓΆnne, Benjamin Davidson
-/
import algebra.quadratic_discriminant
import analysis.complex.polynomial
import field_theory.is_alg_clo... |
ddcf1ebe51a0fa94b1702d7e36f658173cc958fc | bb31430994044506fa42fd667e2d556327e18dfe | /src/data/enat/basic.lean | c3200de999f2a54e45048cc753c9a2834a39627a | [
"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 | 3,603 | 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.nat.succ_pred
import algebra.char_zero.lemmas
import algebra.order.sub.with_top
import algebra.order.ring.with_top
/-!
# Definition and basic propertie... |
d19ad6fb619c67c301cf019cce62a223cba78577 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/ring_theory/subsemiring/pointwise.lean | 4ac6690cf4c33841b36ca02f55798a91b6f91095 | [
"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,796 | 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.group_ring_action.basic
import ring_theory.subsemiring.basic
import group_theory.submonoid.pointwise
import data.set.pointwise.basic
/-! # Pointwise instanc... |
63be86b97c97728bed6f3c39bec4208fdbab5e7f | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/category_theory/abelian/subobject.lean | 202ac19459a56e68a70c5a5667d4235b48980673 | [
"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 | 3,160 | lean | /-
Copyright (c) 2022 Markus Himmel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Markus Himmel
-/
import category_theory.subobject.limits
import category_theory.abelian.basic
/-!
# Equivalence between subobjects and quotients in an abelian category
> THIS FILE IS ... |
afee14c30e01da2a0700c84b8442ef225164ceae | 367134ba5a65885e863bdc4507601606690974c1 | /src/category_theory/limits/constructions/limits_of_products_and_equalizers.lean | a4922480e71bcb9487abe8744f66c34202c69eca | [
"Apache-2.0"
] | permissive | kodyvajjha/mathlib | 9bead00e90f68269a313f45f5561766cfd8d5cad | b98af5dd79e13a38d84438b850a2e8858ec21284 | refs/heads/master | 1,624,350,366,310 | 1,615,563,062,000 | 1,615,563,062,000 | 162,666,963 | 0 | 0 | Apache-2.0 | 1,545,367,651,000 | 1,545,367,651,000 | null | UTF-8 | Lean | false | false | 6,818 | lean | /-
-- Copyright (c) 2020 Bhavik Mehta. All rights reserved.
-- Released under Apache 2.0 license as described in the file LICENSE.
-- Authors: Bhavik Mehta, Scott Morrison
-/
import category_theory.limits.shapes.equalizers
import category_theory.limits.shapes.finite_products
import category_theory.limits.preserves.shap... |
5d61d3f614f382df42fe1c871febfa77b387d2f3 | 63abd62053d479eae5abf4951554e1064a4c45b4 | /src/measure_theory/prod.lean | c1563b89f320d8c6daf73c2618c85393f87ed483 | [
"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 | 40,453 | lean | /-
Copyright (c) 2020 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Floris van Doorn
-/
import measure_theory.giry_monad
import measure_theory.set_integral
/-!
# The product measure
In this file we define and prove properties about the binary produ... |
6fef838afd92cc8c36d7fb13445089acc834d3ed | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/inaccessible2.lean | 18276ee2cf071f82bc281b28281968de951aaca5 | [
"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 | 883 | lean | inductive imf {A B : Sort*} (f : A β B) : B β Sort*
| mk : β (a : A), imf (f a)
definition inv_1 {A B : Sort*} (f : A β B) : β (b : B), imf f b β A
| .(f .(a)) (imf.mk a) := a -- Error inaccessible annotation inside inaccessible annotation
definition inv_2 {A B : Sort*} (f : A β B) : β (b : B), imf f b β A
| .(f a)... |
1ac02cd1bcd85457cad0f0fcfabb3d6899389849 | 3f7026ea8bef0825ca0339a275c03b911baef64d | /src/data/fin.lean | ee01d7f0a85067dfccb15a3375a1a0d4309f7840 | [
"Apache-2.0"
] | permissive | rspencer01/mathlib | b1e3afa5c121362ef0881012cc116513ab09f18c | c7d36292c6b9234dc40143c16288932ae38fdc12 | refs/heads/master | 1,595,010,346,708 | 1,567,511,503,000 | 1,567,511,503,000 | 206,071,681 | 0 | 0 | Apache-2.0 | 1,567,513,643,000 | 1,567,513,643,000 | null | UTF-8 | Lean | false | false | 13,816 | lean | /-
Copyright (c) 2017 Robert Y. Lewis. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Robert Y. Lewis, Keeley Hoek
More about finite numbers.
-/
import data.nat.basic
open fin nat
/-- `fin 0` is empty -/
def fin_zero_elim {C : Sort*} : fin 0 β C :=
Ξ» x, false.elim $... |
498994c864be1de7d3bbd7fbb4fe3c4ba1154e05 | fcf3ffa92a3847189ca669cb18b34ef6b2ec2859 | /src/world3/level6.lean | 68a1717328b6bb60c4d4de04ab3ee9e5672f0974 | [
"Apache-2.0"
] | permissive | nomoid/lean-proofs | 4a80a97888699dee42b092b7b959b22d9aa0c066 | b9f03a24623d1a1d111d6c2bbf53c617e2596d6a | refs/heads/master | 1,674,955,317,080 | 1,607,475,706,000 | 1,607,475,706,000 | 314,104,281 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 547 | lean | import mynat.definition
import mynat.mul
import world2.level2
import world2.level5
import world2.level6
namespace mynat
lemma succ_mul (a b : mynat) : succ(a) * b = a * b + b :=
begin [nat_num_game]
induction b with d hd,
{
repeat {rw mul_zero},
rw add_zero,
refl,
},
{
... |
cac48cb78d3a7e56bc733519415d63dbaae6537d | 59a4b050600ed7b3d5826a8478db0a9bdc190252 | /src/category_theory/examples/rings/universal.lean | e58ee7200301d2041537b68ecf4233156749ee3c | [] | no_license | rwbarton/lean-category-theory | f720268d800b62a25d69842ca7b5d27822f00652 | 00df814d463406b7a13a56f5dcda67758ba1b419 | refs/heads/master | 1,585,366,296,767 | 1,536,151,349,000 | 1,536,151,349,000 | 147,652,096 | 0 | 0 | null | 1,536,226,960,000 | 1,536,226,960,000 | null | UTF-8 | Lean | false | false | 3,277 | lean | import ring_theory.ideals
import linear_algebra.quotient_module
import category_theory.examples.rings
import category_theory.limits
import category_theory.filtered
universes v
namespace category_theory.examples
open category_theory
open category_theory.limits
variables {Ξ± : Type v}
instance : has_products.{v+1 v} ... |
d8e4ca5dda30aeb45488933f46f9856968448d64 | 367134ba5a65885e863bdc4507601606690974c1 | /src/representation_theory/maschke.lean | 9efb91063616d553d9c9b05451b8df57d403aa79 | [
"Apache-2.0"
] | permissive | kodyvajjha/mathlib | 9bead00e90f68269a313f45f5561766cfd8d5cad | b98af5dd79e13a38d84438b850a2e8858ec21284 | refs/heads/master | 1,624,350,366,310 | 1,615,563,062,000 | 1,615,563,062,000 | 162,666,963 | 0 | 0 | Apache-2.0 | 1,545,367,651,000 | 1,545,367,651,000 | null | UTF-8 | Lean | false | false | 6,234 | 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 algebra.monoid_algebra
import algebra.invertible
import algebra.char_p.basic
import linear_algebra.basis
import ring_theory.simple_module
/-!
# Maschke's theor... |
a0dfc1101aef7ffc958d90518019fcb171a83c0a | 57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d | /src/Lean/Meta/Basic.lean | 1f4cbf842523a70a328596feb7f4b86ae99df4ab | [
"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 | 46,736 | 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... |
c532b2209f3c147a1e55f54ec1e36b74d5fda821 | 8e6cad62ec62c6c348e5faaa3c3f2079012bdd69 | /src/linear_algebra/basic.lean | de41edee2e5b9f0c4b817ade19d720917cc758fd | [
"Apache-2.0"
] | permissive | benjamindavidson/mathlib | 8cc81c865aa8e7cf4462245f58d35ae9a56b150d | fad44b9f670670d87c8e25ff9cdf63af87ad731e | refs/heads/master | 1,679,545,578,362 | 1,615,343,014,000 | 1,615,343,014,000 | 312,926,983 | 0 | 0 | Apache-2.0 | 1,615,360,301,000 | 1,605,399,418,000 | Lean | UTF-8 | Lean | false | false | 99,273 | 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, Kevin Buzzard, Yury Kudryashov
-/
import algebra.big_operators.pi
import algebra.module.pi
import algebra.module.prod
import algebra.module.submodule
im... |
ca460af20bb9ed76ae85953ea4dbe59c98067c0d | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/analysis/analytic/radius_liminf.lean | f706addfdb95be0b465a0afacc2246bed0196f53 | [
"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,510 | 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.analytic.basic
import analysis.special_functions.pow
/-!
# Representation of `formal_multilinear_series.radius` as a `liminf`
In this file we prov... |
55556442e43b8356f46e569fa1b402193352097b | 36c7a18fd72e5b57229bd8ba36493daf536a19ce | /hott/types/list.hlean | 2ea8b8600569ede50cccd548ad814d11ce212d56 | [
"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 | 36,099 | hlean | /-
Copyright (c) 2014 Parikshit Khanna. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn
Basic properties of lists.
Ported from the standard library (list.basic and list.comb)
Some lemmas are commented... |
9581db7fde97bf9e08ac1983b5d790dd7038cdce | 4727251e0cd73359b15b664c3170e5d754078599 | /src/combinatorics/simple_graph/density.lean | 16999a66346775287d6605d21223836003f17fa7 | [
"Apache-2.0"
] | permissive | Vierkantor/mathlib | 0ea59ac32a3a43c93c44d70f441c4ee810ccceca | 83bc3b9ce9b13910b57bda6b56222495ebd31c2f | refs/heads/master | 1,658,323,012,449 | 1,652,256,003,000 | 1,652,256,003,000 | 209,296,341 | 0 | 1 | Apache-2.0 | 1,568,807,655,000 | 1,568,807,655,000 | null | UTF-8 | Lean | false | false | 10,134 | lean | /-
Copyright (c) 2022 YaΓ«l Dillies, Bhavik Mehta. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: YaΓ«l Dillies, Bhavik Mehta
-/
import combinatorics.simple_graph.basic
import order.partition.finpartition
/-!
# Edge density
This file defines the number and density of e... |
11b531b4557350df2ff8dca029578bdde3624f34 | ebf7140a9ea507409ff4c994124fa36e79b4ae35 | /src/hints/category_theory/exercise4/hint3.lean | 673fbb182b701cb0f7c8115e8c1763d94aa8936f | [] | no_license | fundou/lftcm2020 | 3e88d58a92755ea5dd49f19c36239c35286ecf5e | 99d11bf3bcd71ffeaef0250caa08ecc46e69b55b | refs/heads/master | 1,685,610,799,304 | 1,624,070,416,000 | 1,624,070,416,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 840 | lean | import algebra.category.CommRing
import category_theory.yoneda
import data.polynomial.algebra_map
noncomputable theory
open category_theory
open opposite
open polynomial
/-!
Now let's give the backwards map.
-/
def CommRing_forget_representable : Ξ£ (R : CommRing), (forget CommRing) β
coyoneda.obj (op R) :=
β¨CommRing... |
27415fabe49a506e77c6f8d26305846bf0854ff1 | 2c819623a83d8c53b7282622429e344389ce4030 | /proofs/thm2.lean | 9e9c864439fbe2808be0a222abcebac2d5661e6f | [] | no_license | uw-unsat/jitsynth | 6bc97dd1ede9da42c0b9313a4766095345493adc | 69529e18d4a8d4dace884bfde91aa26b549523fa | refs/heads/master | 1,653,802,737,129 | 1,588,361,732,000 | 1,588,361,732,000 | 260,513,113 | 14 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 3,304 | lean | import tactic
import tactic.find
import tactic.core
import .lib
import .util.nat
import .util.list
namespace jitsynth
def Naive_param_0 : imp_param β Prop
| param :=
(β n m,
param = imp_param.sparam_sreg n β¨
param = imp_param.sparam_smem n β¨
param = imp_param.sparam_imm n β¨
param = imp_param.tr... |
2c2e3181746b44d76379058a7112acd3cf994f5f | 64874bd1010548c7f5a6e3e8902efa63baaff785 | /hott/init/axioms/ua.hlean | ed8bc55286ad6a8d56f38510534ac403c6fbd17e | [
"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,234 | hlean | -- Copyright (c) 2014 Jakob von Raumer. All rights reserved.
-- Released under Apache 2.0 license as described in the file LICENSE.
-- Author: Jakob von Raumer
-- Ported from Coq HoTT
prelude
import ..path ..equiv
open eq equiv
--Ensure that the types compared are in the same universe
section
universe variable l
v... |
bddb79dc4b556a8f61685ba72d5ab62e1b92253f | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/algebra/continued_fractions/basic.lean | 88d96c8fb994e0224bb29f5f650fe79697974ceb | [
"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 | 13,776 | lean | /-
Copyright (c) 2019 Kevin Kappelmann. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kevin Kappelmann
-/
import data.seq.seq
import algebra.field
/-!
# Basic Definitions/Theorems for Continued Fractions
## Summary
We define generalised, simple, and regular continue... |
2ab0db570253c199198a06ce5c1e36d53ec5dce5 | 4fa161becb8ce7378a709f5992a594764699e268 | /src/data/equiv/ring.lean | f0cd6c2f3b305afd5a4476d8a23ae086c0e39344 | [
"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 | 10,889 | 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, Callum Sutton, Yury Kudryashov
-/
import data.equiv.mul_add
import algebra.field
import algebra.opposites
import deprecated.ring
/-!
# (Semi)ring equivs
In this file ... |
2e114a1a56ca34ee1c0d084ecd6cb94fb5415139 | 624f6f2ae8b3b1adc5f8f67a365c51d5126be45a | /stage0/src/Init/Lean/Meta/Tactic/LocalDecl.lean | eb51efce3c4fd38663469f473a3a5afa75360c48 | [
"Apache-2.0"
] | permissive | mhuisi/lean4 | 28d35a4febc2e251c7f05492e13f3b05d6f9b7af | dda44bc47f3e5d024508060dac2bcb59fd12e4c0 | refs/heads/master | 1,621,225,489,283 | 1,585,142,689,000 | 1,585,142,689,000 | 250,590,438 | 0 | 2 | Apache-2.0 | 1,602,443,220,000 | 1,585,327,814,000 | C | UTF-8 | Lean | false | false | 832 | lean | /-
Copyright (c) 2020 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
prelude
import Init.Lean.Meta.AppBuilder
import Init.Lean.Meta.Tactic.Util
import Init.Lean.Meta.Tactic.Assert
import Init.Lean.Meta.Tactic.Intro
import Ini... |
de7a1167edabc7a3409699b1c0aea8d4791e6731 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/simpperf/pre500.lean | 1f938dbd19cfbc43d636c5675ef1e8d0bf010f78 | [
"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 | 42,032 | lean | axiom f (x : Prop) : Prop
axiom g0 (x : Prop) : Prop
axiom g1 (x : Prop) : Prop
axiom g2 (x : Prop) : Prop
axiom g3 (x : Prop) : Prop
axiom g4 (x : Prop) : Prop
axiom g5 (x : Prop) : Prop
axiom g6 (x : Prop) : Prop
axiom g7 (x : Prop) : Prop
axiom g8 (x : Prop) : Prop
axiom g9 (x : Prop) : Prop
axiom g10 (x : Prop) : P... |
160d66b8790b8097ae0789cc706d1b96523fa6e5 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/algebra/category/Group/abelian.lean | a11ad5a1a383aa8a2263337029e1adda4fb07810 | [
"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 | 1,438 | lean | /-
Copyright (c) 2020 Markus Himmel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Markus Himmel
-/
import algebra.category.Group.Z_Module_equivalence
import algebra.category.Group.limits
import algebra.category.Group.colimits
import algebra.category.Module.abelian
im... |
544f5d2fda35ee48d46e8013cea041e4d37953d5 | e953c38599905267210b87fb5d82dcc3e52a4214 | /library/data/real/division.lean | b91cdfb364b056337ff6641f8fda9d909180dc03 | [
"Apache-2.0"
] | permissive | c-cube/lean | 563c1020bff98441c4f8ba60111fef6f6b46e31b | 0fb52a9a139f720be418dafac35104468e293b66 | refs/heads/master | 1,610,753,294,113 | 1,440,451,356,000 | 1,440,499,588,000 | 41,748,334 | 0 | 0 | null | 1,441,122,656,000 | 1,441,122,656,000 | null | UTF-8 | Lean | false | false | 21,969 | lean | /-
Copyright (c) 2015 Robert Y. Lewis. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Robert Y. Lewis
The real numbers, constructed as equivalence classes of Cauchy sequences of rationals.
This construction follows Bishop and Bridges (1985).
At this point, we no longer... |
671bcad0af5f8c89ff800d47ca29083dde3c2874 | c777c32c8e484e195053731103c5e52af26a25d1 | /src/ring_theory/dedekind_domain/finite_adele_ring.lean | 8c599af57d482306481c74d4985edc87c46508d2 | [
"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 | 9,079 | lean | /-
Copyright (c) 2023 MarΓa InΓ©s de Frutos-FernΓ‘ndez. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: MarΓa InΓ©s de Frutos-FernΓ‘ndez
-/
import ring_theory.dedekind_domain.adic_valuation
/-!
# The finite adèle ring of a Dedekind domain
We define the ring of finite adèl... |
c33540ec10611ddb6854623c836451cf83d22697 | c86b74188c4b7a462728b1abd659ab4e5828dd61 | /stage0/src/Lean/Server/FileWorker.lean | d44845d5fa6022afdcc2a25e1a947f93ad26b3cc | [
"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 | 17,486 | lean | /-
Copyright (c) 2020 Marc Huisinga. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Marc Huisinga, Wojciech Nawrocki
-/
import Init.System.IO
import Std.Data.RBMap
import Lean.Environment
import Lean.Data.Lsp
import Lean.Data.Json.FromToJson
import Lean.Server.Util... |
bf1a5b731659e48af26f2291e1a27b3d598ce81c | 74caf7451c921a8d5ab9c6e2b828c9d0a35aae95 | /library/init/meta/relation_tactics.lean | 93107a94548a3a6fdf4d0a8a825a47ff2893a580 | [
"Apache-2.0"
] | permissive | sakas--/lean | f37b6fad4fd4206f2891b89f0f8135f57921fc3f | 570d9052820be1d6442a5cc58ece37397f8a9e4c | refs/heads/master | 1,586,127,145,194 | 1,480,960,018,000 | 1,480,960,635,000 | 40,137,176 | 0 | 0 | null | 1,438,621,351,000 | 1,438,621,351,000 | null | UTF-8 | Lean | false | false | 1,440 | lean | /-
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
prelude
import init.meta.tactic init.function
namespace tactic
open expr
private meta def relation_tactic (op_for : environment β name β option name) (tac... |
1da183ebcc5589fb923c7a6b599f338a9f163d59 | 5a6ff5f8d173cbfe51967eb4c96837e3a791fe3d | /mm0-lean/mm0/meta/meta.lean | b2d665f6929b75ec35a8447439ed8ceeb013787c | [
"CC0-1.0"
] | permissive | digama0/mm0 | 491ac09146708aa1bb775007bf3dbe339ffc0096 | 98496badaf6464e56ed7b4204e7d54b85667cb01 | refs/heads/master | 1,692,321,030,902 | 1,686,254,458,000 | 1,686,254,458,000 | 172,456,790 | 273 | 38 | CC0-1.0 | 1,689,939,563,000 | 1,551,080,059,000 | Rust | UTF-8 | Lean | false | false | 8,690 | lean | import data.buffer category.basic tactic.core .basic
def name.to_simple : name β string
| (name.mk_string s _) := s
| _ := ""
meta def lean.parser.tk' (n : name) : lean.parser unit :=
do x β lean.parser.ident, tactic.trace (x, n), guard (x = n)
meta def user_attribute.get_param' {Ξ± Ξ² : Type} [reflected Ξ²] (attr : us... |
7c61a37e70b4047b9e3cdae838466a472778541a | b147e1312077cdcfea8e6756207b3fa538982e12 | /algebra/ordered_group.lean | 511306fb2579aa453a1e3c465c39845d87cec59f | [
"Apache-2.0"
] | permissive | SzJS/mathlib | 07836ee708ca27cd18347e1e11ce7dd5afb3e926 | 23a5591fca0d43ee5d49d89f6f0ee07a24a6ca29 | refs/heads/master | 1,584,980,332,064 | 1,532,063,841,000 | 1,532,063,841,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 20,499 | lean | /-
Copyright (c) 2017 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro, Johannes HΓΆlzl
Ordered monoids and groups.
-/
import algebra.group order.bounded_lattice tactic.basic
universe u
variable {Ξ± : Type u}
section old_structure_cmd
set... |
3e07be93dd53b97240c781fe39936e4af43e00c8 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/linear_algebra/free_module/finite/matrix.lean | 330c3b24583d0c70fce0a6851240ad5dfbe8f745 | [
"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 | 3,441 | lean | /-
Copyright (c) 2021 Riccardo Brasca. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Riccardo Brasca
-/
import linear_algebra.finrank
import linear_algebra.free_module.finite.rank
import linear_algebra.matrix.to_lin
/-!
# Finite and free modules using matrices
> TH... |
fc515c292825fe5a0bf747d0b7292c70f040f4a6 | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/order/ord_continuous.lean | 29a53afed5cf1f60a07aad788bd208fdbddb5161 | [
"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 | 8,022 | 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, Johannes HΓΆlzl
-/
import order.conditionally_complete_lattice
import logic.function.iterate
import order.rel_iso
/-!
# Order continuity
We say that a function... |
62a3e287e7ecd35e2f61e30f8412620af1eed6ae | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/data/list/prod_sigma.lean | fe6885d2f91c26ee6a4def1191d5804dd0db6242 | [
"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 | 2,548 | 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, Mario Carneiro
-/
import data.list.big_operators
/-!
# Lists in product and sigma types
This file proves basic properties of `list.product` and `list.sigma`, wh... |
4382253b4cf143cc477f6d7cc9aee1d9d8d4b003 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/topology/algebra/order/liminf_limsup.lean | 30d7484a0e540cd76fe938ec7bdac6a91b8c5beb | [
"Apache-2.0"
] | permissive | Vierkantor/mathlib | 0ea59ac32a3a43c93c44d70f441c4ee810ccceca | 83bc3b9ce9b13910b57bda6b56222495ebd31c2f | refs/heads/master | 1,658,323,012,449 | 1,652,256,003,000 | 1,652,256,003,000 | 209,296,341 | 0 | 1 | Apache-2.0 | 1,568,807,655,000 | 1,568,807,655,000 | null | UTF-8 | Lean | false | false | 8,407 | 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, Yury Kudryashov
-/
import order.liminf_limsup
import topology.algebra.order.basic
/-!
# Lemmas about liminf and limsup in an order topology.
-/
open f... |
fda814a1ac6edcc6a94dccdadc0f1056d5d31bd9 | 9be442d9ec2fcf442516ed6e9e1660aa9071b7bd | /stage0/src/Lean/Parser/Attr.lean | 2901522d49ffe059c4288ea9639a8e8a66b0ab1b | [
"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,028 | 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.Basic
import Lean.Parser.Extra
namespace Lean.Parser
builtin_initialize
registerBuiltinParserAttribute `builtinPrioParser ``Category.... |
92164f1883d43ce47f32e2ebdad617fa6aac77f1 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/data/polynomial/eval.lean | 21ccdc0c6cbe9fccd4edd84f3ff9ab9dd84c8f07 | [
"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 | 32,033 | lean | /-
Copyright (c) 2018 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes, Johannes HΓΆlzl, Scott Morrison, Jens Wagemaker
-/
import data.polynomial.degree.definitions
import algebra.geom_sum
/-!
# Theory of univariate polynomials
The main defs h... |
26bee4fd3663ebff1086c7ef560b204c942d5fd2 | 30b012bb72d640ec30c8fdd4c45fdfa67beb012c | /data/set/function.lean | 7649b5fb2a918a85e12342f202ca04117d31f421 | [
"Apache-2.0"
] | permissive | kckennylau/mathlib | 21fb810b701b10d6606d9002a4004f7672262e83 | 47b3477e20ffb5a06588dd3abb01fe0fe3205646 | refs/heads/master | 1,634,976,409,281 | 1,542,042,832,000 | 1,542,319,733,000 | 109,560,458 | 0 | 0 | Apache-2.0 | 1,542,369,208,000 | 1,509,867,494,000 | Lean | UTF-8 | Lean | false | false | 10,093 | lean | /-
Copyright (c) 2014 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Jeremy Avigad, Andrew Zipperer, Haitao Zhang, Minchao Wu
Functions over sets.
-/
import data.set.basic
open function
namespace set
universes u v w x
variables {Ξ± : Type u} {Ξ² : Type v}... |
08d14e016c129702f37dab6313a012f67bae83ff | 367134ba5a65885e863bdc4507601606690974c1 | /src/data/nat/log.lean | 9efe63701a64aadec49e56ead768cdc3a0085b88 | [
"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 | 2,159 | lean | /-
Copyright (c) 2020 Simon Hudon. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Simon Hudon
-/
import data.nat.basic
/-!
# Natural number logarithm
This file defines `log b n`, the logarithm of `n` with base `b`, to be the largest `k` such that
`b ^ k β€ n`.
-/
name... |
62c3ffac3211e81246fa03eaf674c3134b8b7478 | 618003631150032a5676f229d13a079ac875ff77 | /src/category_theory/elements.lean | 4d0ab5086a2bf8f89707b242358c079732b17325 | [
"Apache-2.0"
] | permissive | awainverse/mathlib | 939b68c8486df66cfda64d327ad3d9165248c777 | ea76bd8f3ca0a8bf0a166a06a475b10663dec44a | refs/heads/master | 1,659,592,962,036 | 1,590,987,592,000 | 1,590,987,592,000 | 268,436,019 | 1 | 0 | Apache-2.0 | 1,590,990,500,000 | 1,590,990,500,000 | null | UTF-8 | Lean | false | false | 4,467 | 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.comma
import category_theory.groupoid
/-!
# The category of elements
This file defines the category of elements, also known as (a special cas... |
9bf72c5e70378db176f814472a04b92738e920aa | aa3f8992ef7806974bc1ffd468baa0c79f4d6643 | /library/logic/instances.lean | a3eeedceae480ded84a626c4b36c5b06e6aed1ba | [
"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 | 4,606 | lean | -- Copyright (c) 2014 Microsoft Corporation. All rights reserved.
-- Released under Apache 2.0 license as described in the file LICENSE.
-- Author: Jeremy Avigad
-- logic.instances
-- ====================
import logic.connectives algebra.relation
namespace relation
open relation
-- Congruences for logic
-- -------... |
ec395130137e4155a69473154e8d20b71c71cfe5 | c3f2fcd060adfa2ca29f924839d2d925e8f2c685 | /hott/init/logic.hlean | 994801ab0a5d45b88a673f43b09fccb9dba73455 | [
"Apache-2.0"
] | permissive | respu/lean | 6582d19a2f2838a28ecd2b3c6f81c32d07b5341d | 8c76419c60b63d0d9f7bc04ebb0b99812d0ec654 | refs/heads/master | 1,610,882,451,231 | 1,427,747,084,000 | 1,427,747,429,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 11,464 | hlean | /-
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Module: init.logic
Authors: Leonardo de Moura
-/
prelude
import init.datatypes init.reserved_notation
definition not.{l} (a : Type.{l}) := a β empty.{l}
prefix `Β¬` := not
definition ... |
c1e88f23b668182ae2cc7050e1e8428eb7741a8d | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/algebra/group/ext.lean | 9dd4666a7a8d17dc9e4f604ae05a40b11ba03302 | [
"Apache-2.0"
] | permissive | robertylewis/mathlib | 3d16e3e6daf5ddde182473e03a1b601d2810952c | 1d13f5b932f5e40a8308e3840f96fc882fae01f0 | refs/heads/master | 1,651,379,945,369 | 1,644,276,960,000 | 1,644,276,960,000 | 98,875,504 | 0 | 0 | Apache-2.0 | 1,644,253,514,000 | 1,501,495,700,000 | Lean | UTF-8 | Lean | false | false | 4,991 | lean | /-
Copyright (c) 2021 Bryan Gin-ge Chen. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Bryan Gin-ge Chen, Yury Kudryashov
-/
import algebra.group.hom
/-!
# Extensionality lemmas for monoid and group structures
In this file we prove extensionality lemmas for `monoid`... |
c6789dd464cf4e19436e36a0b86d54267a0e7fdf | 947b78d97130d56365ae2ec264df196ce769371a | /tests/lean/run/def18.lean | 0581c4ad62943ee0d3d9c2798747dd0def90ddca | [
"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 | 257 | lean | new_frontend
universe u
variable {Ξ± : Type u}
def split : List Ξ± β List Ξ± Γ List Ξ±
| [] => ([], [])
| [a] => ([a], [])
| a::b::as => (a :: (split as).1, b :: (split as).2)
theorem ex1 : split [1, 2, 3, 4, 5] = ([1, 3, 5], [2, 4]) :=
rfl
|
d5f65b13a0fcdfcf05b70bfb8ff21012ee2564e3 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/data/fin/tuple/sort.lean | ee93cbc77b8e416f4d63462f59dfc3916b060b28 | [
"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 | 2,700 | lean | /-
Copyright (c) 2021 Kyle Miller. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kyle Miller
-/
import data.fin.basic
import data.finset.sort
import order.lexicographic
/-!
# Sorting tuples by their values
Given an `n`-tuple `f : fin n β Ξ±` where `Ξ±` is ordered,
w... |
ebf733a02e420e873f27440d00164df30469d764 | 7cef822f3b952965621309e88eadf618da0c8ae9 | /src/topology/algebra/open_subgroup.lean | 4af90db556483cee269483e0e8e2a35c47801893 | [
"Apache-2.0"
] | permissive | rmitta/mathlib | 8d90aee30b4db2b013e01f62c33f297d7e64a43d | 883d974b608845bad30ae19e27e33c285200bf84 | refs/heads/master | 1,585,776,832,544 | 1,576,874,096,000 | 1,576,874,096,000 | 153,663,165 | 0 | 2 | Apache-2.0 | 1,544,806,490,000 | 1,539,884,365,000 | Lean | UTF-8 | Lean | false | false | 5,909 | lean | import order.filter.lift
import linear_algebra.basic
import topology.opens topology.algebra.ring
section
open topological_space
variables (G : Type*) [group G] [topological_space G]
/-- The type of open subgroups of a topological group. -/
@[to_additive open_add_subgroup]
def open_subgroup := { U : set G // is_open U... |
49f590099a55c8e1786275f90161fe87a5072b5e | 8eeb99d0fdf8125f5d39a0ce8631653f588ee817 | /src/measure_theory/bochner_integration.lean | 60404f3717d718374933c506f68de218ca4b865a | [
"Apache-2.0"
] | permissive | jesse-michael-han/mathlib | a15c58378846011b003669354cbab7062b893cfe | fa6312e4dc971985e6b7708d99a5bc3062485c89 | refs/heads/master | 1,625,200,760,912 | 1,602,081,753,000 | 1,602,081,753,000 | 181,787,230 | 0 | 0 | null | 1,555,460,682,000 | 1,555,460,682,000 | null | UTF-8 | Lean | false | false | 62,736 | lean | /-
Copyright (c) 2019 Zhouhang Zhou. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Zhouhang Zhou, Yury Kudryashov
-/
import measure_theory.simple_func_dense
import analysis.normed_space.bounded_linear_maps
import topology.sequences
/-!
# Bochner integral
The Bochner... |
79d6679774cd18d164fdaae6b75862e815f38069 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/algebra/lie/matrix.lean | c38085e480964db2b6e38390240d116ebf698780 | [
"Apache-2.0"
] | permissive | Vierkantor/mathlib | 0ea59ac32a3a43c93c44d70f441c4ee810ccceca | 83bc3b9ce9b13910b57bda6b56222495ebd31c2f | refs/heads/master | 1,658,323,012,449 | 1,652,256,003,000 | 1,652,256,003,000 | 209,296,341 | 0 | 1 | Apache-2.0 | 1,568,807,655,000 | 1,568,807,655,000 | null | UTF-8 | Lean | false | false | 3,345 | lean | /-
Copyright (c) 2021 Oliver Nash. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Oliver Nash
-/
import algebra.lie.of_associative
import linear_algebra.matrix.reindex
import linear_algebra.matrix.to_linear_equiv
/-!
# Lie algebras of matrices
An important class of L... |
1b9f6a011b887bc50fc893121314871b46f36d9f | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/category_theory/limits/lattice.lean | 8b9ee30169dd8b608a52e26bc2a9e3e5011a616c | [
"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,867 | lean | /-
Copyright (c) 2019 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison
-/
import category_theory.limits.shapes.finite_limits
import order.complete_lattice
universes u
open category_theory
open category_theory.limits
namespace category_th... |
aaf2b18fc54414f3f9f864d0df3492e1dec93c68 | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/category_theory/sigma/basic.lean | bd9cfb824dd18fbd8fe133ebb9281f57fad037bd | [
"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 | 7,780 | 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.whiskering
import category_theory.fully_faithful
import category_theory.natural_isomorphism
import data.sigma.basic
/-!
# Disjoint union of catego... |
8660eab2fbd31cdf2d25fb4ca9802936b1e4de04 | 947b78d97130d56365ae2ec264df196ce769371a | /tests/lean/run/structInst3.lean | 4b73a8c7b74e2a2a252b53eca4e2a20562608508 | [
"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 | 611 | lean | new_frontend
universes u
namespace Ex1
structure A (Ξ± : Type u) :=
(x : Ξ±) (f : Ξ± β Ξ± := Ξ» x => x)
structure B (Ξ± : Type u) extends A Ξ± :=
(y : Ξ± := f (f x)) (g : Ξ± β Ξ± β Ξ± := Ξ» x y => f x)
structure C (Ξ± : Type u) extends B Ξ± :=
(z : Ξ± := g x y) (x := f z)
end Ex1
open Ex1
def c1 : C Nat := { x := 1 }
#check {... |
3c6dd0b4a62f230d01ded133c9276e7f6310ea84 | 57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d | /src/Lean/Data/Options.lean | 8e45e4806ef2b2bc3202456938301a632f5923ab | [
"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 | 4,625 | lean | /-
Copyright (c) 2018 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sebastian Ullrich and Leonardo de Moura
-/
import Lean.Data.KVMap
namespace Lean
def Options := KVMap
def Options.empty : Options := {}
instance : Inhabited Options where
... |
3250c04d326bb29a3522f6a8802a5ac7f46ac145 | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/parser_run.lean | 840799fb45d9cae8136fc7cedd44dd3463f5982a | [
"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 | 338 | lean | import system.io
open lean.parser
meta def parse_hello : tactic unit := do
e β lean.parser.run_with_input (lean.parser.get_env) "hello",
e2 β tactic.get_env,
tactic.trace (to_bool $ e.fingerprint = e2.fingerprint),
n β lean.parser.run_with_input (lean.parser.ident) "hello",
tactic.trace n.to_string
run_cmd ... |
c25800c1314cef71e1deb3a3a1e4fc2f7eba9753 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/ring_theory/fractional_ideal_auto.lean | c162834ea5aba5fa704fe8bdfbbe7c749e075fb6 | [] | 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 | 43,056 | lean | /-
Copyright (c) 2020 Anne Baanen. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Anne Baanen, Filippo A. E. Nuccio
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.ring_theory.localization
import Mathlib.ring_theory.noetherian
import Mathl... |
add32ba7feca42b1f19748f37ef4b0dabfa22857 | 624f6f2ae8b3b1adc5f8f67a365c51d5126be45a | /stage0/src/Init/Lean/Elab/Tactic/Injection.lean | 15af6a8f6b6fcedf208bca41939f59137d5b6438 | [
"Apache-2.0"
] | permissive | mhuisi/lean4 | 28d35a4febc2e251c7f05492e13f3b05d6f9b7af | dda44bc47f3e5d024508060dac2bcb59fd12e4c0 | refs/heads/master | 1,621,225,489,283 | 1,585,142,689,000 | 1,585,142,689,000 | 250,590,438 | 0 | 2 | Apache-2.0 | 1,602,443,220,000 | 1,585,327,814,000 | C | UTF-8 | Lean | false | false | 1,274 | lean | /-
Copyright (c) 2020 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
prelude
import Init.Lean.Meta.Tactic.Injection
import Init.Lean.Elab.Tactic.ElabTerm
namespace Lean
namespace Elab
namespace Tactic
-- optional (" with " ... |
e6544bbda82e66e005a15f678487f61034519724 | b7f22e51856f4989b970961f794f1c435f9b8f78 | /library/data/list/basic.lean | 98d6c6ec267e37d86f9eb624dd192c18d7984c7c | [
"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 | 26,592 | lean | /-
Copyright (c) 2014 Parikshit Khanna. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn
Basic properties of lists.
-/
import logic tools.helper_tactics data.nat.order data.nat.sub
open eq.ops nat prod... |
47bfaa0b53f3e9fd1cac95342f95ec69ea8e71ed | f2fbd9ce3f46053c664b74a5294d7d2f584e72d3 | /src/for_mathlib/topological_structures.lean | ed01c7c2cbe2c3f7b9a3052a33c35550f5a3eeb7 | [
"Apache-2.0"
] | permissive | jcommelin/lean-perfectoid-spaces | c656ae26a2338ee7a0072dab63baf577f079ca12 | d5ed816bcc116fd4cde5ce9aaf03905d00ee391c | refs/heads/master | 1,584,610,432,107 | 1,538,491,594,000 | 1,538,491,594,000 | 136,299,168 | 0 | 0 | null | 1,528,274,452,000 | 1,528,274,452,000 | null | UTF-8 | Lean | false | false | 12,569 | lean | import analysis.topology.topological_structures
import tactic.ring
import for_mathlib.completion
section
variables {Ξ± : Type*} {Ξ² : Type*} {Ξ³ : Type*}
/-- This is a helper lemma for associativity of addition in `completion_group_str`.
It could probably be inlined. TODO: prove every permutation of a finite product
... |
4fd1fa1243014e9a7eddb8d9e6a7a49363852a78 | 9dd3f3912f7321eb58ee9aa8f21778ad6221f87c | /tests/lean/run/record10.lean | dc833a745df642b85e8afb4e8d274213a489fa00 | [
"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 | 448 | lean | print prefix semigroup
print "======================="
structure [class] has_two_muls (A : Type) extends has_mul A renaming mulβmul1,
private has_mul A renaming mulβmul2
print prefix has_two_muls
print "======================="
structure [class] another_two_muls (A : Type)... |
55ac6428382f94d63568a60077c1d68afab3c8e8 | 592ee40978ac7604005a4e0d35bbc4b467389241 | /Library/generated/mathscheme-lean/AntiCommutativeRing.lean | ca828671cc0e7d1c0df69e74ffa9bce3631ee4f1 | [] | no_license | ysharoda/Deriving-Definitions | 3e149e6641fae440badd35ac110a0bd705a49ad2 | dfecb27572022de3d4aa702cae8db19957523a59 | refs/heads/master | 1,679,127,857,700 | 1,615,939,007,000 | 1,615,939,007,000 | 229,785,731 | 4 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 16,508 | lean | import init.data.nat.basic
import init.data.fin.basic
import data.vector
import .Prelude
open Staged
open nat
open fin
open vector
section AntiCommutativeRing
structure AntiCommutativeRing (A : Type) : Type :=
(times : (A β (A β A)))
(plus : (A β (A β A)))
(zero : A)
(lunit_zero : (β ... |
0128524001e190f46e3e32bbd9e951c91931c194 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/ring_theory/noetherian.lean | 2e59f4a21cb44b6e2dcee9e0029b8e1baa84d931 | [
"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 | 22,750 | lean | /-
Copyright (c) 2018 Mario Carneiro, Kevin Buzzard. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro, Kevin Buzzard
-/
import algebra.algebra.subalgebra.basic
import algebra.algebra.tower
import algebra.ring.idempotents
import group_theory.finiteness
impo... |
336e10edc3aa54933150349acffc03fe5860a9d9 | 4efff1f47634ff19e2f786deadd394270a59ecd2 | /src/category_theory/limits/pi.lean | d6bd5c452a9e6522a1e53b4faf1389e467bf4789 | [
"Apache-2.0"
] | permissive | agjftucker/mathlib | d634cd0d5256b6325e3c55bb7fb2403548371707 | 87fe50de17b00af533f72a102d0adefe4a2285e8 | refs/heads/master | 1,625,378,131,941 | 1,599,166,526,000 | 1,599,166,526,000 | 160,748,509 | 0 | 0 | Apache-2.0 | 1,544,141,789,000 | 1,544,141,789,000 | null | UTF-8 | Lean | false | false | 2,847 | 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.pi.basic
import category_theory.limits.limits
/-!
# Limits in the category of indexed families of objects.
Given a functor `F : J β₯€ Ξ i, C i`... |
f7ee8c53e06ed09e0484524da8f7770a0ccc2ff5 | 737dc4b96c97368cb66b925eeea3ab633ec3d702 | /src/Init/System/IO.lean | da152abde1810ba7ad5e1dd19526126cbaf5cd80 | [
"Apache-2.0"
] | permissive | Bioye97/lean4 | 1ace34638efd9913dc5991443777b01a08983289 | bc3900cbb9adda83eed7e6affeaade7cfd07716d | refs/heads/master | 1,690,589,820,211 | 1,631,051,000,000 | 1,631,067,598,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 20,718 | lean | /-
Copyright (c) 2017 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Luke Nelson, Jared Roesch, Leonardo de Moura, Sebastian Ullrich
-/
prelude
import Init.Control.EState
import Init.Control.Reader
import Init.Data.String
import Init.Data.ByteArr... |
b6cf714a23f297f3a1a9b01f61888cd615168785 | 1dd482be3f611941db7801003235dc84147ec60a | /src/tactic/basic.lean | 5e4c76e07553fb6ceed845b2b770e8173d09f2ac | [
"Apache-2.0"
] | permissive | sanderdahmen/mathlib | 479039302bd66434bb5672c2a4cecf8d69981458 | 8f0eae75cd2d8b7a083cf935666fcce4565df076 | refs/heads/master | 1,587,491,322,775 | 1,549,672,060,000 | 1,549,672,060,000 | 169,748,224 | 0 | 0 | Apache-2.0 | 1,549,636,694,000 | 1,549,636,694,000 | null | UTF-8 | Lean | false | false | 30,041 | lean | /-
Copyright (c) 2018 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro, Simon Hudon, Scott Morrison, Keeley Hoek
-/
import data.dlist.basic category.basic meta.expr meta.rb_map
namespace expr
open tactic
attribute [derive has_reflect] bin... |
ffefc23ca01c5a2193d48c9312bb316e2fb28822 | 947fa6c38e48771ae886239b4edce6db6e18d0fb | /src/analysis/special_functions/trigonometric/deriv.lean | 22f70695f67388eb946aa9fbe1520bf3c442572a | [
"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 | 37,849 | lean | /-
Copyright (c) 2018 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle SΓΆnne, Benjamin Davidson
-/
import analysis.special_functions.exp_deriv
import analysis.special_functions.trigonometric.basic
impor... |
e6a8e6647461ccd5605809e4eed3c03fe25678e4 | c777c32c8e484e195053731103c5e52af26a25d1 | /src/analysis/normed/group/basic.lean | 7b25f1a4fc0029f5075d2cd68c631b6f3ee56c99 | [
"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 | 83,217 | 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, YaΓ«l Dillies
-/
import analysis.normed.group.seminorm
import order.liminf_limsup
import topology.algebra.uniform_group
import topology.instances.rat
imp... |
c77329e29d73e40a61aa6bbc112c0cbe5cd0548a | 4fa118f6209450d4e8d058790e2967337811b2b5 | /src/adic_space.lean | c8b1b904ed1e6305002c66eeca6623b9999af639 | [
"Apache-2.0"
] | permissive | leanprover-community/lean-perfectoid-spaces | 16ab697a220ed3669bf76311daa8c466382207f7 | 95a6520ce578b30a80b4c36e36ab2d559a842690 | refs/heads/master | 1,639,557,829,139 | 1,638,797,866,000 | 1,638,797,866,000 | 135,769,296 | 96 | 10 | Apache-2.0 | 1,638,797,866,000 | 1,527,892,754,000 | Lean | UTF-8 | Lean | false | false | 10,901 | lean | import algebra.group_power
import topology.algebra.ring
import topology.opens
import category_theory.category
import category_theory.full_subcategory
import for_mathlib.open_embeddings
import for_mathlib.topological_groups
import sheaves.f_map
import Spa.stalk_valuation
/-!
# Adic spaces
Adic spaces were introduce... |
c1f3912e504a48bf39bbaa262ec3a9b362977178 | 5fbbd711f9bfc21ee168f46a4be146603ece8835 | /lean/natural_number_game/power/7.lean | 0146e1a1ed4195d598d5febed9344f3e59694ced | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | goedel-gang/maths | 22596f71e3fde9c088e59931f128a3b5efb73a2c | a20a6f6a8ce800427afd595c598a5ad43da1408d | refs/heads/master | 1,623,055,941,960 | 1,621,599,441,000 | 1,621,599,441,000 | 169,335,840 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 171 | lean | lemma pow_pow (a m n : mynat) : (a ^ m) ^ n = a ^ (m * n) :=
induction n with d hd,
rw mul_zero,
repeat {rw pow_zero},
rwa [pow_succ, hd, mul_succ, pow_add],
end
|
dbe25cc3a86395fbe09da0bb0accc8ae8a94006f | 947b78d97130d56365ae2ec264df196ce769371a | /tests/lean/run/ptrAddr.lean | dabac248d45474d930034a9e569fb58b3f5764a4 | [
"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 | 477 | lean | new_frontend
axiom TrustMe {p : Prop} : p
def x := (1, 2)
def y := x
@[noinline] def mk (v : Nat) := (v, v+1)
#eval withPtrAddr x (fun a => dbgTrace (">> " ++ toString a) $ fun _ => 0) TrustMe
#eval withPtrEq x y (fun _ => dbgTrace (">> " ++ toString x ++ " == " ++ toString y) $ fun _ => x == y) TrustMe -- should no... |
a6ba5f635f6cc458e9539c287a3f2594ee17ed80 | 5df84495ec6c281df6d26411cc20aac5c941e745 | /src/formal_ml/measurable_space.lean | 15bd91ef173f31e942f1307173fa0e22194469c5 | [
"Apache-2.0"
] | permissive | eric-wieser/formal-ml | e278df5a8df78aa3947bc8376650419e1b2b0a14 | 630011d19fdd9539c8d6493a69fe70af5d193590 | refs/heads/master | 1,681,491,589,256 | 1,612,642,743,000 | 1,612,642,743,000 | 360,114,136 | 0 | 0 | Apache-2.0 | 1,618,998,189,000 | 1,618,998,188,000 | null | UTF-8 | Lean | false | false | 20,265 | lean | /-
Copyright 2020 Google LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
di... |
02fa2106fdb9d9652dc1c760aaa1b7902830f20d | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/order/rel_classes.lean | 8ab31590606f902dc20e34d81158ac3a62c92f14 | [
"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 | 14,323 | lean | /-
Copyright (c) 2020 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad, Mario Carneiro, Yury G. Kudryashov
-/
import order.basic
/-!
# Unbundled relation classes
In this file we prove some properties of `is_*` classes defined in `init.algeb... |
7d9e197c19be5f1fe2b774dd7d968699b4d1a76d | 80cc5bf14c8ea85ff340d1d747a127dcadeb966f | /test/qpf.lean | 933eda0695b4a00c0442c10ae54ad615f24e9427 | [
"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 | 6,194 | lean | import data.qpf.univariate.basic
import control.bifunctor
universes u
variables {F : Type u β Type u} [functor F]
namespace qpf
section box
variables (F)
/-- apply a functor to a set of values. taken from
[Basil FΓΌrer, Andreas Lochbihler, Joshua Schneider, Dmitriy Traytel *Quotients of Bounded Natural Functors*][f... |
8b1741b22cb8c372307644e29915cd507c481298 | ff5230333a701471f46c57e8c115a073ebaaa448 | /library/init/data/option/basic.lean | 4d15ea7218fd2e788104873b308be8722946c462 | [
"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,243 | 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
-/
prelude
import init.logic init.category.monad init.category.alternative
open decidable
universes u v
namespace option
def to_monad {m : Type β Type} [mon... |
7e7567c0e1b316194267fa8f5b6fe311a37cbd2b | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /src/Lean/Widget/TaggedText.lean | 62708e82cc44ca2ecbececc4eac4962abd89cbcf | [
"Apache-2.0",
"LLVM-exception",
"NCSA",
"LGPL-3.0-only",
"LicenseRef-scancode-inner-net-2.0",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"Spencer-94",
"LGPL-2.1-or-later",
"HPND",
"LicenseRef-scancode-pcre",
"ISC",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"SunPro",
"CMU-Mach"... | permissive | leanprover/lean4 | 4bdf9790294964627eb9be79f5e8f6157780b4cc | f1f9dc0f2f531af3312398999d8b8303fa5f096b | refs/heads/master | 1,693,360,665,786 | 1,693,350,868,000 | 1,693,350,868,000 | 129,571,436 | 2,827 | 311 | Apache-2.0 | 1,694,716,156,000 | 1,523,760,560,000 | Lean | UTF-8 | Lean | false | false | 4,302 | lean | /-
Copyright (c) 2021 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Wojciech Nawrocki
-/
import Lean.Data.Json.FromToJson
import Lean.Server.Rpc.Basic
namespace Lean.Widget
open Server
/-- The minimal structure needed to represent "string wit... |
02ab58cce294a02cb33c7aae3ac201ca18fe5cdd | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /test/ring.lean | ca22a8dee51747e0217bd695b2eba74fb8bc7485 | [
"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 | 2,847 | lean | import tactic.ring
import data.real.basic
example (x y : β) : x + y = y + x := by ring
example (x y : β) : x + y + y = 2 * y + x := by ring
example (x y : β) : x + id y = y + id x := by ring!
example {Ξ±} [comm_ring Ξ±] (x y : Ξ±) : x + y + y - x = 2 * y := by ring
example (x y : β) : x / 2 + x / 2 = x := by ring
example... |
9701f71b5f937781a008f8104b7df4e769284894 | d29d82a0af640c937e499f6be79fc552eae0aa13 | /src/linear_algebra/multilinear.lean | b1fd208c4e8bcafaaf3f23b446469f282e822cb5 | [
"Apache-2.0"
] | permissive | AbdulMajeedkhurasani/mathlib | 835f8a5c5cf3075b250b3737172043ab4fa1edf6 | 79bc7323b164aebd000524ebafd198eb0e17f956 | refs/heads/master | 1,688,003,895,660 | 1,627,788,521,000 | 1,627,788,521,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 54,196 | lean | /-
Copyright (c) 2020 SΓ©bastien GouΓ«zel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: SΓ©bastien GouΓ«zel
-/
import linear_algebra.basic
import algebra.algebra.basic
import algebra.big_operators.order
import data.fintype.sort
/-!
# Multilinear maps
We define multilin... |
38b015743d4f2131468d3b038c19bd17164bf127 | 5756a081670ba9c1d1d3fca7bd47cb4e31beae66 | /Mathport/Syntax/Translate/Tactic/Mathlib/Suggest.lean | 58cb233ec5af6b4c6ddbc338b7066cb223c2bde3 | [
"Apache-2.0"
] | permissive | leanprover-community/mathport | 2c9bdc8292168febf59799efdc5451dbf0450d4a | 13051f68064f7638970d39a8fecaede68ffbf9e1 | refs/heads/master | 1,693,841,364,079 | 1,693,813,111,000 | 1,693,813,111,000 | 379,357,010 | 27 | 10 | Apache-2.0 | 1,691,309,132,000 | 1,624,384,521,000 | Lean | UTF-8 | Lean | false | false | 1,380 | lean | /-
Copyright (c) 2021 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
-/
import Mathport.Syntax.Translate.Tactic.Basic
import Mathport.Syntax.Translate.Tactic.Lean3
open Lean
namespace Mathport.Translate.Tactic
open AST3 Mathport.... |
7a2355d23681875bfa9653148350d9d9fe4525a6 | 2c22329192c4b07152b2deb50a0867391132a1fb | /test.lean | cb81be6a7af76da21434da588823290e5ceda090 | [] | no_license | ThuongThuongtlu/ThuongThuong | 4cc97beb714a829e1596da9720854287d1ad424e | 66c2a9f54b33e05d7d3ebe69fd058558536c115b | refs/heads/master | 1,584,615,614,436 | 1,528,359,683,000 | 1,528,359,683,000 | 136,420,369 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 21 | lean | #print"Hello teacher" |
178200ff1929bc47b813ea47f6d98e55e03d68ce | 3bdd27ffdff3ffa22d4bb010eba695afcc96bc4a | /src/combinatorics/simplicial_complex/basic.lean | df16c0318068030fd613f9015bd93267bfb116d9 | [] | no_license | mmasdeu/brouwerfixedpoint | 684d712c982c6a8b258b4e2c6b2eab923f2f1289 | 548270f79ecf12d7e20a256806ccb9fcf57b87e2 | refs/heads/main | 1,690,539,793,996 | 1,631,801,831,000 | 1,631,801,831,000 | 368,139,809 | 4 | 3 | null | 1,624,453,250,000 | 1,621,246,034,000 | Lean | UTF-8 | Lean | false | false | 15,340 | lean | /-
Copyright (c) 2021 YaΓ«l Dillies, Bhavik Mehta. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: YaΓ«l Dillies, Bhavik Mehta
-/
import combinatorics.simplicial_complex.simplex
-- import data.nat.parity
open_locale classical affine big_operators
open set
namespace affi... |
3cab2d6521190ed10ab3e2603f4117fa01140500 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/algebra/jordan/basic.lean | a7259c6b0e11e8a54cd261feda2a67faf7c53f6a | [
"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,096 | lean | /-
Copyright (c) 2021 Christopher Hoskin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Christopher Hoskin
-/
import algebra.lie.of_associative
/-!
# Jordan rings
Let `A` be a non-unital, non-associative ring. Then `A` is said to be a (commutative, linear) Jordan
ri... |
22d5b952ec6e01098909f70c5fa5b5efca7acc2b | 4727251e0cd73359b15b664c3170e5d754078599 | /src/algebraic_geometry/prime_spectrum/noetherian.lean | c9abaabee3c720487eee8513f0ea019df9715e21 | [
"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,022 | lean | /-
Copyright (c) 2020 Filippo A. E. Nuccio. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Filippo A. E. Nuccio
-/
import algebraic_geometry.prime_spectrum.basic
/-!
This file proves additional properties of the prime spectrum a ring is Noetherian.
-/
universes u v
n... |
62110f82d5b393ad48be7f8c9f134f5dede56586 | f3849be5d845a1cb97680f0bbbe03b85518312f0 | /library/tools/super/selection.lean | d26c17b6c7ed13bc86a60d4262de4320efc9e35d | [
"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 | 2,954 | lean | /-
Copyright (c) 2016 Gabriel Ebner. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Gabriel Ebner
-/
import .prover_state
namespace super
meta def simple_selection_strategy (f : (expr β expr β bool) β clause β list β) : selection_strategy :=
take dc, do gt β get_term... |
239753d7ae31851ee1bc47d099bf4e3ba7131852 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/data/int/modeq.lean | 99b5957c2f857c6ee8fd909365a41b12a291b20a | [] | 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 | 5,517 | 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 Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.data.nat.modeq
import Mathlib.tactic.ring
import Mathlib.PostPort
namespace Mathlib
namespace... |
7f9256425fed1897611195d05a2f675463ea0452 | 35677d2df3f081738fa6b08138e03ee36bc33cad | /src/topology/instances/ennreal.lean | ad7ef4f32c44430b39c50a1416171369c51d99ab | [
"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 | 38,629 | 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
-/
import topology.instances.nnreal data.real.ennreal
/-!
# Extended non-negative reals
-/
noncomputable theory
open classical set filter metric
open_locale classical
op... |
04db3dd1f7f99d5028050932b99c9d51e235f1c0 | b794ca1df49bc5a3bd3fd5552eed3bc4f63b8b93 | /src/instructor/lectures/lecture_4.lean | b1eab97d404909db8b79960828c488728021af65 | [] | no_license | akraisinger/cs2120f21 | 8235ac98375e04ffcec504cff5cab7833ee69e54 | 4ef83d7151bb6a284028092aa4f1d509c0eb8237 | refs/heads/main | 1,691,714,771,612 | 1,632,889,465,000 | 1,632,889,465,000 | 399,946,508 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 3,707 | lean | /-
We've seen that logics start with i that
can then be combined (with other information)
using *inference rules* to derive theorems. In
this file we review what we've covered so far
and then we introduce:
(1) The concept of introduction and elimination
rules for a given logical construct.
(2) We distinguish the refle... |
a3228664e8c8ee48d0fd738260aeca0ee7c134b1 | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/analysis/normed_space/operator_norm.lean | a83d745bcad7fc377fdf1ddabe3f49ae021748bb | [
"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 | 57,539 | lean | /-
Copyright (c) 2019 Jan-David Salchow. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jan-David Salchow, SΓ©bastien GouΓ«zel, Jean Lo
-/
import linear_algebra.finite_dimensional
import analysis.normed_space.linear_isometry
import analysis.normed_space.riesz_lemma
impor... |
ad95f707eebd55102c62076b832348baf66e8cd7 | 07f5f86b00fed90a419ccda4298d8b795a68f657 | /library/init/algebra/order.lean | c93e0541a68836225a060601485827ae404561be | [
"Apache-2.0"
] | permissive | VBaratham/lean | 8ec5c3167b4835cfbcd7f25e2173d61ad9416b3a | 450ca5834c1c35318e4b47d553bb9820c1b3eee7 | refs/heads/master | 1,629,649,471,814 | 1,512,060,373,000 | 1,512,060,469,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 8,762 | 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.logic init.classical init.meta.name init.algebra.classes
/- Make sure instances defined in this file have lower priority than the ones
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.