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
33ff58584aa9b21b1a484f152fb77808d663fff1
0845ae2ca02071debcfd4ac24be871236c01784f
/library/init/lean/trace.lean
9c52249d6c2748f2498bb8f2c2f311ccf2148db0
[ "Apache-2.0" ]
permissive
GaloisInc/lean4
74c267eb0e900bfaa23df8de86039483ecbd60b7
228ddd5fdcd98dd4e9c009f425284e86917938aa
refs/heads/master
1,643,131,356,301
1,562,715,572,000
1,562,715,572,000
192,390,898
0
0
null
1,560,792,750,000
1,560,792,749,000
null
UTF-8
Lean
false
false
2,476
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sebastian Ullrich -/ prelude import init.lean.format init.data.rbmap init.lean.position init.lean.name init.lean.options universe u namespace Lean inductive Message | fromFor...
93677bebcef456c79700467019cb1943daf4bbfc
d406927ab5617694ec9ea7001f101b7c9e3d9702
/archive/imo/imo2011_q5.lean
a386587c31a31eb1afcb930fb50600dafa0970c5
[ "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,097
lean
/- Copyright (c) 2021 Alain Verberkmoes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alain Verberkmoes -/ import data.int.dvd.basic /-! # IMO 2011 Q5 Let `f` be a function from the set of integers to the set of positive integers. Suppose that, for any two integer...
744b493cf0a84dcadcf3876faedb650de1a2f274
97f752b44fd85ec3f635078a2dd125ddae7a82b6
/library/theories/topology/order_topology.lean
c12b81b2fce1745b601ef0eff23f4696f0b1d78c
[ "Apache-2.0" ]
permissive
tectronics/lean
ab977ba6be0fcd46047ddbb3c8e16e7c26710701
f38af35e0616f89c6e9d7e3eb1d48e47ee666efe
refs/heads/master
1,532,358,526,384
1,456,276,623,000
1,456,276,623,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,208
lean
/- Copyright (c) 2016 Jacob Gross. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jacob Gross The order topology. -/ import data.set theories.topology.basic algebra.interval open algebra eq.ops set interval topology namespace order_topology variables {X : Type} [lin...
c9b9cd6617fa27d1e7ae04937e4dc6a799ca14eb
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/pkg/misc/Misc.lean
24e0caf01afe5535738c183cfa2848ee279b1ca6
[ "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
415
lean
import Misc.Foo import Misc.Boo import Lean open Lean Meta #eval id (α := MetaM Unit) do assert! (← getEnv).getModuleIdxFor? ``foo == (← getEnv).getModuleIdxFor? `auxDecl1 IO.println <| (← getEnv).getModuleIdxFor? ``Lean.Environment IO.println <| (← getEnv).getModuleIdxFor? ``foo IO.println <| (← getEnv).getM...
65a882cf5979a4921a8b226c8cd15213219ea796
367134ba5a65885e863bdc4507601606690974c1
/src/data/polynomial/lifts.lean
d5697ed3d951bcb983f12d402bbd17c462c312c6
[ "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
10,821
lean
/- Copyright (c) 2020 Riccardo Brasca. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Riccardo Brasca -/ import data.polynomial.algebra_map import algebra.algebra.subalgebra import algebra.polynomial.big_operators import data.polynomial.erase_lead /-! # Polynomials th...
51d70ad3a12f87045d1521280533a0bfb03274cd
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/data/dlist_auto.lean
658457e12dfe766ffa2d80bde2ae3badf32947b0
[]
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,433
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default universes u l namespace Mathlib /-- A difference list is a function that, given a list, retur...
8d632d33cf6df127d906f71bf8472c278e084fbe
137c667471a40116a7afd7261f030b30180468c2
/src/measure_theory/measurable_space.lean
cfd3fd964e35fe967aaa6d0750ef223ccb6e25d2
[ "Apache-2.0" ]
permissive
bragadeesh153/mathlib
46bf814cfb1eecb34b5d1549b9117dc60f657792
b577bb2cd1f96eb47031878256856020b76f73cd
refs/heads/master
1,687,435,188,334
1,626,384,207,000
1,626,384,207,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
44,688
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 measure_theory.measurable_space_def import measure_theory.tactic /-! # Measurable spaces and measurable functions This file provides proper...
44ef0a5339bd677b79b977d91e4ef4162fa6dc8d
ae9f8bf05de0928a4374adc7d6b36af3411d3400
/src/formal_ml/int.lean
b4f67760040147cb3af78f6adc36ae17c68ebcdd
[ "Apache-2.0" ]
permissive
NeoTim/formal-ml
bc42cf6beba9cd2ed56c1cd054ab4eb5402ed445
c9cbad2837104160a9832a29245471468748bb8d
refs/heads/master
1,671,549,160,900
1,601,362,989,000
1,601,362,989,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,384
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...
b7ad2e9855424cbff4f3662a2b341e5e248f87c3
a9d0fb7b0e4f802bd3857b803e6c5c23d87fef91
/tests/lean/num5.lean
ee1d7226c21354697f17da24ff31fff3a5f94dac
[ "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
124
lean
-- open num eval 3+(2:num) eval 3+2*(5:num) eval 5*(5:num) eval (eq.rec (eq.refl (2:num)) (eq.refl (2:num)) : 2 = (2:num))
6cc3601335774d57ab9082f9cb993591c1d724a4
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Elab/Tactic/Cache.lean
dea4b86fb8887eb1a62bddaad4aee9645a384090
[ "Apache-2.0", "LLVM-exception", "NCSA", "LGPL-3.0-only", "LicenseRef-scancode-inner-net-2.0", "BSD-3-Clause", "LGPL-2.0-or-later", "Spencer-94", "LGPL-2.1-or-later", "HPND", "LicenseRef-scancode-pcre", "ISC", "LGPL-2.1-only", "LicenseRef-scancode-other-permissive", "SunPro", "CMU-Mach"...
permissive
leanprover/lean4
4bdf9790294964627eb9be79f5e8f6157780b4cc
f1f9dc0f2f531af3312398999d8b8303fa5f096b
refs/heads/master
1,693,360,665,786
1,693,350,868,000
1,693,350,868,000
129,571,436
2,827
311
Apache-2.0
1,694,716,156,000
1,523,760,560,000
Lean
UTF-8
Lean
false
false
2,979
lean
/- Copyright (c) 2022 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Elab.Tactic.Basic namespace Lean.Elab.Tactic open Meta private def equivMVarDecl (d₁ d₂ : MetavarDecl) : Bool := d₁.type == d₂.type -- The...
068fee19ce03ef5597c84ebb9126b54778d2666e
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/tactic/derive_fintype.lean
4b1d5e43b0dc6a8e41d2099be0c9cd6a90b9b464
[ "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
15,313
lean
/- Copyright (c) 2020 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import logic.basic import data.fintype.basic /-! # Derive handler for `fintype` instances This file introduces a derive handler to automatically generate `fintype` ...
9ec3b0674778d67b4846e4529205c8552c35a4c5
e0f9ba56b7fedc16ef8697f6caeef5898b435143
/src/order/lattice.lean
5130bf6f9fb8d2624c8bf5b47b4c17f1c36817e3
[ "Apache-2.0" ]
permissive
anrddh/mathlib
6a374da53c7e3a35cb0298b0cd67824efef362b4
a4266a01d2dcb10de19369307c986d038c7bb6a6
refs/heads/master
1,656,710,827,909
1,589,560,456,000
1,589,560,456,000
264,271,800
0
0
Apache-2.0
1,589,568,062,000
1,589,568,061,000
null
UTF-8
Lean
false
false
17,911
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 Defines the inf/sup (semi)-lattice with optionally top/bot type class hierarchy. -/ import order.basic set_option old_structure_cmd true universes u v w variables {α...
f9ff5eb563308ba710e41640f286b9c89a5bc585
4727251e0cd73359b15b664c3170e5d754078599
/src/category_theory/sites/cover_preserving.lean
0d0eb57677afdb4f8587665b9f0698bdee15dda0
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
11,480
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.sites.limits import category_theory.functor.flat import category_theory.limits.preserves.filtered import category_theory.sites.left_exact /-! # Cove...
76f3b0be776cc0c7b3b1935cd305c4305f506dc0
7bf54883c04ff2856c37f76a79599ceb380c1996
/mathlib/cubic_solution.lean
61019321944d76fd531b7cd0681f785ef66ec30e
[]
no_license
anonymousLeanDocsHosting/lean-polynomials
4094466bf19acc0d1a47b4cabb60d8c21ddb2b00
361ef4cb7b68ef47d43b85cfa2d13f2ea0a47613
refs/heads/main
1,691,112,899,935
1,631,819,522,000
1,631,819,522,000
405,448,439
0
2
null
null
null
null
UTF-8
Lean
false
false
25,509
lean
import algebra.invertible import tactic.linarith import tactic.field_simp import order.filter.at_top_bot section fields variables {F : Type*} def cube_root_unity_a [field F] (root_three_i : F) : F := (-1 + root_three_i)/2 def cube_root_unity_b [field F] (root_three_i : F) : F := (-1 - root_three_i)/2 lemma mult...
952a4c81fadfb7aed086e7745551efb3fb068b9a
8cda3dace895437437849285448ae2a3515126f2
/src/fol'.lean
4f9ab58136470b76c517ef78be9a46befeb3841c
[ "Apache-2.0" ]
permissive
jesse-michael-han/lean-parser-combinators
cbaeaa9be32dd804f9bcb71a8bbd3d3c046c65f6
d0dff9149a85a150679aa2145c4ffe2ac1ae5c0b
refs/heads/master
1,592,121,439,883
1,564,418,867,000
1,564,418,867,000
194,953,385
5
0
null
null
null
null
UTF-8
Lean
false
false
110,060
lean
-- /- -- Copyright (c) 2019 The Flypitch Project. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Authors: Jesse Han, Floris van Doorn -- -/ -- /- A development of first-order logic in Lean. -- * The object theory uses classical logic -- * We use de Bruijn variables. -- ...
ab07791c78939ce6b44ca9f6375605c402169bf6
56af0912bd25910f5caae91d6dd0603b0c032989
/src/complex/kb_solutions/Level_03_conj.lean
0e4e0b97d65c15402d07435292e886d614a64f0d
[ "Apache-2.0" ]
permissive
isabella232/complex-number-game
ae36e0b1df9761d9df07049ca29c91ae44dbdc2d
3d767f14041f9002e435bed3a3527fdd297c166d
refs/heads/master
1,679,305,953,116
1,606,397,567,000
1,606,397,567,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,247
lean
/- Copyright (c) 2020 The Xena project. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Kevin Buzzard Thanks: Imperial College London, leanprover-community -/ -- import levels 1 and 2 import complex.kb_solutions.Level_02_I /-! # Level 3: Complex conjugation -/ namespa...
cd37c853ce1cf5137923f6814fbb40399f15afaa
9bb72db9297f7837f673785604fb89b3184e13f8
/library/init/meta/tactic.lean
79e5ea7b944442dc75b56dd2e27005a5cf0c9327
[ "Apache-2.0" ]
permissive
dselsam/lean
ec83d7592199faa85687d884bbaaa570b62c1652
6b0bd5bc2e07e13880d332c89093fe3032bb2469
refs/heads/master
1,621,807,064,966
1,611,454,685,000
1,611,975,642,000
42,734,348
3
3
null
1,498,748,560,000
1,442,594,289,000
C++
UTF-8
Lean
false
false
76,096
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.function init.data.option.basic init.util import init.control.combinators init.control.monad init.control.alternative init.control.monad...
963be2471603b1acceb596486970c89e0b684c19
c45b34bfd44d8607a2e8762c926e3cfaa7436201
/uexp/src/uexp/rules/pushFilterPastAgg.lean
1db8c3dacba280abffc8917ba0533c0654ba0fed
[ "BSD-2-Clause" ]
permissive
Shamrock-Frost/Cosette
b477c442c07e45082348a145f19ebb35a7f29392
24cbc4adebf627f13f5eac878f04ffa20d1209af
refs/heads/master
1,619,721,304,969
1,526,082,841,000
1,526,082,841,000
121,695,605
1
0
null
1,518,737,210,000
1,518,737,210,000
null
UTF-8
Lean
false
false
1,084
lean
import ..sql import ..tactics import ..u_semiring import ..extra_constants import ..cosette_tactics open Expr open Proj open Pred open SQL open tree notation `int` := datatypes.int constant integer_10 : const int definition rule: forall (Γ scm_dept: Schema) (rel_dept: relation scm_dept) (dept_deptno : Column int sc...
71ce38a34894624781480c971e15a5ab95d4fe02
9dc8cecdf3c4634764a18254e94d43da07142918
/src/category_theory/concrete_category/bundled.lean
de675d9604c4005dfda3e786ba30dac92e8b64f5
[ "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
1,933
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, Reid Barton, Sean Leather -/ import tactic.pi_instances /-! # Bundled types `bundled c` provides a uniform structure for bundling a type equipped with...
78195e53e4e576dcb0e9a9859ca13b508359c36d
6b2a480f27775cba4f3ae191b1c1387a29de586e
/group_rep1/morphism/representation_on_field.lean
c684999a0685adbc982a105fe64bdb11640efeff
[]
no_license
Or7ando/group_representation
a681de2e19d1930a1e1be573d6735a2f0b8356cb
9b576984f17764ebf26c8caa2a542d248f1b50d2
refs/heads/master
1,662,413,107,324
1,590,302,389,000
1,590,302,389,000
258,130,829
0
1
null
null
null
null
UTF-8
Lean
false
false
2,551
lean
import morphism.projector import linear_algebra.basis universes u v w w' variables {K : Type u} {V : Type v} [field K] [add_comm_group V] [vector_space K V] [finite_dimensional K V](B : fin 3 → V)(hv : is_basis K B) /-! Goal : For a sub-vector space `W ≤ V`, construction of a projector `p : V →ₗ[K] V` with `r...
9cc7a1f94149198a5fe53db748da4e3a93edf61c
94e33a31faa76775069b071adea97e86e218a8ee
/src/set_theory/cardinal/cofinality.lean
e55bbd14263d5f0432590da3a5b69181ee3a9a3e
[ "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
45,306
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro, Floris van Doorn, Violeta Hernández Palacios -/ import set_theory.cardinal.ordinal import set_theory.ordinal.fixed_point /-! # Cofinality This file contains the defi...
0f281445c69431535afec2fbfc18b8548ea75af1
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/linear_algebra/invariant_basis_number.lean
ef9b54e5dcfbee1f12c7b98907b4cdda1ddc6e27
[ "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
12,306
lean
/- Copyright (c) 2020 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel, Scott Morrison -/ import ring_theory.ideal.quotient import ring_theory.principal_ideal_domain /-! # Invariant basis number property > THIS FILE IS SYNCHRONIZED WITH MAT...
79027a41e41e0f64b62b3b4503b9bbdae5cdc91b
87a08a8e9b222ec02f3327dca4ae24590c1b3de9
/src/data/fintype.lean
21da5628e7b2273bc70b645681815d1e408f4a9e
[ "Apache-2.0" ]
permissive
naussicaa/mathlib
86d05223517a39e80920549a8052f9cf0e0b77b8
1ef2c2df20cf45c21675d855436228c7ae02d47a
refs/heads/master
1,592,104,950,080
1,562,073,069,000
1,562,073,069,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
31,156
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro Finite types. -/ import data.finset algebra.big_operators data.array.lemmas logic.unique universes u v variables {α : Type*} {β : Type*} {γ : Type*} /-- `fintype α` me...
63b54e8cbc3961dfaa013135ba539fa233e05860
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/field_theory/primitive_element.lean
19ac99d09ab47a0028ca3d781edaf5ed6ea87e1d
[ "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
8,363
lean
/- Copyright (c) 2020 Thomas Browning, Patrick Lutz. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Thomas Browning, Patrick Lutz -/ import field_theory.adjoin import field_theory.separable /-! # Primitive Element Theorem In this file we prove the primitive element ...
41181cd5c56d35f1c6dcd943c499dc7015e86617
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/field_theory/finite/polynomial.lean
88aab88ecda56731ceb7828e7cc83f902b06add9
[ "Apache-2.0" ]
permissive
dexmagic/mathlib
ff48eefc56e2412429b31d4fddd41a976eb287ce
7a5d15a955a92a90e1d398b2281916b9c41270b2
refs/heads/master
1,693,481,322,046
1,633,360,193,000
1,633,360,193,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
7,544
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 field_theory.finite.basic import field_theory.mv_polynomial import data.mv_polynomial.expand import linear_algebra.basic import linear_algebra.finite_dimensio...
3d4676b442d72a7b9916726935dcc57deba07f4f
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/data/polynomial/taylor.lean
8cea6165daa5697760d86f1daebf6830d8ef7fdf
[ "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,886
lean
/- Copyright (c) 2021 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin -/ import data.polynomial.algebra_map import data.polynomial.hasse_deriv import data.polynomial.degree.lemmas /-! # Taylor expansions of polynomials > THIS FILE IS SY...
02e9ce46cb344423421448c12920bf9b45ccfd1a
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/tests/lean/run/blast_cc6.lean
4baba50776cccd6a40ca84c1e3a36d2b8666cfc0
[ "Apache-2.0" ]
permissive
YHVHvx/lean
732bf0fb7a298cd7fe0f15d82f8e248c11db49e9
038369533e0136dd395dc252084d3c1853accbf2
refs/heads/master
1,610,701,080,210
1,449,128,595,000
1,449,128,595,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
528
lean
import data.list set_option blast.simp false set_option blast.subst false open perm list definition tst₁ (A : Type) (l₁ l₂ l₃ l₄ l₅ : list A) : (l₁ ~ l₂) → (l₃ ~ l₄) → (l₁ ++ l₃ ++ l₅ ++ l₄ ++ l₁) ~ (l₂ ++ l₄ ++ l₅ ++ l₃ ++ l₂) := by blast print tst₁ definition tst₂ (A : Type) (l₁ l₂ l₃ l₄ l...
52492b375a81c8d908c93f28e73c2eac4e265a2b
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/init/meta/tagged_format.lean
2e172eeb204a3df35ce7bb582338f2aaa09f61dc
[]
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
400
lean
/- Copyright (c) E.W.Ayers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: E.W.Ayers -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.meta.tactic import Mathlib.Lean3Lib.init.meta.expr_address import Mathlib.Lean3Lib.init.control.default namespace Mathlib /--...
7bab15a18f051395618f2be321b02f77d41e0d0c
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/topology/urysohns_lemma.lean
32ea00924cfce89046c4aad92fbf078526aac180
[ "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
12,638
lean
/- Copyright (c) 2021 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import analysis.normed_space.add_torsor import linear_algebra.affine_space.ordered import topology.continuous_function.basic /-! # Urysohn's lemma In this f...
3eed28d2734551be360af1b5f7b91d6672bd8f7e
4727251e0cd73359b15b664c3170e5d754078599
/src/data/list/pairwise.lean
97f027b5ae80374a7efb0b187aeff32c66b45adf
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
18,231
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.list.count import data.list.lex import data.list.sublists import data.set.pairwise /-! # Pairwise relations on a list This file provides basic results a...
6d1b6f6c412c16cf720e3f301e3f6ceb50d0f7ac
94e33a31faa76775069b071adea97e86e218a8ee
/src/combinatorics/additive/salem_spencer.lean
71b65b62a5537fb8813bbf1497712bf6fad07276
[ "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
17,983
lean
/- Copyright (c) 2021 Yaël Dillies, Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies, Bhavik Mehta -/ import algebra.hom.freiman import analysis.asymptotics.asymptotics import analysis.convex.strict_convex_space /-! # Salem-Spencer sets and Ro...
cfa86bfdb76c8f7e13e5f098d496936f13539e60
fecda8e6b848337561d6467a1e30cf23176d6ad0
/src/data/nat/sqrt.lean
46087990a239e3cbc88bedb800d1aa9cf1d708c9
[ "Apache-2.0" ]
permissive
spolu/mathlib
bacf18c3d2a561d00ecdc9413187729dd1f705ed
480c92cdfe1cf3c2d083abded87e82162e8814f4
refs/heads/master
1,671,684,094,325
1,600,736,045,000
1,600,736,045,000
297,564,749
1
0
null
1,600,758,368,000
1,600,758,367,000
null
UTF-8
Lean
false
false
7,200
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Johannes Hölzl, Mario Carneiro -/ import data.int.basic /-! # Square root of natural numbers An efficient binary implementation of a (`sqrt n`) function that...
791b1b9dd7af7c6a202d930786e1cc800801c501
4727251e0cd73359b15b664c3170e5d754078599
/src/geometry/manifold/cont_mdiff_map.lean
8fa29bf4479e5aefb1e9f5b5c60f66955a1b2aef
[ "Apache-2.0" ]
permissive
Vierkantor/mathlib
0ea59ac32a3a43c93c44d70f441c4ee810ccceca
83bc3b9ce9b13910b57bda6b56222495ebd31c2f
refs/heads/master
1,658,323,012,449
1,652,256,003,000
1,652,256,003,000
209,296,341
0
1
Apache-2.0
1,568,807,655,000
1,568,807,655,000
null
UTF-8
Lean
false
false
3,769
lean
/- Copyright © 2020 Nicolò Cavalleri. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nicolò Cavalleri -/ import geometry.manifold.cont_mdiff import topology.continuous_function.basic /-! # Smooth bundled map In this file we define the type `cont_mdiff_map` of `n` ti...
39188634c522b6790f01df0465fa81aa8638cfc3
8e31b9e0d8cec76b5aa1e60a240bbd557d01047c
/src/refinement/simplex.lean
4119525d04dfdde29a0eb6e99bd91460b43ac916
[]
no_license
ChrisHughes24/LP
7bdd62cb648461c67246457f3ddcb9518226dd49
e3ed64c2d1f642696104584e74ae7226d8e916de
refs/heads/master
1,685,642,642,858
1,578,070,602,000
1,578,070,602,000
195,268,102
4
3
null
1,569,229,518,000
1,562,255,287,000
Lean
UTF-8
Lean
false
false
44,389
lean
import .tableau order.lexicographic open matrix fintype finset function pequiv partition variables {m n : ℕ} variables {X : ℕ → ℕ → Type} [is_tableau X] local notation `rvec`:2000 n := matrix (fin 1) (fin n) ℚ local notation `cvec`:2000 m := matrix (fin m) (fin 1) ℚ local infix ` ⬝ `:70 := matrix.mul local postfix `ᵀ...
fae7ae1d94c279ba10a90c16ade17e023466222a
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/ring_theory/polynomial/gauss_lemma.lean
72d07cc1d2395423bc676b40fda4802f0e1664b5
[ "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
7,970
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson -/ import ring_theory.int.basic import ring_theory.localization /-! # Gauss's Lemma Gauss's Lemma is one of a few results pertaining to irreducibility of primitive pol...
3d17d9fe77366b97896e79869361854809f25b40
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/src/builtin/kernel.lean
7e06e7a939462dfaed2a5889640b49b0d8a78ad5
[ "Apache-2.0" ]
permissive
codyroux/lean0.1
1ce92751d664aacff0529e139083304a7bbc8a71
0dc6fb974aa85ed6f305a2f4b10a53a44ee5f0ef
refs/heads/master
1,610,830,535,062
1,402,150,480,000
1,402,150,480,000
19,588,851
2
0
null
null
null
null
UTF-8
Lean
false
false
46,255
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 macros tactic universe U ≥ 1 definition TypeU := (Type U) -- create default rewrite rule set (* mk_rewrite_rule_set() *) variable Bool : Type -...
cd4852e81b295173592b80c097ffd17c0677c53d
8930e38ac0fae2e5e55c28d0577a8e44e2639a6d
/tactic/basic.lean
11534fda5bef507aaeee95a154f0e02a13e4b680
[ "Apache-2.0" ]
permissive
SG4316/mathlib
3d64035d02a97f8556ad9ff249a81a0a51a3321a
a7846022507b531a8ab53b8af8a91953fceafd3a
refs/heads/master
1,584,869,960,527
1,530,718,645,000
1,530,724,110,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,786
lean
/- Copyright (c) 2018 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro -/ import data.dlist.basic namespace expr open tactic protected meta def to_pos_nat : expr → option ℕ | `(has_one.one _) := some 1 | `(bit0 %%e) := bit0 <$> e.to_pos_...
cc666fd965f75f882035aa5122e94d1ac2471eb6
957a80ea22c5abb4f4670b250d55534d9db99108
/tests/lean/run/1705.lean
35aef26a3248b37e1db3bfbe7b248197152cc075
[ "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
376
lean
def {u} stream (α : Type u) := nat → α constant stream.cons {α} (a : α) (s : stream α) : stream α notation h :: t := stream.cons h t inductive T : Type | mk : nat → T notation `&-` := T.mk example : T → T | (&- x) := &- x --works notation `&-` := list.head example : T → T | (&- x) := &- x def f {α} : list α → nat...
6284ae0b0dd0cb2c69a93d2de2a26c094c7dc126
491068d2ad28831e7dade8d6dff871c3e49d9431
/hott/types/lift.hlean
8d332bc8d034ead000cf7d84bffdd4e74df3e2f5
[ "Apache-2.0" ]
permissive
davidmueller13/lean
65a3ed141b4088cd0a268e4de80eb6778b21a0e9
c626e2e3c6f3771e07c32e82ee5b9e030de5b050
refs/heads/master
1,611,278,313,401
1,444,021,177,000
1,444,021,177,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
4,865
hlean
/- 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 Theorems about lift -/ import ..function open eq equiv equiv.ops is_equiv is_trunc namespace lift universe variables u v variables {A : Type.{u}} (z z' : lift...
b651a1ebe6dac85395c35bca4be57758b227069c
6e9cd8d58e550c481a3b45806bd34a3514c6b3e0
/src/data/list/defs.lean
6f8dfc345283a478d5b47d0a260c948b0a4306d4
[ "Apache-2.0" ]
permissive
sflicht/mathlib
220fd16e463928110e7b0a50bbed7b731979407f
1b2048d7195314a7e34e06770948ee00f0ac3545
refs/heads/master
1,665,934,056,043
1,591,373,803,000
1,591,373,803,000
269,815,267
0
0
Apache-2.0
1,591,402,068,000
1,591,402,067,000
null
UTF-8
Lean
false
false
20,100
lean
/- Copyright (c) 2014 Parikshit Khanna. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Parikshit Khanna, Jeremy Avigad, Leonardo de Moura, Floris van Doorn, Mario Carneiro Extra definitions on lists. -/ import data.option.defs import logic.basic import tactic.cache n...
a0f59a50f399b7e3a2a01f1403d1348ec46de35b
9b9a16fa2cb737daee6b2785474678b6fa91d6d4
/src/tactic/wlog.lean
cd224ab0ad2a39be4ccb52dd793efc253cbdcee7
[ "Apache-2.0" ]
permissive
johoelzl/mathlib
253f46daa30b644d011e8e119025b01ad69735c4
592e3c7a2dfbd5826919b4605559d35d4d75938f
refs/heads/master
1,625,657,216,488
1,551,374,946,000
1,551,374,946,000
98,915,829
0
0
Apache-2.0
1,522,917,267,000
1,501,524,499,000
Lean
UTF-8
Lean
false
false
9,318
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl Without loss of generality tactic. -/ import tactic.basic tactic.interactive data.list.perm open expr tactic lean lean.parser local postfix `?`:9001 := optional local...
07c60a0c9e47ccad94632b3f9ce7423c216631ca
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/urysohns_lemma.lean
86952bc44ec7be93c9506e5b372a0200509c1c6a
[ "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
12,740
lean
/- Copyright (c) 2021 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import analysis.normed_space.add_torsor import linear_algebra.affine_space.ordered import topology.continuous_function.basic /-! # Urysohn's lemma > THIS FI...
555fa7cca8ca99fd4c0bc83295efc6b8bb515029
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/algebra/module/submodule_pointwise.lean
8655ebcfac52db3c6e0c7c42c7383f720fc6025c
[ "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
3,478
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.pointwise import linear_algebra.basic /-! # Pointwise instances on `submodule`s This file provides the actions * `submodule.pointwise_distri...
66777337ce5e989c1b0893d72210b29c5932753c
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/groupoid.lean
77dab11b93718d387df7d5091bfcd117104dab9c
[ "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
2,261
lean
/- Copyright (c) 2018 Reid Barton All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Scott Morrison, David Wärn -/ import category_theory.full_subcategory namespace category_theory universes v v₂ u u₂ -- morphism levels before object levels. See note [catego...
c01e6bef763df7fad1fd359c1195aa881dc89564
491068d2ad28831e7dade8d6dff871c3e49d9431
/hott/algebra/category/category.hlean
b58fa40906619e272c5c2bc8a7ed1ce48aa9c58f
[ "Apache-2.0" ]
permissive
davidmueller13/lean
65a3ed141b4088cd0a268e4de80eb6778b21a0e9
c626e2e3c6f3771e07c32e82ee5b9e030de5b050
refs/heads/master
1,611,278,313,401
1,444,021,177,000
1,444,021,177,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,735
hlean
/- Copyright (c) 2014 Jakob von Raumer. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jakob von Raumer -/ import .iso open iso is_equiv equiv eq is_trunc -- A category is a precategory extended by a witness -- that the function from paths to isomorphisms, -- is an e...
eb8e732dc63a063e2d6272952cecbc54b4a7beee
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/isomorphism.lean
97e0173b3985db89fc5009f75bfe863a7d213a3c
[ "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
14,402
lean
/- Copyright (c) 2017 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tim Baumann, Stephen Morgan, Scott Morrison, Floris van Doorn -/ import category_theory.functor /-! # Isomorphisms This file defines isomorphisms between objects of a category. ## M...
244bb9f4bbd541d6a6b11fb9a1eeac786fa328ec
50b3917f95cf9fe84639812ea0461b38f8f0dbe1
/M1F/easy_for_mathematicians/induction.lean
e3fbd518438d313bed55b6bc6a58a52c0b4dfeaa
[]
no_license
roro47/xena
6389bcd7dcf395656a2c85cfc90a4366e9b825bb
237910190de38d6ff43694ffe3a9b68f79363e6c
refs/heads/master
1,598,570,061,948
1,570,052,567,000
1,570,052,567,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,257
lean
--import data.finset data.set.finite data.fintype --universes u v /-- sum_from_one_to n f sums f(i) for 1<=i<=n -/ definition sum_from_one_to {α : Type*} [has_add α] [has_zero α] (n : ℕ) (f : ℕ → α) : α := sorry theorem sum_from_one_to.rec {α : Type*} [has_add α] [has_zero α] (n : ℕ) (f : ℕ → α) : sum_from_one_t...
eaed558b8f90cbc3275bc2fd5202a25e35aab37d
08bd4ba4ca87dba1f09d2c96a26f5d65da81f4b4
/src/Lean/Server/CodeActions.lean
b95db3e57e1db4ab3cb6915692091f39f728a639
[ "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,310
lean
/- Copyright (c) 2022 E.W.Ayers. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: E.W.Ayers -/ import Lean.Server.FileWorker.RequestHandling import Lean.Server.InfoUtils namespace Lean.Server open Lsp open RequestM open Snapshots /-- A code action optionally support...
3f8aaca401fadfd8e19b9feeee0c45e2ff460d19
37da0369b6c03e380e057bf680d81e6c9fdf9219
/hott/algebra/group_power.hlean
fe652e0303e8f8a1b0a7e80a639f000f6d4861b3
[ "Apache-2.0" ]
permissive
kodyvajjha/lean2
72b120d95c3a1d77f54433fa90c9810e14a931a4
227fcad22ab2bc27bb7471be7911075d101ba3f9
refs/heads/master
1,627,157,512,295
1,501,855,676,000
1,504,809,427,000
109,317,326
0
0
null
1,509,839,253,000
1,509,655,713,000
C++
UTF-8
Lean
false
false
11,516
hlean
/- Copyright (c) 2015 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Jeremy Avigad The power operation on monoids prod groups. We separate this from group, because it depends on nat, which in turn depends on other parts of algebra. We have "pow a n" for...
3ad23d17525798b960444a2e7da7d04ac6222129
3cb7d30bb276fa1e8fe9ca7b979f53cbfafb2dbb
/leanpkg/leanpkg/main.lean
84d6fa1dc25207a3c4e5e090e5c9eadb7dd031c4
[ "Apache-2.0" ]
permissive
andrejtokarcik/lean
e4148f69d020385c4fc07662b77792681b26c4d9
ceacfa7445953cbc8860ddabc55407430a9ca5c3
refs/heads/master
1,584,800,445,031
1,529,598,225,000
1,529,598,469,000
138,652,902
0
0
Apache-2.0
1,529,962,767,000
1,529,962,767,000
null
UTF-8
Lean
false
false
11,766
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Gabriel Ebner -/ import leanpkg.resolve leanpkg.git namespace leanpkg def write_file (fn : string) (cnts : string) (mode := io.mode.write) : io unit := do h ← io.mk_file_handle...
7aca6781b44c2a0aa70e06dd5347b6c5ad9d7b8a
ed27983dd289b3bcad416f0b1927105d6ef19db8
/src/inClassNotes/demo.lean
1fcf2870f5611d4b1a36fa7bc04cc0667ca5f2f1
[]
no_license
liuxin-James/complogic-s21
0d55b76dbe25024473d31d98b5b83655c365f811
13e03e0114626643b44015c654151fb651603486
refs/heads/master
1,681,109,264,463
1,618,848,261,000
1,618,848,261,000
337,599,491
0
0
null
1,613,141,619,000
1,612,925,555,000
null
UTF-8
Lean
false
false
1,275
lean
inductive sqr_pred : nat → nat → Prop | in_sqr_pred : ∀ (n1 n2 : nat), (n2 = n1*n1) → sqr_pred n1 n2 open sqr_pred #check sqr_pred 3 6 example : sqr_pred 3 9:= in_sqr_pred _ _ (eq.refl _) example : sqr_pred 3 9:= begin apply in_sqr_pred _ _ _, exact (eq.refl _), end theorem verification : ∀ (n1 n2 : nat), sqr...
b2bbba2227ff2850f84658db0c1cfc15df626c2e
9b9a16fa2cb737daee6b2785474678b6fa91d6d4
/src/data/analysis/filter.lean
9145cc66933147d04a0767505c1d7a5b49d8b40f
[ "Apache-2.0" ]
permissive
johoelzl/mathlib
253f46daa30b644d011e8e119025b01ad69735c4
592e3c7a2dfbd5826919b4605559d35d4d75938f
refs/heads/master
1,625,657,216,488
1,551,374,946,000
1,551,374,946,000
98,915,829
0
0
Apache-2.0
1,522,917,267,000
1,501,524,499,000
Lean
UTF-8
Lean
false
false
11,833
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro Computational realization of filters (experimental). -/ import order.filter open set filter /-- A `cfilter α σ` is a realization of a filter (base) on `α`, represent...
eceec795b2d932adc61672742053b9f4f06482c9
690889011852559ee5ac4dfea77092de8c832e7e
/src/order/basic.lean
ceec3b8c71f7250ce7a13535ab2a18305f6629a8
[ "Apache-2.0" ]
permissive
williamdemeo/mathlib
f6df180148f8acc91de9ba5e558976ab40a872c7
1fa03c29f9f273203bbffb79d10d31f696b3d317
refs/heads/master
1,584,785,260,929
1,572,195,914,000
1,572,195,913,000
138,435,193
0
0
Apache-2.0
1,529,789,739,000
1,529,789,739,000
null
UTF-8
Lean
false
false
26,152
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad, Mario Carneiro -/ import logic.basic data.sum data.set.basic algebra.order open function /- TODO: automatic construction of dual definitions / theorems -/ universes u v...
afe70be2ee142424a8e64cd6de80408cb1b2e685
26bff4ed296b8373c92b6b025f5d60cdf02104b9
/tests/lean/run/clear_tac.lean
7f9bcee8be1d9d70ee9c433501c8267b36a255c1
[ "Apache-2.0" ]
permissive
guiquanz/lean
b8a878ea24f237b84b0e6f6be2f300e8bf028229
242f8ba0486860e53e257c443e965a82ee342db3
refs/heads/master
1,526,680,092,098
1,427,492,833,000
1,427,493,281,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
289
lean
import logic example {a b c : Prop} : a → b → c → a ∧ b := begin intros (Ha, Hb, Hc), clear Hc, clear c, apply (and.intro Ha Hb), end example {a b c : Prop} : a → b → c → c ∧ b := begin intros (Ha, Hb, Hc), clear Ha, clear a, apply (and.intro Hc Hb), end
29fb3d24fd774c1b14e968e66310db7f52e7c39f
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/hott/615.hlean
021003ab5e6c688af2114081b9a3e25bad63996e
[ "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
489
hlean
-- HoTT import homotopy.circle open circle eq int pi attribute circle.rec circle.elim [recursor 4] protected definition my_code (x : circle) : Type₀ := begin induction x, { exact ℤ}, { apply ua, apply equiv_succ} end protected definition my_decode {x : circle} : my_code x → base = x := begin induction x,...
ac8144206c329877c2099626c9fb61661b1828df
ce89339993655da64b6ccb555c837ce6c10f9ef4
/bluejam/chap5_exercise4.1.lean
0945cf80d799905046dd5cfec143584458d80b05
[]
no_license
zeptometer/LearnLean
ef32dc36a22119f18d843f548d0bb42f907bff5d
bb84d5dbe521127ba134d4dbf9559b294a80b9f7
refs/heads/master
1,625,710,824,322
1,601,382,570,000
1,601,382,570,000
195,228,870
2
0
null
null
null
null
UTF-8
Lean
false
false
554
lean
variables (α : Type) (p q : α → Prop) example : (∀ x, p x ∧ q x) ↔ (∀ x, p x) ∧ (∀ x, q x) := begin apply iff.intro, intro h, split, intro x, apply (h x).left, intro x, exact (h x).right, intro h, intro x, split, apply h.left, apply h.right end example : (∀ x, p x → q x) → (∀ ...
2783a454a994b5b99cd446e61774b93fa3e64280
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/sign.lean
e0b080a9ee84bb4a355c9cadd1aa01b3eaba2b3d
[ "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,072
lean
inductive Sign where | zero | neg | pos deriving DecidableEq instance : OfNat Sign (nat_lit 0) where ofNat := .zero instance : OfNat Sign (nat_lit 1) where ofNat := .pos instance : Neg Sign where neg | .zero => .zero | .pos => .neg | .neg => .pos namespace Sign @[simp] theorem zero_eq : zer...
d1013e50592768ca6ea61fd4a20632a4a40c8057
491068d2ad28831e7dade8d6dff871c3e49d9431
/library/data/matrix.lean
3067891ae93d50cf92a549f4d10270cf0202076a
[ "Apache-2.0" ]
permissive
davidmueller13/lean
65a3ed141b4088cd0a268e4de80eb6778b21a0e9
c626e2e3c6f3771e07c32e82ee5b9e030de5b050
refs/heads/master
1,611,278,313,401
1,444,021,177,000
1,444,021,177,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,813
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 Matrices -/ import algebra.ring data.fin data.fintype open algebra fin nat definition matrix [reducible] (A : Type) (m n : nat) := fin m → fin n → A namespac...
38989ea47ec8a77e1e181e1214bc83b465113cc0
2c41ae31b2b771ad5646ad880201393f5269a7f0
/Lean/Qualities/Sustainable.lean
2dfaa4ef094d6316ded3feb16392d4eb5416e0b2
[]
no_license
kevinsullivan/Boehm
926f25bc6f1a8b6bd47d333d936fdfc278228312
55208395bff20d48a598b7fa33a4d55a2447a9cf
refs/heads/master
1,586,127,134,302
1,488,252,326,000
1,488,252,326,000
32,836,930
0
0
null
null
null
null
UTF-8
Lean
false
false
674
lean
-- Sustainable /- [Sustainable] is parameterized by an instance of type [SystemType], and it's a sub-attribute to [Efficient]. An instance of type [SystemType] is deemed [Sustainable] if and only if all the requirements are satisfied. -/ import SystemModel.System inductive Sustainable (sys_type: SystemType):...
622f0b7739b4efcfe18968c07470d7f12926fd2f
38ee9024fb5974f555fb578fcf5a5a7b71e669b5
/Mathlib/Tactic/Basic.lean
0ac5dff41533e5352ef2df6b23248ad07eb215d5
[ "Apache-2.0" ]
permissive
denayd/mathlib4
750e0dcd106554640a1ac701e51517501a574715
7f40a5c514066801ab3c6d431e9f405baa9b9c58
refs/heads/master
1,693,743,991,894
1,636,618,048,000
1,636,618,048,000
373,926,241
0
0
null
null
null
null
UTF-8
Lean
false
false
6,755
lean
/- Copyright (c) 2021 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import Mathlib.Tactic.NoMatch import Lean.Elab.Command open Lean Parser.Tactic Elab Command Elab.Tactic Meta syntax (name := «variables») "variables" (bracketedBinde...
9ee40d43a0bdf71a8ced845e6ecf1ea5fe2e0ba6
36c7a18fd72e5b57229bd8ba36493daf536a19ce
/library/data/real/default.lean
4567ee42ff0db0c50d3133410ced3e8285068f42
[ "Apache-2.0" ]
permissive
YHVHvx/lean
732bf0fb7a298cd7fe0f15d82f8e248c11db49e9
038369533e0136dd395dc252084d3c1853accbf2
refs/heads/master
1,610,701,080,210
1,449,128,595,000
1,449,128,595,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
210
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Robert Y. Lewis -/ import .basic .order .division .complete .bigops
5c914bea0b6c33edc98b173a5887f20b65a403c9
da3a76c514d38801bae19e8a9e496dc31f8e5866
/tests/lean/run/fingerprint.lean
218bb7a8f23c62f87216ed85ba128cf08b3bf603
[ "Apache-2.0" ]
permissive
cipher1024/lean
270c1ac5781e6aee12f5c8d720d267563a164beb
f5cbdff8932dd30c6dd8eec68f3059393b4f8b3a
refs/heads/master
1,611,223,459,029
1,487,566,573,000
1,487,566,573,000
83,356,543
0
0
null
1,488,229,336,000
1,488,229,336,000
null
UTF-8
Lean
false
false
710
lean
open tactic run_command attribute.fingerprint `reducible >>= trace definition ex0 : nat := by attribute.fingerprint `reducible >>= nat.to_expr >>= exact attribute [reducible] definition f : nat := 10 run_command attribute.fingerprint `reducible >>= trace definition ex1 : nat := by attribute.fingerprint `reducible ...
a39c4323536efea953627c3a4de9c740ff3a8822
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/slow/nat_bug1.lean
a6d1b2dd41ed8c830cb4fd735c731476e077f49a
[ "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
1,050
lean
---------------------------------------------------------------------------------------------------- -- Copyright (c) 2014 Floris van Doorn. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. -- Author: Floris van Doorn -----------------------------------------------------------...
a371e2cbc4ed708fb2a4b2cac00f83d2709d87b5
38bf3fd2bb651ab70511408fcf70e2029e2ba310
/src/category_theory/whiskering.lean
32e7e53fa7818862e85522be286890af5e2fd076
[ "Apache-2.0" ]
permissive
JaredCorduan/mathlib
130392594844f15dad65a9308c242551bae6cd2e
d5de80376088954d592a59326c14404f538050a1
refs/heads/master
1,595,862,206,333
1,570,816,457,000
1,570,816,457,000
209,134,499
0
0
Apache-2.0
1,568,746,811,000
1,568,746,811,000
null
UTF-8
Lean
false
false
7,832
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 category_theory.natural_isomorphism namespace category_theory universes u₁ v₁ u₂ v₂ u₃ v₃ u₄ v₄ section variables (C : Type u₁) [𝒞 : category.{v₁} C] ...
bcda6fb7e56656d4f2ea6d79a38f40696c536bd4
682dc1c167e5900ba3168b89700ae1cf501cfa29
/src/basicmodal/language.lean
f80644455b7aae5e6c186c28350a7fc586215119
[]
no_license
paulaneeley/modal
834558c87f55cdd6d8a29bb46c12f4d1de3239bc
ee5d149d4ecb337005b850bddf4453e56a5daf04
refs/heads/master
1,675,911,819,093
1,609,785,144,000
1,609,785,144,000
270,388,715
13
1
null
null
null
null
UTF-8
Lean
false
false
632
lean
/- Copyright (c) 2021 Paula Neeley. All rights reserved. Author: Paula Neeley -/ inductive form : Type | bot : form | var (n : nat) : form | and (φ ψ : form) : form | impl (φ ψ : form) : form | box (φ : form) : form -- Notation notation `⊥`:80 := form.bot prefix `p`:80 := form.va...
cd77d83367d41fdd9c29b21c081f896b98901a5e
947b78d97130d56365ae2ec264df196ce769371a
/stage0/src/Lean/Declaration.lean
d21b9f0e33f15b3e7935bbc105e8ab912180fc53
[ "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
13,275
lean
/- Copyright (c) 2018 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Expr namespace Lean /-- Reducibility hints are used in the convertibility checker. When trying to solve a constraint such a (f ...)...
e4850f41b7295f1c73fb4d8f249e0066b96059a3
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/ring_theory/integral_closure.lean
45fe733cd2f34c7241a6a5f2f3590afa33ce3bfc
[ "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
33,049
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.basic import ring_theory.polynomial.scale_roots import ring_theory.polynomial.tower /-! # Integral closure of a subring. If A is an R-algebra then `...
1a3e3678bb23e204e3dd145f2557c318f076c2ee
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/algebra/regular/basic.lean
ab2c6ce3dea20796b27e0179a25a4033b823387f
[ "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
11,592
lean
/- Copyright (c) 2021 Damiano Testa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Damiano Testa -/ import algebra.ordered_monoid_lemmas import algebra.group_with_zero.basic import logic.embedding /-! # Regular elements We introduce left-regular, right-regular and r...
28cf50d8cf11b5df03c6648431f75bc67998e5e8
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebraic_geometry/projective_spectrum/topology.lean
d6d8f3f9408c0a642d3be8f4c7ebf9171bb905de
[ "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
18,625
lean
/- Copyright (c) 2020 Jujian Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jujian Zhang, Johan Commelin -/ import ring_theory.graded_algebra.homogeneous_ideal import topology.category.Top.basic import topology.sets.opens /-! # Projective spectrum of a graded ...
f0c138a83b437f95dbc71e86c6600393c4b4ae48
1fbca480c1574e809ae95a3eda58188ff42a5e41
/src/util/data/ulift_t.lean
14564d7f26f59eac28dedb9553f277e8c4363102
[]
no_license
unitb/lean-lib
560eea0acf02b1fd4bcaac9986d3d7f1a4290e7e
439b80e606b4ebe4909a08b1d77f4f5c0ee3dee9
refs/heads/master
1,610,706,025,400
1,570,144,245,000
1,570,144,245,000
99,579,229
5
0
null
null
null
null
UTF-8
Lean
false
false
2,400
lean
import util.data.functor universes u v w namespace ulift variables {α β γ : Type u} def pure (x : α) : ulift α := ⟨ x ⟩ def bind (x : ulift α) (f : α → ulift β) : ulift β := f (down x) instance : has_bind ulift := ⟨ @bind ⟩ lemma bind_assoc (x : ulift α) (f : α → ulift β) (g : β → ulift γ) : x >>= f >>= g = x >...
228a11e844d6641b39089440557d0d1d3da88ed0
5ae26df177f810c5006841e9c73dc56e01b978d7
/src/order/bounded_lattice.lean
2948ed906b8e640a4414954fff7c951ff6bffc22
[ "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
27,773
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 Defines bounded lattice type class hierarchy. Includes the Prop and fun instances. -/ import order.lattice data.option.basic tactic.pi_instances set_option ol...
56bd1981c8ff2fa7e7b63b7d5f885d694de2670e
022547453607c6244552158ff25ab3bf17361760
/archive/100-theorems-list/83_friendship_graphs.lean
9a2e554830ac7ae6d2113ac527d0e56aabb56b36
[ "Apache-2.0" ]
permissive
1293045656/mathlib
5f81741a7c1ff1873440ec680b3680bfb6b7b048
4709e61525a60189733e72a50e564c58d534bed8
refs/heads/master
1,687,010,200,553
1,626,245,646,000
1,626,245,646,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
13,770
lean
/- Copyright (c) 2020 Aaron Anderson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Aaron Anderson, Jalex Stark, Kyle Miller -/ import combinatorics.simple_graph.adj_matrix import linear_algebra.char_poly.coeff import data.int.modeq import data.zmod.basic import tacti...
4ca95608d36a304d7b1c8efcf5b624761a5e19e7
80cc5bf14c8ea85ff340d1d747a127dcadeb966f
/src/algebra/classical_lie_algebras.lean
5d26c5782e82b254cb6d1946ecb95dea4e7df774
[ "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
13,509
lean
/- Copyright (c) 2020 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash -/ import algebra.invertible import algebra.lie_algebra import linear_algebra.matrix /-! # Classical Lie algebras This file is the place to find definitions and basic proper...
29ba316e4181a61b39b8f945e18d890be7e3d7d0
947b78d97130d56365ae2ec264df196ce769371a
/tests/compiler/phashmap.lean
e1ad3192444bea56014edeb7f5846b8b5a5c15e3
[ "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
2,146
lean
import Std.Data.PersistentHashMap import Lean.Data.Format open Lean Std Std.PersistentHashMap abbrev Map := PersistentHashMap Nat Nat partial def formatMap : Node Nat Nat → Format | Node.collision keys vals _ => Format.sbracket $ keys.size.fold (fun i fmt => let k := keys.get! i; let v := vals.get...
d68699fdf8ff7fdee0dbca11c53dff73dbdc99bf
b7f22e51856f4989b970961f794f1c435f9b8f78
/hott/types/fin.hlean
969245261592b12b51ce9677387cad74e1a432be
[ "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
22,742
hlean
/- Copyright (c) 2015 Haitao Zhang. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Haitao Zhang, Leonardo de Moura, Jakob von Raumer, Floris van Doorn Finite ordinal types. -/ import types.list algebra.bundled function logic types.prod types.sum types.nat.div open eq ...
385106cef91bacc83ed9c338b3daecb9a8a4c1be
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/linear_algebra/lagrange.lean
eed289c788c5f537da0c17248760dbf30f9ed592
[ "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
7,047
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import ring_theory.polynomial import algebra.big_operators.basic /-! # Lagrange interpolation ## Main definitions * `lagrange.basis s x` where `s : finset F` and `x : F`: t...
0dfe448de1816bcd6b2bdd5ec6852cfb6eeedc9a
048b0801f6dafb6486ca4f22bd0957671c3002ff
/src/tools/filter_decls.lean
b35d55b1dcf00bc76c8155a0d38d85f54f957733
[ "Apache-2.0" ]
permissive
Scikud/lean-gym
e0782e36389ecfa1605a0c12dc95f67014a0fa05
a1ca851b7c09eca1f72be2d059e3ed5536348b0b
refs/heads/main
1,693,940,033,482
1,633,522,864,000
1,633,522,864,000
419,793,692
0
0
null
null
null
null
UTF-8
Lean
false
false
1,892
lean
import util.tactic import all import tactic section main section namespace io namespace fs def put_str_ln_flush (h : handle) (s : string) : io unit := put_str h s *> put_str h "\n" *> flush h end fs end io setup_tactic_parser meta def parse_decl_nm_and_open_ns : string → tactic (name × list name) := λ inp, flip ...
9f769e26190d36981dfb444ded74006e1b6383a0
b561a44b48979a98df50ade0789a21c79ee31288
/tests/lean/run/smartUnfoldingBug.lean
8061d1c874225478a1d4d05de287a892dc04d168
[ "Apache-2.0" ]
permissive
3401ijk/lean4
97659c475ebd33a034fed515cb83a85f75ccfb06
a5b1b8de4f4b038ff752b9e607b721f15a9a4351
refs/heads/master
1,693,933,007,651
1,636,424,845,000
1,636,424,845,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
6,310
lean
import Lean.Meta open Nat structure ProvedSkip(n m: Nat) where result : Nat lt : m < n → result = m ge : n ≤ m → result = m + 1 def provedSkip (n m : Nat) : ProvedSkip n m := if c : m < n then ⟨m, fun _ => rfl, fun hyp => False.elim (Nat.lt_irrefl m (Nat.lt_of_lt_of_le c hyp))⟩ else ⟨m + 1, fun hyp ...
79bd246a2606896be0ba892fadf0670e34cc3917
302c785c90d40ad3d6be43d33bc6a558354cc2cf
/src/linear_algebra/affine_space/ordered.lean
c56f5bdc111f802606cd2ae090a963581ddcbe38
[ "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
15,834
lean
/- Copyright (c) 2020 Yury G. Kudryashov. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yury G. Kudryashov -/ import linear_algebra.affine_space.midpoint import algebra.module.ordered import tactic.field_simp /-! # Ordered modules as affine spaces In this file we de...
04b077ae29fe5924a52deadbefce6d3971958a7e
e00ea76a720126cf9f6d732ad6216b5b824d20a7
/src/category_theory/graded_object.lean
3ba6e6d4beac2cb4c18899822230ef7c2725aa75
[ "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,740
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.shift import category_theory.limits.shapes.zero /-! # The category of graded objects For any type `β`, a `β`-graded object over some category...
907fc56ba8476c9f7043c1cb2e53f69e9eb8b4ee
947b78d97130d56365ae2ec264df196ce769371a
/tests/lean/macroStack.lean
081f15317dc7cbfa8dc03d299d70f55452dd4315
[ "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
313
lean
new_frontend def f1 := if h:x then 1 else 0 set_option pp.macroStack true def f2 := if h:(x > 0) then 1 else 0 def x := <- get macro foo! x:term:max : term => `(let x := "hello"; $x + x) macro bla! x:term:max : term => `(fun (x : Nat) => if foo! ($x + x) < 1 then true else false) def f (x : Nat) := bla! x
6d019ffb061c50d1f0fa4ef673f0eee904f5f1b3
97f752b44fd85ec3f635078a2dd125ddae7a82b6
/library/data/real/basic.lean
9210d1464a4c3de0f199d1d92502903f8297d6b0
[ "Apache-2.0" ]
permissive
tectronics/lean
ab977ba6be0fcd46047ddbb3c8e16e7c26710701
f38af35e0616f89c6e9d7e3eb1d48e47ee666efe
refs/heads/master
1,532,358,526,384
1,456,276,623,000
1,456,276,623,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
42,507
lean
/- Copyright (c) 2015 Robert Y. Lewis. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Robert Y. Lewis The real numbers, constructed as equivalence classes of Cauchy sequences of rationals. This construction follows Bishop and Bridges (1985). The construction of the rea...
de7ca1a04c84a5c1cfb2166c63f691f10fbe3c87
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/structure_instance_bug2.lean
9051ec14a94716ec334fb6b33f9a4153d2c314c4
[ "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
290
lean
def default_smt_pre_config : smt_pre_config := {} def my_pre_config1 : smt_pre_config := { default_smt_pre_config . zeta := tt } def my_pre_config2 : smt_pre_config := { default_smt_pre_config with zeta := tt } structure st := (i : ℕ) example (s : st) : unit × st := {s with i := 0}
8510a91d8d0ce708c83a735cfe26cf32301b3be5
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch5/ex0207.lean
0b9f258981513f9ce614835f320d3e5e623889e0
[]
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
111
lean
example (y : ℕ) : (λ x : ℕ, 0) y = 0 := begin refl end example (x : ℕ) : x ≤ x := begin refl end
5f18434a02fa90f33f784c2dc93f71186c2f3c24
7850aae797be6c31052ce4633d86f5991178d3df
/src/Lean/Server/FileWorker/RequestHandling.lean
026e7c80e0d067e6bf92d8f6ccf24b0106537a7d
[ "Apache-2.0" ]
permissive
miriamgoetze/lean4
4dc24d4dbd360cc969713647c2958c6691947d16
062cc5d5672250be456a168e9c7b9299a9c69bdb
refs/heads/master
1,685,865,971,011
1,624,107,703,000
1,624,107,703,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
15,906
lean
/- Copyright (c) 2021 Wojciech Nawrocki. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Wojciech Nawrocki, Marc Huisinga -/ import Lean.DeclarationRange import Lean.Data.Json import Lean.Data.Lsp import Lean.Server.FileWorker.Utils import Lean.Server.Requests import...
1d326774d5cdfd2a93e9c778a3c790a0c3f611bc
9dc8cecdf3c4634764a18254e94d43da07142918
/src/data/stream/defs.lean
874a07eb4fab0d9d917ea33b82611f3e2f807881
[ "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,231
lean
/- Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ /-! # Definition of `stream` and functions on streams A stream `stream α` is an infinite sequence of elements of `α`. One can also think about it as an in...
82a99fbcbb7da9ff529b1491582cee5c0ca39252
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/1124.lean
34049ad02918af81c91a4cd4bd29636224632d0e
[ "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
146
lean
open Lean syntax "foo" (ident ident)? : term variable (x y : Option (TSyntax identKind)) example : MacroM Syntax := `(foo $[$x:ident $y:ident]?)
f0044bd92c3a1152006042f7bebb0d55fc37b04f
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/ring_theory/valuation/basic.lean
e1dc335cac97420549af77fe7eb7e2fca82e6a41
[ "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
30,042
lean
/- Copyright (c) 2020 Johan Commelin. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, Johan Commelin, Patrick Massot -/ import algebra.order.with_zero import ring_theory.ideal.operations /-! # The basics of valuation theory. The basic theory of valuat...
00c27a2ded9754fbd4ea79580839ab178bf03aab
75db7e3219bba2fbf41bf5b905f34fcb3c6ca3f2
/hott/types/int/basic.hlean
142f3f32d22d80fe3e9cf77ba79da46364826328
[ "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
25,912
hlean
/- 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, Jeremy Avigad The integers, with addition, multiplication, and subtraction. The representation of the integers is chosen to compute efficiently. To faciliate prov...
8d6043e939cf373523c8c2343813888cafe985f1
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/order/category/NonemptyFinLinOrd.lean
8f74031530475df783126ca6781131077d7f366b
[ "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
2,267
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 data.fin.basic import data.fintype.sort import order.category.LinearOrder /-! # Nonempty finite linear orders Nonempty finite linear orders form the index ca...
c06971ac2967df176cdd035b9334a82076d13311
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/processGenDiseqBug.lean
b5da7000a82af18ac07b9d8ced94a1aa6700f73e
[ "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
559
lean
import Lean inductive NEList (α : Type) | uno : α → NEList α | cons : α → NEList α → NEList α def NEList.notUno : NEList α → Bool | uno a => true | cons a as => false inductive Lambda | mk : (l : NEList String) → l.notUno = true → Lambda inductive Value | lam : Lambda → Value | nil : Value def...
1edfbd60bec1efc511cc6a8b2167d567ab530aaf
1a61aba1b67cddccce19532a9596efe44be4285f
/hott/algebra/category/functor.hlean
2d2e8bd9cd3630f9e3ce598d74b964b08ac767ca
[ "Apache-2.0" ]
permissive
eigengrau/lean
07986a0f2548688c13ba36231f6cdbee82abf4c6
f8a773be1112015e2d232661ce616d23f12874d0
refs/heads/master
1,610,939,198,566
1,441,352,386,000
1,441,352,494,000
41,903,576
0
0
null
1,441,352,210,000
1,441,352,210,000
null
UTF-8
Lean
false
false
10,183
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, Jakob von Raumer -/ import .iso types.pi open function category eq prod prod.ops equiv is_equiv sigma sigma.ops is_trunc funext iso open pi structure functor (C ...
9c9c789007ce2f17d2b3492e5ef0a03a67161421
a0e23cfdd129a671bf3154ee1a8a3a72bf4c7940
/tests/lean/mvar2.lean
3770b21581dc75393e5a5bb0c33c25260ba5f9bf
[ "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
1,432
lean
import Lean.MetavarContext open Lean def check (b : Bool) : IO Unit := unless b do throw $ IO.userError "error" def f := mkConst `f [] def g := mkConst `g [] def a := mkConst `a [] def b := mkConst `b [] def c := mkConst `c [] def b0 := mkBVar 0 def b1 := mkBVar 1 def b2 := mkBVar 2 def u := mkLevelParam `u def t...
2a00a3e879aaa7b16b25c1d7c1ba247b859ae88b
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/limits/fubini.lean
5c6ca492bcde5ddcb7e79f0a0e1662374ea3f69c
[ "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,382
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.limits.has_limits import category_theory.products.basic import category_theory.functor.currying /-! # A Fubini theorem for categorical limits ...
1e1bbc8618e2caa57b4019dfa40ac7286082ea91
626e312b5c1cb2d88fca108f5933076012633192
/src/algebra/group/units.lean
b91bbbeef202dd0d3aacb2ac2502798fc7b5a0cc
[ "Apache-2.0" ]
permissive
Bioye97/mathlib
9db2f9ee54418d29dd06996279ba9dc874fd6beb
782a20a27ee83b523f801ff34efb1a9557085019
refs/heads/master
1,690,305,956,488
1,631,067,774,000
1,631,067,774,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
14,685
lean
/- Copyright (c) 2017 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Mario Carneiro, Johannes Hölzl, Chris Hughes, Jens Wagemaker -/ import algebra.group.basic import logic.nontrivial /-! # Units (i.e., invertible elements) of a multiplicative mo...
59860697c62f6c1c802499bc8e51bf65c5513608
ff5230333a701471f46c57e8c115a073ebaaa448
/tests/lean/run/simp_coe.lean
0d0a1ca3765a12191e58add9f26d1848e099436b
[ "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
329
lean
example (p : Prop) (h : p) : tt → p := begin simp, assumption end local attribute [semireducible] coe_sort_bool example (p : Prop) (h : p) : tt → p := begin fail_if_success {simp}, intro, assumption end local attribute [reducible] coe_sort_bool example (p : Prop) (h : p) : tt → p := begin simp, assumption e...
8543d45ae15d659020486bcf3d9c5c1106ae6ef4
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/run/doc_string4.lean
07798ea45d688ef2a03fc14a04d6ad06a9d9574f
[ "Apache-2.0" ]
permissive
bre7k30/lean
de893411bcfa7b3c5572e61b9e1c52951b310aa4
5a924699d076dab1bd5af23a8f910b433e598d7a
refs/heads/master
1,610,900,145,817
1,488,006,845,000
1,488,006,845,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,718
lean
/-! # Arithmetic expressions for a simple imperative language. -/ namespace imp open tactic /-- Variable names -/ @[reducible] def uname := string /-- #brief Arithmetic expressions abstract syntax tree. We encode x + 1 as ``` check aexp.plus (aexp.var "x") (aexp.val 1) ``` -/ inductive aexp | val : nat → aexp | va...
fd81eef7a68d33353849cd149fd337331cce336e
27a31d06bcfc7c5d379fd04a08a9f5ed3f5302d4
/src/Init/Prelude.lean
0333e0248645abbf73cab3a21033c00b38f67bc7
[ "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
joehendrix/lean4
0d1486945f7ca9fe225070374338f4f7e74bab03
1221bdd3c7d5395baa451ce8fdd2c2f8a00cbc8f
refs/heads/master
1,640,573,727,861
1,639,662,710,000
1,639,665,515,000
198,893,504
0
0
Apache-2.0
1,564,084,645,000
1,564,084,644,000
null
UTF-8
Lean
false
false
78,795
lean
/- Copyright (c) 2020 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude universe u v w @[inline] def id {α : Sort u} (a : α) : α := a @[inline] def Function.comp {α : Sort u} {β : Sort v} {δ : Sort w} (f : β → δ) (g :...
17e0490e572294484482edac81a2225b7c439d3f
1abd1ed12aa68b375cdef28959f39531c6e95b84
/src/algebraic_geometry/Spec.lean
5539652c6c0b298ea7defabe6673d602b449e7e8
[ "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
9,661
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison, Justus Springer -/ import algebraic_geometry.locally_ringed_space import algebraic_geometry.structure_sheaf import data.equiv.transfer_instance /-! # $Spec$ as a funct...
6677b7a02a5a87eab949b59f7929922a4a9c272e
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/limits/constructions/pullbacks.lean
48895df94d5df5006ae56de6527a990a67b1adcb
[ "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,036
lean
/- Copyright (c) 2020 Markus Himmel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Markus Himmel -/ import category_theory.limits.shapes.binary_products import category_theory.limits.shapes.equalizers import category_theory.limits.shapes.pullbacks /-! # Constructing ...