Skip to content

Instantly share code, notes, and snippets.

View lunalunaa's full-sized avatar

Luna lunalunaa

  • Waterloo, Ontario
View GitHub Profile
@lunalunaa
lunalunaa / UnivPoly.hs
Created July 7, 2021 04:51 — forked from atennapel/UnivPoly.hs
Universe Polymorphism
-- universe polymorphism
module UnivPoly where
-- core language
type Ix = Int
data Term
= Var Ix
| Abs Term
| App Term Term
@lunalunaa
lunalunaa / coq_filter.v
Created March 25, 2018 12:25 — forked from y-taka-23/coq_filter.v
Validation of the filter Function (via "Software Foundations" http://www.cis.upenn.edu/~bcpierce/sf/Logic.html)
(******************************************************)
(** //// Validation of the "filter" Function //// *)
(******************************************************)
Require Import List Bool Lt.
Section Filter.
(*////////////////////////////////////////////////////*)