Skip to content

Instantly share code, notes, and snippets.

{-# OPTIONS --without-K --postfix-projections #-}
open import Agda.Primitive public
infixr 50 _,_
infixr 30 _×_
-- Unit type
record ⊤ {j} : Set j where
constructor tt
@RafaelBocquet
RafaelBocquet / POPLMark1a.v
Created August 21, 2015 13:52
POPLMark 1a
Require Import Equations.Equations.
Require Import Coq.Logic.Eqdep_dec.
Require Import Coq.Classes.EquivDec.
Require Import Program.
Ltac simpl_exist :=
repeat (
repeat match goal with
| [ H : existT ?a ?b _ = existT ?a ?b _ |- _] =>
apply inj_pair2 in H