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
fc193e249b1caa30e0f50179193ebbf5182c42d3
618003631150032a5676f229d13a079ac875ff77
/src/category_theory/limits/preserves.lean
e3a63a7016c4d59a56e1fff9ed632de6a24a9183
[ "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
11,866
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Reid Barton, Bhavik Mehta -/ import category_theory.limits.limits /-! # Preservation and reflection of (co)limits. There are various distinct notions of "preserving l...
a216b691520c69bd535a845d1c5bb57986507836
46125763b4dbf50619e8846a1371029346f4c3db
/src/topology/metric_space/lipschitz.lean
1c5e5eb4613af3407adb94052cb06e2d43abf145
[ "Apache-2.0" ]
permissive
thjread/mathlib
a9d97612cedc2c3101060737233df15abcdb9eb1
7cffe2520a5518bba19227a107078d83fa725ddc
refs/heads/master
1,615,637,696,376
1,583,953,063,000
1,583,953,063,000
246,680,271
0
0
Apache-2.0
1,583,960,875,000
1,583,960,875,000
null
UTF-8
Lean
false
false
11,354
lean
/- Copyright (c) 2018 Rohan Mitta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rohan Mitta, Kevin Buzzard, Alistair Tucker, Johannes Hölzl, Yury Kudryashov -/ import topology.metric_space.basic import category_theory.endomorphism category_theory.types /-! # Lipschi...
7e29c757effef862851d5dcc7ee2838a3370e17e
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/1797.lean
d2b6b269ab27ccfc39326dd59caecff640c74c72
[ "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
example (n : nat) : true := begin cases h : n with m, { guard_hyp h : n = nat.zero, admit }, { guard_hyp h : n = nat.succ m, admit} end
43f01030677252bd6f796930463b50e724dcf00a
95dcf8dea2baf2b4b0a60d438f27c35ae3dd3990
/src/analysis/normed_space/basic.lean
cbe2bfda3d4199c7e177cacdf19b8f5df653d312
[ "Apache-2.0" ]
permissive
uniformity1/mathlib
829341bad9dfa6d6be9adaacb8086a8a492e85a4
dd0e9bd8f2e5ec267f68e72336f6973311909105
refs/heads/master
1,588,592,015,670
1,554,219,842,000
1,554,219,842,000
179,110,702
0
0
Apache-2.0
1,554,220,076,000
1,554,220,076,000
null
UTF-8
Lean
false
false
21,058
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Normed spaces. Authors: Patrick Massot, Johannes Hölzl -/ import algebra.pi_instances import linear_algebra.basic import topology.instances.nnreal topology.instances.complex variables {α : Ty...
f1d1e2fbaa03d7abf2781a346dc44240097e6d53
38a6d5def645a1887e1306ceb4da06ff71452096
/_5_The_Physical_Layer/optical_fiber/entropy_of_channels.lean
dc11a2d265586dc18870d07309b73cc5eed4a6f3
[]
no_license
QTM3x/Quantum-Internet
bcc2d61e2ae7233bb2b369fedaed22a1feb6fba1
f90e09fb6c03d35043654d8b1bec1c63d6012268
refs/heads/master
1,609,224,401,937
1,599,911,583,000
1,599,911,583,000
238,495,221
45
33
null
1,603,625,079,000
1,580,919,815,000
Jupyter Notebook
UTF-8
Lean
false
false
12,108
lean
import data.real.basic import analysis.special_functions.exp_log import _5_The_Physical_Layer.optical_fiber.quantum_channel import _5_The_Physical_Layer.qubit_carriers.quantum_state import common.matrix_ops notation `|` x `|` := abs x ---- HOLEVO INFORMATION /- Definition (Holevo information of a quantum channel) "T...
54d9b6f741b5ea4059d74143e77f9400143ffa2e
ed27983dd289b3bcad416f0b1927105d6ef19db8
/src/inClassNotes/dependentTypes.lean
24224ccc215df8d9308da9a62dccf268f21ea405
[]
no_license
liuxin-James/complogic-s21
0d55b76dbe25024473d31d98b5b83655c365f811
13e03e0114626643b44015c654151fb651603486
refs/heads/master
1,681,109,264,463
1,618,848,261,000
1,618,848,261,000
337,599,491
0
0
null
1,613,141,619,000
1,612,925,555,000
null
UTF-8
Lean
false
false
6,787
lean
/- A FAMILY OF TYPES ("INDUCTIVE FAMILY") efine a family of types, *tuple n*, indexed by natural numbers. For any (n : nat), tuple n is the type of tuples (of natural numbers) of length n. -/ -- nat ⨯ nat -- ℕ ℕ ℕ -- (1,2,3) -- ℕ ⨯ (ℕ×ℕ) -- (1,(2,3)) -- (1, (2, (3, (4, 5)))) /- Build a function that takes...
f93669940e492fdca9d37a3dd885b074ed0fa4f4
b3fced0f3ff82d577384fe81653e47df68bb2fa1
/src/algebra/ring.lean
5ab2e2cdfd4a4668c82ae81e5ca9826294e5fbaa
[ "Apache-2.0" ]
permissive
ratmice/mathlib
93b251ef5df08b6fd55074650ff47fdcc41a4c75
3a948a6a4cd5968d60e15ed914b1ad2f4423af8d
refs/heads/master
1,599,240,104,318
1,572,981,183,000
1,572,981,183,000
219,830,178
0
0
Apache-2.0
1,572,980,897,000
1,572,980,896,000
null
UTF-8
Lean
false
false
24,479
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, Floris van Doorn, Amelia Livingston -/ import algebra.group import tactic.norm_cast /-! # Properties and homomorphisms of semirings and rings This f...
d321c303c4f6efa05767fdb4a29e9160982825ab
63abd62053d479eae5abf4951554e1064a4c45b4
/src/topology/path_connected.lean
0b6c9e9a7d2f7d090fe490e845a6360b7adb363d
[ "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
36,452
lean
/- Copyright (c) 2020 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot -/ import topology.instances.real /-! # Path connectedness ## Main definitions In the file the unit interval `[0, 1]` in `ℝ` is denoted by `I`, and `X` is a topologic...
f2991c6fc75678f60b2d4e42fd628a2cab46d101
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/stage0/src/Lean/Elab/Level.lean
50f64259a3e18dfcb5fbe0e78740cd1ef2739cc5
[ "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
3,294
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.LevelDefEq import Lean.Elab.Exception import Lean.Elab.Log import Lean.Elab.AutoBound namespace Lean.Elab.Level structure Context where ...
6ad2bce75dfe18c16aa350d90d1d4c8b728af937
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/1898.lean
c1c2cbc8b53727cab06a24899b37b2ffb28eaf2e
[ "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
41
lean
def X (R : Type) [H : has_zero R] := H.0
74805de75448f83be71e1cd1361a21c4c5665358
e07b1aca72e83a272dd59d24c6e0fa246034d774
/src/tutorials/07_first_negations.lean
2ff7cf1f56689df77c631ead315d0aa0d0d3cd0a
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
pedrominicz/learn
637a343bd4f8669d76819ac660a2d2d3e0958710
b79b802a9846c86c21d4b6f3e17af36e7382f0ef
refs/heads/master
1,671,746,990,402
1,670,778,113,000
1,670,778,113,000
265,735,177
1
0
null
null
null
null
UTF-8
Lean
false
false
9,599
lean
import tuto_lib import data.int.parity /- Negations, proof by contradiction and contraposition. This file introduces the logical rules and tactics related to negation: exfalso, by_contradiction, contrapose, by_cases and push_neg. There is a special statement denoted by `false` which, by definition, has no proof. So ...
98d2f6879732c135cd06204c807abf6ea30148ea
82e44445c70db0f03e30d7be725775f122d72f3e
/src/analysis/calculus/fderiv.lean
d0411a26962e48172eaae1c68ed10e75411fa709
[ "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
123,676
lean
/- Copyright (c) 2019 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Sébastien Gouëzel, Yury Kudryashov -/ import analysis.analytic.basic import analysis.asymptotics.asymptotic_equivalent import analysis.calculus.tangent_cone import analys...
0bd2e677432abba7855995121bb84cce28d66a03
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/data/dfinsupp.lean
0ece9aa7e7a8d009ad09963fe02685b3db48ae0f
[ "Apache-2.0" ]
permissive
vaibhavkarve/mathlib
a574aaf68c0a431a47fa82ce0637f0f769826bfe
17f8340912468f49bdc30acdb9a9fa02eeb0473a
refs/heads/master
1,621,263,802,637
1,585,399,588,000
1,585,399,588,000
250,833,447
0
0
Apache-2.0
1,585,410,341,000
1,585,410,341,000
null
UTF-8
Lean
false
false
32,036
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Kenny Lau Dependent functions with finite support (see `data/finsupp.lean`). -/ import data.finset data.set.finite algebra.big_operators algebra.module algebra.pi_instance...
12aa775bfc09f6c856dc59bc8f674dde139fcab9
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/logic/small.lean
6c31694f07a169a203822359932e4c05d35ef650
[ "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,026
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 data.equiv.set /-! # Small types A type is `w`-small if there exists an equivalence to some `S : Type w`. We provide a noncomputable model `shrink α : Type ...
133ca770238b900e7fd88200825934c9bbd8667b
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/init/meta/level.lean
f0459135dc611e7b2010e26c3bbe1a59848555fc
[ "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
2,563
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.meta.name init.meta.format /- Reflect a C++ level object. The VM replaces it with the C++ implementation. -/ inductive level | zero :...
a5fe75a57b07ec1ae950bba36f5f0990a7076663
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/clear_auto.lean
5d51ae409a3bf3a8c6bc9d64c0a78dc98aba28ab
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
2,457
lean
/- Copyright (c) 2020 Jannis Limperg. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jannis Limperg -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.core import Mathlib.PostPort namespace Mathlib /-! # Better `clear` tactics We def...
ce3714c8fd601b1f271acf806890e10dd72db2b3
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/geometry/euclidean/circumcenter.lean
a56354f92eb914dfaef14d0fca1a5239ca9fc2b5
[ "Apache-2.0" ]
permissive
lacker/mathlib
f2439c743c4f8eb413ec589430c82d0f73b2d539
ddf7563ac69d42cfa4a1bfe41db1fed521bd795f
refs/heads/master
1,671,948,326,773
1,601,479,268,000
1,601,479,268,000
298,686,743
0
0
Apache-2.0
1,601,070,794,000
1,601,070,794,000
null
UTF-8
Lean
false
false
38,134
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Joseph Myers. -/ import geometry.euclidean.basic import linear_algebra.affine_space.finite_dimensional import tactic.derive_fintype noncomputable theory open_locale big_operators open_lo...
d824fdef81d0b854c913201701ed7d16baf3110f
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/blast_ematch6.lean
d9bddeaee976125c89f6bf1ca208473e406c0481
[ "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
861
lean
import algebra.ring data.nat open algebra variables {A : Type} section variable [s : group A] include s set_option blast.strategy "ematch" attribute mul_one [forward] attribute mul.assoc [forward] attribute mul.left_inv [forward] attribute one_mul [forward] theorem inv_eq_of_mul_eq_one₁ {a b : A} (H :...
89d9fe6bdafd75f59dc45d7bbf1f6f1cecd288c2
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/ring_theory/valuation/basic.lean
69a1209df46a9f266d6f190e206649252978a32b
[ "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
24,540
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, Johan Commelin, Patrick Massot -/ import algebra.linear_ordered_comm_group_with_zero import algebra.group_power import ring_theory.ideal.operations import algebra.punit...
4bc5eaae6ffb24d0d7333c321b11a2a7f47a682b
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Meta/IndPredBelow.lean
3145f29d311c8189c77ad1e47bcae566fb86d2c0
[ "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
25,628
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Dany Fabian -/ import Lean.Meta.Constructions import Lean.Meta.Match.Match namespace Lean.Meta.IndPredBelow open Match register_builtin_option maxBackwardChainingDepth : Nat ...
a3ab2510970bb6a5d5fe1bfa923d5cf5a07c320c
ce89339993655da64b6ccb555c837ce6c10f9ef4
/ukikagi/top35.lean
75a1fa12525bebe8d123ad3896f1c50a712a29f0
[]
no_license
zeptometer/LearnLean
ef32dc36a22119f18d843f548d0bb42f907bff5d
bb84d5dbe521127ba134d4dbf9559b294a80b9f7
refs/heads/master
1,625,710,824,322
1,601,382,570,000
1,601,382,570,000
195,228,870
2
0
null
null
null
null
UTF-8
Lean
false
false
397
lean
definition NtoB := nat -> bool. definition NtoB_eqv (g h : NtoB) : Prop := ∀ i, g i = h i. constant f: nat -> NtoB axiom f_surjective: ∀ g : NtoB, ∃ n, NtoB_eqv (f n) g example: false := begin let g := λ n: nat, bnot (f n n), cases f_surjective (λ n: nat, bnot (f n n)) with n, have hn: f n n = g n, from...
5ffb30897b7160a7ae26bc8a78cd701b718b58ac
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/padics/ring_homs.lean
80f7f23389977ed99175e37ac25c7c3073e420bf
[ "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
24,698
lean
/- Copyright (c) 2020 Johan Commelin and Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin and Robert Y. Lewis -/ import data.padics.padic_integers /-! # Relating `ℤ_[p]` to `zmod (p ^ n)` In this file we establish connections between t...
51e7efa98a4a1ac386084b56b51299cd34a52aca
367134ba5a65885e863bdc4507601606690974c1
/src/algebra/associated.lean
61da2f393e4a587d8591bd81ecc9c82f31a8e059
[ "Apache-2.0" ]
permissive
kodyvajjha/mathlib
9bead00e90f68269a313f45f5561766cfd8d5cad
b98af5dd79e13a38d84438b850a2e8858ec21284
refs/heads/master
1,624,350,366,310
1,615,563,062,000
1,615,563,062,000
162,666,963
0
0
Apache-2.0
1,545,367,651,000
1,545,367,651,000
null
UTF-8
Lean
false
false
28,686
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, Jens Wagemaker -/ import data.multiset.basic import algebra.divisibility /-! # Associated, prime, and irreducible elements. -/ variables {α : Type*} {β : Type*} {γ : ...
0c45b68fd879069c688fe89e7f3cb57610c29018
9dc8cecdf3c4634764a18254e94d43da07142918
/src/linear_algebra/free_module/finite/rank.lean
40638dfa67547cc67757f4d9d3b4d59c076257b0
[ "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,974
lean
/- Copyright (c) 2021 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Riccardo Brasca -/ import linear_algebra.free_module.rank import linear_algebra.free_module.finite.basic /-! # Rank of finite free modules This is a basic API for the rank of fini...
e8efb828ec23dee3193ffb7ae6faa9e2fef74f9f
1e3a43e8ba59c6fe1c66775b6e833e721eaf1675
/src/data/padics/padic_numbers.lean
3b1222f0292a7367aa552dc02cbb1d243dd43ef9
[ "Apache-2.0" ]
permissive
Sterrs/mathlib
ea6910847b8dfd18500486de9ab0ee35704a3f52
d9327e433804004aa1dc65091bbe0de1e5a08c5e
refs/heads/master
1,650,769,884,257
1,587,808,694,000
1,587,808,694,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
32,489
lean
/- Copyright (c) 2018 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Robert Y. Lewis -/ import data.padics.padic_norm import analysis.normed_space.basic /-! # p-adic numbers This file defines the p-adic numbers (rationals) ℚ_p as the completion of ℚ...
998b3fc2441678c192109a1ec4ecb5320252115c
6dc0c8ce7a76229dd81e73ed4474f15f88a9e294
/stage0/src/Lean/Meta/Match/CaseArraySizes.lean
370e6a51d7e1de590992068735fe432020371eb0
[ "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
3,826
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.Tactic.Assert import Lean.Meta.Match.CaseValues namespace Lean.Meta structure CaseArraySizesSubgoal where mvarId : MVarId elems : Ar...
385f049d619a6979a6d60b83f868ac483725e979
4e0d7c3132ce31edc5829849735dd25db406b144
/lean/love07_metaprogramming_demo.lean
36542ba8e6f88423d5daf3576339114548ac70d1
[]
no_license
gonzalgu/logical_verification_2020
a0013a6c22ea254e9f4d245f2948f0f4d44df4bb
724d0457dff2c3ff10f9ab2170388f4c5e958b75
refs/heads/master
1,660,886,374,533
1,589,859,641,000
1,589,859,641,000
256,069,971
0
0
null
1,586,997,430,000
1,586,997,429,000
null
UTF-8
Lean
false
false
14,243
lean
import .love05_inductive_predicates_demo /-! # LoVe Demo 7: Metaprogramming Users can extend Lean with custom monadic tactics and tools. This kind of programming—programming the prover—is called metaprogramming. Lean's metaprogramming framework uses mostly the same notions and syntax as Lean's input language itself...
e8e7d416ed147091082a2fc1d7360f02faeb652e
94e33a31faa76775069b071adea97e86e218a8ee
/src/analysis/inner_product_space/pi_L2.lean
13bab813b7523af6f4e60fab6fcc75df4ba87732
[ "Apache-2.0" ]
permissive
urkud/mathlib
eab80095e1b9f1513bfb7f25b4fa82fa4fd02989
6379d39e6b5b279df9715f8011369a301b634e41
refs/heads/master
1,658,425,342,662
1,658,078,703,000
1,658,078,703,000
186,910,338
0
0
Apache-2.0
1,568,512,083,000
1,557,958,709,000
Lean
UTF-8
Lean
false
false
22,783
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers, Sébastien Gouëzel, Heather Macbeth -/ import analysis.inner_product_space.projection import analysis.normed_space.pi_Lp /-! # `L²` inner product space structure on finite ...
b8e87f98d897cdbb468791f823e80224b2f82c08
5749d8999a76f3a8fddceca1f6941981e33aaa96
/src/order/filter/bases.lean
884fc6d8a4b507da509aff50d74d5d7554386698
[ "Apache-2.0" ]
permissive
jdsalchow/mathlib
13ab43ef0d0515a17e550b16d09bd14b76125276
497e692b946d93906900bb33a51fd243e7649406
refs/heads/master
1,585,819,143,348
1,580,072,892,000
1,580,072,892,000
154,287,128
0
0
Apache-2.0
1,540,281,610,000
1,540,281,609,000
null
UTF-8
Lean
false
false
8,660
lean
/- Copyright (c) 2020 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Yury Kudryashov -/ import order.filter.basic /-! # Filter bases In this file we define `filter.has_basis l p s`, where `l` is a filter on `α`, `p` is a predicate on some index set `...
1281276a01915b60027b5e17938d7f2b31076004
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/data/multiset/basic.lean
aa0e5ab1edeb95e5253f7b7db585670e8dc2d14b
[ "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
98,219
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.list.perm import algebra.group_power /-! # Multisets These are implemented as the quotient of a list by permutations. ## Notation We define the gl...
059f844ef9e16a0cbf4c6087f30bd65c0e8088ca
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/ring_theory/algebra_operations.lean
da20984a3eda8a7f88ff9999721251035ff2eb04
[ "Apache-2.0" ]
permissive
vaibhavkarve/mathlib
a574aaf68c0a431a47fa82ce0637f0f769826bfe
17f8340912468f49bdc30acdb9a9fa02eeb0473a
refs/heads/master
1,621,263,802,637
1,585,399,588,000
1,585,399,588,000
250,833,447
0
0
Apache-2.0
1,585,410,341,000
1,585,410,341,000
null
UTF-8
Lean
false
false
9,134
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau Multiplication and division of submodules of an algebra. -/ import ring_theory.algebra algebra.pointwise import tactic.chain import tactic.monotonicity.basic universes u v ope...
fc320dac76ec7af9044f0e6b0acbbf63b38b4cec
b66669ef1ec06ddbd9526fe3afe0a68566dfbad3
/src/grid.lean
ed1a50785afcbd375afaf9762bb1700328c1dc6b
[ "MIT" ]
permissive
FerdoSil/LatticesAndCellularAutomata
40185a9099bb3cf1371c85f1ca33a17c2e26fecb
2a69d2e74a231addf0e446dca86ef90d50d60218
refs/heads/master
1,587,683,992,072
1,586,018,471,000
1,586,018,471,000
171,533,028
0
0
null
null
null
null
UTF-8
Lean
false
false
58,713
lean
-- A formalization of two-dimensional orthogonal geometric lattices, simply called 'grid's. -- The class 'relative_grid' is an abstract interpretation thereof with relative (0, 0)-based indexing. -- The class 'grid' is a generalization of 'relative_grid' to arbitrary (x, y)-relative grids. -- Three concrete instances...
1415e8c904794bb0a17db4f9bdfc6f9878fa6f6b
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/continued_fractions/computation/terminates_iff_rat.lean
7f9548334e889f74e4f3bd334faae3c6183be151
[]
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,135
lean
/- Copyright (c) 2020 Kevin Kappelmann. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Kappelmann -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.algebra.continued_fractions.computation.approximations import Mathlib.algebra.continued...
1033ed37728306b94824e70295c4ef053a77cb9a
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/set/basic.lean
d53a33ccba7abd1e5412cae259970b48206d7b8e
[ "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
108,825
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...
8b8258f796e5fd5a22b7005fe8780dfffc301b85
41ebf3cb010344adfa84907b3304db00e02db0a6
/uexp/src/uexp/rules/transitiveInferenceJoin3way.lean
a9deb0445c96c1381824d5784430d7640478c51c
[ "BSD-2-Clause" ]
permissive
ReinierKoops/Cosette
e061b2ba58b26f4eddf4cd052dcf7abd16dfe8fb
eb8dadd06ee05fe7b6b99de431dd7c4faef5cb29
refs/heads/master
1,686,483,953,198
1,624,293,498,000
1,624,293,498,000
378,997,885
0
0
BSD-2-Clause
1,624,293,485,000
1,624,293,484,000
null
UTF-8
Lean
false
false
2,660
lean
import ..sql import ..tactics import ..u_semiring import ..extra_constants import ..meta.ucongr import ..meta.TDP open Expr open Proj open Pred open SQL open tree set_option profiler true notation `int` := datatypes.int variable integer_1: const datatypes.int variable integer_7: const datatypes.int theorem rule: ...
d122640071e584aed9174a470bc48870fc66e056
9ee042bf34eebe0464f0f80c0db14ceb048dab10
/stage0/src/Lean/Parser/Command.lean
c756db4624c7c5b9901897975423fda1a7846f50
[ "Apache-2.0" ]
permissive
dexmagic/lean4
7507e7b07dc9f49db45df5ebd011886367dc2a6c
48764b60d5bac337eaff4bf8a3d63a216e1d9e03
refs/heads/master
1,692,156,265,016
1,633,276,980,000
1,633,339,480,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,111
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ import Lean.Parser.Term import Lean.Parser.Do namespace Lean namespace Parser /-- Syntax quotation for terms and (lists of) commands....
8ab8eb6ad287c869300b87d134d1a607ad0d1ae6
ed9ca7f44f366ca3a04272f939b2275961f36c59
/src/for_mathlib/open_subgroup.lean
148fbf87a689bdfff99c24808c08f63c2b377d71
[ "Apache-2.0" ]
permissive
wh941231/lean-perfectoid-spaces
e88fb5d76746009242349f276cd0920285d8beb9
43954f64ce4afdf4fa39e2aeef8ec43826b24f2a
refs/heads/master
1,653,641,928,775
1,588,499,720,000
1,588,499,720,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
701
lean
import topology.algebra.open_subgroup open topological_space variables (G : Type*) [group G] [topological_space G] [topological_group G] namespace open_subgroup def of_mem_nhds {s : set G} [is_subgroup s] (h : s ∈ nhds (1 : G)) : open_subgroup G := ⟨s, is_open_of_nonempty_open_subset (by { rcases mem_nhds_sets_iff....
bc086d72f3239d6ed08d515c75c3f26daf0f6c03
2bafba05c98c1107866b39609d15e849a4ca2bb8
/src/week_5/solutions/Part_A_filters.lean
e4a3f3cec9bb7ecd4d11bd0c009069690b14a74d
[ "Apache-2.0" ]
permissive
ImperialCollegeLondon/formalising-mathematics
b54c83c94b5c315024ff09997fcd6b303892a749
7cf1d51c27e2038d2804561d63c74711924044a1
refs/heads/master
1,651,267,046,302
1,638,888,459,000
1,638,888,459,000
331,592,375
284
24
Apache-2.0
1,669,593,705,000
1,611,224,849,000
Lean
UTF-8
Lean
false
false
15,152
lean
import order.filter.basic -- the basics /- # Filters ## Introduction A topological space structure on a type `α` is a collection of subsets of `α` (the open sets) satisfying some axioms. A filter is a similar kind of thing -- it's a collection of subsets of `α` satisfying some different axioms. Before we go into th...
b035465ca59f2f0034ddd881d7bb65d573022852
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/data/int/range.lean
2f9f48ee2b88cd9972e760f53723c7f671d47521
[ "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
1,794
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Kenny Lau -/ import data.int.basic import data.list.range namespace int local attribute [semireducible] int.nonneg /-- List enumerating `[m, n)`. -/ def range (m n : ℤ) :...
7426c91a1b84d956b290fd9d6600595b777b039b
bb31430994044506fa42fd667e2d556327e18dfe
/src/measure_theory/constructions/prod.lean
2f7ef21f9d5b7e5cc98abfd9957702c042e0b599
[ "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
55,726
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.measure.giry_monad import dynamics.ergodic.measure_preserving import measure_theory.integral.set_integral import measure_theory.measure.open...
81df0cea19f53719391309ba77214a8cc09d329e
491068d2ad28831e7dade8d6dff871c3e49d9431
/tests/lean/run/constr_tac.lean
6d5b4b298269e688189a04766e016ca0e298b4d3
[ "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
848
lean
import data.list example (a b c : Prop) : a → b → c → a ∧ b ∧ c := begin intro Ha Hb Hc, split, assumption, split, repeat assumption end example (a b c : Type) : a → b → c → a × b × c := begin intro Ha Hb Hc, repeat (split | assumption) end example (a b : Type) : a → sum a b := begin intro Ha, left...
50960bf708f421ce492a6cb88e1021c8642674c4
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/init/meta/mk_dec_eq_instance.lean
572e6e50858fe6ce2b29306fd06c81b3e440cae2
[ "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
4,552
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura Helper tactic for showing that a type has decidable equality. -/ prelude import init.meta.contradiction_tactic init.meta.constructor_tactic import init.meta.i...
9190dda45b25c973c2d23b474de683dfa2413bca
38bf3fd2bb651ab70511408fcf70e2029e2ba310
/src/topology/algebra/infinite_sum.lean
0d03b0c91963f81b10bdf4050406ddbea08c6927
[ "Apache-2.0" ]
permissive
JaredCorduan/mathlib
130392594844f15dad65a9308c242551bae6cd2e
d5de80376088954d592a59326c14404f538050a1
refs/heads/master
1,595,862,206,333
1,570,816,457,000
1,570,816,457,000
209,134,499
0
0
Apache-2.0
1,568,746,811,000
1,568,746,811,000
null
UTF-8
Lean
false
false
25,726
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl Infinite sum over a topological monoid This sum is known as unconditionally convergent, as it sums to the same value under all possible permutations. For Euclidean spa...
a8597d771fcbee6cac943fc89915d562b7a0f1b5
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/logic/embedding.lean
79b063ca89d64bdaa6bb52e567a49538941d4e31
[]
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
10,474
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.equiv.basic import Mathlib.data.sigma.basic import Mathlib.algebra.gro...
0e422b18d59e6718eef77499659036f5851344f2
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/meta/hole_command.lean
5759a33937ca1cfef65788182aa88a6c6a1f83f1
[]
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
940
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.meta.tactic namespace Mathlib /-- The front-end (e.g., Emacs, VS Code) can invoke commands for holes...
54e9cc8b8d55cd9bb694a32d5bc2516474a1d00c
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/library/init/category/applicative.lean
4bf778dd529be796e50732c1314454b37c2b0845
[ "Apache-2.0" ]
permissive
bre7k30/lean
de893411bcfa7b3c5572e61b9e1c52951b310aa4
5a924699d076dab1bd5af23a8f910b433e598d7a
refs/heads/master
1,610,900,145,817
1,488,006,845,000
1,488,006,845,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
967
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.category.functor import init.function open function universes u v class applicative (f : Type u → Type v) extends functor f : Type (max ...
c0fc507276b6ebf5472828c1ecf1310f39fdf709
d0f9af2b0ace5ce352570d61b09019c8ef4a3b96
/hw8/lecture notes/propositional_logic_syntax_and_semantics.lean
809a36a793fb0db83276c169cf887a946f7d907b
[]
no_license
jngo13/Discrete-Mathematics
8671540ef2da7c75915d32332dd20c02f001474e
bf674a866e61f60e6e6d128df85fa73819091787
refs/heads/master
1,675,615,657,924
1,609,142,011,000
1,609,142,011,000
267,190,341
0
0
null
null
null
null
UTF-8
Lean
false
false
1,108
lean
-- justin inductive var : Type | mk : ℕ → var -- SYNTAX inductive pExp : Type | pTrue : pExp | pFalse : pExp | pVar : var → pExp | pNot : pExp → pExp | pAnd : pExp → pExp → pExp | pOr : pExp → pExp → pExp | pImp : pExp → pExp → pExp | pIff : pExp → pExp → pExp | pXor : pExp → pExp → pExp -- Utility function def bimp...
81e733b0dc86669a3a9895535e65c58bc99b7fad
8e2026ac8a0660b5a490dfb895599fb445bb77a0
/library/init/meta/format.lean
9b302ea30c16a6a54c8ffaf5bc43a9d78d8034eb
[ "Apache-2.0" ]
permissive
pcmoritz/lean
6a8575115a724af933678d829b4f791a0cb55beb
35eba0107e4cc8a52778259bb5392300267bfc29
refs/heads/master
1,607,896,326,092
1,490,752,175,000
1,490,752,175,000
86,612,290
0
0
null
1,490,809,641,000
1,490,809,641,000
null
UTF-8
Lean
false
false
4,590
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.meta.options init.function universes u v inductive format.color | red | green | orange | blue | pink | cyan | grey meta constant form...
d4cf44cf0c7a731a5c884e0f15386d0f0580a79e
5412d79aa1dc0b521605c38bef9f0d4557b5a29d
/src/Lean/Elab/DeclModifiers.lean
c4cd1761c35914681c0dcba1fde1b6f2003a0532
[ "Apache-2.0" ]
permissive
smunix/lean4
a450ec0927dc1c74816a1bf2818bf8600c9fc9bf
3407202436c141e3243eafbecb4b8720599b970a
refs/heads/master
1,676,334,875,188
1,610,128,510,000
1,610,128,521,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,571
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ import Lean.Modifiers import Lean.Elab.Attributes import Lean.Elab.Exception import Lean.Elab.DeclUtil namespace Lean.Elab def checkNot...
3efded7041e00fd48124f97e5d72b162cd37ad7c
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/set_theory/surreal.lean
03ec0b90641e9351010b8a6b066d225e54939a3b
[ "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
12,920
lean
/- Copyright (c) 2019 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Scott Morrison -/ import set_theory.game /-! # Surreal numbers The basic theory of surreal numbers, built on top of the theory of combinatorial (pre-)games. A pregam...
96c575b27283e1678cbb757c1ab3f8f7fb2e4cbc
ebf7140a9ea507409ff4c994124fa36e79b4ae35
/src/exercises_sources/thursday/order.lean
f7c61aa6ad90b22bcdc8f27b3eef1a890e2454c0
[]
no_license
fundou/lftcm2020
3e88d58a92755ea5dd49f19c36239c35286ecf5e
99d11bf3bcd71ffeaef0250caa08ecc46e69b55b
refs/heads/master
1,685,610,799,304
1,624,070,416,000
1,624,070,416,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
17,312
lean
/- # Orders Groups, rings, fields, modules etc are in the "algebra hierarchy". Metric and topological spaces are in the "topology hierarchy". The other important hierarchy is the "order hierarchy". It starts with partially ordered sets, and then goes on to lattices. Because I like algebra, let's demonstrate the or...
d90696ee8e7a5249cb7c63fed466c5422df18e00
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/data/nat/choose/sum.lean
3192a4d80a438483a8d5603ceaf39d6937dac397
[ "Apache-2.0" ]
permissive
ilitzroth/mathlib
ea647e67f1fdfd19a0f7bdc5504e8acec6180011
5254ef14e3465f6504306132fe3ba9cec9ffff16
refs/heads/master
1,680,086,661,182
1,617,715,647,000
1,617,715,647,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,980
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Patrick Stevens -/ import data.nat.choose.basic import tactic.linarith import algebra.big_operators.ring import algebra.big_operators.intervals import algebra.big_operators...
ad75c1277a6f788621e31d88124cbc66a3fc7719
e030b0259b777fedcdf73dd966f3f1556d392178
/tests/lean/run/cases_tac1.lean
e0d4835335c362a7ea2db1735c50aa4cd190537b
[ "Apache-2.0" ]
permissive
fgdorais/lean
17b46a095b70b21fa0790ce74876658dc5faca06
c3b7c54d7cca7aaa25328f0a5660b6b75fe26055
refs/heads/master
1,611,523,590,686
1,484,412,902,000
1,484,412,902,000
38,489,734
0
0
null
1,435,923,380,000
1,435,923,379,000
null
UTF-8
Lean
false
false
1,057
lean
inductive vec (A : Type*) : nat → Type* | nil : vec 0 | cons : ∀ {n}, A → vec n → vec (n+1) open tactic nat vec definition head {A : Type*} : ∀ {n : nat}, vec A (n+1) → A | n (cons h t) := h definition tail {A : Type*} : ∀ {n : nat}, vec A (n+1) → vec A n | n (cons h t) := t @[simp] definition head_cons {A : Type*...
1dbc25fa119b376daf4062e28fde45ccdf4c6b36
130c49f47783503e462c16b2eff31933442be6ff
/stage0/src/Lean/Server/Utils.lean
afc2036b845598150e5642bf44b1a0bba5b72c2e
[ "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,527
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.Data.Position import Lean.Data.Lsp import Lean.Server.InfoUtils import Init.System.FilePath namespace IO def throwServerError (err...
bb6f57fd284efc6f81063788e79f1fcf99d36f55
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/order/well_founded.lean
4ee42fa17d93440e380a9acbc434b29d52cb8e5c
[ "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
10,598
lean
/- Copyright (c) 2020 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Mario Carneiro -/ import tactic.by_contra import data.set.basic /-! # Well-founded relations A relation is well-founded if it can be used for induction: for each `x`, `...
73e0d81891e2e2ee87ed566bdee7760f2fcfd056
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/algebra/euclidean_domain.lean
8ae195e400830d95aacb7d7638143dc2735ec4a3
[ "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
15,018
lean
/- Copyright (c) 2018 Louis Carlin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Louis Carlin, Mario Carneiro Euclidean domains and Euclidean algorithm (extended to come) A lot is based on pre-existing code in mathlib for natural number gcds -/ import data.int.basic...
d4690951baa9929ea580055f22e178d808a61ce1
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/tactic/norm_cast.lean
af9709c58d3f5e5d37941d51c359c1b111efdcbc
[ "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
26,430
lean
/- Copyright (c) 2019 Paul-Nicolas Madelaine. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul-Nicolas Madelaine, Robert Y. Lewis Normalizing casts inside expressions. -/ import tactic.converter.interactive import tactic.hint /-! # A tactic for normalizing casts i...
bbeaca58d0f1570d116595752a4e3708986564e3
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/data/polynomial/degree/definitions.lean
e90f102c640a2b0bbd1ca84a99c2b75545b06113
[ "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
36,585
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.coeff import data.nat.with_bot /-! # Theory of univariate polynomials The definitions include `de...
a7d950b3428d42827efaeb5e7638691256a78e33
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Lean/Compiler/IR/ExpandResetReuse.lean
14ded60811ed49caa3da1e9dc43b8d037e822052
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
cipher1024/lean4
6e1f98bb58e7a92b28f5364eb38a14c8d0aae393
69114d3b50806264ef35b57394391c3e738a9822
refs/heads/master
1,642,227,983,603
1,642,011,696,000
1,642,011,696,000
228,607,691
0
0
Apache-2.0
1,576,584,269,000
1,576,584,268,000
null
UTF-8
Lean
false
false
10,026
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Compiler.IR.CompilerM import Lean.Compiler.IR.NormIds import Lean.Compiler.IR.FreeVars namespace Lean.IR.ExpandResetReuse /- Mapping from varia...
0237a4c0c68a3dad95fa90dc83df7f2ce2189ec0
a45212b1526d532e6e83c44ddca6a05795113ddc
/test/push_neg.lean
10cea2b4e58dba73fd6f723aa6140f99db29ec3e
[ "Apache-2.0" ]
permissive
fpvandoorn/mathlib
b21ab4068db079cbb8590b58fda9cc4bc1f35df4
b3433a51ea8bc07c4159c1073838fc0ee9b8f227
refs/heads/master
1,624,791,089,608
1,556,715,231,000
1,556,715,231,000
165,722,980
5
0
Apache-2.0
1,552,657,455,000
1,547,494,646,000
Lean
UTF-8
Lean
false
false
1,026
lean
import tactic.push_neg example (h : ∃ p: ℕ, ¬ ∀ n : ℕ, n > p) (h' : ∃ p: ℕ, ¬ ∃ n : ℕ, n < p) : ¬ ∀ n : ℕ, n = 0 := begin push_neg at *, guard_target_strict ∃ (n : ℕ), n ≠ 0, guard_hyp_strict h := ∃ (p n : ℕ), n ≤ p, guard_hyp_strict h' := ∃ (p : ℕ), ∀ (n : ℕ), p ≤ n, use 1, end -- In the next example, ℤ sh...
17573500268da0c563a6bbe6fb7c60fc0d30db1d
0c1546a496eccfb56620165cad015f88d56190c5
/tests/lean/run/smt_ematch2.lean
a0585d92b454945b7ea26a8ddc397a297a2da5d4
[ "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
2,728
lean
universe variables u namespace foo variables {α : Type u} open smt_tactic meta def no_ac : smt_config := { cc_cfg := { ac := ff }} meta def blast : tactic unit := using_smt_core no_ac $ intros >> repeat (ematch >> try close) section add_comm_monoid variables [add_comm_monoid α] attribute [ematch] add_comm add_assoc ...
bff7f1d1a0a7a2605ce1f1de206058d19471de96
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/deprecated/subgroup_auto.lean
148611d14b95a59c1e61b201a9da1326e20381a9
[]
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
25,200
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, Mitchell Rowett, Scott Morrison, Johan Commelin, Mario Carneiro, Michael Howes -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.group_the...
91dfc645e15d792033da0b4fad9551da7b4b3ddf
2fb7334a212c3858db44039b5fa6cd57fd5d1443
/src/extremally_disconnected.lean
05890c2168d8d86c1e0d71ed6acaa81aaadb11b4
[]
no_license
ImperialCollegeLondon/condensed-sets
24514be041533b07fd62d337b1d6a5ce2b09c78c
e308291646396003dbed3896e5fbb40cb57c7050
refs/heads/master
1,628,397,992,041
1,601,549,576,000
1,601,549,576,000
224,198,323
3
1
null
1,601,549,578,000
1,574,774,780,000
Lean
UTF-8
Lean
false
false
4,985
lean
import topology.compact_open import topology.stone_cech /-! # Extremally disconnected spaces An extremally disconnected topological space is a space in which the closure of every open set is open. Such spaces are also called Stonean spaces. The are the projective objects in the category of compact Hausdorff spaces; a...
8fe70114d200ceadd3d58db856d2b733c9a5b9c6
82e44445c70db0f03e30d7be725775f122d72f3e
/src/measure_theory/l1_space.lean
84461638ffcc7bea387dfbe5a0e9ae2b7b3552f2
[ "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
37,426
lean
/- Copyright (c) 2019 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou -/ import measure_theory.lp_space /-! # Integrable functions and `L¹` space In the first part of this file, the predicate `integrable` is defined and basic properties o...
100fd940d27697c0bcf4fefb5e53905c56534fde
c777c32c8e484e195053731103c5e52af26a25d1
/src/analysis/matrix.lean
aef241badd38074b9569a7e146ada32485a858d5
[ "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
20,653
lean
/- Copyright (c) 2021 Heather Macbeth. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Heather Macbeth, Eric Wieser -/ import analysis.normed_space.basic import analysis.normed_space.pi_Lp import analysis.inner_product_space.pi_L2 /-! # Matrices as a normed space In t...
8b550c0f6525c6049128360615b9ba88e669e2d7
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/compiler/phashmap.lean
79dd439b31334784a5ea3912b49e6b94afc9b559
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
2,063
lean
import Lean.Data.PersistentHashMap import Lean.Data.Format open Lean Std Lean.PersistentHashMap abbrev Map := PersistentHashMap Nat Nat partial def formatMap : Node Nat Nat → Format | Node.collision keys vals _ => Format.sbracket $ keys.size.fold (fun i fmt => let k := keys.get! i; let v := vals....
158341f80f121cf360001f986272db6472062a01
4a092885406df4e441e9bb9065d9405dacb94cd8
/src/for_mathlib/uniform_space/basic.lean
318257b0266eabd5b2ff8d3ecb383ed4250acba7
[ "Apache-2.0" ]
permissive
semorrison/lean-perfectoid-spaces
78c1572cedbfae9c3e460d8aaf91de38616904d8
bb4311dff45791170bcb1b6a983e2591bee88a19
refs/heads/master
1,588,841,765,494
1,554,805,620,000
1,554,805,620,000
180,353,546
0
1
null
1,554,809,880,000
1,554,809,880,000
null
UTF-8
Lean
false
false
943
lean
import topology.uniform_space.basic import for_mathlib.function section open uniform_space variables {α : Type*} {β : Type*} {γ : Type*} {δ : Type*} variables [uniform_space α] [uniform_space β] [uniform_space γ] [uniform_space δ] def uniform_continuous₂ (f : α → β → γ) := uniform_continuous (function.uncurry f) l...
650e2cf6923bc9a83a3f2e8c939234d4f04a9878
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/sheaves/sheaf_condition/unique_gluing.lean
e9647e2a86406b9f6fa14c6e0e5aa750ae823817
[ "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
11,618
lean
/- Copyright (c) 2021 Justus Springer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Justus Springer -/ import topology.sheaves.forget import category_theory.limits.shapes.types import topology.sheaves.sheaf import category_theory.types /-! # The sheaf condition in t...
1ab727114a5fdccd2c037cafecca2f0c56ae1f6d
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/list/forall2.lean
9ae445e3262c22fb580278e3c0e988dbd444c155
[]
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,641
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Johannes Hölzl -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.list.basic import Mathlib.PostPort universes u v w z namespace Math...
43c9026a9f9c29327974316634636933617ac128
1a61aba1b67cddccce19532a9596efe44be4285f
/hott/init/types.hlean
c173c527195ed8f09466038647bd2834a878e1a4
[ "Apache-2.0" ]
permissive
eigengrau/lean
07986a0f2548688c13ba36231f6cdbee82abf4c6
f8a773be1112015e2d232661ce616d23f12874d0
refs/heads/master
1,610,939,198,566
1,441,352,386,000
1,441,352,494,000
41,903,576
0
0
null
1,441,352,210,000
1,441,352,210,000
null
UTF-8
Lean
false
false
9,077
hlean
/- Copyright (c) 2014-2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad, Floris van Doorn, Jakob von Raumer -/ prelude import .num .wf -- Empty type -- ---------- namespace empty protected theorem elim {A ...
a599cfc18d64ce4c7097cc1fb7538e0ad7d2cf2e
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/order/category/BoolAlg.lean
6aaaa3a2fab5ffb3d6ed4e46cfc980d1113f0777
[ "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,815
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 order.category.HeytAlg /-! # The category of boolean algebras This defines `BoolAlg`, the category of boolean algebras. -/ open order_dual opposite set univers...
0582cd413887c5b42a1a4a035440dc4a258dd140
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Init/Classical.lean
4d1a2772fda154fec1d3def1af54039b4eb2f29a
[ "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
5,577
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 noncomputable def indefiniteDes...
7246d7f57bf551c6cdb022f7d168b54a241e4438
9028d228ac200bbefe3a711342514dd4e4458bff
/src/ring_theory/unique_factorization_domain.lean
720ad682037cbb8643ad2709b89d162409582da3
[ "Apache-2.0" ]
permissive
mcncm/mathlib
8d25099344d9d2bee62822cb9ed43aa3e09fa05e
fde3d78cadeec5ef827b16ae55664ef115e66f57
refs/heads/master
1,672,743,316,277
1,602,618,514,000
1,602,618,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
46,952
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, Jens Wagemaker, Aaron Anderson -/ import algebra.gcd_monoid import ring_theory.integral_domain import ring_theory.noetherian /-- # Unique factorization ## Main Defi...
b511288b08c6a6e6747ce5ff897bf22f9204b7d0
037dba89703a79cd4a4aec5e959818147f97635d
/src/2020/functions/surjective_comp.lean
63a28d68e0cc56780227c673ca98b6e214696861
[]
no_license
ImperialCollegeLondon/M40001_lean
3a6a09298da395ab51bc220a535035d45bbe919b
62a76fa92654c855af2b2fc2bef8e60acd16ccec
refs/heads/master
1,666,750,403,259
1,665,771,117,000
1,665,771,117,000
209,141,835
115
12
null
1,640,270,596,000
1,568,749,174,000
Lean
UTF-8
Lean
false
false
644
lean
import tactic open function variables (X Y Z : Type) (f : X → Y) (g : Y → Z) example : (surjective f) ∧ (surjective g) → surjective (g ∘ f) := begin -- Say f and g are surjective. rintros ⟨hf, hg⟩, -- Choose z in Z. intro z, -- Our job is to find x in X such that g(f(x))=z. -- Well g is...
3e20d6b7b218b42e5bfa4cac68055f9fab58a48f
a76f677b87d42a9470ba3a0a78cfddd3063118e6
/src/congruence/ang_lt.lean
b7b1e63ddb416df12a3668155ec23dddf5ad6521
[]
no_license
Ja1941/hilberts-axioms
50219c732ad5fa167408432e8c8baae259777a40
5b653a92e448b77da41c9893066b641bc4e6b316
refs/heads/master
1,693,238,884,856
1,635,702,120,000
1,635,702,120,000
385,546,384
9
1
null
null
null
null
UTF-8
Lean
false
false
9,464
lean
/- Copyright (c) 2021 Tianchen Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tianchen Zhao -/ import congruence.basic /-! # Angle orderness This file defines how an angle is less than another and proves basic properties such as transitivity and trichotomy. ##...
9a5301d3d9afa46c11519b24fbee3d4f45b29ae5
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/tactic/simp_result.lean
7a96e627796e4587435b3b2a566e32fbd5c57766
[]
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,375
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner, Scott Morrison -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.tactic.core import Mathlib.PostPort namespace Mathlib /-! # simp_result `...
07a767d6f687f12b3f3bbdee429be00a9beca67a
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/finsupp/antidiagonal.lean
388c8dcdfb7870c435bb79654850e1b31129bd53
[ "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
3,633
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Yury Kudryashov -/ import data.finsupp.multiset import data.multiset.antidiagonal /-! # The `finsupp` counterpart of `multiset.antidiagonal`. > THIS FILE IS SYNCHRONI...
189a57d4e58456335b061b80609b890ef1b86357
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/probability/moments.lean
46efcf3c96c5f66e64ca09ed946d52ab54e64292
[ "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
13,957
lean
/- Copyright (c) 2022 Rémy Degenne. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Rémy Degenne -/ import probability.variance /-! # Moments and moment generating function ## Main definitions * `probability_theory.moment X p μ`: `p`th moment of a real random variab...
fbc5cbe9f3cb40028dd065f9b1196265497ec7aa
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/algebra/restrict_scalars.lean
5c3c9856ddb103f7def073568f2ccd9a63cb2e49
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
8,481
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.tower /-! # The `restrict_scalars` type alias See the documentation attached to the `restrict_scalars` definition for advice on how a...
2f4b9cb2a708f275084d7a4d8808c1c0a57658dd
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/limits/preserves/shapes/zero.lean
407b1444f4f9f8a38c7dca9fcd275e80c26fd216
[ "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,045
lean
/- Copyright (c) 2022 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel -/ import category_theory.limits.preserves.shapes.terminal import category_theory.limits.shapes.zero_morphisms /-! # Preservation of zero objects and zero morphisms We d...
96e980de2e05148b26bdb017778a09df33b35748
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/category_theory/limits/shapes/constructions/equalizers.lean
92718a285c228c0703422a3eb694d1449e01d1fd
[ "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
2,734
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta -/ import category_theory.limits.shapes.equalizers import category_theory.limits.shapes.binary_products import category_theory.limits.shapes.pullbacks /-! # Constructing e...
19599ed273ffe6ae281f389464945200019d2c94
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/model_theory/syntax.lean
288d455200966bac5d01c3a3f907ae7e31160c54
[ "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
39,690
lean
/- Copyright (c) 2021 Aaron Anderson, Jesse Michael Han, Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson, Jesse Michael Han, Floris van Doorn -/ import data.list.prod_sigma import data.set.prod import logic.equiv.fin import model_theory....
d16ce68154830ef557814d669d7216ffafcbd114
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/algebra/opposites.lean
c2e0735751a79b7e555d816df9e5ad2aa98489f7
[ "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
13,933
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import data.opposite import algebra.field import algebra.group.commute import group_theory.group_action.defs import data.equiv.mul_add /-! # Algebraic operations on `αᵒᵖ` Thi...
4cc7fc75af4b86d58c61f2423ea3c5a712108385
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/library/init/datatypes.lean
557a146ace124405cff0f0988f640d94658bc239
[ "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
14,651
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura Basic datatypes -/ prelude notation `Prop` := Type 0 notation `Type₂` := Type 2 notation `Type₃` := Type 3 universe variables u v inductive poly_unit : Ty...
7a8fa6d8892b77fd362d49140dd296e40ab9a9ed
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/by_exact.lean
7e111ec945974842ddbc0435aa87ca028c1559d9
[ "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
144
lean
import data.nat open nat example (a b c : nat) (h₁ : a + 0 = b) (h₂ : b = c) : a = c := by esimp at h₁; rewrite h₂ at h₁; exact h₁
6f9252392d71bc12d5da9619235b0c8f066ef856
626e312b5c1cb2d88fca108f5933076012633192
/src/data/nat/enat.lean
eae8aaec54c092b5f16fa427382e154817f87469
[ "Apache-2.0" ]
permissive
Bioye97/mathlib
9db2f9ee54418d29dd06996279ba9dc874fd6beb
782a20a27ee83b523f801ff34efb1a9557085019
refs/heads/master
1,690,305,956,488
1,631,067,774,000
1,631,067,774,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
18,394
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes -/ import data.pfun import tactic.norm_num import data.equiv.mul_add /-! # Natural numbers with infinity The natural numbers and an extra `top` element `⊤`. ## Main defin...
e7531e47af11c7c859cd7ff31ffdd442c6bd5c82
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/algebra/algebra/operations.lean
9562a93fd44d97214c0d52d8cc1db09f1556be38
[ "Apache-2.0" ]
permissive
hjvromen/lewis
40b035973df7c77ebf927afab7878c76d05ff758
105b675f73630f028ad5d890897a51b3c1146fb0
refs/heads/master
1,677,944,636,343
1,676,555,301,000
1,676,555,301,000
327,553,599
0
0
null
null
null
null
UTF-8
Lean
false
false
12,177
lean
/- Copyright (c) 2019 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import algebra.algebra.basic /-! # Multiplication and division of submodules of an algebra. An interface for multiplication and division of sub-R-modules of an R-algebra A is...
16c20f5b918ab88c773f066cea1186cf2f1c7797
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Lean/Compiler/ExternAttr.lean
c61be64b25a74a0ba0f0e627e9ee2c78bf01361f
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
cipher1024/lean4
6e1f98bb58e7a92b28f5364eb38a14c8d0aae393
69114d3b50806264ef35b57394391c3e738a9822
refs/heads/master
1,642,227,983,603
1,642,011,696,000
1,642,011,696,000
228,607,691
0
0
Apache-2.0
1,576,584,269,000
1,576,584,268,000
null
UTF-8
Lean
false
false
5,984
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Expr import Lean.Environment import Lean.Attributes import Lean.ProjFns import Lean.Meta.Basic namespace Lean inductive ExternEntry where | ...
2e03bb6a5994269f205e69a72e56dfe7cc2f28f7
e898bfefd5cb60a60220830c5eba68cab8d02c79
/uexp/src/uexp/rules/removeSemiJoinRightWithFilter.lean
fb482878ea85e88bf2c66f7fe9b28d51f1a7cf00
[ "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
1,777
lean
import ..sql import ..tactics import ..u_semiring import ..extra_constants import ..ucongr import ..TDP set_option profiler true open Expr open Proj open Pred open SQL open tree notation `int` := datatypes.int constant str_foo_: const int. theorem rule: forall ( Γ scm_dept scm_emp: Schema) (rel_dept: relation...
0d2cf4e633a7fd449128f460716fae89700b880b
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/category/pairwise.lean
de489d6ba6601425e826433d4547cbcf85608b53
[ "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,293
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 order.complete_lattice import category_theory.category.preorder import category_theory.limits.is_limit /-! # The category of "pairwise intersections". Given ...
2dec4c0c3a5ae8decae125753a8bd823a83aacf9
4727251e0cd73359b15b664c3170e5d754078599
/src/order/atoms.lean
67113c02b85483ddcf490306229a2dc6265405a5
[ "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
26,597
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import order.complete_boolean_algebra import order.cover import order.modular_lattice import data.fintype.basic /-! # Atoms, Coatoms, and Simple Lattices This modu...
f348f0741c00813225f34ccc37aa4c6bd6331c34
4bddde0d06fbd53be6f23d7f5899998e8f63410b
/src/tactic/iconfig/lib/default.lean
1044b8564d9d94d8ea055ed3170ab345cb5b6208
[]
no_license
khoek/libiconfig
4816290a5862af14b07683b3d2663e8e62832ef4
6f55c50bc5d852d26ee5ee4c5b52b2cda2a852e5
refs/heads/master
1,586,109,683,212
1,559,567,916,000
1,559,567,916,000
157,085,466
0
1
null
1,559,567,917,000
1,541,945,134,000
Lean
UTF-8
Lean
false
false
30
lean
import .tactic import .parser
f7949d97fedaf0feef38b99dd8e3c5253025118e
432d948a4d3d242fdfb44b81c9e1b1baacd58617
/src/data/set/lattice.lean
04ee427082a42710b6795dba6c6dbb663c0c0498
[ "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
52,462
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, Johannes Hölzl, Mario Carneiro -- QUESTION: can make the first argument in ∀ x ∈ a, ... implicit? -/ import order.complete_boolean_algebra import data...
3966674c09440af4c2b102d5ad2438c7c2658864
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/qexpr2.lean
2be8db4c9acca2909eb75a68995a95b4353bbe25
[ "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
280
lean
open tactic set_option pp.all true example (a b c : nat) : true := by do x ← to_expr ```(_ + b) tt, trace x, infer_type x >>= trace, constructor, -- fill hole with 'c' get_local `c >>= exact, trace "------ after instantiate_mvars", instantiate_mvars x >>= trace
0dddc3d03ac35fa2a1c7dfbf4fe0059a31fb4b35
b24beef0a8b1a8e92be756a25aa78e24908b2b14
/src/for_mathlib/manifolds.lean
97cdfa8d50ff93abfa8590a071ed06edea72b5f9
[]
permissive
ChristopheMargerin/lftcm2020
14967e74cbe92a7b61d32d8130f32cfa09b5172b
589180047fa4fdfb3179636db58b0b0320549871
refs/heads/master
1,668,536,269,632
1,594,891,664,000
1,594,891,664,000
280,112,730
0
0
MIT
1,594,891,963,000
1,594,891,962,000
null
UTF-8
Lean
false
false
2,012
lean
import geometry.manifold.times_cont_mdiff import geometry.manifold.real_instances open set instance : has_zero (Icc (0 : ℝ) 1) := ⟨⟨(0 : ℝ), ⟨le_refl _, zero_le_one⟩⟩⟩ instance : has_one (Icc (0 : ℝ) 1) := ⟨⟨(1 : ℝ), ⟨zero_le_one, le_refl _⟩⟩⟩ namespace metric lemma is_closed_sphere {α : Type*} [metric_space α] {x ...
b102cf29b05f397852721d8159b7ba40319404ea
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/order/succ_pred/basic.lean
c9f22fb29d788e26253c3bd64e6d0eb5b3070888
[ "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
41,695
lean
/- Copyright (c) 2021 Yaël Dillies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies -/ import order.complete_lattice import order.cover import order.iterate /-! # Successor and predecessor This file defines successor and predecessor orders. `succ a`, the ...
ce34ee16bc65397efd7854d97760a28d4f105bf7
ff5230333a701471f46c57e8c115a073ebaaa448
/library/init/meta/format.lean
82e1e45797c933e90cf7de1459915317668d2259
[ "Apache-2.0" ]
permissive
stanford-cs242/lean
f81721d2b5d00bc175f2e58c57b710d465e6c858
7bd861261f4a37326dcf8d7a17f1f1f330e4548c
refs/heads/master
1,600,957,431,849
1,576,465,093,000
1,576,465,093,000
225,779,423
0
3
Apache-2.0
1,575,433,936,000
1,575,433,935,000
null
UTF-8
Lean
false
false
5,903
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.meta.options init.function init.data.to_string universes u v inductive format.color | red | green | orange | blue | pink | cyan | grey...
8fd2103cd26349aecfbd8fded4956bbe56067ebd
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/ideal/quotient_operations.lean
106c861b9cc01367c5b5097e61a3aff8d6eaa80f
[ "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
27,925
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import ring_theory.ideal.operations import ring_theory.ideal.quotient /-! # More operations on modules and ideals related to quotients > THIS FILE IS SYNCHRONIZED WITH MATHLIB...
2d760b159b08115d3092e64cb63092d3b5aa7050
dc06cc9775d64d571bf4778459ec6fde1f344116
/src/analysis/convex.lean
0cd3589e91b1741c2b87747d59ee365af6389e86
[ "Apache-2.0" ]
permissive
mgubi/mathlib
8c1ea39035776ad52cf189a7af8cc0eee7dea373
7c09ed5eec8434176fbc493e0115555ccc4c8f99
refs/heads/master
1,642,222,572,514
1,563,782,424,000
1,563,782,424,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
27,716
lean
/- Copyright (c) 2019 Alexander Bentkamp. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp Convex sets and functions on real vector spaces -/ import analysis.normed_space.basic import data.complex.basic import data.set.intervals import tactic.interac...
18ceccd6adba4557baf9cd5bb4e52fe34391b3b1
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/kronRWIssue.lean
dc74a3a5a08b4b7de60d68b32a3ca6d70f596912
[ "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
441
lean
class Foo (α : Type) where decEq : DecidableEq α instance instDecidableEq {α} [Foo α] : DecidableEq α := Foo.decEq instance instFooNat : Foo Nat := ⟨by infer_instance⟩ def kron (i j : α) [DecidableEq α] : Nat := if (i=j) then 1 else 0 theorem kron_right_mul (α : Type) [foo : Foo α] (i j : α) (x : Nat) : x * kron ...