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
a187822daa8b5f928c4492037c04d0be0fafc9c0
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/stage0/src/Init/Data/Fin/Basic.lean
a91785d33475734185fbbdea548142ace835049a
[ "Apache-2.0" ]
permissive
collares/lean4
861a9269c4592bce49b71059e232ff0bfe4594cc
52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee
refs/heads/master
1,691,419,031,324
1,618,678,138,000
1,618,678,138,000
358,989,750
0
0
Apache-2.0
1,618,696,333,000
1,618,696,333,000
null
UTF-8
Lean
false
false
2,991
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.Nat.Div import Init.Data.Nat.Bitwise import Init.Coe open Nat namespace Fin instance coeToNat {n} : Coe (Fin n) Nat := ⟨fun v =...
8209a25b2dbfcd09310e17b3417dde0959e4e148
a4673261e60b025e2c8c825dfa4ab9108246c32e
/src/Lean/Elab/LetRec.lean
aed232888f8b68941551ee7d89c294ff27695a2f
[ "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
4,890
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.Elab.Attributes import Lean.Elab.Binders import Lean.Elab.DeclModifiers import Lean.Elab.SyntheticMVars namespace Lean.Elab.Term open Meta str...
c19055c040838517609dc5e5fa52f65cd75aac8d
94e33a31faa76775069b071adea97e86e218a8ee
/src/measure_theory/measure/measure_space_def.lean
f47853e491359c31c9bbf87b03952b5e4bb0b3a2
[ "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
22,519
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 -/ import measure_theory.measure.outer_measure import order.filter.countable_Inter import data.set.accumulate /-! # Measure spaces This file defines me...
5b6c3902f0d57780ae5f3527e4d95bb2f54d486f
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/run/matchEqsBug.lean
6b4ea20a4d2c67822434cea48d7133158851728a
[ "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
733
lean
import Lean syntax (name := test) "test%" ident : command open Lean.Elab open Lean.Elab.Command @[commandElab test] def elabTest : CommandElab := fun stx => do let id ← resolveGlobalConstNoOverloadWithInfo stx[1] liftTermElabM none do IO.println (repr (← Lean.Meta.Match.getEquationsFor id)) return () def f...
82b44664fdad9c5036a32f4e51ff90203f3d4065
8eeb99d0fdf8125f5d39a0ce8631653f588ee817
/src/number_theory/arithmetic_function.lean
fadf03036794beac0fadb4c49368c591d2104862
[ "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
7,942
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import algebra.big_operators.ring import number_theory.divisors /-! # Arithmetic Functions and Dirichlet Convolution This file defines arithmetic functions, which a...
5e9738023791952c4e8ad7f80674eb72a287879f
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/impLambdaTac.lean
36f875c72a424bcc0b394c1c5449bb6ea87d52a1
[ "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
681
lean
example (P : Prop) : ∀ {p : P}, P := by exact fun {p} => p example (P : Prop) : ∀ {p : P}, P := by intro h; exact h example (P : Prop) : ∀ {p : P}, P := by exact @id _ example (P : Prop) : ∀ {p : P}, P := by exact no_implicit_lambda% id macro "exact'" x:term : tactic => `(tactic| exact no_implicit_lambda% $...
6e104288d8826b60677874f5e842bbdc591b7d11
bdb33f8b7ea65f7705fc342a178508e2722eb851
/order/boolean_algebra.lean
1a7971f00856941e2918283e3ed6810617e0d0f8
[ "Apache-2.0" ]
permissive
rwbarton/mathlib
939ae09bf8d6eb1331fc2f7e067d39567e10e33d
c13c5ea701bb1eec057e0a242d9f480a079105e9
refs/heads/master
1,584,015,335,862
1,524,142,167,000
1,524,142,167,000
130,614,171
0
0
Apache-2.0
1,548,902,667,000
1,524,437,371,000
Lean
UTF-8
Lean
false
false
3,674
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 Type class hierarchy for Boolean algebras. -/ import order.bounded_lattice set_option old_structure_cmd true namespace lattice universes u variables {α : Type u} {w x ...
793e99c1dc74ef0d146fbe1581411ac582a62512
8b9f17008684d796c8022dab552e42f0cb6fb347
/tests/lean/run/forest.lean
ef0195d040de3f32738de7d92c0f5e2d77956593
[ "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
4,489
lean
import data.prod data.unit open prod inductive tree (A : Type) : Type := | node : A → forest A → tree A with forest : Type := | nil : forest A | cons : tree A → forest A → forest A namespace manual definition tree.below.{l₁ l₂} (A : Type.{l₁}) (C₁ : tree A → Type.{l₂}) (C₂ : forest A → Type.{l₂}) ...
27def045b3aa22b417aa6c8ce7c7e9a010019d49
853df553b1d6ca524e3f0a79aedd32dde5d27ec3
/src/topology/algebra/infinite_sum.lean
2e9a000597b50f1103eb699087d1c14cb9e11ad9
[ "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
35,936
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl Infinite sum over a topological monoid This sum is known as unconditionally convergent, as it sums to the same value under all possible permutations. For Euclidean spa...
94aa0af1ba7abd78c58770301d52b009e42b215b
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/algebra/group_with_zero.lean
43df4f03cee22bf93d957e9250779feaf83168aa
[ "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
36,826
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 logic.nontrivial import algebra.group.commute import algebra.group.units_hom import algebra.group.inj_surj /-! # Groups with an adjoined zero element This fi...
7f6ccc7c8cbb888c30f53897db02dd5fb01dc0d5
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/fintype/order.lean
b3234143e11f735d7980660536b8358b0fac9f55
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
6,156
lean
/- Copyright (c) 2021 Peter Nelson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Peter Nelson, Yaël Dillies -/ import data.fintype.lattice import data.finset.order /-! # Order structures on finite types > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to th...
78b9653c43c4f6af7b321d1d25004f5c8f9491ae
ac89c256db07448984849346288e0eeffe8b20d0
/stage0/src/Lean/Meta/Tactic/Simp/SimpLemmas.lean
cbfa5d3d1d04dec781f538192dcc3db1734e3acc
[ "Apache-2.0" ]
permissive
chepinzhang/lean4
002cc667f35417a418f0ebc9cb4a44559bb0ccac
24fe2875c68549b5481f07c57eab4ad4a0ae5305
refs/heads/master
1,688,942,838,326
1,628,801,942,000
1,628,801,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,172
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.ScopedEnvExtension import Lean.Util.Recognizers import Lean.Meta.LevelDefEq import Lean.Meta.DiscrTree import Lean.Meta.AppBuilder import Lean.M...
5d4b982c1c2b67faae23174bac4e8248b8dc8cbb
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/topology/constructions.lean
e985bca79c8dd9bfd7f252a1794d98b4b2ef7b86
[ "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
32,237
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 -/ import topology.maps /-! # Constructions of new topological spaces from old ones This file constructs products, sums, subtypes and q...
a16f447cf29874842d59a7a3789ee03ce518b6dd
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/finsupp/ne_locus.lean
39b84a7643a10194679154245381a283302e9ef8
[ "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,426
lean
/- Copyright (c) 2022 Damiano Testa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Damiano Testa -/ import data.finsupp.defs /-! # Locus of unequal values of finitely supported functions Let `α N` be two Types, assume that `N` has a `0` and let `f g : α →₀ N` be fin...
569b605958fa000d3872d8c86eb107949a0825a6
d1a52c3f208fa42c41df8278c3d280f075eb020c
/src/Lean/Meta/Check.lean
4cf14d1d0a87900d58ab437e999ee1a4b2ed6555
[ "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
6,900
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.Meta.InferType /- This is not the Kernel type checker, but an auxiliary method for checking whether terms produced by tactics and `isDefEq` are...
439de65a060ec39f8d72cc1ed47ef3cbdceb3a25
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/category_theory/limits/over.lean
18f0c9798aa8333d0b8ec8c041234bb8773bd33e
[ "Apache-2.0" ]
permissive
dupuisf/mathlib
62de4ec6544bf3b79086afd27b6529acfaf2c1bb
8582b06b0a5d06c33ee07d0bdf7c646cae22cf36
refs/heads/master
1,669,494,854,016
1,595,692,409,000
1,595,692,409,000
272,046,630
0
0
Apache-2.0
1,592,066,143,000
1,592,066,142,000
null
UTF-8
Lean
false
false
5,308
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Reid Barton, Bhavik Mehta -/ import category_theory.over import category_theory.limits.preserves universes v u -- declare the `v`'s first; see `category_theory.categor...
5b93d8a43e0c91cddde8a7d9692741e3fce75cef
76df16d6c3760cb415f1294caee997cc4736e09b
/lean/src/interp/sym/thm.lean
a313837493930ee9ec2a7424ee704a29e415fcba
[ "MIT" ]
permissive
uw-unsat/leanette-popl22-artifact
70409d9cbd8921d794d27b7992bf1d9a4087e9fe
80fea2519e61b45a283fbf7903acdf6d5528dbe7
refs/heads/master
1,681,592,449,670
1,637,037,431,000
1,637,037,431,000
414,331,908
6
1
null
null
null
null
UTF-8
Lean
false
false
18,577
lean
import ...cs.svm import ...cs.sym import ...cs.lang import .defs import ..tactic import ...basic.basic namespace interp section interp variables {Model SymB SymV D O : Type} [inhabited Model] [inhabited SymV] {f : sym.factory Model SymB SymV D O} open sym open lang lemma mk_tt_ne_mk_ff : f.mk_tt ≠ f.mk_ff :...
177d0cf906d35f2b5b864b5b861a286451551041
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/category_theory/preadditive.lean
dbd54b7e1e6d4bed90c8eb5fb09f56a8a5ac1abd
[ "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
6,539
lean
/- Copyright (c) 2020 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel -/ import algebra.group.hom import category_theory.limits.shapes.kernels /-! # Preadditive categories A preadditive category is a category in which `X ⟶ Y` is an abelian...
831d0d242dfb8f801673b1e7c28c000934b4cf0f
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch5/ex0402.lean
3cc01f715c7499d6074ebccdc0277d67081ee6d2
[]
no_license
Ailrun/Theorem_Proving_in_Lean
ae6a23f3c54d62d401314d6a771e8ff8b4132db2
2eb1b5caf93c6a5a555c79e9097cf2ba5a66cf68
refs/heads/master
1,609,838,270,467
1,586,846,743,000
1,586,846,743,000
240,967,761
1
0
null
null
null
null
UTF-8
Lean
false
false
348
lean
example (p q r : Prop) : p ∧ (q ∨ r) ↔ (p ∧ q) ∨ (p ∧ r) := begin apply iff.intro, intro h, cases h.right with hq hr, exact or.inl ⟨h.left, hq⟩, exact or.inr ⟨h.left, hr⟩, intro h, cases h with hpq hpr, exact ⟨hpq.left, or.inl hpq.right⟩, exact ⟨hpr.left, or.inr hpr.right⟩ end
0bf3387eb46d75ef3e64c26da2d75bdd19963bb4
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/combinatorics/simple_graph/basic.lean
b41ea9aa0d7e80315f122b71a44eb6345a0d1f3e
[ "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
30,369
lean
/- Copyright (c) 2020 Aaron Anderson, Jalex Stark, Kyle Miller. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson, Jalex Stark, Kyle Miller, Alena Gusakov, Hunter Monroe -/ import data.fintype.basic import data.rel import data.set.finite import data.sym.sym...
06581ce3648837023a3a06602772706030872172
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/src/Lean/Parser/Command.lean
4fe3e584b7327893879d2a3dc5983ab405a669a7
[ "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
tobiasgrosser/lean4
ce0fd9cca0feba1100656679bf41f0bffdbabb71
ebdbdc10436a4d9d6b66acf78aae7a23f5bd073f
refs/heads/master
1,673,103,412,948
1,664,930,501,000
1,664,930,501,000
186,870,185
0
0
Apache-2.0
1,665,129,237,000
1,557,939,901,000
Lean
UTF-8
Lean
false
false
14,639
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, Sebastian Ullrich -/ import Lean.Parser.Term import Lean.Parser.Do namespace Lean namespace Parser /-- Syntax quotation for terms. -/ @[builtinTermParser] d...
3636a15c3c8cbf4b20a34aa6a3e7bd74c738959a
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/topology/algebra/ordered/basic.lean
d673ebad2ed30bb0d247bd3e53ec12c36b7fb355
[ "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
146,579
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import algebra.group_with_zero.power import data.set.intervals.pi import order.filter.interval import topology.algebra.group import t...
ce5ddc4d3d06fc0c7bdb581457233a2c552c510a
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/data/real/pi.lean
580335fa329b132fd58ca616f41a73ee1d81c1f4
[ "Apache-2.0" ]
permissive
ilitzroth/mathlib
ea647e67f1fdfd19a0f7bdc5504e8acec6180011
5254ef14e3465f6504306132fe3ba9cec9ffff16
refs/heads/master
1,680,086,661,182
1,617,715,647,000
1,617,715,647,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
19,769
lean
/- Copyright (c) 2019 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Benjamin Davidson -/ import analysis.special_functions.integrals /-! # Pi This file contains lemmas which establish bounds on or approximations of `real.pi`. Notab...
2221b427d18b661a3f396dead13a97450519ac18
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/src/Lean/AuxRecursor.lean
680a7ab2ae6929463a76dc94f58705818a1beeb3
[ "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
901
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.Environment namespace Lean builtin_initialize auxRecExt : TagDeclarationExtension ← mkTagDeclarationExtension `auxRec @[export lean_mark_aux_...
5148e54150fb5dce792a3afdddfdaef3321444cc
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/string/basic.lean
6c66510d3a53c770fe1fc9b16a88025595d7114b
[ "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,206
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.basic import data.char /-! # Strings Supplementary theorems about the `string` type. -/ namespace string /-- `<` on string iterators. This coinci...
50874f4df26f50931df251221b00454c47f5426e
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/fin_auto.lean
ad6aba4bc644aebeada020e6c60654dcb5a3521c
[]
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
48,403
lean
/- Copyright (c) 2017 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis, Keeley Hoek -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.nat.cast import Mathlib.tactic.localized import Mathlib.order.rel_iso i...
27d5fc10d7b8a2a9b2c530e60cef8b26c2dd6084
6b2a480f27775cba4f3ae191b1c1387a29de586e
/group_rep1/morphism_test.lean
b2a24667a87573ba184fe4d2c60d89026cc7306f
[]
no_license
Or7ando/group_representation
a681de2e19d1930a1e1be573d6735a2f0b8356cb
9b576984f17764ebf26c8caa2a542d248f1b50d2
refs/heads/master
1,662,413,107,324
1,590,302,389,000
1,590,302,389,000
258,130,829
0
1
null
null
null
null
UTF-8
Lean
false
false
1,471
lean
import .group_representation universe variables u v w w' w'' w''' open linear_map variables {G : Type u} [group G] {R : Type v}[ring R] namespace morphism variables {M : Type w} [add_comm_group M] [module R M] {M' : Type w'} [add_comm_group M'] [module R M'] /-- a morphism `f : ρ ⟶ π` between repr...
808f14d831cabda5f5a68f3ca54f201a4ab899ba
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Lean/Data/Lsp/Communication.lean
cbb5252ee894cd506d67064ad0f90415340aa518
[ "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
3,524
lean
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga, Wojciech Nawrocki -/ import Init.System.IO import Lean.Data.JsonRpc /-! Reading/writing LSP messages from/to IO handles. -/ namespace IO.FS.Stream open Lean open Lean...
9e0b2d1273fc2737e62ca3392df5aca513ec09f8
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/linear_algebra/pi.lean
188f34db570b7ba8fff80979bc5e06fee5e97e18
[ "Apache-2.0" ]
permissive
ilitzroth/mathlib
ea647e67f1fdfd19a0f7bdc5504e8acec6180011
5254ef14e3465f6504306132fe3ba9cec9ffff16
refs/heads/master
1,680,086,661,182
1,617,715,647,000
1,617,715,647,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,975
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, Eric Wieser -/ import linear_algebra.basic /-! # Pi types of semimodules This file defines constructors for linear map...
a3690535c59f490c6f99e304818909e5aa78e7b5
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/algebra/homology/homology.lean
ff12762d5061d2359e06bde5ad3443e4e3a2157a
[ "Apache-2.0" ]
permissive
dupuisf/mathlib
62de4ec6544bf3b79086afd27b6529acfaf2c1bb
8582b06b0a5d06c33ee07d0bdf7c646cae22cf36
refs/heads/master
1,669,494,854,016
1,595,692,409,000
1,595,692,409,000
272,046,630
0
0
Apache-2.0
1,592,066,143,000
1,592,066,142,000
null
UTF-8
Lean
false
false
6,743
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Markus Himmel -/ import algebra.homology.chain_complex import algebra.homology.image_to_kernel_map /-! # (Co)homology groups for complexes We setup that part of the t...
32da0c18b1f943fc4d570746702b56944d575208
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/category/CompHaus/basic.lean
ebb5dd0d439574c15e182f7dd7ba825fee051837
[ "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
9,702
lean
/- Copyright (c) 2020 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Topaz, Bhavik Mehta -/ import category_theory.adjunction.reflective import topology.stone_cech import category_theory.monad.limits import topology.urysohns_lemma import topology.cate...
fe976be9a6195a96001188aa34bba554fe9b3f28
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/normed_space/banach.lean
91a2dfc8927d9cbb6a536dba330996c631a976ef
[ "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
21,391
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import topology.metric_space.baire import analysis.normed_space.operator_norm import analysis.normed_space.affine_isometry /-! # Banach open mapping theorem T...
e7a378c3cf682f48e35fe78167d45516ea6a7f9b
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/calculus/lhopital.lean
451bad09d3c04db21945d16ff5dfcf3c2b972fcd
[ "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
24,816
lean
/- Copyright (c) 2020 Anatole Dedecker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anatole Dedecker -/ import analysis.calculus.mean_value /-! # L'Hôpital's rule for 0/0 indeterminate forms In this file, we prove several forms of "L'Hopital's rule" for computing ...
3413988cc4f070acc3c973e5a4e6d9106fcde318
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/complex/cardinality.lean
1bbabbe9cde5e59cb49bcb3a36d7d676d92015ab
[ "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
955
lean
/- Copyright (c) 2022 Violeta Hernández Palacios. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Violeta Hernández Palacios -/ import data.complex.basic import data.real.cardinality /-! # The cardinality of the complex numbers This file shows that the complex number...
e805bea71264bf081cb3d8898c6b9f6065db0b3f
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/mean_inequalities_pow.lean
e639c518c2bffc1b5b10b7f4f9d8d88249564706
[ "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
16,243
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov, Sébastien Gouëzel, Rémy Degenne -/ import analysis.convex.jensen import analysis.convex.specific_functions.basic import analysis.special_functions.pow.nnreal import t...
55d42a63122371edd8cdf21c6a578fa93ab92ec2
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/root.lean
b1397de2d5cd899bc9aa180b1ef3a8584ac7f5ba
[ "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
225
lean
constant foo : Prop namespace N1 constant foo : Prop check N1.foo check _root_.foo namespace N2 constant foo : Prop check N1.foo check N1.N2.foo print raw foo print raw _root_.foo end N2 end N1
73144394b8edf9720f0854cd862e62cc75376b0e
d29d82a0af640c937e499f6be79fc552eae0aa13
/src/topology/subset_properties.lean
ce4d7f269f78ec2a4f8f077880dd37a856090470
[ "Apache-2.0" ]
permissive
AbdulMajeedkhurasani/mathlib
835f8a5c5cf3075b250b3737172043ab4fa1edf6
79bc7323b164aebd000524ebafd198eb0e17f956
refs/heads/master
1,688,003,895,660
1,627,788,521,000
1,627,788,521,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
66,591
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov -/ import topology.bases import data.finset.order import data.set.accumulate /-! # Properties of subsets of topological spaces In this...
e92b7b9718ab5cf184bdae63307edbb35d386b05
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/analysis/convex/between.lean
c93700712f53ec88b000ccfdb135903b5dc4516e
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
22,187
lean
/- Copyright (c) 2022 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers -/ import data.set.intervals.group import analysis.convex.segment import linear_algebra.affine_space.finite_dimensional import tactic.field_simp /-! # Betweenness in affine...
51870a5ccf154cae7e89b48729eecc05aab0bb58
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/seq/parallel.lean
9d65207055b69187ea78930c9f8a22efcec62b25
[]
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,956
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Parallel computation of a computable sequence of computations by a diagonal enumeration. The important theorems of this operation are proven as terminates_paralle...
558af43ba290f592f0a20073731922c5f68f9b9b
82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7
/stage0/src/Lean/Compiler/ExternAttr.lean
b67206dcc7c745fd25377b6606aad0725959a7ff
[ "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
6,857
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.Expr import Lean.Environment import Lean.Attributes import Lean.ProjFns import Lean.Meta.Basic namespace Lean inductive ExternEntry | adhoc ...
f7881a1c3a43522c54f8e668c7d3ce9d7e59ed24
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Lean/Meta/AbstractNestedProofs.lean
00c5fd1e96e952beb8650b7ff8820b0d24ef8040
[ "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
3,020
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.Closure namespace Lean.Meta namespace AbstractNestedProofs def isNonTrivialProof (e : Expr) : MetaM Bool := do if !(← isProof e) then ...
4528b3332f3f8f25c15fb7cf295bc7674fdc6df5
9c2e8d73b5c5932ceb1333265f17febc6a2f0a39
/src/K/semantics.lean
3616a9379ddbaaa4a6cff9e2c928bec2c3c56074
[ "MIT" ]
permissive
minchaowu/ModalTab
2150392108dfdcaffc620ff280a8b55fe13c187f
9bb0bf17faf0554d907ef7bdd639648742889178
refs/heads/master
1,626,266,863,244
1,592,056,874,000
1,592,056,874,000
153,314,364
12
1
null
null
null
null
UTF-8
Lean
false
false
13,267
lean
import .ops open subtype nnf @[simp] def force {states : Type} (k : kripke states) : states → nnf → Prop | s (var n) := k.val n s | s (neg n) := ¬ k.val n s | s (and φ ψ) := force s φ ∧ force s ψ | s (or φ ψ) := force s φ ∨ force s ψ | s (box φ) := ∀ s', k.rel s s' → force s' φ | s (dia φ) := ∃ s', k.re...
4d64085d8ae65207dc4d138ad4b7f586cdf7e30a
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/measure_theory/function/conditional_expectation/indicator.lean
75145fe2c871c5d336b77ddebd03df048db2393c
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
9,859
lean
/- Copyright (c) 2022 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne -/ import measure_theory.function.conditional_expectation.basic /-! # Conditional expectation of indicator functions This file proves some results about the conditional ...
ddb1821be140ee950ace241e9bf2fc1e5bf09728
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/src/Lean/Parser/Do.lean
5adfafc70df4d7f521a573c94a64ef743d282d2f
[ "Apache-2.0" ]
permissive
williamdemeo/lean4
72161c58fe65c3ad955d6a3050bb7d37c04c0d54
6d00fcf1d6d873e195f9220c668ef9c58e9c4a35
refs/heads/master
1,678,305,356,877
1,614,708,995,000
1,614,708,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,254
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Parser.Term namespace Lean namespace Parser builtin_initialize registerBuiltinParserAttribute `builtinDoElemParser `doElem builtin_initialize ...
a62b6a6e74ca9f04c07002832e1a36ea4b8f41e3
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/linear_algebra/multilinear/basic.lean
1bc50a50377a7730ccc1d17e9628b20916dae44d
[ "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
61,903
lean
/- Copyright (c) 2020 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import linear_algebra.basic import algebra.algebra.basic import algebra.big_operators.order import algebra.big_operators.ring import data.list.fin_range import ...
59510d908dfcbe093a8198a619cc1b28037ce07f
618003631150032a5676f229d13a079ac875ff77
/src/data/int/modeq.lean
9ca4fe3791516e0701b553819c49a3a827097273
[ "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
6,036
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.nat.modeq import tactic namespace int def modeq (n a b : ℤ) := a % n = b % n notation a ` ≡ `:50 b ` [ZMOD `:50 n `]`:0 := modeq n a b namespace modeq var...
97d838b707475d6f18a01aaeb624d3fad46b7bf1
130c49f47783503e462c16b2eff31933442be6ff
/src/Lean/Parser/Command.lean
139f544776f77337f973ab0ec183c420e5f93e92
[ "Apache-2.0" ]
permissive
Hazel-Brown/lean4
8aa5860e282435ffc30dcdfccd34006c59d1d39c
79e6732fc6bbf5af831b76f310f9c488d44e7a16
refs/heads/master
1,689,218,208,951
1,629,736,869,000
1,629,736,896,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,226
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, Sebastian Ullrich -/ import Lean.Parser.Term import Lean.Parser.Do namespace Lean namespace Parser /-- Syntax quotation for terms and (lists of) commands....
a50538434f60c2dc789cc531a57500efafe338cc
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/tactic/squeeze.lean
7b6c8f553a25074b9ab0e65bb7dc88a8760c7819
[ "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
14,037
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 := "⊢"...
e7448b7e675fd6ee56b33d4b27ea26bc862bc804
26ac254ecb57ffcb886ff709cf018390161a9225
/src/topology/category/Top/opens.lean
1def8a7a375c1e87f2a0e7c4f2b04669891e5128
[ "Apache-2.0" ]
permissive
eric-wieser/mathlib
42842584f584359bbe1fc8b88b3ff937c8acd72d
d0df6b81cd0920ad569158c06a3fd5abb9e63301
refs/heads/master
1,669,546,404,255
1,595,254,668,000
1,595,254,668,000
281,173,504
0
0
Apache-2.0
1,595,263,582,000
1,595,263,581,000
null
UTF-8
Lean
false
false
3,866
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 topology.category.Top.basic import category_theory.eq_to_hom open category_theory open topological_space open opposite universe u namespace topological_spac...
924df4767c1ffe287fddb3c965c5d2da7a86573e
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/mk_inhabited1.lean
efd321e939f388d3068c85a5625dd8e57b2373ac
[ "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
498
lean
open tactic definition nat_inhabited : inhabited nat := by mk_inhabited_instance definition list_inhabited {A : Type} : inhabited (list A) := by mk_inhabited_instance definition prod_inhabited {A B : Type} [inhabited A] [inhabited B] : inhabited (A × B) := by mk_inhabited_instance definition sum_inhabited₁ {A B : T...
b6cf44dbe77aab682f360217fc3e66f4210f87da
d642a6b1261b2cbe691e53561ac777b924751b63
/src/algebra/group/units.lean
7d10b122218183bfcfed4dc3f1dabd7af2e996de
[ "Apache-2.0" ]
permissive
cipher1024/mathlib
fee56b9954e969721715e45fea8bcb95f9dc03fe
d077887141000fefa5a264e30fa57520e9f03522
refs/heads/master
1,651,806,490,504
1,573,508,694,000
1,573,508,694,000
107,216,176
0
0
Apache-2.0
1,647,363,136,000
1,508,213,014,000
Lean
UTF-8
Lean
false
false
5,597
lean
/- Copyright (c) 2017 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro, Johannes, Hölzl, Chris Hughes Units (i.e., invertible elements) of a multiplicative monoid. -/ import tactic.basic logic.function universe u variable {α : Type...
39d9ab33ad29b1e358f27598df6365bdba20c264
9dc8cecdf3c4634764a18254e94d43da07142918
/src/measure_theory/measure/hausdorff.lean
fb4aa3800f7ecdd28d110f0bdc3270713d234dc6
[ "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
44,836
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.special_functions.pow import logic.equiv.list import measure_theory.constructions.borel_space import measure_theory.measure.lebesgue import topology...
306b942389939957274e2640f24feef223b570d1
0b3933727d99a2f351f5dbe6e24716bb786a6649
/src/sesh/eval.lean
741a614ef1439844b303b4bb9da2a48c4870d10a
[]
no_license
Vtec234/lean-sesh
1e770858215279f65aba92b4782b483ab4f09353
d11d7bb0599406e27d3a4d26242aec13d639ecf7
refs/heads/master
1,587,497,515,696
1,558,362,223,000
1,558,362,223,000
169,809,439
2
0
null
null
null
null
UTF-8
Lean
false
false
16,363
lean
/- Introduces evaluation contexts. -/ import sesh.term import sesh.ren_sub open term open matrix universes u v w /- Oh no, additional axioms. -/ axiom heq.congr {α γ : Sort u} {β δ : Sort v} {f₁ : α → β} {f₂ : γ → δ} {a₁ : α} {a₂ : γ} (h₁ : f₁ == f₂) (h₂ : a₁ == a₂) : f₁ a₁ == f₂ a₂ axiom heq.dcongr {α β : Sort u}...
cabe2b629f7983c6c2df6ae4c2fdc04d060ffa3d
9dc8cecdf3c4634764a18254e94d43da07142918
/src/linear_algebra/projective_space/basic.lean
cde97cc906b6b144cc28ffd532a27591bc8ef6f8
[ "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
8,247
lean
/- Copyright (c) 2022 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Topaz -/ import linear_algebra.finite_dimensional /-! # Projective Spaces This file contains the definition of the projectivization of a vector space over a field, as well as the b...
aad4a85e0149639d6edee02e5badb6a8655b7338
9cb9db9d79fad57d80ca53543dc07efb7c4f3838
/src/for_mathlib/normed_group_hom.lean
1249292d260739bbb3c294599ff3795bf5241e88
[]
no_license
mr-infty/lean-liquid
3ff89d1f66244b434654c59bdbd6b77cb7de0109
a8db559073d2101173775ccbd85729d3a4f1ed4d
refs/heads/master
1,678,465,145,334
1,614,565,310,000
1,614,565,310,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
22,606
lean
import analysis.normed_space.basic import topology.sequences open_locale nnreal big_operators /-! # Normed groups homomorphisms This file gathers definitions and elementary constructions about bounded group homormorphisms between normed groups (abreviated to "normed group homs"). The main lemmas relate the boundedne...
5645b859097d1d46d9cd60febd80b11590a6941c
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/set_theory/ordinal/topology.lean
329858582a3482ea7b2e3874e54e60dc22e1e5e4
[ "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
9,816
lean
/- Copyright (c) 2022 Violeta Hernández Palacios. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Violeta Hernández Palacios -/ import set_theory.ordinal.arithmetic import topology.order.basic /-! ### Topology of ordinals > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > A...
cd6df32131e927f5d4c8c7dea640f86a8d70cc6b
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/stage0/src/Init/Lean/Elab/App.lean
9e4ac2541c080cd49e587c84730e59abc1f1956c
[ "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
29,990
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.Util.FindMVar import Init.Lean.Elab.Term import Init.Lean.Elab.Binders namespace Lean namespace Elab namespace Term /-- Auxiliar...
ea85df670f2c0f93eeab7cde1fef92da7fe5ca27
db7224090b4cb10a7442cf43e9b01a18cd5456b4
/Maze.lean
276a7ec53f1dfe13079f0840162cb0297fac36c8
[ "Apache-2.0" ]
permissive
bollu/lean4-maze
324a5664c34037755be995f475c9368e49cb8d1e
ac96b971ab40dc00461e404643f8efd54645f27c
refs/heads/main
1,690,952,076,496
1,633,661,863,000
1,633,661,863,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
15,092
lean
import Lean -- Turn off pp.analyze. When pp.analyze is set to true (the default), some of our -- larger mazes take a long time to display. set_option pp.analyze false -- Coordinates in a two dimensional grid. ⟨0,0⟩ is the upper left. structure Coords where x : Nat -- column number y : Nat -- row number deriving B...
3e79d39169497251c773d21dd270961c08984d59
271e26e338b0c14544a889c31c30b39c989f2e0f
/stage0/src/Init/Data/PersistentHashSet.lean
9a63be93b666a0fb26e122060fc6d715a348cf05
[ "Apache-2.0" ]
permissive
dgorokho/lean4
805f99b0b60c545b64ac34ab8237a8504f89d7d4
e949a052bad59b1c7b54a82d24d516a656487d8a
refs/heads/master
1,607,061,363,851
1,578,006,086,000
1,578,006,086,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,460
lean
/- Copyright (c) 2019 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.PersistentHashMap universes u v structure PersistentHashSet (α : Type u) [HasBeq α] [Hashable α] := (set : PersistentHashMap α Uni...
a28c4caf7b751140459842e1d5e4b8ea0aafed1d
618003631150032a5676f229d13a079ac875ff77
/src/order/filter/lift.lean
8858d6693f73e464f30a64ca68f2c865a2d56c05
[ "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
16,554
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 Lift filters along filter and set functions. -/ import order.filter.basic open set open_locale classical namespace filter variables {α : Type*} {β : Type*} {γ : Type...
e033ccf5fc8a282b825be13ba87e50a42c89950f
246309748072bf9f8da313401699689ebbecd94d
/src/algebra/category/CommRing/limits.lean
db01f7cdb62ec4adcc2a4aca623112b20d26537f
[ "Apache-2.0" ]
permissive
YJMD/mathlib
b703a641e5f32a996f7842f7c0043bab2b462ee2
7310eab9fa8c1b1229dca42682f1fa6bfb7dbbf9
refs/heads/master
1,670,714,479,314
1,599,035,445,000
1,599,035,445,000
292,279,930
0
0
null
1,599,050,561,000
1,599,050,560,000
null
UTF-8
Lean
false
false
14,919
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.ring.pi import algebra.category.CommRing.basic import algebra.category.Group.limits import deprecated.subring import ring_theory.subsemiring /-! # The...
d1aed215a25edd9dedd232dc09465886b2caf0f0
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/ring_theory/local_properties.lean
b862b968f5e3793d3e29cc6dc13ca336a72b2879
[ "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
28,730
lean
/- Copyright (c) 2021 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import ring_theory.finite_type import ring_theory.localization.at_prime import ring_theory.localization.away import ring_theory.localization.integer import ring_theory.loca...
68fb3491bebda2c5070906cc8742c58b02b24125
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/lie/skew_adjoint.lean
4c3ea50651cbeb6c3c914adc9d57a7c80e041f27
[ "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
7,200
lean
/- Copyright (c) 2020 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import algebra.lie.matrix import linear_algebra.matrix.bilinear_form /-! # Lie algebras of skew-adjoint endomorphisms of a bilinear form When a module carries a bilinear ...
2b6fc0ac3a5ff4a9614444da719af7a67a18875a
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/attrs.lean
6dcbb0649a7b2fa138d39de2064a0fb46bb7cdce
[ "Apache-2.0" ]
permissive
soonhokong/lean
cb8aa01055ffe2af0fb99a16b4cda8463b882cd1
38607e3eb57f57f77c0ac114ad169e9e4262e24f
refs/heads/master
1,611,187,284,081
1,450,766,737,000
1,476,122,547,000
11,513,992
2
0
null
1,401,763,102,000
1,374,182,235,000
C++
UTF-8
Lean
false
false
267
lean
structure A : Type := (a : nat) structure B : Type := (a : nat) structure C : Type := (a : nat) constant f : A → B constant g : B → C constant h : C → C constant a : A attribute f g [coercion] set_option pp.coercions true set_option pp.beta true check h a
492eb19efcadf8c6b42eb94f937dbada68fe32a3
07c76fbd96ea1786cc6392fa834be62643cea420
/hott/algebra/category/functor/basic.hlean
f6dd0996695aab29c34371e4bc556b523eea0480
[ "Apache-2.0" ]
permissive
fpvandoorn/lean2
5a430a153b570bf70dc8526d06f18fc000a60ad9
0889cf65b7b3cebfb8831b8731d89c2453dd1e9f
refs/heads/master
1,592,036,508,364
1,545,093,958,000
1,545,093,958,000
75,436,854
0
0
null
1,480,718,780,000
1,480,718,780,000
null
UTF-8
Lean
false
false
13,878
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Jakob von Raumer -/ import ..iso types.pi open function category eq prod prod.ops equiv is_equiv sigma sigma.ops is_trunc funext iso pi structure functor (C D : ...
c56afd4d327fef1699beb09621909acd96feee1e
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/compiler/phashmap2.lean
6285c13184704a0a27ecc9fc73b5b7298bed5c7e
[ "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
1,572
lean
import Std.Data.PersistentHashMap import Lean.Data.Format open Lean Std Std.PersistentHashMap abbrev Map := PersistentHashMap Nat Nat partial def formatMap : Node Nat Nat → Format | Node.collision keys vals _ => Format.sbracket $ keys.size.fold (fun i fmt => let k := keys.get! i; let v := vals.get...
85c207b198b58280cb7f9af4d5b3a3a2a878f070
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/crashDiv0.lean
2d487f44c5b5798cf29618aaa0108b5a342f1879
[ "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
30
lean
#eval (2147483648 % 0) + (-0)
386c77ce138dfe151511b5af9b36226e6e77feed
63abd62053d479eae5abf4951554e1064a4c45b4
/src/measure_theory/probability_mass_function.lean
925e323d12f09da8ec415efaa128f5dcdf809e92
[ "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
6,028
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl -/ import topology.instances.ennreal /-! # Probability mass functions This file is about probability mass functions or discrete probability measures: a function `α → ℝ≥...
c28fea5d3e69153d4287c3f5c6e0846675ea9ece
cb3da1b91380e7462b579b426a278072c688954a
/src/playground.lean
03dcc7a80c8b7b68595b04763561acf8564c194c
[]
no_license
hcheval/tikhonov-mann
35c93e46a8287f6479a848a9d4f02013e0bc2035
6ab7fcefe9e1156c20bd5d1998a7deabd1eeb018
refs/heads/master
1,689,232,126,344
1,630,182,255,000
1,630,182,255,000
399,859,996
0
0
null
null
null
null
UTF-8
Lean
false
false
2,981
lean
import tactic import data.real.basic import topology.metric_space.basic open_locale big_operators #print finset.sum_mono_set_of_nonneg open finset (range) example (n m : ℕ) (h : n ≤ m) : finset.range n ≤ finset.range m := finset.range_mono h lemma nonneg_sub_of_nonneg_sum {x : ℕ → ℝ} {n j : ℕ} (x_nonneg : ∀ i, ...
675d1888bff891e251cf28d2fc22c8d7bc9acb32
137c667471a40116a7afd7261f030b30180468c2
/src/analysis/calculus/fderiv_symmetric.lean
15f7100ce6d6f9dbb737220a65931be6adb36d5a
[ "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
19,496
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 analysis.calculus.deriv import analysis.convex.topology import analysis.calculus.mean_value /-! # Symmetry of the second derivative We show that, over ...
4d9aefd406e82c6d7db460b28aeaaa764f22f093
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/library/data/pnat.lean
8c90792bd474de08d839830feb2448fd3348beef
[ "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
12,725
lean
/- Copyright (c) 2015 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Robert Y. Lewis Basic facts about the positive natural numbers. Developed primarily for use in the construction of ℝ. For the most part, the only theorems here are those needed for t...
3eddd95ab99f2d54578f0b07fcf8e2518ad8d080
5abe9de35738a0e2931cac47648658509f165c1e
/Prova_em_Lean/Exercicios_a_c_d_e.lean
4eea92561c6dff409a2fd9af890a740c16f00146
[]
no_license
AlessandroDangelo/Matem-tica-Discreta-1
2d827d50d5c48144e4783e85af6e87d1a515b0b5
b154612d20d88a9fb173a238aa2a9f8e5375d9f7
refs/heads/main
1,680,075,356,062
1,617,378,986,000
1,617,378,986,000
354,065,141
0
0
null
null
null
null
UTF-8
Lean
false
false
586
lean
variables P Q S T R : Prop. lemma exA (H1 : (P ∧ Q) ∧ R) (H2 : S ∧ T) : Q ∧ S := and.intro -- Q ∧ S (and.elim_right --Q (and.elim_left H1)) (and.elim_left H2). -- S lemma exC (H1 : P) (H2 : P →(P → Q)) : Q := show Q, from (H2...
e96d9628e09de6153c7e0fcb09264c0af4e7929b
c777c32c8e484e195053731103c5e52af26a25d1
/src/data/int/interval.lean
4856c9e4000093df436a4d5e60f4116d90e7c684
[ "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
7,035
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 algebra.char_zero.lemmas import order.locally_finite import data.finset.locally_finite /-! # Finite intervals of integers > THIS FILE IS SYNCHRONIZED WITH MATHLI...
77f89eabf3ba979a46e6383422a6ab1693967e8d
94e33a31faa76775069b071adea97e86e218a8ee
/src/geometry/manifold/smooth_manifold_with_corners.lean
8c6bf28da0a37d9855db99ae4dec9af670476df8
[ "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
42,081
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.cont_diff import geometry.manifold.charted_space /-! # Smooth manifolds (possibly with boundary or corners) A smooth manifold is a ma...
5a3bbcbe8361d2c068cd7c444d338be98e017b3b
ad0c7d243dc1bd563419e2767ed42fb323d7beea
/data/nat/gcd.lean
d982fcfb84d1441eaaddb0df4a0d4a34b9ae69db
[ "Apache-2.0" ]
permissive
sebzim4500/mathlib
e0b5a63b1655f910dee30badf09bd7e191d3cf30
6997cafbd3a7325af5cb318561768c316ceb7757
refs/heads/master
1,585,549,958,618
1,538,221,723,000
1,538,221,723,000
150,869,076
0
0
Apache-2.0
1,538,229,323,000
1,538,229,323,000
null
UTF-8
Lean
false
false
11,431
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 Definitions and properties of gcd, lcm, and coprime. -/ import data.nat.basic namespace nat /- gcd -/ theorem gcd_dvd (m n : ℕ) : (gcd m n ∣ m) ∧ (g...
9771c8396a66a58b88acde4de747fe27e7e54c4c
66a6486e19b71391cc438afee5f081a4257564ec
/choice.hlean
79c6f9fa8d5c819ba979188dcdbecda8e75a0cfe
[ "Apache-2.0" ]
permissive
spiceghello/Spectral
c8ccd1e32d4b6a9132ccee20fcba44b477cd0331
20023aa3de27c22ab9f9b4a177f5a1efdec2b19f
refs/heads/master
1,611,263,374,078
1,523,349,717,000
1,523,349,717,000
92,312,239
0
0
null
1,495,642,470,000
1,495,642,470,000
null
UTF-8
Lean
false
false
3,389
hlean
import types.trunc types.sum types.lift types.unit open pi prod sum unit bool trunc is_trunc is_equiv eq equiv lift pointed namespace choice -- the following brilliant name is from Agda definition unchoose [unfold 4] (n : ℕ₋₂) {X : Type} (A : X → Type) : trunc n (Πx, A x) → Πx, trunc n (A x) := trunc.elim (λf x, tr ...
682c0488a169b11f8688041469ad6c6e8024f477
47181b4ef986292573c77e09fcb116584d37ea8a
/src/for_mathlib/padic_norm.lean
7d26ae902fea94448757b04b3d584da531eeade7
[ "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
384
lean
import data.nat.basic import data.nat.prime import number_theory.padics.padic_norm theorem padic_norm_primes {p q: ℕ} [p_prime: fact (nat.prime p)] [q_prime: fact (nat.prime q)] (neq: p ≠ q): padic_norm p q = 1 := begin have p: padic_val_rat p q = 0, exact_mod_cast @padic_val_nat_primes p q p_prime q_prime neq, ...
9268e0730248a9b63225a448d16663db91c47514
c777c32c8e484e195053731103c5e52af26a25d1
/src/order/upper_lower/basic.lean
d95fe66e45e026b611033d0d92f90fcbd5259023
[ "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
44,392
lean
/- Copyright (c) 2022 Yaël Dillies, Sara Rousta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies, Sara Rousta -/ import data.set_like.basic import data.set.intervals.ord_connected import data.set.intervals.order_iso /-! # Up-sets and down-sets > THIS FILE...
ef5d906e5f03e7f54518393536ec1d1abd90b15b
f70b31f6396d12f83817534a1579ad4102d34497
/checker.lean
097315193ff4fd367ba8973ad8e8493397c2e1ec
[]
no_license
asi1024/topprover-lean-example
cf3eeb017ebfc5547c56d41f490b471d54783171
3507da918fe235599776f6367e2603c0375e00e0
refs/heads/master
1,609,053,679,942
1,580,697,001,000
1,580,697,001,000
237,811,882
0
0
null
null
null
null
UTF-8
Lean
false
false
90
lean
import .problem import .solution theorem checker: prob := begin exact solution end
46fb8c8d430f81f60c6ec17304f5059b5ce881a4
3dd1b66af77106badae6edb1c4dea91a146ead30
/tests/lean/run/tactic1.lean
c7d76b4727bdd91bb04a62123512dd2a9f08d99f
[ "Apache-2.0" ]
permissive
silky/lean
79c20c15c93feef47bb659a2cc139b26f3614642
df8b88dca2f8da1a422cb618cd476ef5be730546
refs/heads/master
1,610,737,587,697
1,406,574,534,000
1,406,574,534,000
22,362,176
1
0
null
null
null
null
UTF-8
Lean
false
false
94
lean
import standard using tactic theorem tst {A B : Prop} (H1 : A) (H2 : B) : A := by assumption
9c2f6505453285940b5ca671b928cb605f74b370
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/data/nat/upto.lean
279afbbaafd135eac0d71de77a4e4f149cc8d48d
[ "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
2,378
lean
/- Copyright (c) 2020 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon -/ import data.nat.basic /-! # `nat.upto` `nat.upto p`, with `p` a predicate on `ℕ`, is a subtype of elements `n : ℕ` such that no value (strictly) below `n` satisfies `p`. ...
64abe02ec558d6846334d57408fe10134748b156
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/group_theory/perm/sign.lean
56ab7238c087f5e357bebb9101dac8771c081dd8
[ "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
31,114
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 data.finset.sort import data.nat.parity import group_theory.perm.support import group_theory.order_of_element import tactic.norm_swap imp...
dad8177800f4b20e6f68ff4082c7a6ffd502622c
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/subtype.lean
ac204394899cf60c78f22abfc83e19ac79f769e9
[ "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
8,254
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 logic.function.basic import tactic.ext import tactic.simps /-! # Subtypes > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > https://github.com/leanprover-communit...
b096148cf8c0bc57a9c57bf8624bcdea253a562a
df7bb3acd9623e489e95e85d0bc55590ab0bc393
/lean/love01_definitions_and_statements_homework_sheet.lean
ee33c4e7ce40dc75472349497e84dd7915896359
[]
no_license
MaschavanderMarel/logical_verification_2020
a41c210b9237c56cb35f6cd399e3ac2fe42e775d
7d562ef174cc6578ca6013f74db336480470b708
refs/heads/master
1,692,144,223,196
1,634,661,675,000
1,634,661,675,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,706
lean
import .love01_definitions_and_statements_demo /- # LoVe Homework 1: Definitions and Statements Homework must be done individually. Replace the placeholders (e.g., `:= sorry`) with your solutions. -/ set_option pp.beta true set_option pp.generalized_field_notation false namespace LoVe /- ## Question 1 (1 point...
d2dd1323d712ff52d66dff11597398e237556edd
fef48cac17c73db8662678da38fd75888db97560
/src/fib_mod.lean
33dc3e2a8827408df21250b2e905a52c91d8845c
[]
no_license
kbuzzard/lean-squares-in-fibonacci
6c0d924f799d6751e19798bb2530ee602ec7087e
8cea20e5ce88ab7d17b020932d84d316532a84a8
refs/heads/master
1,584,524,504,815
1,582,387,156,000
1,582,387,156,000
134,576,655
3
1
null
1,541,538,497,000
1,527,083,406,000
Lean
UTF-8
Lean
false
false
3,906
lean
import definitions import data.list.basic definition fib_mod (m : ℕ) : ℕ → ℕ | 0 := 0 % m | 1 := 1 % m | (n + 2) := ( (fib_mod n) + (fib_mod (n + 1)) ) % m def luc_mod (m : ℕ) : ℕ → ℕ | 0 := 2 % m | 1 := 1 % m | (n + 2) := ( (luc_mod n) + (luc_mod (n + 1)) ) % m theorem luc_mod_is_luc (m : ℕ) : ∀ r : ℕ, luc_mod m ...
cd43cdf6d6adfea9b42c1cea6aa4300566576b09
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/measure_theory/measurable_space.lean
837e73c7995e6cf4706c32e6eb11f5219c743b0d
[ "Apache-2.0" ]
permissive
JLimperg/aesop3
306cc6570c556568897ed2e508c8869667252e8a
a4a116f650cc7403428e72bd2e2c4cda300fe03f
refs/heads/master
1,682,884,916,368
1,620,320,033,000
1,620,320,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
53,741
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 -/ import data.set.disjointed import data.set.countable import data.indicator_function import data.equiv.encodable.lattice import data.tprod import order...
332ecd82572d5bb652402450504f10975a03e08a
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/bad_structures.lean
fe86c887c83f1c1cca96f5cf5976b280a1c127ca
[ "Apache-2.0" ]
permissive
soonhokong/lean
cb8aa01055ffe2af0fb99a16b4cda8463b882cd1
38607e3eb57f57f77c0ac114ad169e9e4262e24f
refs/heads/master
1,611,187,284,081
1,450,766,737,000
1,476,122,547,000
11,513,992
2
0
null
1,401,763,102,000
1,374,182,235,000
C++
UTF-8
Lean
false
false
357
lean
prelude namespace foo structure prod.{l} (A : Type.{l}) (B : Type.{l}) := (pr1 : A) (pr2 : B) structure prod.{l} (A : Type.{l}) (B : Type.{l}) : Type := (pr1 : A) (pr2 : B) structure prod.{l} (A : Type.{l}) (B : Type.{l}) : Type.{l} := (pr1 : A) (pr2 : B) structure prod2.{l} (A : Type.{l}) (B : Type.{l}) : Type.{max...
5120aafb304c3655231612d2073c5220b457c236
df7bb3acd9623e489e95e85d0bc55590ab0bc393
/lean/lovelib.lean
eadde76649c501e2bbfe7e5ffc3dfe11e6de96ed
[]
no_license
MaschavanderMarel/logical_verification_2020
a41c210b9237c56cb35f6cd399e3ac2fe42e775d
7d562ef174cc6578ca6013f74db336480470b708
refs/heads/master
1,692,144,223,196
1,634,661,675,000
1,634,661,675,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,782
lean
import algebra import data.real.basic import data.vector import tactic.explode import tactic.find import tactic.induction import tactic.linarith import tactic.rcases import tactic.rewrite import tactic.ring_exp import tactic.tidy import tactic.where /- # LoVe Library This files contains a few extensions on top of Le...
73ca8fb7a1541801f468a67f9b76017356f1dd3b
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/field_theory/polynomial_galois_group.lean
e1e4775ecccbbe6b03116f142bb0160e4e2f475c
[ "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
21,450
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 analysis.complex.polynomial import field_theory.galois import group_theory.perm.cycle_type import ring_theory.eisenstein_criteri...
c06411c3f38c052d0b3454c7c16e7b71ef7baa2b
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/def1.lean
5f089f6c50afe7ba885db9105f87fac38a742b88
[ "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
367
lean
namespace tst variable {A : Type} attribute [reducible] definition foo₁ (a b c : A) (H₁ : a = b) (H₂ : c = b) : a = c := eq.trans H₁ (eq.symm H₂) lemma foo₂ (f : A → A → A) (a b c : A) (H₁ : a = b) (H₂ : c = b) : f a = f c := eq.symm H₂ ▸ H₁ ▸ rfl check foo₁ check foo₂ end tst check tst.foo₁ check tst.foo₂ print ...
b8c0e0230f3d7933e21bc0e8f47082c10fcf7b3e
7cef822f3b952965621309e88eadf618da0c8ae9
/src/tactic/interactive.lean
17b0c8cd45c5c19d00dca57a88a6310a1b396853
[ "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
30,241
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Simon Hudon, Sebastien Gouezel, Scott Morrison -/ import tactic.lint open lean open lean.parser local postfix `?`:9001 := optional local postfix *:9001 := many name...
92ea823555ada10268db138aa690618c3199d07c
12dabd587ce2621d9a4eff9f16e354d02e206c8e
/world02/level06.lean
aa971556194ccfac8010370ed8452d3a1580badf
[]
no_license
abdelq/natural-number-game
a1b5b8f1d52625a7addcefc97c966d3f06a48263
bbddadc6d2e78ece2e9acd40fa7702ecc2db75c2
refs/heads/master
1,668,606,478,691
1,594,175,058,000
1,594,175,058,000
278,673,209
0
1
null
null
null
null
UTF-8
Lean
false
false
123
lean
lemma add_right_comm (a b c : mynat) : a + b + c = a + c + b := begin rw add_assoc, rw add_assoc, rw add_comm b, refl, end
3def084a6add64646b2be5f8efc491c9ffc12bb5
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/linear_algebra/contraction.lean
cbaa519592cdfd80d2ae4b3ea5d37e5833f1befa
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
12,321
lean
/- Copyright (c) 2020 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash, Antoine Labelle -/ import linear_algebra.dual import linear_algebra.matrix.to_lin /-! # Contractions > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file r...
654de50b80145af7df1eefa843e3474e949289f6
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/library/tools/super/misc_preprocessing.lean
8689a3275838ba548a7c23ddd1a6d76a17f6da6e
[ "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,156
lean
/- Copyright (c) 2016 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ import .clause .prover_state open expr list monad namespace super meta def is_taut (c : clause) : tactic bool := do qf ← c^.open_constn c^.num_quants, return $ list.b...
78648d45c76f3dd2aed3e93a289e787c1928a410
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/ComplementSig.lean
998e2ec617634d168e00bf804ec7e74eef7dadc7
[]
no_license
ysharoda/Deriving-Definitions
3e149e6641fae440badd35ac110a0bd705a49ad2
dfecb27572022de3d4aa702cae8db19957523a59
refs/heads/master
1,679,127,857,700
1,615,939,007,000
1,615,939,007,000
229,785,731
4
0
null
null
null
null
UTF-8
Lean
false
false
5,379
lean
import init.data.nat.basic import init.data.fin.basic import data.vector import .Prelude open Staged open nat open fin open vector section ComplementSig structure ComplementSig (A : Type) : Type := (compl : (A → A)) open ComplementSig structure Sig (AS : Type) : Type := (complS : (AS → AS...
2c68ed153fa6d46680fbadb978dafe746e1905c1
8e2026ac8a0660b5a490dfb895599fb445bb77a0
/library/init/meta/expr.lean
525871af5fb8273c3dc31de8b96e9997190d6f2d
[ "Apache-2.0" ]
permissive
pcmoritz/lean
6a8575115a724af933678d829b4f791a0cb55beb
35eba0107e4cc8a52778259bb5392300267bfc29
refs/heads/master
1,607,896,326,092
1,490,752,175,000
1,490,752,175,000
86,612,290
0
0
null
1,490,809,641,000
1,490,809,641,000
null
UTF-8
Lean
false
false
11,271
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.meta.level init.category.monad structure pos := (line : nat) (column : nat) instance : decidable_eq pos | ⟨l₁, c₁⟩ ⟨l₂, c₂⟩ := if h₁...
8d0bc85affea63d3c531a63dcbaf19b9674fc99f
ce4db867008cc96ee6ea6a34d39c2fa7c6ccb536
/src/On.lean
5409373c3a8cea4559727104efc3f67befc6487a
[]
no_license
PatrickMassot/lean-bavard
ab0ceedd6bab43dc0444903a80b911c5fbfb23c3
92a1a8c7ff322e4f575ec709b8c5348990d64f18
refs/heads/master
1,679,565,084,665
1,616,158,570,000
1,616,158,570,000
348,144,867
1
1
null
null
null
null
UTF-8
Lean
false
false
13,104
lean
import tactic import topology.instances.real import .tokens import .compute import .commun namespace tactic setup_tactic_parser @[derive has_reflect] meta inductive On_args | exct_aply : pexpr → list pexpr → On_args -- On conclut par ... (appliqué à ...) | aply : pexpr → On_args -- On applique ... | apl...
8c04169175c8a8e4f9e3fc0c8787a2ab30eb4e58
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/tactic/where.lean
e47ee13d957eb84e24b43afd68f1351b6a01ce18
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
8,760
lean
/- Copyright (c) 2019 Keeley Hoek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Keeley Hoek -/ import data.list.defs tactic.core /-! # The `where` command When working in a Lean file with namespaces, parameters, and variables, it can be confusing to identify what ...
f2f9b966cf28fc1a234facf8802e5cc330a3a26d
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/has_sizeof_indices.lean
e9d987a55bf44ecbffe604cfeac376b3ff54b533
[ "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
456
lean
universes u inductive foo : nat → Type | baz (n : nat) : foo n → foo (nat.succ n) def foo.size (α β : Type u) (n a : ℕ) : has_sizeof (foo a) := by tactic.mk_has_sizeof_instance inductive bla : nat → bool → Type | mk : bla 0 ff | baz (n : nat) : bla n ff → bla (nat.succ n) tt | boo (n : nat) : bla n tt → bla (nat.suc...
07b13f3a5396d97a1777f0f434663dadf0a17f2f
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/tests/lean/induction1.lean
7b32970ee35af59e70ca24116b8716d7c1d8dc81
[ "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
1,249
lean
import macros -- loads the λ, λ, obtain macros using Nat -- using the Nat namespace (it allows us to suppress the Nat:: prefix) axiom Induction : ∀ P : Nat → Bool, P 0 → (∀ n, P n → P (n + 1)) → ∀ n, P n. -- induction on n theorem Comm1 : ∀ n m, n + m = m + n := Induction _ -- I use a placeholder...