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
544180ac7a740dd20a80a8e1f4bd685aaa17a5b0
a3c8de9b16e7a374b04f35a66da33cafd3b82569
/gateway/Dockerfile.Lean
762f0e13259b45fc6b09952a48f168262cf70530
[]
no_license
wupoyi1020/skypay
c6c7383e6bddb205760c46ad62d1d672e23a6a79
bd4de266ad65403f53476a14da95bbb73034e5da
refs/heads/master
1,588,601,029,481
1,554,254,105,000
1,554,254,105,000
179,183,188
0
0
null
null
null
null
UTF-8
Lean
false
false
605
lean
# Run following commands before you run docker build. # ./mvnw clean package # mkdir -p target/dependency && (cd target/dependency; jar -xf ../*.jar) FROM openjdk:8-jdk-alpine VOLUME /tmp ARG DEPENDENCY=target/dependency COPY ${DEPENDENCY}/BOOT-INF/lib /app/lib COPY ${DEPENDENCY}/META-INF /app/META-INF COPY ${DEPENDENC...
79190efc0546bb0e9ca6f9eb1a64a85bb5434934
86f6f4f8d827a196a32bfc646234b73328aeb306
/examples/logic/unnamed_1834.lean
4b43a4b0f9aa854316b28c07e6e401bf0ea350e9
[]
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
242
lean
import tactic -- BEGIN variables {α : Type*} [preorder α] variables a b c : α example : ¬ a < a := begin rw lt_iff_le_not_le, sorry end example : a < b → b < c → a < c := begin simp only [lt_iff_le_not_le], sorry end -- END
b8357bfa5a124c60e7b1936c057f023860873fcb
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/algebra/module/submodule_lattice.lean
bb48cc9df28c56d5e5f2149b741210b5bec6e69a
[ "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
10,241
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Kevin Buzzard, Yury Kudryashov -/ import algebra.module.submodule import algebra.punit_instances /-! # The lattice structure on `submodule`s This file...
5a3b673c2641d3c4868fbd5606f7647898881595
097294e9b80f0d9893ac160b9c7219aa135b51b9
/instructor/types/nat/dm_nat.lean
f912c1cef19290c63f24b3527b5ffda00a776bc4
[]
no_license
AbigailCastro17/CS2102-Discrete-Math
cf296251be9418ce90206f5e66bde9163e21abf9
d741e4d2d6a9b2e0c8380e51706218b8f608cee4
refs/heads/main
1,682,891,087,358
1,621,401,341,000
1,621,401,341,000
368,749,959
0
0
null
null
null
null
UTF-8
Lean
false
false
5,559
lean
/- Our own implementation of Lean's nat type. We call it dm_nat to avoid any possible name conflicts. We also leave the type's namespace closed. -/ namespace hidden inductive dm_nat : Type | zero : dm_nat | succ (n' : dm_nat) : dm_nat def successor (n : dm_nat) := dm_nat.succ n def pred (n : dm_nat) := match n...
f80f3ca6b7115c3a93105dfd5735a525df2fdc4d
f5f7e6fae601a5fe3cac7cc3ed353ed781d62419
/src/field_theory/splitting_field.lean
81069116411275436ba09c3c9996ff57d7f6dccb
[ "Apache-2.0" ]
permissive
EdAyers/mathlib
9ecfb2f14bd6caad748b64c9c131befbff0fb4e0
ca5d4c1f16f9c451cf7170b10105d0051db79e1b
refs/heads/master
1,626,189,395,845
1,555,284,396,000
1,555,284,396,000
144,004,030
0
0
Apache-2.0
1,533,727,664,000
1,533,727,663,000
null
UTF-8
Lean
false
false
7,741
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes Definition of splitting fields, and definition of homomorphism into any field that splits -/ import ring_theory.adjoin_root ring_theory.unique_factorization_domain univer...
a364a6279da80551008bd7ee2582def6c5a279d1
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/src/Lean/Meta/Reduce.lean
fbb390dfdf61fcd0f2ea1283f4267aea3cc1fa99
[ "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
1,417
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.Basic import Lean.Meta.FunInfo import Lean.Util.MonadCache namespace Lean.Meta partial def reduce (e : Expr) (explicitOnly skipTypes skip...
dcfa9e286fe3abd7ad36697217621a0a669ac272
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/AdditiveSemigroup.lean
4b309d74efbab98a21ee5278c45dcf260c9fd319
[]
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
6,402
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 AdditiveSemigroup structure AdditiveSemigroup (A : Type) : Type := (plus : (A → (A → A))) (associative_plus : (∀ {x y z : A} , (plus (plus x y) z) = (plus x (pl...
b26dc7d438bdb3148f16783813db35bef16630da
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/tests/lean/run/meta5.lean
0bd47839593def86ca862141dc2a81f84a91f889
[ "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
641
lean
import Lean.Meta open Lean open Lean.Meta def tst1 : MetaM Unit := withLocalDeclD `y (mkConst `Nat) $ fun y => do withLetDecl `x (mkConst `Nat) (mkNatLit 0) $ fun x => do { let mvar ← mkFreshExprMVar (mkConst `Nat) MetavarKind.syntheticOpaque; trace[Meta.debug]! mvar; let r ← mkLambdaFVars #[y, x] mvar; trace...
e9cd77bb4567d5dbb7b34c0c05e80fca357a5f54
2eab05920d6eeb06665e1a6df77b3157354316ad
/src/data/sym/sym2.lean
46cf48127ba215e7806309856d9bd3b2961ef0ae
[ "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
17,217
lean
/- Copyright (c) 2020 Kyle Miller All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kyle Miller -/ import data.sym.basic import tactic.linarith /-! # The symmetric square This file defines the symmetric square, which is `α × α` modulo swapping. This is also known as th...
9d8418566d5a14e350b4324291b3052f8790ded9
6e36ebd5594a0d512dea8bc6ffe78c71b5b5032d
/src/mywork/Lectures/lecture_5.lean
42f2b214018e7215e17c7f040bfec0bac4ea5662
[]
no_license
wrw2ztk/cs2120f21
cdc4b1b4043c8ae8f3c8c3c0e91cdacb2cfddb16
f55df4c723d3ce989908679f5653e4be669334ae
refs/heads/main
1,691,764,473,342
1,633,707,809,000
1,633,707,809,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,725
lean
/- INTRODUCTION and ELIMINATION RULES -/ /- For ∀ x, P x (every x has property P) - introduction rule: assume arbitrary x, then show P x - elimination rule: *apply* a proof of ∀ x, P x, as a kind of function to a specific value of x, say k, to produce a proof of P k. -/ theorem silly : ∀ (n : ℕ), true := be...
0b38722a117036654b544537fffa47e5b5cf7813
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/ring_theory/power_series/well_known.lean
4d6decaf50f78bc8b046334191b73c1d928fc256
[ "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,638
lean
/- Copyright (c) 2020 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import ring_theory.power_series.basic import data.nat.parity import algebra.big_operators.nat_antidiagonal /-! # Definition of well-known power series In th...
39c21a7da0524e765800f792b8517f6c99ca5ceb
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/linear_algebra/orientation.lean
107bd5f34b839ab4a98d482d6997dd4de642c4ed
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
16,865
lean
/- Copyright (c) 2021 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers -/ import linear_algebra.ray import linear_algebra.determinant /-! # Orientations of modules > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require ...
fa7b3829744241ae319cf6c42d1922f930911c85
947b78d97130d56365ae2ec264df196ce769371a
/src/Init/Control/MonadRun.lean
2263dd5cbde85d85d3481fc2a75a9a2f2eb29abb
[ "Apache-2.0" ]
permissive
shyamalschandra/lean4
27044812be8698f0c79147615b1d5090b9f4b037
6e7a883b21eaf62831e8111b251dc9b18f40e604
refs/heads/master
1,671,417,126,371
1,601,859,995,000
1,601,860,020,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
859
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich, Leonardo de Moura -/ prelude import Init.Control.MonadLift universes u v /-- Run a Monad stack to completion. `run` should be the composition of the tra...
03e02c525bf079771c3eff9bbb1acba8235bbc11
c86b74188c4b7a462728b1abd659ab4e5828dd61
/stage0/src/Lean/Elab/Term.lean
0d41b3974a87c0c4d5895cac44600b8d5eb28e75
[ "Apache-2.0" ]
permissive
cwb96/lean4
75e1f92f1ba98bbaa6b34da644b3dfab2ce7bf89
b48831cda76e64f13dd1c0edde7ba5fb172ed57a
refs/heads/master
1,686,347,881,407
1,624,483,842,000
1,624,483,842,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
74,314
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ import Lean.ResolveName import Lean.Util.Sorry import Lean.Util.ReplaceExpr import Lean.Structure import Lean.Meta.ExprDefEq import Lean....
33294650ba9e38b6a2c4f2be6fab58bec5bb2963
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/stage0/src/Init/Lean/ProjFns.lean
75222dec2e5f01827fd9eb91c1e18290435ceae4
[ "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
2,891
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Lean.Environment namespace Lean /- Given a structure `S`, Lean automatically creates an auxiliary definition (projection function) ...
3dccc01d6fd1d718671de8c6505c5e7327397919
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/analysis/calculus/mean_value.lean
36be002ad414a7df250e29d6cae3ad3e6afc4f03
[ "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
38,640
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, Yury Kudryashov -/ import analysis.calculus.local_extr import analysis.convex.topology /-! # The mean value inequality and equalities In this file we prove the ...
4352f92380e17fc824707ce2b8dc3e8155d1809e
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/linear_algebra/free_module/pid.lean
bc89bc4ca277797a1d78b5531fe173385191a870
[ "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
25,523
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import linear_algebra.finsupp_vector_space import ring_theory.principal_ideal_domain import ring_theory.finiteness /-! # Free modules over PID A free `R`-module `M` is a...
5c61643144ffd45f3b6f8211bfbc5cf7f7d47e3f
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/field_theory/subfield.lean
d79dd355a8b2a55469d2092dfb27fd1f0a2108cc
[]
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
27,003
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors : Anne Baanen -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.algebra.basic import Mathlib.PostPort universes u l u_1 v w namespace Mathlib /-! # ...
40a8ca5f4efd5f1c55aee8711bf76f89ecf9d29a
f57749ca63d6416f807b770f67559503fdb21001
/tests/lean/hott/433.hlean
eaa162e8acb24ba67bb58a073bb14db28df3ba04
[ "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
4,838
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 Ported from Coq HoTT Theorems about pi-types (dependent function spaces) -/ import types.sigma open eq equiv is_equiv funext namespace pi universe variables l k ...
96981b9b996ef6094b7f68a5e2042fdf396d520a
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/set/disjointed_auto.lean
dcec9e2024dec14667f2f2050dd222e539171e09
[]
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,158
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 Disjointed sets -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.set.lattice import Mathlib.tactic.wlog import Mathlib.PostPort unive...
644014ec888af61239ad74ee889a3a17a6c530ff
1dd482be3f611941db7801003235dc84147ec60a
/src/algebra/big_operators.lean
d6528daf2af054a1d6b22004769925e52f6b8f6f
[ "Apache-2.0" ]
permissive
sanderdahmen/mathlib
479039302bd66434bb5672c2a4cecf8d69981458
8f0eae75cd2d8b7a083cf935666fcce4565df076
refs/heads/master
1,587,491,322,775
1,549,672,060,000
1,549,672,060,000
169,748,224
0
0
Apache-2.0
1,549,636,694,000
1,549,636,694,000
null
UTF-8
Lean
false
false
28,628
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 Some big operators for lists and finite sets. -/ import data.list.basic data.list.perm data.finset import algebra.group algebra.ordered_group algebra.group_power unive...
6e70fd03c36c6a0e40c87dc414db302a37c3d10d
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebraic_geometry/morphisms/quasi_compact.lean
b0914f8516fd2a4fb1f7ec8e8d051061917154e4
[ "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,437
lean
/- Copyright (c) 2022 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import algebraic_geometry.morphisms.basic import topology.spectral.hom import algebraic_geometry.limits /-! # Quasi-compact morphisms > THIS FILE IS SYNCHRONIZED WITH MAT...
aee12cf5e41a0cdd557e9320fdb01c0e1a65083b
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/monadCache.lean
4d0c071fb88a39bea83cdc5c1baff856e2b2dc1c
[ "Apache-2.0" ]
permissive
shyamalschandra/lean4
27044812be8698f0c79147615b1d5090b9f4b037
6e7a883b21eaf62831e8111b251dc9b18f40e604
refs/heads/master
1,671,417,126,371
1,601,859,995,000
1,601,860,020,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,352
lean
import Lean new_frontend open Lean partial def mkTower : Nat → Expr | 0 => mkConst `a | n+1 => mkApp2 (mkConst `f) (mkTower n) (mkTower n) partial def depth : Expr → MonadCacheT Expr Nat CoreM Nat | e => checkCache e fun e => match e with | Expr.const c [] _ => pure 1 | Expr.app f a _ => do pure $ ...
79a77ed660143932b602bad3ce3e98a487fccd28
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/pnat/defs.lean
8c520024fe70fcad2751e477683702b4ae752354
[ "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
6,831
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Neil Strickland -/ import order.basic import algebra.ne_zero /-! # The positive natural numbers > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > https://github.com...
3fc0858ce9f297790c280a2aff4dae9d61477d0a
130c49f47783503e462c16b2eff31933442be6ff
/src/Lean/Server/FileWorker/Utils.lean
558b9ddcf4ecbe2b7cde7673751bea6abb1dddbb
[ "Apache-2.0" ]
permissive
Hazel-Brown/lean4
8aa5860e282435ffc30dcdfccd34006c59d1d39c
79e6732fc6bbf5af831b76f310f9c488d44e7a16
refs/heads/master
1,689,218,208,951
1,629,736,869,000
1,629,736,896,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,415
lean
/- Copyright (c) 2020 Wojciech Nawrocki. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wojciech Nawrocki, Marc Huisinga -/ import Lean.Server.Utils import Lean.Server.Snapshots import Lean.Server.AsyncList namespace Lean.Server.FileWorker open Snapshots open IO def...
eb054cdd230fdb3c9b0a81a744a57b26735b41d1
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/tests/lean/run/lean3_zulip_issues_1.lean
497f9030bcfba5fd562fcbe093228c3552f5278b
[ "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
1,317
lean
example : Prop := ∀ n, (n:Nat) + n = n.succ example : Prop := ∀ n, n.succ = (n:Nat) + n example : Prop := ∀ n, (n:Nat) + n.succ = n example : Prop := ∀ n, n.succ + (n:Nat) = n example : Prop := ∀ n, (n.succ:Nat) + n = n example : Prop := ∀ n, (n:Nat).succ + n = n def fib: Nat → Nat | 0 => 0 | 1 => 1 | n + 2 => fib n +...
44242605e91baa6bd32d521578c42969f94c0b86
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/algebra/category/Group/colimits.lean
bc049da3dfcc620fca9b940de1df533a8f8f2d37
[ "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
8,530
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.category.Group.basic import category_theory.limits.limits import category_theory.limits.concrete_category /-! # The category of additive commutative g...
a01ccef04805d4d1be9b757f621939e3dabfcb76
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/polynomial/derivative.lean
5c670a3bb1b617109943b2fe240315357513d2c8
[]
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,930
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.polynomial.eval import Mathlib.PostPort u...
e926655c5e779917cbcec411ba7c5f5ab7553792
271e26e338b0c14544a889c31c30b39c989f2e0f
/stage0/src/Init/Control/Lift.lean
2611c7f8d158c8428e4604426e292f7b3d5b05bc
[ "Apache-2.0" ]
permissive
dgorokho/lean4
805f99b0b60c545b64ac34ab8237a8504f89d7d4
e949a052bad59b1c7b54a82d24d516a656487d8a
refs/heads/master
1,607,061,363,851
1,578,006,086,000
1,578,006,086,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,599
lean
/- Copyright (c) 2016 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner, Sebastian Ullrich Classy functions for lifting monadic actions of different shapes. This theory is roughly modeled after the Haskell 'layers' package https://hackage.ha...
c45f963275b2a90c3693f1c97572fd3db07432b9
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/data/fin.lean
f48d855b0dab38de29e38d6c95537ffacf3cab8b
[ "Apache-2.0" ]
permissive
dexmagic/mathlib
ff48eefc56e2412429b31d4fddd41a976eb287ce
7a5d15a955a92a90e1d398b2281916b9c41270b2
refs/heads/master
1,693,481,322,046
1,633,360,193,000
1,633,360,193,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
78,564
lean
/- Copyright (c) 2017 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis, Keeley Hoek -/ import data.nat.cast import data.int.basic import tactic.localized import tactic.apply_fun import order.rel_iso /-! # The finite type with `n` element...
eebd84a0766adda9f817539c563a3220ba30d057
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/substlet.lean
aa903ba537c05ec1f743c364634130faf9ca19b9
[ "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
530
lean
theorem ex1 (n : Nat) : 0 + n = n := by let m := n have h : ∃ k, id k = m := ⟨m, rfl⟩ cases h with | intro a e => trace_state subst e trace_state apply Nat.zero_add theorem ex2 (n : Nat) : 0 + n = n := by let m := n have h : ∃ k, m = id k := ⟨m, rfl⟩ cases h with | intro a e => trac...
5a97313e4b757d902a872178aaf42966316e6f7b
f57749ca63d6416f807b770f67559503fdb21001
/hott/types/cubical/squareover.hlean
d01cd2910b6f41b30f00600984e9141ffa9ffa72
[ "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
8,805
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn Squareovers -/ import .square open eq equiv is_equiv equiv.ops namespace eq -- we give the argument B explicitly, because Lean would find (λa, B a) by itself, ...
d3de7e18f8ced68608d83fe79d331ff4c875447c
da23b545e1653cafd4ab88b3a42b9115a0b1355f
/src/tidy/chain.lean
f3b7680205573cdc9cad9594ae141f8667388d77
[]
no_license
minchaowu/lean-tidy
137f5058896e0e81dae84bf8d02b74101d21677a
2d4c52d66cf07c59f8746e405ba861b4fa0e3835
refs/heads/master
1,585,283,406,120
1,535,094,033,000
1,535,094,033,000
145,945,792
0
0
null
null
null
null
UTF-8
Lean
false
false
7,532
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 .some_goal import .repeat_at_least_once import .recover import .pretty_print import data.option open interactive namespace tactic /- This file defines a...
73984fa36185a0b5226bdf785cc7fdccd9409336
7617a8700fc3eebd9200f1e620ee65b3565d2eff
/src/vc0/basic.lean
d7f82c9684ff01f4ca2a101dbdbcc5c38444fc0e
[]
no_license
digama0/vc0
9747eee791c5c2f58eb53264ca6263ee53de0f87
b8b192c8c139e0b5a25a7284b93ed53cdf7fd7a5
refs/heads/master
1,626,186,940,436
1,592,385,972,000
1,592,385,972,000
158,556,766
5
0
null
null
null
null
UTF-8
Lean
false
false
35,176
lean
import c0.dyn_ok namespace c0 open ast ast.gdecl namespace ast inductive okind : ast → Prop | nil : okind [] | cons {d Γ} : gdecl.ok Γ d → okind Γ → okind (d :: Γ) theorem ok.ind {Γ : ast} (h : Γ.ok) : Γ.okind := begin rw ← Γ.reverse_reverse, suffices : ∀ Γ ds, ok' Γ ds → okind Γ → okind (list.reverse_core ds ...
73ba57185ce06580593051aa39164bc7bbc852ec
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/data/pi.lean
1872e2d550b42699dde581502bd57473f130013d
[ "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
4,539
lean
/- Copyright (c) 2020 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Patrick Massot, Eric Wieser -/ import tactic.split_ifs import tactic.simpa import tactic.congr import algebra.group.to_additive /-! # Instances and theorems on pi types This...
ee11a82b4ea100b6b0313b74663c1bee0701e06b
dfd42d30132c2867977fefe7edae98b6dc703aeb
/src/riemann_sphere.lean
fd951b325738a0d2141def5a00de6e9b9670f23b
[]
no_license
justadzr/lean-2021
1e42057ac75c794c94b8f148a27a24150c685f68
dfc6b30de2f27bdba5fbc51183e2b84e73a920d1
refs/heads/master
1,689,652,366,522
1,630,313,809,000
1,630,313,809,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
65
lean
import riemann_surfaces import alexandroff noncomputable theory
b873d8e35ed81c23c995c2768fc7c427c781eb81
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/measure_theory/function/strongly_measurable/inner.lean
2d147cf26fd68525ba3221c57e4e7a8fb90d4918
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
1,913
lean
/- Copyright (c) 2021 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne, Sébastien Gouëzel -/ import measure_theory.function.strongly_measurable.basic import analysis.inner_product_space.basic /-! # Inner products of strongly measurable functio...
2219bdf25970b0c45308f5548b47d6c61e0eca15
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/analysis/convex/basic.lean
18dc7110ab5b56a3e1f5350edd5529fc439eba61
[ "Apache-2.0" ]
permissive
JLimperg/aesop3
306cc6570c556568897ed2e508c8869667252e8a
a4a116f650cc7403428e72bd2e2c4cda300fe03f
refs/heads/master
1,682,884,916,368
1,620,320,033,000
1,620,320,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
58,511
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...
2330de5b02172ef40b9081a1f5373f878cf1606e
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/path_category.lean
963973e54270a1fad6fab87863a5659d54433e9a
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
5,246
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.eq_to_hom import category_theory.quotient import combinatorics.quiver.path /-! # The category paths on a quiver. When `C` is a quiver, `paths ...
61ae1ed37740b3767a262e9b607f5997619d3f36
4fa161becb8ce7378a709f5992a594764699e268
/src/algebra/ordered_ring.lean
ff2d3c5a692df7108a2fcc005d7932537cbb56e3
[ "Apache-2.0" ]
permissive
laughinggas/mathlib
e4aa4565ae34e46e834434284cb26bd9d67bc373
86dcd5cda7a5017c8b3c8876c89a510a19d49aad
refs/heads/master
1,669,496,232,688
1,592,831,995,000
1,592,831,995,000
274,155,979
0
0
Apache-2.0
1,592,835,190,000
1,592,835,189,000
null
UTF-8
Lean
false
false
43,939
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.ring import algebra.ordered_group set_option default_priority 100 -- see Note [default priority] set_option old_struc...
b78cef760debf7cf569e9af3f0244a5077d7ae6d
7e6221dc7a7676e3cf6c16a885e41c71809ee528
/src/tactic/ring.lean
8990d24e9c94b4713e2209e0462ec38e997e9935
[ "Apache-2.0" ]
permissive
jpburelle/mathlib
e89f5a032d1b8d0f8bfe4aeaaf2520a8f4e1560d
b44fa3ca86bc6ccc6366f8246d0ee10dffaeea4e
refs/heads/master
1,659,493,177,351
1,589,529,475,000
1,589,529,475,000
264,193,699
0
0
Apache-2.0
1,589,547,412,000
1,589,547,412,000
null
UTF-8
Lean
false
false
21,795
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 tactic.norm_num /-! # `ring` Evaluate expressions in the language of commutative (semi)rings. Based on <http://www.cs.ru.nl/~freek/courses/tt-2014/read/10.1....
d04d2c24edec5d02e869d5125a919c326ca6068d
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/blast7.lean
dd49488eb3d3ef4640535bcd060bc0844e04f55b
[ "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
136
lean
set_option blast.strategy "preprocess" lemma lemma1 (p : Prop) (a b : nat) : a = b → p → p := by blast reveal lemma1 print lemma1
1921d824605b7c1211d85e1032a53c550b4cd987
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/convex/strict_convex_space.lean
efab1f4c5916dd8b0cb8bc2afa166fda0d11aae1
[ "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
14,990
lean
/- Copyright (c) 2022 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies, Yury Kudryashov -/ import analysis.convex.strict import analysis.convex.topology import analysis.normed_space.ordered import analysis.normed_space.pointwise import analysis...
e26705982ce61357377635b6f1317903b582a151
07c76fbd96ea1786cc6392fa834be62643cea420
/hott/homotopy/complex_hopf.hlean
a425af5a15be1000640c5bd9be53fb70b90ba3a5
[ "Apache-2.0" ]
permissive
fpvandoorn/lean2
5a430a153b570bf70dc8526d06f18fc000a60ad9
0889cf65b7b3cebfb8831b8731d89c2453dd1e9f
refs/heads/master
1,592,036,508,364
1,545,093,958,000
1,545,093,958,000
75,436,854
0
0
null
1,480,718,780,000
1,480,718,780,000
null
UTF-8
Lean
false
false
1,611
hlean
/- Copyright (c) 2016 Ulrik Buchholtz and Egbert Rijke. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Ulrik Buchholtz, Egbert Rijke, Floris van Doorn The H-space structure on S¹ and the complex Hopf fibration (the standard one). -/ import .hopf .circle types.fin o...
e710f9384ac8b28722de29f294edcda9c006f44f
9dc8cecdf3c4634764a18254e94d43da07142918
/src/group_theory/index.lean
52bcb63b48b14766454cb3b238dd8f7611f7c3f7
[ "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
12,492
lean
/- Copyright (c) 2021 Thomas Browning. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Thomas Browning -/ import group_theory.quotient_group import set_theory.cardinal.finite /-! # Index of a Subgroup In this file we define the index of a subgroup, and prove several ...
e0d8f4406b5c8eeacd2e6a0279a7d241989591f1
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/products/default_auto.lean
b82167d2f1c6cfd85084f9050b0fa213a83fdec5
[]
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
216
lean
import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.products.bifunctor import Mathlib.category_theory.products.associator import Mathlib.PostPort namespace Mathlib end Mathlib
58255fd9bf2dd5afdf84963509653c573628cb2f
130c49f47783503e462c16b2eff31933442be6ff
/stage0/src/Init/Classical.lean
92e0d4f8f3ccf56ce23729b5944dd41c0a7097c2
[ "Apache-2.0" ]
permissive
Hazel-Brown/lean4
8aa5860e282435ffc30dcdfccd34006c59d1d39c
79e6732fc6bbf5af831b76f310f9c488d44e7a16
refs/heads/master
1,689,218,208,951
1,629,736,869,000
1,629,736,896,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,391
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Core import Init.NotationExtra universe u v /- Classical reasoning support -/ namespace Classical axiom choice {α : Sort u} : Nonemp...
838eae6488637ca246ca030edb91dafe4f5725f2
d1bbf1801b3dcb214451d48214589f511061da63
/src/order/atoms.lean
0a57488fb49e9055abd924d479d9ac5bd26b5d8a
[ "Apache-2.0" ]
permissive
cheraghchi/mathlib
5c366f8c4f8e66973b60c37881889da8390cab86
f29d1c3038422168fbbdb2526abf7c0ff13e86db
refs/heads/master
1,676,577,831,283
1,610,894,638,000
1,610,894,638,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,629
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Aaron Anderson. -/ import order.complete_boolean_algebra import order.order_dual import order.lattice_intervals import order.rel_iso import data.fintype.basic /-! # Atoms, Coatoms, a...
83ddde34f65d335af7d7a59e4102f71838404349
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/CompilerPullInstances.lean
2d419e91e9dbfd945f8a8f64a5e860a17ed6e022
[ "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
674
lean
import Lean.Compiler.Main import Lean.Compiler.LCNF.Testing import Lean.Elab.Do open Lean open Lean.Compiler.LCNF -- Run compilation twice to avoid the output caused by the inliner #eval Compiler.compile #[``Lean.Meta.synthInstance, ``Lean.Elab.Term.Do.elabDo] @[cpass] def pullInstancesFixTest : PassInstaller := Tes...
2f9c9e9ff4ecaf0ca658670c3bc755d8db77e146
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/multiset/lattice_auto.lean
769725f00cf3b9f489198ad6bf3c5b61a9a72462
[]
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,410
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.multiset.finset_ops import Mathlib.data.multiset.fold import Mathlib.PostPort universe...
d37f8cabf007f4bda61a17277e6cede68f385b35
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/order/rel_classes.lean
d6a165327257e3b1af91523435bcbf54de65e0dd
[ "Apache-2.0" ]
permissive
hikari0108/mathlib
b7ea2b7350497ab1a0b87a09d093ecc025a50dfa
a9e7d333b0cfd45f13a20f7b96b7d52e19fa2901
refs/heads/master
1,690,483,608,260
1,631,541,580,000
1,631,541,580,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,218
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, Yury G. Kudryashov -/ import order.basic /-! # Unbundled relation classes In this file we prove some properties of `is_*` classes defined in `init.algeb...
849a2c28189d8c4e754306d120f2a8051ca05eed
c31182a012eec69da0a1f6c05f42b0f0717d212d
/src/thm95/modify_complex.lean
af33e7059bba52c254ecd8abcafb9e03732bd17f
[]
no_license
Ja1941/lean-liquid
fbec3ffc7fc67df1b5ca95b7ee225685ab9ffbdc
8e80ed0cbdf5145d6814e833a674eaf05a1495c1
refs/heads/master
1,689,437,983,362
1,628,362,719,000
1,628,362,719,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,612
lean
import algebra.homology.homological_complex import category_theory.preadditive.additive_functor namespace homological_complex open category_theory category_theory.limits variables {ι : Type} {V₁ V₂ : Type*} {c : complex_shape ι} variables [category V₁] [category V₂] [preadditive V₁] [preadditive V₂] -- this is of c...
20fbd7fa50e65fb9b05e1072abeb0be8485724b2
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/library/algebra/lattice.lean
30f70f78e7a2b30bc71c7b68c333c7b7384750d1
[ "Apache-2.0" ]
permissive
YHVHvx/lean
732bf0fb7a298cd7fe0f15d82f8e248c11db49e9
038369533e0136dd395dc252084d3c1853accbf2
refs/heads/master
1,610,701,080,210
1,449,128,595,000
1,449,128,595,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,099
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad -/ import .order namespace algebra variable {A : Type} /- lattices (we could split this to upper- and lower-semilattices, if needed) -/ structure lattice [class] (A : T...
e0286e4da4f26811b06a5e82518893536a8f8edf
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/group_theory/congruence.lean
f78a2af87d12eb72cdd00c1b27b926dbf7104407
[ "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
48,299
lean
/- Copyright (c) 2019 Amelia Livingston. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Amelia Livingston -/ import data.setoid.basic import algebra.group.pi import algebra.group.prod import data.equiv.mul_add import group_theory.submonoid.operations /-! # Congruence ...
5d45fb113703b962438f2d3e3a693d907f3f4f48
e38d5e91d30731bef617cc9b6de7f79c34cdce9a
/src/core/connection/meet.lean
7327700169fe131086fb223eeefcc73141429343
[ "Apache-2.0" ]
permissive
bbentzen/cubicalean
55e979c303fbf55a81ac46b1000c944b2498be7a
3b94cd2aefdfc2163c263bd3fc6f2086fef814b5
refs/heads/master
1,588,314,875,258
1,554,412,699,000
1,554,412,699,000
177,333,390
0
0
null
null
null
null
UTF-8
Lean
false
false
3,321
lean
/- Copyright (c) 2019 Bruno Bentzen. All rights reserved. Released under the Apache License 2.0 (see "License"); Author: Bruno Bentzen -/ import logic.function ...path.groupoid.ops open interval -- the meet connection def meet.horn {A : Type} (kan : has_hcom2 A) (p : I → A) : horn2 A := let u := ho...
a4ae65120f2182e1ed033c2c9eae7f9167fbf736
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/1057.lean
790677c0962626ea26544315e84eab167bd020c8
[ "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
166
lean
inductive T | t : T @[reducible] def T.eval : T → Type | T.t => Int def T.default (τ : T) : τ.eval := match τ, τ.eval with | T.t, .(Int) => (0 : Int)
864b6d16eec688e7cdc0fadabbbacd2d267a8f1d
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/data/indicator_function.lean
36eeab71baa822bda55e84440ac1052d9958802c
[ "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
19,969
lean
/- Copyright (c) 2020 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou -/ import algebra.group.pi import group_theory.group_action import data.support import data.finset.lattice /-! # Indicator function - `indicator (s : set α) (f : α → β) ...
b25ceafbb5b6da3310c68d9feed50a03a410ca51
bb31430994044506fa42fd667e2d556327e18dfe
/src/data/finset/default.lean
b8d3d55dabbaf7e541f2cf65f895024e261a32d6
[ "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
273
lean
import data.finset.basic import data.finset.fold import data.finset.image import data.finset.lattice import data.finset.locally_finite import data.finset.nat_antidiagonal import data.finset.pi import data.finset.powerset import data.finset.sort import data.finset.preimage
b476da304a313d3bae1b4f56f907552538a3a8c9
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/run/newfrontend1.lean
b118ccc8472754aaf0b3fa2160e2f224a5124ae5
[ "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
8,794
lean
def x := 1 #check x variable {α : Type} def f (a : α) : α := a def tst (xs : List Nat) : Nat := xs.foldl (init := 10) (· + ·) #check tst [1, 2, 3] #check fun x y : Nat => x + y #check tst #check (fun stx => if True then let e := stx; Pure.pure e else Pure.pure stx : Nat → Id Nat) #check let x : Nat := 1; x de...
6ba93e994aaab3b7c94be43ce5401ffef6498884
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/preadditive/functor_category.lean
602be9aebf3e640e0518d82cd16e969b55ee1950
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
2,703
lean
/- Copyright (c) 2021 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import category_theory.preadditive.basic /-! # Preadditive structure on functor categories If `C` and `D` are categories and `D` is preadditive, then `C ⥤ D` is al...
64d5a1022541d8fa13715e69c9056bd23cc56245
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/data/real/cardinality.lean
393e3b260983227c4e032b757326d3521f3578be
[ "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
5,059
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 The cardinality of the reals. -/ import data.real.basic set_theory.ordinal analysis.specific_limits data.rat.denumerable open nat set noncomputable theory namespa...
3feeda2d27d157d2709c1817a0990df7954fbac2
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/lake/examples/ffi/lib/lean/FFI/Add.lean
cb6091bcaae22d4e28e745c4e2bd2f710a9fe996
[ "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
63
lean
@[extern "my_add"] opaque myAdd : UInt32 → UInt32 → UInt32
3ba2719e14189afc7245a014b22fb9a43e6e4ab7
c777c32c8e484e195053731103c5e52af26a25d1
/src/analysis/special_functions/trigonometric/complex.lean
5291d37b34aac2681e8d78d6940d5c974aa7c4ea
[ "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
9,322
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, Benjamin Davidson -/ import algebra.quadratic_discriminant import analysis.convex.specific_functions /-! # Complex trigonom...
78c53976c1b31f51e2e8dfb82f896e901b2039fa
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/test/norm_cast_lemma_order.lean
ca350f1f625714b328ad47f279e6c024234499d3
[ "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
645
lean
import data.nat.cast.defs import tactic.norm_cast constant ℝ : Type @[instance] constant real.add_monoid_with_one : add_monoid_with_one ℝ -- set_option trace.simplify.rewrite true set_option pp.notation false set_option pp.numerals false -- should work run_cmd norm_cast.numeral_to_coe `(0 : ℝ) run_cmd norm_cast.nume...
d404eb264c20fd5addb3002ee499cd4bd56c4658
618003631150032a5676f229d13a079ac875ff77
/src/order/filter/partial.lean
81a5dd74a817ea310bedf99114013b4f7130aa02
[ "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
8,435
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad Extends `tendsto` to relations and partial functions. -/ import order.filter.basic universes u v w namespace filter variables {α : Type u} {β : Type v} {γ : Type w} /- ...
2565c57ded781c23d2e546ff3ee2fc4b221aef3b
aa5a655c05e5359a70646b7154e7cac59f0b4132
/tests/lean/run/casesUsing.lean
e51a59a7bd5817c2b414f4651db642d2653ce96f
[ "Apache-2.0" ]
permissive
lambdaxymox/lean4
ae943c960a42247e06eff25c35338268d07454cb
278d47c77270664ef29715faab467feac8a0f446
refs/heads/master
1,677,891,867,340
1,612,500,005,000
1,612,500,005,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,497
lean
import Lean open Lean open Lean.Meta open Lean.Elab.Tactic universes u axiom elimEx (motive : Nat → Nat → Sort u) (x y : Nat) (diag : (a : Nat) → motive a a) (upper : (delta a : Nat) → motive a (a + delta.succ)) (lower : (delta a : Nat) → motive (a + delta.succ) a) : motive y x theorem ex1 (p q : Nat) : p ≤...
061c5ecfb018e778c37932073d0972462aa8722b
9c1ad797ec8a5eddb37d34806c543602d9a6bf70
/functor.lean
47a806c2ae1915267bf1f9672d5edf795f44e410
[]
no_license
timjb/lean-category-theory
816eefc3a0582c22c05f4ee1c57ed04e57c0982f
12916cce261d08bb8740bc85e0175b75fb2a60f4
refs/heads/master
1,611,078,926,765
1,492,080,000,000
1,492,080,000,000
88,348,246
0
0
null
1,492,262,499,000
1,492,262,498,000
null
UTF-8
Lean
false
false
4,627
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Stephen Morgan, Scott Morrison import .category open tqft.categories namespace tqft.categories.functor structure {u1 v1 u2 v2} Functor (C : Category.{ u1 v1 }) (D : Category....
6cf1fc36af5e990f066bc4f41cf11fa9fee18d33
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/topology/urysohns_lemma.lean
7b6e6e20512f13e720eca095d5b34aff08a2b974
[ "Apache-2.0" ]
permissive
dexmagic/mathlib
ff48eefc56e2412429b31d4fddd41a976eb287ce
7a5d15a955a92a90e1d398b2281916b9c41270b2
refs/heads/master
1,693,481,322,046
1,633,360,193,000
1,633,360,193,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
12,671
lean
/- Copyright (c) 2021 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import analysis.normed_space.add_torsor import linear_algebra.affine_space.ordered import topology.continuous_function.basic /-! # Urysohn's lemma In this f...
2cdae5815ffbc046d0158ca2e3f1d913d92c9901
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/ring/ulift.lean
d09849d02ccc1af98a4654dc5c33dc916a9baa71
[ "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,820
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.group.ulift import algebra.ring.equiv /-! # `ulift` instances for ring This file defines instances for ring, semiring and related structures on `ulif...
2e1250ed5f11c1e01f0f960660102f4b6525cdcf
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/algebraic_geometry/EllipticCurve.lean
0e9a84eddac20a945c7e685b38b5124f64add560
[ "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,041
lean
/- Copyright (c) 2021 Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard -/ import algebra.group_power import data.rat.basic import tactic.norm_num /-! # The category of elliptic curves (over a field or a PID) We give a working definition of...
ffbe274c8606b89e72751ebb51e8ed94ad32354a
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/free_comm_ring.lean
7a3211dfad72a595aab2830917b92eecab7f0bf9
[ "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,162
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Johan Commelin -/ import data.mv_polynomial.equiv import data.mv_polynomial.comm_ring import logic.equiv.functor import ring_theory.free_ring /-! # Free commutative rings > THI...
6830a8e7887d38d5fb5acd69a0a036c6f577e3ca
7cef822f3b952965621309e88eadf618da0c8ae9
/src/data/list/sigma.lean
404b7e0ebc98c13c9be9179050d58bf670b2961f
[ "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
23,985
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Sean Leather Functions on lists of sigma types. -/ import data.list.perm data.sigma universes u v namespace list variables {α : Type u} {β : α → Type v} /- keys -/ ...
ad0cce8529aa891259d2b4ad8573f156e10e08ff
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/lake/examples/scripts/lakefile.lean
9552d46561408214e709fbcc4feff114da83513b
[ "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
407
lean
import Lake open Lake DSL package scripts /-- Display a greeting USAGE: lake run greet [name] Greet the entity with the given name. Otherwise, greet the whole world. -/ @[default_script] script greet (args) do if h : 0 < args.length then IO.println s!"Hello, {args[0]'h}!" else IO.println "Hello, world...
0e1d447f8240581f1d8ddb4c69889a0ca7b1da5f
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/combinatorics/simple_graph/basic.lean
4c4736d82a20bb94c6ca93d4ffd94f7a9c523e72
[ "Apache-2.0" ]
permissive
ramonfmir/mathlib
c5dc8b33155473fab97c38bd3aa6723dc289beaa
14c52e990c17f5a00c0cc9e09847af16fabbed25
refs/heads/master
1,661,979,343,526
1,660,830,384,000
1,660,830,384,000
182,072,989
0
0
null
1,555,585,876,000
1,555,585,876,000
null
UTF-8
Lean
false
false
46,687
lean
/- Copyright (c) 2020 Aaron Anderson, Jalex Stark, Kyle Miller. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson, Jalex Stark, Kyle Miller, Alena Gusakov, Hunter Monroe -/ import data.rel import data.set.finite import data.sym.sym2 /-! # Simple graphs Th...
50eace267a5bdef4910e730cbab8ac4ece3f066c
70f8755415fa7a17f87402cde4651e9f4db1b5bb
/src/mvqpf/comp.lean
308416525ffa5dde27bd31243f1e5e199e3655b5
[ "Apache-2.0" ]
permissive
shingarov/qpf
ab935dc2298db12c87ac011a2e4d2c27e0bdef4b
debe2eacb8cf46b21aba2eaf3f2e20940da0263b
refs/heads/master
1,653,705,576,607
1,570,136,035,000
1,570,136,035,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,854
lean
import mvpfunctor.basic import mvqpf.basic universes u namespace mvqpf variables {n m : ℕ} (F : typevec.{u} n → Type*) [mvfunctor F] [q : mvqpf F] (G : fin' n → typevec.{u} m → Type u) [∀ i, mvfunctor $ G i] [q' : ∀ i, mvqpf $ G i] def comp (v : typevec.{u} m) : Type* := F $ λ i : fin' n, G i v namespace comp ...
beb14d3005df7d3326fd9a449a31edac78749ded
e4a7c8ab8b68ca0e53d2c21397320ea590fa01c6
/src/data/polya/field/default.lean
6f4863487e395f14b34c8afcaee75f764420951b
[]
no_license
lean-forward/field
3ff5dc5f43de40f35481b375f8c871cd0a07c766
7e2127ad485aec25e58a1b9c82a6bb74a599467a
refs/heads/master
1,590,947,010,909
1,563,811,881,000
1,563,811,881,000
190,415,651
1
0
null
1,563,643,371,000
1,559,746,688,000
Lean
UTF-8
Lean
false
false
12
lean
import .main
c5c89b4a895e61dcc5315cd18641d9df5ead965c
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/pfunctor/multivariate/M.lean
b74d0ef8d645af8924ec83530feb47b072fdfb04
[ "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
11,596
lean
/- Copyright (c) 2018 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Mario Carneiro, Simon Hudon -/ import data.pfunctor.multivariate.basic import data.pfunctor.univariate.M /-! # The M construction as a multivariate polynomial functor. ...
4b2209e38216e973d8c89407d9bde01b78f613a2
8711b4976859218c98ea2129103249d693a4178b
/src/modal_logic/axioms.lean
c2b2e8a0984e42882c5a4aa02863ce7ad4526770
[]
no_license
kendfrey/modal_logic
e2433c122ff7012aa743739283ceaa3451e41e79
c07b5524de478cb57d796d0617b28990c7c77770
refs/heads/master
1,679,147,393,521
1,615,255,686,000
1,615,255,686,000
345,164,286
0
0
null
null
null
null
UTF-8
Lean
false
false
7,095
lean
import modal_logic.classes class is_dense (α : Type*) (r : α → α → Prop) : Prop := (dense : ∀ a b, r a b → ∃ c, r a c ∧ r c b) instance is_refl.is_dense {α r} [is_refl α r] : is_dense α r := ⟨λ a b h, ⟨a, refl a, h⟩⟩ class is_serial (α : Type*) (r : α → α → Prop) : Prop := (serial : ∀ a, ∃ b, r a b) instance is_ref...
f2db94ec0f4dfb4b4571930eb28c4f9244baec30
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/module/hom.lean
1bc931a85ecceea941c7292978311a3c3060bcb5
[ "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
1,815
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 algebra.module.pi /-! # Bundled hom instances for module and multiplicative actions This file defines instances for module, mul_action and related structures on bu...
6fb1e2bad2b644e58c2f206b43a5cd8f80f89345
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/analysis/box_integral/partition/tagged.lean
090be6c7aca9f471620ce5258db26137714b4ffc
[ "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
16,004
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.box_integral.partition.basic /-! # Tagged partitions A tagged (pre)partition is a (pre)partition `π` enriched with a tagged point for each box of ...
ecfa77531cc5e4bde4cf3f2eff2850f963ce531e
a5084ddd747b77e77a324f1808b1a7bd33c0f232
/src/sylow.lean
ac375cddc4f30e64f03d36b2be46d874439834bd
[]
no_license
ChrisHughes24/Sylow
182654894c315c7f6af7eae6d40cdefebdd3e72c
64fba83fc3d9e3a875f2a768f84d9fc0bf1e0eb8
refs/heads/master
1,631,517,565,568
1,628,880,386,000
1,628,880,386,000
137,903,621
2
2
null
1,628,880,387,000
1,529,418,841,000
Lean
UTF-8
Lean
false
false
49,127
lean
import group_theory.order_of_element .Zmod algebra.pi_instances open equiv fintype finset function universes u v w variables {G : Type u} {α : Type v} {β : Type w} [group G] namespace finset lemma filter_insert_of_pos [decidable_eq α] (s : finset α) {P : α → Prop} [decidable_pred P] (a : α) (h : P a) : (in...
de51a487f0497dafe867af5bb139e644c35ee3cd
5d166a16ae129621cb54ca9dde86c275d7d2b483
/tests/lean/run/set_attr1.lean
c98dd54b5bcf2d8c64da0f4b50097836f4c4e5a6
[ "Apache-2.0" ]
permissive
jcarlson23/lean
b00098763291397e0ac76b37a2dd96bc013bd247
8de88701247f54d325edd46c0eed57aeacb64baf
refs/heads/master
1,611,571,813,719
1,497,020,963,000
1,497,021,515,000
93,882,536
1
0
null
1,497,029,896,000
1,497,029,896,000
null
UTF-8
Lean
false
false
240
lean
open tactic constant f : nat → nat constant foo : ∀ n, f n = n + 1 constant zadd : ∀ n, 0 + n = n definition ex1 (n : nat) : 0 + f n = n + 1 := by do set_basic_attribute `simp `foo ff, set_basic_attribute `simp `zadd ff, simp
86f25736ad98fff57ea940728ef95090ff399097
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebra/big_operators/default.lean
1453249964cf8ef354641727bc673ca6160fb3f1
[ "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
411
lean
-- Import this file to pull in everything about "big operators". -- When preparing a contribution to mathlib, it is best to minimize the imports you use. import algebra.big_operators.order import algebra.big_operators.intervals import algebra.big_operators.ring import algebra.big_operators.pi import algebra.big_operato...
84923de60feab1047ae08cfea186884a1f1d85df
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/data/mv_polynomial/equiv.lean
ea8e300d883d71136288c857c8af7d7b5efde087
[ "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
12,928
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Johan Commelin, Mario Carneiro -/ import data.mv_polynomial.rename import data.equiv.fin import data.polynomial.algebra_map /-! # Equivalences between polynomial ring...
bddcb6a33038e2b9adf1db2beae45865069f0e7e
fe208a542cea7b2d6d7ff79f94d535f6d11d814a
/src/Dedekind_cuts/kenny_lau_effort.lean
8a110f140d282cc2554b5cdc2b2e4bc2fb34ddf2
[]
no_license
ImperialCollegeLondon/M1F_room_342_questions
c4b98b14113fe900a7f388762269305faff73e63
63de9a6ab9c27a433039dd5530bc9b10b1d227f7
refs/heads/master
1,585,807,312,561
1,545,232,972,000
1,545,232,972,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,298
lean
import algebra.archimedean data.set.intervals order.conditionally_complete_lattice namespace set protected def dite (c : Prop) {α : Type*} (pos : c → set α) (neg : ¬c → set α) : set α := { x | (∃ hc, x ∈ pos hc) ∨ (∃ hnc, x ∈ neg hnc) } protected def ite (c : Prop) {α : Type*} (pos neg : set α) : set α := set.dite c...
2c1318b5d5bfe335f230573e8afd128a55fb647e
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/monad/default.lean
cb2cbf4da4faafeec6c4519c75a3bf4a0f007b16
[]
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
191
lean
import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.monad.limits import Mathlib.category_theory.monad.types import Mathlib.PostPort namespace Mathlib
b7a48b0e9d68e83e59723b652d0bdd64e3adaeb8
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/topology/opens.lean
588a57d588d3624dd3ae11e21f4892a514e7bce2
[ "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
8,934
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Floris van Doorn -/ import topology.bases import topology.homeomorph import topology.continuous_function.basic /-! # Open sets ## Summary We define th...
5abe12cae26680b7840b0dcba1953faeb1243534
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/linear_algebra/dimension.lean
ba58cb8edad738d5a82c21f2a5345f164006c5f7
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
16,743
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro, Johannes Hölzl, Sander Dahmen -/ import linear_algebra.basis import set_theory.ordinal /-! # Dimension of modules and vector spaces ## Main definitions * The dimension...
57e8137edcbc463495a352c8121dadfce3ef09f8
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/data/complex/is_R_or_C.lean
688308b1da06e06e0d116eb9e6efec7788953176
[ "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
30,621
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.basic import analysis.complex.basic /-! # `is_R_or_C`: a typeclass for ℝ or ℂ This file defines the typeclass `is_R_or_C` intended t...
d17edae745fd0e828d5f0eb4ce0eb938ac3aa2d5
076f5040b63237c6dd928c6401329ed5adcb0e44
/instructor-notes/2019.10.29.props_and_proofs/2019.10.31.props_and_proofs.lean
9cd4823fe726af24f78ce16cfd65a2a0635f93d4
[]
no_license
kevinsullivan/uva-cs-dm-f19
0f123689cf6cb078f263950b18382a7086bf30be
09a950752884bd7ade4be33e9e89a2c4b1927167
refs/heads/master
1,594,771,841,541
1,575,853,850,000
1,575,853,850,000
205,433,890
4
9
null
1,571,592,121,000
1,567,188,539,000
Lean
UTF-8
Lean
false
false
11,779
lean
/- (1) Boo! Happy Halloween! (2) You gotta love the ℕs! (3) Notes from Tue in IN (4) Weather warning. (3) No exam on Tuesday. -/ /- Review: We define day to be a type. -/ inductive day : Type /- Type is the type of *computational* types. Constructors define the values of the type. -/ | mon | tue | wed | thu | fri | ...
dcb210ee5f70cde4bd6c99f3ed0057cbc28ff14a
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/algebra/algebra/subalgebra.lean
fbd699600ce67896248310a3038cf956ed143353
[ "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
39,558
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Yury Kudryashov -/ import algebra.algebra.operations import data.set.Union_lift /-! # Subalgebras over Commutative Semiring In this file we define `subalgebra`s and the usual o...
b6858c37bb274a6523518f7da65d8afb8dabce3b
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/nat/digits_auto.lean
22a7a6140fb75f5d4c2e8b9d106766e5c9b68608
[]
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
11,929
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Shing Tak Lam, Mario Carneiro -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.int.modeq import Mathlib.tactic.interval_cases import M...
f9cdaff50fbe9dd6b23b59862bf4ea10cd507462
e898bfefd5cb60a60220830c5eba68cab8d02c79
/uexp/src/uexp/rules/aggregateProjectPullUpConstants.lean
de47cd949ccd87bd7e54b15603d52e3d1f390a2b
[ "BSD-2-Clause" ]
permissive
kkpapa/Cosette
9ed09e2dc4c1ecdef815c30b5501f64a7383a2ce
fda8fdbbf0de6c1be9b4104b87bbb06cede46329
refs/heads/master
1,584,573,128,049
1,526,370,422,000
1,526,370,422,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,738
lean
/- ⟦ Γ ⊢ (SELECT (combineGroupByProj PLAIN(uvariable (right⋅emp_job)) (combineGroupByProj PLAIN(uvariable (right⋅emp_empno)) (combineGroupByProj PLAIN(uvariable (right⋅emp_sal)) (SUM(uvariable (right⋅emp_sal)))))) FROM1 (table rel_emp) WHERE (equal (uvariable (right⋅emp_empno)) (constantExpr integer_10)) GROUP BY (c...
91d8c5d35f1f65f2d9ed3ff2c0f619d2a61bce00
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/list_auto.lean
f7f62f97bd17ee348285d5aca8fa64bba03dc484
[]
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,147
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 -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.constructions import Mathlib.topology.algebra.group import Mathlib.PostPort universe...
73b36e1594a2848952bacfddffd895b73b56e915
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/hint_auto.lean
1a00aa63f8df7684d1f3e130e33e7b7ce404e8af
[]
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,009
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.solve_by_elim import Mathlib.tactic.interactive import Mathlib.PostPort namespace M...
6f5cb7172de60891898f511407a3367b3febca00
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/order/filter/bases.lean
5d68676054e7615a425f9d94b40fba19eb206a23
[ "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
36,171
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Yury Kudryashov, Johannes Hölzl, Mario Carneiro, Patrick Massot -/ import order.filter.basic import data.set.countable /-! # Filter bases A filter basis `B : filter_basis α` on a typ...
d9aed529004c836e0d26f56ad26ee7529af55cba
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/category_theory/path_category.lean
6623c1350a54dbf0279af922dbef37db4a0d36c1
[ "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
2,534
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.eq_to_hom import combinatorics.quiver.path /-! # The category paths on a quiver. -/ universes v₁ v₂ u₁ u₂ namespace category_theory section...
e07c822a5b0019720d423337f35bbb3815466425
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/tests/lean/hott/delta_issue2.hlean
47b6fbe4b56848958133465373db7d9319c88b24
[ "Apache-2.0" ]
permissive
jroesch/lean
30ef0860fa905d35b9ad6f76de1a4f65c9af6871
3de4ec1a6ce9a960feb2a48eeea8b53246fa34f2
refs/heads/master
1,586,090,835,348
1,455,142,203,000
1,455,142,277,000
51,536,958
1
0
null
1,455,215,811,000
1,455,215,811,000
null
UTF-8
Lean
false
false
704
hlean
open nat eq theorem add_assoc₁ : Π (a b c : ℕ), (a + b) + c = a + (b + c) | a b 0 := eq.refl (nat.rec a (λ x, succ) b) | a b (succ n) := calc (a + b) + (succ n) = succ ((a + b) + n) : rfl ... = succ (a + (b + n)) : ap succ (add_assoc₁ a b n) ... = a + (succ (b + n)) : rfl ...
be902b37908232647ea50394ac90116d3ad28ebb
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/macroStack.lean
aab0b96cfd7f67dbaf105a9c88c7f5887d0c57b2
[ "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
307
lean
-- def f1 := if h:x then 1 else 0 set_option pp.macroStack true def f2 := if h:(x > 0) then 1 else 0 def x := <- get macro "foo!" x:term:max : term => `(let x := "hello"; $x + x) macro "bla!" x:term:max : term => `(fun (x : Nat) => if foo! ($x + x) < 1 then true else false) def f (x : Nat) := bla! x
6371150e4a2f271421d21c0d049857fa805e4305
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/real/golden_ratio.lean
dbb1e6f021a0c702227979519552311991c79e82
[ "Apache-2.0" ]
permissive
robertylewis/mathlib
3d16e3e6daf5ddde182473e03a1b601d2810952c
1d13f5b932f5e40a8308e3840f96fc882fae01f0
refs/heads/master
1,651,379,945,369
1,644,276,960,000
1,644,276,960,000
98,875,504
0
0
Apache-2.0
1,644,253,514,000
1,501,495,700,000
Lean
UTF-8
Lean
false
false
5,572
lean
/- Copyright (c) 2020 Anatole Dedecker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anatole Dedecker, Alexey Soloyev, Junyan Xu -/ import data.real.irrational import data.nat.fib import data.fin.vec_notation import tactic.ring_exp import algebra.linear_recurrence /...