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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d97c72b34dee3c4b063e6a12996417905432369a | fecda8e6b848337561d6467a1e30cf23176d6ad0 | /src/data/mv_polynomial/pderivative.lean | 5e99136ece69cb97468ad2d55f1ba2e24cb93e6e | [
"Apache-2.0"
] | permissive | spolu/mathlib | bacf18c3d2a561d00ecdc9413187729dd1f705ed | 480c92cdfe1cf3c2d083abded87e82162e8814f4 | refs/heads/master | 1,671,684,094,325 | 1,600,736,045,000 | 1,600,736,045,000 | 297,564,749 | 1 | 0 | null | 1,600,758,368,000 | 1,600,758,367,000 | null | UTF-8 | Lean | false | false | 4,367 | lean | /-
Copyright (c) 2017 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Shing Tak Lam
-/
import data.mv_polynomial.variables
import algebra.module.basic
import tactic.ring
/-!
# Partial derivatives of polynomials
This file defines the notion of the form... |
53df8b1106ead5e54e1b70a6ee102ca8cf906894 | 947fa6c38e48771ae886239b4edce6db6e18d0fb | /src/measure_theory/measure/haar_lebesgue.lean | a29416200a9bd1d052d2478c79e9cb3379c9ff0b | [
"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,196 | lean | /-
Copyright (c) 2021 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Floris van Doorn, Sébastien Gouëzel
-/
import measure_theory.measure.lebesgue
import measure_theory.measure.haar
import linear_algebra.finite_dimensional
import analysis.normed_space... |
c6dc1d8f7639cfb5d0d35dfd4e5600a09f031f81 | 367134ba5a65885e863bdc4507601606690974c1 | /src/algebra/category/Module/limits.lean | 8a4d021d2e7aa457580e391d32edb07609c715f2 | [
"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,287 | lean | /-
Copyright (c) 2020 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison
-/
import algebra.category.Module.basic
import algebra.category.Group.limits
import algebra.direct_limit
/-!
# The category of R-modules has all limits
Further, these ... |
e725b65ded047f7478b3b795fe5bf4f6579639db | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/data/sym2_auto.lean | 2484d1c45ce52726ced9f3f5274c8816cb660b4c | [] | 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 | 10,995 | lean | /-
Copyright (c) 2020 Kyle Miller All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Kyle Miller.
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.tactic.linarith.default
import Mathlib.data.sym
import Mathlib.PostPort
universes u u_1 u_2 u_3
... |
0f754877ea9a6487dc3779d15f7c578c3c587814 | 137c667471a40116a7afd7261f030b30180468c2 | /src/analysis/calculus/extend_deriv.lean | 7c8abe0279fd0c1c558be507504bef11112ef9fb | [
"Apache-2.0"
] | permissive | bragadeesh153/mathlib | 46bf814cfb1eecb34b5d1549b9117dc60f657792 | b577bb2cd1f96eb47031878256856020b76f73cd | refs/heads/master | 1,687,435,188,334 | 1,626,384,207,000 | 1,626,384,207,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 11,077 | lean | /-
Copyright (c) 2019 Sébastien Gouëzel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sébastien Gouëzel
-/
import analysis.calculus.mean_value
import tactic.monotonicity
/-!
# Extending differentiability to the boundary
We investigate how differentiable functions i... |
288bd1b540bcbf450c861691af09544706800ba0 | 80cc5bf14c8ea85ff340d1d747a127dcadeb966f | /src/measure_theory/borel_space.lean | 640d404d508e3e4515672eb65c0accf122d4e29e | [
"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 | 36,239 | lean | /-
Copyright (c) 2017 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl, Yury Kudryashov
-/
import measure_theory.measure_space
import topology.instances.ennreal
import analysis.normed_space.basic
/-!
# Borel (measurable) space
## Main def... |
9b8a20043032d91573cd49f2fb6590e7cedce0dc | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/category_theory/limits/exact_functor.lean | d7974bcafefeb109dd0f2dce4849888f4021b879 | [
"Apache-2.0"
] | permissive | alreadydone/mathlib | dc0be621c6c8208c581f5170a8216c5ba6721927 | c982179ec21091d3e102d8a5d9f5fe06c8fafb73 | refs/heads/master | 1,685,523,275,196 | 1,670,184,141,000 | 1,670,184,141,000 | 287,574,545 | 0 | 0 | Apache-2.0 | 1,670,290,714,000 | 1,597,421,623,000 | Lean | UTF-8 | Lean | false | false | 5,517 | 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.limits.preserves.finite
/-!
# Bundled exact functors
We say that a functor `F` is left exact if it preserves finite limits, it is right exact i... |
1ac8c658df599a4e1f223c555cb1490fd749c313 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/algebra/star/self_adjoint.lean | 86fe15c3418e49d6e45fe2a12fd14fa2e92c6f3c | [
"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,895 | lean | /-
Copyright (c) 2021 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 algebra.star.basic
import group_theory.subgroup.basic
/-!
# Self-adjoint, skew-adjoint and normal elements of a star additive group
This file defines `sel... |
7a6a8b58dedf6af831c86ccd5ea22f3a77dd59be | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/run/letters.lean | 869e05c8551572e684748d9a6a1a858b9d8260b7 | [
"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 | 34 | lean | variables 𝓞 : Prop
#check 𝓞
|
d869b6e24a4ed2cb9296af50fcf7dc8985f5d3f7 | 8eeb99d0fdf8125f5d39a0ce8631653f588ee817 | /src/algebra/big_operators/basic.lean | 1fceb848ced9b721e412b8f5a40d5b111818fe54 | [
"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 | 47,954 | 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
-/
import data.finset.fold
import data.equiv.mul_add
import tactic.abel
/-!
# Big operators
In this file we define products and sums indexed by finite sets (specifica... |
91493b69846c33b37f5539f6d51a50efa6b6ba26 | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/algebra/category/Algebra/basic.lean | cf3bd9a3b5b7a52f2e19d91bee937b47ff2bf73f | [
"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 | 5,699 | lean | /-
Copyright (c) 2020 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison
-/
import algebra.algebra.basic
import algebra.algebra.subalgebra
import algebra.free_algebra
import algebra.category.CommRing.basic
import algebra.category.Module.basic... |
faee81cef2904d6c91e3933aa4fe595b787dcff4 | 6fca17f8d5025f89be1b2d9d15c9e0c4b4900cbf | /src/game/world9/level4.lean | c0c326224e6b1631bf2c7d84e819e0aee5768d2a | [
"Apache-2.0"
] | permissive | arolihas/natural_number_game | 4f0c93feefec93b8824b2b96adff8b702b8b43ce | 8e4f7b4b42888a3b77429f90cce16292bd288138 | refs/heads/master | 1,621,872,426,808 | 1,586,270,467,000 | 1,586,270,467,000 | 253,648,466 | 0 | 0 | null | 1,586,219,694,000 | 1,586,219,694,000 | null | UTF-8 | Lean | false | false | 1,115 | lean | import game.world9.level3 -- hide
namespace mynat -- hide
/-
# Advanced Multiplication World
## Level 4: `mul_left_cancel`
This is the last of the bonus multiplication levels.
`mul_left_cancel` will be useful in inequality world.
It might be worth noting that `revert` is the opposite of `intro`.
`revert b` can be a... |
a60a42628c38196b43b53fe162ab387dd70215a6 | ee8cdbabf07f77e7be63a449b8483ce308d37218 | /lean/src/test/algebra-amgm-sumasqdivbgeqsuma.lean | edb9d0075177448691c2bef13cfcebfc73fcdb61 | [
"MIT",
"Apache-2.0"
] | permissive | zeta1999/miniF2F | 6d66c75d1c18152e224d07d5eed57624f731d4b7 | c1ba9629559c5273c92ec226894baa0c1ce27861 | refs/heads/main | 1,681,897,460,642 | 1,620,646,361,000 | 1,620,646,361,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 324 | lean | /-
Copyright (c) 2021 OpenAI. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kunhao Zheng
-/
import data.real.basic
example (a b c d : ℝ) (h₀ : 0 < a ∧ 0 < b ∧ 0 < c ∧ 0 < d) : a ^ 2 / b + b ^ 2 / c + c ^ 2 / d + d ^ 2 / a ≥ a + b + c + d :=
begin
sorry
end
|
0e93b1e30e8c3aa42effe1a9e22fc29406a14101 | 63abd62053d479eae5abf4951554e1064a4c45b4 | /src/geometry/manifold/algebra/monoid.lean | 9ba4f1e7f1ec0c2c7bee79db6dff87d04cc48b5d | [
"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 | 8,136 | lean | /-
Copyright © 2020 Nicolò Cavalleri. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Nicolò Cavalleri
-/
import geometry.manifold.times_cont_mdiff
variables {α : Type*} [add_comm_group α]
/-!
# Smooth monoid
A smooth monoid is a monoid that is also a smooth manifold... |
82d0ff85d31f0ac5518ec98123801a15fa31d7a3 | d7189ea2ef694124821b033e533f18905b5e87ef | /galois/vector/lemmas.lean | 6f493cffbbf5d1f4910c438df0b2a28cda963909 | [
"Apache-2.0"
] | permissive | digama0/lean-protocol-support | eaa7e6f8b8e0d5bbfff1f7f52bfb79a3b11b0f59 | cabfa3abedbdd6fdca6e2da6fbbf91a13ed48dda | refs/heads/master | 1,625,421,450,627 | 1,506,035,462,000 | 1,506,035,462,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 2,749 | lean | import galois.tactic
galois.fin
data.vector
universes u
structure vector_ind_succ {A : Type u} {n : ℕ} (xs : vector A n.succ)
: Type u :=
(head : A)
(tail : vector A n)
(equiv : xs = head :: tail)
namespace vector
def generate {A : Type _} : ∀ (n : ℕ) (f : ℕ → A),
vector A n
| 0 _ := nil
| (... |
f438a649865b6a64de1d1f702b441ab70189a9e0 | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/topology/urysohns_lemma.lean | 5bff9c5a46492bee559237ed1c299ced98da0e7e | [
"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 | 12,641 | lean | /-
Copyright (c) 2021 Yury G. Kudryashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yury G. Kudryashov
-/
import analysis.normed_space.add_torsor
import linear_algebra.affine_space.ordered
/-!
# Urysohn's lemma
In this file we prove Urysohn's lemma `exists_conti... |
3bb22a9a997fc7ebed45e8cab6861a46c7b1ad76 | 9a0b1b3a653ea926b03d1495fef64da1d14b3174 | /tidy/lib/pretty_print.lean | 7584ccc18d76bbf59065541265cfc7d5acfd543a | [
"Apache-2.0"
] | permissive | khoek/mathlib-tidy | 8623b27b4e04e7d598164e7eaf248610d58f768b | 866afa6ab597c47f1b72e8fe2b82b97fff5b980f | refs/heads/master | 1,585,598,975,772 | 1,538,659,544,000 | 1,538,659,544,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 4,355 | lean | import .options
import .string
open tactic
meta def pretty_print (e : expr) (implicits : bool := ff) (full_cnsts := ff) : tactic string :=
do options ← get_options,
set_options $ options.set_list [
(`pp.notation, true),
(`pp.universes, false),
(`pp.implicit, implicits),
(`pp.structure_instances... |
e637e972be71720f1fc0ba040d28bcb3d3fb4b0f | 63abd62053d479eae5abf4951554e1064a4c45b4 | /src/ring_theory/fintype.lean | 56e93236bdc14ddd6dc528515fc2468b5aafe889 | [
"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 | 475 | lean | /-
Copyright (c) 2020 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison
-/
import algebra.associated
import data.fintype.basic
/-!
# Some facts about finite rings
-/
open_locale classical
lemma card_units_lt (R : Type*) [semiring R] [nont... |
341acac31f7a659b76eebdbd1db1e4c52d03a624 | d7189ea2ef694124821b033e533f18905b5e87ef | /galois/arith/dense_linear_lemmas.lean | b3d507055497066b5d458ae3452974eeb066b2b9 | [
"Apache-2.0"
] | permissive | digama0/lean-protocol-support | eaa7e6f8b8e0d5bbfff1f7f52bfb79a3b11b0f59 | cabfa3abedbdd6fdca6e2da6fbbf91a13ed48dda | refs/heads/master | 1,625,421,450,627 | 1,506,035,462,000 | 1,506,035,462,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 3,441 | lean | -- Mostly lemmas about arithmetic?
import data.rat
lemma add_neg_le_r {A} [linear_ordered_comm_ring A] (x y : A)
: x + y ≥ 0 ↔ x ≥ - y
:= begin
dsimp [ge],
split; intros H,
{ apply (@le_of_add_le_add_left _ _ y),
rw add_comm y,
rw neg_add_self, rw add_comm, assumption, },
{ apply @le_of_add_le_add_left _ _ (-y),... |
d67a6dc411ede2cf6cb512c8106fbf31ad8272cb | 4727251e0cd73359b15b664c3170e5d754078599 | /src/data/bitvec/basic.lean | d3e65633c634c58989a628582e7900409487b3c6 | [
"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,685 | 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.bitvec.core
import data.fin.basic
import tactic.norm_num
import tactic.monotonicity
namespace bitvec
instance (n : ℕ) : preorder (bitvec n) :=
preorder.lift b... |
06a4b1336ebe3b41c3de6a715bdce4d8b6599a6d | 491068d2ad28831e7dade8d6dff871c3e49d9431 | /hott/init/pathover.hlean | 1459145bcc1b5fc53006bbc271c1295bc1aa0825 | [
"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 | 11,620 | hlean | /-
Copyright (c) 2015 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Floris van Doorn
Basic theorems about pathovers
-/
prelude
import .path .equiv
open equiv is_equiv equiv.ops function
variables {A A' : Type} {B B' : A → Type} {B'' : A' → Type} {... |
9bd384a83936ad8873e84b740bbc7f12606b190c | 097294e9b80f0d9893ac160b9c7219aa135b51b9 | /instructor/exam_review_1_notes.lean | 7569f2ae17117db8d8ded91f0ff6f285b110abe7 | [] | no_license | AbigailCastro17/CS2102-Discrete-Math | cf296251be9418ce90206f5e66bde9163e21abf9 | d741e4d2d6a9b2e0c8380e51706218b8f608cee4 | refs/heads/main | 1,682,891,087,358 | 1,621,401,341,000 | 1,621,401,341,000 | 368,749,959 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 580 | lean | axiom Person : Type
axioms (Nice: Person → Prop) (Old : Person → Prop)
example : (∃ (p : Person), Nice p ∨ Old p) →
(∃ (p : Person), Nice p) ∨
(∃ (p : Person), Old p) :=
λ pno,
match pno with
| exists.intro fred pf_fred_either_nice_or_old :=
match pf_fred_either_nice_or_o... |
4f31a741bd977c4950cbe41bc265f4d1d3bbf064 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/topology/category/Top/limits/cofiltered.lean | 549bfcbcc81a3b0bcf4635c77761cceabda937b3 | [
"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 | 4,591 | 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.limits.basic
/-!
# Cofiltered limits in Top.
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> ... |
997b04c02cb3ad26519dc344d1e8229bb9f8b35f | 94e33a31faa76775069b071adea97e86e218a8ee | /src/category_theory/preadditive/injective.lean | b372965837c21101eed71191a5b7a907a5c505a6 | [
"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 | 8,343 | lean | /-
Copyright (c) 2022 Jujian Zhang. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jujian Zhang, Kevin Buzzard
-/
import algebra.homology.exact
import category_theory.types
import category_theory.preadditive.projective
import category_theory.limits.shapes.biproducts
... |
c7dfff95a856adb44ef9fbb120747e4d92e180fe | 75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2 | /library/logic/examples/propositional/soundness_type.lean | dc74502cd566718d91da050e96b09b38e51ea225 | [
"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 | 7,137 | lean | /-
Copyright (c) 2015 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
Define propositional calculus, valuation, provability, validity, prove soundness.
This file is based on Floris van Doorn Coq files.
Similar to soundness.lea... |
be585cd15ede81196e53f3db2294d3cff31b8ba8 | c31182a012eec69da0a1f6c05f42b0f0717d212d | /src/normed_group/controlled_exactness.lean | 36a1832bcdba23c0163cfa2b91b5c27c5e3ba4d1 | [] | no_license | Ja1941/lean-liquid | fbec3ffc7fc67df1b5ca95b7ee225685ab9ffbdc | 8e80ed0cbdf5145d6814e833a674eaf05a1495c1 | refs/heads/master | 1,689,437,983,362 | 1,628,362,719,000 | 1,628,362,719,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,609 | lean | import for_mathlib.normed_group_hom_completion
import for_mathlib.normed_group_hom
/-!
# A controlled exactness lemma for seminormed groups
This file contains a proof of Proposition 8.17 of `analytic.pdf`,
a technical lemma which controls, in some cases, the norm of the map
induced on completions by a normed group h... |
1574570721830b506abf253b8e983b0b2f15a0dd | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/1870.lean | 036fb2bccf09f11ce87ba0aa42dfb1f1f0ce408a | [
"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 | 138 | lean | structure T := (x y : nat)
example : T := by refine { x := 1, y := _}
example : T := by refine { x := 1, ..}
example : T := { x := 1, ..}
|
ae56e708935a81b0e6c0e0b75e8607b675d84ffb | a4673261e60b025e2c8c825dfa4ab9108246c32e | /stage0/src/Lean/Meta/InferType.lean | b7a0e8a3889b6a24da97d3db6fd5e7951f449c37 | [
"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 | 14,789 | 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.LBool
import Lean.Meta.Basic
namespace Lean.Meta
def throwFunctionExpected {α} (f : Expr) : MetaM α :=
throwError! "function expected{i... |
49624b573ee216eb5e66a3dfcb0586b3ae0b71c7 | 07f5f86b00fed90a419ccda4298d8b795a68f657 | /library/init/algebra/ring.lean | 3719af8ffa8f925a59bcff38708746638db62a4a | [
"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 | 12,582 | lean | /-
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad, Leonardo de Moura
-/
prelude
import init.algebra.group
/- Make sure instances defined in this file have lower priority than the ones
defined for concrete stru... |
46d0d91a294db6d0e9eacf715f0ada52b4b38657 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/number_theory/class_number/finite.lean | 8406e7cdc4ba9d8a54ecd624dcc66419e94c93b3 | [
"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 | 17,586 | lean | /-
Copyright (c) 2021 Anne Baanen. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Anne Baanen
-/
import analysis.special_functions.pow
import linear_algebra.free_module.pid
import linear_algebra.matrix.absolute_value
import number_theory.class_number.admissible_absolu... |
5ed33eede7a57e73f76a438aff0ecc05623c4c02 | a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940 | /tests/lean/run/match1.lean | 3e56661be7e156ec4f2527cd04f094f343d0a94e | [
"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 | 4,832 | lean | import Lean
def checkWithMkMatcherInput (matcher : Lean.Name) : Lean.MetaM Unit :=
Lean.Meta.Match.withMkMatcherInput matcher fun input => do
let res ← Lean.Meta.Match.mkMatcher input
let origMatcher ← Lean.getConstInfo matcher
if not <| input.matcherName == matcher then
throwError "matcher name not recons... |
a75daad874d5b0fb051530a9ba6d1019c9eb452e | 71c05f289da9a856f1d16197a32b6a874eb1052e | /hlean/rats_basic.hlean | 160923bfaac12cb1f78055c44bcad9629d7076cf | [] | no_license | gbaz/works-in-progress | e7701b1c2f8d0cfb6bfb8d84fc4d21ffd9937521 | af7bacd7f68649106a3581c232548958aca79a08 | refs/heads/master | 1,661,485,946,844 | 1,659,018,408,000 | 1,659,018,408,000 | 32,045,948 | 14 | 1 | null | null | null | null | UTF-8 | Lean | false | false | 22,462 | hlean | /-
Copyright (c) 2014 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Jeremy Avigad
The rational numbers as a field generated by the integers, defined as the usual quotient.
-/
import types.int algebra.field hit.set_quotient hit.trunc int_order
open eq si... |
d00d82a64c2e6603b60d24d0211c819a2b951475 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/Lean3Lib/init/data/setoid.lean | e26b14d94f71741e75e00d2a40b34bb2e3798389 | [] | 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 | 749 | 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
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.logic
universes u l
namespace Mathlib
class setoid (α : Sort u)
where
r : α → α → Prop
iseqv... |
b395c78d32f41d819fe0f22555e97a8f5da8f859 | 4727251e0cd73359b15b664c3170e5d754078599 | /src/combinatorics/quiver/basic.lean | c0f0e947c10b3b6cd8e672c367708a80f6ecd53d | [
"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,117 | lean | /-
Copyright (c) 2021 David Wärn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: David Wärn, Scott Morrison
-/
import data.opposite
/-!
# Quivers
This module defines quivers. A quiver on a type `V` of vertices assigns to every
pair `a b : V` of vertices a type `a ⟶ b... |
d8512cfe1f633f82be456056b19eab2de195868c | 618003631150032a5676f229d13a079ac875ff77 | /src/measure_theory/set_integral.lean | a711b59c17a242ea071b2e56bc401b6b7ffd0708 | [
"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 | 14,974 | lean | /-
Copyright (c) 2020 Zhouhang Zhou. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Zhouhang Zhou
-/
import measure_theory.bochner_integration
import measure_theory.indicator_function
import measure_theory.lebesgue_measure
/-!
# Set integral
Integrate a function over... |
2dc0d1198df5b0d8a170dbf6e2c9115c214033a0 | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/rw_symm_mvar.lean | 19ec1bc2d313449d47e8ddebf5c82d0e1937e553 | [
"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 | 208 | lean | theorem nat.mul_div_left' (n : ℕ) {m : ℕ} (H : 0 < m) : n = n * m / m :=
by rwa nat.mul_div_left
example (x y : ℕ) (h : 0 < x) (h1 : y = 1) : y * x / x = 1:=
begin
rwa ← nat.mul_div_left' _ h,
end
|
92b93087e1106aeefb678a67448b362c9a24d55c | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/analysis/normed_space/pi_Lp.lean | 619e95bf202e72079ea12d649c97638692811299 | [
"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 | 33,552 | 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, Jireh Loreaux
-/
import analysis.mean_inequalities
import data.fintype.order
/-!
# `L^p` distance on finite products of metric spaces
Given finitely many metric ... |
b695f56cdbebd1961e279651af003b09917252ad | 05f637fa14ac28031cb1ea92086a0f4eb23ff2b1 | /tests/lean/implicit6.lean | 9776ad0f3ad12f5c4805aa9221e889c4cc02c4de | [
"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 | 225 | lean | import Int.
variable f {A : Type} : A -> A -> A
infixl 65 + : f
print true + false
print 10 + 20
print 10 + (- 20)
set_option pp::notation false
set_option pp::coercion true
print true + false
print 10 + 20
print 10 + (- 20)
|
ab66f990524a95fd730f859163993f91b2d14550 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/category_theory/products/basic.lean | 8fcb51d0ec5426853d9e5722058f93ef0798f1a9 | [
"Apache-2.0"
] | permissive | leanprover-community/mathlib | 56a2cadd17ac88caf4ece0a775932fa26327ba0e | 442a83d738cb208d3600056c489be16900ba701d | refs/heads/master | 1,693,584,102,358 | 1,693,471,902,000 | 1,693,471,902,000 | 97,922,418 | 1,595 | 352 | Apache-2.0 | 1,694,693,445,000 | 1,500,624,130,000 | Lean | UTF-8 | Lean | false | false | 10,762 | lean | /-
Copyright (c) 2017 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Stephen Morgan, Scott Morrison
-/
import category_theory.eq_to_hom
import category_theory.functor.const
import data.prod.basic
/-!
# Cartesian products of categories
> THIS FILE IS S... |
dfbe56454aec08ec50f59587219c8e0178389809 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/tactic/explode_widget.lean | 39b28157ca362c55055dbf98e3a5260548ec19fd | [
"Apache-2.0"
] | permissive | leanprover-community/mathlib | 56a2cadd17ac88caf4ece0a775932fa26327ba0e | 442a83d738cb208d3600056c489be16900ba701d | refs/heads/master | 1,693,584,102,358 | 1,693,471,902,000 | 1,693,471,902,000 | 97,922,418 | 1,595 | 352 | Apache-2.0 | 1,694,693,445,000 | 1,500,624,130,000 | Lean | UTF-8 | Lean | false | false | 10,201 | lean | /-
Copyright (c) 2020 Minchao Wu. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Minchao Wu
-/
import tactic.explode
import tactic.interactive_expr
/-!
# `#explode_widget` command
Render a widget that displays an `#explode` proof, providing more
interactivity such as... |
6ac0845bec37d3a36eb682b5f5c0f2e5b3a5b456 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/topology/nhds_set.lean | a4a7a1916354eacffcfeda6040ba18c9e34ea3f8 | [
"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,535 | lean | /-
Copyright (c) 2022 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Floris van Doorn, Patrick Massot
-/
import topology.basic
/-!
# Neighborhoods of a set
In this file we define the filter `𝓝ˢ s` or `nhds_set s` consisting of all neighborhoods of a... |
2ca9fb7f93853dbebf46639e4f2114b66f3d3a12 | d1bbf1801b3dcb214451d48214589f511061da63 | /src/linear_algebra/multilinear.lean | ef11ba6b438ead1c73d164b8969a54cb5fb6a3a5 | [
"Apache-2.0"
] | permissive | cheraghchi/mathlib | 5c366f8c4f8e66973b60c37881889da8390cab86 | f29d1c3038422168fbbdb2526abf7c0ff13e86db | refs/heads/master | 1,676,577,831,283 | 1,610,894,638,000 | 1,610,894,638,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 47,680 | 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 tactic.omega
import data.fintype.sort
/-!
# Multilinear maps
We define multilinear maps as map... |
41df777ef200d102e829a9eb64bb32033e83a33b | f3849be5d845a1cb97680f0bbbe03b85518312f0 | /library/init/algebra/group.lean | 112bc77b7e8615b31facbccf39692c05c15ab7fd | [
"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 | 15,825 | lean | /-
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad, Leonardo de Moura
-/
prelude
import init.logic init.algebra.classes init.meta init.meta.decl_cmds init.meta.smt.rsimp
/- Make sure instances defined in this file... |
dbf64ac0d7ded71811026ef7053aedbffdeb64f4 | 947fa6c38e48771ae886239b4edce6db6e18d0fb | /src/probability/hitting_time.lean | 6e148b94e46b7dcc661dc326495f16720ff5d1e6 | [
"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 | 11,118 | lean | /-
Copyright (c) 2022 Kexing Ying. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kexing Ying, Rémy Degenne
-/
import probability.stopping
/-!
# Hitting time
Given a stochastic process, the hitting time provides the first time the process ``hits'' some
subset of the ... |
c07b135ff1892b2f30f19a83b71df8d7ac94280c | b32d3853770e6eaf06817a1b8c52064baaed0ef1 | /src/super/inferences/inhabited.lean | acca3fdda4794d293681333f68b41d45f6a64555 | [] | no_license | gebner/super2 | 4d58b7477b6f7d945d5d866502982466db33ab0b | 9bc5256c31750021ab97d6b59b7387773e54b384 | refs/heads/master | 1,635,021,682,021 | 1,634,886,326,000 | 1,634,886,326,000 | 225,600,688 | 4 | 2 | null | 1,598,209,306,000 | 1,575,371,550,000 | Lean | UTF-8 | Lean | false | false | 1,078 | lean | import super.prover_state super.resolve
namespace super
open tactic
meta def synth_via_type_class : expr → tactic (option expr)
| `(%%_ = %%_) := pure none
| ty := do
(do inst ← mk_instance ty, pure inst) <|>
(do inh ← mk_mapp ``default [ty, none], pure inh) <|>
(do nonempty_ty ← mk_mapp ``nonempty [ty],
... |
42e10570815cb1c53f3353a18c87f16f6c7cf515 | ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5 | /stage0/src/Init/Data/List/Basic.lean | 9e3fee7df08c2e99538f672c95ca92d69f94550f | [
"Apache-2.0"
] | permissive | dupuisf/lean4 | d082d13b01243e1de29ae680eefb476961221eef | 6a39c65bd28eb0e28c3870188f348c8914502718 | refs/heads/master | 1,676,948,755,391 | 1,610,665,114,000 | 1,610,665,114,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 11,859 | 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.Core
import Init.Data.Nat.Basic
open Decidable List
universes u v w
variables {α : Type u} {β : Type v} {γ : Type w}
namespace List
d... |
72e7f6a7c434d8c83e7a4d488fa9082ee7b05125 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /test/tidy.lean | 01989024f81706514d46d518b54c9ed72fb16f21 | [
"Apache-2.0"
] | permissive | leanprover-community/mathlib | 56a2cadd17ac88caf4ece0a775932fa26327ba0e | 442a83d738cb208d3600056c489be16900ba701d | refs/heads/master | 1,693,584,102,358 | 1,693,471,902,000 | 1,693,471,902,000 | 97,922,418 | 1,595 | 352 | Apache-2.0 | 1,694,693,445,000 | 1,500,624,130,000 | Lean | UTF-8 | Lean | false | false | 1,006 | lean | /-
Copyright (c) 2018 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison
-/
import tactic.tidy
open tactic
namespace tidy.test
meta def interactive_simp := `[simp]
def tidy_test_1 (a : string) : ∀ x : unit, x = unit.star :=
begin
tidy -... |
7e2a4a16d79d9cf5e46beff4d57098af5e91cb1a | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/data/list/pairwise.lean | dff9ed62046a6fa07fd5e719237efc7ae25703f5 | [
"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 | 17,849 | 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.list.count
import data.list.lex
import data.list.sublists
import data.set.pairwise
/-!
# Pairwise relations on a list
This file provides basic results a... |
c939ba8d1b829b4a5c73f192170e8e5252775b92 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/lean/inductionGen.lean | c20f580c662edc59cbd3d5517c7bab07dd79b5a2 | [
"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 | 1,976 | lean | inductive Vec (α : Type u) : Nat → Type u
| nil : Vec α 0
| cons : α → Vec α n → Vec α (n+1)
def Vec.map (xs : Vec α n) (f : α → β) : Vec β n :=
match xs with
| nil => nil
| cons a as => cons (f a) (map as f)
def Vec.map' (f : α → β) : Vec α n → Vec β n
| nil => nil
| cons a as => cons (f a... |
aeb409a80985bfeae1a8816fe37f2e24ac1e24a2 | 957a80ea22c5abb4f4670b250d55534d9db99108 | /library/init/native/format.lean | 3c5025589543f5c06c43a86921a953c26e16798c | [
"Apache-2.0"
] | permissive | GaloisInc/lean | aa1e64d604051e602fcf4610061314b9a37ab8cd | f1ec117a24459b59c6ff9e56a1d09d9e9e60a6c0 | refs/heads/master | 1,592,202,909,807 | 1,504,624,387,000 | 1,504,624,387,000 | 75,319,626 | 2 | 1 | Apache-2.0 | 1,539,290,164,000 | 1,480,616,104,000 | C++ | UTF-8 | Lean | false | false | 6,161 | lean | /-
Copyright (c) 2016 Jared Roesch. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jared Roesch
-/
prelude
import init.meta.name
import init.meta.format
import init.function
import init.native.ir
def intersperse {A : Type} (elem : A) : list A → list A
| [] := []
| (... |
54f7896d35c554487f858fa84d4c7186f4e2c743 | 57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d | /src/Lean/PrettyPrinter/Delaborator/Builtins.lean | 0d2f5e1c66b4496ecce84885b5c1997a3bc77e3f | [
"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 | 23,983 | lean | /-
Copyright (c) 2020 Sebastian Ullrich. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sebastian Ullrich
-/
import Lean.PrettyPrinter.Delaborator.Basic
import Lean.Parser
namespace Lean.PrettyPrinter.Delaborator
open Lean.Meta
open Lean.Parser.Term
@[builtinDelab f... |
f9e2efcc236669fcc98b9803a7c07a2bf6487a9d | 01ae0d022f2e2fefdaaa898938c1ac1fbce3b3ab | /categories/equivalence.lean | 88cdaa0c88c15ce8e6c47af3267bf00fbb164938 | [] | 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,534 | 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_isomorphism
open categories
open categories.isomorphism
open categories.functor
open categories.natural_transformati... |
b7596c008ccf86d2e1ceb2b2fbf76782509fb330 | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/topology/category/Profinite/cofiltered_limit.lean | 0f25b99f732ca1eff287cc83b7e7470446522324 | [
"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 | 9,439 | lean | /-
Copyright (c) 2021 Adam Topaz. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Adam Topaz
-/
import topology.category.Profinite
import topology.locally_constant.basic
import topology.discrete_quotient
/-!
# Cofiltered limits of profinite sets.
This file contains so... |
3823632f10a723aca0d2343ae49e252311d19f72 | cf39355caa609c0f33405126beee2739aa3cb77e | /library/smt/array.lean | d647c6d1dbbff212fb9ac36dad89082eb3e76eb3 | [
"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 | 937 | 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
-/
namespace smt
universes u v
def array (α : Type u) (β : Type v) := α → β
variables {α : Type u} {β : Type v}
open tactic
def select (a : array α β) (i : α)... |
b4d249225b9551e33c791bc9211e6d76508ae25e | 02005f45e00c7ecf2c8ca5db60251bd1e9c860b5 | /src/data/seq/wseq.lean | 1895390a4521e7312aea40f1a51ef7e5e810e0f4 | [
"Apache-2.0"
] | permissive | anthony2698/mathlib | 03cd69fe5c280b0916f6df2d07c614c8e1efe890 | 407615e05814e98b24b2ff322b14e8e3eb5e5d67 | refs/heads/master | 1,678,792,774,873 | 1,614,371,563,000 | 1,614,371,563,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 55,255 | lean | /-
Copyright (c) 2017 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Mario Carneiro
-/
import data.seq.seq
import data.dlist
universes u v w
/-
coinductive wseq (α : Type u) : Type u
| nil : wseq α
| cons : α → wseq α → wseq α
| think : wseq α → ... |
4121e2b470528b9e3d4f8e58e8750829c237e3d2 | 1abd1ed12aa68b375cdef28959f39531c6e95b84 | /src/order/succ_pred.lean | cfcf96a1f1fe979ae0646b005ceb4153b8c9e30f | [
"Apache-2.0"
] | permissive | jumpy4/mathlib | d3829e75173012833e9f15ac16e481e17596de0f | af36f1a35f279f0e5b3c2a77647c6bf2cfd51a13 | refs/heads/master | 1,693,508,842,818 | 1,636,203,271,000 | 1,636,203,271,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 27,286 | lean | /-
Copyright (c) 2021 Yaël Dillies. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yaël Dillies
-/
import order.bounded_lattice
import order.galois_connection
import order.iterate
import tactic.monotonicity
/-!
# Successor and predecessor
This file defines successor ... |
90d54b3bc4a86af791f01c610ab4cf6c3b9a6560 | 02005f45e00c7ecf2c8ca5db60251bd1e9c860b5 | /src/ring_theory/principal_ideal_domain.lean | e7b4771164f17e7d98f4fe2bf468be568c0db3f5 | [
"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 | 9,002 | lean | /-
Copyright (c) 2018 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Chris Hughes, Morenikeji Neri
-/
import ring_theory.noetherian
import ring_theory.unique_factorization_domain
/-!
# Principal ideal rings and principal ideal domains
A principal ideal ri... |
72b8776ba091bd2da0cca79deb03cfa52ea3a1bd | 624f6f2ae8b3b1adc5f8f67a365c51d5126be45a | /src/Init/Lean/Compiler/IR/Checker.lean | ac0f2d6f94d881cea5bab0190d43cb802048d30d | [
"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 | 6,634 | 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
-/
prelude
import Init.Lean.Compiler.IR.CompilerM
import Init.Lean.Compiler.IR.Format
namespace Lean
namespace IR
namespace Checker
structure CheckerContext... |
e59bada8b4bc42e193b9fa3f547cce51cdfba221 | 94e33a31faa76775069b071adea97e86e218a8ee | /src/algebra/group/with_one.lean | 36947cb26c47c6e23ebdb7c9b807a949416c3ee8 | [
"Apache-2.0"
] | permissive | urkud/mathlib | eab80095e1b9f1513bfb7f25b4fa82fa4fd02989 | 6379d39e6b5b279df9715f8011369a301b634e41 | refs/heads/master | 1,658,425,342,662 | 1,658,078,703,000 | 1,658,078,703,000 | 186,910,338 | 0 | 0 | Apache-2.0 | 1,568,512,083,000 | 1,557,958,709,000 | Lean | UTF-8 | Lean | false | false | 14,833 | lean | /-
Copyright (c) 2018 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro, Johan Commelin
-/
import algebra.hom.equiv
import algebra.ring.basic
import logic.equiv.basic
import logic.equiv.option
/-!
# Adjoining a zero/one to semigroups and re... |
2b1b5021a05578a304184d4f37edc84b1ccf1bbc | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/data/set/intervals/surj_on_auto.lean | e29ce4c599545a1d3237d329252a2d5ab81da297 | [] | no_license | AurelienSaue/Mathlib4_auto | f538cfd0980f65a6361eadea39e6fc639e9dae14 | 590df64109b08190abe22358fabc3eae000943f2 | refs/heads/master | 1,683,906,849,776 | 1,622,564,669,000 | 1,622,564,669,000 | 371,723,747 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 3,017 | lean | /-
Copyright (c) 2020 Heather Macbeth. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Heather Macbeth
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.data.set.intervals.basic
import Mathlib.data.set.function
import Mathlib.PostPort
univers... |
8e61f10b2e2d6c2e70c698e1220457fdd4c1a2d2 | cb1829c15cd3d28210f93507f96dfb1f56ec0128 | /theorem_proving/03-propositions_and_proofs.lean | 1b324553fec22695bb08aa82af8a41f2281d195c | [] | no_license | williamdemeo/LEAN_wjd | 69f9f76e35092b89e4479a320be2fa3c18aed6fe | 13826c75c06ef435166a26a72e76fe984c15bad7 | refs/heads/master | 1,609,516,630,137 | 1,518,123,893,000 | 1,518,123,893,000 | 97,740,278 | 2 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 29,085 | lean | -- Chapter 3. Propositions and Proofs
/- This chapter explains how to write mathematical assertions and proofs in the language
of dependent type theory. -/
#print "=================================="
#print "Section 3.1 Propositions as Types"
#print " "
namespace Sec_3_1
/- We introduce a new type, `Prop`, to repr... |
49e6c7c89f790d426f3f45675fe3daa29307d840 | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/order/hom/basic.lean | e6bf7d8041f389550be512deddf54a073ae0d800 | [
"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 | 30,599 | 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 order.rel_iso
import tactic.monotonicity.basic
/-!
# Order homomorphisms
This file defines order homomorphisms, which are bundled monotone functions. A preor... |
6018083e8491216bc3cad3cbdd06dc3cdfb8eb40 | f5f7e6fae601a5fe3cac7cc3ed353ed781d62419 | /src/measure_theory/measure_space.lean | 28f0be2ffce79747935034eaa42c8b6d73eef8d4 | [
"Apache-2.0"
] | permissive | EdAyers/mathlib | 9ecfb2f14bd6caad748b64c9c131befbff0fb4e0 | ca5d4c1f16f9c451cf7170b10105d0051db79e1b | refs/heads/master | 1,626,189,395,845 | 1,555,284,396,000 | 1,555,284,396,000 | 144,004,030 | 0 | 0 | Apache-2.0 | 1,533,727,664,000 | 1,533,727,663,000 | null | UTF-8 | Lean | false | false | 34,933 | 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
Measure spaces -- measures
Measures are restricted to a measurable space (associated by the type class `measurable_space`).
This allows us to prove equ... |
a9d2897acdf53c26278592ee76bdd079d765dde4 | 367134ba5a65885e863bdc4507601606690974c1 | /src/data/string/basic.lean | 0869db5f3bdbbc3c0c3138d6f6c0ab731acab6c3 | [
"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,842 | lean | /-
Copyright (c) 2018 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Mario Carneiro
Supplementary theorems about the `string` type.
-/
import data.list.basic
import data.char
namespace string
def ltb : iterator → iterator → bool
| s₁ s₂ := begin
cas... |
4fee4a583430839fefd96e66af20b664ad508a67 | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/number_theory/function_field.lean | 2bf0e2aed189c03520ed70332551363c55d969d4 | [
"Apache-2.0"
] | permissive | AntoineChambert-Loir/mathlib | 64aabb896129885f12296a799818061bc90da1ff | 07be904260ab6e36a5769680b6012f03a4727134 | refs/heads/master | 1,693,187,631,771 | 1,636,719,886,000 | 1,636,719,886,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 4,271 | lean | /-
Copyright (c) 2021 Anne Baanen. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Anne Baanen, Ashvni Narayanan
-/
import ring_theory.algebraic
import ring_theory.localization
import ring_theory.integrally_closed
/-!
# Function fields
This file defines a function fie... |
005163f1808e2415f5055f37df75a63002a66824 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/linear_algebra/lagrange_auto.lean | 9a188c05af88b9f1b63ee1104a4b93d096a298a3 | [] | 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,511 | lean | /-
Copyright (c) 2020 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Kenny Lau.
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.ring_theory.polynomial.default
import Mathlib.algebra.big_operators.basic
import Mathlib.PostPort
un... |
9f75038544e1b44e93325646654010405705349d | 618003631150032a5676f229d13a079ac875ff77 | /test/library_search/ring_theory.lean | d483d917ee0fe179a576a6a7b928009fbf8c239d | [
"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 | 733 | lean | /-
Copyright (c) 2018 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison
-/
import ring_theory.principal_ideal_domain
import ring_theory.polynomial
/- Turn off trace messages so they don't pollute the test build: -/
set_option trace.silence_... |
681d3ae2ed92f6a48ce90e10e4c5622d5a977152 | 5d166a16ae129621cb54ca9dde86c275d7d2b483 | /library/init/algebra/group.lean | ac721cb982f2ed6caeba488d12d25d3eef8dfe92 | [
"Apache-2.0"
] | permissive | jcarlson23/lean | b00098763291397e0ac76b37a2dd96bc013bd247 | 8de88701247f54d325edd46c0eed57aeacb64baf | refs/heads/master | 1,611,571,813,719 | 1,497,020,963,000 | 1,497,021,515,000 | 93,882,536 | 1 | 0 | null | 1,497,029,896,000 | 1,497,029,896,000 | null | UTF-8 | Lean | false | false | 16,111 | lean | /-
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad, Leonardo de Moura
-/
prelude
import init.logic init.algebra.classes init.meta init.meta.decl_cmds init.meta.smt.rsimp
/- Make sure instances defined in this file... |
3893f3f6c71dcdbbfe0bcd534c409764645cc8a2 | bdd56e6eb0f467437e368d613de75299495d4054 | /src/group_theory/sporadic_group.lean | 9816c97d1a50ed77f4174e0ec86b3d3d41d5e8fe | [] | no_license | truong111000/formalabstracts | 49a04c268ccee136e48e24e9d5dcb6fedea4b53e | 93a89a5c05c6fbc23eb9b914b60dcc353e609cd2 | refs/heads/master | 1,589,551,767,824 | 1,555,708,723,000 | 1,555,708,723,000 | 182,326,292 | 0 | 0 | null | 1,555,708,332,000 | 1,555,708,331,000 | null | UTF-8 | Lean | false | false | 14,667 | lean | import .basic .monster .presentation .suzuki .higman_sims .mclaughlin .conway_groups .mathieu_group
-- import tactic.metadata
noncomputable theory
open monster suzuki higman_sims mclaughlin conway_groups mathieu_group is_monoid_action coxeter_vertices
open category_theory (mk_ob)
local infix ` ≅ `:60 := isomorphic
loc... |
f5521506cfdceff013094f2e701fd4ad465e10c7 | 957a80ea22c5abb4f4670b250d55534d9db99108 | /library/init/native/internal.lean | e25649b8c7a3d3a894afd8d09c175132db20a0ca | [
"Apache-2.0"
] | permissive | GaloisInc/lean | aa1e64d604051e602fcf4610061314b9a37ab8cd | f1ec117a24459b59c6ff9e56a1d09d9e9e60a6c0 | refs/heads/master | 1,592,202,909,807 | 1,504,624,387,000 | 1,504,624,387,000 | 75,319,626 | 2 | 1 | Apache-2.0 | 1,539,290,164,000 | 1,480,616,104,000 | C++ | UTF-8 | Lean | false | false | 538 | lean | /-
Copyright (c) 2016 Jared Roesch. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jared Roesch
-/
prelude
import init.meta.expr
import init.meta.format
-- builtin stuff
meta constant native.is_internal_cnstr : expr → option unsigned
meta constant native.is_internal_... |
eeb601692690334d0fd4670c2381f0c9c499e684 | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/data/polynomial/div.lean | 457af91652db454a4d9381a353c5b7243d73a53d | [
"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 | 21,700 | 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.monic
import ring_theory.multiplicity
/-!
# Division of univariate polynomials
The main defs are ... |
bf28fd2276e5378732c72eca87da04796c676fb2 | 57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d | /src/Lean/Elab/StructInst.lean | 77c3c110683c365558ac629d2dc49493f4e2ded3 | [
"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 | 34,338 | 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.FindExpr
import Lean.Parser.Term
import Lean.Elab.App
import Lean.Elab.Binders
namespace Lean.Elab.Term.StructInst
open Std (HashMap)
ope... |
b6cf547bc05f0e151398e1d0bce7f7a29de4c6ba | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/meta/expr_lens.lean | 95f2a1d20ac438ec70905013d9c8181a927eaaf1 | [
"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,733 | lean | /-
Copyright (c) 2020 Keeley Hoek. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johan Commelin, Keeley Hoek, Scott Morrison
-/
import data.list.defs
import tactic.derive_inhabited
/-!
# A lens for zooming into nested `expr` applications
A "lens" for looking into the... |
063d5b0575e3128f1481d5ea8a466d99b512c6e8 | 947b78d97130d56365ae2ec264df196ce769371a | /stage0/src/Lean/Util/CollectLevelParams.lean | e4882371b9e3d8673b945090e043c3ddcff8946a | [
"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 | 2,443 | 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.Expr
namespace Lean
namespace CollectLevelParams
structure State :=
(visitedLevel : LevelSet := {})
(visitedExpr : ExprSet := {})
(para... |
a39d191545788ef620e10ed087767af01b18b041 | 367134ba5a65885e863bdc4507601606690974c1 | /src/analysis/normed_space/bounded_linear_maps.lean | 691592b93dbabe7df8c8ace8c38f266c07bf0960 | [
"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 | 20,290 | 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
Continuous linear functions -- functions between normed vector spaces which are bounded and linear.
-/
import analysis.normed_space.multilinear
noncomp... |
0f9dab07d9c79556b1ebef220c2c18bbca4e802d | 7565ffb53cc64430691ce89265da0f944ee43051 | /hott/homotopy/EM.hlean | 43dfa982a07abf85417c4f1df54db38e8641b438 | [
"Apache-2.0"
] | permissive | EgbertRijke/lean2 | cacddba3d150f8b38688e044960a208bf851f90e | 519dcee739fbca5a4ab77d66db7652097b4604cd | refs/heads/master | 1,606,936,954,854 | 1,498,836,083,000 | 1,498,910,882,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 18,505 | hlean | /-
Copyright (c) 2016 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Floris van Doorn
Eilenberg MacLane spaces
-/
import hit.groupoid_quotient homotopy.hopf homotopy.freudenthal homotopy.homotopy_group
open algebra pointed nat eq category group is_... |
20da6c22bd18d3ab02211f93cabc573f559c5a1d | 94e33a31faa76775069b071adea97e86e218a8ee | /src/topology/vector_bundle/pullback.lean | 9a2ca6ee1906b3cc5afe8e10ef44b09170499113 | [
"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 | 6,676 | lean | /-
Copyright © 2022 Nicolò Cavalleri. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Nicolò Cavalleri, Sebastien Gouezel, Heather Macbeth, Floris van Doorn
-/
import topology.vector_bundle.basic
/-!
# Pullbacks of topological vector bundles
We construct the pullback... |
5e42b3844d310c8b195a84467a5f4e8d5592b873 | 8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3 | /src/field_theory/galois.lean | 06432892a5e0763d563f5ff296b8d1800c0d23c3 | [
"Apache-2.0"
] | permissive | troyjlee/mathlib | e18d4b8026e32062ab9e89bc3b003a5d1cfec3f5 | 45e7eb8447555247246e3fe91c87066506c14875 | refs/heads/master | 1,689,248,035,046 | 1,629,470,528,000 | 1,629,470,528,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 18,856 | lean | /-
Copyright (c) 2020 Thomas Browning, Patrick Lutz. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Thomas Browning, Patrick Lutz
-/
import field_theory.normal
import field_theory.primitive_element
import field_theory.fixed
import ring_theory.power_basis
/-!
# Galois... |
712a1e9b1af7e68ffae8109cae66f78d93e643a5 | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/field_theory/is_alg_closed/basic.lean | 5f7495206061a38600aaa00e202df3084b7dd427 | [
"Apache-2.0"
] | permissive | jcommelin/mathlib | d8456447c36c176e14d96d9e76f39841f69d2d9b | ee8279351a2e434c2852345c51b728d22af5a156 | refs/heads/master | 1,664,782,136,488 | 1,663,638,983,000 | 1,663,638,983,000 | 132,563,656 | 0 | 0 | Apache-2.0 | 1,663,599,929,000 | 1,525,760,539,000 | Lean | UTF-8 | Lean | false | false | 19,405 | 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 field_theory.splitting_field
import field_theory.perfect_closure
import field_theory.separable
/-!
# Algebraically Closed Field
In this file we define the typeclass f... |
641e2ea2615ec29d32d36302902d39fefde7b7df | 32c054a763e4aa96bcb6e8bc87775e0f403a1804 | /src/spec/spec.lean | 5a39e0057239a5036895b9b200ebeb7c721a4380 | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | Claudiusgonzo/AliveInLean | 7fac3f82722c27acc5551260ea12a36519f6e24e | a21bfb90dee0c6c6e00a955b6de92c631198c5ba | refs/heads/master | 1,635,381,727,801 | 1,555,783,536,000 | 1,555,783,536,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 12,653 | lean | -- Copyright (c) Microsoft Corporation. All rights reserved.
-- Licensed under the MIT license.
import ..smtexpr
import ..bitvector
import ..irsem
import ..irsem_exec
import ..irsem_smt
import ..freevar
import ..verifyopt
import .lemmas_basic
import smt2.syntax
import smt2.solvers.z3
import system.io
namespace spec
... |
c8ac33c7e7f44cb35d6751e9bb1e33655d987215 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/ring_theory/bezout.lean | 7b2c4d6f9fdc11c6aea8aac17d11495ba84cdf44 | [
"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,711 | lean | /-
Copyright (c) 2022 Andrew Yang. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Andrew Yang
-/
import ring_theory.principal_ideal_domain
import algebra.gcd_monoid.integrally_closed
/-!
# Bézout rings
A Bézout ring (Bezout ring) is a ring whose finitely generated ... |
e978793487b7c7f5ad5d9d3bba4df688f5e6f852 | 957a80ea22c5abb4f4670b250d55534d9db99108 | /library/init/data/list/instances.lean | 06e1f454cc03e19dc85e53d9e75aff77466f5ea4 | [
"Apache-2.0"
] | permissive | GaloisInc/lean | aa1e64d604051e602fcf4610061314b9a37ab8cd | f1ec117a24459b59c6ff9e56a1d09d9e9e60a6c0 | refs/heads/master | 1,592,202,909,807 | 1,504,624,387,000 | 1,504,624,387,000 | 75,319,626 | 2 | 1 | Apache-2.0 | 1,539,290,164,000 | 1,480,616,104,000 | C++ | UTF-8 | Lean | false | false | 1,484 | 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.lemmas
import init.meta.mk_dec_eq_instance
open list
universes u v
local attribute [simp] join ret
instance : monad list :=
... |
4d96f8011e9c78e2e2cbbcf3e1118c0779ac16af | c31182a012eec69da0a1f6c05f42b0f0717d212d | /src/pseudo_normed_group/system_of_complexes.lean | 81f192d6cbf5e425a70dfa976a793ac41f36fe08 | [] | no_license | Ja1941/lean-liquid | fbec3ffc7fc67df1b5ca95b7ee225685ab9ffbdc | 8e80ed0cbdf5145d6814e833a674eaf05a1495c1 | refs/heads/master | 1,689,437,983,362 | 1,628,362,719,000 | 1,628,362,719,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 9,810 | lean | import system_of_complexes.basic
import pseudo_normed_group.Tinv
import pseudo_normed_group.category
/-!
# The system of complexes in Theorem 9.4 of `analytic.pdf`
Theorem 9.4 is about a system of complexes built from Breen-Deligne data,
a seminormed group `V` with `T⁻¹` (scaling by `r`) and a (certain explicit) pro... |
ea9778f74dbf2704571d8546ab9fdcb3584b9bc1 | 2fbe653e4bc441efde5e5d250566e65538709888 | /src/group_theory/submonoid.lean | e9fa5895ea4c95ea2e317080ddee286b0305a78e | [
"Apache-2.0"
] | permissive | aceg00/mathlib | 5e15e79a8af87ff7eb8c17e2629c442ef24e746b | 8786ea6d6d46d6969ac9a869eb818bf100802882 | refs/heads/master | 1,649,202,698,930 | 1,580,924,783,000 | 1,580,924,783,000 | 149,197,272 | 0 | 0 | Apache-2.0 | 1,537,224,208,000 | 1,537,224,207,000 | null | UTF-8 | Lean | false | false | 42,823 | 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, Kenny Lau, Johan Commelin, Mario Carneiro, Kevin Buzzard, Amelia Livingston
-/
import algebra.big_operators
import data.finset
import tactic.subtype_instance
import da... |
0602410eb2c5e7c02da90df02a5166b5002cee47 | 9dd3f3912f7321eb58ee9aa8f21778ad6221f87c | /tests/lean/run/meta_expr1.lean | e2e7ca813cb44dae184001e9ccd19e3fe03b8868 | [
"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 | 1,814 | lean | open unsigned list
meta definition e1 := expr.app (expr.app (expr.const `f []) (expr.mk_var 1)) (expr.const `a [])
meta definition e1' := expr.app (expr.app (expr.const `f []) (expr.mk_var 1)) (expr.const `a [])
meta definition tst : e1 = e1' :=
rfl
vm_eval e1
vm_eval expr.fold e1 (0:nat) (λ e d n, n+1)
meta defi... |
771f6b32491f04dc9565cb249c5f5f16039bee3b | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/run/1893.lean | 3ebffdaaa13344c1b15bfa33c729ea09069bb0a8 | [
"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 | 623 | lean | open tactic
set_option pp.all true
example (F : nat → Π (n : nat), (λ (u : nat), nat → nat) n) : true :=
by do
⟨t, p, _⟩ ← i_to_expr ```(F 0 0) >>= mk_specialized_congr_lemma,
trace t,
trace p,
type_check p,
constructor
example (F : nat → Π (n : nat), (nat.cases_on n nat (λ _, nat) : Type)) : true :=
by do... |
9f855bcb7c8e636384a8ce35409480a971e58da6 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/analysis/calculus/parametric_integral.lean | 0ba29b2f0fba42da5c8af59139c2f5ddda7af080 | [
"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 | 15,258 | lean | /-
Copyright (c) 2021 Patrick Massot. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Patrick Massot
-/
import measure_theory.integral.set_integral
import analysis.calculus.mean_value
/-!
# Derivatives of integrals depending on parameters
A parametric integral is a fu... |
22372da4024a4d88ac230a272a887fe58d335663 | 55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5 | /src/algebraic_geometry/prime_spectrum.lean | 94ea88dcbd5dd5ff3d60870d0a70f5bf179d7905 | [
"Apache-2.0"
] | permissive | dupuisf/mathlib | 62de4ec6544bf3b79086afd27b6529acfaf2c1bb | 8582b06b0a5d06c33ee07d0bdf7c646cae22cf36 | refs/heads/master | 1,669,494,854,016 | 1,595,692,409,000 | 1,595,692,409,000 | 272,046,630 | 0 | 0 | Apache-2.0 | 1,592,066,143,000 | 1,592,066,142,000 | null | UTF-8 | Lean | false | false | 13,029 | 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 topology.opens
import ring_theory.ideal_operations
import linear_algebra.finsupp
/-!
# Prime spectrum of a commutative ring
The prime spectrum of a commutati... |
37d538e69cb074e28a51f8850a49bb5bd48a3019 | 206422fb9edabf63def0ed2aa3f489150fb09ccb | /src/tactic/squeeze.lean | 89c468364b38156cc1fbd32a66186f43669ce09b | [
"Apache-2.0"
] | permissive | hamdysalah1/mathlib | b915f86b2503feeae268de369f1b16932321f097 | 95454452f6b3569bf967d35aab8d852b1ddf8017 | refs/heads/master | 1,677,154,116,545 | 1,611,797,994,000 | 1,611,797,994,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 14,616 | lean | /-
Copyright (c) 2019 Simon Hudon. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Simon Hudon
-/
import control.traversable.basic
import tactic.simpa
open interactive interactive.types lean.parser
private meta def loc.to_string_aux : option name → string
| none := "⊢"... |
c8c2e2af6766282f45b82e82c1957891640f5543 | 1abd1ed12aa68b375cdef28959f39531c6e95b84 | /src/algebra/module/submodule.lean | 263371a1c9bc9679f3b47d24e5bcf3f34c03ca65 | [
"Apache-2.0"
] | permissive | jumpy4/mathlib | d3829e75173012833e9f15ac16e481e17596de0f | af36f1a35f279f0e5b3c2a77647c6bf2cfd51a13 | refs/heads/master | 1,693,508,842,818 | 1,636,203,271,000 | 1,636,203,271,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 14,936 | lean | /-
Copyright (c) 2015 Nathaniel Thomas. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Nathaniel Thomas, Jeremy Avigad, Johannes Hölzl, Mario Carneiro
-/
import algebra.module.linear_map
import data.equiv.module
import group_theory.group_action.sub_mul_action
/-!
# Su... |
04777798ec07c9ee6673265d71a01324a3c404fe | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/algebra/ring_quot.lean | 026ee392e01c4ee9110020fabf500c4d05f2d279 | [
"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,999 | lean | /-
Copyright (c) 2020 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison
-/
import algebra.algebra.hom
import ring_theory.ideal.quotient
/-!
# Quotients of non-commutative rings
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> Any changes to th... |
cc450e0cd351d13e7bf3e3965839c369002edee4 | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/analysis/calculus/fderiv_measurable.lean | 1e0c1bf0ab6544a9076dd06ac5f9d6c526a639b4 | [
"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 | 21,902 | lean | /-
Copyright (c) 2020 Sébastien Gouëzel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sébastien Gouëzel, Yury Kudryashov
-/
import analysis.calculus.deriv
import measure_theory.constructions.borel_space
import tactic.ring_exp
/-!
# Derivative is measurable
In this ... |
7273b14bfd0a7d97d303a902997601769567e583 | bbecf0f1968d1fba4124103e4f6b55251d08e9c4 | /src/data/fintype/basic.lean | 00ef79e772d8a2ee211699dcb34ae21fa170846f | [
"Apache-2.0"
] | permissive | waynemunro/mathlib | e3fd4ff49f4cb43d4a8ded59d17be407bc5ee552 | 065a70810b5480d584033f7bbf8e0409480c2118 | refs/heads/master | 1,693,417,182,397 | 1,634,644,781,000 | 1,634,644,781,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 79,774 | 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.array.lemmas
import data.finset.pi
import data.finset.powerset
import data.finset.option
import data.sym.basic
import data.ulift
import group_theory.perm.... |
fb15dbb0219863e9414e1b696c6c21c418afe1b5 | 624f6f2ae8b3b1adc5f8f67a365c51d5126be45a | /tmp/eqns/matchVal.lean | 2bf3e853a3fde8d21f6a2337f61f402b429b2afd | [
"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,761 | lean | universes v
/-
matcher for the following patterns
```
| "hello" => _
| "world" => _
| a => _
``` -/
def matchString (C : String → Sort v) (s : String)
(h₁ : Unit → C "hello")
(h₂ : Unit → C "world")
(h₃ : ∀ s, C s)
: C s :=
if h : s = "hello" then
@Eq.rec _ _ (fun x _ => C x) (h₁ ()) _ h.symm
... |
a08025a3c5c8dc7f40c4188b25ee8f6e9f382ad7 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/ring_theory/adjoin/field.lean | 34c9f07d450db5b6f2ecbcbb3605002f01060103 | [
"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 | 3,744 | lean | /-
Copyright (c) 2018 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes
-/
import data.polynomial.splits
import ring_theory.adjoin.basic
import ring_theory.adjoin_root
/-!
# Adjoining elements to a field
Some lemmas on the ring generating by ... |
aa92cb634ff4ee33602d99983a145825f5f55697 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/field_theory/is_alg_closed/algebraic_closure.lean | 80769023bd040a16ae3922ff3e1cfedf91c50eb1 | [
"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,863 | lean | /-
Copyright (c) 2020 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau
-/
import algebra.direct_limit
import field_theory.is_alg_closed.basic
import field_theory.splitting_field
/-!
# Algebraic Closure
In this file we construct the algebraic closure... |
fa6349aec6b6b415c2d1c49f3227fe75ff9341a1 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/linear_algebra/affine_space/pointwise.lean | ac31440282c437c2d1271714e8f7e8ad88e79b24 | [
"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,331 | lean | /-
Copyright (c) 2022 Hanting Zhang. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Hanting Zhang
-/
import linear_algebra.affine_space.affine_subspace
/-! # Pointwise instances on `affine_subspace`s
This file provides the additive action `affine_subspace.pointwise_... |
ae61bbe5f97876c8201b298265630f0799e750cb | 07c6143268cfb72beccd1cc35735d424ebcb187b | /src/topology/metric_space/basic.lean | b80a7ab6a092dd7219266b2656515425634c3b80 | [
"Apache-2.0"
] | permissive | khoek/mathlib | bc49a842910af13a3c372748310e86467d1dc766 | aa55f8b50354b3e11ba64792dcb06cccb2d8ee28 | refs/heads/master | 1,588,232,063,837 | 1,587,304,803,000 | 1,587,304,803,000 | 176,688,517 | 0 | 0 | Apache-2.0 | 1,553,070,585,000 | 1,553,070,585,000 | null | UTF-8 | Lean | false | false | 70,208 | lean | /-
Copyright (c) 2015, 2017 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Metric spaces.
Authors: Jeremy Avigad, Robert Y. Lewis, Johannes Hölzl, Mario Carneiro, Sébastien Gouëzel
Many definitions and theorems expected on metric spaces are already introduced o... |
85b5763ae652e55eab069eb0681f3bc59f39f4a0 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/category_theory/limits/shapes/disjoint_coproduct.lean | 45f2cacb6233ff69a6bacb023777bbc0f3ea18af | [
"Apache-2.0"
] | permissive | alreadydone/mathlib | dc0be621c6c8208c581f5170a8216c5ba6721927 | c982179ec21091d3e102d8a5d9f5fe06c8fafb73 | refs/heads/master | 1,685,523,275,196 | 1,670,184,141,000 | 1,670,184,141,000 | 287,574,545 | 0 | 0 | Apache-2.0 | 1,670,290,714,000 | 1,597,421,623,000 | Lean | UTF-8 | Lean | false | false | 5,234 | lean | /-
Copyright (c) 2021 Bhavik Mehta. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Bhavik Mehta
-/
import category_theory.limits.shapes.binary_products
import category_theory.limits.shapes.pullbacks
/-!
# Disjoint coproducts
Defines disjoint coproducts: coproducts wh... |
9d7c2ef961a05e7b1d844f6641f1897990f84819 | d9d511f37a523cd7659d6f573f990e2a0af93c6f | /src/analysis/normed_space/linear_isometry.lean | 1d05865c571af64ec082db744f4a3dd608bfb2a7 | [
"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 | 14,974 | lean | /-
Copyright (c) 2021 Yury Kudryashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yury Kudryashov
-/
import analysis.normed_space.basic
import linear_algebra.finite_dimensional
/-!
# Linear isometries
In this file we define `linear_isometry R E F` (notation: `E →... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.