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
923f6c7e7ef99229fc1490850b83a3d78a5f6029
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/stage0/src/Lean/ParserCompiler.lean
84dbcda4bc7b515c659162e2261d6be72b8cfc53
[ "Apache-2.0" ]
permissive
walterhu1015/lean4
b2c71b688975177402758924eaa513475ed6ce72
2214d81e84646a905d0b20b032c89caf89c737ad
refs/heads/master
1,671,342,096,906
1,599,695,985,000
1,599,695,985,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,092
lean
/- Copyright (c) 2020 Sebastian Ullrich. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ /-! Gadgets for compiling parser declarations into other programs, such as pretty printers. -/ import Lean.Util.ReplaceExpr import Lean.Meta.Basic import Lean...
35a13cf6e74e021d9e95cd9b8bd9f60cffd0245e
10c7c971a1902d76057c52ce0529ebb491a69c44
/NatDeduction.lean
f76f9f54230f741be5c28e992e8e08d3336f5b84
[]
no_license
SzymonKubica/Lean
5f6122e8dd9171239b36a9ce0515f6acbc49781a
627bff2f001ba3f009c112c9332093e8de84863c
refs/heads/main
1,675,563,490,768
1,608,538,609,000
1,608,538,609,000
307,184,347
0
0
null
null
null
null
UTF-8
Lean
false
false
2,696
lean
import tactic -- Exercise 1 -- (a) variables p q : Prop variable given1 : (p ∧ q) example : p := show p, from and.left given1 -- (b) --example : (p ∧ q → p) := --assume h1 : (p ∧ q), --show p, from and.left h1 -- (c) example : p → (q → p) := begin assume h1, assume h2, exact h1, end -- (d) example: p → (q →...
79c5b06c336e1c30a24a0b55ca4c985a7813b0b0
b82c5bb4c3b618c23ba67764bc3e93f4999a1a39
/src/formal_ml/real_random_variable.lean
0128cf01e46f638b1028c15b319f70968900e5c2
[ "Apache-2.0" ]
permissive
nouretienne/formal-ml
83c4261016955bf9bcb55bd32b4f2621b44163e0
40b6da3b6e875f47412d50c7cd97936cb5091a2b
refs/heads/master
1,671,216,448,724
1,600,472,285,000
1,600,472,285,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
93,169
lean
/- Copyright 2020 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
11b984b418d4abac540bd08dbd8e903f92ee7d80
9b9a16fa2cb737daee6b2785474678b6fa91d6d4
/src/linear_algebra/basis.lean
9af256c5f145119b962fc061edfa8b2f21ec662d
[ "Apache-2.0" ]
permissive
johoelzl/mathlib
253f46daa30b644d011e8e119025b01ad69735c4
592e3c7a2dfbd5826919b4605559d35d4d75938f
refs/heads/master
1,625,657,216,488
1,551,374,946,000
1,551,374,946,000
98,915,829
0
0
Apache-2.0
1,522,917,267,000
1,501,524,499,000
Lean
UTF-8
Lean
false
false
28,447
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 Linear independence and basis sets in a module or vector space. This file is inspired by Isabelle/HOL's linear algebra, and hence indirectly by HOL Lig...
55397996958bfa4ef41db7bddbd9e587c8ef4834
94e33a31faa76775069b071adea97e86e218a8ee
/src/analysis/convex/krein_milman.lean
9069f54d51ec030cf31063264e0b943682d09627
[ "Apache-2.0" ]
permissive
urkud/mathlib
eab80095e1b9f1513bfb7f25b4fa82fa4fd02989
6379d39e6b5b279df9715f8011369a301b634e41
refs/heads/master
1,658,425,342,662
1,658,078,703,000
1,658,078,703,000
186,910,338
0
0
Apache-2.0
1,568,512,083,000
1,557,958,709,000
Lean
UTF-8
Lean
false
false
5,429
lean
/- Copyright (c) 2022 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import analysis.convex.exposed import analysis.normed_space.hahn_banach.separation /-! # The Krein-Milman theorem This file proves the Krein-Milman lemma and the Krein-...
727dfd9ee1ea29a8c780a45bf46b948412f2f5fc
48f4f349e1bb919d14ab7e5921d0cfe825f4c423
/fabstract/Birkhoff_G_ErgodicTheorem/fabstract.lean
1a88054eac77f2c7ccd21c92116d3c692c7f8846
[]
no_license
thalesant/formalabstracts-2017
fdf4ff90d30ab1dcb6d4cf16a068a997ea5ecc80
c47181342c9e41954aa8d41f5049965b5f332bca
refs/heads/master
1,584,610,453,925
1,528,277,508,000
1,528,277,508,000
136,299,625
0
0
null
null
null
null
UTF-8
Lean
false
false
3,107
lean
import folklore.measure_theory noncomputable theory open set real_axiom.extended_real namespace Birkhoff_G_ErgodicTheorem variables {X : Type} (σ : set (set X)) [sigma_algebra σ] (μ : set X → ℝ∞) [hms : measure_space σ μ] @[meta_data {description := "A transformation is measure preserving if the measure of ...
cb62d806f1251103cee12b51649a2b59f528b0b8
94e33a31faa76775069b071adea97e86e218a8ee
/src/geometry/manifold/instances/sphere.lean
06624e839af3c0588fe16a9ad923f6c7963fa14e
[ "Apache-2.0" ]
permissive
urkud/mathlib
eab80095e1b9f1513bfb7f25b4fa82fa4fd02989
6379d39e6b5b279df9715f8011369a301b634e41
refs/heads/master
1,658,425,342,662
1,658,078,703,000
1,658,078,703,000
186,910,338
0
0
Apache-2.0
1,568,512,083,000
1,557,958,709,000
Lean
UTF-8
Lean
false
false
20,604
lean
/- Copyright (c) 2021 Heather Macbeth. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Heather Macbeth -/ import analysis.complex.circle import analysis.normed_space.ball_action import analysis.inner_product_space.calculus import analysis.inner_product_space.pi_L2 impor...
5079e3455d47aada9ca6475aa7b9c03b40b26124
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/category_theory/limits/cone_category.lean
13620deff44cc974a2578ff70ca5bbbedc4c3922
[ "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,220
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 category_theory.limits.preserves.shapes.terminal /-! # Limits and the category of (co)cones This files contains results that stem from the limit API. For the def...
730240fcf607baf1ae83227903ba536f8abc84c1
8b9f17008684d796c8022dab552e42f0cb6fb347
/hott/init/types/sigma.hlean
53d2600ab46d492013aa588957b4fec7c8fc537d
[ "Apache-2.0" ]
permissive
chubbymaggie/lean
0d06ae25f9dd396306fb02190e89422ea94afd7b
d2c7b5c31928c98f545b16420d37842c43b4ae9a
refs/heads/master
1,611,313,622,901
1,430,266,839,000
1,430,267,083,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
639
hlean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: init.types.sigma Authors: Leonardo de Moura, Jeremy Avigad, Floris van Doorn -/ prelude import init.num structure sigma {A : Type} (B : A → Type) := mk :: (pr1 : A) (pr2 : B p...
74780a365635365ea7db43fdbb8a45254a3d0009
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/ring_theory/jacobson.lean
16bbe3704494c3e8a0115746a07dc08a57d3f306
[ "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
34,433
lean
/- Copyright (c) 2020 Devon Tuma. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Devon Tuma -/ import data.mv_polynomial import ring_theory.ideal.over import ring_theory.jacobson_ideal import ring_theory.localization /-! # Jacobson Rings The following conditions are e...
06b93c8b908d157fa8b9c9732272edbcebd02b16
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/simp_norm.lean
2566a458c7e00f7820dc33aa3ae4ce81c69ab0d4
[ "Apache-2.0" ]
permissive
leanprover-community/lean
12b87f69d92e614daea8bcc9d4de9a9ace089d0e
cce7990ea86a78bdb383e38ed7f9b5ba93c60ce0
refs/heads/master
1,687,508,156,644
1,684,951,104,000
1,684,951,104,000
169,960,991
457
107
Apache-2.0
1,686,744,372,000
1,549,790,268,000
C++
UTF-8
Lean
false
false
456
lean
universes u v axiom map_bind_lemma : ∀ {α β : Type u} {m : Type u → Type v} [monad m] (f : α → β) (x : m α), f <$> x = x >>= pure ∘ f attribute [norm] function.comp map_bind_lemma example : nat.succ <$> [1, 2] = [2, 3] := begin simp with norm, guard_target @eq (list nat) (@bind (λ (α : Type), list α) _ _ ...
12f27d8346b28e5559979f872ee2d08c44faac29
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/order/conditionally_complete_lattice/finset.lean
182242ff9b5c6086aa86dfc34856e77bbfdca0ab
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
3,382
lean
/- Copyright (c) 2018 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 order.conditionally_complete_lattice.basic import data.set.finite /-! # Conditionally complete lattices and finite sets. -/ open set variables {α β γ...
da695201296f66169f55acede9bd9dec5a199c0b
0c1546a496eccfb56620165cad015f88d56190c5
/library/tools/super/prover.lean
d1f2610715b95efb5ac53c72532cacfc0809d24a
[ "Apache-2.0" ]
permissive
Solertis/lean
491e0939957486f664498fbfb02546e042699958
84188c5aa1673fdf37a082b2de8562dddf53df3f
refs/heads/master
1,610,174,257,606
1,486,263,620,000
1,486,263,620,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,642
lean
/- Copyright (c) 2016 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ import .clause .prover_state import .misc_preprocessing import .selection import .trim -- default inferences -- 0 import .clausifier -- 10 import .demod import .inhabi...
2811a35fb6d7302817b276be7d5050ca451429f4
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/order/order_iso_nat.lean
d4822422c62f8ca900f312d31f357d4ab8c89cd7
[ "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
6,000
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.nat.basic import data.equiv.denumerable import data.set.finite import order.rel_iso import logic.function.iterate namespace rel_embedding variables {α :...
7e0b64598bb8793865da8a7d3cb40db807e00eff
130c49f47783503e462c16b2eff31933442be6ff
/stage0/src/Lean/Meta.lean
6bd4425b84ada10d57d5d5d45520f286a7e65af5
[ "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
1,079
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.LevelDefEq import Lean.Meta.WHNF import Lean.Meta.InferType import Lean.Meta.FunInfo import Lean.Meta.ExprDefEq impo...
570e56dbde799ef1a28439861956fb70abd6b746
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/algebra/module/prod.lean
644e88c8c7aab730c84f82bcced3cd3d7421f129
[ "Apache-2.0" ]
permissive
troyjlee/mathlib
e18d4b8026e32062ab9e89bc3b003a5d1cfec3f5
45e7eb8447555247246e3fe91c87066506c14875
refs/heads/master
1,689,248,035,046
1,629,470,528,000
1,629,470,528,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,146
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Patrick Massot, Eric Wieser -/ import algebra.module.basic import group_theory.group_action.prod /-! # Prod instances for module and multiplicative actions This file define...
158e746ef368c7131894048773a1363a023b3cf0
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/05_Interacting_with_Lean.org.9.lean
a690f68dab0c6d02bc3c9c095e808e41335d7db5
[]
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
194
lean
/- page 67 -/ import standard import standard algebra.ordered_ring open nat algebra -- BEGIN check lt_of_succ_le check @lt_of_not_ge check @lt_of_le_of_ne check @add_lt_add_of_lt_of_le -- END
2ee49a65de65512be6dcce39968f7ddd3313650c
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/macroscopes.lean
1e0cb6a19e8f746e2c3bdeeba4e507dc155c70b5
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
1,123
lean
-- open Lean def check (b : Bool) : IO Unit := unless b do throw $ IO.userError "check failed" def test1 : IO Unit := do let x := `x; let x := addMacroScope `main x 1; IO.println $ x; let v := extractMacroScopes x; let x := { v with name := `y }.review; IO.println $ x; let v := extractMacroScopes x; let x := { v with ...
40d4e62ccf5aed4c784aa6808bdf0dd2f25d1dbb
abd85493667895c57a7507870867b28124b3998f
/src/data/polynomial.lean
605cb1a2ddc0db41e30c5a3f38d0b67ec29b9f61
[ "Apache-2.0" ]
permissive
pechersky/mathlib
d56eef16bddb0bfc8bc552b05b7270aff5944393
f1df14c2214ee114c9738e733efd5de174deb95d
refs/heads/master
1,666,714,392,571
1,591,747,567,000
1,591,747,567,000
270,557,274
0
0
Apache-2.0
1,591,597,975,000
1,591,597,974,000
null
UTF-8
Lean
false
false
108,349
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 data.monoid_algebra import algebra.gcd_domain import ring_theory.euclidean_domain import ring_theory.multiplicity i...
bc80209bf61b3789e25edb3181562c9ae841024e
9dc8cecdf3c4634764a18254e94d43da07142918
/src/topology/homotopy/basic.lean
ed41f986392f3d6113cc889817901dff55088c6b
[ "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
20,418
lean
/- Copyright (c) 2021 Shing Tak Lam. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Shing Tak Lam -/ import topology.algebra.order.proj_Icc import topology.continuous_function.ordered import topology.compact_open import topology.unit_interval /-! # Homotopy between f...
247fc3ad0449be0eb6de48e13af2cb7fc4c43277
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/topology/locally_constant/algebra.lean
02e0cdde737bce750ac21f861e1b220da1fd1b8a
[ "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
4,361
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 topology.locally_constant.basic /-! # Algebraic structure on locally constant functions This file puts algebraic structure (`add_group`, etc) on the type of ...
a910f569629f2c5f0c60bb60291994c386886cd0
9dc8cecdf3c4634764a18254e94d43da07142918
/src/category_theory/limits/shapes/pullbacks.lean
dfd1089f8fbf15d149af9ad3e7782f4b3271a9fe
[ "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
92,095
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Markus Himmel, Bhavik Mehta, Andrew Yang -/ import category_theory.limits.shapes.wide_pullbacks import category_theory.limits.shapes.binary_products /-! # Pullbacks W...
84e587e6117676e0c3fe9055320a723fda48e187
43390109ab88557e6090f3245c47479c123ee500
/src/Geometry/tarski_6.lean
7bb9cfee7b50fadc99a08c3b5eefbb6083dbdcbd
[ "Apache-2.0" ]
permissive
Ja1941/xena-UROP-2018
41f0956519f94d56b8bf6834a8d39473f4923200
b111fb87f343cf79eca3b886f99ee15c1dd9884b
refs/heads/master
1,662,355,955,139
1,590,577,325,000
1,590,577,325,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
45,614
lean
import geometry.tarski_5 open classical set namespace Euclidean_plane variables {point : Type} [Euclidean_plane point] local attribute [instance, priority 0] prop_decidable theorem eleven22a {a b c p a' b' c' p' : point} : Bl a (l b p) c → Bl a' (l b' p') c' → eqa a b p a' b' p' → eqa p b c p' b' c' → eqa a b c a' b'...
7c4ec13f63c279c30178d0630b0f314c955d94c5
86f6f4f8d827a196a32bfc646234b73328aeb306
/examples/sets_functions_and_relations/unnamed_662.lean
12f7bfa0a6b53ce25c430f1850af7267af197870
[]
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
194
lean
import tactic open set variables α I : Type* variable A : I → set α variable s : set α -- BEGIN open_locale classical example : s ∪ (⋂ i, A i) = ⋂ i, (A i ∪ s) := sorry -- END
45154abad60f2867cf31d4ac1bdd07338429a84b
76df16d6c3760cb415f1294caee997cc4736e09b
/lean/src/cs/lgl.lean
1d2797dbffecdb5a82b9fbb316e6cc5165b6f041
[ "MIT" ]
permissive
uw-unsat/leanette-popl22-artifact
70409d9cbd8921d794d27b7992bf1d9a4087e9fe
80fea2519e61b45a283fbf7903acdf6d5528dbe7
refs/heads/master
1,681,592,449,670
1,637,037,431,000
1,637,037,431,000
414,331,908
6
1
null
null
null
null
UTF-8
Lean
false
false
17,508
lean
import tactic.basic import tactic.split_ifs import tactic.linarith import tactic.apply_fun import .svm import .lib import .hp import .mrg namespace sym open lang section lgl variables {Model SymB SymV D O : Type} [inhabited Model] [inhabited SymV] (f : factory Model SymB SymV D O) {m : Model} l...
cc8656429ce5b858084feeb99e76cf7c22c36f35
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/sheaves/stalks_auto.lean
53d0e4bee1d93ad610ea8fe35485ef3a32369f01
[]
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
8,057
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.topology.category.Top.open_nhds import Mathlib.topology.sheaves.presheaf import Mathlib.cat...
a6fcc4336283dce7f141ece263cacdbaa90cf289
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/K_bug.lean
6408d202a744877d900357f469f7cc0bfad64dca
[ "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
374
lean
open eq.ops inductive Nat : Type := zero : Nat | succ : Nat → Nat namespace Nat definition pred (n : Nat) := Nat.rec zero (fun m x, m) n theorem pred_succ (n : Nat) : pred (succ n) = n := rfl theorem succ.inj {n m : Nat} (H : succ n = succ m) : n = m := calc n = pred (succ n) : pred_succ n ... = pred (succ m)...
668b000399e80336ba123fcdc7b8b8ba317dcc42
64874bd1010548c7f5a6e3e8902efa63baaff785
/tests/lean/run/nat_bug7.lean
b59f7297a0f5fe98db732ef54d5126553ccf5c04
[ "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
431
lean
import logic namespace experiment inductive nat : Type := zero : nat, succ : nat → nat namespace nat definition add (x y : nat) : nat := nat.rec x (λn r, succ r) y infixl `+` := add axiom add_right_comm (n m k : nat) : n + m + k = n + k + m open eq print "===========================" theorem bug (a b c d : nat) : a +...
a3eedd8b1ceca1d8230d2fcead6dca6679b2f9de
26ac254ecb57ffcb886ff709cf018390161a9225
/src/algebra/category/Group/limits.lean
66af09305901f0ea59b1ede20127a032e9300837
[ "Apache-2.0" ]
permissive
eric-wieser/mathlib
42842584f584359bbe1fc8b88b3ff937c8acd72d
d0df6b81cd0920ad569158c06a3fd5abb9e63301
refs/heads/master
1,669,546,404,255
1,595,254,668,000
1,595,254,668,000
281,173,504
0
0
Apache-2.0
1,595,263,582,000
1,595,263,581,000
null
UTF-8
Lean
false
false
4,252
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.category.Group.basic import category_theory.limits.types import category_theory.limits.preserves import algebra.pi_instances /-! # The category of abe...
a93f9670ef2f96590774d1ea1d711f7bb5c6e3ea
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/limits/constructions/weakly_initial.lean
54e737517a14ce584ab79b74bb9c186d497929cd
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
2,562
lean
/- Copyright (c) 2021 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta -/ import category_theory.limits.shapes.wide_equalizers import category_theory.limits.shapes.products import category_theory.limits.shapes.terminal /-! # Constructions rela...
b67ddfabab59c62768000d9442f882dc1d3763b7
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/linear_algebra/general_linear_group.lean
dea2ab06557de7b887259260cb144ab8a81cd652
[ "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
5,769
lean
/- Copyright (c) 2021 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck -/ import linear_algebra.matrix import linear_algebra.matrix.nonsingular_inverse import linear_algebra.special_linear_group import linear_algebra.determinant /-! # The ...
b256255a7876fa65964e46397f73d3795571509a
9cb9db9d79fad57d80ca53543dc07efb7c4f3838
/src/pseudo_normed_group/with_Tinv.lean
de6f7dc4d71c12ae3709b9e0a7d36114a9132ba9
[]
no_license
mr-infty/lean-liquid
3ff89d1f66244b434654c59bdbd6b77cb7de0109
a8db559073d2101173775ccbd85729d3a4f1ed4d
refs/heads/master
1,678,465,145,334
1,614,565,310,000
1,614,565,310,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,037
lean
import pseudo_normed_group.profinitely_filtered open pseudo_normed_group profinitely_filtered_pseudo_normed_group open_locale nnreal big_operators local attribute [instance] type_pow /-- A *profinitely filtered pseudo normed topological group with action by `T⁻¹`* is a profinitely filtered pseudo normed topological ...
a03536b582dfabbd569359729566142e4ece1c08
94e33a31faa76775069b071adea97e86e218a8ee
/src/algebra/hom/group.lean
c9a8ad1a93052b078ed7c49aeb61c3a34f4c97b8
[ "Apache-2.0" ]
permissive
urkud/mathlib
eab80095e1b9f1513bfb7f25b4fa82fa4fd02989
6379d39e6b5b279df9715f8011369a301b634e41
refs/heads/master
1,658,425,342,662
1,658,078,703,000
1,658,078,703,000
186,910,338
0
0
Apache-2.0
1,568,512,083,000
1,557,958,709,000
Lean
UTF-8
Lean
false
false
52,300
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Kevin Buzzard, Scott Morrison, Johan Commelin, Chris Hughes, Johannes Hölzl, Yury Kudryashov -/ import algebra.group.commute import algebra.group_with_zero.defs impor...
085960152eb81d0a80385a17bd0a90f444c13e22
b7f22e51856f4989b970961f794f1c435f9b8f78
/library/logic/identities.lean
9c418a47db4442d290f2320865b86e4d77a4538f
[ "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
4,216
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura Useful logical identities. Since we are not using propositional extensionality, some of the calculations use the type class support provided by...
eea531dbc8ce3f23be2240665298502221cc730b
33340b3a23ca62ef3c8a7f6a2d4e14c07c6d3354
/lia/eval_qe.lean
bb5aa37fc31032fb12d791f590541d295a73c0b0
[]
no_license
lclem/cooper
79554e72ced343c64fed24b2d892d24bf9447dfe
812afc6b158821f2e7dac9c91d3b6123c7a19faf
refs/heads/master
1,607,554,257,488
1,578,694,133,000
1,578,694,133,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,701
lean
import .nnf .qfree_sqe .wf_sqe .eval_sqe def qe : formula → formula | (p ∧' q) := and_o (qe p) (qe q) | (p ∨' q) := or_o (qe p) (qe q) | (¬' p) := not_o (qe p) | (∃' p) := sqe (nnf (qe p)) | p := p lemma qfree_qe : ∀ {f : formula}, qfree (qe f) := λ f, formula.rec_on f trivial trivial (λ a, trivial) (λ f1 f2 h...
76f447d119834ada0be3034c9299289d4b9b979a
7b02c598aa57070b4cf4fbfe2416d0479220187f
/algebra/exact_couple.hlean
4d5150035ffde60efee2b59a2d4236552ea5cd6e
[ "Apache-2.0" ]
permissive
jdchristensen/Spectral
50d4f0ddaea1484d215ef74be951da6549de221d
6ded2b94d7ae07c4098d96a68f80a9cd3d433eb8
refs/heads/master
1,611,555,010,649
1,496,724,191,000
1,496,724,191,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,614
hlean
/- Copyright (c) 2016 Egbert Rijke. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Egbert Rijke, Steve Awodey Exact couple, derived couples, and so on -/ import algebra.group_theory hit.set_quotient types.sigma types.list types.sum .quotient_group .subgroup .ses ope...
50bdbdc6e9ceacb318048932fb752382689110ae
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/nat/cast.lean
abf7d4c4ff903d5884209c5a3843df5d9ce31e3f
[ "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
9,887
lean
/- Copyright (c) 2014 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro Natural homomorphism from the natural numbers into a monoid with one. -/ import algebra.ordered_field import data.nat.basic namespace nat variables {α : Type*} sectio...
b1cd676002edeaee62640a1593f1d5ad4819905d
e151e9053bfd6d71740066474fc500a087837323
/src/hott/init/pathover.lean
7fb6af578ee9bf8ec442a1b1a4bddcd5224404b2
[ "Apache-2.0" ]
permissive
daniel-carranza/hott3
15bac2d90589dbb952ef15e74b2837722491963d
913811e8a1371d3a5751d7d32ff9dec8aa6815d9
refs/heads/master
1,610,091,349,670
1,596,222,336,000
1,596,222,336,000
241,957,822
0
0
Apache-2.0
1,582,222,839,000
1,582,222,838,000
null
UTF-8
Lean
false
false
20,165
lean
/- 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 Basic theorems about pathovers -/ import .path .equiv universes u v l hott_theory namespace hott open hott.equiv hott.is_equiv function variables {A : Type _} {A'...
2cf3d2ade32c5773cf185a65c5d3213893472d5e
a721fe7446524f18ba361625fc01033d9c8b7a78
/elaborate/mul_cancel_total_order_no_tactic.stripped.lean
9ba6b35b84c0253d771dd5a81ee79d64d653c521
[]
no_license
Sterrs/leaning
8fd80d1f0a6117a220bb2e57ece639b9a63deadc
3901cc953694b33adda86cb88ca30ba99594db31
refs/heads/master
1,627,023,822,744
1,616,515,221,000
1,616,515,221,000
245,512,190
2
0
null
1,616,429,050,000
1,583,527,118,000
Lean
UTF-8
Lean
false
false
17,398
lean
λ (m n k : mynat) (hmnz : m = zero → false), or.rec (λ (h : ∃ (k_1 : mynat), k = add n k_1) («_» : (∃ (k_1 : mynat), k = add n k_1) ∨ ∃ (k_1 : mynat), n = add k k_1) (hmnmk : mul m n = mul m k), Exists.rec (λ (w : mynat) (h : k = add n w) («_» : ∃ (k_1 : mynat), k = add n k_1), eq.rec true.intro (eq.rec (eq.refl (n = k...
85820e6b723f94b0665b77ff0fc790d07ca6ca49
097294e9b80f0d9893ac160b9c7219aa135b51b9
/instructor/identifiers/defz.lean
3824c7c181db2f08a55a06f652b6f19396cf83ec
[]
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
25
lean
def z := nat.zero #eval z
d09d48c35fbe868c7a92a834a30a82769056a2ac
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/int/cast/basic.lean
913d5db16ef2f9d3b323cfad2d271768f48bbee5
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
3,844
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Gabriel Ebner -/ import data.int.cast.defs import algebra.group.basic /-! # Cast of integers (additional theorems) > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > https:...
105b80f25124c98e3365a1be8c63f0f7967fb22d
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/data/rat/basic.lean
9772b8211475d6992fbcb79313c3e94231c2e7b5
[ "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
29,457
lean
/- Copyright (c) 2019 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro -/ import data.equiv.encodable.basic import algebra.euclidean_domain import data.nat.gcd import data.int.cast /-! # Basics for the Rational Numbers ## ...
b0656835d612057cc0a466dcc034d54a169156aa
f4bff2062c030df03d65e8b69c88f79b63a359d8
/src/game/topology/union_closed_sets.lean
591863470f005e812acb8931d88768c10ac72393
[ "Apache-2.0" ]
permissive
adastra7470/real-number-game
776606961f52db0eb824555ed2f8e16f92216ea3
f9dcb7d9255a79b57e62038228a23346c2dc301b
refs/heads/master
1,669,221,575,893
1,594,669,800,000
1,594,669,800,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
566
lean
import data.real.basic import data.set.lattice import topology.basic import game.topology.union_open_sets open set --begin hide namespace xena -- end hide def is_closed (X : set ℝ) := is_open {x : ℝ | x ∉ X } -- begin hide -- Checking mathlib definitions variable β : Type* -- finite unions only variable [fintype β...
cc169a0c662057ed788fd9c7c58dcf17a5237d55
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/test/aesop/default_rules.lean
047a3e0b4aa2c864a186f17696103de00da17bd0
[ "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
1,567
lean
import tactic.aesop.default_rules open tactic.aesop.default_rule (split_hyps) /-! # split_hyps Note: the names of generated hypotheses are more or less arbitrary and should not be relied upon. -/ /- We can split product-like types. -/ example {P Q : Prop} {A B : Type} (h₁ : P ∧ Q) (h₂ : A × B) (h₃ : pprod A B) : ...
b4ffb7b16249e05c0f145c16c15f9916c425ed75
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/stage0/src/Lean/Data/Lsp/Extra.lean
0bd811d4a21d3f7816f7518834ad51dd166d2592
[ "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,298
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 Lean.Data.Json import Lean.Data.JsonRpc import Lean.Data.Lsp.Basic /-! This file contains Lean-specific extensions to LSP. The following additional packets are...
3dfde7a9ee62bb287f03bfd790d7ae9f0fc90f67
437dc96105f48409c3981d46fb48e57c9ac3a3e4
/src/data/equiv/mul_add.lean
beb5ffbbe5745cfee032ccff44d8fc51d8c855d5
[ "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
10,398
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Callum Sutton, Yury Kudryashov -/ import data.equiv.basic import deprecated.group /-! # Multiplicative and additive equivs In this file we define two extensions of `e...
9c276ee09267f20cae5e92841188aa79e7d4739d
453dcd7c0d1ef170b0843a81d7d8caedc9741dce
/analysis/measure_theory/measure_space.lean
193ca47832a388e73622ef30f5e2d65e48a4019e
[ "Apache-2.0" ]
permissive
amswerdlow/mathlib
9af77a1f08486d8fa059448ae2d97795bd12ec0c
27f96e30b9c9bf518341705c99d641c38638dfd0
refs/heads/master
1,585,200,953,598
1,534,275,532,000
1,534,275,532,000
144,564,700
0
0
null
1,534,156,197,000
1,534,156,197,000
null
UTF-8
Lean
false
false
25,345
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 Measure spaces -- measures Measures are restricted to a measurable space (associated by the type class `measurable_space`). This allows us to prove equ...
ad5401e52daa6d0bf6b4fd914f17f706f72cdcf7
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/def_brec3.lean
6a4b6d81b37d0e76e9eb9163cbdc32f84fb943d6
[ "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
504
lean
open nat inductive bv : nat → Type | nil : bv 0 | cons : ∀ (n) (hd : bool) (tl : bv n), bv (succ n) open bv variable (f : bool → bool → bool) definition map2 : ∀ {n}, bv n → bv n → bv n | .0 nil nil := nil | .(n+1) (cons n b1 v1) (cons .n b2 v2) := cons n (f b1 b2) (map2 v1 v2) example ...
a3b4fe425c9a49e3608a3a09ef268dad19ba83a4
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/t13.lean
d0be9f25af5a2678337c8d11e8a461dbbffd24bf
[ "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
353
lean
prelude constant A : Type.{1} constant f : A → A → A constant g : A → A → A precedence `+` : 65 infixl (name := f) + := f infixl (name := g) + := g constant a : A constant b : A #print raw a+b -- + is overloaded #check fun (h : A → A → A) (infixl + := h), -- Like local declarations, local notation "shadows" g...
2397c218565cfea419b1096991431eccc9210a53
3f7026ea8bef0825ca0339a275c03b911baef64d
/src/category_theory/isomorphism.lean
0a3c64e5dcb40784fa3c04acce680673e540520a
[ "Apache-2.0" ]
permissive
rspencer01/mathlib
b1e3afa5c121362ef0881012cc116513ab09f18c
c7d36292c6b9234dc40143c16288932ae38fdc12
refs/heads/master
1,595,010,346,708
1,567,511,503,000
1,567,511,503,000
206,071,681
0
0
Apache-2.0
1,567,513,643,000
1,567,513,643,000
null
UTF-8
Lean
false
false
10,300
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tim Baumann, Stephen Morgan, Scott Morrison, Floris van Doorn -/ import category_theory.functor import tactic.reassoc_axiom /-! # Isomorphisms This file defines isomorphisms between ...
5e6db80aa99960a796032939f611c22fe9e93168
9dc8cecdf3c4634764a18254e94d43da07142918
/src/topology/local_at_target.lean
8506d806e0a7b7d0ae22c1509844ee226685b82e
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
4,697
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 topology.sets.opens /-! # Properties of maps that are local at the target. We show that the following properties of continuous maps are local at the target : - `in...
c4845da19d5a39847c7be61c381bd4a2b904c072
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/preadditive/endo_functor.lean
c4c77a465cf8d2ce9274849dfcaeb2595a318d6d
[ "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,558
lean
/- Copyright (c) 2022 Julian Kuelshammer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julian Kuelshammer -/ import category_theory.preadditive.basic import category_theory.endofunctor.algebra import category_theory.preadditive.additive_functor /-! # Preadditive st...
a293d361666518639a237bbff3caa86d327ea064
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/set_theory/game.lean
a390f0e0b4bdcb293d87e0e6ad153eab5c9241c4
[ "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
24,936
lean
/- Copyright (c) 2019 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Mario Carneiro, Isabel Longbottom, Scott Morrison, Apurva Nakade -/ import set_theory.pgame import tactic.abel /-! # Combinatorial games. In this file we define the quot...
9ac04e05548ef271c3a6e6238f793d97f0984c57
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/algebra/pointwise.lean
8074695486532ca0c987d396408333584ca34f31
[ "Apache-2.0" ]
permissive
ilitzroth/mathlib
ea647e67f1fdfd19a0f7bdc5504e8acec6180011
5254ef14e3465f6504306132fe3ba9cec9ffff16
refs/heads/master
1,680,086,661,182
1,617,715,647,000
1,617,715,647,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
19,106
lean
/- Copyright (c) 2019 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Floris van Doorn -/ import algebra.module.basic import data.set.finite import group_theory.submonoid.basic /-! # Pointwise addition, multiplication, and scalar multipl...
be8b52c81d63ac32cc2e4084c41246c4ca07adce
274261f7150b4ed5f1962f172c9357591be8a2b5
/src/lattice_filtration.lean
3f8c18b00e1ee2887c4bf065f697a9a1578fb5a9
[]
no_license
rspencer01/lean_representation_theory
219ea1edf4b9897b2997226b54473e44e1538b50
2eef2b4b39d99d7ce71bec7bbc3dcc2f7586fcb5
refs/heads/master
1,588,133,157,029
1,571,689,957,000
1,571,689,957,000
175,835,785
0
0
null
null
null
null
UTF-8
Lean
false
false
2,492
lean
import order.order_iso import .lists open lattice /-- A filtration is a list of (not-strictly) increasing elements of the lattice -/ structure filtration (α) [preorder α] := (modules : list α) (c : list.chain' (≤) modules) namespace filtration def le_pair (α) [has_le α] := { p : α × α // p.1 ≤ p.2} instance (...
2e3168c94f1495746d3eb627793a6bd206ca7594
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/RightSelfInverse.lean
ad3b7cc7f582ee3c1b375b46ea311b035453fec7
[]
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,301
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 RightSelfInverse structure RightSelfInverse (A : Type) : Type := (linv : (A → (A → A))) (rightSelfInverse_linv : (∀ {x y : A} , (linv (linv x y) y) = x)) ...
8aa84c8a07b17096cb73797d9e1b312623999c09
35677d2df3f081738fa6b08138e03ee36bc33cad
/test/traversable.lean
931b0828049b82c645a0afa303797ea5c8c6c9c8
[ "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
1,940
lean
import category.traversable.derive import tactic universes u /- traversable -/ open tactic.interactive run_cmd do lawful_traversable_derive_handler' `test ``(is_lawful_traversable) ``list -- the above creates local instances of `traversable` and `is_lawful_traversable` -- for `list` -- do not put in instances becaus...
06790c576427ad0223112494620503b0aec58335
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/order/omega_complete_partial_order.lean
741a53fb83d855db6e3a813015692a5870a6c2ac
[ "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
27,464
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 control.monad.basic import data.part import order.hom.order import tactic.monotonicity import tactic.wlog /-! # Omega Complete Partial Orders An omega-complete par...
4adcddb6cd971bbf078a4d4785986707d5e347a4
56e5b79a7ab4f2c52e6eb94f76d8100a25273cf3
/src/utils/default.lean
37d33e667e90f3803c95c5814b1370fa9cbaebed
[ "Apache-2.0" ]
permissive
DyeKuu/lean-tpe-public
3a9968f286ca182723ef7e7d97e155d8cb6b1e70
750ade767ab28037e80b7a80360d213a875038f8
refs/heads/master
1,682,842,633,115
1,621,330,793,000
1,621,330,793,000
368,475,816
0
0
Apache-2.0
1,621,330,745,000
1,621,330,744,000
null
UTF-8
Lean
false
false
39
lean
import .util import .sexp import .json
967d4bcc850fb9f33b3924619aceb0f7bda0d0bb
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/representation_theory/Action.lean
df29ca63dca5a3da4acb4a9de903a351881ccfd8
[ "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
28,698
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.category.Group.basic import category_theory.single_obj import category_theory.limits.functor_category import category_theory.limits.preserves.basic imp...
fd93326498c521112f2a544ee41906f6d4f3cf60
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/ind_bug.lean
246d30277b9fb2b51949136a25ebb31220372085
[ "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
186
lean
constant N : Type.{1} constant I : Type.{1} namespace foo inductive p (a : N) : Prop | intro : p end foo open foo namespace bla inductive p (a : I) : Prop | intro : p end bla
b9cf0d238c30724405780e4485249b79e7251e6c
d3aa99b88d7159fbbb8ab10d699374ab7be89e03
/src/linear_algebra/basic.lean
97466be75de7d926803ce48d1fe279f7c64ca714
[ "Apache-2.0" ]
permissive
mzinkevi/mathlib
62e0920edaf743f7fc53aaf42a08e372954af298
c718a22925872db4cb5f64c36ed6e6a07bdf647c
refs/heads/master
1,599,359,590,404
1,573,098,221,000
1,573,098,221,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
70,349
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 -/ import algebra.pi_instances data.finsupp data.equiv.algebra order.order_iso /-! # Linear algebra This file defines the basics of lin...
355ddb114266cdf9cf50721dd665a85989aa382d
9a0b1b3a653ea926b03d1495fef64da1d14b3174
/tidy/rewrite_search/discovery/types.lean
501c0898ae293562164bdeba798a1fbe00d378d0
[ "Apache-2.0" ]
permissive
khoek/mathlib-tidy
8623b27b4e04e7d598164e7eaf248610d58f768b
866afa6ab597c47f1b72e8fe2b82b97fff5b980f
refs/heads/master
1,585,598,975,772
1,538,659,544,000
1,538,659,544,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
507
lean
import tidy.rewrite_search.core.shared import .shared import .bundle universe u open tidy.rewrite_search namespace tidy.rewrite_search.discovery meta def discovery_trace {α : Type u} [has_to_tactic_format α] (a : α) (nl : bool := tt) : tactic unit := do str ← tactic.pp a, let nlc := if nl then "\n" else "", ...
3608f1d481646002ec6eb175c996ee0726c34d50
a4673261e60b025e2c8c825dfa4ab9108246c32e
/stage0/src/Lean/Compiler/Specialize.lean
8229ed516b5b7a2e80c450c3c17f597454eeae09
[ "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,347
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.Attributes import Lean.Compiler.Util namespace Lean.Compiler inductive SpecializeAttributeKind := | specialize | nospecialize namespace Spe...
feea64294010488761cc2ad95cd9ce9097103f8c
491068d2ad28831e7dade8d6dff871c3e49d9431
/library/theories/group_theory/pgroup.lean
0c349b35fee3d571b2bbe097325544f2bf2987d5
[ "Apache-2.0" ]
permissive
davidmueller13/lean
65a3ed141b4088cd0a268e4de80eb6778b21a0e9
c626e2e3c6f3771e07c32e82ee5b9e030de5b050
refs/heads/master
1,611,278,313,401
1,444,021,177,000
1,444,021,177,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
15,389
lean
/- Copyright (c) 2015 Haitao Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author : Haitao Zhang -/ import theories.number_theory.primes data algebra.group algebra.group_power algebra.group_bigops .cyclic .finsubg .hom .perm .action open nat fin list algebra function...
56361ad0bd4fe2af1d53d230803f8ff7b242601d
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/stage0/src/Init/Data/Fin/Basic.lean
84ef5c1163539beb2b290bdd56ae7e25250958fe
[ "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
2,991
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import Init.Data.Nat.Div import Init.Data.Nat.Bitwise import Init.Coe open Nat namespace Fin instance coeToNat {n} : Coe (Fin n) Nat := ⟨fun v =...
1aacbac83b1dfbfd157cf117af25a7893df0545b
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/run/match_convoy3.lean
067eb8c032d9cd68024077fd83e507ae60ebcb27
[ "Apache-2.0" ]
permissive
GaloisInc/lean
aa1e64d604051e602fcf4610061314b9a37ab8cd
f1ec117a24459b59c6ff9e56a1d09d9e9e60a6c0
refs/heads/master
1,592,202,909,807
1,504,624,387,000
1,504,624,387,000
75,319,626
2
1
Apache-2.0
1,539,290,164,000
1,480,616,104,000
C++
UTF-8
Lean
false
false
1,570
lean
constant bag_setoid : ∀ A, setoid (list A) attribute [instance] bag_setoid noncomputable definition bag (A : Type) : Type := quotient (bag_setoid A) constant subcount : ∀ {A}, list A → list A → bool constant list.count : ∀ {A}, A → list A → nat constant all_of_subcount_eq_tt : ∀ {A} {l₁ l₂ : list A}, subcount l₁ l₂ =...
143a207d5fd1ee449317131c8716c775a0d8ba81
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/src/Lean/Parser/Term.lean
9cc5e166e0f0d84974838da3dc96780d20cd882a
[ "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
17,269
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ import Lean.Parser.Attr import Lean.Parser.Level namespace Lean namespace Parser namespace Command def commentBody : Parser := { fn := ...
8925dbb1574c79682d1144b6ea630be5b1fdb536
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/structuralEqns.lean
8002737675e50b6714206dc1be7eb007bc4a9d57
[ "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
357
lean
import Lean open Lean open Lean.Meta def tst (declName : Name) : MetaM Unit := do IO.println (← getUnfoldEqnFor? declName) def foo (xs ys zs : List Nat) : List Nat := match (xs, ys) with | (xs', ys') => match zs with | z::zs => foo xs ys zs | _ => match ys' with | [] => [1] | _ => [2] ...
8b955c93d2a6898f4eaf462fcb38bc2a274eea8d
4727251e0cd73359b15b664c3170e5d754078599
/src/data/W/cardinal.lean
d5dd68d7b275931c875e2397e9f0ed7c1cc1c7f7
[ "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
2,788
lean
/- Copyright (c) 2021 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import data.W.basic import set_theory.cardinal.ordinal /-! # Cardinality of W-types This file proves some theorems about the cardinality of W-types. The main result is ...
5a49de7a899c0617dbcbd9092d930b55ba7b1d60
a4673261e60b025e2c8c825dfa4ab9108246c32e
/tests/lean/run/monadCache.lean
bf8e3737b03617550906e3685a0a1dc29690baac
[ "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
1,340
lean
import Lean 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 $ Nat.max (← d...
7da08ae6207ae926d502e032692d726db4336fb2
491068d2ad28831e7dade8d6dff871c3e49d9431
/hott/algebra/category/constructions/initial.hlean
109e93a9eecfc232766ce7d107ebfcc86e7b121f
[ "Apache-2.0" ]
permissive
davidmueller13/lean
65a3ed141b4088cd0a268e4de80eb6778b21a0e9
c626e2e3c6f3771e07c32e82ee5b9e030de5b050
refs/heads/master
1,611,278,313,401
1,444,021,177,000
1,444,021,177,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,376
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 Initial category -/ import .indiscrete open functor is_trunc eq namespace category definition initial_precategory [constructor] : precategory empty := indi...
0a4a40270dcea277faa8eeef42c91653a4b2e26e
205f0fc16279a69ea36e9fd158e3a97b06834ce2
/EXAMS/exam3-practice.lean
ba45cf82561b4343bfb2337b89446a613efc5c08
[]
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
8,088
lean
import data.set open set /- NOTE: The final exam is comprehensive, but this practice exam is not. In addition to working through this practice exam, you should revisit the exam1 and exam2 practice exams. -/ /- SETS -/ namespace sets /- 1. Prove that 1 is in the set {1, 2, 3, 4, 5}. -/ example: 1 ∈ ({1, 2, 3, 4, 5}:...
28c13729682fdfa9c5d7caf255bfbb90320b50a6
94e33a31faa76775069b071adea97e86e218a8ee
/src/measure_theory/function/conditional_expectation.lean
f18b753473b651ebe1c6a49acbd05388f565f846
[ "Apache-2.0" ]
permissive
urkud/mathlib
eab80095e1b9f1513bfb7f25b4fa82fa4fd02989
6379d39e6b5b279df9715f8011369a301b634e41
refs/heads/master
1,658,425,342,662
1,658,078,703,000
1,658,078,703,000
186,910,338
0
0
Apache-2.0
1,568,512,083,000
1,557,958,709,000
Lean
UTF-8
Lean
false
false
118,221
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 -/ import analysis.inner_product_space.projection import measure_theory.function.l2_space import measure_theory.decomposition.radon_nikodym import measure_theory.function.u...
c38e0b459ff34de048532c71818cfd42c7bedbdd
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/def11.lean
b03d8c70476dc7a9c73cf06de574ca728e00c215
[ "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
55
lean
definition ex1 (a : nat) : nat.succ a = 0 → false .
f2f498b2830f497efb47f4973acddf6eea2d6e2b
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/linear_algebra/smodeq_auto.lean
579a5b1d89db0a7c62796304ec7d99fd6b13651d
[]
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,621
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.linear_algebra.basic import Mathlib.PostPort universes u_1 u_2 u_3 namespace Mathlib /-! # modula...
040cbfee3cc7222fe657c150623f4f6d5cd70dca
4727251e0cd73359b15b664c3170e5d754078599
/src/algebra/homology/augment.lean
6904f0708305b721c4bdced26553a051c46b191e
[ "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
10,971
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 algebra.homology.single import tactic.linarith /-! # Augmentation and truncation of `ℕ`-indexed (co)chain complexes. -/ noncomputable theory open category_t...
23f474fffa3ca7accd04bd22db43646ceccc02d8
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/data/set/basic.lean
7a9682390f1d44c63c33951d15cf6853cfbc0d7b
[ "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
106,457
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura -/ import logic.unique import order.boolean_algebra /-! # Basic properties of sets Sets in Lean are homogeneous; all their elements have the same type...
50bbed17b64beaf42b69dd1deef7f379d9425c60
618003631150032a5676f229d13a079ac875ff77
/roadmap/topology/paracompact.lean
0eb48b512a9b4fbe46143da5b6fd442266b59661
[ "Apache-2.0" ]
permissive
awainverse/mathlib
939b68c8486df66cfda64d327ad3d9165248c777
ea76bd8f3ca0a8bf0a166a06a475b10663dec44a
refs/heads/master
1,659,592,962,036
1,590,987,592,000
1,590,987,592,000
268,436,019
1
0
Apache-2.0
1,590,990,500,000
1,590,990,500,000
null
UTF-8
Lean
false
false
3,137
lean
/- Copyright (c) 2020 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton -/ import ..todo import topology.subset_properties import topology.separation import topology.metric_space.basic /-! A formal roadmap for basic properties of paracompact spa...
8c220a35823e3c30fcc09804615b08ceed503da7
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/order/monoid/with_top.lean
8665adece4cc690e845f74752aae51cb01ada5e3
[ "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
20,767
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura, Mario Carneiro, Johannes Hölzl -/ import algebra.hom.group import algebra.order.monoid.order_dual import algebra.order.monoid.with_zero.basic import da...
afeb823565f0c37757cbf86d7a6f845c60b793ef
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/category_theory/subobject/factor_thru.lean
8133b5c8a4e1eee1924372ea174b8082ff588195
[ "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
6,938
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta, Scott Morrison -/ import category_theory.subobject.basic import category_theory.preadditive /-! # Factoring through subobjects The predicate `h : P.factors f`, for `P :...
6aee668aab30887274c682d50d4da8dcdd5a4f80
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/tactic_notation.lean
25d72169d0cef9ca1dda8477df987cf89ec338bb
[ "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
226
lean
import logic theorem tst1 (a b c : Prop) : a → b → a ∧ b := begin intros, apply and.intro, repeat assumption end theorem tst2 (a b c : Prop) : a → b → a ∧ b := by intros; apply and.intro; repeat assumption
a516fd535bb4fc8d5a5652d8d40487b638adc0c6
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/tests/lean/run/simpOnly.lean
c39a6d717640aaf355f450679b73438095de139e
[ "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
300
lean
theorem ex1 (n m : Nat) : 0 + (n, m).1 = n := by simp only rw [Nat.zero_add] theorem ex2 (n m : Nat) : 0 + (n, m).1 = n := by simp theorem ex3 (n m : Nat) : 0 + (n, m).1 + 0 = n := by simp only [Nat.add_zero] rw [Nat.zero_add] theorem ex4 (n m : Nat) : 0 + (n, m).1 + 0 = n := by simp
8d0d35b0e175bb1f3b03add0f2253821fe15c0e6
957a80ea22c5abb4f4670b250d55534d9db99108
/library/init/data/int/order.lean
f40879c90e86f63d49678e6929d368ace3fa7527
[ "Apache-2.0" ]
permissive
GaloisInc/lean
aa1e64d604051e602fcf4610061314b9a37ab8cd
f1ec117a24459b59c6ff9e56a1d09d9e9e60a6c0
refs/heads/master
1,592,202,909,807
1,504,624,387,000
1,504,624,387,000
75,319,626
2
1
Apache-2.0
1,539,290,164,000
1,480,616,104,000
C++
UTF-8
Lean
false
false
11,783
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad The order relation on the integers. -/ prelude import init.data.int.basic namespace int private def nonneg (a : ℤ) : Prop := int.cases_on a (assume n, true) (assume n, ...
88d4e20abc2f3634388030dcbf74906742565974
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/topology/constructions.lean
142added5ca0245ac84d5edc2a0daefe75607213
[ "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
45,916
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...
dad2c1db6a081ab5e518913444ebd78d2b65b42d
450ef90ab419a8d1a41b0acbfcd9c40d706ef262
/data/list/set.lean
2375d6c7f9a81447fb0736b62530193e56d6c373
[]
no_license
minchaowu/library_dev
7bb62d254aaeae027dd78095cc4b1f0b0f3271ba
9309df1085d8fb019f5b12d22fafd06bc1be6bf4
refs/heads/master
1,609,344,118,976
1,501,167,567,000
1,501,167,567,000
91,199,828
0
0
null
1,494,705,872,000
1,494,705,872,000
null
UTF-8
Lean
false
false
31,641
lean
/- Copyright (c) 2015 Leonardo de Moura. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad Set-like operations on lists. -/ import data.list.basic data.list.comb .basic .comb open nat function decidable universe variables uu vv variable...
978cc85f3526829a465f07e31ecc741eb4c11904
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/instances/matrix.lean
9a783e84d865b6a121dfdbf2023a1ed1691c1cfc
[ "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
18,504
lean
/- Copyright (c) 2021 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash, Eric Wieser -/ import topology.algebra.infinite_sum import topology.algebra.ring import topology.algebra.star import linear_algebra.matrix.nonsingular_inverse import linear_a...
2d51bcada3377f13f8c44198da6dc62d5dc3528e
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/let3.lean
d313dd378487d659daa8f40e197f0804828e0402
[ "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
142
lean
-- constant f : nat → nat → nat → nat #check let a : nat := 10 in f a 10 /- #check let a := 10, b := 10 in f a b 10 -/
85192c1af77f23cb1a5fbe6ae36607c3fc177e07
7da5ceac20aaab989eeb795a4be9639982e7b35a
/src/group_theory/classification.lean
f65339a842e806c2579e6b3d9fb3b6a8d300ba4c
[ "MIT" ]
permissive
formalabstracts/formalabstracts
46c2f1b3a172e62ca6ffeb46fbbdf1705718af49
b0173da1af45421239d44492eeecd54bf65ee0f6
refs/heads/master
1,606,896,370,374
1,572,988,776,000
1,572,988,776,000
96,763,004
165
28
null
1,555,709,319,000
1,499,680,948,000
Lean
UTF-8
Lean
false
false
2,411
lean
import .lie_type .sporadic_group open nat monster local infix ` ≅ `:60 := isomorphic /-- Cyclic groups of prime order -/ structure is_cyclic_of_prime_order (G : Group) : Prop := (is_cyclic : is_cyclic G) (is_finite : is_finite G) (prime_order : prime (G.order is_finite)) /-- The finite simple alternating groups are ...
76eda497d09379526b65a86452a39a6068b89d92
e61a235b8468b03aee0120bf26ec615c045005d2
/src/Init/Lean/Data/KVMap.lean
17cdbcfb8e95a8ce735ed65824bf71365d837d05
[ "Apache-2.0" ]
permissive
SCKelemen/lean4
140dc63a80539f7c61c8e43e1c174d8500ec3230
e10507e6615ddbef73d67b0b6c7f1e4cecdd82bc
refs/heads/master
1,660,973,595,917
1,590,278,033,000
1,590,278,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,809
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Data.Option.Basic import Init.Data.Int import Init.Lean.Data.Name namespace Lean inductive DataValue | ofString (v : String) | ofBool ...
16ce1f39927d5ed1c3f7cd124d09aefc9fc775a2
737dc4b96c97368cb66b925eeea3ab633ec3d702
/stage0/src/Lean/Meta/WHNF.lean
6b6862c2aa7836dc09d0a6d3dbb9295f285c19ea
[ "Apache-2.0" ]
permissive
Bioye97/lean4
1ace34638efd9913dc5991443777b01a08983289
bc3900cbb9adda83eed7e6affeaade7cfd07716d
refs/heads/master
1,690,589,820,211
1,631,051,000,000
1,631,067,598,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
24,871
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.Meta.Basic import Lean.Meta.LevelDefEq import Lean.Meta.GetConst import Lean.Meta...
fe94b44d702761c9976f545f5c25372eea18d3dc
82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7
/src/Lean/Parser/Syntax.lean
e8118d4a5ebeb9de3eed67d4cb097483f6dd915c
[ "Apache-2.0" ]
permissive
banksonian/lean4
3a2e6b0f1eb63aa56ff95b8d07b2f851072d54dc
78da6b3aa2840693eea354a41e89fc5b212a5011
refs/heads/master
1,673,703,624,165
1,605,123,551,000
1,605,123,551,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,153
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ import Lean.Parser.Command import Lean.Parser.Tactic namespace Lean namespace Parser builtin_initialize registerBuiltinParserAttribut...
b12053e017e3dd6cdba71b6b6c9e042787d2574c
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/measure_theory/group/basic.lean
bc78e622ebfc44d1141b8a2b04a0e7dadbae8998
[ "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
20,403
lean
/- Copyright (c) 2020 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import measure_theory.integral.lebesgue import measure_theory.measure.regular /-! # Measures on Groups We develop some properties of measures on (topological) g...
388fb02cec703b66bd8dffb49a66b2e0225af5e8
453dcd7c0d1ef170b0843a81d7d8caedc9741dce
/category/basic.lean
4e057c19685d89c18b9f7ffd1bf3a16919f4509e
[ "Apache-2.0" ]
permissive
amswerdlow/mathlib
9af77a1f08486d8fa059448ae2d97795bd12ec0c
27f96e30b9c9bf518341705c99d641c38638dfd0
refs/heads/master
1,585,200,953,598
1,534,275,532,000
1,534,275,532,000
144,564,700
0
0
null
1,534,156,197,000
1,534,156,197,000
null
UTF-8
Lean
false
false
3,488
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 Extends the theory on functors, applicatives and monads. -/ universes u v variables {α β γ : Type u} notation a ` $< `:1 f:1 := f a section functor variables {f : Ty...
0e3697db14cbf32c415596267cac8ab6da97efcd
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/data/polynomial/coeff.lean
4ba24082a3dfcb8805b2e0b77e279bc0f914e1b6
[ "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
7,199
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 data.polynomial.basic import data.finset.nat_antidiagonal /-! # Theory of univariate polynomials The theorems inc...
7cf718a9efbc2643a1739256e101ea03916da691
3f7026ea8bef0825ca0339a275c03b911baef64d
/src/algebra/ordered_group.lean
9f27dfb162d0b52a9d653adf8b16b993b82288f7
[ "Apache-2.0" ]
permissive
rspencer01/mathlib
b1e3afa5c121362ef0881012cc116513ab09f18c
c7d36292c6b9234dc40143c16288932ae38fdc12
refs/heads/master
1,595,010,346,708
1,567,511,503,000
1,567,511,503,000
206,071,681
0
0
Apache-2.0
1,567,513,643,000
1,567,513,643,000
null
UTF-8
Lean
false
false
25,658
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Johannes Hölzl Ordered monoids and groups. -/ import algebra.group order.bounded_lattice tactic.basic universe u variable {α : Type u} section old_structure_cmd set...
c1a56a816b535a8826276121cfa0ba739205bcd1
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/rc_tests.lean
de32d5bdb1aba14b00082cf6d3fda465198b0aa5
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
1,127
lean
universe u v -- set_option pp.binderTypes false set_option pp.explicit true set_option trace.compiler.llnf true -- set_option trace.compiler.boxed true namespace x1 def f (x : Bool) (y z : Nat) : Nat := match x with | true => y | false => z + y + y end x1 namespace x2 def f (x : Nat) : Nat := x end x2 namesp...
ddae60c95521514f9fa282fa7bfb544824815f83
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Init/Control/Basic.lean
d9e9218aaa218ab8fa88c9d47c462deb8d826544
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
9,739
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura, Sebastian Ullrich -/ prelude import Init.Core universe u v w @[reducible] def Functor.mapRev {f : Type u → Type v} [Functor f] {α β : Type u} : f α → (α → β)...
70b8698beae9139b5ff72d4f3921600c00c1d01a
82e44445c70db0f03e30d7be725775f122d72f3e
/src/set_theory/schroeder_bernstein.lean
4aca6f87c4358ef1f8c5c81ac98177ab4df604cc
[ "Apache-2.0" ]
permissive
stjordanis/mathlib
51e286d19140e3788ef2c470bc7b953e4991f0c9
2568d41bca08f5d6bf39d915434c8447e21f42ee
refs/heads/master
1,631,748,053,501
1,627,938,886,000
1,627,938,886,000
228,728,358
0
0
Apache-2.0
1,576,630,588,000
1,576,630,587,000
null
UTF-8
Lean
false
false
6,245
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 order.fixed_points import order.zorn /-! # Schröder-Bernstein theorem, well-ordering of cardinals This file proves the Schröder-Bernstein the...
5b282aec347eed833ffe8007354818a6ee56ae1a
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/tactic/find_unused.lean
3ab8c74762ed6b291e571c1bab347256f44d1458
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
4,383
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 tactic.core /-! # list_unused_decls `#list_unused_decls` is a command used for theory development. When writing a new theory one often tries multiple variations of...