Skip to content

Instantly share code, notes, and snippets.

@aqjune
Created March 16, 2018 10:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aqjune/5172e53e82c5f1bfb837780371db9783 to your computer and use it in GitHub Desktop.
Save aqjune/5172e53e82c5f1bfb837780371db9783 to your computer and use it in GitHub Desktop.
Lean code
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