Created
March 15, 2018 23:32
-
-
Save aqjune/32f7a261149a7a7b69bbc77e6e81c0fa to your computer and use it in GitHub Desktop.
Lean example
This file contains 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
class C {α:ℕ → Type} := | |
(myf:α 1 → α 1 → α 1) | |
(cx cy:α 1) | |
variable {α:ℕ → Type} | |
variable [s1:@C α] | |
include s1 | |
def f1 := C.myf (C.cx α) (C.cy α) | |
def f2 := f1 /- don't know how to synthesize placeholder | |
context: | |
α : ℕ → Type, | |
s1 : C | |
⊢ ℕ → Type | |
f1 : Π {α : ℕ → Type} [s1 : C], α 1 -/ | |
omit s1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment