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