lean4-htt/tests/lean/run/fun.lean
2019-06-24 15:48:11 -07:00

19 lines
366 B
Text

open Function Bool
constant f : Nat → Bool := default _
constant g : Nat → Nat := default _
#check f ∘ g ∘ g
#check (id : Nat → Nat)
constant h : Nat → Bool → Nat := default _
#check swap h
#check swap h false Nat.zero
#check (swap h false Nat.zero : Nat)
constant f1 : Nat → Nat → Bool := default _
constant f2 : Bool → Nat := default _