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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8b7355193640cf6a116997e206b7553e728c8b82 | 70f8755415fa7a17f87402cde4651e9f4db1b5bb | /src/mvqpf/default.lean | c9a03349be178395c672916eb4965c23491a3c08 | [
"Apache-2.0"
] | permissive | shingarov/qpf | ab935dc2298db12c87ac011a2e4d2c27e0bdef4b | debe2eacb8cf46b21aba2eaf3f2e20940da0263b | refs/heads/master | 1,653,705,576,607 | 1,570,136,035,000 | 1,570,136,035,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 55 | lean |
import mvqpf.basic
import mvqpf.fix
import mvqpf.comp
|
249bff97d65f5cf3e7ede3e22ecf1455cc8de431 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/analysis/calculus/fderiv/linear.lean | 73102958b1d4c39735e73828849a6104ed2553a6 | [
"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,604 | lean | /-
Copyright (c) 2019 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad, Sébastien Gouëzel, Yury Kudryashov
-/
import analysis.calculus.fderiv.basic
/-!
# The derivative of bounded linear maps
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> Any... |
01c4b2deb088874ab2b1156ea471007d763b449a | 02005f45e00c7ecf2c8ca5db60251bd1e9c860b5 | /src/algebra/big_operators/intervals.lean | e312933de57d8c7913c824c7107e82557acd85ca | [
"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 | 6,619 | 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 algebra.big_operators.basic
import data.finset.intervals
import tactic.linarith
/-!
# Results about big operators over intervals
We prove results about big... |
4c458cf5e5b6dbd2335de380eaf425fa91724773 | 87a08a8e9b222ec02f3327dca4ae24590c1b3de9 | /src/data/finset.lean | 10e8f4c899149b32267679a5b906b8c1776003e5 | [
"Apache-2.0"
] | permissive | naussicaa/mathlib | 86d05223517a39e80920549a8052f9cf0e0b77b8 | 1ef2c2df20cf45c21675d855436228c7ae02d47a | refs/heads/master | 1,592,104,950,080 | 1,562,073,069,000 | 1,562,073,069,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 83,956 | lean | /-
Copyright (c) 2015 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura, Jeremy Avigad, Minchao Wu, Mario Carneiro
Finite sets.
-/
import logic.embedding algebra.order_functions
data.multiset data.sigma.basic data.set.lattice
op... |
8e010412c2f3ccddc4f2eb3af24fad0fae790eb4 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/Lean3Lib/init/meta/hole_command_auto.lean | 582188f38433f77a96de1987010968cdea4c4fdc | [] | 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 | 949 | lean | /-
Copyright (c) 2017 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.meta.tactic
namespace Mathlib
/--
The front-end (e.g., Emacs, VS Code) can invoke commands for holes `... |
43cfcb7e7edf72f6fadc401a3522413e86926671 | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/analysis/convex/extrema.lean | d78c76cab518e9ce766d17f6cd616fd3cce45d49 | [
"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,440 | lean | /-
Copyright (c) 2020 Frédéric Dupuis. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Frédéric Dupuis
-/
import analysis.convex.function
import topology.algebra.affine
import topology.local_extr
import topology.metric_space.basic
/-!
# Minima and maxima of convex func... |
90ca4d77f0e00244f5ec6ee4c83a15ec89320598 | 36c7a18fd72e5b57229bd8ba36493daf536a19ce | /hott/algebra/hott.hlean | 370c21f72896a17e1fe72d099b22512b1ab289de | [
"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 | 2,665 | hlean | /-
Copyright (c) 2015 Floris van Doorn. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Floris van Doorn
Theorems about algebra specific to HoTT
-/
import .group arity types.pi hprop_trunc types.unit
open equiv eq equiv.ops is_trunc
namespace algebra
open Group has... |
5445974e0d80a209e8a15fa3e32cfd4c9e753721 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/analysis/calculus/darboux.lean | 32445699fdd8bd4168debfad8a52a0f6c61d1750 | [
"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,819 | 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.calculus.local_extr
/-!
# Darboux's theorem
In this file we prove that the derivative of a differentiable function on an interval takes all
interm... |
4b6ef8e3df5e4a9dacf79e316369cad8818e9670 | 8b9f17008684d796c8022dab552e42f0cb6fb347 | /library/data/examples/depchoice.lean | f961cc24e7726b9dcfbfbbd2c41d0d4dad0c428e | [
"Apache-2.0"
] | permissive | chubbymaggie/lean | 0d06ae25f9dd396306fb02190e89422ea94afd7b | d2c7b5c31928c98f545b16420d37842c43b4ae9a | refs/heads/master | 1,611,313,622,901 | 1,430,266,839,000 | 1,430,267,083,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 3,101 | lean | /-
Copyright (c) 2015 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Module: data.examples.depchoice
Author: Leonardo de Moura
-/
import data.encodable
open nat encodable
/-
In mathematics, the axiom of dependent choice is a weak form of the axiom of ch... |
bbd97fdbcbdf4c8c7febd69a0b4da0ce53446026 | 95dcf8dea2baf2b4b0a60d438f27c35ae3dd3990 | /src/topology/constructions.lean | e4fa20a5e44f156fe5eb9a1026a0fd25b0480c85 | [
"Apache-2.0"
] | permissive | uniformity1/mathlib | 829341bad9dfa6d6be9adaacb8086a8a492e85a4 | dd0e9bd8f2e5ec267f68e72336f6973311909105 | refs/heads/master | 1,588,592,015,670 | 1,554,219,842,000 | 1,554,219,842,000 | 179,110,702 | 0 | 0 | Apache-2.0 | 1,554,220,076,000 | 1,554,220,076,000 | null | UTF-8 | Lean | false | false | 44,418 | 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, Patrick Massot
Constructions of new topological spaces from old ones: product, sum, subtype, quotient, list, vector
-/
import topology.maps topology.su... |
0972df1ec2eea865a068c20cb81a669d06ca28f7 | 5883d9218e6f144e20eee6ca1dab8529fa1a97c0 | /src/data/finset/fresh.lean | d50d8dca8c4dbc6cc0e8dcd4074d09abfef8164f | [] | no_license | spl/alpha-conversion-is-easy | 0d035bc570e52a6345d4890e4d0c9e3f9b8126c1 | ed937fe85d8495daffd9412a5524c77b9fcda094 | refs/heads/master | 1,607,649,280,020 | 1,517,380,240,000 | 1,517,380,240,000 | 52,174,747 | 4 | 0 | null | 1,456,052,226,000 | 1,456,001,163,000 | Lean | UTF-8 | Lean | false | false | 2,294 | lean | /-
This file defines the `fresh` class for `finset` and an instance for `nat`.
-/
import data.finset
import data.fresh
namespace nat ------------------------------------------------------------------
theorem max_zero (a : ℕ) : max a 0 = a :=
begin
simp [max],
cases nat.decidable_le a 0,
case is_true ... |
e2c25d79b0eaab6df06531d490a80a4a548b6fe5 | 7a097aab717143b13a4a4f8824fe9cfe670a7883 | /src/smt2/attributes.lean | a4f6aa2aba23e18445aecbf8e4f6ca5e5ca14bee | [
"Apache-2.0"
] | permissive | digama0/smt2_interface | 6b3bbc12cb90bd4bc70b07ca86918c1e9ff4ed97 | cf516ae4142f33adcf4b272758d63fee37ec9f7d | refs/heads/master | 1,611,266,770,453 | 1,498,177,713,000 | 1,498,177,713,000 | 95,167,865 | 0 | 0 | null | 1,498,177,813,000 | 1,498,177,813,000 | null | UTF-8 | Lean | false | false | 188 | lean | def smt2_attribute : user_attribute :=
{ name := `smt2,
descr := "Mark a decalartion as part of the gloabl environment of the smt2 tactic" }
run_cmd register_attribute `smt2_attribute
|
dcda5a4a73b749932ffb68747600ac1381deb0c0 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/linear_algebra/matrix/transvection.lean | 3d7da8b6dd1583c494f56219059ed049fb33528c | [
"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 | 32,917 | lean | /-
Copyright (c) 2021 Sébastien Gouëzel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Sébastien Gouëzel
-/
import data.matrix.basis
import data.matrix.dmatrix
import linear_algebra.matrix.determinant
import linear_algebra.matrix.reindex
import tactic.field_simp
/-!
... |
e458f93b6b185f00753899c706e8eeb4ee011c46 | dac4e6671410f506c880986cbb2212dd7f5b3dfd | /folklore/manifolds.lean | 8d533b1d657bd1a077059fadc60c2882ff3df8f2 | [
"CC-BY-4.0"
] | permissive | thalesant/formalabstracts-2018 | e6ddfe8b3ce5c6f055ddcccf345bf55c41f850c1 | d206dfa32a6b4a84aacc3a5500a144757e6d3454 | refs/heads/master | 1,642,678,879,231 | 1,561,648,713,000 | 1,561,648,713,000 | 97,608,420 | 1 | 0 | null | 1,564,063,995,000 | 1,500,388,250,000 | Lean | UTF-8 | Lean | false | false | 432 | lean | /- Differentiable manifolds -/
class_infix `category.comp `( ∘ )
class category :=
(object : Type)
(∀ ( a b : object), mor a b : Type)
( ( ∘ ) : Π a b c, mor a b → mor b c → mor a c)
(id : Π a, mor a a)
(id_left : ∀ a b, ∀ f : mor a b, f ∘ id a = f)
(id_right : ∀ a b, ∀ f : mor a b, id b ∘ f ∘ = f)
(assoc : ∀ a b c d,... |
cbe95b2eb336886a870adcc7c134703578384375 | 94e33a31faa76775069b071adea97e86e218a8ee | /src/group_theory/group_action/pi.lean | 3c9e58aa856434214ebe7fd407d75511caa961e8 | [
"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,332 | lean | /-
Copyright (c) 2018 Simon Hudon. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Simon Hudon, Patrick Massot
-/
import algebra.group.pi
import group_theory.group_action.defs
/-!
# Pi instances for multiplicative actions
This file defines instances for mul_action and... |
03a1df6cd8dca4c7c08b95aec8f7602175f67505 | bb31430994044506fa42fd667e2d556327e18dfe | /src/set_theory/cardinal/ordinal.lean | 208a28970e325925efc8b03bfc0b59d549babf98 | [
"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 | 49,612 | 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, Floris van Doorn
-/
import data.finsupp.multiset
import order.bounded
import set_theory.ordinal.principal
import tactic.linarith
/-!
# Cardinals and o... |
378233a80bd811abdebda582843d791f7d1fb232 | c777c32c8e484e195053731103c5e52af26a25d1 | /src/data/sum/interval.lean | 5bd433861ad78d110fd718cdc86b8f0494bf4d0c | [
"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 | 5,927 | lean | /-
Copyright (c) 2022 Yaël Dillies. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yaël Dillies
-/
import data.sum.order
import order.locally_finite
/-!
# Finite intervals in a disjoint union
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> Any changes to this file requi... |
b16a547736252f0bc515bf17f4673c9f04600770 | 0179bcdbf094a112437450a02dc2bdc8b2f921d4 | /fabstract/Bauer_A_InjBaireNat/categories.lean | 198c95276de601b444ae74623617018ba16f684b | [
"CC-BY-4.0"
] | permissive | haselwarter/formalabstracts | cf0c129fc086526cef1bd65d95c6f95a9a7ec5c8 | eab6d94850308df9f09d23f3a9a2f7b5ac5c6c7a | refs/heads/master | 1,609,515,992,248 | 1,500,418,815,000 | 1,500,418,815,000 | 97,696,544 | 0 | 0 | null | 1,500,455,350,000 | 1,500,455,350,000 | null | UTF-8 | Lean | false | false | 1,319 | lean | -- a random and incomplete selection of notions in category theory
import meta_data
run_cmd tactic.skip -- temporary fix
structure category :=
(obj : Type)
(hom : obj → obj → Type)
(id : Π (A : obj), hom A A)
(compose : Π {A B C : obj}, hom B C → hom A B → hom A C)
(id_left : Π {A B : obj} {f : h... |
bf7ac9808f3c6eddab90c97cb8cbc4aaa3db20bf | 367134ba5a65885e863bdc4507601606690974c1 | /src/algebra/homology/chain_complex.lean | dd435febcae7866a8885d8ebb39bdc1699603716 | [
"Apache-2.0"
] | permissive | kodyvajjha/mathlib | 9bead00e90f68269a313f45f5561766cfd8d5cad | b98af5dd79e13a38d84438b850a2e8858ec21284 | refs/heads/master | 1,624,350,366,310 | 1,615,563,062,000 | 1,615,563,062,000 | 162,666,963 | 0 | 0 | Apache-2.0 | 1,545,367,651,000 | 1,545,367,651,000 | null | UTF-8 | Lean | false | false | 5,063 | 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 data.int.basic
import category_theory.graded_object
import category_theory.differential_object
import category_theory.abelian.additive_functor
/-!
# Chain com... |
0f14b649edbf30c5a5063e974954cbd666cea871 | abd85493667895c57a7507870867b28124b3998f | /src/group_theory/perm/sign.lean | bd046f86e333365bba1d2c7641d0bc9ec31572f4 | [
"Apache-2.0"
] | permissive | pechersky/mathlib | d56eef16bddb0bfc8bc552b05b7270aff5944393 | f1df14c2214ee114c9738e733efd5de174deb95d | refs/heads/master | 1,666,714,392,571 | 1,591,747,567,000 | 1,591,747,567,000 | 270,557,274 | 0 | 0 | Apache-2.0 | 1,591,597,975,000 | 1,591,597,974,000 | null | UTF-8 | Lean | false | false | 32,625 | 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.fintype.basic
import algebra.big_operators
universes u v
open equiv function fintype finset
variables {α : Type u} {β : Type v}
namespace equiv.perm
def su... |
1f743de2f3185b7423962fd5d1c0348224db8a0d | 57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d | /src/Lean/Elab/Declaration.lean | cfff571c32637a1b7e04b2050e747904bfdf6f9a | [
"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 | 12,349 | 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, Sebastian Ullrich
-/
import Lean.Util.CollectLevelParams
import Lean.Elab.DeclUtil
import Lean.Elab.DefView
import Lean.Elab.Inductive
import Lean.Elab.Struct... |
5573c7f5c9c9cb6de4ec39b5995a02dc445a706e | 737dc4b96c97368cb66b925eeea3ab633ec3d702 | /stage0/src/Init/WF.lean | b23bb4da739adff7b8211e157ba15e2e76d5cad7 | [
"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 | 11,168 | lean | /-
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
-/
prelude
import Init.SizeOf
import Init.Data.Nat.Basic
universe u v
set_option codegen false
inductive Acc {α : Sort u} (r : α → α → Prop) : α → Prop where... |
ce0d3aab43e8f882fc326a2e1e3b959ce078b8d1 | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/algebra/indicator_function.lean | 713b34d1d4e58261e9f2b07823e70919b4a46d40 | [
"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 | 22,293 | 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 algebra.support
/-!
# Indicator function
- `indicator (s : set α) (f : α → β) (a : α)` is `f a` if `a ∈ s` and is `0` otherwise.
- `mul_indicator (s : set α) (... |
f7940f194efe4895fad286530441cc075eb496de | 94e33a31faa76775069b071adea97e86e218a8ee | /src/ring_theory/witt_vector/mul_coeff.lean | 274b845d5b2ca124aa4ba40407b0b2ae2cdde42a | [
"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 | 12,797 | lean | /-
Copyright (c) 2022 Robert Y. Lewis. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Robert Y. Lewis, Heather Macbeth
-/
import ring_theory.witt_vector.truncated
import data.mv_polynomial.supported
/-!
# Leading terms of Witt vector multiplication
The goal of this ... |
576f0e8fd566dfb59d94fc2f763d62c5ff1d9baf | c777c32c8e484e195053731103c5e52af26a25d1 | /src/topology/continuous_function/ideals.lean | ece1cf99f5e3928b461871341b2f806356cac5b5 | [
"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 | 21,627 | lean | /-
Copyright (c) 2022 Jireh Loreaux. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jireh Loreaux
-/
import topology.algebra.algebra
import topology.continuous_function.compact
import topology.urysohns_lemma
import data.is_R_or_C.basic
import analysis.normed_space.uni... |
c33590c8dd679b8cdf557e1a598a4b727528b770 | d406927ab5617694ec9ea7001f101b7c9e3d9702 | /src/algebra/order/nonneg/field.lean | f3f9b3349aa6a901dea33aa727276afb286349a1 | [
"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,817 | 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
-/
import algebra.order.archimedean
import algebra.order.nonneg.ring
import algebra.order.field.inj_surj
import algebra.order.field.canonical.defs
/-!
# Semifield s... |
880ce32815408def5aaae56f1c6da918a0e079ac | d5ecf6c46a2f605470a4a7724909dc4b9e7350e0 | /set_theory/ordinal_notation.lean | 63926de0b5367380f447a31b66fd79f699e9ae9c | [
"Apache-2.0"
] | permissive | MonoidMusician/mathlib | 41f79df478987a636b735c338396813d2e8e44c4 | 72234ef1a050eea3a2197c23aeb345fc13c08ff3 | refs/heads/master | 1,583,672,205,771 | 1,522,892,143,000 | 1,522,892,143,000 | 128,144,032 | 0 | 0 | Apache-2.0 | 1,522,892,144,000 | 1,522,890,892,000 | Lean | UTF-8 | Lean | false | false | 35,487 | lean | /-
Copyright (c) 2018 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Mario Carneiro
Ordinal notations (constructive ordinal arithmetic for ordinals < ε₀).
-/
import set_theory.ordinal data.pnat
open ordinal
local infixr ` ^ ` := power
local notation `ω... |
3078fdf4afb8be6d22944c7b0373af82d065da4e | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/group_theory/perm/fin.lean | 57ce537a6db18c335520441d06d5f33735bc80b8 | [
"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,868 | 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 group_theory.perm.cycle.type
import group_theory.perm.option
import logic.equiv.fin
import logic.equiv.fintype
/-!
# Permutations of `fin n`
> THIS FILE IS SYNCHRO... |
084b42b6943b6d1c4296b1aa509643c0654d0317 | 618003631150032a5676f229d13a079ac875ff77 | /src/tactic/replacer.lean | 67f1f98aaa24cd6809b3d96c910ce3788db8b8ff | [
"Apache-2.0"
] | permissive | awainverse/mathlib | 939b68c8486df66cfda64d327ad3d9165248c777 | ea76bd8f3ca0a8bf0a166a06a475b10663dec44a | refs/heads/master | 1,659,592,962,036 | 1,590,987,592,000 | 1,590,987,592,000 | 268,436,019 | 1 | 0 | Apache-2.0 | 1,590,990,500,000 | 1,590,990,500,000 | null | UTF-8 | Lean | false | false | 5,820 | lean | /-
Copyright (c) 2018 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Mario Carneiro
-/
import tactic.core
/-!
# `def_replacer`
A mechanism for defining tactics for use in auto params, whose
meaning is defined incrementally through attributes.
-/
names... |
d9a1666c7e21e6254bcc88884b4556baa0a16d93 | 63abd62053d479eae5abf4951554e1064a4c45b4 | /src/field_theory/primitive_element.lean | 074229e60f019e239ebd2665508470eb040a804f | [
"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 | 7,869 | lean | /-
Copyright (c) 2020 Thomas Browning and Patrick Lutz. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Thomas Browning and Patrick Lutz
-/
import field_theory.adjoin
import field_theory.separable
/-!
# Primitive Element Theorem
In this file we prove the primitive el... |
4b00a96493968f2ea7bc92f830657a67b538c2c8 | 30b012bb72d640ec30c8fdd4c45fdfa67beb012c | /algebra/module.lean | 98e25d392a3d5c5b562239596a39e0deb4c9c4c2 | [
"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 | 11,858 | 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
Modules over a ring.
-/
import algebra.ring algebra.big_operators
open function
universes u v w x
variables {α : Ty... |
2845d68d8dff8bc87a5f95c48a70d989b90cbe2e | 9dc8cecdf3c4634764a18254e94d43da07142918 | /src/tactic/positivity.lean | db20574053c157428d6b5d41a9df5feec86c95b6 | [
"Apache-2.0"
] | permissive | jcommelin/mathlib | d8456447c36c176e14d96d9e76f39841f69d2d9b | ee8279351a2e434c2852345c51b728d22af5a156 | refs/heads/master | 1,664,782,136,488 | 1,663,638,983,000 | 1,663,638,983,000 | 132,563,656 | 0 | 0 | Apache-2.0 | 1,663,599,929,000 | 1,525,760,539,000 | Lean | UTF-8 | Lean | false | false | 16,831 | lean | /-
Copyright (c) 2022 Mario Carneiro, Heather Macbeth. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro, Heather Macbeth
-/
import tactic.norm_num
/-! # `positivity` tactic
The `positivity` tactic in this file solves goals of the form `0 ≤ x` and `0 < x`... |
cbfece86a4fd979fea7a46317185a5d42a23921e | 63abd62053d479eae5abf4951554e1064a4c45b4 | /src/topology/category/Top/adjunctions.lean | a2584cc4740205cdcd15fccb248130accfcde167 | [
"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 | 1,110 | lean | /-
Copyright (c) 2017 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Patrick Massot, Mario Carneiro
-/
import topology.category.Top.basic
import category_theory.adjunction.basic
universe u
open category_theory
open Top
namespace Top
/-- Equipping a ... |
610ab4a2fa34a1a505e9fbf4d7691f95367463c8 | e0f9ba56b7fedc16ef8697f6caeef5898b435143 | /src/algebra/module.lean | 01f8633f339198e0880ca00b8bba301f71ce496c | [
"Apache-2.0"
] | permissive | anrddh/mathlib | 6a374da53c7e3a35cb0298b0cd67824efef362b4 | a4266a01d2dcb10de19369307c986d038c7bb6a6 | refs/heads/master | 1,656,710,827,909 | 1,589,560,456,000 | 1,589,560,456,000 | 264,271,800 | 0 | 0 | Apache-2.0 | 1,589,568,062,000 | 1,589,568,061,000 | null | UTF-8 | Lean | false | false | 27,183 | 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 group_theory.group_action
/-!
# Modules over a ring
In this file we define
* `semimodule R M` : an additi... |
61831dcb6538db23481f69256e78e589a40642b9 | e39f04f6ff425fe3b3f5e26a8998b817d1dba80f | /tactic/basic.lean | fbce5cc9ec8b3dd2c72c12060706d5e15b873e1c | [
"Apache-2.0"
] | permissive | kristychoi/mathlib | c504b5e8f84e272ea1d8966693c42de7523bf0ec | 257fd84fe98927ff4a5ffe044f68c4e9d235cc75 | refs/heads/master | 1,586,520,722,896 | 1,544,030,145,000 | 1,544,031,933,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 26,357 | 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
namespace name
meta def deinternalize_field : name → name
| (name.mk_string s name.... |
fca4e11fb013a0d67777b7a749d5db8bf79b91e2 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/data/nat/psub.lean | 325e5b6f66deba1a965db45899548ae66d9604f6 | [
"Apache-2.0"
] | permissive | leanprover-community/mathlib | 56a2cadd17ac88caf4ece0a775932fa26327ba0e | 442a83d738cb208d3600056c489be16900ba701d | refs/heads/master | 1,693,584,102,358 | 1,693,471,902,000 | 1,693,471,902,000 | 97,922,418 | 1,595 | 352 | Apache-2.0 | 1,694,693,445,000 | 1,500,624,130,000 | Lean | UTF-8 | Lean | false | false | 2,953 | 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.option.basic
import data.nat.basic
/-!
# Partial predecessor and partial subtraction on the natural numbers
> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
> ... |
493ec1dc414bbe803ae189908648b6ed6a5a8179 | a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940 | /stage0/src/Lean/Meta/Inductive.lean | 2959699c995d7b6e5dd0feb68d0f320b292f8eb7 | [
"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 | 770 | lean | /-
Copyright (c) 2020 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
import Lean.Meta.ExprDefEq
/- Helper methods for inductive datatypes -/
namespace Lean.Meta
/- Return true if the types of the given constructors are com... |
9ebb11a2fb464f677a7136bcdb61f95b37f35cab | 4727251e0cd73359b15b664c3170e5d754078599 | /src/linear_algebra/quotient.lean | 2cc88bc86ad98498eb6546cc3c63ecf679d1a824 | [
"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 | 16,366 | 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 linear_algebra.span
/-!
# Quotients by submodules
* If `p` is a submodule of `M`, `M ⧸ p` is the quotient of ... |
2cf86639bb0257fc26b46cff302e18e23a19fdaf | 4727251e0cd73359b15b664c3170e5d754078599 | /src/category_theory/functor/category.lean | baa5ded9706ee993e00470cdc6a6c8ddd552b794 | [
"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 | 5,791 | lean | /-
Copyright (c) 2017 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Tim Baumann, Stephen Morgan, Scott Morrison, Floris van Doorn
-/
import category_theory.natural_transformation
import category_theory.isomorphism
/-!
# The category of functors and na... |
72f723606e314cb5fbc67c6f3b56ab90deb21d85 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/analysis/inner_product_space/two_dim.lean | f353988543fa0c7bbe2d67c9a406126b615bd1af | [
"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 | 27,193 | lean | /-
Copyright (c) 2022 Heather Macbeth. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Heather Macbeth
-/
import analysis.inner_product_space.dual
import analysis.inner_product_space.orientation
import data.complex.orientation
import tactic.linear_combination
/-!
# Ori... |
ee2206d441d8a9a804887ced4e87d16d750448b2 | 7cef822f3b952965621309e88eadf618da0c8ae9 | /src/algebra/ring.lean | a76457e7b7609ec457f77822c5b3d74d69f9e765 | [
"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 | 25,680 | lean | /-
Copyright (c) 2014 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Amelia Livingston
-/
import algebra.group
import tactic.norm_cast
/-!
# Properties and homomorphisms of semirings and rings
This f... |
9b74978cf6fab9fa1b8347303b3abe108a028211 | a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91 | /tests/lean/instance_cache_bug1.lean | 3c7df9b31c18b66dcb6014ec6842fd626c891167 | [
"Apache-2.0"
] | permissive | soonhokong/lean-osx | 4a954262c780e404c1369d6c06516161d07fcb40 | 3670278342d2f4faa49d95b46d86642d7875b47c | refs/heads/master | 1,611,410,334,552 | 1,474,425,686,000 | 1,474,425,686,000 | 12,043,103 | 5 | 1 | null | null | null | null | UTF-8 | Lean | false | false | 131 | lean | constant A : Type
constant a : A
constant A_has_add : has_add A
check a + a -- ERROR
attribute [instance] A_has_add
check a + a
|
135454ffc2be98206668d99f86e9f733e46189c9 | cf39355caa609c0f33405126beee2739aa3cb77e | /tests/lean/perf/perm_ac_100.lean | 4900925e76f3f0f98d458477a1c2d6eb9daa59bd | [
"Apache-2.0"
] | permissive | leanprover-community/lean | 12b87f69d92e614daea8bcc9d4de9a9ace089d0e | cce7990ea86a78bdb383e38ed7f9b5ba93c60ce0 | refs/heads/master | 1,687,508,156,644 | 1,684,951,104,000 | 1,684,951,104,000 | 169,960,991 | 457 | 107 | Apache-2.0 | 1,686,744,372,000 | 1,549,790,268,000 | C++ | UTF-8 | Lean | false | false | 3,707 | lean | import data.list.perm
open list perm option nat
attribute [reducible]
definition denote {X : Type} (default : X) [add_comm_semigroup X] (xs : list X) : list nat -> X
| nil := default
| (cons i is) := match nth xs i with
| none := default
| (some x) := match is with
... |
f2cf55491d839e14b75d775010fcff2f97509e3f | d436468d80b739ba7e06843c4d0d2070e43448e5 | /src/measure_theory/giry_monad.lean | 53f16d4960c8d398ba0da4d5c664c0d81284b7de | [
"Apache-2.0"
] | permissive | roro47/mathlib | 761fdc002aef92f77818f3fef06bf6ec6fc1a28e | 80aa7d52537571a2ca62a3fdf71c9533a09422cf | refs/heads/master | 1,599,656,410,625 | 1,573,649,488,000 | 1,573,649,488,000 | 221,452,951 | 0 | 0 | Apache-2.0 | 1,573,647,693,000 | 1,573,647,692,000 | null | UTF-8 | Lean | false | false | 8,553 | lean | /-
Copyright (c) 2019 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl
-/
import measure_theory.integration
/-!
# The Giry monad
Let X be a measurable space. The collection of all measures on X again
forms a measurable space. This constru... |
a2abc3a4499756daaaff1c84850f2612edb955a9 | e2fc96178628c7451e998a0db2b73877d0648be5 | /test/results.lean | 0a29d099abba9d50fbd6cab5ff0157dd2beec504 | [
"BSD-2-Clause"
] | permissive | madvorak/grammars | cd324ae19b28f7b8be9c3ad010ef7bf0fabe5df2 | 1447343a45fcb7821070f1e20b57288d437323a6 | refs/heads/main | 1,692,383,644,884 | 1,692,032,429,000 | 1,692,032,429,000 | 453,948,141 | 7 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 1,262 | lean | import classes.context_free.closure_properties.union
import classes.context_free.closure_properties.reverse
import classes.context_free.closure_properties.concatenation
import classes.context_free.closure_properties.intersection
import classes.context_free.closure_properties.complement
import classes.unrestricted.clos... |
fce1d771c23fc91e15a8aa578e845dca79fd4fa4 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/pkg/user_ext/UserExt/FooExt.lean | 3abd77b828d8400ed0f08f43bc19edcf362f8025 | [
"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 | 847 | lean | import Lean
open Lean
initialize fooExtension : SimplePersistentEnvExtension Name NameSet ←
registerSimplePersistentEnvExtension {
addEntryFn := NameSet.insert
addImportedFn := fun es => mkStateFromImportedEntries NameSet.insert {} es
}
initialize registerTraceClass `myDebug
syntax (name := insertFoo... |
8bfd456fbbbdca841fade9a1364624ee0f817a70 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/data/list/func.lean | 09708c9326de6affad44c66932710a9bb71bd98c | [] | 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 | 6,409 | lean | /-
Copyright (c) 2019 Seul Baek. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Seul Baek
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.data.nat.basic
import Mathlib.PostPort
universes u v w
namespace Mathlib
namespace list
namespa... |
65bc6be44e3426d4a02d7b91a7dccab5716c190b | 4727251e0cd73359b15b664c3170e5d754078599 | /src/algebra/category/Ring/basic.lean | 8f4fdead38b47505c91210c1fe9b3f2490ae7be5 | [
"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 | 9,766 | lean | /-
Copyright (c) 2018 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison, Johannes Hölzl, Yury Kudryashov
-/
import algebra.category.Group.basic
import category_theory.concrete_category.reflects_isomorphisms
import algebra.ring.equiv
/-!
# C... |
794430b6d51abeaa531526257a6f921ada1f0911 | c062f1c97fdef9ac746f08754e7d766fd6789aa9 | /algebra/lattice/complete_lattice.lean | 6e631bcc846bf51e2673fb20c85ce20fce966db9 | [] | no_license | emberian/library_dev | 00c7a985b21bdebe912f4127a363f2874e1e7555 | f3abd7db0238edc18a397540e361a1da2f51503c | refs/heads/master | 1,624,153,474,804 | 1,490,147,180,000 | 1,490,147,180,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 17,203 | 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
Theory of complete lattices.
-/
import .bounded_lattice
universes u v w w₂
variables {α : Type u} {β : Type v} {ι : Sort w} {ι₂ : Sort w₂}
namespace set
theorem subs... |
d704e0da8917520ab5f13e5bd91c1bd5acfa88bd | d1a52c3f208fa42c41df8278c3d280f075eb020c | /src/Std/Data/HashMap.lean | 50a04482d15501994b3ad3f5f51cbfd2cfc633c6 | [
"Apache-2.0",
"LLVM-exception",
"NCSA",
"LGPL-3.0-only",
"LicenseRef-scancode-inner-net-2.0",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"Spencer-94",
"LGPL-2.1-or-later",
"HPND",
"LicenseRef-scancode-pcre",
"ISC",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"SunPro",
"CMU-Mach"... | permissive | cipher1024/lean4 | 6e1f98bb58e7a92b28f5364eb38a14c8d0aae393 | 69114d3b50806264ef35b57394391c3e738a9822 | refs/heads/master | 1,642,227,983,603 | 1,642,011,696,000 | 1,642,011,696,000 | 228,607,691 | 0 | 0 | Apache-2.0 | 1,576,584,269,000 | 1,576,584,268,000 | null | UTF-8 | Lean | false | false | 8,530 | lean | /-
Copyright (c) 2018 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
-/
import Std.Data.AssocList
namespace Std
universe u v w
def HashMapBucket (α : Type u) (β : Type v) :=
{ b : Array (AssocList α β) // b.size > 0 }
def Has... |
74fdb60a2df866899b3ac9fbac65fb0d1c0c93f5 | 63abd62053d479eae5abf4951554e1064a4c45b4 | /src/order/omega_complete_partial_order.lean | bfef7f1948d7e049bd80bd4bfe26ddb14de5a3ee | [
"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 | 30,783 | lean | /-
Copyright (c) 2020 Simon Hudon. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Simon Hudon
-/
import data.pfun
import order.preorder_hom
import tactic.wlog
import tactic.monotonicity
/-!
# Omega Complete Partial Orders
An omega-complete partial order is a partial o... |
f571d0f4e4e305dd41f96e3bc769c7931e8802b3 | 367134ba5a65885e863bdc4507601606690974c1 | /src/data/buffer/parser/numeral.lean | 0e8bd460a16f4079f137051acea97e18b0fd3687 | [
"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 | 4,360 | lean | /-
Copyright (c) 2020 Yakov Pechersky. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yakov Pechersky
-/
import data.fintype.card
import data.buffer.parser.basic
/-!
# Numeral parsers
This file expands on the existing `nat : parser ℕ` to provide parsers into any type... |
69d647f3d1f9ae2c85edd904809f1efe83675576 | b70031c8e2c5337b91d7e70f1e0c5f528f7b0e77 | /src/data/polynomial/degree/trailing_degree.lean | 470f248fe61a1b830e999130752f553ec82d43e5 | [
"Apache-2.0"
] | permissive | molodiuc/mathlib | cae2ba3ef1601c1f42ca0b625c79b061b63fef5b | 98ebe5a6739fbe254f9ee9d401882d4388f91035 | refs/heads/master | 1,674,237,127,059 | 1,606,353,533,000 | 1,606,353,533,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 12,171 | lean | /-
Copyright (c) 2020 Damiano Testa. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Damiano Testa
-/
import data.polynomial.degree.definitions
/-!
# Trailing degree of univariate polynomials
## Main definitions
* `trailing_degree p`: the multiplicity of `X` in the p... |
a07cc1f5c890f073c0541afc24b70d5ea6199497 | e5c11e5a7d990ce404047c2bd848eeafac3c0a85 | /src/localization.lean | e0ba25a38935afc882dde89050077656645efe74 | [
"LPPL-1.3c"
] | permissive | lean-forward/class-number | 9ec63c24845e46efc8fa8b15324d0815918292c7 | 4fccf36d5e0e16accae84c16df77a3839ad964e4 | refs/heads/main | 1,686,927,014,542 | 1,624,886,724,000 | 1,624,886,724,000 | 327,319,245 | 2 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 69,815 | lean | /-
Copyright (c) 2018 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau, Mario Carneiro, Johan Commelin, Amelia Livingston
-/
import data.equiv.ring
import group_theory.monoid_localization
import ring_theory.ideal.operations
import ring_theory.algebr... |
62b9b3669bccdddcde89e100b5528f8b76a0324d | 47181b4ef986292573c77e09fcb116584d37ea8a | /src/for_mathlib/int.lean | c035ec1eb7c75531c1ae12652aae038f4756103a | [
"MIT"
] | permissive | RaitoBezarius/berkovich-spaces | 87662a2bdb0ac0beed26e3338b221e3f12107b78 | 0a49f75a599bcb20333ec86b301f84411f04f7cf | refs/heads/main | 1,690,520,666,912 | 1,629,328,012,000 | 1,629,328,012,000 | 332,238,095 | 4 | 0 | MIT | 1,629,312,085,000 | 1,611,414,506,000 | Lean | UTF-8 | Lean | false | false | 245 | lean | import ring_theory.int.basic
lemma units_int.values (u: units ℤ): u = 1 ∨ u = -1 :=
begin
have p₁ := fintype.complete u,
cases p₁,
left, exact p₁,
cases p₁,
right, exact p₁,
exfalso, exact list.not_mem_nil u p₁,
end
|
5ef87974e3409229a1b390129ca4613058d154ba | 9cba98daa30c0804090f963f9024147a50292fa0 | /old/metrology/dimensions.lean | a3aaae1e4071edc3e268ab75611aeaffe544d522 | [] | no_license | kevinsullivan/phys | dcb192f7b3033797541b980f0b4a7e75d84cea1a | ebc2df3779d3605ff7a9b47eeda25c2a551e011f | refs/heads/master | 1,637,490,575,500 | 1,629,899,064,000 | 1,629,899,064,000 | 168,012,884 | 0 | 3 | null | 1,629,644,436,000 | 1,548,699,832,000 | Lean | UTF-8 | Lean | false | false | 5,020 | lean | import data.real.basic
/-
The abstraction implemented in this component supports SI-like
physical dimensions and measurement systems, including SI and
Imperial. Kevin believe it's not quite right, insofar as the
SI system isn't based on the right abstractions. For example,
it enables the expression of displacement... |
bf358a3474e8cbe1610b21e49dcfba112d5ed133 | 3f1a1d97c03bb24b55a1b9969bb4b3c619491d5a | /library/init/meta/smt/interactive.lean | ffa611358e0f02b77da6f547ef6def656f2e1ae9 | [
"Apache-2.0"
] | permissive | praveenmunagapati/lean | 00c3b4496cef8e758396005013b9776bb82c4f56 | fc760f57d20e0a486d14bc8a08d89147b60f530c | refs/heads/master | 1,630,692,342,183 | 1,515,626,222,000 | 1,515,626,222,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 9,870 | lean | /-
Copyright (c) 2017 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
prelude
import init.meta.smt.smt_tactic init.meta.interactive_base
import init.meta.smt.rsimp
namespace smt_tactic
meta def save_info (p : pos) : smt_tacti... |
4c056f84408c061cbc1ef999de1424a580a6334d | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/category_theory/simple.lean | fd5670d00b9539d30589c12a60838538aa4863b9 | [
"Apache-2.0"
] | permissive | jjgarzella/mathlib | 96a345378c4e0bf26cf604aed84f90329e4896a2 | 395d8716c3ad03747059d482090e2bb97db612c8 | refs/heads/master | 1,686,480,124,379 | 1,625,163,323,000 | 1,625,163,323,000 | 281,190,421 | 2 | 0 | Apache-2.0 | 1,595,268,170,000 | 1,595,268,169,000 | null | UTF-8 | Lean | false | false | 4,340 | lean | /-
Copyright (c) 2020 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Markus Himmel, Scott Morrison
-/
import category_theory.limits.shapes.zero
import category_theory.limits.shapes.kernels
import category_theory.abelian.basic
/-!
# Simple objects
We d... |
043e449fadad8d9b47e31cd34fb40a41982421b7 | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /test/convert.lean | d0d2b2d8d71203ca75c8d2c8994a2c744f9c78c4 | [
"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 | 642 | lean | /-
Copyright (c) 2018 Simon Hudon. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Simon Hudon
-/
import data.set.image
import tactic.interactive
open set
variables {α β : Type}
@[simp] lemma singleton_inter_singleton_eq_empty {x y : α} :
({x} ∩ {y} = (∅ : set α)) ↔... |
74a877a56c36c1b3b69cdc62df7da91b06c7e636 | 1a61aba1b67cddccce19532a9596efe44be4285f | /library/data/set/function.lean | 8d4bf969b0864a8cc39039b0bf291e503fe1a71c | [
"Apache-2.0"
] | permissive | eigengrau/lean | 07986a0f2548688c13ba36231f6cdbee82abf4c6 | f8a773be1112015e2d232661ce616d23f12874d0 | refs/heads/master | 1,610,939,198,566 | 1,441,352,386,000 | 1,441,352,494,000 | 41,903,576 | 0 | 0 | null | 1,441,352,210,000 | 1,441,352,210,000 | null | UTF-8 | Lean | false | false | 11,750 | 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
Functions between subsets of finite types.
-/
import .basic
open function eq.ops
namespace set
variables {X Y Z : Type}
abbreviation eq_o... |
ff2988ef353c40b373b08c6ea7889528fa8427da | 8e6cad62ec62c6c348e5faaa3c3f2079012bdd69 | /src/data/mv_polynomial/basic.lean | 9857500b0e51e7b02ca8abffbd72b7379d1823d7 | [
"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 | 36,815 | 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, Johan Commelin, Mario Carneiro
-/
import data.polynomial.eval
/-!
# Multivariate polynomials
This file defines polynomial rings over a base ring (or even semiring),
... |
0fe195f007fcbad3a7bc761e8a4ce9b00864855c | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/lean/run/ac_expr.lean | 223f077adec76a2045027f0fb76d8dd7dcdddcee | [
"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 | 5,276 | lean | inductive Expr where
| var (i : Nat)
| op (lhs rhs : Expr)
deriving Inhabited, Repr
def List.getIdx : List α → Nat → α → α
| [], i, u => u
| a::as, 0, u => a
| a::as, i+1, u => getIdx as i u
structure Context (α : Type u) where
op : α → α → α
assoc : (a b c : α) → op (op a b) c = op a (... |
eb875dc15cf3c1855658c3f76de410a122a09bd7 | d0c6b2ba2af981e9ab0a98f6e169262caad4b9b9 | /stage0/src/Init/Data/Array/Subarray.lean | 38a0ed97982212df3c05d0fd4fe453fd8c9cb77d | [
"Apache-2.0"
] | permissive | fizruk/lean4 | 953b7dcd76e78c17a0743a2c1a918394ab64bbc0 | 545ed50f83c570f772ade4edbe7d38a078cbd761 | refs/heads/master | 1,677,655,987,815 | 1,612,393,885,000 | 1,612,393,885,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 4,190 | 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.Data.Array.Basic
universes u v w
structure Subarray (α : Type u) where
as : Array α
start : Nat
stop : Nat
h₁ : start ≤ stop
... |
f529556dcc06099306fa3e01dfa17b4731a38863 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/algebra/big_operators/finsupp.lean | 225d74ad4371f47483d20ec94d7f7fea5c9760a4 | [] | 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 | 1,509 | 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 Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.algebra.big_operators.pi
import Mathlib.data.finsupp.default
import Mathlib.PostPort
universes u_1 u... |
ea3fb04d66bfa69996dad432974ca931cdfb0046 | ba4794a0deca1d2aaa68914cd285d77880907b5c | /src/game/world3/level1.lean | c8d33c0405cb406bc5c853645b4a117955588096 | [
"Apache-2.0"
] | permissive | ChrisHughes24/natural_number_game | c7c00aa1f6a95004286fd456ed13cf6e113159ce | 9d09925424da9f6275e6cfe427c8bcf12bb0944f | refs/heads/master | 1,600,715,773,528 | 1,573,910,462,000 | 1,573,910,462,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 2,263 | lean | import game.world2.level6 -- hide
import mynat.mul -- import the definition of multiplication on mynat
-- World name : Multiplication world
/- Axiom : mul_zero (a : mynat) :
a * 0 = 0
-/
/- Axiom : mul_succ (a b : mynat) :
a * succ(b) = a * b + a
-/
/-
# Multiplication World
A new import! This import gives you t... |
9224b464d08983ed77a00591840c5cc264987f23 | 853df553b1d6ca524e3f0a79aedd32dde5d27ec3 | /src/category_theory/connected.lean | e7613a24bbad195e2cf11d9219d3ac6a33fd3f8a | [
"Apache-2.0"
] | permissive | DanielFabian/mathlib | efc3a50b5dde303c59eeb6353ef4c35a345d7112 | f520d07eba0c852e96fe26da71d85bf6d40fcc2a | refs/heads/master | 1,668,739,922,971 | 1,595,201,756,000 | 1,595,201,756,000 | 279,469,476 | 0 | 0 | null | 1,594,696,604,000 | 1,594,696,604,000 | null | UTF-8 | Lean | false | false | 9,231 | 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 data.list.chain
import category_theory.const
import category_theory.discrete_category
import category_theory.eq_to_hom
import category_theory.punit
/-!
# Connecte... |
574ca850ca55c52176d40d1d0cdfa257c8542218 | a537b538f2bea3181e24409d8a52590603d1ddd9 | /src/tidy/lib/parser.lean | 05d21de677d1daa4dfea71e159f8cb455ad7c3b1 | [] | no_license | rwbarton/lean-tidy | 6134813ded72b275d19d4d32514dba80c21708e3 | fe1125d32adb60decda7a77d0f679614ba9f6fbb | refs/heads/master | 1,585,549,718,705 | 1,538,120,619,000 | 1,538,120,624,000 | 150,864,330 | 0 | 0 | null | 1,538,225,790,000 | 1,538,225,790,000 | null | UTF-8 | Lean | false | false | 3,349 | lean | import .interaction_monad
namespace lean.parser
open lean interactive.types
meta def opt_single_or_list {α : Type} (ps : lean.parser α) : lean.parser (list α) :=
list_of ps <|> ((λ h, list.cons h []) <$> ps) <|> return []
meta def cur_options : lean.parser options := λ s, interaction_monad.result.success (parser_... |
83f440ea5e454c60411f622ca2a139ea6f4fa204 | 82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7 | /tests/lean/PPRoundtrip.lean | c9b23142fb17afd86148f1425a0da7c1f93f5218 | [
"Apache-2.0"
] | permissive | banksonian/lean4 | 3a2e6b0f1eb63aa56ff95b8d07b2f851072d54dc | 78da6b3aa2840693eea354a41e89fc5b212a5011 | refs/heads/master | 1,673,703,624,165 | 1,605,123,551,000 | 1,605,123,551,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 2,780 | lean | import Lean
open Lean
open Lean.Elab
open Lean.Elab.Term
open Lean.Elab.Command
open Lean.Format
open Lean.Meta
def checkM (stx : TermElabM Syntax) (optionsPerPos : OptionsPerPos := {}) : TermElabM Unit := do
let opts ← getOptions;
let stx ← stx;
let e ← elabTermAndSynthesize stx none <* throwErrorIfErrors;
let stx'... |
15a69acc69c185dec09aeca005e0a403cd36e76e | 8cae430f0a71442d02dbb1cbb14073b31048e4b0 | /src/order/galois_connection.lean | 31d946268a364925c65ac554bd00088911a378ba | [
"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 | 34,030 | 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 order.complete_lattice
import order.synonym
import order.hom.set
/-!
# Galois connections, insertions and coinsertions
> THIS FILE IS SYNCHRONIZED WITH MATHL... |
69c6eb69b32f78080fab3be3d60c086a5b9e00db | 2a70b774d16dbdf5a533432ee0ebab6838df0948 | /_target/deps/mathlib/src/ring_theory/roots_of_unity.lean | 566977c0c0c58e89c46584f07517af2e28206750 | [
"Apache-2.0"
] | permissive | hjvromen/lewis | 40b035973df7c77ebf927afab7878c76d05ff758 | 105b675f73630f028ad5d890897a51b3c1146fb0 | refs/heads/master | 1,677,944,636,343 | 1,676,555,301,000 | 1,676,555,301,000 | 327,553,599 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 39,009 | lean | /-
Copyright (c) 2020 Johan Commelin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johan Commelin
-/
import data.nat.parity
import data.polynomial.ring_division
import group_theory.order_of_element
import ring_theory.integral_domain
import number_theory.divisors
imp... |
43d1b7d2086f6143cdb5f08e6cef62497c0082da | 1abd1ed12aa68b375cdef28959f39531c6e95b84 | /src/linear_algebra/unitary_group.lean | 2a80e90660503ab3d43a228528cb241d697fde4f | [
"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 | 6,378 | lean | /-
Copyright (c) 2021 Shing Tak Lam. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Shing Tak Lam
-/
import linear_algebra.matrix.nonsingular_inverse
import linear_algebra.matrix.to_lin
import data.complex.basic
/-!
# The Unitary Group
This file defines elements of t... |
a2c95c78ae93178e24281d0124d008fc4b76685e | 8f209eb34c0c4b9b6be5e518ebfc767a38bed79c | /code/src/internal/R.lean | 27288556e2599acc096dc2c63c5805b2fb0409df | [] | no_license | hediet/masters-thesis | 13e3bcacb6227f25f7ec4691fb78cb0363f2dfb5 | dc40c14cc4ed073673615412f36b4e386ee7aac9 | refs/heads/master | 1,680,591,056,302 | 1,617,710,887,000 | 1,617,710,887,000 | 311,762,038 | 4 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 5,134 | lean | import tactic
import data.finset
import ..definitions
import .internal_definitions
import .Ant.rhss
import .utils
variable [GuardModule]
open GuardModule
@[simp]
lemma R_empty (tr: Ant bool) : R (Ant.diverge tt tr) = R tr :=
begin
cases c1: R tr,
cases c2: acc;
cases c3: inacc;
cases c4: red;
simp... |
8872a5b41e0189d14be1270234109c9ed97d08a0 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/lean/690.lean | 78954c35576ff9bac40e33f2f5a5338cf1df05c5 | [
"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 | 412 | lean | example (a b : Nat) (h : Nat.le a b) : Nat.le a (b + 1) := by
induction h with
| step x? hStep ih => admit
| refl => admit
example (a b : Nat) (h : Nat.le a b) : Nat.le a (b + 1) := by
induction h with
| step hStep ih => trace_state; admit
| refl => admit
example (a b : Nat) (h : Nat.le a b) : Nat.le a (b... |
b4b2d08de1f465c7044a4288aca7091a71280469 | 624f6f2ae8b3b1adc5f8f67a365c51d5126be45a | /src/Init/Lean/Util/MonadCache.lean | c44585cc2dadc75902d2db488fa8b4d9a21fda3f | [
"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 | 4,929 | 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.Control.Reader
import Init.Control.EState
import Init.Data.HashMap
namespace Lean
/-- Interface for caching results. -/
class MonadCac... |
3eabf88c0686b941caa55d37ce7f8905a3d49a1d | 43390109ab88557e6090f3245c47479c123ee500 | /src/M1P2/sheet_10.lean | 1ab76e96d22eb9e275de57385b20f45fe2873aed | [
"Apache-2.0"
] | permissive | Ja1941/xena-UROP-2018 | 41f0956519f94d56b8bf6834a8d39473f4923200 | b111fb87f343cf79eca3b886f99ee15c1dd9884b | refs/heads/master | 1,662,355,955,139 | 1,590,577,325,000 | 1,590,577,325,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 2,739 | lean | import data.nat.prime data.int.modeq data.complex.basic algebra.euclidean_domain number_theory.pell data.nat.sqrt
open nat
--1. For each of the following rings R, and elements a and b, find d = hcf(a,b), and calculate s, t ∈ R such that as + bt = d.
variables {R : Type*} [euclidean_domain R]
variables a b : ℤ
--def ... |
1483159df91d4eeb3ed248b10f00e250f9f1111f | 453dcd7c0d1ef170b0843a81d7d8caedc9741dce | /order/bounded_lattice.lean | 19237081b04ae855cb9c6b3706c25e1b9e3942e9 | [
"Apache-2.0"
] | permissive | amswerdlow/mathlib | 9af77a1f08486d8fa059448ae2d97795bd12ec0c | 27f96e30b9c9bf518341705c99d641c38638dfd0 | refs/heads/master | 1,585,200,953,598 | 1,534,275,532,000 | 1,534,275,532,000 | 144,564,700 | 0 | 0 | null | 1,534,156,197,000 | 1,534,156,197,000 | null | UTF-8 | Lean | false | false | 19,127 | 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
Defines bounded lattice type class hierarchy.
Includes the Prop and fun instances.
-/
import order.lattice data.option
tactic.pi_instances
set_option old_stru... |
011454eba70bdb9c8ae1834fad12b80d4f2fb9c6 | 367134ba5a65885e863bdc4507601606690974c1 | /src/tactic/interval_cases.lean | 1bb086b2a662e32c422b927dac142fa10713ca50 | [
"Apache-2.0"
] | permissive | kodyvajjha/mathlib | 9bead00e90f68269a313f45f5561766cfd8d5cad | b98af5dd79e13a38d84438b850a2e8858ec21284 | refs/heads/master | 1,624,350,366,310 | 1,615,563,062,000 | 1,615,563,062,000 | 162,666,963 | 0 | 0 | Apache-2.0 | 1,545,367,651,000 | 1,545,367,651,000 | null | UTF-8 | Lean | false | false | 10,935 | lean | /-
Copyright (c) 2019 Scott Morrison. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Scott Morrison
Case bashing on variables in finite intervals.
In particular, `interval_cases n`
1) inspects hypotheses looking for lower and upper bounds of the form `a ≤ n` and `n < ... |
6d97282ab3f1beafa2a41e7228298a94ce8af6b0 | 2eab05920d6eeb06665e1a6df77b3157354316ad | /src/group_theory/perm/support.lean | eb92da588440237e1a2273a40998292ad8744dc2 | [
"Apache-2.0"
] | permissive | ayush1801/mathlib | 78949b9f789f488148142221606bf15c02b960d2 | ce164e28f262acbb3de6281b3b03660a9f744e3c | refs/heads/master | 1,692,886,907,941 | 1,635,270,866,000 | 1,635,270,866,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 20,235 | lean | /-
Copyright (c) 2018 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes, Aaron Anderson, Yakov Pechersky
-/
import data.finset.sort
import data.fintype.basic
import group_theory.perm.basic
/-!
# Support of a permutation
## Main definitions
In... |
50fa1a99a34fb92655b84897c5c50a199b7878e3 | 947fa6c38e48771ae886239b4edce6db6e18d0fb | /src/measure_theory/constructions/borel_space.lean | 1f9cb59f3c2a46905b119a7ba21954144b913f37 | [
"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 | 93,833 | 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 analysis.complex.basic
import analysis.normed_space.finite_dimension
import measure_theory.function.ae_measurable_sequence
import measure_theo... |
ef29fe7ce63555e2d3686645eae6269894ff1473 | bb31430994044506fa42fd667e2d556327e18dfe | /src/data/set/pointwise/basic.lean | 9cd15e343d3fefb68466f275b1b2662a0f00db9e | [
"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 | 31,249 | lean | /-
Copyright (c) 2019 Johan Commelin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johan Commelin, Floris van Doorn
-/
import algebra.group_power.basic
import algebra.hom.equiv.basic
import algebra.hom.units
import data.set.lattice
import data.nat.order.basic
/-!
# ... |
3414c5adb070ecb98c8c8e5ac8812dca893e714e | c3de33d4701e6113627153fe1103b255e752ed7d | /data/list/set.lean | 2987c4eaa2489b1cb790278b8bd67e8ac2aa6d91 | [] | no_license | jroesch/library_dev | 77d2b246ff47ab05d55cb9706a37d3de97038388 | 4faa0a45c6aa7eee6e661113c2072b8840bff79b | refs/heads/master | 1,611,281,606,352 | 1,495,661,644,000 | 1,495,661,644,000 | 92,340,430 | 0 | 0 | null | 1,495,663,344,000 | 1,495,663,344,000 | null | UTF-8 | Lean | false | false | 31,895 | 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, Jeremy Avigad
Set-like operations on lists.
-/
import data.list.basic data.list.comb .basic .comb
open nat function decidable
universe variables uu vv
variable... |
814a75d8a335fc9cc9b519a90d8ea3bba8499554 | 22e97a5d648fc451e25a06c668dc03ac7ed7bc25 | /src/logic/function/basic.lean | 1ef4eb05c236024cc9c9e2cc17519f27adc2e66d | [
"Apache-2.0"
] | permissive | keeferrowan/mathlib | f2818da875dbc7780830d09bd4c526b0764a4e50 | aad2dfc40e8e6a7e258287a7c1580318e865817e | refs/heads/master | 1,661,736,426,952 | 1,590,438,032,000 | 1,590,438,032,000 | 266,892,663 | 0 | 0 | Apache-2.0 | 1,590,445,835,000 | 1,590,445,835,000 | null | UTF-8 | Lean | false | false | 13,022 | lean | /-
Copyright (c) 2016 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl, Mario Carneiro
-/
import logic.basic
import data.option.defs
/-!
# Miscellaneous function constructions and lemmas
-/
universes u v w
namespace function
section
var... |
efab9782756fd2fcb37c13e62d729eb251c8e892 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/data/pfunctor/univariate/default_auto.lean | 56878d130e447107ff2e9bfcc7cae73eca1b93d7 | [] | 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 | 203 | lean | import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.data.pfunctor.univariate.basic
import Mathlib.data.pfunctor.univariate.M
import Mathlib.PostPort
namespace Mathlib
end Mathlib |
a6bee9c8a23a7d2411b9872706a49ed2f45b308d | 957a80ea22c5abb4f4670b250d55534d9db99108 | /tests/lean/notation4.lean | 6db22462293491c81bb4c6c66eb2f1eb37926124 | [
"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 | 314 | lean | --
open sigma
inductive List (T : Type) : Type | nil {} : List | cons : T → List → List open List notation h :: t := cons h t notation `[` l:(foldr `,` (h t, cons h t) nil) `]` := l
#check ∃ (A : Type) (x y : A), x = y
#check ∃ (x : nat), x = 0
#check Σ' (x : nat), x = 10
#check Σ (A : Type), List A
|
842f1affb3e4c519067cf4bba77cf2a8d113813b | 0845ae2ca02071debcfd4ac24be871236c01784f | /tests/lean/run/struct_instance_in_eqn.lean | 7889030c5b600f4fb30df0991b7f252eac8284e9 | [
"Apache-2.0"
] | permissive | GaloisInc/lean4 | 74c267eb0e900bfaa23df8de86039483ecbd60b7 | 228ddd5fdcd98dd4e9c009f425284e86917938aa | refs/heads/master | 1,643,131,356,301 | 1,562,715,572,000 | 1,562,715,572,000 | 192,390,898 | 0 | 0 | null | 1,560,792,750,000 | 1,560,792,749,000 | null | UTF-8 | Lean | false | false | 152 | lean | structure S :=
(x : Nat) (y : Bool) (z : Nat) (w : Nat)
set_option trace.compiler.stage1 true
def g : S → S
| s@{ x := x, ..} := { x := x + 1, ..s}
|
b98a0663cf18a864136bbf3268c382644a0907ff | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /tests/lean/run/329.lean | b2a34f0b17092b556757b977d4987a3af01ab186 | [
"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 | 590 | lean | inductive Foo1 (F : {n : Nat} → Type) : Type where
| bar : Foo1 _
#check @Foo1.bar
inductive Foo2 (F : {n : Nat} → Type) : Type where
| bar : Foo2 F
#check @Foo2.bar
inductive Foo3 (F : {n : Nat} → Type) : Type where
| bar : Foo3 @F
#check @Foo3.bar
inductive Bla1 (F : {n : Nat} → Type) : Type where
| mk : Bla1 ... |
cadb863b9f6b78f644d1fa121da5c55b945c33ca | d1bbf1801b3dcb214451d48214589f511061da63 | /src/analysis/special_functions/pow.lean | 09a43646b66b8dd3a0e857e8a9f251b8ee015eae | [
"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 | 64,104 | 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, Sébastien Gouëzel,
Rémy Degenne
-/
import analysis.special_functions.trigonometric
import analysis.calculus.extend_deriv
... |
2e09173b9b328c3176b47c7ceac65379d5d2c231 | 0f54cce53cdd7d43dc5b0017dfb0a3eaf09ba18a | /src/simp_loop/conv.lean | 6cac842efe3b19e40959e02f4107b3400522d695 | [] | no_license | johoelzl/lean-simp-loop | dabc7629b21e319fa0b9c45639c82f9bea57a18a | c1ad8c34be7c6fd323fc5eff5ce337fd23a72e04 | refs/heads/master | 1,618,774,503,904 | 1,525,883,646,000 | 1,525,883,646,000 | 126,789,660 | 1 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 13,388 | 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, Johannes Hölzl
Converter monad for building simplifiers.
-/
namespace tactic
meta class monad_tactic (m : Type → Type) :=
(lift_tactic {} {α : Type} : tact... |
c9140615504788eb5cd73c5cea7564728eceb444 | 57c233acf9386e610d99ed20ef139c5f97504ba3 | /src/linear_algebra/finite_dimensional.lean | 20e722aef77ef356940c601c7395a12f06964a7f | [
"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 | 68,786 | lean | /-
Copyright (c) 2019 Chris Hughes. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Chris Hughes
-/
import algebra.algebra.subalgebra
import field_theory.finiteness
/-!
# Finite dimensional vector spaces
Definition and basic properties of finite dimensional vector spa... |
c8791e18ebe4417b64becd2de26134d2e939ac22 | 6432ea7a083ff6ba21ea17af9ee47b9c371760f7 | /src/Lean/Meta/CongrTheorems.lean | 1e63a91af16c4a6285a7124bc37183d632b215ea | [
"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 | 14,816 | lean | /-
Copyright (c) 2021 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura
-/
import Lean.Meta.AppBuilder
import Lean.Class
namespace Lean.Meta
inductive CongrArgKind where
/-- It is a parameter for the congruence theorem, the par... |
01b1e9461d766a7d1320e3d0b9e236c139c27ea4 | fa02ed5a3c9c0adee3c26887a16855e7841c668b | /src/data/setoid/basic.lean | b69e75d83a055e3d97c4539e7a09d0bf275c9e6f | [
"Apache-2.0"
] | permissive | jjgarzella/mathlib | 96a345378c4e0bf26cf604aed84f90329e4896a2 | 395d8716c3ad03747059d482090e2bb97db612c8 | refs/heads/master | 1,686,480,124,379 | 1,625,163,323,000 | 1,625,163,323,000 | 281,190,421 | 2 | 0 | Apache-2.0 | 1,595,268,170,000 | 1,595,268,169,000 | null | UTF-8 | Lean | false | false | 17,431 | lean | /-
Copyright (c) 2019 Amelia Livingston. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Amelia Livingston, Bryan Gin-ge Chen
-/
import order.galois_connection
/-!
# Equivalence relations
This file defines the complete lattice of equivalence relations on a type, resul... |
ae3048364e3b4bf04bf0de486280ef31192f1b49 | 5e3548e65f2c037cb94cd5524c90c623fbd6d46a | /src_icannos_totilas/aops/1971-Canadian_MO-Problem_5.lean | 4335a9b8d3fa3b3bdeef41436fb784f28693c2f1 | [] | no_license | ahayat16/lean_exos | d4f08c30adb601a06511a71b5ffb4d22d12ef77f | 682f2552d5b04a8c8eb9e4ab15f875a91b03845c | refs/heads/main | 1,693,101,073,585 | 1,636,479,336,000 | 1,636,479,336,000 | 415,000,441 | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 301 | lean | import data.real.basic
import topology.continuous_function.polynomial
import data.polynomial.basic
import data.polynomial.ring_division
theorem Canadian_MO_Problem_5_1971 (P : polynomial ℤ) : polynomial.to_continuous_map_on P (⊤ : set ℝ) ℝ
-> P.roots ∩ (⊤ : set ℤ) = ∅ := sorry
|
1780c04cab856f21ac3e4ae96c2ec3b7708b1536 | e00ea76a720126cf9f6d732ad6216b5b824d20a7 | /src/data/hash_map.lean | acd1dd088cc49a0cbb2649339e32559ce4569cd3 | [
"Apache-2.0"
] | permissive | vaibhavkarve/mathlib | a574aaf68c0a431a47fa82ce0637f0f769826bfe | 17f8340912468f49bdc30acdb9a9fa02eeb0473a | refs/heads/master | 1,621,263,802,637 | 1,585,399,588,000 | 1,585,399,588,000 | 250,833,447 | 0 | 0 | Apache-2.0 | 1,585,410,341,000 | 1,585,410,341,000 | null | UTF-8 | Lean | false | false | 27,975 | lean | /-
Copyright (c) 2017 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura, Mario Carneiro
-/
import data.list.basic data.pnat.basic data.array.lemmas
logic.basic algebra.group
data.list.defs data.nat.basic data.option.basic
... |
689c945426968bf2005dccff5a50fe38748e58cc | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/algebra/ordered_field.lean | 27b32951a968ea3f2229b9dfb7f70d3fec24e13f | [] | 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 | 37,643 | lean | /-
Copyright (c) 2014 Robert Lewis. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Robert Lewis, Leonardo de Moura, Mario Carneiro, Floris van Doorn
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.default
import Mathlib.algebra.ordered_ring
import Mathlib.algebr... |
44b7b2f78dd8733900de1e4f5cae5c0605339c17 | 74addaa0e41490cbaf2abd313a764c96df57b05d | /Mathlib/Lean3Lib/init/control/monad.lean | 65f5aba4b577bbab98b0ad963e1c256761f9df8a | [] | 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 | 826 | lean | /-
Copyright (c) Luke Nelson and Jared Roesch. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonardo de Moura, Luke Nelson, Jared Roesch, Sebastian Ullrich
-/
import Mathlib.PrePort
import Mathlib.Lean3Lib.init.control.applicative
universes u v l
namespace Mathl... |
cfc3ac7ce012eabc833347ec6842a63676cf5d99 | 8b9f17008684d796c8022dab552e42f0cb6fb347 | /tests/lean/const.lean | 98d8443985c329df42af5863f145bafe4a032813 | [
"Apache-2.0"
] | permissive | chubbymaggie/lean | 0d06ae25f9dd396306fb02190e89422ea94afd7b | d2c7b5c31928c98f545b16420d37842c43b4ae9a | refs/heads/master | 1,611,313,622,901 | 1,430,266,839,000 | 1,430,267,083,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 280 | lean | import logic
definition foo {A : Type} [H : inhabited A] : A :=
inhabited.rec (λa, a) H
constant bla {A : Type} [H : inhabited A] : Type.{1}
set_option pp.implicit true
section
variable A : Type
variable S : inhabited A
variable B : bla
check B
check @foo A _
end
|
0fb3f5ab7f2b246a35a984e05e792b4770bc41a3 | 26bff4ed296b8373c92b6b025f5d60cdf02104b9 | /tests/lean/run/intros.lean | ccd15ba53366b10252bc9f184d972d4c67da4cff | [
"Apache-2.0"
] | permissive | guiquanz/lean | b8a878ea24f237b84b0e6f6be2f300e8bf028229 | 242f8ba0486860e53e257c443e965a82ee342db3 | refs/heads/master | 1,526,680,092,098 | 1,427,492,833,000 | 1,427,493,281,000 | null | 0 | 0 | null | null | null | null | UTF-8 | Lean | false | false | 583 | lean | import logic
open tactic
theorem tst1 (a b : Prop) : a → b → b :=
by intro Ha; intro Hb; apply Hb
theorem tst2 (a b : Prop) : a → b → a ∧ b :=
by intro Ha; intro Hb; rapply and.intro; apply Hb; apply Ha
theorem tst3 (a b : Prop) : a → b → a ∧ b :=
begin
intro Ha,
intro Hb,
apply and.intro,
apply Ha,
apply Hb,
e... |
c75279f29f321df70365a2104b99dc9b588e982f | cbcb0199842f03e7606d4e43666573fc15dd07a5 | /src/analysis/normed_space/deriv.lean | 2948dc35c4ea9f72654d6579fae181a9514b4708 | [
"Apache-2.0"
] | permissive | truonghoangle/mathlib | a6a7c14b3767ec71156239d8ea97f6921fe79627 | 673bae584febcd830c2c9256eb7e7a81e27ed303 | refs/heads/master | 1,590,347,998,944 | 1,559,728,860,000 | 1,559,728,860,000 | 187,431,971 | 0 | 0 | null | 1,558,238,525,000 | 1,558,238,525,000 | null | UTF-8 | Lean | false | false | 50,410 | lean | /-
Copyright (c) 2019 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad, Sébastien Gouëzel
The Fréchet derivative.
Let `E` and `F` be normed spaces, `f : E → F`, and `f' : E →L[k] F` a
bounded k-linear map, where `k` is a non-discrete normed... |
9c25fd3dac199f018878a33917048fe7ea82b539 | 9be442d9ec2fcf442516ed6e9e1660aa9071b7bd | /stage0/src/Std/Data/Queue.lean | 75d9494d8d1e44730569bf12c582a94cc2c1008b | [
"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 | 975 | lean | /-
Copyright (c) 2019 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Daniel Selsam
Simple queue implemented using two lists.
Note: this is only a temporary placeholder.
-/
namespace Std
universe u v w
structure Queue (α : Type u) where
eList ... |
ef151e570c7722948ea29e1796d2a30b17004cc0 | 4d2583807a5ac6caaffd3d7a5f646d61ca85d532 | /src/algebra/category/Group/colimits.lean | 54435db7e69690f4e9ee60454632fca27c863b17 | [
"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 | 9,700 | 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 algebra.category.Group.preadditive
import group_theory.quotient_group
import category_theory.limits.concrete_category
import category_theory.limits.shapes.kern... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.