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
d595d1d1ed6b35e4b2387160ddb72842f200a43b
94637389e03c919023691dcd05bd4411b1034aa5
/src/inClassNotes/langs/imp.lean
5a034aefae8e554e837bb6925018882e65a78a81
[]
no_license
kevinsullivan/complogic-s21
7c4eef2105abad899e46502270d9829d913e8afc
99039501b770248c8ceb39890be5dfe129dc1082
refs/heads/master
1,682,985,669,944
1,621,126,241,000
1,621,126,241,000
335,706,272
0
38
null
1,618,325,669,000
1,612,374,118,000
Lean
UTF-8
Lean
false
false
5,285
lean
import .arith_expr import .bool_expr /- A little PL in which we have mutable state and an update (assignment) operation. -/ /- We don't have mutable state in a pure functional language -/ def x := 1 -- def x := 2 -- structure avar : Type := (idx : nat) def X := avar.mk 0 def Y := avar.mk 1 def Z := avar.mk 2 def ...
d761434aa409976463a5a9a5c82e57551ffac699
958488bc7f3c2044206e0358e56d7690b6ae696c
/lean/tutorials/tutorial0.lean
b80f40653a8acc1a1bafcd7ff69a7ae84767a9ba
[]
no_license
possientis/Prog
a08eec1c1b121c2fd6c70a8ae89e2fbef952adb4
d4b3debc37610a88e0dac3ac5914903604fd1d1f
refs/heads/master
1,692,263,717,723
1,691,757,179,000
1,691,757,179,000
40,361,602
3
0
null
1,679,896,438,000
1,438,953,859,000
Coq
UTF-8
Lean
false
false
4,772
lean
import data.real.basic import tactic.suggest noncomputable theory open_locale classical --#check upper_bounds def up_bounds (A : set ℝ) := { a : ℝ | ∀ x ∈ A, x ≤ a } def is_max (a : ℝ) (A : set ℝ) := a ∈ A ∧ a ∈ up_bounds A infix ` is_a_max_of `:55 := is_max lemma unique_max : ∀ (A : set ℝ) (x y : ℝ), x is_a_ma...
7493af5189eaec1d9c7ea39d07785b3a8c71cd39
624f6f2ae8b3b1adc5f8f67a365c51d5126be45a
/tests/lean/run/natlit.lean
8c0f61426ec7673aca9ac48c025fc230566e3b78
[ "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
188
lean
new_frontend def tst1 : 0 + 1 = 1 := rfl def tst2 : 2 + 3 = 5 := rfl def tst3 : 4 + 3 = 7 := rfl def tst4 : 0 + 3 = 3 := rfl def tst5 : 1 + 3 = 4 := rfl def tst6 : 100 + 100 = 200 := rfl
dac32eaddc7ed2fe157ac5385f12ebe7c059a62b
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/group_theory/quaternion_group.lean
824735264d8ed4d1e37ed7a8a50664fbdccb1082
[ "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
8,079
lean
/- Copyright (c) 2021 Julian Kuelshammer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julian Kuelshammer -/ import data.zmod.basic import group_theory.order_of_element import data.nat.basic import tactic.interval_cases import group_theory.dihedral_group /-! # Quate...
e83dce8f20692b3dadfd0e9742e5e0ab9448b557
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/divisibility_auto.lean
1c43dd2981db5dd10863525c10bae7f7e9d3b955
[]
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
9,132
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, Aaron Anderson -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default im...
3fa846994dee2b0f45b6d17567d8289b4f228293
abd85493667895c57a7507870867b28124b3998f
/src/analysis/normed_space/enorm.lean
725e401a2ad03990d9ef738fe0db1fa8718b025d
[ "Apache-2.0" ]
permissive
pechersky/mathlib
d56eef16bddb0bfc8bc552b05b7270aff5944393
f1df14c2214ee114c9738e733efd5de174deb95d
refs/heads/master
1,666,714,392,571
1,591,747,567,000
1,591,747,567,000
270,557,274
0
0
Apache-2.0
1,591,597,975,000
1,591,597,974,000
null
UTF-8
Lean
false
false
7,504
lean
/- Copyright (c) 2020 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Yury G. Kudryashov -/ import analysis.normed_space.basic /-! # Extended norm In this file we define a structure `enorm 𝕜 V` representing an extended norm (i.e., a norm that can t...
1a774fa536cf5a8b7d6dced6c263de6a9ed45914
b29f946a2f0afd23ef86b9219116968babbb9f4f
/src/Bolzano_Weierstrass.lean
f98bf1687d0a5b5bcee91bd1445aa0b850940f60
[ "Apache-2.0" ]
permissive
ImperialCollegeLondon/M1P1-lean
58be7394fded719d95e45e6b10e1ecf2ed3c7c4c
3723468cc50f8bebd00a9811caf25224a578de17
refs/heads/master
1,587,063,867,779
1,572,727,164,000
1,572,727,164,000
165,845,802
14
4
Apache-2.0
1,549,730,698,000
1,547,554,675,000
Lean
UTF-8
Lean
false
false
2,192
lean
import monotone limits theorem bdd_above_of_is_bounded (f : ℕ → ℝ) (hfb : M1P1.is_bounded f) : bdd_above (set.range f) := let ⟨M, hm⟩ := hfb in ⟨M, λ y ⟨n, hn⟩, hn ▸ (abs_le.1 (hm n)).2⟩ theorem bdd_below_of_is_bounded (f : ℕ → ℝ) (hfb : M1P1.is_bounded f) : bdd_below (set.range f) := let ⟨M, hm⟩ := hfb in ⟨-M, λ y ⟨...
c442c9a49e48935b9c5e498fcfea476a7167393f
3f7026ea8bef0825ca0339a275c03b911baef64d
/src/group_theory/quotient_group.lean
2e44d8241c74f0c0607d6e3803d78d6c29c20b76
[ "Apache-2.0" ]
permissive
rspencer01/mathlib
b1e3afa5c121362ef0881012cc116513ab09f18c
c7d36292c6b9234dc40143c16288932ae38fdc12
refs/heads/master
1,595,010,346,708
1,567,511,503,000
1,567,511,503,000
206,071,681
0
0
Apache-2.0
1,567,513,643,000
1,567,513,643,000
null
UTF-8
Lean
false
false
7,183
lean
/- Copyright (c) 2018 Kevin Buzzard and Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, Patrick Massot. This file is to a certain extent based on `quotient_module.lean` by Johannes Hölzl. -/ import group_theory.coset universes u v names...
32fb14d3a1555efa122c89bcf6296845e286abef
592ee40978ac7604005a4e0d35bbc4b467389241
/Library/generated/mathscheme-lean/LeftCancellative.lean
ac7c4889047a61a3caaa9834a919207debf6b92c
[]
no_license
ysharoda/Deriving-Definitions
3e149e6641fae440badd35ac110a0bd705a49ad2
dfecb27572022de3d4aa702cae8db19957523a59
refs/heads/master
1,679,127,857,700
1,615,939,007,000
1,615,939,007,000
229,785,731
4
0
null
null
null
null
UTF-8
Lean
false
false
8,836
lean
import init.data.nat.basic import init.data.fin.basic import data.vector import .Prelude open Staged open nat open fin open vector section LeftCancellative structure LeftCancellative (A : Type) : Type := (op : (A → (A → A))) (linv : (A → (A → A))) (leftCancel : (∀ {x y : A} , (op x (linv x y...
aa3921fc9918c4391b99f95a07d0747138b98d94
d436468d80b739ba7e06843c4d0d2070e43448e5
/src/category_theory/limits/shapes/terminal.lean
6bd48914267f4e57be58f4af8983d3be4757bc43
[ "Apache-2.0" ]
permissive
roro47/mathlib
761fdc002aef92f77818f3fef06bf6ec6fc1a28e
80aa7d52537571a2ca62a3fdf71c9533a09422cf
refs/heads/master
1,599,656,410,625
1,573,649,488,000
1,573,649,488,000
221,452,951
0
0
Apache-2.0
1,573,647,693,000
1,573,647,692,000
null
UTF-8
Lean
false
false
1,940
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import category_theory.limits.shapes.finite_products import category_theory.pempty universes v u open category_theory namespace category_theory.limits variables (...
bbf8c8e0a47720460f53f92d6bb0ae9bd1b66db4
a11f4536efad51bc2b648123619720f3b9318c0f
/src/symm_trans_refl.lean
813becf816a0c89e80fbd69f550a2f95e5331ccc
[]
no_license
ezrasitorus/codewars_lean
909471d43f5130669a90b8e11afc37aec2f21d8f
6d1abcc1253403511f4cfd767c645596175e4fd3
refs/heads/master
1,672,659,589,352
1,603,281,507,000
1,603,281,507,000
288,579,451
0
0
null
null
null
null
UTF-8
Lean
false
false
428
lean
def bad_theorem : Prop := ∀ (α : Type) (r : α → α → Prop), symmetric r → transitive r → reflexive r def fail (a b : unit): Prop := false theorem fail_symm : symmetric fail := λ x y h, h theorem fail_trans : transitive fail := λ x y z h1 _, false.rec (fail x z) h1 -- theorem not_refl_fail : ¬ reflexive fail := λ a, ...
ddfca1ffe50bb52c76ebec19cd30a287f4e5dbea
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/order/preorder_hom.lean
eb33a3ee73cba59e2d51f78f59946284bc83a1db
[ "Apache-2.0" ]
permissive
waynemunro/mathlib
e3fd4ff49f4cb43d4a8ded59d17be407bc5ee552
065a70810b5480d584033f7bbf8e0409480c2118
refs/heads/master
1,693,417,182,397
1,634,644,781,000
1,634,644,781,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
18,394
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 logic.function.iterate import order.bounded_lattice import order.complete_lattice import tactic.monotonicity /-! # Preorder homomorphisms This file defines p...
a46011c6b1e1e80198974e7aefa27e9eb54fff52
8e6cad62ec62c6c348e5faaa3c3f2079012bdd69
/src/topology/uniform_space/cauchy.lean
e2906cf63b63c48fb4bc55e57faab0315a6a53d1
[ "Apache-2.0" ]
permissive
benjamindavidson/mathlib
8cc81c865aa8e7cf4462245f58d35ae9a56b150d
fad44b9f670670d87c8e25ff9cdf63af87ad731e
refs/heads/master
1,679,545,578,362
1,615,343,014,000
1,615,343,014,000
312,926,983
0
0
Apache-2.0
1,615,360,301,000
1,605,399,418,000
Lean
UTF-8
Lean
false
false
27,036
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 topology.uniform_space.basic import topology.bases import data.set.intervals /-! # Theory of Cauchy filters in uniform spaces. Complete uniform...
37374369dda60f955c91361e1ca89b3ff5bcce6b
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/algebra/ring/basic_auto.lean
e1222e4e317481db8df65315c507a564196b8d61
[]
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
47,329
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.alg...
64188cbe199338733f79a2f45415ecc9f9d072b7
63abd62053d479eae5abf4951554e1064a4c45b4
/src/algebra/ring_quot.lean
f5ab3683a3fe11cf25c54e12530e4a42d6e42ae4
[ "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
11,343
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import algebra.algebra.basic import ring_theory.ideal.basic /-! # Quotients of non-commutative rings Unfortunately, ideals have only been developed in the commutati...
06552e54c622188695d0b6979c7a2b8532e0bcd6
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/set_theory/ordinal_arithmetic_auto.lean
12a518b758812b5bd0334c2c3d64d0cfbcec0fe7
[]
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
45,280
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.set_theory.ordinal import Mathlib.PostPort universes u_1 u_2 u u_3 v namespace Mathlib /...
cad6d2b6f92d0bed2bb5fd404858ea711624d8c1
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebraic_geometry/Gamma_Spec_adjunction.lean
566db61904700bbad149cdc8d2f23e689c49db46
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
16,251
lean
/- Copyright (c) 2021 Junyan Xu. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Junyan Xu -/ import algebraic_geometry.Scheme import category_theory.adjunction.limits import category_theory.adjunction.reflective /-! # Adjunction between `Γ` and `Spec` > THIS FILE IS ...
36199a971db559c91856888a8a0b8ed68c777dc5
b7f22e51856f4989b970961f794f1c435f9b8f78
/library/algebra/interval.lean
57dfd054ab5d3dc5c6524b59507ea2ca0d7de355
[ "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
6,538
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad Notation for intervals and some properties. The mnemonic: o = open, c = closed, i = infinity. For example, Ioi a b is '(a, ∞). -/ import .order data.set open set namespa...
c256cafe2a18090f71a30ffacf379b5ea4c791c2
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Init/Data/Nat/Div.lean
31fe788f175d5d4f3d3beb5d8e0d47858460cab9
[ "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
6,235
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.WF import Init.WFTactics import Init.Data.Nat.Basic namespace Nat theorem div_rec_lemma {x y : Nat} : 0 < y ∧ y ≤ x → x - y < x := fu...
c31b8efd2bb3397d3cfe815bfe32ec7c27759af7
94d8c57c0a90adc01592a2509d65a360540671a9
/M1F/2017-18/Example_Sheet_02/solutions.lean
313eafa6d19af46262594c3900439524b3137ac2
[]
no_license
TudorTitan/xena
ee58125263b84ca8787ea46778e7b4838c7b3057
389b9c40c43b26139722c88763f4d04d85467e0f
refs/heads/master
1,628,408,454,654
1,510,265,443,000
1,510,265,443,000
110,169,835
0
0
null
1,510,264,043,000
1,510,264,043,000
null
UTF-8
Lean
false
false
19,135
lean
import xenalib.M1Fstuff algebra.group_power xenalib.square_root -- automatic coercions to reals section M1F_Sheet02 -- #check arbitrary -- #print arbitrary -- #check default -- #print default -- ask about this /- example : arbitrary = default := begin unfold eq, end -/ -- set_option pp.all true def countable...
3aece32162bf881b69f9e3907ae100cf16cf4b56
95dcf8dea2baf2b4b0a60d438f27c35ae3dd3990
/src/tactic/explode.lean
ef4ee54d30b547d6b85d629ba9f662f9d2d69299
[ "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
5,271
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Displays a proof term in a line by line format somewhat akin to a Fitch style proof or the Metamath proof style. -/ import tactic.basic meta.coinductive_predicates open ...
ad8ea0861be85203145001903579aa9a05093435
17d632ea5f1f2c2ec209290d6ba2172413c7247d
/.config.lean
95a10d70f4d554b76ff50250329bf47aff3e3afc
[ "MIT" ]
permissive
zzc1308/MT1300
3ae434cbb5a874edd365719d6e8667b88de5a14d
ace57539645f4ac7f8170b95bb20e72849b34f15
refs/heads/main
1,677,561,804,582
1,612,434,366,000
1,612,434,366,000
335,842,283
0
0
MIT
1,612,414,537,000
1,612,414,537,000
null
UTF-8
Lean
false
false
248,665
lean
# # Automatically generated file; DO NOT EDIT. # OpenWrt Configuration # CONFIG_MODULES=y CONFIG_HAVE_DOT_CONFIG=y # CONFIG_TARGET_sunxi is not set # CONFIG_TARGET_apm821xx is not set # CONFIG_TARGET_ath25 is not set # CONFIG_TARGET_ar71xx is not set # CONFIG_TARGET_ath79 is not set # CONFIG_TARGET_bcm27xx is not se...
6711a56247cd8726f903cdfc198584744fa797cf
8e2026ac8a0660b5a490dfb895599fb445bb77a0
/tests/lean/run/record10.lean
bd97747ef01036e1e635de3bb3ec354f0137f02c
[ "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
452
lean
#print prefix semigroup #print "=======================" structure [class] has_two_muls (A : Type) extends has_mul A renaming mul→mul1, private has_mul A renaming mul→mul2 #print prefix has_two_muls #print "=======================" structure [class] another_two_muls (A : T...
23f2dcf2fa1ecd518fdbef6ed5bcc4c78cf07ff3
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/data/list/basic.lean
92706a397bd83cc53b74b07c69e7c8ae2436fff1
[ "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
187,119
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 -/ import algebra.order_functions import control.monad.basic import data.nat.choose.basic import ...
66cadd90f5759332570b834c120eaf8a201325c8
5c4a0908390c4938ae21bc616ff2a969ce62fd76
/library/theories/analysis/metric_space.lean
386c1ec805dc45500668920e5652c03786d231e2
[ "Apache-2.0" ]
permissive
Bpalkmim/lean
968be8a73a06fa6db19073cd463d2093464dc0f6
994815bc7793f5765beb693c82341cf01d20d807
refs/heads/master
1,610,964,748,106
1,455,564,675,000
1,455,564,675,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
27,638
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad Metric spaces. -/ import data.real.complete data.pnat data.list.sort ..topology.basic data.set open nat real eq.ops classical structure metric_space [class] (M : Type) : ...
b246a5267bc739165889c3cd96b04626a8dfe720
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/monoidal/opposite.lean
ff8730fff478e63b7c22e9d6631cfec697711365
[ "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
5,328
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.monoidal.coherence /-! # Monoidal opposites > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR ...
c15f615ae60379e6efe0392b68d365d0b6613303
827124860511172deb7ee955917c49b2bccd1b3c
/data/containers/utils/option.lean
7faf7531c80e00f68d85ed30072a84bd683506c5
[]
no_license
joehendrix/lean-containers
afec24c7de19c935774738ff3a0415362894956c
ef6ff0533eada75f18922039f8312badf12e6124
refs/heads/master
1,624,853,911,199
1,505,890,599,000
1,505,890,599,000
103,489,962
1
1
null
null
null
null
UTF-8
Lean
false
false
543
lean
/- Additional theroems for option. -/ namespace option theorem failure_is_none (α : Type _) : (failure : option α) = none := rfl theorem coe_is_some {α : Type _} (x:α) : (coe x : option α) = some x := rfl theorem or_else_none {α : Type _} (x : option α) : (x <|> none) = x := begin cases x; trivial, end theorem no...
a89f8753a291d3a71f3711da8daa161809cf2ae0
bb31430994044506fa42fd667e2d556327e18dfe
/src/data/nat/cast/basic.lean
adee13377c6d0bae31ed1e5255110d816068a21d
[ "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
9,691
lean
/- Copyright (c) 2014 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import algebra.char_zero.defs import algebra.group_with_zero.commute import algebra.hom.ring import algebra.order.group.abs import algebra.ring.commute import data.na...
89f6b7bbb8cabf9cba1bd19d430a80298f105286
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/data/multiset/fold.lean
bf1ca0366fe5d2cbf62bb0c398e60e4f61afbfdd
[ "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
3,767
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import data.multiset.erase_dup /-! # The fold operation for a commutative associative operation over a multiset. -/ namespace multiset variables {α β : Type*} /-! #...
0976fccd26722a146dea61eee2b0fdb8fe85a52a
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/ring_theory/integral_closure.lean
2ae462db1a8f936a4efc5e25bb3da98b570b7f2a
[ "Apache-2.0" ]
permissive
waynemunro/mathlib
e3fd4ff49f4cb43d4a8ded59d17be407bc5ee552
065a70810b5480d584033f7bbf8e0409480c2118
refs/heads/master
1,693,417,182,397
1,634,644,781,000
1,634,644,781,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
33,093
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.adjoin.fg import ring_theory.polynomial.scale_roots import ring_theory.polynomial.tower /-! # Integral closure of a subring. If A is an R-algebra then `a :...
22773d549b7a868dab11ca3ee71267f87ae03460
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/topology/homeomorph_auto.lean
b0d674e53baeb810b16040fcb5e82677e3536a08
[]
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
17,597
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Patrick Massot, Sébastien Gouëzel, Zhouhang Zhou, Reid Barton -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.topology.dense_embedding import...
2623e5fe6d7e4e308eca0113c0befbf7001417e7
8d65764a9e5f0923a67fc435eb1a5a1d02fd80e3
/src/tactic/lint/frontend.lean
4e928aad7c338f1576d85cacb687bf6dfcf8f2e1
[ "Apache-2.0" ]
permissive
troyjlee/mathlib
e18d4b8026e32062ab9e89bc3b003a5d1cfec3f5
45e7eb8447555247246e3fe91c87066506c14875
refs/heads/master
1,689,248,035,046
1,629,470,528,000
1,629,470,528,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
13,857
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, Robert Y. Lewis, Gabriel Ebner -/ import tactic.lint.basic /-! # Linter frontend and commands This file defines the linter commands which spot common mistakes in ...
99f6d492dbd2d6330008eed35d8499a2366f3366
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/tactic/lint/misc.lean
172dba10b4bd738b4079c582c779c873cb6513fe
[ "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,375
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, Robert Y. Lewis -/ import tactic.lint.basic /-! # Various linters This file defines several small linters: - `ge_or_gt` checks that `>` and `≥` do not occur in ...
a1ed17cf5b2f9a7c1c7145b3169d2ec5545b0737
8e2026ac8a0660b5a490dfb895599fb445bb77a0
/library/init/category/functor.lean
2a7e2a75a5c76e5c0884c1fc6015b5593147f1f1
[ "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
1,256
lean
/- Copyright (c) Luke Nelson and Jared Roesch. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Luke Nelson, Jared Roesch, Sebastian Ullrich -/ prelude import init.core init.function init.meta.name open function universes u v section set_option auto_param.check_exists f...
a6ca9950d0e0f91ba0b7beb1fd77e8154afd3c56
9ad8d18fbe5f120c22b5e035bc240f711d2cbd7e
/src/data/nat/square_free.lean
be74f25b2fda29348a82c99f6f6fd659e2353483
[]
no_license
agusakov/lean_lib
c0e9cc29fc7d2518004e224376adeb5e69b5cc1a
f88d162da2f990b87c4d34f5f46bbca2bbc5948e
refs/heads/master
1,642,141,461,087
1,557,395,798,000
1,557,395,798,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,653
lean
import data.nat.prime data.multiset import data.list_extra data.multiset_extra namespace nat lemma list.coprime_prod {n : ℕ} {l : list ℕ} (h : list.all_prop (coprime n) l) : coprime n l.prod := begin induction l with m l ih, {rw[list.prod_nil],exact coprime_one_right n}, {rw[list.all_prop] at h,rw[list.prod_con...
259060e9acc5a77880230bb76e1c9e8f8be0d941
9dc8cecdf3c4634764a18254e94d43da07142918
/counterexamples/homogeneous_prime_not_prime.lean
9532317504c1c8f898dde5e6a501340d86d2fab4
[ "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
5,645
lean
/- Copyright (c) 2022 Jujian Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Eric Wieser, Jujian Zhang -/ import ring_theory.graded_algebra.homogeneous_ideal import data.zmod.basic import tactic.derive_fintype /-! # A homogeneous prime that is ho...
e44ef9b563a27302d1db2034fca05c428ab251f1
cc104245380aa3287223e0e350a8319e583aba37
/src/h1.lean
328a23be2b34218cc24320a2ce469138753382ad
[]
no_license
anca797/group-cohomology
7d10749d28430d30698e7ec0cc33adbac97fe5e7
f896dfa5057bd70c6fbb09ee6fdc26a7ffab5e5d
refs/heads/master
1,591,037,800,699
1,561,424,571,000
1,561,424,571,000
190,891,710
3
0
null
null
null
null
UTF-8
Lean
false
false
22,655
lean
import h0 import group_theory.quotient_group theorem function.lift_aux {X : Type*} {Y : Type*} {Z : Type*} (f : X → Y) (i : Z → Y) (h2 : set.range f ⊆ set.range i) (x : X) : ∃ z : Z, i z = f x := begin show f x ∈ set.range i, apply h2, use x, end noncomputable def function.lift {X : Type*} {Y : Type*} {Z : Type*} (f...
28a993ba8beaf7c15b013c85dda6b58762e4e0e0
f57749ca63d6416f807b770f67559503fdb21001
/library/data/nat/bigops.lean
58e90b2345b412d9cc5450111e74780c5f61e9bd
[ "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
5,066
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad Finite products and sums on the natural numbers. -/ import data.nat.basic data.nat.order algebra.group_bigops open list finset namespace nat open [classes] algebr...
f64e6e91ebf6ab2115c162cf98dc178fe63c7d64
67190c9aacc0cac64fb4463d93e84c696a5be896
/Lists of exercises/List 3/capitulo-05-LucasDomingues.lean
f76ae8f6ef1fd13acad379c071c2926d001a2d54
[]
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
7,564
lean
variables A B C D E F P Q R: Prop open classical theorem exercise_1 (h1 : ¬ A → false) (h2 : A ∨ ¬ A) : A := or.elim h2 (assume h3 : A, h3) (assume h4 : ¬ A, have h5 : false, from h1 h4, show A, from false.elim h5) theorem exercise_2 (h1 : ¬ A ∨ ¬ B) : ¬ (A ∧ B) := assume h2 : A ∧ B, have h3 : ...
19be5a958f6f4787ae2295da0321eee3d957fcda
2cf781335f4a6706b7452ab07ce323201e2e101f
/lean/deps/sexpr/src/galois/char_reader.lean
44638e94bb2aaadf092db87d80a95c8b029a3603
[ "Apache-2.0" ]
permissive
simonjwinwood/reopt-vcg
697cdd5e68366b5aa3298845eebc34fc97ccfbe2
6aca24e759bff4f2230bb58270bac6746c13665e
refs/heads/master
1,586,353,878,347
1,549,667,148,000
1,549,667,148,000
159,409,828
0
0
null
1,543,358,444,000
1,543,358,444,000
null
UTF-8
Lean
false
false
7,733
lean
/- This defines an interface for reading characters with one-character lookahead. -/ import data.buffer import system.io import galois.data.list ------------------------------------------------------------------------ -- is_parse_error class is_parse_error (ε : Type _) := (end_of_input {} : ε) namespace is_parse_err...
fc6e97dfe42024574f5f47a9895959e514ee0f87
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Util/ForEachExpr.lean
d8902efe403b362bd0eca36ed9dcb52feac1f113
[ "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,465
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.Expr import Lean.Util.MonadCache namespace Lean /-! Remark: we cannot use the caching trick used at `FindExpr` and `ReplaceExpr` because they m...
50b675d2eba98a179ff647d8d8cc0d86656e5b94
cc060cf567f81c404a13ee79bf21f2e720fa6db0
/lean/20170607-eblast-example.lean
4abf0ee7cd526e588086e0ac0af3cf0e5fcc9cde
[ "Apache-2.0" ]
permissive
semorrison/proof
cf0a8c6957153bdb206fd5d5a762a75958a82bca
5ee398aa239a379a431190edbb6022b1a0aa2c70
refs/heads/master
1,610,414,502,842
1,518,696,851,000
1,518,696,851,000
78,375,937
2
1
null
null
null
null
UTF-8
Lean
false
false
1,712
lean
structure Category := ( Obj : Type ) ( Hom : Obj → Obj → Type ) (compose : Π { X Y Z : Obj }, Hom X Y → Hom Y Z → Hom X Z) (associativity : ∀ { W X Y Z : Obj } (f : Hom W X) (g : Hom X Y) (h : Hom Y Z), compose (compose f g) h = compose f (compose g h)) attribute [ematch] Category.associativity structur...
1c920e78271995b1a4855de17f765b9f9eb272f2
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/algebra/group/ulift.lean
325d4c700945522ee3a6f224ec6b93789bdbc1e2
[ "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
4,405
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import data.equiv.mul_add /-! # `ulift` instances for groups and monoids This file defines instances for group, monoid, semigroup and related structures on `ulift` ...
0d56fe9dafc011871bb45e7d8a3aa1308a1a51ea
271e26e338b0c14544a889c31c30b39c989f2e0f
/tests/bench/qsort.lean
d5c85b119bde2a45d29f9f2194265727e8436481
[ "Apache-2.0" ]
permissive
dgorokho/lean4
805f99b0b60c545b64ac34ab8237a8504f89d7d4
e949a052bad59b1c7b54a82d24d516a656487d8a
refs/heads/master
1,607,061,363,851
1,578,006,086,000
1,578,006,086,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,403
lean
abbrev Elem := UInt32 def badRand (seed : Elem) : Elem := seed * 1664525 + 1013904223 def mkRandomArray : Nat → Elem → Array Elem → Array Elem | 0, seed, as => as | i+1, seed, as => mkRandomArray i (badRand seed) (as.push seed) partial def checkSortedAux (a : Array Elem) : Nat → IO Unit | i => if i < a.size - 1 ...
34c75d517aab7f6e0906af7cfc7a2dc7d7baea02
57fdc8de88f5ea3bfde4325e6ecd13f93a274ab5
/set_theory/cofinality.lean
668bfb6f733349e9865a215deefa9f3d1b43b0fd
[ "Apache-2.0" ]
permissive
louisanu/mathlib
11f56f2d40dc792bc05ee2f78ea37d73e98ecbfe
2bd5e2159d20a8f20d04fc4d382e65eea775ed39
refs/heads/master
1,617,706,993,439
1,523,163,654,000
1,523,163,654,000
124,519,997
0
0
Apache-2.0
1,520,588,283,000
1,520,588,283,000
null
UTF-8
Lean
false
false
16,762
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Cofinality on ordinals, regular cardinals. -/ import set_theory.ordinal noncomputable theory open function cardinal local attribute [instance] classical.prop_decidable ...
463a67d2c202b3929f493cd0974fcb9626d7d382
90edd5cdcf93124fe15627f7304069fdce3442dd
/stage0/src/Lean/Aesop/MutAltTree.lean
9119148cb326de850404df5ae5c59ee056670ddd
[ "Apache-2.0" ]
permissive
JLimperg/lean4-aesop
8a9d9cd3ee484a8e67fda2dd9822d76708098712
5c4b9a3e05c32f69a4357c3047c274f4b94f9c71
refs/heads/master
1,689,415,944,104
1,627,383,284,000
1,627,383,284,000
377,536,770
0
0
null
null
null
null
UTF-8
Lean
false
false
5,201
lean
/- Copyright (c) 2021 Jannis Limperg. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jannis Limperg -/ import Lean.Aesop.Util universe u namespace Lean.Aesop /-! ## Unsafe Construction of `MutAltTree` -/ namespace MutAltTree.Internal -- Workaround for a compiler ...
e5d9846ae9dbd636576e90f30f2d117c8e50e5d2
406917967313cd8926a5a79666c51fad41d8670f
/lib/Main.lean
ab8794167a6c4bd222c8a850d05aa0adcb931378
[ "MIT" ]
permissive
hargoniX/lean4-statvfs
a3c15f51e2714f9fd5a77725fc618831838b46ae
458370ad201d2c2820189a474fd8701ff7a940c5
refs/heads/main
1,693,550,798,436
1,634,894,543,000
1,634,894,543,000
417,835,011
1
0
null
null
null
null
UTF-8
Lean
false
false
565
lean
/- Copyright (c) 2021 Henrik Böving. All rights reserved. Released under MIT license as described in the file LICENSE. Authors: Henrik Böving -/ import Statvfs open System def main (args : List String) : IO UInt32 := do if h : args = [] then IO.println "Missing argument: path" return 1 else let ...
f02e654d234a2520dc915a28b267db32e42a6097
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/def16.lean
ff03909d5696308cbc22b6a238db20c251edefdb
[ "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
282
lean
new_frontend def half : Nat → Nat | 0 => 0 | 1 => 0 | (x+2) => half x + 1 theorem half0 : half 0 = 0 := rfl theorem half1 : half 1 = 0 := rfl theorem half_succ_succ (a : Nat) : half (a + 2) = half a + 1 := rfl example : half 5 = 2 := rfl example : half 8 = 4 := rfl
25d0047386e2b20292d76049d415a87e86105953
1cc8cf59a317bf12d71a5a8ed03bfc1948c66f10
/src/problem_sheets/sheet_1/sht01Q01.lean
54499f4c182822d132ad1789158d786be8c28ae4
[ "Apache-2.0" ]
permissive
kckennylau/M1P1-lean
1e4fabf513539669f86a439af6844aa078c239ad
c92e524f3e4e7aec5dc09e05fb8923cc9720dd34
refs/heads/master
1,587,503,976,663
1,549,715,955,000
1,549,715,955,000
169,875,735
1
0
Apache-2.0
1,549,722,917,000
1,549,722,917,000
null
UTF-8
Lean
false
false
3,094
lean
-- This import gives us a working copy of the real numbers ℝ, -- and functions such as abs : ℝ → ℝ import data.real.basic -- This next import gives us several tactics of use to mathematicians: -- (1) norm_num [to prove basic facts about reals like 2+2 = 4] -- (2) ring [to prove basic algebra identities like (a+b)^2 =...
4d256d11dd129f538d8be27fa86a1d6ab5ce4aab
5c7fe6c4a9d4079b5457ffa5f061797d42a1cd65
/src/exercises/src_04_theorems.lean
aa88559d3de4514c1a4db6bdd7595808c4cee516
[]
no_license
gihanmarasingha/mth1001_tutorial
8e0817feeb96e7c1bb3bac49b63e3c9a3a329061
bb277eebd5013766e1418365b91416b406275130
refs/heads/master
1,675,008,746,310
1,607,993,443,000
1,607,993,443,000
321,511,270
3
0
null
null
null
null
UTF-8
Lean
false
false
2,642
lean
variables p q r : Prop namespace mth1001 section theorems -- Exercise 028: /- A theorem is a mechanism for naming a result. By _applying_ a theorem, we can produce new results. Here is a theorem with its proof left as an exercise. -/ theorem and_of_and : p ∧ q → q ∧ p := begin sorry end /- The _type_ of any ex...
9c7cfcfd6bf11fbb317c0fc62b18378ed9dedd3c
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/data/finset/fold.lean
791971ddb90f2a8208529b7e2f1d4b5bcd78defc
[ "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,786
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.finset.basic import data.multiset.fold /-! # The fold operation for a commutative associative operation over a finset. -/ namespace finset open multiset...
4699c2175b4e06c9f8f8aced67ccec56bf72301e
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/topology/homeomorph.lean
8c77e3ca042cd6ffc90b80cd455bd7ae5773e03c
[ "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
6,513
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Patrick Massot, Sébastien Gouëzel, Zhouhang Zhou, Reid Barton -/ import topology.subset_properties topology.dense_embedding open set variables {α : Type*} {β : Type*} {γ...
157ee6e12bdd1088f9c6751f0d84a68ccf4d5eab
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/linear_algebra/affine_space/affine_subspace.lean
5436e5aea11d33f093183f367ddb0e872ed43121
[ "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
51,795
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Myers -/ import linear_algebra.affine_space.affine_equiv import linear_algebra.tensor_product import data.set.intervals.unordered_interval /-! # Affine spaces This file defines ...
31fa169ae532733ffc54c21d1b4f04967499ce83
36938939954e91f23dec66a02728db08a7acfcf9
/lean4/deps/smtlib/src/SMTLIB/Syntax.lean
8dd96c9b4478cbd06288a09a8ff0a4edb7c6bf4c
[]
no_license
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
31,645
lean
-- Following the SMTLIB reference v2.6 import Galois.Init.Nat import Galois.Data.List import Galois.Data.SExp import SMTLIB.IdGen abbrev SExpr := WellFormedSExp.SExp String namespace SExpr open WellFormedSExp open WellFormedSExp.SExp class HasToSExpr (a : Type) := (toSExpr : a -> SExpr) open HasToSExpr instance...
2ec309a8acfba704b7ae833b154ab9254b722c93
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/tactic/restate_axiom.lean
cc933bb41b5a4d5886d91a538c56e69f965e22bf
[ "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
3,223
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import data.buffer.parser tactic.doc_commands open lean.parser tactic interactive parser /-- `restate_axiom` takes a structure field, and makes a new, definitional...
3088ee5a34acd53013302072f6cfc67439a3c215
bdb33f8b7ea65f7705fc342a178508e2722eb851
/set_theory/zfc.lean
c7e9193771b31611054290e2f903a823d228d276
[ "Apache-2.0" ]
permissive
rwbarton/mathlib
939ae09bf8d6eb1331fc2f7e067d39567e10e33d
c13c5ea701bb1eec057e0a242d9f480a079105e9
refs/heads/master
1,584,015,335,862
1,524,142,167,000
1,524,142,167,000
130,614,171
0
0
Apache-2.0
1,548,902,667,000
1,524,437,371,000
Lean
UTF-8
Lean
false
false
29,849
lean
import data.set.basic universes u v /-- The type of `n`-ary functions `α → α → ... → α`. -/ def arity (α : Type u) : nat → Type u | 0 := α | (n+1) := α → arity n /-- The type of pre-sets in universe `u`. A pre-set is a family of pre-sets indexed by a type in `Type u`. The ZFC universe is defined as a quotien...
6cf8c1783e4e1a2b5ca78c4a22f978a864775d20
e151e9053bfd6d71740066474fc500a087837323
/src/hott/function.lean
0bb359e982c0ae6c26686e6deefeba0b456071dd
[ "Apache-2.0" ]
permissive
daniel-carranza/hott3
15bac2d90589dbb952ef15e74b2837722491963d
913811e8a1371d3a5751d7d32ff9dec8aa6815d9
refs/heads/master
1,610,091,349,670
1,596,222,336,000
1,596,222,336,000
241,957,822
0
0
Apache-2.0
1,582,222,839,000
1,582,222,838,000
null
UTF-8
Lean
false
false
14,843
lean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Floris van Doorn Ported from Coq HoTT Theorems about embeddings and surjections -/ import .hit.trunc .types.equiv .cubical.square .types.nat.hott universes u v w hott_theory namespac...
03a3a50295779456793a9b3a5a5be007e4384814
f3849be5d845a1cb97680f0bbbe03b85518312f0
/tests/lean/private_structure.lean
bfcd2087b3483ea3eefc6d18607fd2f50b452b3e
[ "Apache-2.0" ]
permissive
bjoeris/lean
0ed95125d762b17bfcb54dad1f9721f953f92eeb
4e496b78d5e73545fa4f9a807155113d8e6b0561
refs/heads/master
1,611,251,218,281
1,495,337,658,000
1,495,337,658,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
533
lean
namespace foo private structure point := (x : nat) (y : nat) definition bla := point definition mk : bla := point.mk 10 10 #check bla #check point #check point.mk #check point.rec #check point.rec_on #check point.cases_on #check point.x #check point.y end foo open foo -- point is not visible anymore #check bla #ch...
414dbba9c4c125c1ab12787ced717e1b2ac217da
7c92a46ce39266c13607ecdef7f228688f237182
/src/Spa/localization_Huber.lean
70e917ac8bff5a37414b3eb6675f73a4f5c0999d
[ "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
7,239
lean
import Huber_ring.localization import Spa.rational_open_data /-! # Extending continuous valuations on Huber rings In this file, we extend continuous valuations on Huber rings R to rational localizations R(T/s) and their completions. This is an important step in the definition of the structure presheaf on the adic sp...
b7e31eecbbbd8088dad1cdb6ab38fb1f4f68e490
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/parray1.lean
e31abef640bdf01c21c61b708457fa00769dd881
[ "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
360
lean
import Lean.Data.PersistentArray def check [BEq α] (as : List α) : Bool := as.toPArray'.foldr (.::.) [] == as def tst1 : IO Unit := do assert! check [1, 2, 3] assert! check ([] : List Nat) assert! check (List.iota 17) assert! check (List.iota 533) assert! check (List.iota 1000) assert! check (List.iota ...
958ee70ff37db3690172a87ce0af40b30e6423d2
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/1442.lean
e23576db6dc8c73d5ecd244e6557b7974a7b3d52
[ "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
692
lean
protected def rel : ℤ × ℤ → ℤ × ℤ → Prop | ⟨n₁, d₁⟩ ⟨n₂, d₂⟩ := n₁ * d₂ = n₂ * d₁ private def mul' : ℤ × ℤ → ℤ × ℤ → ℤ × ℤ | ⟨n₁, d₁⟩ ⟨n₂, d₂⟩ := ⟨n₁ * n₂, d₁ * d₂⟩ instance a : is_associative ℤ (*) := ⟨int.mul_assoc⟩ instance c : is_commutative ℤ (*) := ⟨int.mul_comm⟩ example : ∀(a b c d : ℤ × ℤ), rel a c → rel b ...
a927bc73a9b55745b8fda75a34f9e2a3119c80c1
c7e0fa0422da099d4b66b195c60455d87facee0d
/complex.lean
2e71bcb2c534552e1dc71d06005f863338ca21b0
[]
no_license
viljamivirolainen/linear
12d725a90a44ae2760f59e9a9d9dd12aae36300a
dcf28df05e06da1b4fc76bce61b8fa0741300dc8
refs/heads/master
1,678,895,327,362
1,516,045,398,000
1,516,045,398,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
201
lean
import smt.arith def complex := real × real notation `ℂ` := complex -- Oh god, it's noncomputable, HELP noncomputable def add : ℂ → ℂ → ℂ | ⟨a, b⟩ ⟨c, d⟩ := ⟨a + c, b + d⟩
bd510032f7374276e87320b605240219b0f33174
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/auto_quote_error.lean
ea2c2851cdae4f0b91a842aa3decf47f64963284
[ "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
120
lean
example (a b c : nat) : a = b → b = c → c = a := begin intro h1, intro h2, exact eq.symm (eq.trans h1 _), end
25e738c3ca18e7058b8df913fa174f881f7a8c41
947fa6c38e48771ae886239b4edce6db6e18d0fb
/src/data/nat/cast.lean
17c0199b286ec06533a1af53e7924f875b3f219c
[ "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
9,081
lean
/- Copyright (c) 2014 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.nat.basic import data.nat.cast.defs import algebra.group.pi import tactic.pi_instances import data.sum.basic /-! # Cast of natural numbers (additional th...
119ba6b60d673c011ac8e5d98321fe117c31712c
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/hott/algebra/category/functor/attributes.hlean
a97ba8b275682fbe9f18e4d9ad7a03d1c286d10b
[ "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
6,516
hlean
/- Copyright (c) 2015 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn Attributes of functors (full, faithful, split essentially surjective, ...) Adjoint functors, isomorphisms and equivalences have their own file -/ import ..constru...
40524c0c0fe6cb2c90cf5012be2e4251d3dec017
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/algebra/group/to_additive.lean
ec32d4058e2b70912534fff8c05913786c3ffeda
[ "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,872
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Yury Kudryashov. -/ import tactic.basic tactic.transport tactic.algebra /-! # Transport multiplicative to additive This file defines an attribute `to_additive` that ...
105b8b38421b294229502746679f32d6ea022932
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/src/Lean/Util/MonadCache.lean
8b507d0837f42855b62b9744c32d6d84ce12a490
[ "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
4,654
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.HashMap namespace Lean /-- Interface for caching results. -/ class MonadCache (α β : Type) (m : Type → Type) where findCached? : α → m (...
83f2a9d028528d5d3bcf1d1a4a5190f87135deb9
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/tests/lean/run/evalBuiltinInit.lean
8345727f82d2c62d7ab8d167cafcb74c3d57093d
[ "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
198
lean
#lang lean4 import Lean -- option should be ignored when evaluating a `[builtinInit]` decl set_option interpreter.prefer_native false #eval toString Lean.PrettyPrinter.formatterAttribute.defn.name
0de9176346f5461b427161608ab6bd0027a06237
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/rw_set4.lean
c4e8004b680cf43b98ab503c90e71c4da1156bef
[ "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
382
lean
open tactic attribute [congr, priority std.priority.default+1] theorem forall_congr_prop_eq {P₁ P₂ Q₁ Q₂ : Prop} : P₁ = P₂ → (P₂ → Q₁ = Q₂) → (P₁ → Q₁) = (P₂ → Q₂) := sorry print [congr] congr example (A : Type) (a b c : A) : (a = b) → (a = c) → a = b := by simp example (A : Type) (a b c : A) : (a = c) → (a = b) →...
cf84e1472b244570088f2cb299a7e261802389ec
e2fc96178628c7451e998a0db2b73877d0648be5
/src/classes/context_free/closure_properties/complement.lean
befec207d9e54c5905b2b948908d3d5a907b032e
[ "BSD-2-Clause" ]
permissive
madvorak/grammars
cd324ae19b28f7b8be9c3ad010ef7bf0fabe5df2
1447343a45fcb7821070f1e20b57288d437323a6
refs/heads/main
1,692,383,644,884
1,692,032,429,000
1,692,032,429,000
453,948,141
7
0
null
null
null
null
UTF-8
Lean
false
false
701
lean
import classes.context_free.closure_properties.union import classes.context_free.closure_properties.intersection /-- The class of context-free languages isn't closed under complement. -/ theorem nnyCF_of_complement_CF : ¬ (∀ T : Type, ∀ L : language T, is_CF L → is_CF (Lᶜ) ) := begin intro h, have nny := nn...
224a0d9e90df6d781999abe0128085f8a9e1308f
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/algebra/direct_sum/ring.lean
4b6fafa5e3d4dee5f8eb0b71e16125c4b76e5475
[ "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
19,158
lean
/- Copyright (c) 2021 Eric Wieser. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Eric Wieser -/ import group_theory.subgroup.basic import algebra.graded_monoid import algebra.direct_sum.basic import algebra.big_operators.pi /-! # Additively-graded multiplicative stru...
2bab92d575fba7c2b29145ec5a461404ec297e6f
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/run/typeclass_metas_internal_goals3.lean
8bb076e0bd29574b0f8e4a77e208a0d4a08f974e
[ "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
604
lean
new_frontend class Base (α : Type) := (u:Unit) class Depends (α : Type) [Base α] := (u:Unit) class Top := (u:Unit) instance AllBase {α : Type} : Base α := {u:=()} instance DependsNotConstrainingImplicit {α : Type} /- [Base α] -/ {_:Base α} : Depends α := {u:=()} instance BaseAsImplicit₁ {α : Type} {_:Base α} [Depend...
fdc6666a3f1055b4a85f1fdac33d75e2a6f300fa
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/opt1.lean
c036a552231b44e6c2c4587fd30ab0b81c024b7f
[ "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
442
lean
vm_eval options.get_string options.mk `opt1 "<empty>" vm_eval options.get_string (options.set_string options.mk `opt1 "val1") `opt1 "<empty>" vm_eval if (options.mk = options.mk) then bool.tt else bool.ff vm_eval if (options.mk = (options.set_string options.mk `opt1 "val1")) then bool.tt else bool.ff vm_eval options.ge...
86594cc7c4aeb9ee17b26e788251e6790e9556f5
e39f04f6ff425fe3b3f5e26a8998b817d1dba80f
/data/finsupp.lean
acbb17bdf9a880b59b562488ec98a0e63d3c6a36
[ "Apache-2.0" ]
permissive
kristychoi/mathlib
c504b5e8f84e272ea1d8966693c42de7523bf0ec
257fd84fe98927ff4a5ffe044f68c4e9d235cc75
refs/heads/master
1,586,520,722,896
1,544,030,145,000
1,544,031,933,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
40,465
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 Type of functions with finite support. Functions with finite support provide the basis for the following concrete instances: * ℕ →₀ α: Polynomials (where α is a ring...
a6402838f9cb53c773ac700ca83d576a261e43e3
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/sheaves/sheaf_of_functions.lean
c4608b98ca1924267fffc964bf811053eecbc9c3
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
3,942
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Scott Morrison -/ import topology.sheaves.presheaf_of_functions import topology.sheaves.sheaf_condition.unique_gluing /-! # Sheaf conditions for presheaves of (continu...
c5b1a63774c9783df34478d9067e1a809fa64e17
b82c5bb4c3b618c23ba67764bc3e93f4999a1a39
/src/formal_ml/radon_nikodym.lean
ad898b36924e262849d043496b20a900c8bf2ba6
[ "Apache-2.0" ]
permissive
nouretienne/formal-ml
83c4261016955bf9bcb55bd32b4f2621b44163e0
40b6da3b6e875f47412d50c7cd97936cb5091a2b
refs/heads/master
1,671,216,448,724
1,600,472,285,000
1,600,472,285,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
83,315
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...
e03992efd45355f49b7010333a23585cbfbf6f16
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/library/data/nat/basic.lean
aa9db5fedc0df7fe1701ba98df1d9af1f644c1ea
[ "Apache-2.0" ]
permissive
jroesch/lean
30ef0860fa905d35b9ad6f76de1a4f65c9af6871
3de4ec1a6ce9a960feb2a48eeea8b53246fa34f2
refs/heads/master
1,586,090,835,348
1,455,142,203,000
1,455,142,277,000
51,536,958
1
0
null
1,455,215,811,000
1,455,215,811,000
null
UTF-8
Lean
false
false
7,828
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 ..num algebra.ring open binary eq.ops namespace nat /- a variant of add, defi...
b6d61417461e8150785f26a61b41bf9ec40041c4
5756a081670ba9c1d1d3fca7bd47cb4e31beae66
/Mathport/Binary/TranslateExpr.lean
b967c6e38a3c8cfb8bb23464fb60ec2d7b8bcc10
[ "Apache-2.0" ]
permissive
leanprover-community/mathport
2c9bdc8292168febf59799efdc5451dbf0450d4a
13051f68064f7638970d39a8fecaede68ffbf9e1
refs/heads/master
1,693,841,364,079
1,693,813,111,000
1,693,813,111,000
379,357,010
27
10
Apache-2.0
1,691,309,132,000
1,624,384,521,000
Lean
UTF-8
Lean
false
false
5,498
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Daniel Selsam Lean3 uses snake_case for everything. As of now, Lean4 uses: - camelCase for defs - PascalCase for types - snake_case for proofs -/ import Lean import Mathport.U...
90f868c47892680f57ff7c1e2988588b2e0600b8
4bcaca5dc83d49803f72b7b5920b75b6e7d9de2d
/stage0/src/Lean/Data/Json/Basic.lean
6d61cf165806efc2926a6acfa5002182cf5c0ae5
[ "Apache-2.0" ]
permissive
subfish-zhou/leanprover-zh_CN.github.io
30b9fba9bd790720bd95764e61ae796697d2f603
8b2985d4a3d458ceda9361ac454c28168d920d3f
refs/heads/master
1,689,709,967,820
1,632,503,056,000
1,632,503,056,000
409,962,097
1
0
null
null
null
null
UTF-8
Lean
false
false
7,079
lean
/- Copyright (c) 2019 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner, Marc Huisinga -/ import Std.Data.RBTree namespace Lean -- mantissa * 10^-exponent structure JsonNumber where mantissa : Int exponent : Nat deriving DecidableEq n...
722442372d36e9d891e2c05713fc55116df180ff
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/bad_structures2.lean
66d3f4b99750c61e63dd0c0cd743ab6f7a13f1b9
[ "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
407
lean
structure foo := (x : bool) structure boo := (x : nat) structure bla extends foo, boo structure boo2 := {x : bool} structure bla extends foo, boo2 structure bla extends foo := (x : nat) structure bla extends foo := ( : nat) structure bla extends foo := mk :: y z : nat structure bla2 extends nat structure bla2 ...
29b983ee268ba5c3df8d656778945a4dfc51cd9d
437dc96105f48409c3981d46fb48e57c9ac3a3e4
/src/algebra/group_power.lean
77cd9a6a970940a96e380c68d43e5103f5672e88
[ "Apache-2.0" ]
permissive
dan-c-k/mathlib
08efec79bd7481ee6da9cc44c24a653bff4fbe0d
96efc220f6225bc7a5ed8349900391a33a38cc56
refs/heads/master
1,658,082,847,093
1,589,013,201,000
1,589,013,201,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
29,577
lean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Robert Y. Lewis -/ import data.int.basic import data.equiv.basic /-! # Power operations on monoids and groups The power operation on monoids and groups. We separate thi...
05892f12c425956429d26631b7f827bb532a0828
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/600c.lean
fc503a7ed77dc4dd2d095ca2238df7fa218b1d0f
[ "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
95
lean
/- /- -/ -/ /- - /--/-/ /-/-/--/-/-/ /--/ /------------/ /---/ /- ---/ /- -/ ----/ print "ok"
e2ab7459a5429b5e4c234ac9ba474ae788797311
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/elseCaseArrow.lean
c3c4358109b7b94d8a218b8e5264e6a4a065b7e0
[ "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
241
lean
def f1 (x : Nat) (p : Nat × Nat) : IO Unit := do match x with | 0 => let (y, _) ← pure p | _ => pure () def f2 (x : Nat) (p : Nat × Nat) : IO Unit := do let mut y := 0 match x with | 0 => (y, _) ← pure p | _ => pure ()
9cf18e7e51bee90148f788cdcb36c74cd9572904
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/algebra/linear_recurrence.lean
929df10a668307057c37bdcb50ffaf7a524e2068
[ "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
8,243
lean
/- Copyright (c) 2020 Anatole Dedecker. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anatole Dedecker -/ import data.polynomial.ring_division import linear_algebra.dimension import algebra.polynomial.big_operators /-! # Linear recurrence Informally, a "linear recur...
13db253220e9c2dfebf53b85cfe7bc49c519a85b
ff5230333a701471f46c57e8c115a073ebaaa448
/tests/lean/1952.lean
e21dcaff4cb18358f064943cbd9ecbd87bf57f2c
[ "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
431
lean
structure foo := (fn : nat → nat) (fn_ax : ∀ a : nat, fn a = a) /- set_option pp.all true set_option pp.universes false -- universes are probably irrelevant set_option pp.purify_metavars false set_option trace.type_context.is_def_eq true set_option trace.type_context.is_def_eq_detail true -/ def bl...
7a8040c8af94a300d9c65b8b5f478cd47a310441
b70031c8e2c5337b91d7e70f1e0c5f528f7b0e77
/src/analysis/calculus/deriv.lean
4bbf6b4bc0f7625edf41138b58542e8db7fa566d
[ "Apache-2.0" ]
permissive
molodiuc/mathlib
cae2ba3ef1601c1f42ca0b625c79b061b63fef5b
98ebe5a6739fbe254f9ee9d401882d4388f91035
refs/heads/master
1,674,237,127,059
1,606,353,533,000
1,606,353,533,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
71,914
lean
/- Copyright (c) 2019 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner, Sébastien Gouëzel -/ import analysis.calculus.fderiv import data.polynomial.derivative /-! # One-dimensional derivatives This file defines the derivative of a function...
4c999378713e65c53147b7c98e49f41d38b6fe03
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/lie/non_unital_non_assoc_algebra.lean
3d6397abd99385c02de35ee623095e340033e905
[ "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,774
lean
/- Copyright (c) 2021 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import algebra.hom.non_unital_alg import algebra.lie.basic /-! # Lie algebras as non-unital, non-associative algebras > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any cha...
de89c585fd2e6191d5b226b5ce5285003c413518
d1bbf1801b3dcb214451d48214589f511061da63
/src/data/int/basic.lean
dd997115eef8035a2750b2139caf014fa5d3b791
[ "Apache-2.0" ]
permissive
cheraghchi/mathlib
5c366f8c4f8e66973b60c37881889da8390cab86
f29d1c3038422168fbbdb2526abf7c0ff13e86db
refs/heads/master
1,676,577,831,283
1,610,894,638,000
1,610,894,638,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
51,444
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. -/ import data.nat.basic import algebra.order_functions open nat namespace int instance : inhabited ℤ := ...
2a3fc88c99aa27e4d68530b0e0dd84d5d74048de
618003631150032a5676f229d13a079ac875ff77
/src/ring_theory/ideal_operations.lean
ceea29cd69ef95043d27c547bae1824abdb511aa
[ "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
34,496
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau More operations on modules and ideals. -/ import data.nat.choose import data.equiv.ring import ring_theory.algebra_operations universes u v w x namespace submodule variables ...
f59badb33c287eeb0847b26df7925477970db3a2
c777c32c8e484e195053731103c5e52af26a25d1
/src/analysis/inner_product_space/gram_schmidt_ortho.lean
a46b0f5b0a442edcdf0994f3cd116416b4f69a20
[ "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
17,560
lean
/- Copyright (c) 2022 Jiale Miao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jiale Miao, Kevin Buzzard, Alexander Bentkamp -/ import analysis.inner_product_space.pi_L2 import linear_algebra.matrix.block /-! # Gram-Schmidt Orthogonalization and Orthonormalization ...
1938b9c7aa9a727ebf047d68206e135ca0968dac
bb31430994044506fa42fd667e2d556327e18dfe
/src/analysis/locally_convex/balanced_core_hull.lean
f7c65b6274326abb0fdad4c9ee2bca209e3da9e4
[ "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
9,630
lean
/- Copyright (c) 2022 Moritz Doll. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Moritz Doll -/ import analysis.locally_convex.basic /-! # Balanced Core and Balanced Hull ## Main definitions * `balanced_core`: The largest balanced subset of a set `s`. * `balanced_h...
18b3d09ad922ca87f61f93bea97654d578451546
7cef822f3b952965621309e88eadf618da0c8ae9
/src/ring_theory/algebra.lean
7dda0a004de8b73a2c4806ded19ddd6c0d9d5a58
[ "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
22,511
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau Algebra over Commutative Ring (under category) -/ import data.polynomial data.mv_polynomial import data.complex.basic import data.matrix.basic import linear_algebra.tensor_produ...
a45ab22f5dac357fc257650a61a802aa08558404
2a70b774d16dbdf5a533432ee0ebab6838df0948
/_target/deps/mathlib/src/topology/metric_space/basic.lean
0b16764981680104ae6642bac0840873c040e72e
[ "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
77,270
lean
/- Copyright (c) 2015, 2017 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Metric spaces. Authors: Jeremy Avigad, Robert Y. Lewis, Johannes Hölzl, Mario Carneiro, Sébastien Gouëzel Many definitions and theorems expected on metric spaces are already introduced o...
2c66fe5f115155aacaff2a03990d4211bdf3c7e8
fef48cac17c73db8662678da38fd75888db97560
/src/point6.lean
06c9e72b6ee5f870c22b72c44ee2fa2b7522b5c0
[]
no_license
kbuzzard/lean-squares-in-fibonacci
6c0d924f799d6751e19798bb2530ee602ec7087e
8cea20e5ce88ab7d17b020932d84d316532a84a8
refs/heads/master
1,584,524,504,815
1,582,387,156,000
1,582,387,156,000
134,576,655
3
1
null
1,541,538,497,000
1,527,083,406,000
Lean
UTF-8
Lean
false
false
2,068
lean
import definitions import point3 -- 2F(m+n) = F(m) L(n) + L(m) F(n) lemma two_mul_Fib_add (m n : ℤ) : 2 * Fib (m + n) = Fib m * Luc n + Luc m * Fib n := by rw [Fib, Fib, Fib, Luc, Luc, gpow_add, units.coe_mul, Zalpha.mul_r, two_mul]; rw [α_Fib, α_Fib, β_Fib, β_Fib]; have Hm := Fib_add_two (m-1); have Hn ...
24fb7021ed14a5d8133ea0c2a7bcd2ecf9d878ad
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/number_theory/ramification_inertia.lean
91585ce4cc595a12582ad251ce67400e04dcdaf6
[ "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,158
lean
/- Copyright (c) 2022 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import linear_algebra.free_module.finite.rank import ring_theory.dedekind_domain.ideal /-! # Ramification index and inertia degree > THIS FILE IS SYNCHRONIZED WITH MATHL...
d8f20e7cd8062bd1aa2a75773290ebb7123ed757
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/analysis/normed_space/dual.lean
52d183756304d0ee4ffe9bdb50cfd91bf2edd3e2
[ "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
11,857
lean
/- Copyright (c) 2020 Heather Macbeth. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Heather Macbeth, Frédéric Dupuis -/ import analysis.normed_space.hahn_banach import analysis.normed_space.inner_product /-! # The topological dual of a normed space In this file we ...
bdede40321fabe059b5a72da6da5de5abcdd772a
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/category_theory/limits/constructions/over/default.lean
e4085355f2824c00c686844d9d468db9e7ccc221
[ "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,799
lean
/- Copyright (c) 2018 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Reid Barton, Bhavik Mehta -/ import category_theory.limits.connected import category_theory.limits.constructions.over.products import category_theory.limits.constructio...
8b2849c1068f16fc41f302196f052868e971e711
7d5ad87afb17e514aee234fcf0a24412eed6384f
/src/independence.lean
c721bba0c40f6721d339dfe7cc031b22764130df
[]
no_license
digama0/flypitch
764f849eaef59c045dfbeca142a0f827973e70c1
2ec14b8da6a3964f09521d17e51f363d255b030f
refs/heads/master
1,586,980,069,651
1,547,078,141,000
1,547,078,283,000
164,965,135
1
0
null
1,547,082,858,000
1,547,082,857,000
null
UTF-8
Lean
false
false
1,925
lean
import .fol .zfc .completeness local attribute [instance, priority 0] classical.prop_decidable open fol /- Statement of the independence of the continuum hypothesis -/ open zfc section independence /- ¬ (T ⊢' f) is implied by ∃ M : Model T, M ⊢ ∼ f -/ lemma unprovable_of_model_negation {L : Language} {T : Theory ...
d017d591d45ff957b5094ed210f8e7e4091cc3a1
97c8e5d8aca4afeebb5b335f26a492c53680efc8
/ground_zero/theorems/prop.lean
a57ef6dd165f46c2b776fde88c6a137e51e70c0a
[]
no_license
jfrancese/lean
cf32f0d8d5520b6f0e9d3987deb95841c553c53c
06e7efaecce4093d97fb5ecc75479df2ef1dbbdb
refs/heads/master
1,587,915,151,351
1,551,012,140,000
1,551,012,140,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,982
lean
import ground_zero.HITs.interval ground_zero.HITs.truncation open ground_zero.structures (prop contr hset prop_is_set) open ground_zero.types.equiv (transport transport_composition) open ground_zero.types namespace ground_zero namespace theorems.prop universes u v w def product_prop {α : Sort u} {β : Sort v} (h : ...
0b6bbf0f3207ec1f9f5f55d0084391150048275f
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch5/ex0206.lean
c16d72d991baca718fe086b23c69867ae142bda4
[]
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
138
lean
example : ∀ a b c : ℕ, a = b → a = c → c = b := begin intros, apply eq.trans, apply eq.symm, assumption, assumption end