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
cb182da2c38c962c718b4001651cf12952f1148a
7c92a46ce39266c13607ecdef7f228688f237182
/src/Spa/rational_open_data.lean
57e3b0740c85e22108b19c23c2c9d0398dc6eb4b
[ "Apache-2.0" ]
permissive
asym57/lean-perfectoid-spaces
3217d01f6ddc0d13e9fb68651749469750420767
359187b429f254a946218af4411d45f08705c83e
refs/heads/master
1,609,457,937,251
1,577,542,616,000
1,577,542,675,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,689
lean
import for_mathlib.group -- some stupid lemma about units import Spa.space import Huber_ring.localization /-! # Rational open subsets and their properties We define a preorder on `rational_open_data` that will be used when constructing the valuations on the stalks of the structure presheaf. -/ open_locale classical...
31f4ce49918eacda662a334c2abccbf06e358953
5a6ff5f8d173cbfe51967eb4c96837e3a791fe3d
/mm0-lean/x86/hla.lean
5a2e0f70f6a9d4b93708a49203a59397461f4d64
[ "CC0-1.0" ]
permissive
digama0/mm0
491ac09146708aa1bb775007bf3dbe339ffc0096
98496badaf6464e56ed7b4204e7d54b85667cb01
refs/heads/master
1,692,321,030,902
1,686,254,458,000
1,686,254,458,000
172,456,790
273
38
CC0-1.0
1,689,939,563,000
1,551,080,059,000
Rust
UTF-8
Lean
false
false
36,246
lean
import .lemmas -- High level assembly: a view of x86 that abstracts -- the shape of memory a bit namespace hla def data := list byte open x86 def disjoint_block : qword Γ— β„• β†’ qword Γ— β„• β†’ Prop | (a, n) (b, m) := a.to_nat + n ≀ b.to_nat ∧ b.to_nat + m ≀ a.to_nat structure hla := -- a list of disjoint memory blocks, ...
f5a881de764bba14f557e045fa75894a2925242b
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/algebra/polynomial.lean
137e4e431d706d9eed31470de6759810b52abfed
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
5,975
lean
/- Copyright (c) 2018 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Robert Y. Lewis -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.polynomial.algebra_map import Mathlib.data.polynomial.div import Mathlib.topology.met...
2559f0ac97e72c1eeaada9cd995eb5f7cd0ab3f4
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/set_theory/game/basic.lean
d1f574448fbedb35d3403d806c1b5076d113c1b7
[ "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,744
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.game.pgame import tactic.abel /-! # Combinatorial games. > THIS FILE IS SYNCHRONIZE...
c65f8fcc1370654abda6fff5d251de6a77389cf8
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/tests/lean/run/blast24.lean
2c9009dcd708db8c0128413d8df54e042f58db7c
[ "Apache-2.0" ]
permissive
YHVHvx/lean
732bf0fb7a298cd7fe0f15d82f8e248c11db49e9
038369533e0136dd395dc252084d3c1853accbf2
refs/heads/master
1,610,701,080,210
1,449,128,595,000
1,449,128,595,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
749
lean
-- Basic (propositional) forward chaining with clauses constants (A B C D E : Prop) set_option blast.recursor false definition lemma1 : A β†’ (A ∨ B β†’ C) β†’ C := by blast definition lemma2 : B β†’ (A ∨ B β†’ C) β†’ C := by blast definition lemma3 : A β†’ B β†’ (A β†’ B ∨ C β†’ D) β†’ D := by blast definition lemma4 : A β†’ B β†’ (A β†’ B ∨ C ...
5a1f1322ee774f222f1adccef911371e05da0c31
67190c9aacc0cac64fb4463d93e84c696a5be896
/Exercises/12. Sets in Lean.lean
b440acc7ba18f74646202f13cee3ca2657c8841c
[]
no_license
lucasresck/Discrete-Mathematics
ffbaf55943e7ce2c7bc50cef7e3ef66a0212f738
0a08081c5f393e5765259d3f1253c3a6dd043dac
refs/heads/master
1,596,627,857,734
1,573,411,500,000
1,573,411,500,000
212,489,764
0
0
null
null
null
null
UTF-8
Lean
false
false
4,579
lean
import data.set section variable U : Type variables A B C : set U example : βˆ€ x, x ∈ A ∩ C β†’ x ∈ A βˆͺ B := assume x, show x ∈ A ∩ C β†’ x ∈ A βˆͺ B, from assume h1 : x ∈ A ∩ C, show x ∈ A βˆͺ B, from or.inl h1.left example : βˆ€ x, x ∈ -(A βˆͺ B) β†’ x ∈ -A := assum...
4b1336ea0f65d96a56bb7dd7286ff6c828b5e795
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/topology/metric_space/basic.lean
88f4c5e8b3198f8405deaf6db50f857826450888
[ "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
95,669
lean
/- Copyright (c) 2015, 2017 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis, Johannes HΓΆlzl, Mario Carneiro, SΓ©bastien GouΓ«zel -/ import topology.metric_space.emetric_space import topology.shrinking_lemma import topology.al...
dfe27c9db425e7e41eacda8bbf82e4a7092d6acb
618003631150032a5676f229d13a079ac875ff77
/src/data/list/defs.lean
c97971e4b7099e1e45cfbba1d938cf6f285ff8f8
[ "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
20,092
lean
/- Copyright (c) 2014 Parikshit Khanna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Mario Carneiro Extra definitions on lists. -/ import data.option.defs import logic.basic import tactic.cache n...
21cbe3e4bbfd65588c649f27ee540ab5783ab13c
6e36ebd5594a0d512dea8bc6ffe78c71b5b5032d
/src/mywork/Lectures/lecture_12.lean
b1978eb746266c9ce83eb6e8bf5596eed1cdf5d9
[]
no_license
wrw2ztk/cs2120f21
cdc4b1b4043c8ae8f3c8c3c0e91cdacb2cfddb16
f55df4c723d3ce989908679f5653e4be669334ae
refs/heads/main
1,691,764,473,342
1,633,707,809,000
1,633,707,809,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
578
lean
/- A simple predicate. -/ def ev (n : β„•) : Prop := n%2=0 def np5d12 (n : β„•) : Prop := (n+5)%12 = 0 /- Introduction rule for exists -/ example : exists (n : β„•), ev n := begin end example : exists n, ev n := _ example : exists (a b c : β„•), a*a + b*c = c*c := begin end example : βˆ€ (n : β„•), βˆƒ (m : β„•), n = 2 * ...
ca0255e0474b57293c0d51ec5cb76cc4f8aa31d3
274748215b6d042f0d9c9a505f9551fa8e0c5f38
/src/data/type/basic.lean
a7854422f909e94451f89f90b58682875b97621b
[ "Apache-2.0" ]
permissive
ImperialCollegeLondon/M4P33
878ecb515c77d20cc799ff1ebd78f1bf4fd65c12
1a179372db71ad6802d11eacbc1f02f327d55f8f
refs/heads/master
1,607,519,867,193
1,583,344,297,000
1,583,344,297,000
233,316,107
59
4
Apache-2.0
1,579,285,778,000
1,578,788,367,000
Lean
UTF-8
Lean
false
false
162
lean
-- ha ha, it was type theory all along, -- and the actual import is set theory import data.set.basic -- We will use our powers of notation to hide this from you
5f1fbdb29090681a32b1d3adff0d331c47a8eed5
c31182a012eec69da0a1f6c05f42b0f0717d212d
/src/breen_deligne/homotopy.lean
a3786eed0b9f03a273b85b02395bfd68dafbddc8
[]
no_license
Ja1941/lean-liquid
fbec3ffc7fc67df1b5ca95b7ee225685ab9ffbdc
8e80ed0cbdf5145d6814e833a674eaf05a1495c1
refs/heads/master
1,689,437,983,362
1,628,362,719,000
1,628,362,719,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,914
lean
import algebra.homology.homotopy import breen_deligne.category import breen_deligne.suitable namespace breen_deligne open category_theory category_theory.limits free_abelian_group homological_complex FreeMat open_locale big_operators nnreal zero_object namespace data variables (BD : data) -- generalize this to ...
c50af44a16f513ac7c9a99c39ce3e0e2e719202e
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/ring_theory/witt_vector/verschiebung.lean
f280e110e62cdc40149f9558e026700250cf5c9a
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
5,869
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import ring_theory.witt_vector.basic import ring_theory.witt_vector.is_poly /-! ## The Verschiebung operator ## References * [Hazewinkel, *Witt Vectors*][Haze09]...
7114565ee01c66c41c6028bccc26a3b87c8da1a8
fe84e287c662151bb313504482b218a503b972f3
/src/combinatorics/card_interval.lean
be758fa5a3f70ee77b7694cae3ca4b1c2488928e
[]
no_license
NeilStrickland/lean_lib
91e163f514b829c42fe75636407138b5c75cba83
6a9563de93748ace509d9db4302db6cd77d8f92c
refs/heads/master
1,653,408,198,261
1,652,996,419,000
1,652,996,419,000
181,006,067
4
1
null
null
null
null
UTF-8
Lean
false
false
1,398
lean
/- Copyright (c) 2019 Neil Strickland. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Neil Strickland -/ import data.fintype.basic import data.nat.interval namespace combinatorics /- @latex: defn_intervals -/ def Ico (n m : β„•) : finset β„• := (finset.Ico n m) def Icc...
3a682ce61eaf1aa27db4d0188a124f69f2cb72c1
5df84495ec6c281df6d26411cc20aac5c941e745
/src/formal_ml/real.lean
ff3423af7bdfddae4f6259c4913f8ca7a617e6ac
[ "Apache-2.0" ]
permissive
eric-wieser/formal-ml
e278df5a8df78aa3947bc8376650419e1b2b0a14
630011d19fdd9539c8d6493a69fe70af5d193590
refs/heads/master
1,681,491,589,256
1,612,642,743,000
1,612,642,743,000
360,114,136
0
0
Apache-2.0
1,618,998,189,000
1,618,998,188,000
null
UTF-8
Lean
false
false
12,943
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...
ed70609fc733afd7c86dfaf5c0a4f8021e3e1cf8
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/algebra/big_operators/ring.lean
be56dcb62e8b361d65e14bf4585e9fe9e4af4096
[ "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
9,930
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 -/ import algebra.big_operators.basic import data.finset.pi import data.finset.powerset /-! # Results about big operators with values in a (semi)ring We prove results...
3bef28943730dcc6bd7b309c3fe01a3d8a3a5ee7
de91c42b87530c3bdcc2b138ef1a3c3d9bee0d41
/old/eval/hertzEval.lean
074064a1c22f70b4e28f5861543ccb1f41cb49ec
[]
no_license
kevinsullivan/lang
d3e526ba363dc1ddf5ff1c2f36607d7f891806a7
e9d869bff94fb13ad9262222a6f3c4aafba82d5e
refs/heads/master
1,687,840,064,795
1,628,047,969,000
1,628,047,969,000
282,210,749
0
1
null
1,608,153,830,000
1,595,592,637,000
Lean
UTF-8
Lean
false
false
523
lean
import ..imperative_DSL.environment open lang.classicalHertz attribute [reducible] def classicalHertzEval : lang.classicalHertz.spaceExpr β†’ environment.env β†’ classicalHertz | (lang.classicalHertz.spaceExpr.lit V) i := V | (lang.classicalHertz.spaceExpr.var v) i := i.h.sp v attribute [reducible] def classicalHertzQu...
47aa37b4365992ee33c0c731f1950f1c15faeacb
217bb195841a8be2d1b4edd2084d6b69ccd62f50
/library/init/data/hashmap/basic.lean
88c0babad0a4ad3820c71b4ac0ee1fe9dcaf3257
[ "Apache-2.0" ]
permissive
frank-lesser/lean4
717f56c9bacd5bf3a67542d2f5cea721d4743a30
79e2abe33f73162f773ea731265e456dbfe822f9
refs/heads/master
1,589,741,267,933
1,556,424,200,000
1,556,424,281,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,085
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import init.data.array.basic init.data.assoclist import init.data.option.basic init.data.hashable universes u v w def HashMapBucket (Ξ± : Type u) (Ξ² ...
ff9105f87837aa1410c3ee5499a31d1f6dc5a0ca
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/algebra/ring/basic.lean
abce6dffdc9bbbc85e0a99700f03b7d4ca31801f
[ "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
54,498
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, Yury Kudryashov, Neil Strickland -/ import algebra.divisibility import algebra.regular.basic import data.int.cast.defs import data.pi...
21e323c2ad6258ff9c39e56340780414c3a19d45
95dcf8dea2baf2b4b0a60d438f27c35ae3dd3990
/src/analysis/normed_space/operator_norm.lean
c8f860e1fe864a0d2bc449be0302f601b34afee4
[ "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
11,860
lean
/- Copyright (c) 2019 Jan-David Salchow. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jan-David Salchow The space of bounded linear maps Define the set of bounded linear maps between normed spaces and show basic facts about it. In particular (*) define a set L(E,F...
dc7462eb54bde6191a63ea8174d51c0bda0e689f
c777c32c8e484e195053731103c5e52af26a25d1
/src/measure_theory/measure/complex_lebesgue.lean
07066e07eec813a282b096955ae98ede14c0f901
[ "Apache-2.0" ]
permissive
kbuzzard/mathlib
2ff9e85dfe2a46f4b291927f983afec17e946eb8
58537299e922f9c77df76cb613910914a479c1f7
refs/heads/master
1,685,313,702,744
1,683,974,212,000
1,683,974,212,000
128,185,277
1
0
null
1,522,920,600,000
1,522,920,600,000
null
UTF-8
Lean
false
false
1,636
lean
/- Copyright (c) 2021 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import measure_theory.measure.lebesgue import measure_theory.measure.haar_of_basis /-! # Lebesgue measure on `β„‚` In this file we define Lebesgue measure on `β„‚`. S...
d7dec67bc046dc03e53da618cf00c3cbccef5bd1
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/src/Init/Lean/Compiler/NeverExtractAttr.lean
2aabdd9f4fe3dd8bc07b6cd88f7332d67451e9e8
[ "Apache-2.0" ]
permissive
mhuisi/lean4
28d35a4febc2e251c7f05492e13f3b05d6f9b7af
dda44bc47f3e5d024508060dac2bcb59fd12e4c0
refs/heads/master
1,621,225,489,283
1,585,142,689,000
1,585,142,689,000
250,590,438
0
2
Apache-2.0
1,602,443,220,000
1,585,327,814,000
C
UTF-8
Lean
false
false
994
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import Init.Lean.Environment import Init.Lean.Attributes namespace Lean def mkNeverExtractAttr : IO TagAttribute := registerTagAttribute `neverExt...
1a213dc93bfb08c84dd346076baabe490c46720e
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/topology/basic.lean
1370106c58a2c1de6bb3571c1a43229b0eb12c33
[ "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
55,045
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, Jeremy Avigad -/ import order.filter.ultrafilter import order.filter.partial import data.support noncomputable theory /-! # Basic theory of topologica...
030aaf8eb793c7f13e111169c68384da709614e3
da3a76c514d38801bae19e8a9e496dc31f8e5866
/tests/lean/run/run_tactic1.lean
75fd8e4f2e2da57e1d400767ae86d36f50f7fe51
[ "Apache-2.0" ]
permissive
cipher1024/lean
270c1ac5781e6aee12f5c8d720d267563a164beb
f5cbdff8932dd30c6dd8eec68f3059393b4f8b3a
refs/heads/master
1,611,223,459,029
1,487,566,573,000
1,487,566,573,000
83,356,543
0
0
null
1,488,229,336,000
1,488,229,336,000
null
UTF-8
Lean
false
false
724
lean
open tactic run_command tactic.trace "hello world" run_command do N ← to_expr `(nat), v ← to_expr `(10), add_decl (declaration.defn `val10 [] N v reducibility_hints.opaque tt) vm_eval val10 example : val10 = 10 := rfl meta definition mk_defs : nat β†’ command | 0 := skip | (n+1) := do N ← to_expr `(nat), ...
f30b63d4258f23ab4e74ec381604d8d59f747777
63abd62053d479eae5abf4951554e1064a4c45b4
/src/algebra/ring/basic.lean
e68b3d9722712b2c369f188927fba8f3d294ecec
[ "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
38,141
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, Yury Kudryashov, Neil Strickland -/ import algebra.divisibility import data.set.basic /-! # Properties and homomo...
052a4425490cebc93b8c17298315214520c265c6
a3416b394f900e6d43a462113bf00eecea016923
/src/compactness.lean
dd61fb8ad032882b4e0cf046a1c6cc8fcd7e7b20
[]
no_license
Nolrai/non-standard
efe17e1e97db75ec1a26aed2623e578ec8881c51
2a128217005a0c9eef53e7c24c6637d0edcf3151
refs/heads/master
1,682,477,161,430
1,604,790,441,000
1,604,790,441,000
359,366,919
0
0
null
null
null
null
UTF-8
Lean
false
false
10,811
lean
import data.vector import tactic import data.finset structure FirstOrder := (rels : Type) (funs : Type) (cons : Type) structure model_in (𝕃 : FirstOrder) := (A : Type) (A_is_inhabited : inhabited A) (on_rels : 𝕃.rels β†’ A β†’ A β†’ Prop) (on_funs : 𝕃.funs β†’ A β†’ A β†’ A) (on_cons : 𝕃.cons β†’ A) section indu...
21dca5fd397a458ba14fcc400a6abfeffe912f3a
e38e95b38a38a99ecfa1255822e78e4b26f65bb0
/src/certigrad/sprog.lean
28d7e81c55b5e8566cc30274a7c04fd51168e28e
[ "Apache-2.0" ]
permissive
ColaDrill/certigrad
fefb1be3670adccd3bed2f3faf57507f156fd501
fe288251f623ac7152e5ce555f1cd9d3a20203c2
refs/heads/master
1,593,297,324,250
1,499,903,753,000
1,499,903,753,000
97,075,797
1
0
null
1,499,916,210,000
1,499,916,210,000
null
UTF-8
Lean
false
false
2,091
lean
/- Copyright (c) 2017 Daniel Selsam. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Daniel Selsam Stochastic programs. An `sprog` represents an abstract stochastic computation, in which all primitive stochastic choices are reified. We denote an `sprog` to a PDF to rea...
9dd4bf5a19d489ef613bacf8d7555bc67810b967
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/test/library_search/exp_le_exp.lean
48a63262879eb030b1b32b3af0ebc3fd769b0f41
[ "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
262
lean
import tactic.suggest import analysis.special_functions.exp_log open real /- Turn off trace messages so they don't pollute the test build: -/ set_option trace.silence_library_search true example {a b : ℝ} (h: a ≀ b) : exp a ≀ exp b := by library_search
9997a3d5b187682e65851e25dfa67cd643ae403e
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch5/ex0309.lean
681ac694f74326782bfda5f541120fa293dc8e6f
[]
no_license
Ailrun/Theorem_Proving_in_Lean
ae6a23f3c54d62d401314d6a771e8ff8b4132db2
2eb1b5caf93c6a5a555c79e9097cf2ba5a66cf68
refs/heads/master
1,609,838,270,467
1,586,846,743,000
1,586,846,743,000
240,967,761
1
0
null
null
null
null
UTF-8
Lean
false
false
91
lean
example (p q : Prop) : p ∧ Β¬ p β†’ q := begin intro h, cases h, contradiction end
f4a5fabb6a6ae2a38e5a969ad89ca2f141d0fc63
947b78d97130d56365ae2ec264df196ce769371a
/src/Init/System/ST.lean
6db6e016bfc82ae8e864782f8f4552c5359c020c
[ "Apache-2.0" ]
permissive
shyamalschandra/lean4
27044812be8698f0c79147615b1d5090b9f4b037
6e7a883b21eaf62831e8111b251dc9b18f40e604
refs/heads/master
1,671,417,126,371
1,601,859,995,000
1,601,860,020,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,370
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.Control.EState import Init.Control.Reader def EST (Ξ΅ : Type) (Οƒ : Type) : Type β†’ Type := EStateM Ξ΅ Οƒ abbrev ST (Οƒ : Type) := EST Empty ...
132362d951fe91f14d919df402fd99938c155843
f57749ca63d6416f807b770f67559503fdb21001
/library/data/set/function.lean
eecb840ca3be3019dacd2c0ac1858c5a126c5018
[ "Apache-2.0" ]
permissive
aliassaf/lean
bd54e85bed07b1ff6f01396551867b2677cbc6ac
f9b069b6a50756588b309b3d716c447004203152
refs/heads/master
1,610,982,152,948
1,438,916,029,000
1,438,916,029,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,581
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad, Andrew Zipperer, Haitao Zhang Functions between subsets of finite types. -/ import .basic open function eq.ops namespace set variables {X Y Z : Type} abbreviation eq_o...
cf90393f6847c6763ee1575dafeff6b72887b7b1
5e3548e65f2c037cb94cd5524c90c623fbd6d46a
/src_icannos_totilas/aops/2015-IMO-Problem_5.lean
c61594df4adbb78d2abe11aa01a330256650ab47
[]
no_license
ahayat16/lean_exos
d4f08c30adb601a06511a71b5ffb4d22d12ef77f
682f2552d5b04a8c8eb9e4ab15f875a91b03845c
refs/heads/main
1,693,101,073,585
1,636,479,336,000
1,636,479,336,000
415,000,441
0
0
null
null
null
null
UTF-8
Lean
false
false
453
lean
import data.real.basic import analysis.special_functions.pow /-- Let <math>\mathbb{R}</math> be the set of real numbers. Determine all functions <math>f</math>:<math>\mathbb{R}\rightarrow\mathbb{R}</math> satisfying the equation <math></math> for all real numbers <math>x</math> and <math>y</math>. --/ theorem exo...
9b08c308155f4fba436d253212a044234487e8d5
d29d82a0af640c937e499f6be79fc552eae0aa13
/src/measure_theory/content.lean
fa0e6c33ca914fc5daa961048d3aa048195cb243
[ "Apache-2.0" ]
permissive
AbdulMajeedkhurasani/mathlib
835f8a5c5cf3075b250b3737172043ab4fa1edf6
79bc7323b164aebd000524ebafd198eb0e17f956
refs/heads/master
1,688,003,895,660
1,627,788,521,000
1,627,788,521,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
16,892
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_space import measure_theory.regular import topology.opens import topology.compacts /-! # Contents In this file we work with *conte...
8277651a525289a5555d8276210c0581acd0ba76
3bd26f8e9c7eeb6ae77ac4ba709b5b3c65b8d7cf
/calc-test.lean
2939be7d6bdc04843744400d4416e1d1dd6ee18a
[]
no_license
koba-e964/lean-work
afac5677efef6905fce29cac44f36f309c3bcd62
6ab0506b9bd4e5a2e1ba6312d4ac6bdaf6ae1594
refs/heads/master
1,659,773,150,740
1,659,289,453,000
1,659,289,453,000
100,273,655
0
0
null
null
null
null
UTF-8
Lean
false
false
1,246
lean
example : forall n m: nat, n + m = m + n := begin intros n, induction n with n' ih, show forall m, 0 + m = m + 0, { intro m, induction m with m' ih2, show 0 + 0 = 0 + 0, { reflexivity }, show 0 + (m' + 1) = (m' + 1) + 0, calc 0 + (m' + 1) = (0 + m') + 1 : by reflexivity ....
0f3dc8baa341af92d60c6fd552e3385d9a4f67ac
36938939954e91f23dec66a02728db08a7acfcf9
/lean/deps/galois_stdlib/src/galois/data/option.lean
8593c150ca72f9889767affc9508c673023437a5
[ "Apache-2.0" ]
permissive
pnwamk/reopt-vcg
f8b56dd0279392a5e1c6aee721be8138e6b558d3
c9f9f185fbefc25c36c4b506bbc85fd1a03c3b6d
refs/heads/master
1,631,145,017,772
1,593,549,019,000
1,593,549,143,000
254,191,418
0
0
null
1,586,377,077,000
1,586,377,077,000
null
UTF-8
Lean
false
false
1,656
lean
namespace option section parameter {Ξ± : Type _} /- Is some as a Prop instead of Boolean -/ inductive is_some_prop : option Ξ± β†’ Prop | intro (x:Ξ±) : is_some_prop (option.some x) open decidable instance is_some_prop.decidable : Ξ (x:option Ξ±), decidable (is_some_prop x) | none := is_false (by { intro p, cases p, }) ...
8a39722961befefd2ae4c41fcf2fc00d9f3b735d
597e185014db6ce8a949dac0322798f11218338b
/src/number_theory_q5.lean
c22aefae2cd80f7de9c95d2a9581d7efcbe1f55e
[]
no_license
b-mehta/lean-experiments
58ce21c7106dfde163c236175fee30b341ba69ee
5f0aed189f724ae6f739ec75dcdddcd2687614e1
refs/heads/master
1,598,987,002,293
1,576,649,380,000
1,576,649,380,000
219,032,370
0
0
null
null
null
null
UTF-8
Lean
false
false
2,705
lean
import data.nat.basic import data.nat.prime import tactic.norm_num open nat -- https://www.dpmms.cam.ac.uk/study/II/NumberTheory/2019-2020/number_theory-19-1.pdf -- A proof of question 5 from here lemma division_lemma { a n : β„• } ( ha : a β‰₯ 1 ) : a - 1 ∣ a ^ n - 1 := begin apply dvd_of_mod_eq_zero, induction n w...
d388be52997be9e8d6f1a4a2fae0c591db4a5d91
737dc4b96c97368cb66b925eeea3ab633ec3d702
/stage0/src/Lean/Meta/ExprDefEq.lean
43f5557e43baa8e3417a487789c0db7000d37d70
[ "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
61,881
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.ProjFns import Lean.Structure import Lean.Meta.WHNF import Lean.Meta.InferType import Lean.Meta.FunInfo import Lean.Meta.LevelDefEq import Lean....
8f32149ca078be08de5181f61f5b119be52e66c9
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/inductive1.lean
2ab445f8cb33c08e0518e738226fb729dab23dbd
[ "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,926
lean
-- -- Test1 inductive T1 : Nat -- Error, resultant type is not a sort -- Test2 mutual inductive T1 : Prop inductive T2 : Type -- Error resulting universe mismatch end -- Test3 universe u v mutual inductive T1 (x : Nat) : Type u inductive T2 (x : Nat) : Nat β†’ Type v -- Error resulting universe mismatch end --...
b1fa76c9e8872deb03c5e4a7b20d2dae47d1ce72
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/algebra/category/Module/epi_mono.lean
b6300ae70177043d5671be86dff4379cfc9184f4
[ "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
1,751
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 linear_algebra.quotient import algebra.category.Module.adjunctions import category_theory.epi_mono /-! # Monomorphisms in `Module R` This file shows that an `...
547bfc40f8272f2dada22c56a38bb1ed873b1868
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/ns.lean
6182c360f117980fea0b1d142ebe54ba5c474103
[ "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
286
lean
prelude constant nat : Type.{1} constant f : nat β†’ nat namespace foo constant int : Type.{1} constant f : int β†’ int constant a : nat constant i : int #check _root_.f a #check f i end foo open foo constants a : nat constants i : int #check f foo.a #check f foo.i
5218f32199685a689f9e516353bdd6a45963eeb6
fecda8e6b848337561d6467a1e30cf23176d6ad0
/src/linear_algebra/eigenspace.lean
67420ac78640917f8c8593afc274a11ebe9d9ec3
[ "Apache-2.0" ]
permissive
spolu/mathlib
bacf18c3d2a561d00ecdc9413187729dd1f705ed
480c92cdfe1cf3c2d083abded87e82162e8814f4
refs/heads/master
1,671,684,094,325
1,600,736,045,000
1,600,736,045,000
297,564,749
1
0
null
1,600,758,368,000
1,600,758,367,000
null
UTF-8
Lean
false
false
18,005
lean
/- Copyright (c) 2020 Alexander Bentkamp. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Alexander Bentkamp. -/ import field_theory.algebraic_closure import linear_algebra.finsupp import linear_algebra.matrix /-! # Eigenvectors and eigenvalues This file defines eigen...
2a02cdee8afcd8c0ad5928abf9359028a88f26a7
690889011852559ee5ac4dfea77092de8c832e7e
/src/group_theory/order_of_element.lean
e6b5b37791bd6accfa990539c772d2b49ddea6cb
[ "Apache-2.0" ]
permissive
williamdemeo/mathlib
f6df180148f8acc91de9ba5e558976ab40a872c7
1fa03c29f9f273203bbffb79d10d31f696b3d317
refs/heads/master
1,584,785,260,929
1,572,195,914,000
1,572,195,913,000
138,435,193
0
0
Apache-2.0
1,529,789,739,000
1,529,789,739,000
null
UTF-8
Lean
false
false
22,704
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 -/ import data.set.finite group_theory.coset data.nat.totient open function variables {Ξ± : Type*} {s : set Ξ±} {a a₁ aβ‚‚ b c: Ξ±} -- TODO this lemma isn't used anywhere i...
1c228cd506c2314267241c28c649696314fedb42
c777c32c8e484e195053731103c5e52af26a25d1
/src/field_theory/finite/basic.lean
1df22603ad03802cbd78f9aabd889739473c01fd
[ "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,516
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Joey van Langen, Casper Putz -/ import field_theory.separable import field_theory.splitting_field import ring_theory.integral_domain import tactic.apply_fun /-! # Finite f...
994d5549754d53ef17af715fa712b053218eb874
4727251e0cd73359b15b664c3170e5d754078599
/archive/100-theorems-list/57_herons_formula.lean
fc62c68b265a5e5ffae8682d4ba7f500c06a5944
[ "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,787
lean
/- Copyright (c) 2021 Matt Kempster. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Matt Kempster -/ import geometry.euclidean.triangle /-! # Freek β„– 57: Heron's Formula This file proves Theorem 57 from the [100 Theorems List](https://www.cs.ru.nl/~freek/100/), also ...
168b302c8b98cbb18018194109171141acbece95
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/trace.lean
66f84e7138b5bf5c7d7cd75f5665de9f40e75f17
[ "Apache-2.0" ]
permissive
shyamalschandra/lean4
27044812be8698f0c79147615b1d5090b9f4b037
6e7a883b21eaf62831e8111b251dc9b18f40e604
refs/heads/master
1,671,417,126,371
1,601,859,995,000
1,601,860,020,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,408
lean
import Lean.CoreM new_frontend open Lean structure MyState := (traceState : TraceState := {}) (s : Nat := 0) abbrev M := CoreM def tst1 : M Unit := do trace! `module ("hello" ++ MessageData.nest 9 (Format.line ++ "world")); trace! `module.aux "another message"; pure () def tst2 (b : Bool) : M Unit :=...
0bd56cb6bf23287d62ce5f577e1ca37946cdd5f4
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/concrete_category/reflects_isomorphisms.lean
e211e89622b43eaac7f7c4f8dab3ae4b97993a0e
[ "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
1,359
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 category_theory.concrete_category.basic import category_theory.reflects_isomorphisms /-! A `forgetβ‚‚ C D` forgetful functor between concrete categories `C` and...
e9d221139cd56472b5ce1c4de8d70ef6c542daa9
94e33a31faa76775069b071adea97e86e218a8ee
/src/data/polynomial/degree/definitions.lean
3c87ca28129dd112c14c06b8ff20a4eb023d5d51
[ "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
48,537
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.nat.with_bot import data.polynomial.induction import data.polynomial.monomial /-! # Theory of univariate poly...
16fc7a17411cd8c41df2619b73745ac355b68bf3
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/vector/basic.lean
f60d184892f4d6bfba1a5698dac47504553de6e8
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
22,166
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.vector import data.list.nodup import data.list.of_fn import control.applicative import meta.univs /-! # Additional theorems and definitions about the `vec...
fa660127e8388f0af2a00265e0aef0a873347cd9
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/src/Lean/Declaration.lean
0e39cba833b55a20d7a6776b5f691f89c72121fb
[ "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
14,165
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 -/ import Lean.Expr namespace Lean /-- Reducibility hints are used in the convertibility checker. When trying to solve a constraint such a (f ...)...
b5d629d697cfe1f928795618ca2d59750d93d17e
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/tests/lean/mvar3.lean
438f52901a49e1fe4a22e290dd4f22df2721bac5
[ "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
2,847
lean
import Lean.MetavarContext open Lean def mkLambdaTest (mctx : MetavarContext) (ngen : NameGenerator) (lctx : LocalContext) (xs : Array Expr) (e : Expr) : Except MetavarContext.MkBinding.Exception (MetavarContext Γ— NameGenerator Γ— Expr) := match MetavarContext.mkLambda xs e lctx { mctx := mctx, ngen := ngen } with ...
c9b0001b9def99edb8c8182159eb381fecbd6640
842b7df4a999c5c50bbd215b8617dd705e43c2e1
/nat_num_game/src/Advanced_Addition_World/adv_add_wrld13.lean
3cd586c96465a84f31316019c254ce8f6988f34c
[]
no_license
Samyak-Surti/LeanCode
1c245631f74b00057d20483c8ac75916e8643b14
944eac3e5f43e2614ed246083b97fbdf24181d83
refs/heads/master
1,669,023,730,828
1,595,534,784,000
1,595,534,784,000
282,037,186
0
0
null
null
null
null
UTF-8
Lean
false
false
65
lean
lemma ne_succ_self (n : β„•) : n β‰  nat.succ n := begin end
117001f03b026ae4ab503ce9fa65ff1652c6ba46
737dc4b96c97368cb66b925eeea3ab633ec3d702
/stage0/src/Lean/Meta/FunInfo.lean
db10b9f68beb4d074d589719857c5cd2d7011278
[ "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
2,997
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.InferType namespace Lean.Meta @[inline] private def checkFunInfoCache (fn : Expr) (maxArgs? : Option Nat) (k : Met...
0f422b04ed4703ff13fb75896bd54cb6f98dc641
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/run/class2.lean
d5d075008f11d09a4bf19239af25af45f1b013a9
[ "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
124
lean
open tactic theorem H {A B : Type} (H1 : inhabited A) : inhabited (Prop Γ— A Γ— (B β†’ nat)) := by apply_instance #print H
ab6d36cc4df0ba4507365f6cce37a05b1d7b3dd1
ea11767c9c6a467c4b7710ec6f371c95cfc023fd
/src/monoidal_categories/lemmas/symmetry_in_terms_of_natural_transformations.lean
4ed231970bed6bfb84d3e0d48c0add6ff9a13ead
[]
no_license
RitaAhmadi/lean-monoidal-categories
68a23f513e902038e44681336b87f659bbc281e0
81f43e1e0d623a96695aa8938951d7422d6d7ba6
refs/heads/master
1,651,458,686,519
1,529,824,613,000
1,529,824,613,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,775
lean
-- Copyright (c) 2017 Scott Morrison. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Stephen Morgan, Scott Morrison import ..braided_monoidal_category import categories.functor_categories.isomorphisms import categories.functor_categories.whiskering import tidy.it...
08edd4b8eb77585884a05c8906822ad99c29d57e
302b541ac2e998a523ae04da7673fd0932ded126
/tests/playground/treeupdate.lean
95b449df501991f46b65a0b150ded296f24a25b9
[]
no_license
mattweingarten/lambdapure
4aeff69e8e3b8e78ea3c0a2b9b61770ef5a689b1
f920a4ad78e6b1e3651f30bf8445c9105dfa03a8
refs/heads/master
1,680,665,168,790
1,618,420,180,000
1,618,420,180,000
310,816,264
2
1
null
null
null
null
UTF-8
Lean
false
false
1,130
lean
func @app_to_node(%node: !lambdapure.Object) (%f: !lambdapure.Object) -> !lambdapure.Object { "lambdapure.ResetOp"(%x) ( { %0 = "lambdapure.ProjectionOp"(%node) {index = 0 : i64} :(!lambdapure.Object) -> !lambdapure.Object "lambdapure.IncOp"(%0) : (!lambdapure.Object) -> () %1 = "lambdapure.ProjectionOp"(...
74e4cab243624d79808a224f2ccb81c3e83999aa
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/combinatorics/composition.lean
c39e2ab9264807bc7085fc19dd830792b189fce6
[ "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
36,479
lean
/- Copyright (c) 2020 SΓ©bastien GouΓ«zel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: SΓ©bastien GouΓ«zel -/ import data.fintype.card import data.finset.sort import algebra.big_operators.order /-! # Compositions A composition of a natural number `n` is a decompositio...
b60333e792b81f5859f8a5cc87d674ba870f9885
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/meta/expr_auto.lean
c9e6bcad99077c4957fbc0ac7a4db885de1c3358
[]
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,085
lean
/- Copyright (c) 2019 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Simon Hudon, Scott Morrison, Keeley Hoek, Robert Y. Lewis -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.string.defs import Mathlib...
e4670a76196198f2546442dae5e01a05d79b4619
853df553b1d6ca524e3f0a79aedd32dde5d27ec3
/test/linarith.lean
a7cc29de2e6103ddaa5abc081fa037c5898d8918
[ "Apache-2.0" ]
permissive
DanielFabian/mathlib
efc3a50b5dde303c59eeb6353ef4c35a345d7112
f520d07eba0c852e96fe26da71d85bf6d40fcc2a
refs/heads/master
1,668,739,922,971
1,595,201,756,000
1,595,201,756,000
279,469,476
0
0
null
1,594,696,604,000
1,594,696,604,000
null
UTF-8
Lean
false
false
9,069
lean
import tactic.linarith example {Ξ± : Type} (_inst : Ξ  (a : Prop), decidable a) [linear_ordered_field Ξ±] {a b c : Ξ±} (ha : a < 0) (hb : Β¬b = 0) (hc' : c = 0) (h : (1 - a) * (b * b) ≀ 0) (hc : 0 ≀ 0) (this : -(a * -b * -b + b * -b + 0) = (1 - a) * (b * b)) (h : (1 - a) * (b * b) ≀ 0) : 0 < 1 - a := be...
8a37f1050dad519d4f9a1fdf29f4343f0ae2c3ae
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/shift_auto.lean
bf124dd1355378cfa5950c85bbf97516cef68c45
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
1,296
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.limits.shapes.zero import Mathlib.PostPort universes v u l namespace Mat...
5ce116982b585c4d19035e16215ba7f3d624c975
1fbca480c1574e809ae95a3eda58188ff42a5e41
/src/util/cast.lean
736833cdfe85f486f9a1f981784b1a5b5369f87e
[]
no_license
unitb/lean-lib
560eea0acf02b1fd4bcaac9986d3d7f1a4290e7e
439b80e606b4ebe4909a08b1d77f4f5c0ee3dee9
refs/heads/master
1,610,706,025,400
1,570,144,245,000
1,570,144,245,000
99,579,229
5
0
null
null
null
null
UTF-8
Lean
false
false
2,402
lean
universe variable u def option.cast : βˆ€ {Ξ± Ξ² : Type u}, option Ξ± β†’ (Ξ± = Ξ²) β†’ option Ξ² | Ξ± ._ x rfl := x @[reducible] def option.cast' {Ξ± Ξ² : Type u} (x : option Ξ±) (P : Ξ² = Ξ±) : option Ξ² := option.cast x P.symm lemma cast_some {Ξ± Ξ²} (x : Ξ±) (P : Ξ± = Ξ²) : (some x).cast P = some (cast P x) := begin cases P, refl ...
c4047bea5c070058e83cf22a23aa3f8608fb8b97
359199d7253811b032ab92108191da7336eba86e
/src/instructor/lectures/lecture_17.lean
c475f9739ed6bb7bd8eb28b78ea0ac8097581140
[]
no_license
arte-et-marte/my_cs2120f21
0bc6215cb5018a3b7c90d9d399a173233f587064
91609c3609ad81fda895bee8b97cc76813241e17
refs/heads/main
1,693,298,928,348
1,634,931,202,000
1,634,931,202,000
399,946,705
0
0
null
null
null
null
UTF-8
Lean
false
false
5,640
lean
-- set is defined by a membership predicate; in Lean, a set is just a predicate import data.set /- We formally define two predicates on natural numbers. -/ def ev (n : β„•) : Prop := n % 2 = 0 def od (n : β„•) : Prop := Β¬ ev n /- We now formally represent some sets. Bear in mind that we represent a set as a predicate, ...
020916bcbc362e0e520de5962ab90377f195884c
ac89c256db07448984849346288e0eeffe8b20d0
/stage0/src/Lean/Elab/Term.lean
effc34879fdcfaa99a16d18c1a5e4181e8faba8f
[ "Apache-2.0" ]
permissive
chepinzhang/lean4
002cc667f35417a418f0ebc9cb4a44559bb0ccac
24fe2875c68549b5481f07c57eab4ad4a0ae5305
refs/heads/master
1,688,942,838,326
1,628,801,942,000
1,628,801,995,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
67,771
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Sebastian Ullrich -/ import Lean.ResolveName import Lean.Util.Sorry import Lean.Util.ReplaceExpr import Lean.Structure import Lean.Meta.ExprDefEq import Lean....
11e6997c1f5d54335c0e350c6451863f1832f570
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/1841.lean
7e30ab817980cf49741bdd52f02fe7d1885ccb83
[ "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
272
lean
namespace n1 def f : {n : β„• // n = 0} β†’ {n : β„• // n = 0} | ⟨ v, h ⟩ := ⟨ v, h.symm.symm ⟩ def g : {n : β„• // n = 0} β†’ {n : β„• // n = 0} := Ξ» x, subtype.cases_on x (Ξ» v h, ⟨v, h.symm.symm⟩) end n1 #check @n1.f._main._proof_1 #check @n1.g._proof_1
f85a074eba193fc09b071dc768c56c2be1b85ba5
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/algebraic_geometry/locally_ringed_space.lean
f34b1de7d4e4b41da8e20f8737acb2cbb635710c
[ "Apache-2.0" ]
permissive
dexmagic/mathlib
ff48eefc56e2412429b31d4fddd41a976eb287ce
7a5d15a955a92a90e1d398b2281916b9c41270b2
refs/heads/master
1,693,481,322,046
1,633,360,193,000
1,633,360,193,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,644
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import algebraic_geometry.ringed_space import data.equiv.transfer_instance /-! # The category of locally ringed spaces We define (bundled) locally ringed spaces (a...
6f091939fddeace5ee8cbcf551a80d267ccd00e7
9dc8cecdf3c4634764a18254e94d43da07142918
/src/ring_theory/adjoin/fg.lean
a997fc1c51b345a97a3508e0daa767762af31a61
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
6,902
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 ring_theory.polynomial.basic import ring_theory.principal_ideal_domain import data.mv_polynomial.basic /-! # Adjoining elements to form subalgebras This file develops ...
b109b289e21098ee328d9048ab8406d1d9ae6407
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/data/list/forall2.lean
8f22ca33c1c5089be608d8f4b2b05cc448a7fbe9
[ "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
13,634
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 data.list.basic /-! # Double universal quantification on a list This file provides an API for `list.forallβ‚‚` (definition in `data.list.defs`)...
1ad06845d78f8082f491c283c1209e927ef91df9
efa51dd2edbbbbd6c34bd0ce436415eb405832e7
/20181212_ETH/demo.lean
56b0b45a1e794dbafc739d234e4372de092eccb8
[ "Apache-2.0" ]
permissive
leanprover/presentations
dd031a05bcb12c8855676c77e52ed84246bd889a
3ce2d132d299409f1de269fa8e95afa1333d644e
refs/heads/master
1,688,703,388,796
1,686,838,383,000
1,687,465,742,000
29,750,158
12
9
Apache-2.0
1,540,211,670,000
1,422,042,683,000
Lean
UTF-8
Lean
false
false
1,343
lean
import tools.auto.finish constant Ξ± : Type constants (p q : Ξ± β†’ Prop) example : (βˆƒ a, p a ∧ q a) β†’ (βˆƒ a, p a) ∧ (βˆƒ a, q a) := Ξ» h, exists.elim h (Ξ» a ha, and.intro (exists.intro a (and.left ha)) (exists.intro a (and.right ha))) -- dot-notation shorthand example : (βˆƒ a, p a ∧ q a) β†’ (βˆƒ a, p a) ∧ (βˆƒ a, q a) := Ξ» h...
4e840dba7de6c22f310be7e6d15c6445f745ef3a
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/linear_algebra/matrix/circulant.lean
8ee4942ac5a66e8559db14532f0a7e5b9aef102e
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
7,126
lean
/- Copyright (c) 2021 Lu-Ming Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Lu-Ming Zhang -/ import linear_algebra.matrix.symmetric /-! # Circulant matrices > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to ma...
1b168dfe42f4b87f173a07597e20faf9e80aec6a
a721fe7446524f18ba361625fc01033d9c8b7a78
/src/principia/real/mul.lean
0df17f53eeed787055521b743de0e13df525904b
[]
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
16,449
lean
import .add noncomputable theory namespace hidden open myring open ordered_myring open myfield open ordered_myfield open ordered_integral_domain namespace cau_seq -- The proof is very similar to the one we use for real series in analysis. -- We bound the absolute values of each of the series above, and -- use the ...
40f6711d08b61a25f3b34d9fb6d5c585c0487615
7cef822f3b952965621309e88eadf618da0c8ae9
/src/data/dfinsupp.lean
b9443fba3c409b2734354ac7c6303496d821b381
[ "Apache-2.0" ]
permissive
rmitta/mathlib
8d90aee30b4db2b013e01f62c33f297d7e64a43d
883d974b608845bad30ae19e27e33c285200bf84
refs/heads/master
1,585,776,832,544
1,576,874,096,000
1,576,874,096,000
153,663,165
0
2
Apache-2.0
1,544,806,490,000
1,539,884,365,000
Lean
UTF-8
Lean
false
false
32,074
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...
fd308b6127137da243faa7d14ab89e8297982209
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/run/record9.lean
c32c2d56ea95865929c37b6227d05c31a78faa6a
[ "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
126
lean
constant {u} fibrant : Type u β†’ Prop structure {u} Fib : Type (u+1) := {type : Type u} (pred : fibrant type) check Fib.mk
9f9f187494e314132990a5034beb30e8e0c2b366
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/category_theory/comma.lean
6a0301726e75a3c1d63083d16be4a2e7613eba3a
[ "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
20,443
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Johan Commelin, Bhavik Mehta -/ import category_theory.isomorphism import category_theory.equivalence import category_theory.punit /-! # Comma categories A comma cate...
9c9d27adcabfa2a8e333b376a50f50020d8580cb
491068d2ad28831e7dade8d6dff871c3e49d9431
/tests/lean/run/rewrite8.lean
c398f6d3c85284c8975300e18469b9f36b2de52b
[ "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
158
lean
import data.nat open nat constant f : nat β†’ nat theorem tst1 (x y : nat) (H1 : (Ξ» z, z + 0) x = y) : f x = f y := by rewrite [β–Έ* at H1, ^add at H1, H1]
939bbda752212be0bc00547a03d9b0423d617a3b
fecda8e6b848337561d6467a1e30cf23176d6ad0
/src/data/padics/hensel.lean
7e824276629e3fb9831bdbdfc21e677e16f96210
[ "Apache-2.0" ]
permissive
spolu/mathlib
bacf18c3d2a561d00ecdc9413187729dd1f705ed
480c92cdfe1cf3c2d083abded87e82162e8814f4
refs/heads/master
1,671,684,094,325
1,600,736,045,000
1,600,736,045,000
297,564,749
1
0
null
1,600,758,368,000
1,600,758,367,000
null
UTF-8
Lean
false
false
21,392
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_integers import topology.metric_space.cau_seq_filter import analysis.specific_limits import data.polynomial.identities import topology.alge...
93215717f956213cae23505307ad9c2d9e5ea1d6
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/class1.lean
4874ec2baa5133423af4486658f18da23737a97f
[ "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
123
lean
import logic data.prod data.num open prod inhabited definition H : inhabited (Prop Γ— num Γ— (num β†’ num)) := _ print H
53c6c93cce0cf88078fcd95dff9709924c1526a7
e514e8b939af519a1d5e9b30a850769d058df4e9
/src/tactic/rewrite_search/core/backtrack.lean
7637ca051d940f44e8fb6d67e386c5772f2ce964
[]
no_license
semorrison/lean-rewrite-search
dca317c5a52e170fb6ffc87c5ab767afb5e3e51a
e804b8f2753366b8957be839908230ee73f9e89f
refs/heads/master
1,624,051,754,485
1,614,160,817,000
1,614,160,817,000
162,660,605
0
1
null
null
null
null
UTF-8
Lean
false
false
4,679
lean
import .types import .debug open tactic namespace tactic.rewrite_search variables {Ξ± Ξ² Ξ³ Ξ΄ : Type} (i : inst Ξ± Ξ² Ξ³ Ξ΄) namespace backtrack meta def backtrack_fn := inst Ξ± Ξ² Ξ³ Ξ΄ β†’ edge β†’ tactic (list edge) namespace naive meta def walk_up_parents : vertex β†’ option edge β†’ tactic (list edge) | v none := return [...
643839e5595ebbf2cf45fb423ff32cb909645314
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/local_extr.lean
4be3a73bbafde6640e308e9c4cdcf2661cf1b02a
[]
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
32,358
lean
/- Copyright (c) 2019 Yury Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury Kudryashov -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.order.filter.extr import Mathlib.topology.continuous_on import Mathlib.PostPort universe...
4ebcba154e87d2c53f08d5c00f855c9c0e3402e7
5d166a16ae129621cb54ca9dde86c275d7d2b483
/library/init/meta/async_tactic.lean
6ce3407f4798e5b5108ad807dfccd46948554842
[ "Apache-2.0" ]
permissive
jcarlson23/lean
b00098763291397e0ac76b37a2dd96bc013bd247
8de88701247f54d325edd46c0eed57aeacb64baf
refs/heads/master
1,611,571,813,719
1,497,020,963,000
1,497,021,515,000
93,882,536
1
0
null
1,497,029,896,000
1,497,029,896,000
null
UTF-8
Lean
false
false
1,843
lean
/- Copyright (c) 2017 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ prelude import init.meta.tactic import init.meta.interactive namespace tactic private meta def report {Ξ±} (s : tactic_state) : option (unit β†’ format) β†’ Ξ± | (some fmt)...
a3d4f939c55f2b9f9dd2e8aecac362ba0a49b9ea
69d4931b605e11ca61881fc4f66db50a0a875e39
/src/ring_theory/tensor_product.lean
7b70cbf03e1866210964908d57bdc5f1fc0dbd14
[ "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
15,880
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 linear_algebra.tensor_product import algebra.algebra.basic /-! # The tensor product of R-algebras We construct the R-algebra structure on `A βŠ—[R] B`, when `...
94dbceed413c1ff2d3fda5159cee10190633f60e
ee8cdbabf07f77e7be63a449b8483ce308d37218
/lean/src/valid/mathd-algebra-89.lean
ceebe7b76220061f1cf80d5a36a8d3a54b84a07e
[ "MIT", "Apache-2.0" ]
permissive
zeta1999/miniF2F
6d66c75d1c18152e224d07d5eed57624f731d4b7
c1ba9629559c5273c92ec226894baa0c1ce27861
refs/heads/main
1,681,897,460,642
1,620,646,361,000
1,620,646,361,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,069
lean
/- Copyright (c) 2021 OpenAI. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kunhao Zheng -/ import data.real.basic example (b : ℝ) (hβ‚€ : b β‰  0) : ( 7 * b ^ 3 ) ^ 2 * ( 4 * b ^ 2 ) ^ ( - ( 3:β„€ ) ) = 49/64 := begin ring, simp, calc 49 * ((4 * b ^ 2) ^ 3)⁻¹ * b ^ ...
32dd5fccc4c269bca80bb6e90d6d0875fbac6731
e9dbaaae490bc072444e3021634bf73664003760
/src/Test.lean
7f78a0e916ab9418f4586ee8abfc10e0cb84459a
[ "Apache-2.0" ]
permissive
liaofei1128/geometry
566d8bfe095ce0c0113d36df90635306c60e975b
3dd128e4eec8008764bb94e18b932f9ffd66e6b3
refs/heads/master
1,678,996,510,399
1,581,454,543,000
1,583,337,839,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
80
lean
import Geo.Background.Real def main : IO Unit := do IO.println "Hello, World!"
01cdd48ba83df3ef1926fdab4689b923be60dea9
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/number_theory/divisors.lean
026aea13d66e4a640c596e26d8d5395bd870e069
[ "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
13,500
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 algebra.big_operators.order import data.nat.interval import data.nat.prime /-! # Divisor finsets This file defines sets of divisors of a natural number. This...
dedbe2eafcf85938e57a2f943dd8dd7a5b4a5f53
09d257052fff016351aa80a67b1329d43abfa651
/library/init/data/int/basic.lean
67c8a3358b1495bf41087a5f98bf83ee06864675
[ "Apache-2.0" ]
permissive
jipsen/lean
393b0da6988eb9896c927a026694f25a9fa0736b
6f28a08d5ab7385f42c665ec2fb6895d1a65b076
refs/heads/master
1,667,767,831,701
1,592,268,582,000
1,592,268,582,000
272,565,036
0
0
Apache-2.0
1,592,263,894,000
1,592,263,893,000
null
UTF-8
Lean
false
false
23,632
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad The integers, with addition, multiplication, and subtraction. -/ prelude import init.data.nat.lemmas init.data.nat.gcd open nat /- the type, coercions, and notation -/ ...
047824e0a622168a6b5c3d3e72a2abc77931b5f2
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/algebra/homology/image_to_kernel.lean
10f622676ac23041172e60697496e81a5cd48cba
[ "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
14,731
lean
/- Copyright (c) 2021 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.subobject.limits /-! # Image-to-kernel comparison maps Whenever `f : A ⟢ B` and `g : B ⟢ C` satisfy `w : f ≫ g = 0`, we have `image_le_kernel...
574d3f888f31990c16c7ae38ce72640aede08fa0
48eee836fdb5c613d9a20741c17db44c8e12e61c
/src/util/basic.lean
e3b758d67b346c88cbc3362dd9b2f91455848051
[ "Apache-2.0" ]
permissive
fgdorais/lean-universal
06430443a4abe51e303e602684c2977d1f5c0834
9259b0f7fb3aa83a9e0a7a3eaa44c262e42cc9b1
refs/heads/master
1,592,479,744,136
1,589,473,399,000
1,589,473,399,000
196,287,552
1
1
null
null
null
null
UTF-8
Lean
false
false
430
lean
-- Copyright Β© 2019 FranΓ§ois G. Dorais. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. theorem not_exists_of_forall_not {Ξ± : Sort*} {p : Ξ± β†’ Prop} : (βˆ€ x, Β¬ p x) β†’ Β¬ (βˆƒ x, p x) := Ξ» h ⟨x, hx⟩, h x hx theorem not_exists_iff_forall_not {Ξ± : Sort*} (p : Ξ± β†’ Prop) : Β¬ (βˆƒ x, p...
29c5c8bee5f6fca5181f3bbb65aaee8932ebc9cd
c9e78e68dc955b2325401aec3a6d3240cd8b83f4
/src/pump1.lean
5248f5735a1b2875c62cb6d617f8d3884b068df6
[]
no_license
loganrjmurphy/lean-strategies
4b8dd54771bb421c929a8bcb93a528ce6c1a70f1
832ea28077701b977b4fc59ed9a8ce6911654e59
refs/heads/master
1,682,732,168,860
1,621,444,295,000
1,621,444,295,000
278,458,841
3
0
null
1,613,755,728,000
1,594,324,763,000
Lean
UTF-8
Lean
false
false
7,549
lean
import LTS justification property_catalogue.LTL.patterns -- -- define the LTS -- inductive States -- | BolusRequest -- | Alarm -- | Timeout -- | ReservoirEmpty -- | Idle -- open States -- inductive Actions -- | nil -- def InfPump : LTS := -- { S := States, Act := Actions, TR := set.univ} -- -- Boilerplate Coer...
8d7695852be08caf545e3fd56c511ef9ffefc508
dc253be9829b840f15d96d986e0c13520b085033
/homology/torus.hlean
3158cffea42d7c529094b63db0cbe5b5269f98f9
[ "Apache-2.0" ]
permissive
cmu-phil/Spectral
4ce68e5c1ef2a812ffda5260e9f09f41b85ae0ea
3b078f5f1de251637decf04bd3fc8aa01930a6b3
refs/heads/master
1,685,119,195,535
1,684,169,772,000
1,684,169,772,000
46,450,197
42
13
null
1,505,516,767,000
1,447,883,921,000
Lean
UTF-8
Lean
false
false
2,219
hlean
/- Copyright (c) 2017 Kuen-Bang Hou (Favonia). Released under Apache 2.0 license as described in the file LICENSE. Author: Kuen-Bang Hou (Favonia) -/ import .basic .sphere ..homotopy.susp_product open eq pointed group algebra circle sphere nat equiv susp function sphere homology int lift prod smash namespace h...
939fbcaba26d75284855a658aa0a76e3265eb710
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/stage0/src/Lean/LocalContext.lean
a3fa4263608619b3a86c8f65faf7b4efce7d3efb
[ "Apache-2.0" ]
permissive
dupuisf/lean4
d082d13b01243e1de29ae680eefb476961221eef
6a39c65bd28eb0e28c3870188f348c8914502718
refs/heads/master
1,676,948,755,391
1,610,665,114,000
1,610,665,114,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,854
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 Std.Data.PersistentArray import Lean.Expr import Lean.Hygiene namespace Lean inductive LocalDecl where | cdecl (index : Nat) (fvarId : FVarId) (u...
e9ce456c642b042712d583c095b08d51fe042e18
9a0b1b3a653ea926b03d1495fef64da1d14b3174
/tidy/lib/utf8.lean
1c6e4efb2d62350f2a27c9fdc3e03d5877cfea47
[ "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
1,209
lean
import data.num.bitwise import data.nat.cast import .num namespace utf8 def TAG_CONT := 0b10000000 def TAG_TWO_B := 0b11000000 def TAG_THREE_B := 0b11100000 def TAG_FOUR_B := 0b11110000 def MAX_ONE_B := 0x80 def MAX_TWO_B := 0x800 def MAX_THREE_B := 0x10000 open num def decode_char (c : char) : list char ...
4c63ab900e5ac09bbfcd4304f271f5932ba2cfac
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/category/monad/cont.lean
acbdcf264f88c829ed23d284e389c6c3ac7332f7
[ "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
8,849
lean
/- Copyright (c) 2019 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Simon Hudon Monad encapsulating continuation passing programming style, similar to Haskell's `Cont`, `ContT` and `MonadCont`: <http://hackage.haskell.org/package/mtl-2.2.2/docs/Control-Mo...
10426e5349592fb84608d5b16d1228cd419a4a41
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/set/pointwise/basic.lean
a7391f94aeb54d49ab354d0047c1bbd8d2c84060
[ "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
32,377
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 data.set.lattice import data.list.of_fn /-! # Pointwise operations of sets This file defines pointwise algebraic operations on sets. ## Ma...
2cc584ffeaac84dcf0fe6f4485b88095ef7a8d32
f083c4ed5d443659f3ed9b43b1ca5bb037ddeb58
/algebra/pi_instances.lean
f01e09b374cc2ac84e6195c3bb079ff1ba386cb2
[ "Apache-2.0" ]
permissive
semorrison/mathlib
1be6f11086e0d24180fec4b9696d3ec58b439d10
20b4143976dad48e664c4847b75a85237dca0a89
refs/heads/master
1,583,799,212,170
1,535,634,130,000
1,535,730,505,000
129,076,205
0
0
Apache-2.0
1,551,697,998,000
1,523,442,265,000
Lean
UTF-8
Lean
false
false
3,842
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 Pi instances for algebraic structures. -/ import algebra.module order.basic tactic.pi_instances namespace pi universes u v variable {I : Type u} -- The ...
fc1127b2c7722b908f08ca8ffa24cc881f705bef
1dd482be3f611941db7801003235dc84147ec60a
/src/data/padics/padic_numbers.lean
d8b53b0da664eb80a5d591e20067da7acaeea882
[ "Apache-2.0" ]
permissive
sanderdahmen/mathlib
479039302bd66434bb5672c2a4cecf8d69981458
8f0eae75cd2d8b7a083cf935666fcce4565df076
refs/heads/master
1,587,491,322,775
1,549,672,060,000
1,549,672,060,000
169,748,224
0
0
Apache-2.0
1,549,636,694,000
1,549,636,694,000
null
UTF-8
Lean
false
false
28,532
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 Define the p-adic numbers (rationals) β„š_p as the completion of β„š wrt the p-adic norm. Show that the p-adic norm extends to β„š_p, that β„š is embedded in β„š_p, and that β„š_...
f1dedc5e8860bf293fb713b99c97c7ef57424d89
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Elab/PreDefinition/WF/Main.lean
a04789019db5857abc14c79292caea8fd1bb6831
[ "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,648
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Elab.PreDefinition.Basic import Lean.Elab.PreDefinition.WF.TerminationHint import Lean.Elab.PreDefinition.WF.PackDomain import Lean.Elab.PreDefi...
e30cf15fe0c198c83211e052b33f70a2674a14e9
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/data/real/cau_seq.lean
f4db2f5dc51859102876b6f2bce86715c2c9699e
[ "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
25,977
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import algebra.big_operators.order /-! # Cauchy sequences A basic theory of Cauchy sequences, used in the construction of the reals and p-adic numbers. Where applic...
b5385ec55ad21cfb96ef202116c4f454e8d7fa2e
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/real/cau_seq_completion.lean
679f3e3f7153e4f37b1ad10e3849ee60eb61b859
[ "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,452
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Robert Y. Lewis Generalizes the Cauchy completion of (β„š, abs) to the completion of a commutative ring with absolute value. -/ import data.real.cau_seq namespace cau_s...
b9da19da639f88e5557dab02bfcb7516803438ce
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/algebraic_geometry/sheafed_space.lean
295086a2ebf33525e36102cccc3ccc5a2efc99a0
[ "Apache-2.0" ]
permissive
agjftucker/mathlib
d634cd0d5256b6325e3c55bb7fb2403548371707
87fe50de17b00af533f72a102d0adefe4a2285e8
refs/heads/master
1,625,378,131,941
1,599,166,526,000
1,599,166,526,000
160,748,509
0
0
Apache-2.0
1,544,141,789,000
1,544,141,789,000
null
UTF-8
Lean
false
false
3,771
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 algebraic_geometry.presheafed_space import topology.sheaves.sheaf /-! # Sheafed spaces Introduces the category of topological spaces equipped with a sheaf (t...
694bd8d91f3d6276c0a0f13454d1c90920e4a37d
78269ad0b3c342b20786f60690708b6e328132b0
/src/library_dev/data/nat/basic.lean
2f88a8543a4f68af12ed8948be9754fb37c58c9b
[]
no_license
dselsam/library_dev
e74f46010fee9c7b66eaa704654cad0fcd2eefca
1b4e34e7fb067ea5211714d6d3ecef5132fc8218
refs/heads/master
1,610,372,841,675
1,497,014,421,000
1,497,014,421,000
86,526,137
0
0
null
1,490,752,133,000
1,490,752,132,000
null
UTF-8
Lean
false
false
3,249
lean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Leonardo de Moura, Jeremy Avigad Basic operations on the natural numbers. -/ import super.prover open tactic namespace nat -- TODO(gabriel): can we drop addl? /-...
f2dca5ebb7be69c9c610a72833241a2ee501678f
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Data/Occurrences.lean
02109c7c71e4164f2351c957c21a4a142bc7ba89
[ "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
544
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 -/ namespace Lean inductive Occurrences where | all | pos (idxs : List Nat) | neg (idxs : List Nat) deriving Inhabited, BEq def Occurrences.contains :...
080668aeef47bd8239f55a813e982b81cecc83e3
82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7
/src/Lean/Compiler/IR/Boxing.lean
d24fd5bffee49464111bc625b73ea127eb8d9ff6
[ "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
13,259
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.Runtime import Lean.Compiler.ClosedTermCache import Lean.Compiler.ExternAttr import Lean.Compiler.IR.Basic import Lean.Compiler.IR.CompilerM imp...
f79849e8bc487383d1e2ca51aeec3e8d2020a156
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/ring_theory/integral_domain.lean
d48eb2aad8b84cbb3a74a90e80dbe1ded24e7538
[ "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
7,854
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Chris Hughes -/ import data.fintype.card import data.polynomial.ring_division import group_theory.specific_groups.cyclic import algebra.geom_sum /-! # Integral domain...