Skip to content

Instantly share code, notes, and snippets.

View LeuisKen's full-sized avatar

Jiaxun Wei LeuisKen

View GitHub Profile
@xiaoxiangmoe
xiaoxiangmoe / lambda_cube.lean
Last active May 8, 2021 03:55
lambda_cube.lean
-- PTS-style First-order dependent types
-- usage examples
--------------------------------------------------------------------------------
-- λ→
def plus_1_of_nat : Π _ : ℕ, ℕ := λ x : ℕ, x + 1
#check plus_1_of_nat
#reduce Π _ : ℕ, ℕ