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
2436f17442a45e10731dc5da500998e30ee50bda
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/analysis/calculus/lhopital.lean
00712c862df1c7b3f00f9c1346040497ec6d75a1
[]
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
16,640
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.analysis.calculus.mean_value import Mathlib.PostPort namespace Mathlib /-! # L'HΓ΄pita...
c45cc06cfab770d2603091a3041d2b91676bdefd
8cb37a089cdb4af3af9d8bf1002b417e407a8e9e
/library/init/meta/converter/interactive.lean
11e244ca36615e6357a3a8d1ba3f7344cd0f44d3
[ "Apache-2.0" ]
permissive
kbuzzard/lean
ae3c3db4bb462d750dbf7419b28bafb3ec983ef7
ed1788fd674bb8991acffc8fca585ec746711928
refs/heads/master
1,620,983,366,617
1,618,937,600,000
1,618,937,600,000
359,886,396
1
0
Apache-2.0
1,618,936,987,000
1,618,936,987,000
null
UTF-8
Lean
false
false
6,879
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)...
3e32fa5e39aa8fdd284e3138982b92fc84a52a86
bb31430994044506fa42fd667e2d556327e18dfe
/src/algebra/continued_fractions/computation/translations.lean
a7eeeac76d51a26fbcd50a91b3b2389d571d49b1
[ "Apache-2.0" ]
permissive
sgouezel/mathlib
0cb4e5335a2ba189fa7af96d83a377f83270e503
00638177efd1b2534fc5269363ebf42a7871df9a
refs/heads/master
1,674,527,483,042
1,673,665,568,000
1,673,665,568,000
119,598,202
0
0
null
1,517,348,647,000
1,517,348,646,000
null
UTF-8
Lean
false
false
8,326
lean
/- Copyright (c) 2020 Kevin Kappelmann. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Kappelmann -/ import algebra.continued_fractions.computation.basic import algebra.continued_fractions.translations /-! # Basic Translation Lemmas Between Structures Defined for...
ad2708bd373d9d0e9df4a80c16bfcb86c43f9cec
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/functorial.lean
6a393cc6231e39b17a82ce2cebc6957e96c877d7
[]
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,293
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.functor import Mathlib.PostPort universes v₁ vβ‚‚ u₁ uβ‚‚ l u₃ v₃ namespace ...
9f9760bad4208de1926c2d0184c56c77e5c06fcf
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Data/Json/Stream.lean
e5edb713834d836bd8f2415d330649e22a2c4e70
[ "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
717
lean
/- Copyright (c) 2020 Marc Huisinga. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marc Huisinga -/ import Init.System.IO import Lean.Data.Json.Parser import Lean.Data.Json.Printer import Lean.Data.Json.FromToJson namespace IO.FS.Stream open Lean open IO /-- Consu...
0538c8d44f91f801cb035b9f81efee018e6680ec
d7189ea2ef694124821b033e533f18905b5e87ef
/galois/list/fin_nth.lean
eac9cc4cce3f2b59a3dfae37f2de8c96820a8f55
[ "Apache-2.0" ]
permissive
digama0/lean-protocol-support
eaa7e6f8b8e0d5bbfff1f7f52bfb79a3b11b0f59
cabfa3abedbdd6fdca6e2da6fbbf91a13ed48dda
refs/heads/master
1,625,421,450,627
1,506,035,462,000
1,506,035,462,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,324
lean
/- This defines an operation fin_nth which gets the nth item on a list when the index is guaranteed to reference a valid element. -/ import galois.nat.simplify_le import init.data.fin.ops universe variable u namespace list /-- Return the element in the list at the given index. This is a total version of nth. -/ def...
b0102d3de186b6b2a75c7ea1ee6e9f3838e1e1d4
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/stage0/src/Init/Data/HashMap/Basic.lean
97459d3b7c21854531789e7543bb73683e45d171
[ "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
7,565
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import Init.Data.Array.Basic import Init.Data.AssocList import Init.Data.Option.Basic import Init.Data.Hashable universes u v w def HashMapBucket (Ξ±...
a1c64eb4cfd0a0b54e44ec9c32ad629b0c8f4fa1
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/data/real/nnreal.lean
74f26174aea3b0ecb6cfcf64e80995907fc5ac18
[ "Apache-2.0" ]
permissive
hamdysalah1/mathlib
b915f86b2503feeae268de369f1b16932321f097
95454452f6b3569bf967d35aab8d852b1ddf8017
refs/heads/master
1,677,154,116,545
1,611,797,994,000
1,611,797,994,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
27,601
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 algebra.linear_ordered_comm_group_with_zero import algebra.big_operators.ring import data.real.basic import data.indicator_function /-! # Nonnegative real num...
2e805dd8ef23ccfee7cd6f67e98bf0f431494c6d
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/set_theory/ordinal_notation.lean
5bb363920e169b6a9e32781e24cb03d050e67721
[ "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
35,945
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 set_theory.ordinal_arithmetic /-! # Ordinal notation Constructive ordinal arithmetic for ordinals below `Ξ΅β‚€`. We define a type `onote`, with constructors `...
ec5960772498f9695f760a3202f80752cfa52624
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/ring_theory/adjoin_root.lean
acf6b881796b4079671cb25c9131697946fc9b3b
[ "Apache-2.0" ]
permissive
hamdysalah1/mathlib
b915f86b2503feeae268de369f1b16932321f097
95454452f6b3569bf967d35aab8d852b1ddf8017
refs/heads/master
1,677,154,116,545
1,611,797,994,000
1,611,797,994,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,716
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Chris Hughes Adjoining roots of polynomials -/ import data.polynomial.field_division import ring_theory.adjoin import ring_theory.principal_ideal_domain import linear_...
3973f2a7f54be2b2299ab3c8414af7158bf1747b
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/StxQuot.lean
1cdf9e5bee72ef9fc56457a196d776aa8a0fe3fb
[ "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
4,544
lean
import Lean open Lean open Lean.Elab def run {Ξ±} [ToString Ξ±] : Unhygienic Ξ± β†’ String := toString ∘ Unhygienic.run #eval run `() #eval run `(Nat.one) def miss : TSyntax `term := ⟨Syntax.missing⟩ #eval run `($miss) namespace Lean.Syntax #eval run `($miss) #eval run `($(miss)) #eval run `($(id miss) + 1) #eval run $ l...
911fd1fca68bdfba9b8ae2db28b5bd98407b791f
8cb37a089cdb4af3af9d8bf1002b417e407a8e9e
/library/init/meta/exceptional.lean
d28c6f66d3db45c5fe162b75d000d74ccd7bff0d
[ "Apache-2.0" ]
permissive
kbuzzard/lean
ae3c3db4bb462d750dbf7419b28bafb3ec983ef7
ed1788fd674bb8991acffc8fca585ec746711928
refs/heads/master
1,620,983,366,617
1,618,937,600,000
1,618,937,600,000
359,886,396
1
0
Apache-2.0
1,618,936,987,000
1,618,936,987,000
null
UTF-8
Lean
false
false
1,614
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.control.monad init.meta.format init.util /- Remark: we use a function that produces a format object as the exception information. Motiva...
dd9078151710c945e05f2c84fddac8dcab3525ac
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/topology/constructions.lean
0d746832a3e2013c5a9de8e4b16819b90506c013
[ "Apache-2.0" ]
permissive
abentkamp/mathlib
d9a75d291ec09f4637b0f30cc3880ffb07549ee5
5360e476391508e092b5a1e5210bd0ed22dc0755
refs/heads/master
1,682,382,954,948
1,622,106,077,000
1,622,106,077,000
149,285,665
0
0
null
null
null
null
UTF-8
Lean
false
false
41,190
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...
6391e8f3989b18195cb56ba275f641572c5cdb5d
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/06_Inductive_Types.org.37.lean
7e7ca0ee72b4360083b934915c64cfe10bec53e4
[]
no_license
cjmazey/lean-tutorial
ba559a49f82aa6c5848b9bf17b7389bf7f4ba645
381f61c9fcac56d01d959ae0fa6e376f2c4e3b34
refs/heads/master
1,610,286,098,832
1,447,124,923,000
1,447,124,923,000
43,082,433
0
0
null
null
null
null
UTF-8
Lean
false
false
130
lean
/- page 90 -/ import standard inductive binary_tree := | leaf : binary_tree | node : binary_tree β†’ binary_tree β†’ binary_tree
9b3402a0a0bc4bf9aaed2a782730c54515df163c
d0c6b2ba2af981e9ab0a98f6e169262caad4b9b9
/stage0/src/Lean/Elab/Level.lean
a2000ef2069e3bbaa11ca0dc261e6bebc6a61c04
[ "Apache-2.0" ]
permissive
fizruk/lean4
953b7dcd76e78c17a0743a2c1a918394ab64bbc0
545ed50f83c570f772ade4edbe7d38a078cbd761
refs/heads/master
1,677,655,987,815
1,612,393,885,000
1,612,393,885,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,583
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.LevelDefEq import Lean.Elab.Exception import Lean.Elab.Log import Lean.Elab.AutoBound namespace Lean.Elab.Level structure Context where ...
3c2e7c5f3109fb34c0264e69c8389f9670fc001f
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/analysis/convex/specific_functions.lean
3bca1de1375c83a08d6aefcf64dabecd948762d3
[ "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
6,314
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov, SΓ©bastien GouΓ«zel -/ import analysis.calculus.mean_value import analysis.special_functions.pow /-! # Collection of convex functions In this file we prove that the f...
3020fbe922df9e283e8f02adf5abc239b2762067
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/box_integral/box/basic.lean
c1158afc42622c16e801711a5ecdbeae14ec2057
[ "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
17,904
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 data.set.intervals.monotone import topology.algebra.order.monotone_convergence import topology.metric_space.basic /-! # Rectangular boxes in `ℝⁿ` In this f...
0d6cd70798b5eb2e5937b64c712986309f414deb
4bcaca5dc83d49803f72b7b5920b75b6e7d9de2d
/tests/lean/termination_by.lean
0aa90a62a02c5e15816bc51a0bb5d0a3ec554633
[ "Apache-2.0" ]
permissive
subfish-zhou/leanprover-zh_CN.github.io
30b9fba9bd790720bd95764e61ae796697d2f603
8b2985d4a3d458ceda9361ac454c28168d920d3f
refs/heads/master
1,689,709,967,820
1,632,503,056,000
1,632,503,056,000
409,962,097
1
0
null
null
null
null
UTF-8
Lean
false
false
923
lean
mutual inductive Even : Nat β†’ Prop | base : Even 0 | step : Odd n β†’ Even (n+1) inductive Odd : Nat β†’ Prop | step : Even n β†’ Odd (n+1) end termination_by measure mutual def f (n : Nat) := if n == 0 then 0 else f (n / 2) + 1 termination_by measure end mutual def f (n : Nat) := match n with ...
a768ee59f813ebd7548334c9720f6cc728581584
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/data/finsupp.lean
bfd7de7bb016e0441453484589d5e32c367224c1
[ "Apache-2.0" ]
permissive
anrddh/mathlib
6a374da53c7e3a35cb0298b0cd67824efef362b4
a4266a01d2dcb10de19369307c986d038c7bb6a6
refs/heads/master
1,656,710,827,909
1,589,560,456,000
1,589,560,456,000
264,271,800
0
0
Apache-2.0
1,589,568,062,000
1,589,568,061,000
null
UTF-8
Lean
false
false
68,484
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, Scott Morrison -/ import algebra.module /-! # Type of functions with finite support For any type `Ξ±` and a type `Ξ²` with zero, we define the type `finsupp Ξ± Ξ²` of fi...
87c5c9f73fddf84ceb7309c7df3eeaf0165bfb98
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Compiler/IR/PushProj.lean
63f73393f0cf1a6d16e71bd37fce05ac862f1218
[ "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,025
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.Basic import Lean.Compiler.IR.FreeVars import Lean.Compiler.IR.NormIds namespace Lean.IR partial def pushProjs (bs : Array FnBody)...
2c4676e63d64e1ac7162a09a8a28edd2041b9310
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/group_theory/group_action.lean
0994ae417bbb43acc68d6cdd41df50c09b4ca6a6
[ "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
9,776
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.set.finite import group_theory.coset universes u v w variables {Ξ± : Type u} {Ξ² : Type v} {Ξ³ : Type w} /-- Typeclass for types with a scalar multiplication o...
b827ee4be3ac1060cca976f02a3237ccf7d8c056
4727251e0cd73359b15b664c3170e5d754078599
/src/analysis/calculus/fderiv_analytic.lean
b18d50ad74cf499d91462a0f1681a726727bc0a3
[ "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,181
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.calculus.deriv import analysis.analytic.basic import analysis.calculus.cont_diff /-! # Frechet derivatives of analytic functions. A function expre...
6dd8136478c0935b04f5c99a74f111398efb13dc
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/adjoin/power_basis.lean
070b9fc1506c105481d10e09de7c3cc76e4ae407
[ "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
8,070
lean
/- Copyright (c) 2021 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import ring_theory.adjoin.basic import ring_theory.power_basis import linear_algebra.matrix.basis /-! # Power basis for `algebra.adjoin R {x}` > THIS FILE IS SYNCHRONIZE...
df77284af16d9b3558f5bead14f8fbf24fdd34ba
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/ring_theory/polynomial/chebyshev.lean
dd62074f3edbfeb214c349ac841a2eb670eb564f
[ "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
10,927
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Julian Kuelshammer, Heather Macbeth -/ import data.polynomial.derivative import tactic.linear_combination /-! # Chebyshev polynomials The Chebyshev polynomials are tw...
0455d11ba3657edef482ece48a3c82ba50539753
d436468d80b739ba7e06843c4d0d2070e43448e5
/src/algebra/pointwise.lean
7f153d03f4b52bd6ba5f5fd9afee7af24762ba15
[ "Apache-2.0" ]
permissive
roro47/mathlib
761fdc002aef92f77818f3fef06bf6ec6fc1a28e
80aa7d52537571a2ca62a3fdf71c9533a09422cf
refs/heads/master
1,599,656,410,625
1,573,649,488,000
1,573,649,488,000
221,452,951
0
0
Apache-2.0
1,573,647,693,000
1,573,647,692,000
null
UTF-8
Lean
false
false
8,469
lean
/- Copyright (c) 2019 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin Pointwise addition and multiplication of sets -/ import data.set.finite data.set.lattice group_theory.group_action namespace set open function variables {Ξ± : Type*} ...
4c5365ed7b648687eea05c0d92d0dd180d3d7934
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/tests/lean/smartUnfolding.lean
1c62670e82377154ff275072d5cc8a73d110c5e5
[ "Apache-2.0" ]
permissive
WojciechKarpiel/lean4
7f89706b8e3c1f942b83a2c91a3a00b05da0e65b
f6e1314fa08293dea66a329e05b6c196a0189163
refs/heads/master
1,686,633,402,214
1,625,821,189,000
1,625,821,258,000
384,640,886
0
0
Apache-2.0
1,625,903,617,000
1,625,903,026,000
null
UTF-8
Lean
false
false
245
lean
theorem ex1 (x y : Nat) (h : x + 2 = y + 2) : x = y := by injection h with h traceState -- without smart unfolding the state would be a mess injection h with h traceState -- without smart unfolding the state would be a mess assumption
ddb39e66d3757e691b50b6761ce704b9a8c2c8bd
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Lean/Meta/Tactic/Contradiction.lean
2ae00020133bc2b3d405686c9df245fd9827bd4a
[ "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,623
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.MatchUtil import Lean.Meta.Tactic.Assumption import Lean.Meta.Tactic.Cases import Lean.Meta.Tactic.Apply namespace Lean.Meta structure Co...
63c8514bfd9d935318194af25b0d1d264e64cf2a
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/lake/Lake/Util/EStateT.lean
1af244868454a839d9ef7d226c9012715a8e2b4f
[ "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
684
lean
/- Copyright (c) 2022 Mac Malone. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mac Malone -/ namespace Lake /-- An exception plus state monad transformer (ΞΉ.e., `ExceptT` + `StateT`). -/ abbrev EStateT.{u,v} (Ξ΅ : Type u) (Οƒ : Type u) (m : Type u β†’ Type v) := Exce...
832c468c33bc44a4d393e07ad74dc51bdb351323
d450724ba99f5b50b57d244eb41fef9f6789db81
/src/homework/hw7.lean
540590c313093d6f0e6206037ebcf8b0524d57c3
[]
no_license
jakekauff/CS2120F21
4f009adeb4ce4a148442b562196d66cc6c04530c
e69529ec6f5d47a554291c4241a3d8ec4fe8f5ad
refs/heads/main
1,693,841,880,030
1,637,604,848,000
1,637,604,848,000
399,946,698
0
0
null
null
null
null
UTF-8
Lean
false
false
3,987
lean
import data.set namespace relation -- PRELIMINARY SETUP /- Preliminary set up. For the rest of this file, we specify an arbitrary binary relation, r, on an arbitrary type, Ξ², as a two-place predicate, with infix notation x β‰Ί y for (r x y). One can pronounce these expressions in English as "x is related to y". -/ va...
2e25c9c6c0fe012456e0f2e8910dd70157eee25e
618003631150032a5676f229d13a079ac875ff77
/src/geometry/manifold/basic_smooth_bundle.lean
173fb9c6f99903f2b4e7ee4e1280a5d418a3ff10
[ "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
31,950
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.topological_fiber_bundle import geometry.manifold.smooth_manifold_with_corners /-! # Basic smooth bundles In general, a smooth bundle is a bund...
df6f79137b5cede29dcf11f4a55c1656b1fe5f7e
75c54c8946bb4203e0aaf196f918424a17b0de99
/old/language_term_n_de_bruijn.lean
084d72d7040a5a44359cc0573af4a0985d168bcf
[ "Apache-2.0" ]
permissive
urkud/flypitch
261e2a45f1038130178575406df8aea78255ba77
2250f5eda14b6ef9fc3e4e1f4a9ac4005634de5c
refs/heads/master
1,653,266,469,246
1,577,819,679,000
1,577,819,679,000
259,862,235
1
0
Apache-2.0
1,588,147,244,000
1,588,147,244,000
null
UTF-8
Lean
false
false
11,991
lean
/- 9/20/18 Preliminary definitions and some functions for working with languages and first-order logic. Much of the structure and methods are taken from Russell O'Connor's proof of Goedel's incompleteness theorem, at http://r6.ca/Goedel/goedel1.html Andrew Tindall-/ /- 2018-09-21T13:12:55 Added some pr...
39f8fdaf38e3c0e3041fb1b9c93cd31cc17d5cd1
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch3/ex0102.lean
ec94ddf6877a467fd4e9e0f16b841a7a0cae4587
[]
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
157
lean
-- constant Proof : Prop β†’ Type -- constant and_comm : Ξ  p q : Prop, -- Proof (implies (and p q) (and q p)) variables p q : Prop #check and_comm p q
d1fc872211665a3612dfd15adc17e84027e12c8d
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/testing/slim_check/gen_auto.lean
1e511096ebdb4fce552d8642f443d5d311cb88cb
[]
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,050
lean
/- Copyright (c) 2020 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author(s): Simon Hudon -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.control.uliftable import Mathlib.Lean3Lib.system.random import Mathlib.system.random.basic impo...
c337964be1065755a97dd096f99bf873e60eff9b
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/limits/types_auto.lean
d1f7daf36f75965b5281ca1a0d2c5291d1a512b4
[]
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
15,630
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 -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.limits.shapes.images import Mathlib.category_theory.filtered i...
14ee659b56101064d48844781ca138666f9292db
626e312b5c1cb2d88fca108f5933076012633192
/src/group_theory/group_action/defs.lean
dfdc4b805179cf12204b8716746d6fe837685c77
[ "Apache-2.0" ]
permissive
Bioye97/mathlib
9db2f9ee54418d29dd06996279ba9dc874fd6beb
782a20a27ee83b523f801ff34efb1a9557085019
refs/heads/master
1,690,305,956,488
1,631,067,774,000
1,631,067,774,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
19,657
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Yury Kudryashov -/ import algebra.group.defs import algebra.group.hom import algebra.group.type_tags import logic.embedding /-! # Definitions of group actions This file d...
5d7771b3acb34a6e2a8403d16aad421c4640a0fd
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/adjunction/evaluation.lean
735917af13f81fa5628b1f8682c7a77e533e9c96
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
4,848
lean
/- Copyright (c) 2021 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Topaz -/ import category_theory.limits.shapes.products import category_theory.functor.epi_mono /-! # Adjunctions involving evaluation We show that evaluation of functors have adjo...
c94eb7026fae8830906358867a8c0217b35d4154
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/unfold1.lean
a3cab75b52185c2bf17728fa1aade42f8d74c0ce
[ "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
515
lean
exit -- TODO(Leo): enable test again after we add rfl lemma support to type_context open tactic meta_definition rewriteH (Hname : name) : tactic unit := do get_local Hname >>= rewrite_core reducible tt occurrences.all ff, try reflexivity example (l : list nat) : list.append l [] = l := by do get_local `l >>= Ξ» H...
6e202547246748a35ac14a0fb8694be0ba77e16c
59a4b050600ed7b3d5826a8478db0a9bdc190252
/src/category_theory/universal/complete/functor_category.lean
d856db6c8e65ab9919a1b7681566044859b78a51
[]
no_license
rwbarton/lean-category-theory
f720268d800b62a25d69842ca7b5d27822f00652
00df814d463406b7a13a56f5dcda67758ba1b419
refs/heads/master
1,585,366,296,767
1,536,151,349,000
1,536,151,349,000
147,652,096
0
0
null
1,536,226,960,000
1,536,226,960,000
null
UTF-8
Lean
false
false
2,214
lean
-- Copyright (c) 2018 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison import category_theory.currying import category_theory.functor_categories.whiskering import category_theory.universal.complete import category_theory.universal.co...
cfc0118593292b3de875e73e50c96d93bbb01197
b73bd2854495d87ad5ce4f247cfcd6faa7e71c7e
/src/game/world1/level6.lean
a04a06f02374a073ee95be8f8837a912e69b4f6e
[]
no_license
agusakov/category-theory-game
20db0b26270e0c95a3d5605498570273d72f731d
652dd7e90ae706643b2a597e2c938403653e167d
refs/heads/master
1,669,201,216,310
1,595,740,057,000
1,595,740,057,000
280,895,295
12
0
null
null
null
null
UTF-8
Lean
false
false
680
lean
import category_theory.category.default import game.world1.level4 universes v u -- The order in this declaration matters: v often needs to be explicitly specified while u often can be omitted namespace category_theory variables (C : Type u) [category.{v} C] /- # Category world ## Level 5: More tactic reviews -/ ...
8a46fe00e4870c167897858fc34b7c9ef7a19fbb
86f6f4f8d827a196a32bfc646234b73328aeb306
/examples/basics/unnamed_115.lean
6a142b6a1d64016fbe186589ae54e65dc0f170f0
[]
no_license
jamescheuk91/mathematics_in_lean
09f1f87d2b0dce53464ff0cbe592c568ff59cf5e
4452499264e2975bca2f42565c0925506ba5dda3
refs/heads/master
1,679,716,410,967
1,613,957,947,000
1,613,957,947,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
182
lean
import data.real.basic -- BEGIN example (a b c : ℝ) : (c * b) * a = b * (a * c) := begin sorry end example (a b c : ℝ) : a * (b * c) = b * (a * c) := begin sorry end -- END
a4727ea91f64dc5ad5c2a07a7adf898b6088fadc
d1a52c3f208fa42c41df8278c3d280f075eb020c
/src/Lean/Meta/WHNF.lean
725472da784d48cd12f0b763eac0d1a75150855d
[ "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
30,230
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.ToExpr import Lean.AuxRecursor import Lean.ProjFns import Lean.Structure import Lean.Util.Recognizers import Lean.Meta.Basic import Lean.Meta.Ge...
c145d8ab17db2a984cf2427ac8ad471ba52ea595
fffbc47930dc6615e66ece42324ce57a21d5b64b
/src/category_theory/instances/Top/adjunctions.lean
7f46e7496c634f035b9310621550d4231f701303
[ "Apache-2.0" ]
permissive
skbaek/mathlib
3caae8ae413c66862293a95fd2fbada3647b1228
f25340175631cdc85ad768a262433f968d0d6450
refs/heads/master
1,588,130,123,636
1,558,287,609,000
1,558,287,609,000
160,935,713
0
0
Apache-2.0
1,544,271,146,000
1,544,271,146,000
null
UTF-8
Lean
false
false
929
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Patrick Massot, Mario Carneiro import category_theory.instances.Top.basic import category_theory.adjunction universe u open category_theory open category_theory.instances nam...
5d3b439a9d93e8ceb27cc1247073bb79e8f447e1
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/set_like/basic.lean
b83d85eaf1033b41ed705d69619074d52bb0c0c5
[ "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,406
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 data.set.basic import tactic.monotonicity.basic /-! # Typeclass for types with a set-like extensionality property > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any ...
677ee0882fe5e684c53ad9c0d1bbb6dc2d54f7b7
64874bd1010548c7f5a6e3e8902efa63baaff785
/tests/lean/run/no_confusion_bug.lean
64b078a6b6786b5ae7ad0b2d4cf21ad2b16eb749
[ "Apache-2.0" ]
permissive
tjiaqi/lean
4634d729795c164664d10d093f3545287c76628f
d0ce4cf62f4246b0600c07e074d86e51f2195e30
refs/heads/master
1,622,323,796,480
1,422,643,069,000
1,422,643,069,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
352
lean
import data.nat.basic open nat inductive fin : nat β†’ Type := fz : Ξ  {n : nat}, fin (succ n), fs : Ξ  {n : nat}, fin n β†’ fin (succ n) namespace fin inductive le : βˆ€ {n : nat}, fin n β†’ fin n β†’ Prop := lez : βˆ€ {n : nat} (j : fin (succ n)), le fz j, les : βˆ€ {n : nat} {i j : fin n}, le i j β†’ le (fs i) (f...
a7509c49dae6423ed0938bf59482ba3773faddf7
63abd62053d479eae5abf4951554e1064a4c45b4
/src/measure_theory/measurable_space.lean
51c6c7df85584e941bf1287fa23f5b81d67dd78b
[ "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
54,509
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 order.filter.basic /-!...
ff48b38e7c21b781ee9839ab968c18bde3110abb
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/polynomial/reverse.lean
ce96e925bde9aa2b3680442486dabcb7ffbbd306
[ "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
13,106
lean
/- Copyright (c) 2020 Damiano Testa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Damiano Testa -/ import data.polynomial.degree.trailing_degree import data.polynomial.erase_lead import data.polynomial.eval /-! # Reverse of a univariate polynomial The main definiti...
7e724dabd00be5842925936de5ad5decffcc1c24
d1a52c3f208fa42c41df8278c3d280f075eb020c
/src/Lean/Elab.lean
cfb880690f591b190d89495ac9454b71c98aa5ab
[ "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
1,241
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.Elab.Import import Lean.Elab.Exception import Lean.Elab.Config import Lean.Elab.Command import Lean.Elab.Term import Lean.Elab.App import Lean.E...
7b2a57c2afefaafa014b29ade9c4093e2e911b6d
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/tests/lua/threads/deadlock.lean
48b8fbba7438b283c4413be331ca90c6a4d547de
[ "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
911
lean
(* import("util.lua") local ps = proof_state() local env = environment() local Bool = Const("Bool") env:add_var("p", Bool) env:add_var("q", Bool) local p, q = Consts("p, q") local ctx = context() ctx = ctx:extend("H1", p) ctx = ctx:extend("H2", q) ps = to_proof_state(env, ctx, p) print(ps) S1 = State() S2 = State...
5db63d6b54240a51747c71952f06eba593b9c5b5
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/src/Init/Lean/Util/Profile.lean
7f0585584d99d601d2886998034a30fe6afd1837
[ "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
608
lean
/- Copyright (c) 2019 Sebastian Ullrich. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Sebastian Ullrich -/ prelude import Init.System.IO import Init.Lean.Data.Position namespace Lean /-- Print and accumulate run time of `act` when Option `profiler` is set to `true`....
2aaa9920bba6fdf996cd8f31c8e4301a5f0aec6f
f1dc39e1c68f71465c8bf79910c4664d03824751
/library/init/algebra/ordered_group.lean
7018fa281537834b5824fb3cd63880413f1d5641
[ "Apache-2.0" ]
permissive
kckennylau/lean-2
6504f45da07bc98b098d726b74130103be25885c
c9a9368bc0fd600d832bd56c5cb2124b8a523ef9
refs/heads/master
1,659,140,308,864
1,589,361,166,000
1,589,361,166,000
263,748,786
0
0
null
1,589,405,915,000
1,589,405,915,000
null
UTF-8
Lean
false
false
20,605
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura -/ prelude import init.algebra.order init.algebra.group /- Make sure instances defined in this file have lower priority than the ones define...
7c05aa15bfdc1122bc75653ce3387d9618a98b91
5382d69a781e8d7e4f53e2358896eb7649c9b298
/posets.lean
c3c92c3ed7c106e860ee5c355abd3c47b7afaf77
[]
no_license
evhub/lean-math-examples
c30249747a21fba3bc8793eba4928db47cf28768
dec44bf581a1e9d5bf0b5261803a43fe8fd350e1
refs/heads/master
1,624,170,837,738
1,623,889,725,000
1,623,889,725,000
148,759,369
3
0
null
null
null
null
UTF-8
Lean
false
false
15,986
lean
import .util namespace posets open function open classical (em prop_decidable) open classical (renaming some β†’ unexists) (renaming some_spec β†’ unexists_prop) local attribute [instance] prop_decidable open util -- comparability: inductive comp {T: Sort _} [hT: partial_order T] (x y: T): Pr...
7c3f086ace8b538b4fd4246510c5f95179018dc9
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/topology/category/Top/opens.lean
6761ad22de4ded11ddb5036caeea881dd19c2212
[ "Apache-2.0" ]
permissive
agjftucker/mathlib
d634cd0d5256b6325e3c55bb7fb2403548371707
87fe50de17b00af533f72a102d0adefe4a2285e8
refs/heads/master
1,625,378,131,941
1,599,166,526,000
1,599,166,526,000
160,748,509
0
0
Apache-2.0
1,544,141,789,000
1,544,141,789,000
null
UTF-8
Lean
false
false
6,219
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 /-! # The category of open sets in a topological space. We define `to_Top : opens X β₯€ Top` and `...
f4c77407fea3ce503216627e9f2fd028110545eb
86f6f4f8d827a196a32bfc646234b73328aeb306
/examples/sets_functions_and_relations/unnamed_830.lean
6c13dc82ed6c74382ef99e99700b9f37a4cf6063
[]
no_license
jamescheuk91/mathematics_in_lean
09f1f87d2b0dce53464ff0cbe592c568ff59cf5e
4452499264e2975bca2f42565c0925506ba5dda3
refs/heads/master
1,679,716,410,967
1,613,957,947,000
1,613,957,947,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
373
lean
import data.set.function variables {Ξ± Ξ² : Type*} variable f : Ξ± β†’ Ξ² variables s t : set Ξ± -- BEGIN example : f '' (s βˆͺ t) = f '' s βˆͺ f '' t := begin ext y, split, { rintros ⟨x, xs | xt, rfl⟩, { left, use [x, xs] }, right, use [x, xt] }, rintros (⟨x, xs, rfl⟩ | ⟨x, xt, rfl⟩), { use [x, or.inl xs] }, ...
b0cace693f954b2e465a0747ae98ae2fe4cbe56e
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/data/equiv/local_equiv.lean
e844015f2afe7057584618ac0cf56cdbb37f1f35
[ "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
33,467
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 data.equiv.basic /-! # Local equivalences This files defines equivalences between subsets of given types. An element `e` of `local_equiv Ξ± Ξ²` is made o...
f8822d7230f4664ec3d487d404edd80238216e0b
37a833c924892ee3ecb911484775a6d6ebb8984d
/src/category_theory/yoneda_comparisons.lean
ced08cd5b9997d70bb6882cd423ed1f089c9c604
[]
no_license
silky/lean-category-theory
28126e80564a1f99e9c322d86b3f7d750da0afa1
0f029a2364975f56ac727d31d867a18c95c22fd8
refs/heads/master
1,589,555,811,646
1,554,673,665,000
1,554,673,665,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,987
lean
import category_theory.yoneda import category_theory.follow_your_nose universes u₁ v₁ open category_theory -- Unimath, Coq -- https://github.com/UniMath/UniMath/blob/master/UniMath/CategoryTheory/yoneda.v -- Greg O'Keefe, Isabelle -- https://www.isa-afp.org/browser_info/current/AFP/Category/document.pdf -- Alexander...
9a916ae816357e09ee902e7ad6c8add56de95dcc
bd12a817ba941113eb7fdb7ddf0979d9ed9386a0
/src/algebraic_geometry/presheafed_space.lean
04e407cb2fab94001bf2a90a29f389f416a5d363
[ "Apache-2.0" ]
permissive
flypitch/mathlib
563d9c3356c2885eb6cefaa704d8d86b89b74b15
70cd00bc20ad304f2ac0886b2291b44261787607
refs/heads/master
1,590,167,818,658
1,557,762,121,000
1,557,762,121,000
186,450,076
0
0
Apache-2.0
1,557,762,289,000
1,557,762,288,000
null
UTF-8
Lean
false
false
5,422
lean
-- Copyright (c) 2019 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Scott Morrison import category_theory.instances.Top.presheaf universes v u open category_theory open category_theory.instances open category_theory.instances.Top open topologic...
3ee39523177f6c806bac6659592af0290d97ece4
42610cc2e5db9c90269470365e6056df0122eaa0
/hott/types/eq.hlean
af916be3b7feb86d805a0dc21417070f02b82c05
[ "Apache-2.0" ]
permissive
tomsib2001/lean
2ab59bfaebd24a62109f800dcf4a7139ebd73858
eb639a7d53fb40175bea5c8da86b51d14bb91f76
refs/heads/master
1,586,128,387,740
1,468,968,950,000
1,468,968,950,000
61,027,234
0
0
null
1,465,813,585,000
1,465,813,585,000
null
UTF-8
Lean
false
false
21,515
hlean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn Partially ported from Coq HoTT Theorems about path types (identity types) -/ import types.sigma open eq sigma sigma.ops equiv is_equiv is_trunc -- TODO: Rename tra...
c7216c2e2ae95a4ea21260826e7af6d688548ce7
f1dc39e1c68f71465c8bf79910c4664d03824751
/tests/lean/123-2.lean
d458594303fa96696d552abd09d785d0ad5759a2
[ "Apache-2.0" ]
permissive
kckennylau/lean-2
6504f45da07bc98b098d726b74130103be25885c
c9a9368bc0fd600d832bd56c5cb2124b8a523ef9
refs/heads/master
1,659,140,308,864
1,589,361,166,000
1,589,361,166,000
263,748,786
0
0
null
1,589,405,915,000
1,589,405,915,000
null
UTF-8
Lean
false
false
1,713
lean
open function class has_scalar' (R : Type*) (A : Type*) := (smul : R β†’ A β†’ A) infixr ` β€’ `:73 := has_scalar'.smul structure ring_hom' (M : Type*) (N : Type*) [semiring M] [semiring N] := (to_fun : M β†’ N) (map_one' : to_fun 1 = 1) (map_mul' : βˆ€ x y, to_fun (x * y) = to_fun x * to_fun y) (map_zero' : to_fun 0 = 0) (ma...
e4bab7f48fa96dbbee047e932323fcc354e8f412
c3f2fcd060adfa2ca29f924839d2d925e8f2c685
/tests/lean/run/tactic24.lean
9326510649090d8e12f16981dc6894cdda690b22
[ "Apache-2.0" ]
permissive
respu/lean
6582d19a2f2838a28ecd2b3c6f81c32d07b5341d
8c76419c60b63d0d9f7bc04ebb0b99812d0ec654
refs/heads/master
1,610,882,451,231
1,427,747,084,000
1,427,747,429,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
548
lean
import logic open tactic definition my_tac1 := apply @eq.refl definition my_tac2 := repeat (apply @and.intro; assumption) tactic_hint my_tac1 tactic_hint my_tac2 theorem T1 {A : Type.{2}} (a : A) : a = a := _ theorem T2 {a b c : Prop} (Ha : a) (Hb : b) (Hc : c) : a ∧ b ∧ c := _ definition my_tac3 := fixpoint (λ f,...
28223780996d2190f8913d083e6fadd13210cd61
43dcf09a5df9dc4729cdc024e8680eeaacd05af3
/binary_op.lean
23123ce76c4248ed5bd2b1980a91b48cbe2c679d
[]
no_license
khoek/lmath
f9ea911aabee1eb276a5319e70a5e62e6bfe8fb1
a4f35205e6b5a3f16926234bf8eb7f7b5f56e47f
refs/heads/master
1,611,452,778,710
1,532,531,556,000
1,532,569,670,000
122,820,532
0
0
null
null
null
null
UTF-8
Lean
false
false
4,288
lean
import data.quot import tidy.tidy lemma eq_is_refl {Ξ± : Type} {r : Ξ± β†’ Ξ± β†’ Prop} : equivalence r β†’ reflexive r := by intro h; exact and.elim_left h lemma eq_is_symm {Ξ± : Type} {r : Ξ± β†’ Ξ± β†’ Prop} : equivalence r β†’ symmetric r := by intro h; exact and.elim_left (and.elim_right h) lemma eq_is_trans {Ξ± : Type} {r : Ξ± β†’ Ξ±...
5676457658cc6cb24704164f1083b2d095bf2d3e
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/order/modular_lattice.lean
268d8a717d9a0d0a887d0936b310aa5da7072614
[]
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,468
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.order.rel_iso import Mathlib.order.lattice_intervals import Mathlib.order.order_dual import...
fc78719f17a031e77e72e3cd49c1e630c54de001
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/metric_space/hausdorff_distance.lean
2f57d226d2b651ab65975b42231abfbda36d2d0e
[]
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
24,503
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 -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.metric_space.isometry import Mathlib.topology.instances.ennreal import Mathli...
22096b84463def3e7d2e14500a6d34c6b0cf89ff
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/multiset/erase_dup_auto.lean
47c9359e73147c9736d4a9f68b2c561f9089a1e4
[]
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
4,393
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.multiset.nodup import Mathlib.PostPort universes u_1 u_2 namespace Mathlib /-! # Er...
4e09c5f9055be5c84d4ba08bc66f27166d3d0f3e
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/measure_theory/borel_space.lean
789a4571270f653a07f4f0e8dcb5f4719b76e794
[ "Apache-2.0" ]
permissive
anthony2698/mathlib
03cd69fe5c280b0916f6df2d07c614c8e1efe890
407615e05814e98b24b2ff322b14e8e3eb5e5d67
refs/heads/master
1,678,792,774,873
1,614,371,563,000
1,614,371,563,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
65,710
lean
/- Copyright (c) 2017 Johannes HΓΆlzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes HΓΆlzl, Yury Kudryashov -/ import measure_theory.measure_space import measure_theory.ae_measurable_sequence import analysis.complex.basic import analysis.normed_space.finite_di...
d0690737112ac35587aa06174dda7dbc316053aa
22e97a5d648fc451e25a06c668dc03ac7ed7bc25
/src/data/nat/basic.lean
5f8cdac840a51a362d983b311d9dc7057d029bbb
[ "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
64,490
lean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Leonardo de Moura, Jeremy Avigad, Mario Carneiro -/ import algebra.ordered_ring import algebra.order_functions import init_.data.nat.lemmas /-! # Basic operations ...
bd43567e635269c8383eea9cc61fd91adefdc8f6
7afc29faca4febb6e5005c20aa4aa5c3df5cf35c
/src/thm.lean
25f4def60462def4dee37522cbd8bac1fab72cd4
[ "MIT" ]
permissive
Piwry/Proof-of-Surreal
ad2883027e275050b43a578c5513ae3fe350515b
6b92baf2382ac23dd0d700f5c958aa910ad4b754
refs/heads/master
1,670,521,185,736
1,599,657,591,000
1,599,657,591,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,647
lean
import defs single finite branch grow data.list open classical lemma branch_to_dense : βˆ€ l, (βˆ€ b, height b = height_bound l β†’ ⟨b⟩ β†’ (l ↦ b)) β†’ (βˆ€ t, height_bound l <= height t β†’ (l ↦ t)):= begin intros l h1 t h2, cases (kernel_lemma _ _ (height_bound_ge1 _) h2), have ht1 : _ := h.left, have ht2 : _ := h.right...
3a6e6105970fade857386f52761de881dda55b54
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/lake/Lake/Config/Opaque.lean
93b708c09184230c0772e7465781ec571c8927f2
[ "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
556
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.Name import Lake.Util.Opaque namespace Lake /-- Opaque reference to a `Package` used for forward declaration. -/ declare_opaque_type OpaquePackage /-- Opa...
e9cbed21d950f9841c85c3c8e0299bfc007dc5fb
1446f520c1db37e157b631385707cc28a17a595e
/src/Init/Lean/Meta/Basic.lean
4b5664efcd86d89d01c69d6ace0efd6dc15f6ace
[ "Apache-2.0" ]
permissive
bdbabiak/lean4
cab06b8a2606d99a168dd279efdd404edb4e825a
3f4d0d78b2ce3ef541cb643bbe21496bd6b057ac
refs/heads/master
1,615,045,275,530
1,583,793,696,000
1,583,793,696,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
32,423
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Control.Reader import Init.Lean.Data.LOption import Init.Lean.Environment import Init.Lean.Class import Init.Lean.ReducibilityAttrs impo...
4b38f562432930af44f59e97e8094c44eb1d3d9d
9dc8cecdf3c4634764a18254e94d43da07142918
/src/category_theory/graded_object.lean
ff2b216b6f51ab0138545c104803d8dfa5a27938
[ "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
6,841
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import data.int.basic import algebra.group_power.lemmas import category_theory.pi.basic import category_theory.shift import category_theory.concrete_category.basic /...
b739d0a224721c9f7c87ee90f0b59904160f572f
4a894698f2ae3f991490c25af3c13ea4435dac48
/src/instructor/lectures/lecture_2.lean
5edaa5f9ebb3b35ba7cd29c802053dbdf17dcf33
[]
no_license
gnujey/cs2120f21
8a33f636346d59ade049dcc1726634f434ac1955
138d43446c443c1d15cd2f17fb607c4f0dff702f
refs/heads/main
1,690,598,880,775
1,631,132,566,000
1,631,132,566,000
405,182,739
1
0
null
1,631,299,824,000
1,631,299,823,000
null
UTF-8
Lean
false
false
5,854
lean
/- INFERENCE RULE #1/2: EQUALITY IS REFLEXIVE Everything is equal to itself. A bit more formally, if one is given a type, T, and a value, t, of this type, then you may have a proof of t = t "for free." -/ axiom eq_refl : βˆ€ (T : Type) -- if T is any type (of thing) (t : T), -- and t is thing of that type, ...
de8992a4918146a5592094c574b34de01c35a0b5
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/topology/sheaves/presheaf.lean
44e1cc181eeac3a8e9ac82933f295ff2b56de6d8
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
3,809
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 -/ import topology.category.Top.opens /-! # Presheaves on a topological space We define `presheaf C X` simply as `(opens X)α΅’α΅– β₯€ C`, and in...
ee32e3437aeba02ea932167f864a7b3cff3a7d2f
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/tests/lean/Process.lean
6591d72261507f571d5a48d1e059304e4d835e34
[ "Apache-2.0" ]
permissive
collares/lean4
861a9269c4592bce49b71059e232ff0bfe4594cc
52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee
refs/heads/master
1,691,419,031,324
1,618,678,138,000
1,618,678,138,000
358,989,750
0
0
Apache-2.0
1,618,696,333,000
1,618,696,333,000
null
UTF-8
Lean
false
false
1,519
lean
-- open IO.Process def usingIO {Ξ±} (x : IO Ξ±) : IO Ξ± := x #eval usingIO do let child ← spawn { cmd := "sh", args := #["-c", "exit 1"] }; child.wait #eval usingIO do let child ← spawn { cmd := "sh", args := #["-c", "echo hi!"] }; child.wait #eval usingIO do let child ← spawn { cmd := "sh", args := #["-c", ...
a89a382d38a40198907411500df3a51fbef01c60
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/number_theory/legendre_symbol/gauss_sum.lean
d3eec3b506a903970dfc7187b997cf286bb2f617
[ "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
14,248
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 number_theory.legendre_symbol.add_character import number_theory.legendre_symbol.zmod_char import algebra.char_p.char_and_card /-! # Gauss sums > THIS FILE IS ...
2d79b578c04c8c3d00d0526324306bfefcefdc59
aa101d73b1a3173c7ec56de02b96baa8ca64c42e
/src/solutions/02_iff_if_and.lean
b97ed1bb0e01f24caba9d5533ad8e1d85550fcf3
[ "Apache-2.0" ]
permissive
gihanmarasingha/tutorials
b554d4d53866c493c4341dc13e914b01444e95a6
56617114ef0f9f7b808476faffd11e22e4380918
refs/heads/master
1,671,141,758,153
1,599,173,318,000
1,599,173,318,000
282,405,870
0
0
Apache-2.0
1,595,666,751,000
1,595,666,750,000
null
UTF-8
Lean
false
false
15,323
lean
import data.real.basic /- In the previous file, we saw how to rewrite using equalities. The analogue operation with mathematical statements is rewriting using equivalences. This is also done using the `rw` tactic. Lean uses ↔ to denote equivalence instead of ⇔. In the following exercises we will use the lemma: su...
7f4677d8fe1e23f3990990cbd422c6f3c4dcb519
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/linear_algebra/contraction.lean
ff9320cc0c9b4ad56eddce2ad4e4aa3b5adb463a
[ "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
1,832
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 linear_algebra.dual /-! # Contractions Given modules $M, N$ over a commutative ring $R$, this file defines the natural linear maps: $M^* \otimes M \to R$, $M \otim...
5f9b3bc2327a37dbc752eefe031dfe825ec6e56a
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/topology/metric_space/gromov_hausdorff.lean
6b1675dc5ae11f080364e1759bb191097cf3de30
[ "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
55,265
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.closeds import set_theory.cardinal import topology.metric_space.gromov_hausdorff_realized import topology.metric_space.completion i...
72657b9d2e69bf6de4bb5780dcd7e6e310887708
d1a52c3f208fa42c41df8278c3d280f075eb020c
/tests/lean/run/irCompilerBug.lean
08d6f5649d2a15fd79bf79da778ddafd2ae07a19
[ "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
795
lean
-- structure Payload := (key : Nat) (val : Nat) @[noinline] def get? (p : Payload) (k : Nat) : OptionM Nat := if p.key == k then p.val else none inductive T | a (i : Nat) | b (i : Nat) | c (i : Nat) | d (i : Nat) @[noinline] def foo (p : Payload) : OptionM T := (do let i ← get? p 1; pure (T.a i)) <|> (do le...
0691b60758cab7e1f65432a4cab8128c4407d845
a4673261e60b025e2c8c825dfa4ab9108246c32e
/src/Lean/Meta/Match/CaseValues.lean
83aaa377045ff9fe87132ab922c00990ebda6bb1
[ "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,516
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.Tactic.Subst import Lean.Meta.Tactic.Clear namespace Lean.Meta structure CaseValueSubgoal := (mvarId : MVarId) (newH : FVarId) (s...
a54072889060ed33ab8663573443ad2716c91fe6
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/data/finsupp/lattice.lean
6eaa6b452dfe645c923150b22e5574f2afd8b378
[ "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
2,975
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 data.finsupp.basic /-! # Lattice structure on finsupps This file provides instances of ordered structures on finsupps. -/ open_locale classical noncomputab...
6e3bb429a2c16cf11e762ab0ee5ed70ba07ed745
205f0fc16279a69ea36e9fd158e3a97b06834ce2
/src/10b_Relations/00_intro.lean
069a26d9a8c6ff6191ad9df8468fa04b7a4a09db
[]
no_license
kevinsullivan/cs-dm-lean
b21d3ca1a9b2a0751ba13fcb4e7b258010a5d124
a06a94e98be77170ca1df486c8189338b16cf6c6
refs/heads/master
1,585,948,743,595
1,544,339,346,000
1,544,339,346,000
155,570,767
1
3
null
1,541,540,372,000
1,540,995,993,000
Lean
UTF-8
Lean
false
false
3,541
lean
/- As discussed in the last unit, a predicate is a proposition with one more more arguments. In the last unit, we studied predicates with one argument. We saw that such a predicate can be seen as specifying a *property* of values of its argument type. Examples included the properties of being even, being equal t...
949ceae849fe88e99b56c1f27f3950b497396569
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/hott/algebra/category/functor/examples.hlean
28e698c7edd136aa65a182a777591f1bb571dfa5
[ "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
9,854
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 Definition of functors involving at least two different constructions of categories -/ import ..constructions.functor ..constructions.product ..constructions.oppos...
737c42620346f6d237720d07eeb4aaa3a42821f8
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/testing/slim_check/sampleable.lean
ac9b0ac097fe20bf7ba0b1ab989af832c299f5e0
[ "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
31,447
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.lazy_list.basic import data.tree import data.pnat.basic import control.bifunctor import control.ulift import testing.slim_check.gen import tactic.linarith /-! ...
397b767c7110522a4eaf7f3b761bda08814f1806
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/order/ring/char_zero.lean
abff0e877ff3d2485150c76b199038eaaff175f7
[ "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
701
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 -/ import algebra.char_zero.defs import algebra.order.ring.defs /-! # Strict ordered semiring have characteristic zero > THIS FILE IS ...
65148884e141db4d84ac896d807baf200b17607c
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/order/well_founded.lean
09441b6d892ff2e44adc1e5813a50f0efd52bc99
[]
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,735
lean
/- Copyright (c) 2020 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Mario Carneiro -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.set.basic import Mathlib.PostPort universes u_1 namespace Mathlib /-...
5d44b26bb3bf5dda4fbfc61117d8da8324d4da3e
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/ring_theory/witt_vector/defs.lean
519296c39f2a7d0842d5adc718700789af2d7423
[ "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
11,679
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Robert Y. Lewis -/ import ring_theory.witt_vector.structure_polynomial /-! # Witt vectors In this file we define the type of `p`-typical Witt vectors and ring operat...
cb09d1da70f5fe26218b53d1b08e888065608b39
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/ring_theory/coprime.lean
35762ec488b20232d335cd1c2fbad6c3929d3cf4
[]
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
13,579
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Ken Lee, Chris Hughes -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.ring import Mathlib.algebra.big_operators.basic import Mathlib.data.fin...
32108693e27836dab9e7ad4122f1b1b45221f0e1
bb31430994044506fa42fd667e2d556327e18dfe
/src/algebraic_geometry/properties.lean
52d00b6bfb420fd7dee8807fd9e0ffcdc449d218
[ "Apache-2.0" ]
permissive
sgouezel/mathlib
0cb4e5335a2ba189fa7af96d83a377f83270e503
00638177efd1b2534fc5269363ebf42a7871df9a
refs/heads/master
1,674,527,483,042
1,673,665,568,000
1,673,665,568,000
119,598,202
0
0
null
1,517,348,647,000
1,517,348,646,000
null
UTF-8
Lean
false
false
14,027
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 algebraic_geometry.AffineScheme import ring_theory.nilpotent import topology.sheaves.sheaf_condition.sites import algebra.category.Ring.constructions import ring_the...
f6b0882dc8de690aa1ca7b7020351df42ccd41b4
b074a51e20fdb737b2d4c635dd292fc54685e010
/src/algebraic_geometry/presheafed_space.lean
d9ec637ce1bd410df0ff9ddbbf9ef1d3f755f376
[ "Apache-2.0" ]
permissive
minchaowu/mathlib
2daf6ffdb5a56eeca403e894af88bcaaf65aec5e
879da1cf04c2baa9eaa7bd2472100bc0335e5c73
refs/heads/master
1,609,628,676,768
1,564,310,105,000
1,564,310,105,000
99,461,307
0
0
null
null
null
null
UTF-8
Lean
false
false
7,589
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.Top.presheaf /-! # Presheafed spaces Introduces the category of topological spaces equipped with a presheaf (taking values in an arbitrary target...
437e5c30df865c45dc6e4203cef2b6b71328c156
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/linear_algebra/char_poly/basic_auto.lean
8d655b35de28ffaaff3011876ec0ad001ac7ad6a
[]
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
2,591
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.apply_fun import Mathlib.ring_theory.matrix_algebra import Mathlib.ring_theory.polyn...
f38a159f2d2141ae63236255c8659ea79bb4ac38
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/elab_meta1.lean
f63260d440a57aefe95fd8c70649d5bbef86470f
[ "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
230
lean
meta_definition f : nat β†’ nat | n := if n / 2 = 0 then n + 1 else f (n / 2) + 1 meta_definition g : nat Γ— nat β†’ nat | (0, b) := b | (a+1, b+1) := g (a/2 - 1, a + b) | (a+1, 0) := 2*a vm_eval f 200 vm_eval g (10, 20)
dfd3302adfa311553a34021eeafb22e1c601e66c
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/ring_theory/integral_closure.lean
5a4ab2ec6d0e0dcaef5353aebc3fa08ab5eea3b9
[ "Apache-2.0" ]
permissive
vaibhavkarve/mathlib
a574aaf68c0a431a47fa82ce0637f0f769826bfe
17f8340912468f49bdc30acdb9a9fa02eeb0473a
refs/heads/master
1,621,263,802,637
1,585,399,588,000
1,585,399,588,000
250,833,447
0
0
Apache-2.0
1,585,410,341,000
1,585,410,341,000
null
UTF-8
Lean
false
false
17,400
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau Integral closure of a subring. -/ import ring_theory.adjoin linear_algebra.finsupp universes u v open_locale classical open polynomial submodule section variables (R : Type u...
2fcffd96a771aafe690d4d6b9825108bd30d977c
618003631150032a5676f229d13a079ac875ff77
/src/data/option/basic.lean
7c2f2358d27a2a123429e70d2a93032c2aa77740
[ "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
7,418
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 tactic.basic namespace option variables {Ξ± : Type*} {Ξ² : Type*} {Ξ³ : Type*} lemma some_ne_none (x : Ξ±) : some x β‰  none := Ξ» h, option.no_confusion h @[simp]...
3217bf26685cd4a41f09e14ebad9025d99f3d7cb
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/hott/len_eq.hlean
2ddfafa8ed56f09d7a2b8d24c69e92f0939f5663
[ "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
2,970
hlean
import init.ua open nat unit equiv is_trunc inductive vector (A : Type) : nat β†’ Type := | nil {} : vector A zero | cons : Ξ  {n}, A β†’ vector A n β†’ vector A (succ n) open vector notation a :: b := cons a b definition const {A : Type} : Ξ  (n : nat), A β†’ vector A n | zero a := nil | (succ n) a := a :: const n a d...
960c9e4ef076bcd68184f8e4d3a073958c13b2e0
f57749ca63d6416f807b770f67559503fdb21001
/tests/lean/run/new_obtain4.lean
034a09c47db25daccdafba2e03f471c29c200e6a
[ "Apache-2.0" ]
permissive
aliassaf/lean
bd54e85bed07b1ff6f01396551867b2677cbc6ac
f9b069b6a50756588b309b3d716c447004203152
refs/heads/master
1,610,982,152,948
1,438,916,029,000
1,438,916,029,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
451
lean
import data.set open set function eq.ops variables {X Y Z : Type} lemma image_compose (f : Y β†’ X) (g : X β†’ Y) (a : set X) : (f ∘ g) '[a] = f '[g '[a]] := setext (take z, iff.intro (assume Hz, obtain x Hx₁ Hxβ‚‚, from Hz, by repeat (apply mem_image | assumption | reflexivity)) (assume Hz, obt...
ad6cad16a6d9cb36521bcdbd75fc4ef6a1b55453
437dc96105f48409c3981d46fb48e57c9ac3a3e4
/src/data/nat/basic.lean
ca34c09f43c1189619cbb9b75a1c979fb4e2705a
[ "Apache-2.0" ]
permissive
dan-c-k/mathlib
08efec79bd7481ee6da9cc44c24a653bff4fbe0d
96efc220f6225bc7a5ed8349900391a33a38cc56
refs/heads/master
1,658,082,847,093
1,589,013,201,000
1,589,013,201,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
62,439
lean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Leonardo de Moura, Jeremy Avigad, Mario Carneiro -/ import algebra.ordered_ring import algebra.order_functions /-! # Basic operations on the natural numbers This ...
e82b654c1c2d081136d28535a6113602686411ca
0533ebfa09b11cf8a29da118dd1b86b94949511e
/src/cauchy.lean
b8ec36c3f55f422e939d96ac2aa6070c49ed0b73
[ "MIT" ]
permissive
wudcscheme/Lean-RH
89e9055aac68703876e750c23fb5327979a09822
870f78cc7c0715d03466d1211b0f032b425ec984
refs/heads/main
1,679,188,429,923
1,602,701,790,000
1,602,701,790,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
24,820
lean
/- ------------------------------------------------------------------------- -| | @project: riemann_hypothesis | | @file: cauchy.lean | | @author: Brandon H. Gomes and Alex Kontorovich ...
17ebcbf4e37db4e73c00b32b19847f2f1c2836b6
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/tactic/omega/coeffs.lean
a76b0515188ea3e5c8c5e758b13c188e63f6b22f
[ "Apache-2.0" ]
permissive
fpvandoorn/mathlib
b21ab4068db079cbb8590b58fda9cc4bc1f35df4
b3433a51ea8bc07c4159c1073838fc0ee9b8f227
refs/heads/master
1,624,791,089,608
1,556,715,231,000
1,556,715,231,000
165,722,980
5
0
Apache-2.0
1,552,657,455,000
1,547,494,646,000
Lean
UTF-8
Lean
false
false
10,176
lean
/- Copyright (c) 2019 Seul Baek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Seul Baek Non-constant terms of linear constraints are represented by storing their coefficients in integer lists. -/ import data.list.basic import tactic.ring import tactic.omega.misc na...
287e6e7badd0ef01755716b49d5e861747b4b23a
63abd62053d479eae5abf4951554e1064a4c45b4
/src/category_theory/monad/bundled.lean
b3e0203ae9de2f16e3feaa711b4607fa7aa25e81
[ "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
3,274
lean
/- Copyright (c) 2020 Adam Topaz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Adam Topaz -/ import category_theory.monad.basic import category_theory.eq_to_hom /-! # Bundled Monads We define bundled (co)monads as a structure consisting of a functor `func : C β₯€ C` ...
602a0011a956c0fcd9337265aa636c063200b16b
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/algebra/order/absolute_value.lean
23ddd4dd61e67bf6dfc0edd960cd43910e563949
[ "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
8,877
lean
/- Copyright (c) 2021 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Anne Baanen -/ import algebra.order.field /-! # Absolute values This file defines a bundled type of absolute values `absolute_value R S`. ## Main definitions * `absol...
d02ef23ab2718d6ad725fa4bc474bb9a2f355c77
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/decidable.lean
1d31701f8f9a4b66a1ff54ab001f4943c5428064
[ "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
203
lean
open bool unit decidable constants a b c : bool constants u v : unit set_option pp.implicit true #check if ((a = b) ∧ (b = c) β†’ Β¬ (u = v) ∨ (a = c) β†’ (a = c) ↔ a = tt ↔ true) then a else b