This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# OPTIONS --without-K --postfix-projections #-} | |
| open import Agda.Primitive public | |
| infixr 50 _,_ | |
| infixr 30 _×_ | |
| -- Unit type | |
| record ⊤ {j} : Set j where | |
| constructor tt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |