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
ec8ac09cf2dd929f43c5f8a08717bd7ad3c566e1
367134ba5a65885e863bdc4507601606690974c1
/src/combinatorics/simple_graph/degree_sum.lean
e915d98c4ab92765543d861c9d49e647ed15bfed
[ "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
8,342
lean
/- Copyright (c) 2020 Kyle Miller. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Kyle Miller -/ import combinatorics.simple_graph.basic import algebra.big_operators.basic import data.nat.parity import data.zmod.parity /-! # Degree-sum formula and handshaking lemma Th...
0b8a96c8faf00e5ddcf40578b68b11fe03b11844
82e44445c70db0f03e30d7be725775f122d72f3e
/src/data/complex/exponential.lean
0f20ee63741b6daf4f1746d6e662e5c338fb07e5
[ "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
61,909
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir -/ import algebra.geom_sum import data.complex.basic import data.nat.choose.sum /-! # Exponential, trigonometric and hyperbolic trigonometric func...
634cf2992b04c508362698955551886a04b3f989
a721fe7446524f18ba361625fc01033d9c8b7a78
/src/principia/mynat/fib.lean
22fbf2a166838edf303d03dd4f1920bf4f16bdde
[]
no_license
Sterrs/leaning
8fd80d1f0a6117a220bb2e57ece639b9a63deadc
3901cc953694b33adda86cb88ca30ba99594db31
refs/heads/master
1,627,023,822,744
1,616,515,221,000
1,616,515,221,000
245,512,190
2
0
null
1,616,429,050,000
1,583,527,118,000
Lean
UTF-8
Lean
false
false
5,682
lean
-- vim: ts=2 sw=0 sts=-1 et ai tw=70 import .basic import .dvd import .induction namespace hidden open mynat def fib: mynat → mynat | 0 := 0 | 1 := 1 | (succ (succ n)) := fib n + fib (succ n) variables {m n k p: mynat} @[simp] theorem fib_zero: fib 0 = 0 := rfl @[simp] theorem fib_one:...
0658044b4ec23ec1a1cb4a4cd927f9e7adf00044
6065973b1fa7bbacba932011c9e2f32bf7bdd6c1
/src/computability/DFA.lean
664c35fb40caedb0dbb889143bad68c46b97eb7d
[ "Apache-2.0" ]
permissive
khmacdonald/mathlib
90a0fa2222369fa69ed2fbfb841b74d2bdfd66cb
3669cb35c578441812ad30fd967d21a94b6f387e
refs/heads/master
1,675,863,801,090
1,609,761,876,000
1,609,761,876,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,500
lean
/- Copyright (c) 2020 Fox Thomson. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Fox Thomson -/ import data.fintype.basic import computability.language /-! # Deterministic Finite Automata This file contains the definition of a Deterministic Finite Automaton (DFA), a...
4cfe49e3f86b1ac9d77568cc28b1af2a618902d4
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/run/def2.lean
0ec294d7b8e0c25a8cadddb8cfb6de2d06357fb6
[ "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
93
lean
definition plus (a b : nat) : nat := nat.rec_on a b (λ a' ih, nat.succ ih) #eval plus 3 5
22b8651ed2405843d42aab94894125d025433fb4
d436468d80b739ba7e06843c4d0d2070e43448e5
/src/tactic/scc.lean
93b0d400557679611c2a9821d8f5b3b9385818bb
[ "Apache-2.0" ]
permissive
roro47/mathlib
761fdc002aef92f77818f3fef06bf6ec6fc1a28e
80aa7d52537571a2ca62a3fdf71c9533a09422cf
refs/heads/master
1,599,656,410,625
1,573,649,488,000
1,573,649,488,000
221,452,951
0
0
Apache-2.0
1,573,647,693,000
1,573,647,692,000
null
UTF-8
Lean
false
false
12,833
lean
/- Copyright (c) 2018 Simon Hudon All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon Tactics based on the strongly connected components (SCC) of a graph where the vertices are propositions and the edges are implications found in the context. They are used for...
05f91dae99f3ae7910a3c4980c9d08b0a95fc8f9
f3849be5d845a1cb97680f0bbbe03b85518312f0
/library/init/meta/environment.lean
be88ffedbb22ceb5a40b3ff676d9ec14367709a6
[ "Apache-2.0" ]
permissive
bjoeris/lean
0ed95125d762b17bfcb54dad1f9721f953f92eeb
4e496b78d5e73545fa4f9a807155113d8e6b0561
refs/heads/master
1,611,251,218,281
1,495,337,658,000
1,495,337,658,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
5,975
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.declaration init.meta.exceptional init.data.option.basic import init.meta.rb_map meta constant environment : Type namespace envir...
69ce38a16446419738513462b72893c2a4bf1306
9dd3f3912f7321eb58ee9aa8f21778ad6221f87c
/tests/lean/io_bug1.lean
27c90dc7ffca549989f5a1cf7eab61d6f80ed3f9
[ "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
412
lean
import system.io def bar : io unit := do put_str "one", put_str "two", put_str "three" vm_eval bar print "---------" def foo : ℕ → io unit | 0 := put_str "at zero\n" | (n+1) := do put_str "in\n", foo n, put_str "out\n" vm_eval foo 3 print "---------" def foo2 : ℕ → io unit | 0 := put_str "at zero\n" | (n...
61d5d32cd017a37039e0f4f6f5fdd0cdd33673b0
48eee836fdb5c613d9a20741c17db44c8e12e61c
/src/universal/basic.lean
70a245cecbe899ba6951ed6ae57eb4861d099834
[ "Apache-2.0" ]
permissive
fgdorais/lean-universal
06430443a4abe51e303e602684c2977d1f5c0834
9259b0f7fb3aa83a9e0a7a3eaa44c262e42cc9b1
refs/heads/master
1,592,479,744,136
1,589,473,399,000
1,589,473,399,000
196,287,552
1
1
null
null
null
null
UTF-8
Lean
false
false
2,824
lean
-- Copyright © 2019 François G. Dorais. All rights reserved. -- Released under Apache 2.0 license as described in the file LICENSE. import util namespace universal @[derive decidable_eq] structure arity (τ : Type) := (cod : τ) (dom : list τ) namespace arity variables {τ : Type} (a b : arity τ) protected theorem eq...
1a1274113c2b42c6e4e371057610140ce8b6cad0
bb31430994044506fa42fd667e2d556327e18dfe
/src/combinatorics/quiver/basic.lean
1dc41a020da102afbd6f3ef030ec89d93e549939
[ "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
4,390
lean
/- Copyright (c) 2021 David Wärn. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: David Wärn, Scott Morrison -/ import data.opposite /-! # Quivers > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to this file require a corresponding PR to mathlib4. This modul...
ba18220bda9e62035a135a2f8213d05b7e05f733
d65db56b17d72b62013ed1f438f74457ad25b140
/src/algebra.lean
8584c2030eb3574cf59fa34ad5a6116545f2ed0d
[]
no_license
swgillespie/proofs
cfa65722fdb4bb7d7910a0856d0cbea8e8b9a3f9
168ef7ef33d372ae0ed6ee4ca336137a52b89f8f
refs/heads/master
1,585,700,692,028
1,540,162,775,000
1,540,162,775,000
152,695,805
0
0
null
null
null
null
UTF-8
Lean
false
false
4,175
lean
universe u variables (α β : Type u) -- Equality is useful in proofs. If two things are equal, they can be substituted -- for one another in proofs using eq.subst. Such as this proof: example (a b : α) (p : α → Prop) (h₁ : a = b) (h₂ : p a) : p b := eq.subst h₁ h₂ -- ▸ is shorthand for eq.subst: example (a b : α) (...
abe6bb6e2f57cd53b80026c0803ae11eae555b14
aa3f8992ef7806974bc1ffd468baa0c79f4d6643
/tests/lean/run/elab_failure.lean
957dc8fcfde97e887da7c1a01ad296cb04f2a8dd
[ "Apache-2.0" ]
permissive
codyroux/lean
7f8dff750722c5382bdd0a9a9275dc4bb2c58dd3
0cca265db19f7296531e339192e9b9bae4a31f8b
refs/heads/master
1,610,909,964,159
1,407,084,399,000
1,416,857,075,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
424
lean
import data.nat.basic data.bool open bool nat reducible nat.rec_on definition is_eq (a b : nat) : bool := nat.rec_on a (λ b, nat.cases_on b tt (λb₁, ff)) (λ a₁ r₁ b, nat.cases_on b ff (λb₁, r₁ b₁)) b example (a₁ : nat) (b : nat) : true := @nat.cases_on (λ (n : nat), true) b true.intro (λ (b₁ : _), have ...
0a5d3be71e3303b35549fdf2b78aa248316db59a
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/field_theory/subfield.lean
d704fc08fbd467e59b1a94e22a31a83200685350
[ "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
27,719
lean
/- Copyright (c) 2020 Anne Baanen. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Anne Baanen -/ import algebra.algebra.basic import algebra.order.field.inj_surj /-! # Subfields Let `K` be a field. This file defines the "bundled" subfield type `subfield K`, a type w...
ef903113445c58d5c4c851c0101f7cf460f8f4b4
f5f7e6fae601a5fe3cac7cc3ed353ed781d62419
/src/order/order_iso.lean
a4d3e4442edb2eff44f87c723bbd6b1ee09e9ae1
[ "Apache-2.0" ]
permissive
EdAyers/mathlib
9ecfb2f14bd6caad748b64c9c131befbff0fb4e0
ca5d4c1f16f9c451cf7170b10105d0051db79e1b
refs/heads/master
1,626,189,395,845
1,555,284,396,000
1,555,284,396,000
144,004,030
0
0
Apache-2.0
1,533,727,664,000
1,533,727,663,000
null
UTF-8
Lean
false
false
12,996
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.basic logic.embedding data.nat.basic open function universes u v w variables {α : Type*} {β : Type*} {γ : Type*} {r : α → α → Prop} {s : β → β → Prop...
a1880eec4420529ed650bd1871b4c090f99ac92f
4fa161becb8ce7378a709f5992a594764699e268
/src/category_theory/monoidal/category.lean
83454e7fe408f05d2db9b8f0cb11d6fd749b42c4
[ "Apache-2.0" ]
permissive
laughinggas/mathlib
e4aa4565ae34e46e834434284cb26bd9d67bc373
86dcd5cda7a5017c8b3c8876c89a510a19d49aad
refs/heads/master
1,669,496,232,688
1,592,831,995,000
1,592,831,995,000
274,155,979
0
0
Apache-2.0
1,592,835,190,000
1,592,835,189,000
null
UTF-8
Lean
false
false
17,802
lean
/- Copyright (c) 2018 Michael Jendrusch. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Michael Jendrusch, Scott Morrison -/ import category_theory.products.basic open category_theory universes v u open category_theory open category_theory.category open category_the...
6ee997259a127ea8c0552a8005f70678e2b43ee5
4727251e0cd73359b15b664c3170e5d754078599
/src/topology/instances/matrix.lean
e6ecbaf2d458a0981171d92c398280597e9780ad
[ "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,206
lean
/- Copyright (c) 2021 Oliver Nash. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Oliver Nash, Eric Wieser -/ import linear_algebra.determinant import topology.algebra.infinite_sum import topology.algebra.ring import topology.algebra.star /-! # Topological properties ...
bee49ba523a9b2b4e06a904cbc33844725bac6ba
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/closed/monoidal.lean
d60c3a7b61830d6691c379d49ce7ef26f78ae67a
[]
no_license
AurelienSaue/Mathlib4_auto
f538cfd0980f65a6361eadea39e6fc639e9dae14
590df64109b08190abe22358fabc3eae000943f2
refs/heads/master
1,683,906,849,776
1,622,564,669,000
1,622,564,669,000
371,723,747
0
0
null
null
null
null
UTF-8
Lean
false
false
1,633
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.monoidal.category import Mathlib.category_theory.adjunction.basic import Ma...
36849ecea6924299070f0aa60403f4993d47ef4e
43390109ab88557e6090f3245c47479c123ee500
/src/inner_product_spaces/sesquilinear_forms.lean
5cc18ecc052f699ebc3f6b722d789bf7a60b3166
[ "Apache-2.0" ]
permissive
Ja1941/xena-UROP-2018
41f0956519f94d56b8bf6834a8d39473f4923200
b111fb87f343cf79eca3b886f99ee15c1dd9884b
refs/heads/master
1,662,355,955,139
1,590,577,325,000
1,590,577,325,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,018
lean
import linear_algebra.basic inner_product_spaces.ring_involution open module ring ring_invo class sesquilinear_form_space (R : Type*) (V : Type*) [ring R] (Hi : ring_invo R) extends module R V := (sesq_form : V → V → R) (fst_add_lin : ∀ (x y z : V), sesq_form (x + y) z = sesq_form x z + sesq_form y z) (fst_mul_lin :...
3a5f22e9236d5be468c4dc43ca06b37ba8bb11eb
d7189ea2ef694124821b033e533f18905b5e87ef
/galois/category/monad/state/class.lean
e28879e530bc1529dcfbf469b12efd58dc1d731d
[ "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
851
lean
/- This file defines a class monad_state for monads that have a state variable. -/ universe variables u v w namespace monad -- A unit type with a polymorphic universe parameter. inductive punit : Type u | punit : punit -- A typeclass for monad states. -- -- The definition allows one to get a state value, and apply ...
49a66bdb509528f5716cacc541f5d7c8a81d2e48
a7602958ab456501ff85db8cf5553f7bcab201d7
/Assignment5/9.5-homework.lean
01338493d9af2a23aed5559894ede187da83072c
[]
no_license
enlauren/math-logic
081e2e737c8afb28dbb337968df95ead47321ba0
086b6935543d1841f1db92d0e49add1124054c37
refs/heads/master
1,594,506,621,950
1,558,634,976,000
1,558,634,976,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
2,945
lean
-- Assignment 5 -- Dom Farolino, farolidm@mail.uc.edu -- Math Logic -- Exercise 5 section variable U: Type variables A B: U → Prop example : (∃ x, A x) → ∃ x, A x ∨ B x := -- Added parens for clarity. assume h1: (∃ x, A x), -- Need to do exists elimination, to get A y alone. show ∃ x, (A x ∨ B x), f...
61b7a7bd5741e578a5903d16a98c2ee450e94dfb
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/tactic/norm_cast.lean
3f6bd45f219f464c465eccdc8bfd43c5b1ce0a6d
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
14,548
lean
/- Copyright (c) 2019 Paul-Nicolas Madelaine. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Paul-Nicolas Madelaine Normalizing casts inside expressions. -/ import tactic.basic tactic.interactive tactic.converter.interactive import data.buffer.parser namespace tacti...
4074c6086b7ee2acb68f2a978e06c213cae0623e
b82c5bb4c3b618c23ba67764bc3e93f4999a1a39
/src/formal_ml/classical_deriv.lean
8079414b1b7103b898f7755832865724445aaaad
[ "Apache-2.0" ]
permissive
nouretienne/formal-ml
83c4261016955bf9bcb55bd32b4f2621b44163e0
40b6da3b6e875f47412d50c7cd97936cb5091a2b
refs/heads/master
1,671,216,448,724
1,600,472,285,000
1,600,472,285,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
17,241
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...
6fe498fda688e50eb0a360ee869c9a8b8d34ee8d
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/src/Lean/Compiler/LCNF/ForEachExpr.lean
79da9c1247d717bfd3fb54dac39829077e284d34
[ "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
295
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.Util.ForEachExpr import Lean.Compiler.LCNF.Basic namespace Lean.Compiler.LCNF -- TODO: delete end Lean.Compiler.LCNF
dc480b11d5a133ac74c79cab9f6f35ae5c6d5359
9dc8cecdf3c4634764a18254e94d43da07142918
/src/algebra/algebra/spectrum.lean
2a005b72ac92f3ba6270675d0897d680b53cd7ee
[ "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
19,383
lean
/- Copyright (c) 2021 Jireh Loreaux. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jireh Loreaux -/ import tactic.noncomm_ring import field_theory.is_alg_closed.basic import algebra.star.pointwise /-! # Spectrum of an element in an algebra This file develops the basic...
fc6fa8a1898538204d9ebd8673b452328230972a
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/ambiguousOpenExport.lean
905b2484e8f1e36c143b70ba0420c7d7b7a97013
[ "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
119
lean
inductive Foo.C where | mk inductive Bla.C where | mk open Foo Bla open C (mk) -- Error export C (mk) -- Error
fff1987e826838ff1949f2b8ba73f2ccba8fcd42
94e33a31faa76775069b071adea97e86e218a8ee
/src/algebra/direct_sum/basic.lean
26d4a432d26be42530c7cc6db6d2768da043f22d
[ "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
10,966
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 data.dfinsupp.basic import group_theory.submonoid.operations import group_theory.subgroup.basic /-! # Direct sum This file defines the direct sum of abelian groups, ind...
b3263475ca58ddbaa67a10fc45a733c906d18946
b7f22e51856f4989b970961f794f1c435f9b8f78
/hott/algebra/binary.hlean
d11673f164d27b8f58bfd320d4d3963348f30fe1
[ "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
4,568
hlean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura, Jeremy Avigad General properties of binary operations. -/ open eq.ops function namespace binary section variable {A : Type} variables (op₁ : A → A...
f0c88e99dbab4175174fbcb950ce89eee77a979b
97f752b44fd85ec3f635078a2dd125ddae7a82b6
/library/algebra/ordered_ring.lean
489a4f6a35b820860859688d5df22abc53fbbfaa
[ "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
28,563
lean
/- Copyright (c) 2014 Jeremy Avigad. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jeremy Avigad Here an "ordered_ring" is partially ordered ring, which is ordered with respect to both a weak order and an associated strict order. Our numeric structures (int, rat, and...
63c8812d956ea665295930448bdaf43b4b3578cd
05f637fa14ac28031cb1ea92086a0f4eb23ff2b1
/tests/lean/univ.lean
9906ce40f111478d6150fd42e48ac8f03ca95c55
[ "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
777
lean
universe M1 >= 1 universe U >= M1 + 1 definition TypeM1 := (Type M1) universe Z ≥ M1+3 (* local env = get_environment() assert(env:get_universe_distance("Z", "M1") == 3) assert(not env:get_universe_distance("Z", "U")) *) (* local env = get_environment() assert(env:get_universe_distance("Z", "M1") == 3) assert(not env:...
770db4153aa3ef1f737235c1a0eea8681ae4fd8f
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/limits/small_complete.lean
da8df06c0cc86af8398eeb5519887db31c5d9fdd
[ "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,044
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.products import set_theory.cardinal /-! # Any small complete category is a preorder We show that any small category which has all ...
077508e2a407b0586af118db9af0504d112f3129
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/krivine.lean
4ff5785dd0243ed7140d13c6c05ed94604cbfdcf
[ "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,640
lean
inductive KrivineInstruction | Access (n: Nat) | Grab (next: KrivineInstruction) | Push (next: KrivineInstruction) (continuation: KrivineInstruction) inductive KrivineClosure | pair (i: KrivineInstruction) (e: List KrivineClosure) namespace Ex1 def KrivineEnv := List KrivineClosure -- We need to define a `S...
cf3b923ba8b59850a041812dc47fd1b3aff45364
9be442d9ec2fcf442516ed6e9e1660aa9071b7bd
/tests/lean/funInfoBug.lean
a3efb6ba0959f995b6af89337883fcf4c08cb02b
[ "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
EdAyers/lean4
57ac632d6b0789cb91fab2170e8c9e40441221bd
37ba0df5841bde51dbc2329da81ac23d4f6a4de4
refs/heads/master
1,676,463,245,298
1,660,619,433,000
1,660,619,433,000
183,433,437
1
0
Apache-2.0
1,657,612,672,000
1,556,196,574,000
Lean
UTF-8
Lean
false
false
349
lean
import Std.Data.AssocList def l : List (Prod Nat Nat) := [(1, 1), (2, 2)] #eval l -- works def Std.AssocList.ToList : AssocList α β → List (α × β) | AssocList.nil => [] | AssocList.cons k v t => (k, v) :: ToList t instance [Repr α] [Repr β] : Repr (Std.AssocList α β) where reprPrec f _ := repr f.ToList #reduc...
24a96f03929b585889c5325a3559944e2ae8c58a
57c233acf9386e610d99ed20ef139c5f97504ba3
/src/data/nat/count.lean
86e5626ad2acc77898fcd590cecd592a1e85ea13
[ "Apache-2.0" ]
permissive
robertylewis/mathlib
3d16e3e6daf5ddde182473e03a1b601d2810952c
1d13f5b932f5e40a8308e3840f96fc882fae01f0
refs/heads/master
1,651,379,945,369
1,644,276,960,000
1,644,276,960,000
98,875,504
0
0
Apache-2.0
1,644,253,514,000
1,501,495,700,000
Lean
UTF-8
Lean
false
false
4,730
lean
/- Copyright (c) 2021 Vladimir Goryachev. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yaël Dillies, Vladimir Goryachev, Kyle Miller, Scott Morrison, Eric Rodriguez -/ import data.list.basic import data.nat.prime import set_theory.fincard /-! # Counting on ℕ This f...
ab193d9ed80845c775fba1f36b62a789ac018284
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/floatOptParam.lean
de508a773a780705e7ccadf2e93eaafc90582c06
[ "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
63
lean
def foo (a : Float := 0.0) (b : Float := 1.0) : Float := a - b
206a762be2e50d41d85648ee9d56c1ea54ac3313
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/algebra/ordered_ring.lean
33349a2d6c7deeff5b42afa0d7983dcca80fa95a
[ "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
69,409
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 -/ import algebra.invertible import algebra.ordered_group import data.set.intervals.basic /-! # Ordered rings and semirings This file ...
3b2f97c4e34125ae2ac412d7aa2d60919c86ca1c
ce6917c5bacabee346655160b74a307b4a5ab620
/src/ch5/ex0702.lean
74800fb21cc525b5677ad0cd6fa54c856d0b6eb3
[]
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
390
lean
import data.list.basic universe u variable {α : Type} open list example (xs : list ℕ) : reverse (xs ++ [1, 2, 3]) = [3, 2, 1] ++ reverse xs := by simp example (xs ys : list α) : length (reverse (xs ++ ys)) = length xs + length ys := by simp [add_comm] -- lean 3.6 removes simp attributes from add_comm -- i.e....
fce0edfb467b8a38d69e6e6f29280d17cfd5932c
12dabd587ce2621d9a4eff9f16e354d02e206c8e
/world07/level02.lean
f6e7bcdad4fab30aafaba07c67fffff6f9d07c60
[]
no_license
abdelq/natural-number-game
a1b5b8f1d52625a7addcefc97c966d3f06a48263
bbddadc6d2e78ece2e9acd40fa7702ecc2db75c2
refs/heads/master
1,668,606,478,691
1,594,175,058,000
1,594,175,058,000
278,673,209
0
1
null
null
null
null
UTF-8
Lean
false
false
115
lean
lemma and_symm (P Q : Prop) : P ∧ Q → Q ∧ P := begin intro h, cases h with p q, split, exact q, exact p, end
cb6aebffae4ad71a09857a66662ce3afd0a74338
57aec6ee746bc7e3a3dd5e767e53bd95beb82f6d
/tests/lean/run/allGoals.lean
886fadf7f9b883e16bea1ce56af5489c7cea0e40
[ "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,675
lean
inductive Weekday where | sunday : Weekday | monday : Weekday | tuesday : Weekday | wednesday : Weekday | thursday : Weekday | friday : Weekday | saturday : Weekday def Weekday.next : Weekday -> Weekday := fun d => match d with | sunday => monday | monday => tuesday | tue...
bdd81f4a18bbf24d682b7695eae842090096ac1e
c3f2fcd060adfa2ca29f924839d2d925e8f2c685
/library/algebra/function.lean
f76509f201f2c68626268a5c910f0d3a7752c671
[ "Apache-2.0" ]
permissive
respu/lean
6582d19a2f2838a28ecd2b3c6f81c32d07b5341d
8c76419c60b63d0d9f7bc04ebb0b99812d0ec654
refs/heads/master
1,610,882,451,231
1,427,747,084,000
1,427,747,429,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,438
lean
/- Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Module: algebra.function Author: Leonardo de Moura General operations on functions. -/ namespace function variables {A : Type} {B : Type} {C : Type} {D : Type} {E : Type} definition ...
dcc3b92c76f0190c50350b10bd22a542a96d148b
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/beginend.lean
01f1d15d50533454c4a69e9c0ddb6ac2ea033e22
[ "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
157
lean
import logic.eq open tactic theorem foo (A : Type) (a b c : A) (Hab : a = b) (Hbc : b = c) : a = c := begin apply eq.trans, apply Hab, apply Hbc, end
c14bb2d8316f25c94a945f4ff7017a0757196647
3618c6e11aa822fd542440674dfb9a7b9921dba0
/src/P.lean
13e4e77f001fb86711d7659d94f97a4ab13e3adb
[]
no_license
ChrisHughes24/single_relation
99ceedcc02d236ce46d6c65d72caa669857533c5
057e157a59de6d0e43b50fcb537d66792ec20450
refs/heads/master
1,683,652,062,698
1,683,360,089,000
1,683,360,089,000
279,346,432
0
0
null
null
null
null
UTF-8
Lean
false
false
4,408
lean
import group_theory.semidirect_product import coprod.free_group /-! # The P functor Given a group `G` an element `p` of the group `P G` can be used as a certificate of congruences modulo `r : G` in `G`. There are two surjective maps `P G →* G`, `lhs r` and `right`. `lhs r p` and `right p` will always be congruent modu...
8bff6902091f8398713edc341235bdc60135ce91
ae1e94c332e17c7dc7051ce976d5a9eebe7ab8a5
/stage0/src/Init/Notation.lean
504464cf4f70135f87d125c4bf3ba58e099b1c0a
[ "Apache-2.0" ]
permissive
dupuisf/lean4
d082d13b01243e1de29ae680eefb476961221eef
6a39c65bd28eb0e28c3870188f348c8914502718
refs/heads/master
1,676,948,755,391
1,610,665,114,000
1,610,665,114,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,420
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 Notation for operators defined at Prelude.lean -/ prelude import Init.Prelude -- DSL for specifying parser precedences and priorities namespace Lean.Parser....
6847db02d89c0c67b6f7239551dab0d3c274c2b0
206422fb9edabf63def0ed2aa3f489150fb09ccb
/src/algebra/module/pi.lean
6694b062b88a28405fc3e05ac4fbdde08cd27601
[ "Apache-2.0" ]
permissive
hamdysalah1/mathlib
b915f86b2503feeae268de369f1b16932321f097
95454452f6b3569bf967d35aab8d852b1ddf8017
refs/heads/master
1,677,154,116,545
1,611,797,994,000
1,611,797,994,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
3,788
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Patrick Massot -/ import algebra.module.basic import algebra.ring.pi /-! # Pi instances for module and multiplicative actions This file defines instances for module, mul_ac...
2a0c6bfb3c835c00b6b8ed075b0fba8f0e0d2656
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/autoLift.lean
4d8f90fec2c0ba556d581bba8ee20d398820f6bf
[ "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
299
lean
def f : IO Nat := do IO.println "foo" return 0 abbrev M := StateRefT Nat IO def g (a : Nat) : M Unit := pure () #check id (α := M Unit) do let a ← f; g a set_option autoLift false #check_failure id (α := M Unit) do let a ← f; g a #check id (α := M Unit) do let a ← liftM f; g a
82ed12f959633f0a695f8ce0262799b62a2bafbc
6e9cd8d58e550c481a3b45806bd34a3514c6b3e0
/src/topology/instances/ennreal.lean
a67277248f6f9459edfdbb5b8ec925b56dda86df
[ "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
38,655
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 -/ import topology.instances.nnreal /-! # Extended non-negative reals -/ noncomputable theory open classical set filter metric open_locale classical open_locale topologi...
2c887a9e92bd66fda0f2e9c878196e4ff052b108
36938939954e91f23dec66a02728db08a7acfcf9
/lean/src/prover_interface.lean
6b9ae633e42c1407326f6aee8c48ae9062b5739e
[ "Apache-2.0" ]
permissive
pnwamk/reopt-vcg
f8b56dd0279392a5e1c6aee721be8138e6b558d3
c9f9f185fbefc25c36c4b506bbc85fd1a03c3b6d
refs/heads/master
1,631,145,017,772
1,593,549,019,000
1,593,549,143,000
254,191,418
0
0
null
1,586,377,077,000
1,586,377,077,000
null
UTF-8
Lean
false
false
618
lean
universes u v --open smt2 -- A word 64 def word64 := { x : ℕ // x < 2^64 } @[reducible] def llvm_instruction_index := ℕ @[reducible] def mc_instruction_addr := word64 -- The main interface to the verification condition generator. class is_vcg (m : Type u → Type v) := (start_llvm_instruction : llvm_instruction_inde...
3c4d14ce5f942e173a79126efdd5d207e17aa0dd
08bd4ba4ca87dba1f09d2c96a26f5d65da81f4b4
/src/Lean/Meta/ExprDefEq.lean
06429ebf4843420dcbc613bfc4ec988b34d632d0
[ "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
80,543
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.Offset import Lean.Meta.UnificationHint import Lean.Util.OccursCheck namespace Lean.Meta /-- Return true if `b` is of the form `mk a.1 ...
4236483258719f1f039d2526118e8d7f804afa66
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/category_theory/limits/shapes/zero_morphisms.lean
a4c8d04ca24b4f79bdd11f7dc3a0283fd0b0e83d
[ "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
20,086
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 data.pi.algebra import category_theory.limits.shapes.products import category_theory.limits.shapes.images import category_theory.isomorphism_classes import cat...
2f414596c78411591516b21883de8f43909a9eb8
2bafba05c98c1107866b39609d15e849a4ca2bb8
/src/week_1/Part_C_functions.lean
4979ef6968efc8e7a34bba81a383ff273e9b9285
[ "Apache-2.0" ]
permissive
ImperialCollegeLondon/formalising-mathematics
b54c83c94b5c315024ff09997fcd6b303892a749
7cf1d51c27e2038d2804561d63c74711924044a1
refs/heads/master
1,651,267,046,302
1,638,888,459,000
1,638,888,459,000
331,592,375
284
24
Apache-2.0
1,669,593,705,000
1,611,224,849,000
Lean
UTF-8
Lean
false
false
3,138
lean
import tactic -- injective and surjective functions are already in Lean. -- They are called `function.injective` and `function.surjective`. -- It gets a bit boring typing `function.` a lot so we start -- by opening the `function` namespace open function -- We now move into the `xena` namespace namespace xena -- le...
8f68fd636a46a4324e3938d156de43b93aceccec
1446f520c1db37e157b631385707cc28a17a595e
/tests/bench/binarytrees.lean
10349c67edb9b3d019b1ff223e755831c75c5586
[ "Apache-2.0" ]
permissive
bdbabiak/lean4
cab06b8a2606d99a168dd279efdd404edb4e825a
3f4d0d78b2ce3ef541cb643bbe21496bd6b057ac
refs/heads/master
1,615,045,275,530
1,583,793,696,000
1,583,793,696,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
1,695
lean
inductive Tree | Nil | Node (l r : Tree) : Tree open Tree instance : Inhabited Tree := ⟨Nil⟩ -- This Function has an extra argument to suppress the -- common sub-expression elimination optimization partial def make' : UInt32 -> UInt32 -> Tree | n, d => if d = 0 then Node Nil Nil else Node (make' n (d - 1)) (make' ...
e6691ac3662e23437b131201a1dcfa85b630d11d
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/data/equiv/transfer_instance.lean
920d81800b280c10ae62a7eaf377eae206abe3b0
[ "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
13,341
lean
/- Copyright (c) 2018 Johannes Hölzl. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johannes Hölzl -/ import data.equiv.basic import algebra.field import algebra.module import algebra.algebra.basic import algebra.group.type_tags import ring_theory.ideal.local_ring /-...
094112438cd7a94a70b9b1027eeb48a87df5b11d
31f556cdeb9239ffc2fad8f905e33987ff4feab9
/src/Lean/Compiler/LCNF/Main.lean
c72feda8b9ecdd96bac1fd2276ff69d3cb77b023
[ "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
tobiasgrosser/lean4
ce0fd9cca0feba1100656679bf41f0bffdbabb71
ebdbdc10436a4d9d6b66acf78aae7a23f5bd073f
refs/heads/master
1,673,103,412,948
1,664,930,501,000
1,664,930,501,000
186,870,185
0
0
Apache-2.0
1,665,129,237,000
1,557,939,901,000
Lean
UTF-8
Lean
false
false
4,018
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.Compiler.Options import Lean.Compiler.LCNF.PassManager import Lean.Compiler.LCNF.Passes import Lean.Compiler.LCNF.PrettyPrinter import Lean.Comp...
72286437bb178effcb53ad380d37a2fc5b93fb8d
b2e508d02500f1512e1618150413e6be69d9db10
/src/algebra/pi_instances.lean
eb917e9b5726c2dfc2b8a7fdeff2fba409f49f26
[ "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
18,411
lean
/- Copyright (c) 2018 Simon Hudon. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Simon Hudon, Patrick Massot Pi instances for algebraic structures. -/ import order.basic import algebra.module algebra.group import data.finset import ring_theory.subring import tactic.p...
748b532e12e72b74af006d79c835eb670e1bc438
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/Lean3Lib/data/rbtree/find.lean
6cbc1eaf443e588d2cd518d110f967093f12e37e
[]
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,444
lean
/- Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.Lean3Lib.data.rbtree.basic universes u namespace Mathlib namespace rbnode ...
1e868e72218c23e52a149cb00e47f9a79098545c
3aad12fe82645d2d3173fbedc2e5c2ba945a4d75
/src/order/nursery.lean
5a9ffa16c1ad957f68697f9050b1e69c2ae803f2
[]
no_license
seanpm2001/LeanProver-Community_MathLIB-Nursery
4f88d539cb18d73a94af983092896b851e6640b5
0479b31fa5b4d39f41e89b8584c9f5bf5271e8ec
refs/heads/master
1,688,730,786,645
1,572,070,026,000
1,572,070,026,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
277
lean
import order.bounded_lattice theorem abs_le_abs {α : Type*} [decidable_linear_ordered_comm_group α] {a b : α} (h₀ : a ≤ b) (h₁ : -a ≤ b) : abs a ≤ abs b := calc abs a ≤ b : by { apply abs_le_of_le_of_neg_le; assumption } ... ≤ abs b : le_abs_self _
7d9ec549e3210a4ac975ce4d3d3201b8e557d2f3
94e33a31faa76775069b071adea97e86e218a8ee
/src/measure_theory/measure/regular.lean
cd7069955c47a7d93020f11e7a2956c217e66a97
[ "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
33,792
lean
/- Copyright (c) 2021 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Floris Van Doorn, Yury Kudryashov -/ import measure_theory.constructions.borel_space /-! # Regular measures A measure is `outer_regular` if the measure of any measurable set `A` ...
79f97590a042cf0f7715812dcd76a47b430636a6
d1a52c3f208fa42c41df8278c3d280f075eb020c
/stage0/src/Lean/Compiler/ExportAttr.lean
59d7cec27594ce92064fdf92238738638995f638
[ "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
1,358
lean
/- Copyright (c) 2019 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Attributes namespace Lean private def isValidCppId (id : String) : Bool := let first := id.get 0; first.isAlpha && (id.toSubstring.drop 1...
3fc8bf49f133b80eb78260a64e372b12a78f89b5
4d2583807a5ac6caaffd3d7a5f646d61ca85d532
/src/data/polynomial/field_division.lean
c88dde66b739d7ce85bb45631959826f381c427a
[ "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
21,214
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 algebra.gcd_monoid.basic import data.polynomial.derivative import data.polynomial.ring_division import data.set.pai...
83d71e7659ee636fc34ec060a13b4555a30d236e
b7f22e51856f4989b970961f794f1c435f9b8f78
/tests/lean/run/eq9.lean
6443bacfc0aa31c5062bee45e89dddaf8d3f99bd
[ "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
330
lean
open nat theorem lt_trans : ∀ {a b c : nat}, a < b → b < c → a < c | lt_trans h (lt.base _) := lt.step h | lt_trans h₁ (lt.step h₂) := lt.step (lt_trans h₁ h₂) theorem lt_succ : ∀ {a b : nat}, a < b → succ a < succ b | lt_succ (lt.base a) := lt.base (succ a) | lt_succ (lt.step h) := lt.step (lt_succ h)
e01a8b2850e2d6be5263f8318ce73a53be2b3b6e
b2fe74b11b57d362c13326bc5651244f111fa6f4
/src/data/nat/cast.lean
bf34f2fbba03434d77552cbe5e9d76dccfe06126
[ "Apache-2.0" ]
permissive
midfield/mathlib
c4db5fa898b5ac8f2f80ae0d00c95eb6f745f4c7
775edc615ecec631d65b6180dbcc7bc26c3abc26
refs/heads/master
1,675,330,551,921
1,608,304,514,000
1,608,304,514,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,801
lean
/- Copyright (c) 2014 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Mario Carneiro Natural homomorphism from the natural numbers into a monoid with one. -/ import algebra.ordered_field import data.nat.basic namespace nat variables {α : Type*} sectio...
658eba364275f9843a5ea1a77c988d3049b1b624
74addaa0e41490cbaf2abd313a764c96df57b05d
/Mathlib/category_theory/adjunction/mates.lean
640132902d5b0c2bd03610f147c66ed1483b9bb9
[]
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
11,844
lean
/- Copyright (c) 2020 Bhavik Mehta. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Bhavik Mehta -/ import Mathlib.PrePort import Mathlib.Lean3Lib.init.default import Mathlib.category_theory.adjunction.basic import Mathlib.category_theory.conj import Mathlib.category_the...
9536592ae7ba3cb678831c595cdc9f35c2f103e7
cf39355caa609c0f33405126beee2739aa3cb77e
/tests/lean/infix_paren_improved.lean
9ec6945901b329eb204f0fcb3e411d665f5c55a6
[ "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
79
lean
constant f : Π {α : Type}, α → α → α infix `**`:60 := f #check (**)
78d0bb0fafdba4119118a567dd5117fb5b2baeba
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/algebraic_topology/dold_kan/degeneracies.lean
ab0584b0614944e4f4658446526bdd8fd2697bdd
[ "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
6,216
lean
/- Copyright (c) 2022 Joël Riou. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joël Riou -/ import algebraic_topology.dold_kan.decomposition import tactic.fin_cases /-! # Behaviour of P_infty with respect to degeneracies > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. ...
4835e2c93d0cf9e37f70bf3b57717645308a5c69
c45b34bfd44d8607a2e8762c926e3cfaa7436201
/uexp/src/uexp/rules/transitiveInferenceConstantEquiPredicate.lean
ca7504dd921c802766e6c329a6b39e3f79d5bc63
[ "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,884
lean
import ..sql import ..tactics import ..u_semiring import ..extra_constants import ..ucongr import ..TDP set_option profiler true open Expr open Proj open Pred open SQL open tree notation `int` := datatypes.int variable integer_1: const datatypes.int theorem rule: forall ( Γ scm_t scm_account scm_bonus scm_dept sc...
5b2592d2c5b923c8a583ef0713a16f14bfb9d887
4efff1f47634ff19e2f786deadd394270a59ecd2
/src/order/complete_lattice.lean
21b492c94817a51faf76d5c3abd4b6a55ea786c1
[ "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
37,305
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 order.bounds /-! # Theory of complete lattices ## Main definitions * `Sup` and `Inf` are the supremum and the infimum of a set; * `supr (f : ι → α)` and `in...
0e80877a60fa1d5c91e59d4b0dfdc7bdb3deed8a
bb31430994044506fa42fd667e2d556327e18dfe
/src/topology/algebra/order/extend_from.lean
922ff11885cc53b5329826737821988279744727
[ "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
3,137
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, Yury Kudryashov -/ import topology.order.basic import topology.extend_from /-! # Lemmas about `extend_from` in an order topology. -/ open filter set t...
bc6e239fa28d0125c6483580912880709faad4ec
618003631150032a5676f229d13a079ac875ff77
/src/data/fintype/card.lean
fcbae2f7a25b5ffafabbaab589a26583a593fdbd
[ "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
13,452
lean
/- Copyright (c) 2017 Mario Carneiro. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Mario Carneiro -/ import data.fintype.basic import data.nat.choose import tactic.ring /-! Results about "big operations" over a `fintype`, and consequent results about cardinalities of...
69d20458dd901e290454da8aa4ea41503b7d7dc0
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/ring_theory/kaehler.lean
2ec88c0e1d9fa329cad25de7d772fce8db0239d6
[ "Apache-2.0" ]
permissive
leanprover-community/mathlib
56a2cadd17ac88caf4ece0a775932fa26327ba0e
442a83d738cb208d3600056c489be16900ba701d
refs/heads/master
1,693,584,102,358
1,693,471,902,000
1,693,471,902,000
97,922,418
1,595
352
Apache-2.0
1,694,693,445,000
1,500,624,130,000
Lean
UTF-8
Lean
false
false
28,172
lean
/- Copyright © 2020 Nicolò Cavalleri. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Nicolò Cavalleri, Andrew Yang -/ import ring_theory.derivation.to_square_zero import ring_theory.ideal.cotangent import ring_theory.is_tensor_product /-! # The module of kaehler diff...
33063a0547a5f1cd9a846df13b20ce545a1b1ef9
e42ba0bcfa11e5be053e2ce1ce1f49f027680525
/src/separation/tactic.lean
440f4872ca69a10a1f703b8ad656e996b1279942
[]
no_license
unitb/separation-logic
8e17c5b466f86caa143265f4c04c78eec9d3c3b8
bdde6fc8f16fd43932aea9827d6c63cadd91c2e8
refs/heads/master
1,540,936,751,653
1,535,050,181,000
1,535,056,425,000
109,461,809
6
1
null
null
null
null
UTF-8
Lean
false
false
14,124
lean
import data.dlist import separation.specification import tactic.monotonicity import util.meta.tactic universes u v namespace tactic.interactive open applicative open lean.parser open interactive open interactive.types open tactic functor list nat separation local postfix `?`:9001 := optional local postfix *:9001 ...
90381d2b5421278cf11ee1fc2d3ee74ab90ddd7e
c777c32c8e484e195053731103c5e52af26a25d1
/src/analysis/p_series.lean
3418373f0dab9f2693d99f1f060e6de313095e0b
[ "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
13,508
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 analysis.special_functions.pow /-! # Convergence of `p`-series In this file we prove that the series `∑' k in ℕ, 1 / k ^ p` converges if and only if ...
91e4f6c21f4493f060d539136107dd1e113c63db
97f752b44fd85ec3f635078a2dd125ddae7a82b6
/hott/algebra/category/functor/yoneda.hlean
dda9e0a569fc3679c1d21e4a243081f15974a789
[ "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
5,935
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 Yoneda embedding and Yoneda lemma -/ import .examples .attributes open category eq functor prod.ops is_trunc iso is_equiv equiv category.set nat_trans lift names...
b085cf9db8a2aaef9239159c783bfbaec12ce76f
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/group/opposite.lean
ee00fdab71b3d408a1bf55ca50993df8c7ec5119
[ "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
21,234
lean
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import algebra.group.inj_surj import algebra.group.commute import algebra.hom.equiv.basic import algebra.opposites import data.int.cast.defs /-! # Group structures on the mult...
e661c1c1d79644759cf6e2597e8df4f93838fde3
02005f45e00c7ecf2c8ca5db60251bd1e9c860b5
/src/data/complex/basic.lean
2a8fdc8bc400537b92cc242d3927f2682e01e515
[ "Apache-2.0" ]
permissive
anthony2698/mathlib
03cd69fe5c280b0916f6df2d07c614c8e1efe890
407615e05814e98b24b2ff322b14e8e3eb5e5d67
refs/heads/master
1,678,792,774,873
1,614,371,563,000
1,614,371,563,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
26,670
lean
/- Copyright (c) 2017 Kevin Buzzard. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kevin Buzzard, Mario Carneiro -/ import data.real.sqrt /-! # The complex numbers The complex numbers are modelled as ℝ^2 in the obvious way and it is shown that they form a field of c...
95bad17f82185c2c2619233b2c133c2cfaee2678
83c8119e3298c0bfc53fc195c41a6afb63d01513
/library/init/category/lift.lean
68edc49b993220030c083a478ae91b5b8be61298
[ "Apache-2.0" ]
permissive
anfelor/lean
584b91c4e87a6d95f7630c2a93fb082a87319ed0
31cfc2b6bf7d674f3d0f73848b842c9c9869c9f1
refs/heads/master
1,610,067,141,310
1,585,992,232,000
1,585,992,232,000
251,683,543
0
0
Apache-2.0
1,585,676,570,000
1,585,676,569,000
null
UTF-8
Lean
false
false
4,497
lean
/- Copyright (c) 2016 Gabriel Ebner. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Gabriel Ebner, Sebastian Ullrich Classy functions for lifting monadic actions of different shapes. This theory is roughly modeled after the Haskell 'layers' package https://hackage.ha...
527ce4ab6439d9e5217ca90e876c62cc412f07c5
0851884047bb567d19e188e8f1ad959c5ae9c5ce
/src/Topology/Material/homeomorphism_extension_of_equiv.lean
6d994a830771b93a0fc14c2be748005c416759b5
[ "Apache-2.0" ]
permissive
yz5216/xena-UROP-2018
00d3f71a831324966d40d302544ed2cbbec3fd0f
5e9da9dc64dc51897677f8b73ab9f94061a8d977
refs/heads/master
1,584,922,436,989
1,531,487,250,000
1,531,487,250,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
9,266
lean
import analysis.topology.continuity import analysis.topology.topological_space import analysis.topology.infinite_sum import analysis.topology.topological_structures import analysis.topology.uniform_space import data.equiv -- import data.equiv.basic local attribute [instance] classical.prop_decidable universes u v w ...
8ec682cc4d1acaa0f73cd0ec901e9cacd0b3eb77
367134ba5a65885e863bdc4507601606690974c1
/src/analysis/normed_space/multilinear.lean
aca97c5736893caeb14eb77465b0e3e806c8f4a5
[ "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
70,621
lean
/- Copyright (c) 2020 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import analysis.normed_space.operator_norm import topology.algebra.multilinear /-! # Operator norm on the space of continuous multilinear maps When `f` is a c...
efe9eb602daec93b8e1702b948feeee7f0812564
fa02ed5a3c9c0adee3c26887a16855e7841c668b
/src/category_theory/limits/presheaf.lean
53e4ac4544e22bfb5f18f3fe9b9157123e48b22f
[ "Apache-2.0" ]
permissive
jjgarzella/mathlib
96a345378c4e0bf26cf604aed84f90329e4896a2
395d8716c3ad03747059d482090e2bb97db612c8
refs/heads/master
1,686,480,124,379
1,625,163,323,000
1,625,163,323,000
281,190,421
2
0
Apache-2.0
1,595,268,170,000
1,595,268,169,000
null
UTF-8
Lean
false
false
12,599
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.adjunction import category_theory.elements import category_theory.limits.functor_category import category_theory.limits.preserves.limits import cat...
0b3f8f1eb36cf059b1348ad1d69012aa08f4bb6d
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/number_theory/fermat_psp.lean
cde8495f8b725da55aff29522aaf952f266a5f40
[ "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
19,752
lean
/- Copyright (c) 2022 Niels Voss. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Niels Voss -/ import data.nat.prime import field_theory.finite.basic import order.filter.cofinite /-! # Fermat Pseudoprimes > THIS FILE IS SYNCHRONIZED WITH MATHLIB4. > Any changes to th...
983bc1e66816b756cfdd77b50c11c3031efd3b33
4fa161becb8ce7378a709f5992a594764699e268
/src/data/mv_polynomial.lean
622d2dc0fe93ad6262ec28ed147feba90abbb626
[ "Apache-2.0" ]
permissive
laughinggas/mathlib
e4aa4565ae34e46e834434284cb26bd9d67bc373
86dcd5cda7a5017c8b3c8876c89a510a19d49aad
refs/heads/master
1,669,496,232,688
1,592,831,995,000
1,592,831,995,000
274,155,979
0
0
Apache-2.0
1,592,835,190,000
1,592,835,189,000
null
UTF-8
Lean
false
false
59,771
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, Johan Commelin, Mario Carneiro, Shing Tak Lam -/ import data.polynomial import data.equiv.ring import data.equiv.fin import tactic.omega /-! # Multivariate polynomials...
e09c64a130ea78a23886d13761fd66d224dd8559
9dc8cecdf3c4634764a18254e94d43da07142918
/src/group_theory/submonoid/membership.lean
b90924f5ee5b864e41ad46548f94701f944c5fe1
[ "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
22,100
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, Kenny Lau, Johan Commelin, Mario Carneiro, Kevin Buzzard, Amelia Livingston, Yury Kudryashov -/ import group_theory.submonoid.operations import algebra.big_operators.ba...
a001195ee5aa9d68fd3cfe9505828a27d6e215a8
63abd62053d479eae5abf4951554e1064a4c45b4
/src/data/finsupp/pointwise.lean
2133040e0b18482c9a5914c06415803d6f07f7d7
[ "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
1,967
lean
/- Copyright (c) 2020 Scott Morrison. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Scott Morrison -/ import data.finsupp.basic /-! # The pointwise product on `finsupp`. TODO per issue #1864: We intend to remove the convolution product on finsupp, and define it only...
be6c5a714606fe592939684ee6b1d0151fd7a08d
d406927ab5617694ec9ea7001f101b7c9e3d9702
/src/algebra/order/with_zero.lean
8d5df167e102d6a25d626699547aa2e13a28676b
[ "Apache-2.0" ]
permissive
alreadydone/mathlib
dc0be621c6c8208c581f5170a8216c5ba6721927
c982179ec21091d3e102d8a5d9f5fe06c8fafb73
refs/heads/master
1,685,523,275,196
1,670,184,141,000
1,670,184,141,000
287,574,545
0
0
Apache-2.0
1,670,290,714,000
1,597,421,623,000
Lean
UTF-8
Lean
false
false
10,201
lean
/- Copyright (c) 2020 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau, Johan Commelin, Patrick Massot -/ import algebra.hom.equiv.units.group_with_zero import algebra.group_with_zero.inj_surj import algebra.order.group.units import algebra.order.mon...
a8c5dcc12a715e4c60f15aec09e9badb1379a5e2
217bb195841a8be2d1b4edd2084d6b69ccd62f50
/library/init/data/default.lean
066cf1e31e473cada39bb75a6471f57cbfa46113
[ "Apache-2.0" ]
permissive
frank-lesser/lean4
717f56c9bacd5bf3a67542d2f5cea721d4743a30
79e2abe33f73162f773ea731265e456dbfe822f9
refs/heads/master
1,589,741,267,933
1,556,424,200,000
1,556,424,281,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
463
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.data.basic init.data.nat init.data.char init.data.string import init.data.list init.data.int init.data.array import init.data.fin init.d...
3551ad1c1b3cdea953431874e5166c6e3ee6ccc9
8cae430f0a71442d02dbb1cbb14073b31048e4b0
/src/topology/continuous_function/algebra.lean
f60f007b216292b6ce1608e9952e16fa7816fa19
[ "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
38,311
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 algebra.algebra.pi import algebra.periodic import algebra.algebra.subalgebra.basic import algebra.star.star_alg_hom import tactic.field_simp ...
ff24c5fe3c859724bf38aedc19f1b5eeee3ee722
4950bf76e5ae40ba9f8491647d0b6f228ddce173
/src/linear_algebra/alternating.lean
ad7e4d0d482f3b9ea2c8cdbb23cea24f479ac8b0
[ "Apache-2.0" ]
permissive
ntzwq/mathlib
ca50b21079b0a7c6781c34b62199a396dd00cee2
36eec1a98f22df82eaccd354a758ef8576af2a7f
refs/heads/master
1,675,193,391,478
1,607,822,996,000
1,607,822,996,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
11,179
lean
/- Copyright (c) 2020 Zhangir Azerbayev. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Eric Wieser, Zhangir Azerbayev -/ import linear_algebra.multilinear import group_theory.perm.sign /-! # Alternating Maps We construct the bundled function `alternating_map`, which...
636a3892c4d6ae5a0db4d1482b976eb1d47ad630
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/abst.lean
2ff0776ed98667620fe5c54d1c8fa68fac4d5aec
[ "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
534
lean
import Lean.Expr open Lean def tst : IO Unit := do let f := mkConst `f; let x := mkFVar { name := `x }; let y := mkFVar { name := `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 :=...
678cd69d52cfcb7b7d76e4d0510237339e54b5b2
ff5230333a701471f46c57e8c115a073ebaaa448
/tests/lean/task.lean
8f1b91f3d86fa7f2ec944aa6c28e5d325c0fa110
[ "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
253
lean
run_cmd tactic.run_async (tactic.trace "trace message from a different task") def {u} foo {α : Type u} {n : ℕ} : array (0+n) α → array n α := if n = 0 then λ v, cast (by async { simp }) v else λ v, cast (by async { simp }) v #print foo
14af865cc43d96c778ed799cb4f3a7c67b837d35
77c5b91fae1b966ddd1db969ba37b6f0e4901e88
/src/analysis/special_functions/exp_log.lean
dbf9777133820453e6dd48d9a78ee23cdc659d42
[ "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
38,019
lean
/- Copyright (c) 2018 Chris Hughes. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Chris Hughes, Abhimanyu Pallavi Sudhir, Jean Lo, Calle Sönne -/ import analysis.calculus.inverse import analysis.complex.real_deriv import data.complex.exponential /-! # Complex and rea...
88d073fdbd2e47a450649768b6ea04f1c5d3ca72
4727251e0cd73359b15b664c3170e5d754078599
/src/group_theory/complement.lean
4864f3a939d2fd40db709c226958d0a436741bda
[ "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
20,170
lean
/- Copyright (c) 2021 Thomas Browning. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Thomas Browning -/ import group_theory.order_of_element /-! # Complements In this file we define the complement of a subgroup. ## Main definitions - `is_complement S T` where `S`...
4d93472ef5bb1e1e6e0ae91e1116558db31b3621
969dbdfed67fda40a6f5a2b4f8c4a3c7dc01e0fb
/src/category_theory/monoidal/category.lean
2c6b1989c8850955bf594db0e2e57225c9749b53
[ "Apache-2.0" ]
permissive
SAAluthwela/mathlib
62044349d72dd63983a8500214736aa7779634d3
83a4b8b990907291421de54a78988c024dc8a552
refs/heads/master
1,679,433,873,417
1,615,998,031,000
1,615,998,031,000
null
0
0
null
null
null
null
UTF-8
Lean
false
false
21,013
lean
/- Copyright (c) 2018 Michael Jendrusch. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Michael Jendrusch, Scott Morrison -/ import category_theory.products.basic /-! # Monoidal categories A monoidal category is a category equipped with a tensor product, unitors, and...
1a106dc4ee9ddb56ea0499847b4a0576ae017e29
99b36386640f67a61e85dddccbc0f82edec9bf9c
/src/tactic_example.lean
303958bf484db9496c23b2a143b2ced4a64cb5cf
[]
no_license
aymonwuolanne/lean-theorem-proving
1ba46fb89f446b78b7f8f8cb084aad68fadce9a3
701a7873f9f66f2c24962b02450ec90b20935702
refs/heads/master
1,586,068,982,414
1,575,091,205,000
1,575,091,205,000
156,647,753
0
0
null
null
null
null
UTF-8
Lean
false
false
874
lean
open tactic -- meta def extract_equals (e : expr) : option (expr × expr) := -- match e with -- | expr.app f x := sorry -- end meta def extract_equals : expr → tactic (option (expr × expr)) | (expr.app (expr.app f x) y) := do e ← mk_const `eq, trace e, trace f, if f = e then return (some (x, y...
339d8c04b832d70371f28b554c3c7f95341963c8
5e3548e65f2c037cb94cd5524c90c623fbd6d46a
/src_icannos_totilas/aops/2003-USAMO-Problem_5.lean
f00edbe63263fb55a4f5c41cf12edd6b6f955832
[]
no_license
ahayat16/lean_exos
d4f08c30adb601a06511a71b5ffb4d22d12ef77f
682f2552d5b04a8c8eb9e4ab15f875a91b03845c
refs/heads/main
1,693,101,073,585
1,636,479,336,000
1,636,479,336,000
415,000,441
0
0
null
null
null
null
UTF-8
Lean
false
false
197
lean
import data.real.basic theorem exo: (forall (a b c: real), ((2*a + b + c)^2)/(2*a^2 + (b + c)^2) + ((2*b + c + a)^2)/(2*b^2 + (c + a)^2) + ((2*c + a + b)^2)/(2*c^2 + (a + b)^2) <= 8) := sorry
2c1eafc9f50336d279909af8ac382f33a2d0e911
367134ba5a65885e863bdc4507601606690974c1
/src/meta/expr_lens.lean
068e1e29cfe333a944f99cf66b19aceda48aee14
[ "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
5,726
lean
/- Copyright (c) 2020 Keeley Hoek. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Johan Commelin, Keeley Hoek, Scott Morrison -/ import meta.expr /-! # A lens for zooming into nested `expr` applications A "lens" for looking into the subterms of an expression, tracking...
864ba69e3cd2b7cda00e859f1118582896412603
35677d2df3f081738fa6b08138e03ee36bc33cad
/src/analysis/analytic/basic.lean
25183cfcc83e4236ea2c18f98305a42d6164b1eb
[ "Apache-2.0" ]
permissive
gebner/mathlib
eab0150cc4f79ec45d2016a8c21750244a2e7ff0
cc6a6edc397c55118df62831e23bfbd6e6c6b4ab
refs/heads/master
1,625,574,853,976
1,586,712,827,000
1,586,712,827,000
99,101,412
1
0
Apache-2.0
1,586,716,389,000
1,501,667,958,000
Lean
UTF-8
Lean
false
false
37,621
lean
/- Copyright (c) 2020 Sébastien Gouëzel. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Sébastien Gouëzel -/ import analysis.calculus.times_cont_diff tactic.omega analysis.complex.exponential analysis.specific_limits /-! # Analytic functions A function is analytic i...
ede2af7c8113e134193010c93c2e2fc66561be38
5d166a16ae129621cb54ca9dde86c275d7d2b483
/tests/lean/notation2.lean
231fffce159029f8834c57ca764457afa554ddd8
[ "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
267
lean
-- inductive List (T : Type) : Type | nil {} : List | cons : T → List → List open List notation h :: t := cons h t notation `[` l:(foldr `,` (h t, cons h t) nil) `]` := l infixr `::` := cons #check (1:nat) :: 2 :: nil #check (1:nat) :: 2 :: 3 :: 4 :: 5 :: nil
c38cbef790a7dc701f945f0d88048ad8fea245de
958488bc7f3c2044206e0358e56d7690b6ae696c
/lean/while/Stmt.lean
927bc67fa66aaa68769d1e4b3af2aaac5422fc7f
[]
no_license
possientis/Prog
a08eec1c1b121c2fd6c70a8ae89e2fbef952adb4
d4b3debc37610a88e0dac3ac5914903604fd1d1f
refs/heads/master
1,692,263,717,723
1,691,757,179,000
1,691,757,179,000
40,361,602
3
0
null
1,679,896,438,000
1,438,953,859,000
Coq
UTF-8
Lean
false
false
990
lean
import Env import AExp import BExp -- The WHILE language: deep embedding for actual language: full syntax and semantics specified inductive Stmt : Type | skip : Stmt | assign : string → AExp → Stmt | seq : Stmt → Stmt → Stmt | ite : BExp → Stmt → Stmt → Stmt | while : BExp → Stmt → Stmt open Stmt infix...
e2f540ca034eb3cb937be554738a90d2d526017c
d642a6b1261b2cbe691e53561ac777b924751b63
/src/group_theory/submonoid.lean
84bc2e08b8413bef47a753a59299c1ba27c234c9
[ "Apache-2.0" ]
permissive
cipher1024/mathlib
fee56b9954e969721715e45fea8bcb95f9dc03fe
d077887141000fefa5a264e30fa57520e9f03522
refs/heads/master
1,651,806,490,504
1,573,508,694,000
1,573,508,694,000
107,216,176
0
0
Apache-2.0
1,647,363,136,000
1,508,213,014,000
Lean
UTF-8
Lean
false
false
11,999
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, Kenny Lau, Johan Commelin, Mario Carneiro -/ import algebra.big_operators import data.finset import tactic.subtype_instance variables {α : Type*} [monoid α] {s : set α...
f1a93a9694fea61da801d5cef09501c67e221119
d9d511f37a523cd7659d6f573f990e2a0af93c6f
/src/topology/instances/real.lean
08e93c9936f88306204932dfa236038a62019aee
[ "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
16,962
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.metric_space.basic import topology.algebra.uniform_group import topology.algebra.ring import ring_theory.subring import group_theory.a...
e6aaf58c7e68868b91b1dd9f229fe63f1ffb12f3
bbecf0f1968d1fba4124103e4f6b55251d08e9c4
/src/data/polynomial/denoms_clearable.lean
f3398f6d7cbe059efcd419ccd63a78795412c5d9
[ "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
4,685
lean
/- Copyright (c) 2020 Damiano Testa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Damiano Testa -/ import data.polynomial.erase_lead import data.polynomial.eval /-! # Denominators of evaluation of polynomials at ratios Let `i : R → K` be a homomorphism of semirings...
0266857e917da252fddf594edf5817771b7bdb58
6432ea7a083ff6ba21ea17af9ee47b9c371760f7
/tests/lean/run/327.lean
c3cb16d1366b3aaa0b638a1a22ee026d9b2bd2ef
[ "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
403
lean
open Lean def foo : Name := `foo def isFoo : Name → Bool | ``foo => true | _ => false theorem ex1 : isFoo `foo = true := rfl theorem ex2 : isFoo `bla = false := rfl def Bla.boo : Name := `boo open Bla def isBoo : Name → Bool | ``boo => true | _ => false theorem ex3 : isBoo `Bla.boo = true := rfl...