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
6370f16bd30161ef0727917c49f9040c6d5f1486
4727251e0cd73359b15b664c3170e5d754078599
/src/linear_algebra/matrix/symmetric.lean
8533144a3d85d010c903f5c427ab7fcfcfbb3c95
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
4,118
lean
/- Copyright (c) 2021 Lu-Ming Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Lu-Ming Zhang -/ import data.matrix.block /-! # Symmetric matrices This file contains the definition and basic results about symmetric matrices. ## Main definition * `matrix.is_sym...
a4cd1675746afad6979488532d3f328777569f7a
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/limits/yoneda.lean
ab1a2a9f7275fe806a11764d6bab38d89f1ef2e9
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
5,400
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Bhavik Mehta -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.limits.limits import Mathlib.category_theory.limits.functor_c...
caef715a2d5f837523326ae7eeffebbcbf794918
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/category_theory/limits/over.lean
ded0f055a4151d3d6428bb8523cf55d9bc81f3b1
[ "Apache-2.0" ]
permissive
AntoineChambert-Loir/mathlib
64aabb896129885f12296a799818061bc90da1ff
07be904260ab6e36a5769680b6012f03a4727134
refs/heads/master
1,693,187,631,771
1,636,719,886,000
1,636,719,886,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,950
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.adjunction.opposites import category_theory.limits.preserves.basic import category_theor...
b5cb665adc032593b5b6d0ea8cc1146cb809bca2
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/simp_univ_metavars.lean
278f9933442307f58740c51f0878a71714f491b9
[ "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
2,636
lean
meta def blast : tactic unit := using_smt $ return () structure { u v } Category := (Obj : Type u ) (Hom : Obj -> Obj -> Type v) (identity : Π X : Obj, Hom X X) (compose : Π ⦃X Y Z : Obj⦄, Hom X Y → Hom Y Z → Hom X Z) (left_identity : ∀ ⦃X Y : Obj⦄ (f : Hom X Y), compose (identity _) f = f) #check @Catego...
e3dc1963ffd2b343ae43f52b53af65d19cb523db
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/number_theory/legendre_symbol/quadratic_char/basic.lean
8d64425b47fff286b9f0d3be1e013a6ff288f0a5
[ "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
13,171
lean
/- Copyright (c) 2022 Michael Stoll. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Michael Stoll -/ import data.fintype.parity import number_theory.legendre_symbol.zmod_char import field_theory.finite.basic /-! # Quadratic characters of finite fields > THIS FILE IS ...
8848597939d9e70ac5017a03424c70fabdc261dd
6b10c15e653d49d146378acda9f3692e9b5b1950
/examples/logic/unnamed_128.lean
06afcd92a6ad67fefb9f03314352e93fa93bfee0
[]
no_license
gebner/mathematics_in_lean
3cf7f18767208ea6c3307ec3a67c7ac266d8514d
6d1462bba46d66a9b948fc1aef2714fd265cde0b
refs/heads/master
1,655,301,945,565
1,588,697,505,000
1,588,697,505,000
261,523,603
0
0
null
1,588,695,611,000
1,588,695,610,000
null
UTF-8
Lean
false
false
164
lean
variables A B C : Prop -- BEGIN example : (A → B) → (B → C) → A → C := begin intros h₁ h₂ h₃, apply h₂, apply h₁, apply h₃ end -- END
27b71c6018b3d9f0cf7fa92417848e895719ae71
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/monad/types.lean
7cd4345b1dc4534b5bce25cf415f225628b16bce
[]
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,206
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, Bhavik Mehta -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.monad.basic import Mathlib.category_theory.monad.kleisli impo...
0a1e2960ca5d77b2fd3d5bd56d757589c260976b
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/field_theory/finite/basic.lean
10bdbca3f5ac3a65e8803cd7b124096fe7a16885
[]
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,817
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Joey van Langen, Casper Putz -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.apply_fun import Mathlib.data.equiv.ring import Mathlib.da...
c528bb4069b5ad8ff8e241a2133287abdadaa36b
ad3e8f15221a986da27c99f371922c0b3f5792b6
/src/week05/solutions/e00_intro.lean
060639607c02e090f8508badc5fb422ab2d35bc3
[]
no_license
VArtem/lean-itmo
a0e1424c8cc4c2de2ac85ab6fd4a12d80e9b85f1
dc44cd06f9f5b984d051831b3aaa7364e64c2dc4
refs/heads/main
1,683,761,214,467
1,622,821,295,000
1,622,821,295,000
357,236,048
12
0
null
null
null
null
UTF-8
Lean
false
false
2,696
lean
import data.finset import data.fintype.basic import data.set.finite import tactic.derive_fintype section intro variable {α : Type*} -- Конечность типа или множества представлена в mathlib тремя основными типами: `A : finset α`, `fintype A` и `finite A` -- 1. finset - конструктивно конечное множество -- `finset` = `...
8a96eb304ccbad319d36d2e2eb203aa4a474e67c
ff5230333a701471f46c57e8c115a073ebaaa448
/tests/lean/run/heap_mem.lean
1946f417b0b9cd97cd6569746799260e2365bf43
[ "Apache-2.0" ]
permissive
stanford-cs242/lean
f81721d2b5d00bc175f2e58c57b710d465e6c858
7bd861261f4a37326dcf8d7a17f1f1f330e4548c
refs/heads/master
1,600,957,431,849
1,576,465,093,000
1,576,465,093,000
225,779,423
0
3
Apache-2.0
1,575,433,936,000
1,575,433,935,000
null
UTF-8
Lean
false
false
3,816
lean
/- We use the following auxiliary type instead of (Σ α : Type, α) because the code generator produces better code for `pointed`. For `pointed`, the code generator erases the field `α`. -/ structure pointed := (α : Type) (a : α) /- The following two commands demonstrate the difference. To remove the overhead i...
6466a1c97d501014ee8e86f51bcf25be46704ea8
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/metric_space/gromov_hausdorff_realized_auto.lean
7268c14bc6055141da47762e8a38cb8bfcde4e9c
[]
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
9,110
lean
/- Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Sébastien Gouëzel Construction of a good coupling between nonempty compact metric spaces, minimizing their Hausdorff distance. This construction is instrumental to study the Gromov-...
15b64b78bb1d03f3683f6b92c4767324e92a923e
f4bff2062c030df03d65e8b69c88f79b63a359d8
/ideas/ds_wellOrd_ceil.lean
395926753b9520973fac641cf32f37e5661c952e
[ "Apache-2.0" ]
permissive
adastra7470/real-number-game
776606961f52db0eb824555ed2f8e16f92216ea3
f9dcb7d9255a79b57e62038228a23346c2dc301b
refs/heads/master
1,669,221,575,893
1,594,669,800,000
1,594,669,800,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,444
lean
import data.real.basic axiom well_ordered_Zplus (A : set ℤ) (h1A : A.nonempty) (h2A : ∀ (a:ℤ), a ∈ A → 0 < a): ∃ m ∈ A, ∀ k ∈ A, m ≤ k -- this does work! lemma wellOrd_ceil_existence (x : ℝ) (hx : 0 < x) : ∃ m : ℤ, m > 0 ∧ (m-1 : ℝ) ≤ x ∧ x < (m : ℝ) := begin have H := exists_nat_gt x, cases H with n hn,...
f9498126d514557307b8640943e72ca945140ad5
c777c32c8e484e195053731103c5e52af26a25d1
/src/combinatorics/simple_graph/finsubgraph.lean
3d37c06ebae0aae44c5bd8b414c3de23d2be5a26
[ "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,895
lean
/- Copyright (c) 2022 Joanna Choules. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joanna Choules -/ import category_theory.cofiltered_system import combinatorics.simple_graph.subgraph /-! # Homomorphisms from finite subgraphs This file defines the type of finite s...
8b36883503b792c974408a9e351c6cd0d1f24657
94e33a31faa76775069b071adea97e86e218a8ee
/src/analysis/calculus/fderiv_measurable.lean
047eeaa37efb266240e3449e940208776c1c77f2
[ "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
41,039
lean
/- Copyright (c) 2020 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel, Yury Kudryashov -/ import analysis.calculus.deriv import measure_theory.constructions.borel_space import measure_theory.function.strongly_measurable import tactic...
e3babaf6140f43649eee2777ea9abb5d1199a80f
3f7026ea8bef0825ca0339a275c03b911baef64d
/src/analysis/calculus/deriv.lean
b80f0e421b51d4fc65940409b8108e3631e75643
[ "Apache-2.0" ]
permissive
rspencer01/mathlib
b1e3afa5c121362ef0881012cc116513ab09f18c
c7d36292c6b9234dc40143c16288932ae38fdc12
refs/heads/master
1,595,010,346,708
1,567,511,503,000
1,567,511,503,000
206,071,681
0
0
Apache-2.0
1,567,513,643,000
1,567,513,643,000
null
UTF-8
Lean
false
false
47,899
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[𝕜] F` a continuous 𝕜-linear map, where `𝕜` is a non-discrete ...
a03822421e1a1ee5718472ac6cd55c6e2a51b776
33340b3a23ca62ef3c8a7f6a2d4e14c07c6d3354
/dlo/remove_neg.lean
ea7f91484a4bc6f7177255e23c60af824e6e72ea
[]
no_license
lclem/cooper
79554e72ced343c64fed24b2d892d24bf9447dfe
812afc6b158821f2e7dac9c91d3b6123c7a19faf
refs/heads/master
1,607,554,257,488
1,578,694,133,000
1,578,694,133,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,471
lean
import .formula open list def remove_neg : atom_dlo → formula_dlo | (t <' s) := (A' (t =' s) ∨' A' (s <' t)) | (t =' s) := (A' (t <' s) ∨' A' (s <' t)) lemma eval_remove_neg : ∀ (a : atom_dlo) (xs : list rat), (remove_neg a).eval xs ↔ (¬ (a.eval xs)) | (t <' s) xs := begin simp [formula_dlo.eval, ...
f5cd49833b521a2eb0bc55766eab151e1afcbb03
94e33a31faa76775069b071adea97e86e218a8ee
/src/measure_theory/function/convergence_in_measure.lean
0fcdd9622af264df2d9f41552ac3ebb7c3a2b055
[ "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
16,856
lean
/- Copyright (c) 2022 Rémy Degenne, Kexing Ying. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne, Kexing Ying -/ import measure_theory.function.egorov /-! # Convergence in measure We define convergence in measure which is one of the many notions of conve...
37fa1995bd0342183b75d362f632908ead326840
9b9a16fa2cb737daee6b2785474678b6fa91d6d4
/test/linarith.lean
edd083294c2492e462b3033c7c313f197c305935
[ "Apache-2.0" ]
permissive
johoelzl/mathlib
253f46daa30b644d011e8e119025b01ad69735c4
592e3c7a2dfbd5826919b4605559d35d4d75938f
refs/heads/master
1,625,657,216,488
1,551,374,946,000
1,551,374,946,000
98,915,829
0
0
Apache-2.0
1,522,917,267,000
1,501,524,499,000
Lean
UTF-8
Lean
false
false
3,811
lean
import tactic.linarith example (e b c a v0 v1 : ℚ) (h1 : v0 = 5*a) (h2 : v1 = 3*b) (h3 : v0 + v1 + c = 10) : v0 + 5 + (v1 - 3) + (c - 2) = 10 := by linarith example (ε : ℚ) (h1 : ε > 0) : ε / 2 + ε / 3 + ε / 7 < ε := by linarith example (x y z : ℚ) (h1 : 2*x < 3*y) (h2 : -4*x + z/2 < 0) (h3 : 12*y - z < ...
ebd55e063549dddd058853262802498acc82ac28
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/group_theory/group_action/sub_mul_action.lean
81abf2bde26e581db0b5b59244868475395b96bd
[ "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
5,156
lean
/- Copyright (c) 2020 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import algebra.group_action_hom import algebra.module.basic import data.set_like import group_theory.group_action.basic /-! # Sets invariant to a `mul_action` In this fil...
18d6be498f06f189631e627f7af85f1cc5665602
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/abelian/non_preadditive_auto.lean
a025280fdd2e8086e3dd1d40b687e5a6527154ec
[]
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
21,946
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.limits.shapes.finite_products import Mathlib.category_theory.limits.shapes.ke...
ab54c63e5a464086faaa9ec8eb10daa278232930
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/InvolutiveRingoidWithAntiDistrib.lean
b108b6cd17d72d37edfe079ce937eb962626393d
[]
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
13,971
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 InvolutiveRingoidWithAntiDistrib structure InvolutiveRingoidWithAntiDistrib (A : Type) : Type := (times : (A → (A → A))) (plus : (A → (A → A))) (leftDist...
db5ea86f8410765a31279db22f3fe302668dc4ef
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Compiler/IR/ExpandResetReuse.lean
aab8af752ca874015893c7d12f5ae2533c153f76
[ "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
9,851
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.Compiler.IR.CompilerM import Lean.Compiler.IR.NormIds import Lean.Compiler.IR.FreeVars namespace Lean.IR.ExpandResetReuse /-- Mapping from vari...
8feca753bd5af95943d18f59e52a470ec7602f73
d642a6b1261b2cbe691e53561ac777b924751b63
/src/topology/subset_properties.lean
f02b47111ad37781ea59ffc23d3d63e10c0d8405
[ "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
31,139
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 Properties of subsets of topological spaces: compact, clopen, irreducible, connected, totally disconnected, totally separated. -/ import topology.const...
73cf931c0961542ff67d4bc8b2de1b9021976912
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/linear_algebra/affine_space/affine_subspace.lean
f29f4999e542ba62916bd5c44da6ee0c54447905
[ "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
45,463
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers -/ import linear_algebra.affine_space.basic import linear_algebra.tensor_product import data.set.intervals.unordered_interval /-! # Affine spaces This file defines affine ...
b1f63d5a322745120b62710a4b80fb02649f0600
83c8119e3298c0bfc53fc195c41a6afb63d01513
/library/init/meta/interactive.lean
477563d433bdd8e1b14b2884fcd79b6f69f73b42
[ "Apache-2.0" ]
permissive
anfelor/lean
584b91c4e87a6d95f7630c2a93fb082a87319ed0
31cfc2b6bf7d674f3d0f73848b842c9c9869c9f1
refs/heads/master
1,610,067,141,310
1,585,992,232,000
1,585,992,232,000
251,683,543
0
0
Apache-2.0
1,585,676,570,000
1,585,676,569,000
null
UTF-8
Lean
false
false
70,943
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.meta.tactic init.meta.rewrite_tactic init.meta.simp_tactic import init.meta.smt.congruence_closure init.category.combinators import init...
1cec6e1441f6bceb81baa50e4c6c717c4065e53f
574dac3bf276ecf173ecf82fca6c3b0c96bfe477
/library/init/meta/converter/interactive.lean
e9bfb723b191cb5cf71aca50c6bf558698d0e9bb
[ "Apache-2.0" ]
permissive
thormikkel2/lean
511050dcaa22894e0520ec6d1ff7352afed66590
201f6cdc5986f2cf2dcef9f6645dfa6840a93f0f
refs/heads/master
1,672,552,832,086
1,602,781,965,000
1,602,781,965,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,872
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 Converter monad for building simplifiers. -/ prelude import init.meta.interactive import init.meta.converter.conv namespace conv meta def save_info (p : pos)...
3add82fb22406fe5b1367e562c69e9969ed3168a
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/continued_fractions/basic.lean
2e61569c0d012b946b4850fa40f01bc122bb64a8
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
13,778
lean
/- Copyright (c) 2019 Kevin Kappelmann. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Kappelmann -/ import data.seq.seq import algebra.field.basic /-! # Basic Definitions/Theorems for Continued Fractions ## Summary We define generalised, simple, and regular co...
0ab2b8bc90fd822b044282c9396a1212495ba63c
ecdf4e083eb363cd3a0d6880399f86e2cd7f5adb
/src/category_theory/group_object.lean
66318f5ae2e8a9741b824eb71d94553af76ffe03
[]
no_license
fpvandoorn/formalabstracts
29aa71772da418f18994c38379e2192a6ef361f7
cea2f9f96d89ee1187d1b01e33f22305cdfe4d59
refs/heads/master
1,609,476,761,601
1,558,130,287,000
1,558,130,287,000
97,261,457
0
2
null
1,550,879,230,000
1,500,056,313,000
Lean
UTF-8
Lean
false
false
4,173
lean
-- Copyright (c) 2019 Jesse Han. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Jesse Han import .finite_limits open category_theory category_theory.limits category_theory.limits.binary_product category_theory.limits.finite_limits universes v u local inf...
76894bc0f3be35b109b41bba13ba094bf2152430
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/autoBoundImplicits2.lean
e87d79922dd94a97c5ed63d617e262f6a4e0a54b
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
1,084
lean
def f [Add α] (a : α) : α := a + a set_option relaxedAutoImplicit false def BV (n : Nat) := { a : Array Bool // a.size = n } def allZero (bv : BV n) : Prop := ∀ i, i < n → bv.val[i]! = false def foo (b : BV n) (h : allZero b) : BV n := b def optbind (x : Option α) (f : α → Option β) : Option β := match x wit...
35ad6e482d7b9ce7639dd6816c01ee720da6f4ac
b00eb947a9c4141624aa8919e94ce6dcd249ed70
/src/Lean/KeyedDeclsAttribute.lean
fa22052dc813dfaca7723be243848f6bccb17a35
[ "Apache-2.0" ]
permissive
gebner/lean4-old
a4129a041af2d4d12afb3a8d4deedabde727719b
ee51cdfaf63ee313c914d83264f91f414a0e3b6e
refs/heads/master
1,683,628,606,745
1,622,651,300,000
1,622,654,405,000
142,608,821
1
0
null
null
null
null
UTF-8
Lean
false
false
6,307
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.Attributes import Lean.Compiler.InitAttr import Lean.ToExpr import Lean.ScopedEnvExtension import Lean.Compiler.IR.CompilerM ...
6501282c0f4a938733c8b9b77b433bf8fcc8714a
94e33a31faa76775069b071adea97e86e218a8ee
/src/algebra/monoid_algebra/basic.lean
0ad604262a1a7f5df17a6791201872a18bd5bd67
[ "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
67,025
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 G. Kudryashov, Scott Morrison -/ import algebra.big_operators.finsupp import algebra.hom.non_unital_alg import linear_algebra.finsupp /-! # Monoid algebras When ...
9c5c2c5cdd8c7b6cbe98295d7379da60c63618c2
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/coe10.lean
cf3101b311633516678bcb0c4f7ba56e450d499b
[ "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
377
lean
import data.nat open nat inductive fn2 (A B C : Type) := mk : (A → C) → (B → C) → fn2 A B C definition to_ac [coercion] {A B C : Type} (f : fn2 A B C) : A → C := fn2.rec (λ f g, f) f definition to_bc [coercion] {A B C : Type} (f : fn2 A B C) : B → C := fn2.rec (λ f g, g) f constant f : fn2 Prop nat nat constant a :...
4a13a1d04d3a2b6b1aaf59e6cdfa3b0d08a11f8c
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/analysis/convex/basic.lean
96827ac41c31876b81237281ea8c8604e452b53d
[ "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
58,212
lean
/- Copyright (c) 2019 Alexander Bentkamp. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp, Yury Kudriashov -/ import data.set.intervals.ord_connected import data.set.intervals.image_preimage import data.complex.module import linear_algebra.affine_spac...
f33892e97761ceabde1f82f07145ce515afec2c7
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/topology/algebra/open_subgroup.lean
ab088c33023483f73b7aadfb3000eb7ebb68ad11
[ "Apache-2.0" ]
permissive
lacker/mathlib
f2439c743c4f8eb413ec589430c82d0f73b2d539
ddf7563ac69d42cfa4a1bfe41db1fed521bd795f
refs/heads/master
1,671,948,326,773
1,601,479,268,000
1,601,479,268,000
298,686,743
0
0
Apache-2.0
1,601,070,794,000
1,601,070,794,000
null
UTF-8
Lean
false
false
7,216
lean
/- Copyright (c) 2019 Johan Commelin All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import order.filter.lift import topology.opens import topology.algebra.ring open topological_space open_locale topological_space set_option old_structure_cmd true /...
6b3c352580afcfdfafc9e86c4ebaa37eed746023
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/is_R_or_C/lemmas.lean
93d976cb3acab79a8a0006d2369e3155f18d0314
[ "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,728
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.normed_space.finite_dimension import field_theory.tower import data.is_R_or_C.basic /-! # Further lemmas about `is_R_or_C` > THIS FILE IS SYNCHRO...
ae15d77d7c43baca3f5f3aba6f03c8814fb4d753
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/topology/homeomorph.lean
1bda797af539909f7f4b1f6933d0e2a0f0d73775
[ "Apache-2.0" ]
permissive
lacker/mathlib
f2439c743c4f8eb413ec589430c82d0f73b2d539
ddf7563ac69d42cfa4a1bfe41db1fed521bd795f
refs/heads/master
1,671,948,326,773
1,601,479,268,000
1,601,479,268,000
298,686,743
0
0
Apache-2.0
1,601,070,794,000
1,601,070,794,000
null
UTF-8
Lean
false
false
9,771
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Patrick Massot, Sébastien Gouëzel, Zhouhang Zhou, Reid Barton -/ import topology.dense_embedding open set variables {α : Type*} {β : Type*} {γ : Type*} {δ : Type*} /-- ...
6fabc65b6a306eea8dcc288dbce1cc3f0f2350fa
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/normed_space/compact_operator.lean
3561553dd0bce697aa90ff746253b061aa23c706
[ "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
22,379
lean
/- Copyright (c) 2022 Anatole Dedecker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anatole Dedecker -/ import analysis.locally_convex.bounded import topology.algebra.module.strong_topology /-! # Compact operators > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any c...
3aaa2004a6c8dee83d98bcbfda1805ed3218d9d7
618003631150032a5676f229d13a079ac875ff77
/src/logic/relator.lean
9b1e6c39071a16db5d57187beffc67026e1716a4
[ "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
3,831
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 Relator for functions, pairs, sums, and lists. -/ namespace relator universe variables u₁ u₂ v₁ v₂ reserve infixr ` ⇒ `:40 /- TODO(johoelzl): * should we introduce ...
5d11b8b39887388bf0ce853226a395624ab51124
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/topology/metric_space/gluing.lean
e294f78628db1ea733ef517814fa6ef3987d9677
[ "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
23,684
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.isometry /-! # Metric space gluing Gluing two metric spaces along a common subset. Formally, we are given ``` Φ Z ---> X ...
8db0de0ca3e60425ffbc5aefe3b48548d90f758b
a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7
/src/analysis/normed_space/basic.lean
717384a85ae9afe17e2cbff411805f6028d366c4
[ "Apache-2.0" ]
permissive
kmill/mathlib
ea5a007b67ae4e9e18dd50d31d8aa60f650425ee
1a419a9fea7b959317eddd556e1bb9639f4dcc05
refs/heads/master
1,668,578,197,719
1,593,629,163,000
1,593,629,163,000
276,482,939
0
0
null
1,593,637,960,000
1,593,637,959,000
null
UTF-8
Lean
false
false
46,844
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Johannes Hölzl -/ import topology.instances.nnreal import topology.instances.complex import topology.algebra.module import topology.metric_space.antilipschitz /-! # No...
c72ded8631c61617cea91f6cc81a6c56d5436c62
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/homology/short_exact/preadditive.lean
899a730744bd9e9595196351604ecc3e8faeba25
[ "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,718
lean
/- Copyright (c) 2021 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Andrew Yang -/ import algebra.homology.exact import category_theory.preadditive.additive_functor /-! # Short exact sequences, and splittings. > THIS FILE IS SYNCHRONI...
a056cfbaad76fc093fd95fe6fb12eb7399aa4c35
7b681d6cc18477cf6b60470d9782923d3ea63915
/W2-logic.lean
761bcce9d9f17a86ca02ee4ee7be40f129604db6
[]
no_license
osoulim/LEAN
a7458f597abbe5c36ebbb3f36eab29a4c60f5140
5e0dc240e86e392fdab4b2ffdcc3174c0cce7b66
refs/heads/master
1,591,850,481,195
1,561,547,647,000
1,561,547,647,000
193,852,039
0
0
null
null
null
null
UTF-8
Lean
false
false
655
lean
def P := 0 = 0 def Q := 1 = 1 #check Q lemma proofP : P := eq.refl 0 lemma proofQ : Q := sorry theorem and1 : P ∧ Q := and.intro proofP proofQ #check and1 #check and.intro proofQ proofP theorem pfPQ : P ∧ Q := begin apply and.intro, exact eq.refl 0, exact eq.refl 1 end theorem pfPQ' : P ∧ Q := beg...
55e714b9fc163486a0fbfd6c1881800fd1d1d502
4da0c8e61fcd6ec3f3be47ee14a038850c03d0c3
/src/s5/completeness.lean
a09fd5f47a9b125f37674af5f695f35913d990f3
[ "Apache-2.0" ]
permissive
bbentzen/mpl
fcbea60204bc8fd64667e0f76a5cebf4b67fb6ca
bb5066ec51fa11a4b66f440c4f6c9a3d8fb2e0de
refs/heads/master
1,625,175,849,308
1,624,207,634,000
1,624,207,634,000
142,774,375
9
0
null
null
null
null
UTF-8
Lean
false
false
13,629
lean
/- Copyright (c) 2018 Bruno Bentzen. All rights reserved. Released under the Apache License 2.0 (see "License"); Author: Bruno Bentzen -/ import .consistency ..encode open nat set classical local attribute [instance, priority 0] prop_decidable variables {σ : nat} /- maximal set of a context -/ nam...
6be4d466bac7998898b6759e9d191d5d2d1e8256
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/lean/run/genindices.lean
a7c390a8a3c6d384f96a7afa85e26e9bb5b760bc
[ "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
727
lean
import Init.Lean universe u inductive Pred : ∀ (α : Type u), List α → Type (u+1) | foo {α : Type u} (l1 : List α) (l2 : List (Option α)) : Pred (Option α) l2 → Pred α l1 axiom goal : forall (α : Type u) (xs : List (List α)) (h : Pred (List α) xs), xs ≠ [] → xs = xs open Lean open Lean.Meta def tst1 : MetaM Unit :=...
5a433034071ff8bcd545f1148676b6db3618dbe9
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/roots_of_unity/complex.lean
d5841c9d4726bcb0eb054920af14ca1638257c14
[ "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
7,120
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 analysis.special_functions.complex.log import ring_theory.roots_of_unity.basic /-! # Complex roots of unity > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any ...
0871336258de85a5415d7c121c59747502f69630
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/has_variable_names.lean
5ff1c7cec7c4f7e65e56145b0a44bf15598278d0
[]
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
9,510
lean
/- Copyright (c) 2020 Jannis Limperg. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jannis Limperg -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.core import Mathlib.PostPort universes u l v u_1 u_2 namespace Mathlib /-! # A ta...
81507b57bd9489bd091c418bc3a8b7fa86c9ee7d
4727251e0cd73359b15b664c3170e5d754078599
/src/data/multiset/finset_ops.lean
e8e5a03ff8a3d2f1116704f2d53864501f995650
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
8,673
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.multiset.dedup /-! # Preparations for defining operations on `finset`. The operations here ignore multiplicities, and preparatory for defining the corre...
8c1896b50444164889a90368be43652d224ae67b
e61a235b8468b03aee0120bf26ec615c045005d2
/tests/bench/parser.lean
4438f318226c1c45a6a100375b94b0842fb518a2
[ "Apache-2.0" ]
permissive
SCKelemen/lean4
140dc63a80539f7c61c8e43e1c174d8500ec3230
e10507e6615ddbef73d67b0b6c7f1e4cecdd82bc
refs/heads/master
1,660,973,595,917
1,590,278,033,000
1,590,278,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
241
lean
import Init.Lean.Parser def main : List String → IO Unit | [fname, n] => do env ← Lean.mkEmptyEnvironment; n.toNat!.forM $ fun _ => discard $ Lean.Parser.parseFile env fname; pure () | _ => throw $ IO.userError "give file"
c468fdf7cbc9fae55fc730716dad6abfc48504a0
9dc8cecdf3c4634764a18254e94d43da07142918
/src/ring_theory/subring/pointwise.lean
8bdf8604ce3a67bd6d69b963f11c8c1500e43f5f
[ "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
4,489
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 ring_theory.subsemiring.pointwise import group_theory.subgroup.pointwise import ring_theory.subring.basic /-! # Pointwise instances on `subring`s This file provide...
83a2c890cbcce949e513835073ab84d462bc0ff4
3dd1b66af77106badae6edb1c4dea91a146ead30
/tests/lean/run/e17.lean
849db414bfb6f325543b0a517f56abaa4dbe06c9
[ "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
422
lean
inductive nat : Type := | zero : nat | succ : nat → nat inductive list (A : Type) : Type := | nil {} : list A | cons : A → list A → list A inductive int : Type := | of_nat : nat → int | neg : nat → int coercion of_nat variables n m : nat variables i j : int check cons i (cons i nil) check cons n (cons n nil) che...
88841ecf4981360a6fad0397322c9b3e5ce48638
957a80ea22c5abb4f4670b250d55534d9db99108
/library/init/data/list/lemmas.lean
319c60f0a7c480b4ab09a238365d2b1ba55d8f6c
[ "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
10,451
lean
/- Copyright (c) 2014 Parikshit Khanna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn -/ prelude import init.data.list.basic init.function init.meta init.data.nat.lemmas import init.meta.interactive i...
1e73d13e0ee559e64d00acbb3468329ed5a502e3
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/interactive/hoverBinderUndescore.lean
04b6c34433c5aae4a3aa056456a060d0545cb1be
[ "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
314
lean
def f : Nat → Bool → Nat := fun _ _ => 5 --^ textDocument/hover --^ textDocument/hover def g : Nat → Bool → Nat := fun (_ _) => 5 --^ textDocument/hover --^ textDocument/hover def h : Nat → Bool → Nat := fun (_ _ : _) => 5 --^ textDocument/hover --^ textDocument/hover
fb635781d8cf79c127491792be5a8a1fb8495382
d406927ab5617694ec9ea7001f101b7c9e3d9702
/counterexamples/pseudoelement.lean
ef4f62ba6cb7dd724a0872bdff0a71bdbcaf9020
[ "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,414
lean
/- Copyright (c) 2022 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca -/ import category_theory.abelian.pseudoelements import algebra.category.Module.biproducts /-! # Pseudoelements and pullbacks Borceux claims in Proposition 1.9.5 tha...
56e9d4a21224beaee734f095400216714f4e2b92
07c6143268cfb72beccd1cc35735d424ebcb187b
/src/data/list/of_fn.lean
7afe7e6bb249c023b18e2a2c4e940a8bcb426806
[ "Apache-2.0" ]
permissive
khoek/mathlib
bc49a842910af13a3c372748310e86467d1dc766
aa55f8b50354b3e11ba64792dcb06cccb2d8ee28
refs/heads/master
1,588,232,063,837
1,587,304,803,000
1,587,304,803,000
176,688,517
0
0
Apache-2.0
1,553,070,585,000
1,553,070,585,000
null
UTF-8
Lean
false
false
2,629
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.fin universes u variables {α : Type u} open nat namespace list /- of_fn -/ theorem length_of_fn_aux {n} (f : fin n → α) : ∀ ...
c06cea43cdd9e41a9f1cfd00c709ec642cbe166a
f618aea02cb4104ad34ecf3b9713065cc0d06103
/src/category_theory/instances/Top/opens.lean
fa8eb0bbc9e7956335076ba3ad4bc36284fdc99c
[ "Apache-2.0" ]
permissive
joehendrix/mathlib
84b6603f6be88a7e4d62f5b1b0cbb523bb82b9a5
c15eab34ad754f9ecd738525cb8b5a870e834ddc
refs/heads/master
1,589,606,591,630
1,555,946,393,000
1,555,946,393,000
182,813,854
0
0
null
1,555,946,309,000
1,555,946,308,000
null
UTF-8
Lean
false
false
3,482
lean
import category_theory.instances.Top.basic import category_theory.natural_isomorphism import category_theory.opposites import category_theory.eq_to_hom open category_theory open category_theory.instances open topological_space universe u open category_theory.instances namespace topological_space.opens variables {X...
f38de8e51ad7f0d3c98917fa841cb3877ed79b18
c777c32c8e484e195053731103c5e52af26a25d1
/src/ring_theory/algebraic_independent.lean
e7b6cc5ce00c39b0f72b6103997ece7870ade6a3
[ "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,887
lean
/- Copyright (c) 2021 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import ring_theory.adjoin.basic import linear_algebra.linear_independent import ring_theory.mv_polynomial.basic import data.mv_polynomial.supported import ring_theory.alg...
7930d6f4bd3e69bd9a3c5aa6677a06a0702a236c
b561a44b48979a98df50ade0789a21c79ee31288
/src/Lean/Meta/Basic.lean
d12bb8e480ba06a1d6a6a12b4f3c2a68d0a9ac10
[ "Apache-2.0" ]
permissive
3401ijk/lean4
97659c475ebd33a034fed515cb83a85f75ccfb06
a5b1b8de4f4b038ff752b9e607b721f15a9a4351
refs/heads/master
1,693,933,007,651
1,636,424,845,000
1,636,424,845,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
50,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 -/ import Lean.Data.LOption import Lean.Environment import Lean.Class import Lean.ReducibilityAttrs import Lean.Util.Trace import Lean.Util.RecDepth import Lea...
2acaca46428a65993f72e9b5db910bfe4b362326
7cef822f3b952965621309e88eadf618da0c8ae9
/test/push_neg.lean
ba167094d2dbfb0932ecf7d77d0adc76c65464a2
[ "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
2,030
lean
import tactic.push_neg example (h : ∃ p: ℕ, ¬ ∀ n : ℕ, n > p) (h' : ∃ p: ℕ, ¬ ∃ n : ℕ, n < p) : ¬ ∀ n : ℕ, n = 0 := begin push_neg at *, guard_target_strict ∃ (n : ℕ), n ≠ 0, guard_hyp_strict h := ∃ (p n : ℕ), n ≤ p, guard_hyp_strict h' := ∃ (p : ℕ), ∀ (n : ℕ), p ≤ n, use 1, end -- In the next example, ℤ sh...
8b7ac355da90971593887af36b1bec65bbc59c5d
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/adjunction/opposites.lean
496d3e8668605f08a08180ea1f23935ff70e3532
[]
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
7,996
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta, Thomas Read -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.adjunction.basic import Mathlib.category_theory.yoneda import Math...
a73cf97c16b78691593582be6ba2e39b85d39cb4
6b45072eb2b3db3ecaace2a7a0241ce81f815787
/tools/super/intuit.lean
da8dc02c3032b030eb40470101a87082a37761b0
[]
no_license
avigad/library_dev
27b47257382667b5eb7e6476c4f5b0d685dd3ddc
9d8ac7c7798ca550874e90fed585caad030bbfac
refs/heads/master
1,610,452,468,791
1,500,712,839,000
1,500,713,478,000
69,311,142
1
0
null
1,474,942,903,000
1,474,942,902,000
null
UTF-8
Lean
false
false
2,560
lean
import super.clausifier super.cdcl super.trim open tactic super expr monad -- Intuitionistic propositional prover based on -- SAT Modulo Intuitionistic Implications, Claessen and Rosen, LPAR 2015 namespace intuit meta def check_model (intuit : tactic unit) : cdcl.solver (option cdcl.proof_term) := do s ← state_t.rea...
fc4c9254b7fe1d48588b38abe03e7ba16474ec37
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/univ_of_instances.lean
ae52ba7577fd4a6059ddddc9ec58e14356be5226
[ "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
191
lean
section universes v u class category (C : Type u) := (hom : C → C → Type v) end section universes v u variables (C : Type u) [category.{v} C] def End (X : C) := category.hom X X end
7aa76ef1107a523f4bf724b653f1b019ac96d465
3863d2564418bccb1859e057bf5a4ef240e75fd7
/hott/init/equiv.hlean
18fba5ff1685ef3ce9f4ab511678ac5930b0bcd0
[ "Apache-2.0" ]
permissive
JacobGross/lean
118bbb067ff4d4af48a266face2c7eb9868fa91c
eb26087df940c54337cb807b4bc6d345d1fc1085
refs/heads/master
1,582,735,011,532
1,462,557,826,000
1,462,557,826,000
46,451,196
0
0
null
1,462,557,826,000
1,447,885,161,000
C++
UTF-8
Lean
false
false
17,168
hlean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad, Jakob von Raumer, Floris van Doorn Ported from Coq HoTT -/ prelude import .path .function open eq function lift /- Equivalences -/ -- This is our definition of...
c50572b0df823c2f4c9a63b305665a48a3124099
3dd1b66af77106badae6edb1c4dea91a146ead30
/tests/lean/t14.lean
916cae8b544ba29d9d01243843194eb086baa2d2
[ "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
676
lean
namespace foo variable A : Type.{1} variable a : A variable x : A variable c : A end section using foo (renaming a->b x->y) (hiding c) check b check y check c -- Error end section using foo (a x) check a check x check c -- Error end section using foo (a x) (hiding c) -- Error end section ...
f374a26534eaf6808feafb48cc2fc791529fa6cd
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/analysis/special_functions/exp_log.lean
4c0575ecc9d8089cebc68701126e248a6098ef4e
[ "Apache-2.0" ]
permissive
hikari0108/mathlib
b7ea2b7350497ab1a0b87a09d093ecc025a50dfa
a9e7d333b0cfd45f13a20f7b96b7d52e19fa2901
refs/heads/master
1,690,483,608,260
1,631,541,580,000
1,631,541,580,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
34,883
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 -/ import analysis.calculus.inverse import analysis.complex.real_deriv import data.complex.exponential /-! # Complex and rea...
70c4b0aa4040739d4b200c875903550229d89cdc
ad0c7d243dc1bd563419e2767ed42fb323d7beea
/analysis/ennreal.lean
430a5bbefb85f8a8a384087848f536e499d4da37
[ "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
17,293
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 Extended non-negative reals -/ import analysis.nnreal data.real.ennreal noncomputable theory open classical set lattice filter local attribute [instance] prop_decidable ...
f18c0b64c2d6813782708550ecc9b7c23ec644ca
c777c32c8e484e195053731103c5e52af26a25d1
/src/ring_theory/polynomial/cyclotomic/eval.lean
77a8f285d4c511e3c3ba29a7482270ba05bb26d2
[ "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
16,312
lean
/- Copyright (c) 2021 Eric Rodriguez. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Rodriguez -/ import ring_theory.polynomial.cyclotomic.basic import tactic.by_contra import topology.algebra.polynomial import number_theory.padics.padic_val import analysis.compl...
9fdb82490eac9b96b6de6b3b75f65787a9dca6ad
49ffcd4736fa3bdcc1cdbb546d4c855d67c0f28a
/library/init/data/list/instances.lean
db76c8e261cffb584ad4d65f2e959cb741b559e3
[ "Apache-2.0" ]
permissive
black13/lean
979e24d09e17b2fdf8ec74aac160583000086bc8
1a80ea9c8e28902cadbfb612896bcd45ba4ce697
refs/heads/master
1,626,839,620,164
1,509,113,016,000
1,509,122,889,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,420
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import init.data.list.lemmas import init.meta.mk_dec_eq_instance open list universes u v local attribute [simp] join ret instance : monad list := ...
cb248cf80571f69127c4f0fde19aeac46b14be5b
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/lake/Lake/DSL/Attributes.lean
3f0ec39945e054a5588c593324f7e52c0417722d
[ "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
2,438
lean
/- Copyright (c) 2021 Mac Malone. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mac Malone -/ import Lake.Util.OrderedTagAttribute open Lean namespace Lake initialize packageAttr : OrderedTagAttribute ← registerOrderedTagAttribute `package "mark a definition as a ...
ff5937c881e47c52bdb5e4b8a696391c815e4202
94e33a31faa76775069b071adea97e86e218a8ee
/src/deprecated/subring.lean
019839500077124069e77adc069b8b0490107406
[ "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,811
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import deprecated.subgroup import deprecated.group import ring_theory.subring.basic /-! # Unbundled subrings (deprecated) This file is deprecated, and is no longer ...
8be6854195b11cd141d29fbd94cfe97e24d3823d
94e33a31faa76775069b071adea97e86e218a8ee
/src/topology/sheaves/presheaf.lean
d892a09e2471dcf4f671dad7f86290579f4a3cb7
[ "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
11,962
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Mario Carneiro, Reid Barton, Andrew Yang -/ import category_theory.limits.kan_extension import category_theory.adjunction import topology.category.Top.opens /-! # Pres...
7ebe489a1a5b69e84bc938226bd3cfdc67074e9e
abd85493667895c57a7507870867b28124b3998f
/src/data/opposite.lean
18f8bc0f5a271b24a956042cd1dc86fa05356eda
[ "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
3,997
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Reid Barton, Simon Hudon, Kenny Lau Opposites. -/ import data.list.defs import data.equiv.basic universes v u -- declare the `v` first; see `category_theory.category`...
c4a4f3fead48089bf40adfd9b0b3ca185d21af32
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/order/monoid/basic.lean
50bd75e3cf7535ec5200b3c9e17ba1c0ce1fcdbc
[ "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,079
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura, Mario Carneiro, Johannes Hölzl -/ import algebra.order.monoid.defs import algebra.group.inj_surj import order.hom.basic /-! # Ordered monoids This fi...
fdcf4d65ce22af9a455524c8a54dc944f5e89827
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/1986.lean
68cf03faabab03c5269c0a50b8120442fae28436
[ "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
7,380
lean
instance {ι : Type u} {α : ι → Type v} [∀ i, LE (α i)] : LE (∀ i, α i) where le x y := ∀ i, x i ≤ y i class Top (α : Type u) where top : α class Bot (α : Type u) where bot : α notation "⊤" => Top.top notation "⊥" => Bot.bot class Preorder (α : Type u) extends LE α, LT α where le_refl : ∀ a : α, a ≤ a le_...
0d48eaa24cdc1a91243d860243f66412e6a32c9b
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/algebra/archimedean.lean
10df326163e484adc4a936ebe87e3fe36cc3ac3b
[ "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
12,818
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro Archimedean groups and fields. -/ import algebra.field_power import data.rat variables {α : Type*} /-- An ordered additive commutative monoid is called `archimedean` ...
423499b76032f3eb3bb41455a9f3bdefd482856a
367134ba5a65885e863bdc4507601606690974c1
/src/combinatorics/simple_graph/matching.lean
f2453f016b07042d82ce8bd8e26d79fd01301542
[ "Apache-2.0" ]
permissive
kodyvajjha/mathlib
9bead00e90f68269a313f45f5561766cfd8d5cad
b98af5dd79e13a38d84438b850a2e8858ec21284
refs/heads/master
1,624,350,366,310
1,615,563,062,000
1,615,563,062,000
162,666,963
0
0
Apache-2.0
1,545,367,651,000
1,545,367,651,000
null
UTF-8
Lean
false
false
2,010
lean
/- Copyright (c) 2020 Alena Gusakov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Alena Gusakov. -/ import data.fintype.basic import data.sym2 import combinatorics.simple_graph.basic /-! # Matchings ## Main definitions * a `matching` on a simple graph is a subset o...
84b100400878b73d8c1e83017a3efadddeda90a9
491068d2ad28831e7dade8d6dff871c3e49d9431
/library/data/list/comb.lean
030b4c937d5a1cda1e904ee32c8349281c7a6ada
[ "Apache-2.0" ]
permissive
davidmueller13/lean
65a3ed141b4088cd0a268e4de80eb6778b21a0e9
c626e2e3c6f3771e07c32e82ee5b9e030de5b050
refs/heads/master
1,611,278,313,401
1,444,021,177,000
1,444,021,177,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
21,031
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, Haitao Zhang List combinators. -/ import data.list.basic data.equiv open nat prod decidable function helper_tactics namespace list variables {A B C : Type} /- m...
73a3f2be5ca2e8b528691669ca44cdbd7faaaab6
a4673261e60b025e2c8c825dfa4ab9108246c32e
/src/Lean/Parser/Basic.lean
12fd483dbe75065d45adc1c4e647a75b1e8aaea4
[ "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
64,327
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 -/ /-! # Basic Lean parser infrastructure The Lean parser was developed with the following primary goals in mind: * flexibility: Lean's g...
3e3375187dca38780d838d6a5a0de9bba2d06778
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/algebra/polynomial_auto.lean
fa9df827c19670b442d2e0084122b7e8d3291450
[]
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,138
lean
/- Copyright (c) 2018 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Robert Y. Lewis -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.polynomial.algebra_map import Mathlib.data.polynomial.div import Mathlib.topology.met...
d5f1560539032cb9690dea56f1638a8fe9525442
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/stage0/src/Lean/Elab/PreDefinition/MkInhabitant.lean
e8509a0708206e6d26e71eb429bc49e4fd8168e7
[ "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
1,430
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.AppBuilder namespace Lean.Elab open Meta private def mkInhabitant? (type : Expr) : MetaM (Option Expr) := do try pure $ some (← mkAr...
ad0e127133a2d2462324c865ac3a4ec94a06363c
f4bff2062c030df03d65e8b69c88f79b63a359d8
/src/game/cardinality/union_finite.lean
33638c70fa506bf9173252677e8fcf84585524e2
[ "Apache-2.0" ]
permissive
adastra7470/real-number-game
776606961f52db0eb824555ed2f8e16f92216ea3
f9dcb7d9255a79b57e62038228a23346c2dc301b
refs/heads/master
1,669,221,575,893
1,594,669,800,000
1,594,669,800,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
479
lean
import data.real.basic import topology.basic open function open set namespace xena -- hide /- # Chapter 7 : Cardinality ## Level 1 A classical result about finite sets. -/ -- begin hide local attribute [instance] classical.prop_decidable -- end hide /- Lemma If $f : X \to Y$ is an injective function and $Y$ is fi...
6fc6341595ddc99949ccdc0e00eb4744227a7678
78269ad0b3c342b20786f60690708b6e328132b0
/src/library_dev/data/int/basic.lean
10a8378febf97ca7e41611ceb9a901e51665511b
[]
no_license
dselsam/library_dev
e74f46010fee9c7b66eaa704654cad0fcd2eefca
1b4e34e7fb067ea5211714d6d3ecef5132fc8218
refs/heads/master
1,610,372,841,675
1,497,014,421,000
1,497,014,421,000
86,526,137
0
0
null
1,490,752,133,000
1,490,752,132,000
null
UTF-8
Lean
false
false
3,176
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad The integers, with addition, multiplication, and subtraction. -/ import ..nat.sub open nat -- TODO: where to put these? meta def simp_coe_attr : user_attribute := { name...
9ae8588d32aa6e4821528737a7e5d6bbe6ebbe0f
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/src/Lean/Elab/PreDefinition/Structural/SmartUnfolding.lean
aaf3b54563ed79cc3cc9e3acdb2d2281f4a48e23
[ "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
3,202
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Elab.PreDefinition.Basic import Lean.Elab.PreDefinition.Structural.Basic namespace Lean.Elab.Structural open Meta partial def addSmartUnfoldin...
a91e2cdcf3b335e164c337913704b078b9bae339
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/ring_theory/polynomial/basic.lean
669a839d3909d63fc0c056172a3ab5d4bd284255
[ "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
43,756
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import algebra.char_p.basic import data.mv_polynomial.comm_ring import data.mv_polynomial.equiv import ring_theory.principal_ideal_domain import ring_theory.polynomial.content...
212db2736966d9f22fd3eca42d2b5d07c4e15607
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/algebra/group_with_zero/basic.lean
01eed75fad8afeb3432f11091c55d3f41d36a135
[ "Apache-2.0" ]
permissive
hikari0108/mathlib
b7ea2b7350497ab1a0b87a09d093ecc025a50dfa
a9e7d333b0cfd45f13a20f7b96b7d52e19fa2901
refs/heads/master
1,690,483,608,260
1,631,541,580,000
1,631,541,580,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
41,617
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.units_hom import algebra.group.inj_surj import algebra.group_with_zero.defs /-! # Groups with an adjoined zero element ...
be1b6547c6389a845c2a4fe2c17407276ac0cc53
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/keyword_tactics.lean
8f657ebf6fb65ba82de2e0cb35fb8741318f8426
[ "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
835
lean
example : ℕ → ℕ → ℕ := begin assume n m, apply n end example : ℕ → ℕ → ℕ := begin assume (n m : ℕ), apply n end example : ℕ → ℕ → ℕ := begin assume n : ℕ × ℕ <|> assume n m : ℕ, apply n end example : ¬false := begin assume contr, apply contr end example : Π α : Type, α → α := begin assume α, ass...
5bb38959afdfb24aebbcfb0de2031ad3cb9a0936
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/measure_theory/measure/with_density_vector_measure.lean
fb74f735253003f2bc51f8cc2dac80b78ab96b1c
[ "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,622
lean
/- Copyright (c) 2021 Kexing Ying. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kexing Ying -/ import measure_theory.measure.vector_measure import measure_theory.function.ae_eq_of_integral /-! # Vector measure defined by an integral Given a measure `μ` and an inte...
c456d9ac9dd400a0f8fecfa0b86010540220fa42
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/group_theory/coset.lean
e23ab6f7a6ec94bdb3d12fda2d93691502680255
[ "Apache-2.0" ]
permissive
ChrisHughes24/mathlib
98322577c460bc6b1fe5c21f42ce33ad1c3e5558
a2a867e827c2a6702beb9efc2b9282bd801d5f9a
refs/heads/master
1,583,848,251,477
1,565,164,247,000
1,565,164,247,000
129,409,993
0
1
Apache-2.0
1,565,164,817,000
1,523,628,059,000
Lean
UTF-8
Lean
false
false
11,448
lean
/- Copyright (c) 2018 Mitchell Rowett. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mitchell Rowett, Scott Morrison -/ import group_theory.subgroup data.equiv.basic data.quot open set function variable {α : Type*} @[to_additive left_add_coset] def left_coset [has_m...
e9598cb57e837b7aa00abbf07e7231e2aeef6637
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/limits/preserves/shapes/pullbacks.lean
47d26ecc254332005f1bbd0b340a222310f168d7
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
5,642
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.limits.shapes.pullbacks import Mathlib.category_theory.limits.preserves.basic i...
a7c600924fc76cc72e8aad323b6f64b4720f5479
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/simp6.lean
64f36a558c05a57b31358c17db4894630cfc07c7
[ "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
737
lean
theorem ex1 (a : α) (b : List α) : (a::b = []) = False := by simp theorem ex2 (a : α) (b : List α) : (a::b = []) = False := by simp theorem ex3 (x : Nat) : (if Nat.succ x = 0 then 1 else 2) = 2 := by simp theorem ex4 (x : Nat) : (if 10 = 0 then 1 else 2) = 2 := by simp theorem ex5 : (10 = 20) = False := b...
d3320ad0d0243e8b034a3607d9259ffbded56afc
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/category_theory/limits/shapes/constructions/over/products.lean
44ecd390a1568de86a0d8cb9d0e6743a3f787176
[ "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,992
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.shapes.pullbacks import category_theory.limits.shapes.wide_pullbacks import categ...
b29afc4bfd7eecd0a3d0e217f636db77fc943ae4
1d265c7dd8cb3d0e1d645a19fd6157a2084c3921
/src/lessons/lesson10.lean
28931ba0b8643d71780fe8e4303c21300faa49f3
[ "MIT" ]
permissive
hanzhi713/lean-proofs
de432372f220d302be09b5ca4227f8986567e4fd
4d8356a878645b9ba7cb036f87737f3f1e68ede5
refs/heads/master
1,585,580,245,658
1,553,646,623,000
1,553,646,623,000
151,342,188
0
1
null
null
null
null
UTF-8
Lean
false
false
914
lean
def alwaysTrue : ℕ → Prop := λ n, n ≥ 0 def alwaysFalse : ℕ → Prop := λ n, n < 0 inductive day : Type | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | Sunday #check day.Tuesday open day -- no longer need to day. prefix #check Tuesday -- Answer def isWeekend : day → Prop := λ d, d = Saturday ∨...
50ee75e712536b48fc05ab9735cebc7789d7cb3d
78269ad0b3c342b20786f60690708b6e328132b0
/src/library_dev/data/num/lemmas.lean
0923b3d2966ff7abaaa8856a09e57499298f2be2
[]
no_license
dselsam/library_dev
e74f46010fee9c7b66eaa704654cad0fcd2eefca
1b4e34e7fb067ea5211714d6d3ecef5132fc8218
refs/heads/master
1,610,372,841,675
1,497,014,421,000
1,497,014,421,000
86,526,137
0
0
null
1,490,752,133,000
1,490,752,132,000
null
UTF-8
Lean
false
false
15,909
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Properties of the binary representation of integers. -/ import .basic .bitwise meta def unfold_coe : tactic unit := `[unfold coe lift_t has_lift_t.lift coe_t has...
11d23abf0bfb43a5c2ec2cbfaa251cea1299dfc2
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/data/fintype/basic.lean
d6caad2bc956d568940ecf0aba459d3cd8d5c9e9
[ "Apache-2.0" ]
permissive
lacker/mathlib
f2439c743c4f8eb413ec589430c82d0f73b2d539
ddf7563ac69d42cfa4a1bfe41db1fed521bd795f
refs/heads/master
1,671,948,326,773
1,601,479,268,000
1,601,479,268,000
298,686,743
0
0
Apache-2.0
1,601,070,794,000
1,601,070,794,000
null
UTF-8
Lean
false
false
46,146
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Finite types. -/ import tactic.wlog import data.finset.powerset import data.finset.lattice import data.finset.pi import data.array.lemmas universes u v variables {α : ...
4825e37ed1730931d2a68e37108727716bd591d9
c777c32c8e484e195053731103c5e52af26a25d1
/src/ring_theory/complex.lean
598d189f045c21e5db3cb43a31c706292e16f14a
[ "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
1,439
lean
/- Copyright (c) 2023 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import data.complex.module import ring_theory.norm import ring_theory.trace /-! # Lemmas about `algebra.trace` and `algebra.norm` on `ℂ` -/ open complex lemma algebra.le...
14ee6f2dbff6448e069d064217b00d35260ee76c
74caf7451c921a8d5ab9c6e2b828c9d0a35aae95
/library/init/meta/comp_value_tactics.lean
3abd33963880f3abfcf21a5e4d1c3c44f1673e08
[ "Apache-2.0" ]
permissive
sakas--/lean
f37b6fad4fd4206f2891b89f0f8135f57921fc3f
570d9052820be1d6442a5cc58ece37397f8a9e4c
refs/heads/master
1,586,127,145,194
1,480,960,018,000
1,480,960,635,000
40,137,176
0
0
null
1,438,621,351,000
1,438,621,351,000
null
UTF-8
Lean
false
false
2,047
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.meta.tactic meta constant mk_nat_val_ne_proof : expr → expr → option expr meta constant mk_nat_val_lt_proof : expr → expr → option expr...
db68c18cb599c47ed4c85bbacc672881b912a1fc
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/tactic/simps.lean
bf2e4a88f906c4c71c50a5fa6f87c8610e657667
[ "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
32,484
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 -/ import tactic.core /-! # simps attribute This file defines the `@[simps]` attribute, to automatically generate simp-lemmas reducing a definition when projection...
4bc8f8bf34ba3944d31727fce19cb20b20629ec6
618003631150032a5676f229d13a079ac875ff77
/src/logic/function/basic.lean
78a5e6c05bf9d51decaa2e485b680a7832183c36
[ "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
13,562
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...
43504bfc562d16bda85f5057e1a36cf0e78c9335
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/data/list/rotate.lean
27b8dcdbd99254f112e9fc110baef75436c60b85
[ "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,405
lean
/- Copyright (c) 2019 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Yakov Pechersky -/ import data.list.perm import data.list.range /-! # List rotation This file proves basic results about `list.rotate`, the list rotation. ## Main declar...
e569c0d542e6d2562eea2f37f4d7310257a2f8b7
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/measure_theory/covering/vitali.lean
ce810149771fb3a5ca0b2358ecdc8a808bc30477
[ "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
25,650
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 topology.metric_space.basic import measure_theory.constructions.borel_space /-! # Vitali covering theorems The topological Vitali covering theorem, in ...
14664fae4a2fe1dfea8707557d45d6f7ce58e9d5
b7f22e51856f4989b970961f794f1c435f9b8f78
/hott/init/trunc.hlean
4b5ebb4e4db1cb6a108ffc4add86f282f603982e
[ "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
12,710
hlean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Floris van Doorn Definition of is_trunc (n-truncatedness) Ported from Coq HoTT. -/ prelude import .nat .logic .equiv .pathover open eq nat sigma unit sigma.ops...