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
59a0f7d2df907501ff63b4c68766d5627b1f8a63
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/linear_algebra/affine_space/basic.lean
74aac679a3f5299b43ea078c4090e94b6f366ef5
[ "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
56,729
lean
/- Copyright (c) 2020 Joseph Myers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Joseph Myers. -/ import algebra.add_torsor import linear_algebra.tensor_product noncomputable theory open_locale big_operators open_locale classical /-! # Affine spaces This file defin...
82c015197fee3aa57dd6653e9d5076c7ee4bb600
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/data/set/intervals/disjoint.lean
d75bf2f58d4c1e1a4753e12c4b43afa7c78f6e7b
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
2,210
lean
/- Copyright (c) 2019 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn, Yury Kudryashov -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.set.lattice import Mathlib.PostPort universes u namespace Math...
eac87da0a01e0398d21dea1d148db9436656ab56
f70b31f6396d12f83817534a1579ad4102d34497
/solution.lean
dfbb1b0b83f461b25eb14ae5040d4d62d7f4330f
[]
no_license
asi1024/topprover-lean-example
cf3eeb017ebfc5547c56d41f490b471d54783171
3507da918fe235599776f6367e2603c0375e00e0
refs/heads/master
1,609,053,679,942
1,580,697,001,000
1,580,697,001,000
237,811,882
0
0
null
null
null
null
UTF-8
Lean
false
false
209
lean
import .problem theorem solution : prob := begin intros p q, assume Hpq : p ∧ q, have Hp : p, from and.elim_left Hpq, have Hq : q, from and.elim_right Hpq, show q ∧ p, from and.intro Hq Hp, end
22a4606b34defc08e4a4ddfc912c380f480b6698
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/order/group/densely_ordered.lean
822613485febac3d9b23dc60d66ce57d68ca1766
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
1,277
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura, Mario Carneiro, Johannes Hölzl -/ import algebra.order.monoid.canonical.defs import algebra.order.group.defs import algebra.order.monoid.order_dual /-...
bdd9b3078c7cd6be5bd9a1e2b2284c0ca2ea0c23
bb31430994044506fa42fd667e2d556327e18dfe
/src/algebraic_geometry/elliptic_curve/weierstrass.lean
15703ad46c5dac968d15e02b544e5e29cb4b9f12
[ "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
23,106
lean
/- Copyright (c) 2021 Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, David Kurniadi Angdinata -/ import algebra.cubic_discriminant import ring_theory.class_group import tactic.linear_combination /-! # Weierstrass equations of elliptic cu...
f4a51d70c0acf9ca362e19646d816359ebe7ecdb
dd0f5513e11c52db157d2fcc8456d9401a6cd9da
/09_Type_Classes.org.1.lean
a959419185a264dd5efd52514acc4220431d3d93
[]
no_license
cjmazey/lean-tutorial
ba559a49f82aa6c5848b9bf17b7389bf7f4ba645
381f61c9fcac56d01d959ae0fa6e376f2c4e3b34
refs/heads/master
1,610,286,098,832
1,447,124,923,000
1,447,124,923,000
43,082,433
0
0
null
null
null
null
UTF-8
Lean
false
false
186
lean
import standard import data.nat open nat attribute nat [class] definition one [instance] : ℕ := 1 definition foo [x : ℕ] : nat := x check @foo eval foo example : foo = 1 := rfl
23f4980b59f321fa3593606cff3f186aab5eb974
94e33a31faa76775069b071adea97e86e218a8ee
/src/category_theory/limits/cone_category.lean
a511297fa5ecf24d2390b1d46031d3ac9366a989
[ "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
4,284
lean
/- Copyright (c) 2021 Andrew Yang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Andrew Yang -/ import category_theory.limits.preserves.shapes.terminal /-! # Limits and the category of (co)cones This files contains results that stem from the limit API. For the def...
1e68d57d9552372399a49ebeeaea2167b629fa20
df7bb3acd9623e489e95e85d0bc55590ab0bc393
/lean/love02_backward_proofs_demo.lean
700fb76e93c42dade6c29f07a332d50ab31cfbbe
[]
no_license
MaschavanderMarel/logical_verification_2020
a41c210b9237c56cb35f6cd399e3ac2fe42e775d
7d562ef174cc6578ca6013f74db336480470b708
refs/heads/master
1,692,144,223,196
1,634,661,675,000
1,634,661,675,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,939
lean
import .love01_definitions_and_statements_demo /- # LoVe Demo 2: Backward Proofs A __tactic__ operates on a proof goal and either proves it or creates new subgoals. Tactics are a __backward__ proof mechanism: They start from the goal and work towards the available hypotheses and lemmas. -/ set_option pp.beta true ...
c2e16a9e87a5eaa536471f8a9c24a29e6615a82e
ff5230333a701471f46c57e8c115a073ebaaa448
/library/init/category/alternative.lean
41fd4ca796d5b96c1f675f9c49da9ec1e5b71747
[ "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
1,351
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ prelude import init.logic init.category.applicative universes u v class has_orelse (f : Type u → Type v) : Type (max (u+1) v) := (orelse : Π {α : Type u}, ...
0e875c5bf4d594429981a65ea9faf85ffa13741f
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/set_theory/cardinal/ordinal.lean
4d3ef1aaef7c78fa0ee4734b4a9d264a4ecc48d7
[ "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
49,442
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl, Mario Carneiro, Floris van Doorn -/ import data.finsupp.multiset import order.bounded import set_theory.ordinal.principal import tactic.linarith /-! # Cardinals and o...
a7aba3d37271436013a6a097a90f413308535b42
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/analysis/normed/group/hom_completion.lean
e3333fe0cc972f175d0b9c64295f387421be6da9
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
11,267
lean
/- Copyright (c) 2021 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot -/ import analysis.normed.group.hom import analysis.normed.group.completion /-! # Completion of normed group homs > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any chan...
78a9bc77ebfcf499de0322fc2c2bbcb70a224785
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/topology/algebra/continuous_functions.lean
b04ab56d99d4c617f2bd3c9d86b9f95a998fa7e5
[ "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
14,314
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Nicolò Cavalleri -/ import topology.algebra.module import topology.continuous_map /-! # Algebraic structures over continuous functions In this file we define instance...
d411d9052daee0779121b67747a8fb81bb73c8b7
82e44445c70db0f03e30d7be725775f122d72f3e
/src/data/subtype.lean
16ec816fb9cdb5637385f1bb5ff02d4b88777927
[ "Apache-2.0" ]
permissive
stjordanis/mathlib
51e286d19140e3788ef2c470bc7b953e4991f0c9
2568d41bca08f5d6bf39d915434c8447e21f42ee
refs/heads/master
1,631,748,053,501
1,627,938,886,000
1,627,938,886,000
228,728,358
0
0
Apache-2.0
1,576,630,588,000
1,576,630,587,000
null
UTF-8
Lean
false
false
6,240
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 tactic.lint import tactic.ext import tactic.simps open function namespace subtype variables {α : Sort*} {β : Sort*} {γ : Sort*} {p : α → Prop} {q : α → Prop}...
1f94e57d2a84ee79fb07fff1e96ce04672db69b6
d1a52c3f208fa42c41df8278c3d280f075eb020c
/src/Lean/Elab/Notation.lean
d5079515a4768acf585c65e2763e71a9ab299b5d
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
cipher1024/lean4
6e1f98bb58e7a92b28f5364eb38a14c8d0aae393
69114d3b50806264ef35b57394391c3e738a9822
refs/heads/master
1,642,227,983,603
1,642,011,696,000
1,642,011,696,000
228,607,691
0
0
Apache-2.0
1,576,584,269,000
1,576,584,268,000
null
UTF-8
Lean
false
false
4,894
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.Syntax import Lean.Elab.AuxDef namespace Lean.Elab.Command open Lean.Syntax open Lean.Parser.Term hiding macroArg open Lean.Parser.Command...
d0e0ecb68f25e74c0ff0d6382e1bb3709ebb7539
fe25de614feb5587799621c41487aaee0d083b08
/stage0/src/Lean/Elab/BuiltinCommand.lean
27dd560bc256887bb2bff8aa2c0db7fc02f4586c
[ "Apache-2.0" ]
permissive
pollend/lean4
e8469c2f5fb8779b773618c3267883cf21fb9fac
c913886938c4b3b83238a3f99673c6c5a9cec270
refs/heads/master
1,687,973,251,481
1,628,039,739,000
1,628,039,739,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
13,463
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.Command import Lean.Elab.Open namespace Lean.Elab.Command private def addScope (isNewNamespace : Bool) (header : String) (newNamespace : ...
830613d12539948d92149059a619ba6b9c2e0044
b7f22e51856f4989b970961f794f1c435f9b8f78
/src/tests/shell/file2.lean
e05aeb57f73a578ea841ec9cc570de7611549ffa
[ "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
152
lean
check nat check nat.add_zero check nat.zero_add check finset open nat example (a b : nat) : a = 0 → b = 0 → a = b := begin intros, substvars end
8a9b8454164342da0ea1a8a51ac07e0454dfdf52
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/let1.lean
cccbb7b45d4b0b0e8390b6abcef75913282fed63
[ "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
1,152
lean
prelude -- Correct version #check let bool := Sort 0, and (p q : bool) := ∀ c : bool, (p → q → c) → c, infixl `∧`:25 := and, and_intro (p q : bool) (H1 : p) (H2 : q) : p ∧ q := λ (c : bool) (H : p → q → c), H H1 H2, and_elim...
e41b697aaea7d2e32806fa7856ccdf8b74532972
6094e25ea0b7699e642463b48e51b2ead6ddc23f
/library/data/nat/gcd.lean
c3470b90957b402331afc567f4cfe34ffcf1900d
[ "Apache-2.0" ]
permissive
gbaz/lean
a7835c4e3006fbbb079e8f8ffe18aacc45adebfb
a501c308be3acaa50a2c0610ce2e0d71becf8032
refs/heads/master
1,611,198,791,433
1,451,339,111,000
1,451,339,111,000
48,713,797
0
0
null
1,451,338,939,000
1,451,338,939,000
null
UTF-8
Lean
false
false
15,569
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 Definitions and properties of gcd, lcm, and coprime. -/ import .div open eq.ops well_founded decidable prod namespace nat /- gcd -/ private definiti...
fa7278a35d6769382fb116fe154219bb72d9c1c1
fcf3ffa92a3847189ca669cb18b34ef6b2ec2859
/src/world8/level7.lean
8c362230d910eea3453e8af9735374cc665a874c
[ "Apache-2.0" ]
permissive
nomoid/lean-proofs
4a80a97888699dee42b092b7b959b22d9aa0c066
b9f03a24623d1a1d111d6c2bbf53c617e2596d6a
refs/heads/master
1,674,955,317,080
1,607,475,706,000
1,607,475,706,000
314,104,281
0
0
null
null
null
null
UTF-8
Lean
false
false
610
lean
import mynat.definition import mynat.add import world8.level4 import world8.level5 namespace mynat theorem add_right_cancel_iff (a t b : mynat) : a + t = b + t ↔ a = b := begin [nat_num_game] split, { exact add_right_cancel a t b, }, { induction t with n hd, { rw ad...
c0fb069447bf3dd18beda2cb49b2d46cd6ecb620
3dc4623269159d02a444fe898d33e8c7e7e9461b
/.github/workflows/project_1_a_decrire/lean-scheme-submission/src/spectrum_of_a_ring/properties.lean
c72aba5bb789c28f27067b91967fcf7e3f22ada7
[]
no_license
Or7ando/lean
cc003e6c41048eae7c34aa6bada51c9e9add9e66
d41169cf4e416a0d42092fb6bdc14131cee9dd15
refs/heads/master
1,650,600,589,722
1,587,262,906,000
1,587,262,906,000
255,387,160
0
0
null
null
null
null
UTF-8
Lean
false
false
6,603
lean
/- Properties of Spec(R). https://stacks.math.columbia.edu/tag/00E0 -/ import algebra.module import ring_theory.localization import to_mathlib.ideals import to_mathlib.localization.localization_alt import spectrum_of_a_ring.spec open lattice noncomputable theory local attribute [instance] classical.prop_decida...
484157915a54986d7666c28691ca0437d1ce76b5
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/topology/algebra/infinite_sum.lean
6500bf8eb1f83e04dc1c7b5603238ba8bab04439
[ "Apache-2.0" ]
permissive
ChrisHughes24/mathlib
98322577c460bc6b1fe5c21f42ce33ad1c3e5558
a2a867e827c2a6702beb9efc2b9282bd801d5f9a
refs/heads/master
1,583,848,251,477
1,565,164,247,000
1,565,164,247,000
129,409,993
0
1
Apache-2.0
1,565,164,817,000
1,523,628,059,000
Lean
UTF-8
Lean
false
false
25,695
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl Infinite sum over a topological monoid This sum is known as unconditionally convergent, as it sums to the same value under all possible permutations. For Euclidean spa...
acf99da77d3ad51b8be9e42be8c6e76ce0507a03
1437b3495ef9020d5413178aa33c0a625f15f15f
/order/filter.lean
e310322885cde29e1afc5317206144298be07477
[ "Apache-2.0" ]
permissive
jean002/mathlib
c66bbb2d9fdc9c03ae07f869acac7ddbfce67a30
dc6c38a765799c99c4d9c8d5207d9e6c9e0e2cfd
refs/heads/master
1,587,027,806,375
1,547,306,358,000
1,547,306,358,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
94,463
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 Theory of filters on sets. -/ import order.galois_connection order.zorn import data.set.finite data.list import category.applicative open lattice set universes u v w x...
95f0a6821fb094207a0197ecdf3d84608a1a298a
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/tactic/lift.lean
62ca2dd4242a176495a10e4466b814c94e23f3c2
[ "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
9,246
lean
/- Copyright (c) 2019 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris van Doorn -/ import tactic.rcases /-! # lift tactic This file defines the lift tactic, allowing the user to lift elements from one type to another under a specified condition...
0d8771449ffb2d48a7a80d8a1e1356f4e972e947
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/group_theory/congruence_auto.lean
6811d904b59bb590c5c56326f3e0f136435bfc3f
[]
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
37,004
lean
/- Copyright (c) 2019 Amelia Livingston. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Amelia Livingston -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.data.setoid.basic import Mathlib.algebra.group.pi import Mathlib.algebra.group.prod i...
040d31fbad5934a6ec449683379f1576dcfde74c
64874bd1010548c7f5a6e3e8902efa63baaff785
/tests/lean/run/unzip_bug.lean
281074b680ea49a1c38110ea9547eacd79879851
[ "Apache-2.0" ]
permissive
tjiaqi/lean
4634d729795c164664d10d093f3545287c76628f
d0ce4cf62f4246b0600c07e074d86e51f2195e30
refs/heads/master
1,622,323,796,480
1,422,643,069,000
1,422,643,069,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
380
lean
import data.vector open nat vector prod variables {A B : Type} definition unzip : Π {n : nat}, vector (A × B) n → vector A n × vector B n, @unzip ⌞zero⌟ nil := (nil, nil), @unzip ⌞succ n⌟ ((a, b) :: v) := match unzip v with (va, vb) := (a :: va, b :: vb) end example : unzip ((1, 20) :: (2, 30) :: ...
cfd15b11bb4b11d76e44af072b301e7ac35181f9
5d166a16ae129621cb54ca9dde86c275d7d2b483
/tests/lean/run/sec_var.lean
a292628e0e3d902a7302f8d44d72cbd9e3790cb4
[ "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
541
lean
section parameter A : Type definition foo : ∀ ⦃ a b : A ⦄, a = b → a = b := take a b H, H variable a : A set_option pp.implicit true #check foo (eq.refl a) #check foo #check foo = (λ (a b : A) (H : a = b), H) end #check foo = (λ (A : Type) (a b : A) (H : a = b), H) section variable A : Type defin...
601a04a4bbec5d2fc30b4cd4c438fee7bb884a99
55c7fc2bf55d496ace18cd6f3376e12bb14c8cc5
/src/topology/tactic.lean
f89fcca94f2f3e473d0f09645891589aa6979fd6
[ "Apache-2.0" ]
permissive
dupuisf/mathlib
62de4ec6544bf3b79086afd27b6529acfaf2c1bb
8582b06b0a5d06c33ee07d0bdf7c646cae22cf36
refs/heads/master
1,669,494,854,016
1,595,692,409,000
1,595,692,409,000
272,046,630
0
0
Apache-2.0
1,592,066,143,000
1,592,066,142,000
null
UTF-8
Lean
false
false
3,397
lean
/- Copyright (c) 2020 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton -/ import tactic.auto_cases import tactic.tidy import tactic.with_local_reducibility import topology.basic /-! # Tactics for topology Currently we have one domain-specific ta...
873694d4c977918edead26b798dfda35c833119a
d29d82a0af640c937e499f6be79fc552eae0aa13
/src/topology/basic.lean
af6986720651c2fd42b05f004308e7c4b29726c1
[ "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
58,659
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 algebra.support /-! # Basic theory of topological spaces. The main...
b3092aed2b86d6221979ab592f9a0efc12947522
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/alias.lean
d6c1d81eb2c9a0dfe6e235da6a49c659f5e21e28
[ "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
338
lean
-- namespace N1 constant num : Type.{1} constant foo : num → num → num end N1 namespace N2 constant val : Type.{1} constant foo : val → val → val end N2 open N2 open N1 constants a b : N1.num #print raw foo a b open N2 #print raw foo a b open N1 #print raw foo a b open N1 #print raw foo a b open N2 #print ra...
fcceb8f1a315601a1a17ce34485bdd291cb6b732
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/quotient_auto.lean
16117b2369388f88e74bb7a4dc2138d81187c904
[]
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,920
lean
/- Copyright (c) 2020 David Wärn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: David Wärn -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.natural_isomorphism import Mathlib.PostPort universes v u l u_1 u_2 namespace Ma...
46062242c336ac947081b11d5fd81fae2ced6148
d7189ea2ef694124821b033e533f18905b5e87ef
/galois/list/nth.lean
338fd74c85e754876042358212e34298bb7bff19
[ "Apache-2.0" ]
permissive
digama0/lean-protocol-support
eaa7e6f8b8e0d5bbfff1f7f52bfb79a3b11b0f59
cabfa3abedbdd6fdca6e2da6fbbf91a13ed48dda
refs/heads/master
1,625,421,450,627
1,506,035,462,000
1,506,035,462,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,830
lean
/- Lemmas about nth -/ universe u namespace list theorem nth_is_none_bound {α:Type} {l : list α} {i:ℕ} (pr : l.nth i = none) : i ≥ l.length := begin revert i, induction l, case nil { intros i pr, apply nat.zero_le, }, case cons h r ind { intros i pr, cases i; simp at pr, contradiction, exact n...
5191ef129416785a75ccdc193356fd20aa76f144
a338c3e75cecad4fb8d091bfe505f7399febfd2b
/src/data/real/basic.lean
803765945cc324317ef86c69b7868f912a9eaa6b
[ "Apache-2.0" ]
permissive
bacaimano/mathlib
88eb7911a9054874fba2a2b74ccd0627c90188af
f2edc5a3529d95699b43514d6feb7eb11608723f
refs/heads/master
1,686,410,075,833
1,625,497,070,000
1,625,497,070,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
24,449
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Floris van Doorn -/ import order.conditionally_complete_lattice import data.real.cau_seq_completion import algebra.archimedean import algebra.star.basic /-! # Real num...
5ad7ac9b2d40a64616816cb154f7d335de22ab30
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/inlineApp.lean
85f8377ca794b3b76760676e43d37d2596f92bb2
[ "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
396
lean
import Lean def f (x : Nat) := (x - 1) + x * 2 + x*x def h (x : Nat) := inline <| f (x + x) #eval Lean.Compiler.compile #[``h] open Lean Compiler LCNF in @[cpass] def simpInline : PassInstaller := Testing.assertDoesNotContainConstAfter ``inline "simp did not inline `inline`" |>.install `simp `simpInlinesInlin...
93fc33f07859af6b798155789bd57f85de43456e
dc253be9829b840f15d96d986e0c13520b085033
/choice.hlean
ea2e52b4b9a2e128329946e3cc829f94d6bf9361
[ "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
3,505
hlean
import types.trunc types.sum types.lift types.unit open pi prod sum unit bool trunc is_trunc is_equiv eq equiv lift pointed namespace choice universe variables u v -- the following brilliant name is from Agda definition unchoose [unfold 4] (n : ℕ₋₂) {X : Type} (A : X → Type) : trunc n (Πx, A x) → Πx, trunc n (A x) :...
2d2df0d643b52dc533eefef8f365e21dfef32357
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/group_theory/subgroup/basic.lean
e25deb946bc30c0d89ededf37c04152701b8d8b0
[ "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
128,254
lean
/- Copyright (c) 2020 Kexing Ying. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kexing Ying -/ import algebra.group.conj import algebra.module.basic import algebra.order.group.inj_surj import data.countable.basic import group_theory.submonoid.centralizer import group...
8e32c5309096b9ea2146cc61f700403b1ef569ec
b2e508d02500f1512e1618150413e6be69d9db10
/src/data/real/ennreal.lean
75fe6eb0f7d759634aeadc50fb86d66f13edd65c
[ "Apache-2.0" ]
permissive
callum-sutton/mathlib
c3788f90216e9cd43eeffcb9f8c9f959b3b01771
afd623825a3ac6bfbcc675a9b023edad3f069e89
refs/heads/master
1,591,371,888,053
1,560,990,690,000
1,560,990,690,000
192,476,045
0
0
Apache-2.0
1,568,941,843,000
1,560,837,965,000
Lean
UTF-8
Lean
false
false
27,013
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl Extended non-negative reals -/ import data.real.nnreal order.bounds tactic.norm_num noncomputable theory open classical set lattice local attribute [instance] prop_deci...
18aba4fb85b80343d7fcfa11e0f0429cd6909ba7
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/category_theory/limits/shapes/constructions/binary_products.lean
bbeb04be08f1ea3ad69ebe8ae72ee1b192688439
[ "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
1,623
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Bhavik Mehta -/ import category_theory.limits.shapes.terminal import category_theory.limits.shapes.pullbacks import category_theory.limits.shapes.binary_products universes v u /-! # Co...
d6654c28f8c9a12532ebc3ff5915baf2b3e2a6b2
82b86ba2ae0d5aed0f01f49c46db5afec0eb2bd7
/stage0/src/Lean/Util/Constructions.lean
d0a16d7e98911eb71d45342fc2be765cd8a60736
[ "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
2,046
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.Environment import Lean.MonadEnv namespace Lean @[extern "lean_mk_cases_on"] constant mkCasesOnImp (env : Environment) (declName : @& Name) : ...
e11e3585ac4400dfd15d3f91d3dedb6da2cc9504
bb31430994044506fa42fd667e2d556327e18dfe
/src/topology/continuous_function/bounded.lean
7cbba6795e4d73360918eb792e6723bb2964f048
[ "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
60,044
lean
/- Copyright (c) 2018 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel, Mario Carneiro, Yury Kudryashov, Heather Macbeth -/ import analysis.normed.order.lattice import analysis.normed_space.operator_norm import analysis.normed_space.s...
d08d071a198a83d1ee47b03b59631e7d2fe16550
4b846d8dabdc64e7ea03552bad8f7fa74763fc67
/library/tools/super/cdcl_solver.lean
f7eac8e3da6f31faa9cf749e90ee0bb66fba0708
[ "Apache-2.0" ]
permissive
pacchiano/lean
9324b33f3ac3b5c5647285160f9f6ea8d0d767dc
fdadada3a970377a6df8afcd629a6f2eab6e84e8
refs/heads/master
1,611,357,380,399
1,489,870,101,000
1,489,870,101,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,076
lean
/- Copyright (c) 2016 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner -/ import .clause open tactic expr monad super namespace cdcl @[reducible] meta def prop_var := expr @[reducible] meta def proof_term := expr @[reducible] meta def proof...
75bdf495cffb7dab40cc049cfa3ec95c285ec5b7
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/convex/segment.lean
15a02d5fbdf9ddc33af6560b89b52dc0efc4deea
[ "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
18,934
lean
/- Copyright (c) 2019 Alexander Bentkamp. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alexander Bentkamp, Yury Kudriashov, Yaël Dillies -/ import algebra.order.invertible import algebra.order.smul import linear_algebra.affine_space.midpoint import linear_algebra.ray...
f73a6a1c3b131570c7f5b98b991c7ba4cdc5cbfe
492a7e27d49633a89f7ce6e1e28f676b062fcbc9
/src/monoidal_categories_reboot/monoidal_functor_attributes.lean
f2c3da27e4c4c13fa39aad15874c3bf3f7107230
[ "Apache-2.0" ]
permissive
semorrison/monoidal-categories-reboot
9edba30277de48a234b63813cf85b171772ce36f
48b5f1d535daba4e591672042a298ac36be2e6dd
refs/heads/master
1,642,472,396,149
1,560,587,477,000
1,560,587,477,000
156,465,626
0
1
null
1,541,549,278,000
1,541,549,278,000
null
UTF-8
Lean
false
false
1,601
lean
import category_theory.monoidal.functor import category_theory.tactics.obviously open category_theory open category_theory.monoidal_category attribute [search] tensor_id tensor_comp associator_naturality left_unitor_naturality right_unitor_naturality pentagon triangle comp_tensor_id id_tensor_comp id_tensor_comp_ten...
4c8244c9b2fffec7baccf526ed2a74a2167c4dff
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebra/order/monoid/type_tags.lean
69ca44b7e7dc18d88e5f03732b88fd6c96eaba1f
[ "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
4,770
lean
/- Copyright (c) 2016 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Leonardo de Moura, Mario Carneiro, Johannes Hölzl -/ import algebra.group.type_tags import algebra.order.monoid.cancel.defs import algebra.order.monoid.canonical.defs /-...
d292378858be8d84deb1721904012a6125c3a6b7
5d166a16ae129621cb54ca9dde86c275d7d2b483
/library/init/coe.lean
916496f843a59fa379a31a9cb663bcbbf7f4b2a0
[ "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
6,682
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 -/ /- The elaborator tries to insert coercions automatically. Only instances of has_coe type class are considered in the process. Lean also provides a "lifti...
571fd13a4d3107c65d7ca5acda69629816db4d52
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/run/aexp.lean
b6e2dd571495dab5fa7c7b07a3596272b534bdcf
[ "Apache-2.0" ]
permissive
GaloisInc/lean
aa1e64d604051e602fcf4610061314b9a37ab8cd
f1ec117a24459b59c6ff9e56a1d09d9e9e60a6c0
refs/heads/master
1,592,202,909,807
1,504,624,387,000
1,504,624,387,000
75,319,626
2
1
Apache-2.0
1,539,290,164,000
1,480,616,104,000
C++
UTF-8
Lean
false
false
1,708
lean
namespace imp open tactic @[reducible] def uname := string inductive aexp | val : nat → aexp | var : uname → aexp | plus : aexp → aexp → aexp | times : aexp → aexp → aexp instance : decidable_eq aexp := by mk_dec_eq_instance @[reducible] def value := nat def state := uname → value open aexp def aval : aexp ...
85e281e88aef2336aa8a7bf1956cf6c50218f7c5
2fbe653e4bc441efde5e5d250566e65538709888
/src/topology/continuous_on.lean
f97cc2dd2485cc207f4f1fd99f189c597df1b456
[ "Apache-2.0" ]
permissive
aceg00/mathlib
5e15e79a8af87ff7eb8c17e2629c442ef24e746b
8786ea6d6d46d6969ac9a869eb818bf100802882
refs/heads/master
1,649,202,698,930
1,580,924,783,000
1,580,924,783,000
149,197,272
0
0
Apache-2.0
1,537,224,208,000
1,537,224,207,000
null
UTF-8
Lean
false
false
24,449
lean
/- Copyright (c) 2019 Reid Barton. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import topology.constructions /-! # Neighborhoods and continuity relative to a subset This file defines relative versions `nhds_within` of `nhds` `contin...
8c51f538b03b31b49d5cb5828cdc90414128b6b7
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/meta/simp_tactic.lean
29c948aaf75fa6d16924dd95375f502b4433b2a6
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
8,720
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 -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.meta.tactic import Mathlib.Lean3Lib.init.meta.attribute import Mathlib.Lean3Lib.init.meta.constructor_ta...
718e09c22d6b03ed6ea4a3019339ec69af338427
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/data/finset/lattice.lean
454d0071096d4a09dab84e812ac8c9bf8faaa728
[ "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
24,116
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import data.finset.fold import data.multiset.lattice /-! # Lattice operations on multisets -/ variables {α β γ : Type*} namespace finset open multiset /-! ### sup ...
752e291ac4c8ace344b0d8032c2c29225342033f
92b50235facfbc08dfe7f334827d47281471333b
/library/data/num.lean
98bb1165598c01ab2d063a54942ddbcc56f19b7d
[ "Apache-2.0" ]
permissive
htzh/lean
24f6ed7510ab637379ec31af406d12584d31792c
d70c79f4e30aafecdfc4a60b5d3512199200ab6e
refs/heads/master
1,607,677,731,270
1,437,089,952,000
1,437,089,952,000
37,078,816
0
0
null
1,433,780,956,000
1,433,780,955,000
null
UTF-8
Lean
false
false
17,532
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ import data.bool tools.helper_tactics open bool eq.ops decidable helper_tactics namespace pos_num theorem succ_not_is_one (a : pos_num) : is_one (succ a) ...
aaaf9cf4e579a43d5c356698e321487ab3bb95c2
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/data/quot.lean
9e3af2d9cb03b515ecb50e56f1f9150af15ffcfd
[]
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,440
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura Quotient types. -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.data.sigma.basic import Mathlib.Lean3Lib.init.logic import Mathlib.Lean3Lib.init.propext...
93da83f24f2a85ffb252754cb782a8246de4b2cf
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/complex/schwarz.lean
83e5125bb8ded91e2586db67b38048f8f81a3bf5
[ "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
10,050
lean
/- Copyright (c) 2022 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import analysis.complex.abs_max import analysis.complex.removable_singularity /-! # Schwarz lemma In this file we prove several versions of the Schwarz lemm...
b17994dd5726c9f63f909a4b606a953f17873b0a
bb31430994044506fa42fd667e2d556327e18dfe
/src/data/finset/sort.lean
c293a1d344bf9afcea7fb8e23127cfbd9fedfa33
[ "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,503
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 order.rel_iso.set import data.fintype.lattice import data.multiset.sort import data.list.nodup_equiv_fin /-! # Construct a sorted list from a finset. -/ name...
ce02e322adbe0ff66c1ecc4447b6b487610411ba
367134ba5a65885e863bdc4507601606690974c1
/test/equiv_rw.lean
4337508083e99fef34353ba1879a715843d05672
[ "Apache-2.0" ]
permissive
kodyvajjha/mathlib
9bead00e90f68269a313f45f5561766cfd8d5cad
b98af5dd79e13a38d84438b850a2e8858ec21284
refs/heads/master
1,624,350,366,310
1,615,563,062,000
1,615,563,062,000
162,666,963
0
0
Apache-2.0
1,545,367,651,000
1,545,367,651,000
null
UTF-8
Lean
false
false
9,422
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 tactic.equiv_rw import control.equiv_functor.instances -- these make equiv_rw more powerful! -- Uncomment this line to observe the steps of constructing appro...
5ed68b6db11668722d3ee878d119fc2107fddc53
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/finset/locally_finite.lean
beac80359c465f5ea00ee13cf4a39c72b3bf2e40
[ "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
25,508
lean
/- Copyright (c) 2019 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Yaël Dillies -/ import order.locally_finite /-! # Intervals as finsets This file provides basic results about all the `finset.Ixx`, which are defined in `order.locall...
e4474d49184490f12b06d808a70a708d47267c3a
f083c4ed5d443659f3ed9b43b1ca5bb037ddeb58
/group_theory/coset.lean
9354cca14be3be454b8f1e812d8b828803ac9087
[ "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
6,035
lean
/- Copyright (c) 2018 Mitchell Rowett. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mitchell Rowett, Scott Morrison -/ import group_theory.subgroup data.equiv.basic data.quot open set function variable {α : Type*} def left_coset [has_mul α] (a : α) (s : set α) : se...
5913b66fc0631e92142fb9b9e48775a23efc30cd
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/run/pred_using_structure_cmd.lean
870fb0d3767e04ed2b7731cb17981746a708e7ec
[ "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
341
lean
variable {A : Type} structure has_refl (R : A → A → Prop) : Prop := (refl : ∀ a, R a a) structure is_equiv (R : A → A → Prop) extends has_refl R : Prop := (symm : ∀ a b, R a b → R b a) (trans : ∀ a b c, R a b → R b c → R a c) check @is_equiv.refl check @is_equiv.symm check @is_equiv.trans check @is_equiv.to_has_refl...
5b54c5fb2f2185693561eae910d7793822bc1d3f
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/sums/default_auto.lean
34759d033cc0c226bfc0883fabbd4df8ed331a0a
[]
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
162
lean
import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.sums.associator import Mathlib.PostPort namespace Mathlib end Mathlib
e20feb96b2e787417603cec943bb3fb4733c69f1
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/bases.lean
53d3ad93ab534e69f910493efe87b252b8f77fcf
[ "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
42,100
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.constructions import topology.continuous_on /-! # Bases of topologies. Countability axioms. A topological basis on a topological spa...
1f3c3fd8305b0c097f50be8fe9d0f5d88e8ada19
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/finite/basic.lean
060e39a1a81f055c49773a7d31320cf8a856603b
[ "Apache-2.0" ]
permissive
jcommelin/mathlib
d8456447c36c176e14d96d9e76f39841f69d2d9b
ee8279351a2e434c2852345c51b728d22af5a156
refs/heads/master
1,664,782,136,488
1,663,638,983,000
1,663,638,983,000
132,563,656
0
0
Apache-2.0
1,663,599,929,000
1,525,760,539,000
Lean
UTF-8
Lean
false
false
4,934
lean
/- Copyright (c) 2022 Kyle Miller. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kyle Miller -/ import data.fintype.basic /-! # Finite types In this file we prove some theorems about `finite` and provide some instances. This typeclass is a `Prop`-valued counterpart ...
8598a0e5f05e129dbfcf8569de448ce8bc2d0dfb
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/bundle.lean
0a00d9a6977d6be8e42e95de5edd5ed9e793edcb
[ "Apache-2.0" ]
permissive
robertylewis/mathlib
3d16e3e6daf5ddde182473e03a1b601d2810952c
1d13f5b932f5e40a8308e3840f96fc882fae01f0
refs/heads/master
1,651,379,945,369
1,644,276,960,000
1,644,276,960,000
98,875,504
0
0
Apache-2.0
1,644,253,514,000
1,501,495,700,000
Lean
UTF-8
Lean
false
false
2,954
lean
/- Copyright © 2021 Nicolò Cavalleri. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nicolò Cavalleri -/ import tactic.basic import algebra.module.basic /-! # Bundle Basic data structure to implement fiber bundles, vector bundles (maybe fibrations?), etc. This file s...
f7d22fab88f82f24af767dee2e7e07919a06d2eb
df7bb3acd9623e489e95e85d0bc55590ab0bc393
/lean/love01_definitions_and_statements_demo.lean
c2655377bec0875f8f66e1189f43a2a60b5b711b
[]
no_license
MaschavanderMarel/logical_verification_2020
a41c210b9237c56cb35f6cd399e3ac2fe42e775d
7d562ef174cc6578ca6013f74db336480470b708
refs/heads/master
1,692,144,223,196
1,634,661,675,000
1,634,661,675,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
10,797
lean
import .lovelib /- # LoVe Preface ## Proof Assistants Proof assistants (also called interactive theorem provers) * check and help develop formal proofs; * can be used to prove big theorems, not only logic puzzles; * can be tedious to use; * are highly addictive (think video games). A selection of proof assistants...
cb9b927050d0337183ac5c7a6882f0a0c2b3d560
e031d1fbf8353b338e3189e0d9aec3adb5bb0512
/src/data/classes.lean
2b5ad1391364139998f67cdaca1a2ee68ea7095e
[ "Apache-2.0" ]
permissive
UniversalAlgebra/lean-ualib
e64431a70007a835b1dd933d66be04ffca118601
ab9cbddbb5bdf1eeac4b0d5994bd6cad2a3665d4
refs/heads/master
1,584,931,281,084
1,558,364,533,000
1,558,364,533,000
140,986,567
6
0
Apache-2.0
1,532,718,578,000
1,531,613,794,000
Lean
UTF-8
Lean
false
false
3,123
lean
-- we start with some examples of classical algebraic structures namespace examples universes u variables {α : Type u} class magma (α : Type u) extends has_mul α -- avoid the name groupoid here because that means something -- different in category theory; we could have called these "binars" -- by convent...
39d53f657b98de115cadbae11045ca6e76056645
fe25de614feb5587799621c41487aaee0d083b08
/tests/lean/PPRoundtrip.lean
e1e31b6c8fdc7896b8ef272689a6bf536b3aeb35
[ "Apache-2.0" ]
permissive
pollend/lean4
e8469c2f5fb8779b773618c3267883cf21fb9fac
c913886938c4b3b83238a3f99673c6c5a9cec270
refs/heads/master
1,687,973,251,481
1,628,039,739,000
1,628,039,739,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,271
lean
import Lean open Lean open Lean.Elab open Lean.Elab.Term open Lean.Elab.Command open Std.Format open Std open Lean.PrettyPrinter open Lean.PrettyPrinter.Delaborator open Lean.Meta def checkM (stx : TermElabM Syntax) (optionsPerPos : OptionsPerPos := {}) : TermElabM Unit := do let opts ← getOptions let stx ← stx let ...
625092040efca3fc6275e1a9aee29b8f8010d355
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/order/zorn.lean
1d8ce9d6224d7052c3eb8d189173d043851207f0
[ "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
17,850
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 data.set.pairwise /-! # Chains and Zorn's lemmas This file defines chains for an arbitrary relation and proves several formulations of Zorn's Lemma, along wi...
91380ac9e502fbf5f1413d3841cd2c087d4b9212
0c1546a496eccfb56620165cad015f88d56190c5
/library/init/meta/fun_info.lean
e92dfdb0288a68096ea0605ef7d761b87a1f13bf
[ "Apache-2.0" ]
permissive
Solertis/lean
491e0939957486f664498fbfb02546e042699958
84188c5aa1673fdf37a082b2de8562dddf53df3f
refs/heads/master
1,610,174,257,606
1,486,263,620,000
1,486,263,620,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,715
lean
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.meta.tactic init.meta.format init.function structure param_info := (is_implicit : bool) (is_inst_implicit : bool) (is_prop ...
4f31e29813c1a1e20ea9aca0f74a9ed75f6f6900
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/1851.lean
467833032bfd6b07deefe4512f1b599c8c5ded44
[ "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
270
lean
class Approx {α : Type} (a : α) (X : Type) : Type where val : X variable {α β X Y : Type} {f' : α → β} {x' : α} [f : Approx f' (X → Y)] [x : Approx x' X] -- fails #check f.val x.val -- works #check let f'' := f.val let x'' := x.val f'' x''
2c2097ed7781bdc534157287c44369f35a835e2c
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/monoidal/Bimod.lean
48b955f7b99b42d8a4403db69e19d8ac3290c907
[ "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
42,804
lean
/- Copyright (c) 2022 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Oleksandr Manzyuk -/ import category_theory.bicategory.basic import category_theory.monoidal.Mon_ import category_theory.limits.preserves.shapes.equalizers /-! # The c...
f11e9a10f7b57fa3e56021d7877bd6bccb8ab1aa
7cef822f3b952965621309e88eadf618da0c8ae9
/src/algebra/group/units_hom.lean
44881d7eb409c5aaa8a601e2065258ea63f8f0d1
[ "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
1,599
lean
/- Copyright (c) 2018 Johan Commelin All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Chris Hughes, Kevin Buzzard Lift monoid homomorphisms to group homomorphisms of their units subgroups. -/ import algebra.group.units algebra.group.hom universes u v w ...
671bfe6488b931a52f310014e53c349bffb7c083
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/data/polynomial/derivative.lean
adc93eb68e89ff443bd759aeee27b7e3bd4fc110
[ "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
10,172
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Johannes Hölzl, Scott Morrison, Jens Wagemaker -/ import data.polynomial.eval /-! # Theory of univariate polynomials -/ noncomputable theory local attribute [instance, ...
745f109d04a6f9699f1490798809252615c5acd7
acc85b4be2c618b11fc7cb3005521ae6858a8d07
/data/bool.lean
824927448ebc7d695040141b9e0a91ff1df115d1
[ "Apache-2.0" ]
permissive
linpingchuan/mathlib
d49990b236574df2a45d9919ba43c923f693d341
5ad8020f67eb13896a41cc7691d072c9331b1f76
refs/heads/master
1,626,019,377,808
1,508,048,784,000
1,508,048,784,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,806
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura, Jeremy Avigad -/ namespace bool set_option pp.universes true @[simp] theorem coe_sort_tt : coe_sort.{1 1} tt = true := eq_true_intro rfl @[simp] theorem co...
7dad3a5bb0a489974b53fdf9d301be1f10e69abf
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/congr_tac.lean
23b3a5a74efe9c6356e93b80f6fcdfc76599c809
[ "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
716
lean
import data.list example (f : nat → nat → nat) (a b c : nat) : b = c → f a b = f a c := begin intro bc, congruence, assumption end example (f g : nat → nat → nat) (a b c : nat) : f = g → b = c → f a b = g a c := begin intro fg bc, congruence, exact fg, exact bc end example (f g : nat → nat → nat) (a b ...
cb7b6f91dd3847bcac9a4961bad98821b31a2f02
32025d5c2d6e33ad3b6dd8a3c91e1e838066a7f7
/tests/lean/abst.lean
5a4de4ad119bb083b2a851fb1efe0e2d3af1d4e3
[ "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
509
lean
import Lean.Expr open Lean def tst : IO Unit := do let f := mkConst `f; let x := mkFVar `x; let y := mkFVar `y; let t := mkApp (mkApp (mkApp f x) y) (mkApp f x); IO.println t; let p := t.abstract [x, y].toArray; IO.println p; IO.println $ p.instantiateRev #[x, y]; let a := mkConst `a; let b := mkApp f (mkConst `b); IO...
7068ba23c34a1a326425465e3705e23bdaceb87e
6e41ee3ac9b96e8980a16295cc21f131e731884f
/library/algebra/category/morphism.lean
f90cc4be030abae6d21d13bc96d649a01aaa3866
[ "Apache-2.0" ]
permissive
EgbertRijke/lean
3426cfa0e5b3d35d12fc3fd7318b35574cb67dc3
4f2e0c6d7fc9274d953cfa1c37ab2f3e799ab183
refs/heads/master
1,610,834,871,476
1,422,159,801,000
1,422,159,801,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,990
lean
/- Copyright (c) 2014 Floris van Doorn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: algebra.category.morphism Author: Floris van Doorn -/ import .basic algebra.relation algebra.binary open eq eq.ops category namespace morphism variables {ob : Type} [C : categor...
4b425925d0f65e492af7500041c2c09aadf096a4
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/algebra/category/CommRing/basic.lean
8248b00f727f5ba930f4a449191b1bf0c3d2c3ad
[ "Apache-2.0" ]
permissive
hikari0108/mathlib
b7ea2b7350497ab1a0b87a09d093ecc025a50dfa
a9e7d333b0cfd45f13a20f7b96b7d52e19fa2901
refs/heads/master
1,690,483,608,260
1,631,541,580,000
1,631,541,580,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
8,101
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Johannes Hölzl, Yury Kudryashov -/ import algebra.category.Group.basic import data.equiv.ring /-! # Category instances for semiring, ring, comm_semiring, and comm_ring...
57eb9f9db795d92b1ff1d97d43f0ff203940623b
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/src/Leanpkg.lean
68d01dd728d6f172c9eca92d9522f9555ad6a46c
[ "Apache-2.0" ]
permissive
collares/lean4
861a9269c4592bce49b71059e232ff0bfe4594cc
52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee
refs/heads/master
1,691,419,031,324
1,618,678,138,000
1,618,678,138,000
358,989,750
0
0
Apache-2.0
1,618,696,333,000
1,618,696,333,000
null
UTF-8
Lean
false
false
7,567
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner, Sebastian Ullrich -/ import Leanpkg.Resolve import Leanpkg.Git namespace Leanpkg def readManifest : IO Manifest := do let m ← Manifest.fromFile leanpkgTomlFn ...
75ef83cfe8366fe7fe5ee6bbc70b4824bcc55f4e
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/tactic/omega/lin_comb.lean
28b499c99a2df93169f2415a553e5bc7d201eb0a
[ "Apache-2.0" ]
permissive
fpvandoorn/mathlib
b21ab4068db079cbb8590b58fda9cc4bc1f35df4
b3433a51ea8bc07c4159c1073838fc0ee9b8f227
refs/heads/master
1,624,791,089,608
1,556,715,231,000
1,556,715,231,000
165,722,980
5
0
Apache-2.0
1,552,657,455,000
1,547,494,646,000
Lean
UTF-8
Lean
false
false
1,857
lean
/- Copyright (c) 2019 Seul Baek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Seul Baek Linear combination of constraints. -/ import tactic.omega.clause namespace omega @[simp] def lin_comb : list nat → list term → term | [] [] := ⟨0,[]⟩ | [] (_::_) := ⟨0,[]⟩ ...
aecb307b74e6a6f8f177e5b625abccf3f8e9b7f4
5749d8999a76f3a8fddceca1f6941981e33aaa96
/src/topology/dense_embedding.lean
50cc7e034dfe7f6f800f97530540d4c94702a738
[ "Apache-2.0" ]
permissive
jdsalchow/mathlib
13ab43ef0d0515a17e550b16d09bd14b76125276
497e692b946d93906900bb33a51fd243e7649406
refs/heads/master
1,585,819,143,348
1,580,072,892,000
1,580,072,892,000
154,287,128
0
0
Apache-2.0
1,540,281,610,000
1,540,281,609,000
null
UTF-8
Lean
false
false
14,875
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, Mario Carneiro, Patrick Massot -/ import topology.separation /-! # Dense embeddings This file defines three properties of functions: `dense_range f` means `f` has ...
255a6b968378be901948be0442ed43b7da35ac9d
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/ring_theory/witt_vector/verschiebung_auto.lean
89c618e684ef54f3561d6583f4007e48b7640dc5
[]
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,534
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 Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.ring_theory.witt_vector.basic import Mathlib.ring_theory.witt_vector.is_poly import Mathlib...
f2467605c8085c06aaf352e5f75b0f93db4b7edc
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/algebra/continued_fractions/computation/terminates_iff_rat.lean
c3305ec8d05a571e2d114f019c8853649c651f60
[ "Apache-2.0" ]
permissive
jumpy4/mathlib
d3829e75173012833e9f15ac16e481e17596de0f
af36f1a35f279f0e5b3c2a77647c6bf2cfd51a13
refs/heads/master
1,693,508,842,818
1,636,203,271,000
1,636,203,271,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,243
lean
/- Copyright (c) 2020 Kevin Kappelmann. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Kappelmann -/ import algebra.continued_fractions.computation.approximations import algebra.continued_fractions.computation.correctness_terminating import data.rat /-! # Termina...
6438bbca422c4f3bb5d32b85fe47f8a4082f6457
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch3/ex0504.lean
16bbdaadbfca53501c3856cf8abc992e483bef68
[]
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
132
lean
open classical variable p : Prop example (h : ¬¬p) : p := by_contradiction (assume h1 : ¬p, show false, from h h1)
7c25a06f4d5c754ba5c44740c120ddaf96a917ac
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/var2.lean
8dff452c12e43d0b7ac847f4a9be041037ad2724
[ "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
176
lean
-- section universe l variable A : Type.{l} variable a : A parameter B : Type.{l} parameter b : B definition foo := fun (H : A = B), cast H a = b end check foo
287868b6fc49378620a4c7636542f74f4e5cf234
63abd62053d479eae5abf4951554e1064a4c45b4
/test/library_search/nat.lean
a8f8b1f6604bc4ddf71737d818a1656fe09c958d
[ "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
2,471
lean
/- Copyright (c) 2018 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import tactic.suggest import data.nat.basic namespace test.library_search /- Turn off trace messages so they don't pollute the test build: -/ set_option trace.silen...
059f72e079deb729527f3e9199b7ccd276770f08
a45212b1526d532e6e83c44ddca6a05795113ddc
/src/group_theory/coset.lean
33171bacdfb1bbb284c2c0dc67c6ee0278a24a14
[ "Apache-2.0" ]
permissive
fpvandoorn/mathlib
b21ab4068db079cbb8590b58fda9cc4bc1f35df4
b3433a51ea8bc07c4159c1073838fc0ee9b8f227
refs/heads/master
1,624,791,089,608
1,556,715,231,000
1,556,715,231,000
165,722,980
5
0
Apache-2.0
1,552,657,455,000
1,547,494,646,000
Lean
UTF-8
Lean
false
false
11,454
lean
/- Copyright (c) 2018 Mitchell Rowett. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mitchell Rowett, Scott Morrison -/ import group_theory.subgroup data.equiv.basic data.quot open set function variable {α : Type*} @[to_additive left_add_coset] def left_coset [has_m...
c4e515990801f4662a6048805506643341d51cdf
a7eef317ddec01b9fc6cfbb876fe7ac00f205ac7
/src/linear_algebra/bilinear_form.lean
bdeb5de8a72b779c4c6f8e89e94c24606f990eb2
[ "Apache-2.0" ]
permissive
kmill/mathlib
ea5a007b67ae4e9e18dd50d31d8aa60f650425ee
1a419a9fea7b959317eddd556e1bb9639f4dcc05
refs/heads/master
1,668,578,197,719
1,593,629,163,000
1,593,629,163,000
276,482,939
0
0
null
1,593,637,960,000
1,593,637,959,000
null
UTF-8
Lean
false
false
28,124
lean
/- Copyright (c) 2018 Andreas Swerdlow. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Andreas Swerdlow -/ import linear_algebra.matrix import linear_algebra.tensor_product import linear_algebra.nonsingular_inverse /-! # Bilinear form This file defines a bilinear for...
50333de789dec6f94330fb31d2b16495c91ee139
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/algebra/group/hom.lean
770dafb922f9b853787a72ae047c4e4921355dbc
[ "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
37,540
lean
/- Copyright (c) 2018 Patrick Massot. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Patrick Massot, Kevin Buzzard, Scott Morrison, Johan Commelin, Chris Hughes, Johannes Hölzl, Yury Kudryashov -/ import algebra.group.commute import algebra.group_with_zero.defs /-! ...
fe2cdb6dd4834b408b5cd1294fa38f06b29ed7ad
e61a235b8468b03aee0120bf26ec615c045005d2
/src/Init/Lean/Elab/Command.lean
f817013cd6e137c1c5dc0144cdeee9c6964b9013
[ "Apache-2.0" ]
permissive
SCKelemen/lean4
140dc63a80539f7c61c8e43e1c174d8500ec3230
e10507e6615ddbef73d67b0b6c7f1e4cecdd82bc
refs/heads/master
1,660,973,595,917
1,590,278,033,000
1,590,278,033,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
25,729
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.Elab.Alias import Init.Lean.Elab.Log import Init.Lean.Elab.ResolveName import Init.Lean.Elab.Term import Init.Lean.Elab.Binders imp...
4a9500f3d3960e09fa6768a7f453d4a0b3009b36
7cef822f3b952965621309e88eadf618da0c8ae9
/src/ring_theory/localization.lean
545e5559f68852e05a283a9457894fefe46addff
[ "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
24,535
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro, Johan Commelin -/ import tactic.ring data.quot data.equiv.algebra ring_theory.ideal_operations group_theory.submonoid universes u v namespace localization varia...
916bf54f9885adaac0263612b7546bcefaa7cd9b
94e33a31faa76775069b071adea97e86e218a8ee
/src/ring_theory/localization/localization_localization.lean
0bb2ef93f76c624213014fa392eda2955e02cb3b
[ "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
13,072
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro, Johan Commelin, Amelia Livingston, Anne Baanen -/ import ring_theory.localization.at_prime import ring_theory.localization.basic import ring_theory.localization.f...
af4f79321aaa1deedd6bff4e4ba8597bd2cf72aa
08bd4ba4ca87dba1f09d2c96a26f5d65da81f4b4
/src/Lean/SubExpr.lean
e8c705e9ed5ed72a58d7a4de1d8633d48cba4425
[ "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", "Apache-2.0", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
gebner/lean4
d51c4922640a52a6f7426536ea669ef18a1d9af5
8cd9ce06843c9d42d6d6dc43d3e81e3b49dfc20f
refs/heads/master
1,685,732,780,391
1,672,962,627,000
1,673,459,398,000
373,307,283
0
0
Apache-2.0
1,691,316,730,000
1,622,669,271,000
Lean
UTF-8
Lean
false
false
6,982
lean
/- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich, Daniel Selsam, Wojciech Nawrocki, E.W.Ayers -/ import Lean.Meta.Basic import Lean.Data.Json import Lean.Data.RBMap namespace Lean /-- A position of a subexp...
a1ae2325bf9033512bd9b483734008708871872b
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/data/set/pointwise/smul.lean
fadc4414c6e4f70219978011d61aaaab86456c23
[ "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
26,469
lean
/- Copyright (c) 2019 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Floris van Doorn -/ import algebra.module.basic import data.set.pairwise import data.set.pointwise.basic /-! # Pointwise operations of sets This file defines pointwis...
fd7993e69478a9f16c9eb450ca35a9a81a25a078
5ee26964f602030578ef0159d46145dd2e357ba5
/src/valuation/basic.lean
7695d89594da5b247b72d9715dd660ec736716ff
[ "Apache-2.0" ]
permissive
fpvandoorn/lean-perfectoid-spaces
569b4006fdfe491ca8b58dd817bb56138ada761f
06cec51438b168837fc6e9268945735037fd1db6
refs/heads/master
1,590,154,571,918
1,557,685,392,000
1,557,685,392,000
186,363,547
0
0
Apache-2.0
1,557,730,933,000
1,557,730,933,000
null
UTF-8
Lean
false
false
29,288
lean
import algebra.group_power import ring_theory.ideal_operations import ring_theory.localization import ring_theory.subring import for_mathlib.rings import for_mathlib.linear_ordered_comm_group import for_mathlib.equiv /- valuations.basic The basic theory of valuations (non-archimedean norms) on a commutati...
fa510e1b00c02dd3d22e54655b706f47fbca7074
fbf512ee44de430e3d3c5869751ad95325c938d7
/reify.lean
893bfcba69259fb2beadf34db787c36b1ee9b2ef
[]
no_license
skbaek/clausify
4858c9005fb86a5e410bfcaa77524f82d955f655
d09b071bdcce7577c3fffacd0893b776285b1590
refs/heads/master
1,588,360,590,818
1,553,553,880,000
1,553,553,880,000
177,644,542
0
0
null
null
null
null
UTF-8
Lean
false
false
2,154
lean
import .form .abst variable {α : Type} open tactic expr meta def get_domain_core : expr → tactic expr | `(¬ %%p) := get_domain_core p | `(%%p ∨ %%q) := get_domain_core p <|> get_domain_core q | `(%%p ∧ %%q) := get_domain_core p <|> get_domain_core q | `(%%p ↔ %%q) := get_domain_core p <|> get_domain_core q | ...
d0ed39183654b8446de3a3a0428210cae8e5f7c8
618003631150032a5676f229d13a079ac875ff77
/src/tactic/omega/find_ees.lean
8c90d658ed6fc95041ab278de6bb5e733e8c5ed2
[ "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
5,559
lean
/- Copyright (c) 2019 Seul Baek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Seul Baek A tactic for finding a sequence of equality elimination rules for a given set of constraints. -/ import tactic.omega.eq_elim variables {α β : Type} open tactic namespace omega ...
90331dc4bb817219c375666e03363d937d6da7ee
500f65bb93c499cd35c3254d894d762208cae042
/src/set_theory/cardinal.lean
7fd66777987533e1aeed7b54e368428e097ea8c4
[ "Apache-2.0" ]
permissive
PatrickMassot/mathlib
c39dc0ff18bbde42f1c93a1642f6e429adad538c
45df75b3c9da159fe3192fa7f769dfbec0bd6bda
refs/heads/master
1,623,168,646,390
1,566,940,765,000
1,566,940,765,000
115,220,590
0
1
null
1,514,061,524,000
1,514,061,524,000
null
UTF-8
Lean
false
false
42,389
lean
/- Copyright (c) 2017 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Johannes Hölzl, Mario Carneiro -/ import data.set.countable data.quot logic.function set_theory.schroeder_bernstein /-! # Cardinal Numbers We define cardinal numbers as a quotient of...
bc8abfa719e7cf8f313896f1c2887d07b160f698
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/blast19.lean
32ff2b8a6544962238ccbe9c1cca519e903a60f4
[ "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
568
lean
-- Backward chaining with hypotheses set_option blast.strategy "backward" constants {P Q R S T U : Prop} constants (Huq : U → Q) (Hur : U → R) (Hus : U → S) (Hut : U → T) attribute Huq [intro] attribute Hur [intro] attribute Hus [intro] attribute Hut [intro] definition lemma1 : (P → Q) → P → Q := by blast definition l...
5ed40a2aa2223fed22148dc18850107bc25ae39f
e9dbaaae490bc072444e3021634bf73664003760
/src/Problems/2010/IMO_2010_P2.lean
ac6eb9df0c620083a3a7107b0c5eef27cd0ed7ac
[ "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
562
lean
import Geo.Geo.Core namespace Geo open Angle Triangle def IMO_2010_P2 : Prop := ∀ (A B C D E F : Point), let I := incenter ⟨A, B, C⟩; let Γ := Triangle.circumcircle ⟨A, B, C⟩; intersectAt₂ (Line.mk A I) Γ A D → on E (Arc.mk Γ B C A) → -- ryankrue: note the utility of the avoid construction here on F (Seg.mk B C) → u...
51bdbf4e30380d7766c38e638819952550f1b387
367134ba5a65885e863bdc4507601606690974c1
/src/topology/sheaves/stalks.lean
4f7b431f3e1407c9156289a3b460295500687e9c
[ "Apache-2.0" ]
permissive
kodyvajjha/mathlib
9bead00e90f68269a313f45f5561766cfd8d5cad
b98af5dd79e13a38d84438b850a2e8858ec21284
refs/heads/master
1,624,350,366,310
1,615,563,062,000
1,615,563,062,000
162,666,963
0
0
Apache-2.0
1,545,367,651,000
1,545,367,651,000
null
UTF-8
Lean
false
false
6,786
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 topology.category.Top.open_nhds import topology.sheaves.presheaf import category_theory.limits.limits import category_theory.limits.types noncomputable theory...
a7ada9e0d2cc87f1b4fd475fc5f6edbee5376a09
c777c32c8e484e195053731103c5e52af26a25d1
/src/measure_theory/integral/bochner.lean
82ee783fd13b7318eb396d75bae800e70c8a3587
[ "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
84,629
lean
/- Copyright (c) 2019 Zhouhang Zhou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Zhouhang Zhou, Yury Kudryashov, Sébastien Gouëzel, Rémy Degenne -/ import measure_theory.integral.set_to_l1 /-! # Bochner integral The Bochner integral extends the definition of the L...
69693430e38f3e8c996be20c0eed1ad592c0cf23
9dc8cecdf3c4634764a18254e94d43da07142918
/src/analysis/complex/upper_half_plane/functions_bounded_at_infty.lean
d8732563824f19c21b76599728e4e040a724b908
[ "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
3,708
lean
/- Copyright (c) 2022 Chris Birkbeck. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Birkbeck, David Loeffler -/ import algebra.module.submodule.basic import analysis.complex.upper_half_plane.basic import order.filter.zero_and_bounded_at_filter /-! # Bounded at...
ad1826893d5bb5b4ede55cdf7b0c654e823577aa
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/tests/lean/run/synth1.lean
767a7b7912ba66d3206bd30fd74060198cf07a1b
[ "Apache-2.0" ]
permissive
collares/lean4
861a9269c4592bce49b71059e232ff0bfe4594cc
52a4f535d853a2c7c7eea5fee8a4fa04c682c1ee
refs/heads/master
1,691,419,031,324
1,618,678,138,000
1,618,678,138,000
358,989,750
0
0
Apache-2.0
1,618,696,333,000
1,618,696,333,000
null
UTF-8
Lean
false
false
1,553
lean
import Lean.Meta open Lean open Lean.Meta class HasCoerce (a b : Type) := (coerce : a → b) def coerce {a b : Type} [HasCoerce a b] : a → b := @HasCoerce.coerce a b _ instance coerceTrans {a b c : Type} [HasCoerce b c] [HasCoerce a b] : HasCoerce a c := ⟨fun x => coerce (coerce x : b)⟩ instance coerceBoolToProp : H...