lean4-htt/tests/lean/holes.lean
2020-10-25 09:16:38 -07:00

26 lines
359 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

def f (x : Nat) : Nat :=
id (_ x)
def g {α β : Type} (a : α) : α :=
a
def f3 (x : Nat) : Nat :=
let y := g x + g x;
y + _ + ?hole
def f4 {α β} (a : α) := a
def f5 {α} {β : _} (a : α) := a
def f6 (a : Nat) :=
let f {α β} (a : α) := a;
f a
partial def f7 (x : Nat) :=
f7 x
partial def f8 (x : Nat) :=
let rec aux (y : Nat) := aux y;
x + 1