[apply]
whitespace = nowarn
[core]
whitespace = trailing-space, space-before-tab
autocrlf = input
[alias]
a = "add"
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
| -- Theorems/Exercises from "Logical Investigations, with the Nuprl Proof Assistant" | |
| -- by Robert L. Constable and Anne Trostle | |
| -- http://www.nuprl.org/MathLibrary/LogicalInvestigations/ | |
| import logic | |
| -- 2. The Minimal Implicational Calculus | |
| theorem thm1 {A B : Prop} : A → B → A := | |
| assume Ha Hb, Ha | |
| theorem thm2 {A B C : Prop} : (A → B) → (A → B → C) → (A → 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 algebra.category.functor | |
| open category eq eq.ops functor | |
| inductive natural_transformation {C D : Category} (F G : C ⇒ D) : Type := | |
| mk : Π (η : Π(a : C), hom (F a) (G a)), (Π{a b : C} (f : hom a b), G f ∘ η a = η b ∘ F f) | |
| → natural_transformation F G | |
| infixl `⟹`:25 := natural_transformation -- \==> | |
| namespace natural_transformation |
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
| ;; Package | |
| (require 'package) | |
| (add-to-list 'package-archives | |
| '("melpa" . "http://melpa.milkbox.net/packages/") t) | |
| (package-initialize) | |
| (package-refresh-contents) | |
| ;; Install required/optional packages for lean-mode | |
| (defvar lean-mode-required-packages | |
| '(company dash dash-functional flycheck whitespace-cleanup-mode |
NewerOlder