This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Lean.Elab.Term | |
/-! | |
# Turán's theorem | |
-/ | |
set_option warn.sorry false | |
section Mathlib.Tactic.TypeStar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<!-- This file was created with the aha Ansi HTML Adapter. https://github.com/theZiz/aha --> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="application/xml+xhtml; charset=UTF-8"/> | |
<title>stdin</title> | |
</head> | |
<body> | |
<pre> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
universe u v w v₁ v₂ v₃ u₁ u₂ u₃ | |
section Mathlib.Algebra.Group.ZeroOne | |
class Zero (α : Type u) where | |
zero : α | |
instance (priority := 300) Zero.toOfNat0 {α} [Zero α] : OfNat α (nat_lit 0) where | |
ofNat := ‹Zero α›.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❌ le_of_forall_neg_add_le <- ✅ le_of_forall_lt_one_mul_le | |
❌ le_iff_forall_neg_add_le <- ✅ le_iff_forall_lt_one_mul_le | |
❌ Sum.FaithfulVAddLeft <- ✅ Sum.FaithfulSMulLeft | |
❌ nsmul_le_nsmul_iff <- ✅ pow_le_pow_iff' | |
❌ Multiset.sum_zero <- ✅ Multiset.prod_zero | |
❌ nsmul_lt_nsmul_iff <- ✅ pow_lt_pow_iff' | |
❌ Part.left_dom_of_sub_dom <- ✅ Part.left_dom_of_div_dom | |
❌ Pi.update_eq_sub_add_single <- ✅ Pi.update_eq_div_mul_mulSingle | |
❌ eq_zero_or_pos <- ✅ eq_one_or_one_lt | |
❌ WithBot.coe_eq_zero <- ✅ WithBot.coe_eq_one |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import demo.structures | |
/-! # Classes | |
Define a class (e.g. `monoid`) | |
and define an instance (e.g. product monoid). | |
-/ | |
namespace impan |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import category_theory.category.basic | |
open category_theory | |
/-! # Structures | |
Define your own structure | |
(e.g. `prod` or `functor`) | |
and define examples (e.g. composition). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import category_theory.yoneda | |
import tactic.apply_fun | |
. | |
open category_theory opposite | |
/-! # Yoneda -/ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import category_theory.yoneda | |
import tactic.apply_fun | |
. | |
open category_theory opposite | |
/-! # Yoneda -/ | |
variables (C : Type) [category.{0} C] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tactic.find_unused | |
import challenge | |
open tactic | |
meta def file_list : list (option string) := | |
["backup/delta_functor.lean", "backup/extr.lean", | |
"backup/extr_backup.lean", "backup/multilinear.lean", | |
"backup/prepresentation.lean", "backup/sheafification_mono.lean", | |
"scripts/lean_version.lean", "scripts/lint_project.lean", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AddCommGroup.Ab.category_theory.limits.has_colimits_of_size | |
AddCommGroup.colimit_comparison | |
AddCommGroup.direct_sum_bicone | |
AddCommGroup.direct_sum_punit_iso | |
AddCommGroup.hom_product_comparison | |
AddCommGroup.is_bilimit_direct_sum_bicone | |
AddCommGroup.is_iso_hom_product_comparison | |
AddCommGroup.is_limit_pi_fan | |
AddCommGroup.pi_fan | |
AddCommGroup.pi_lift |
NewerOlder