Skip to content

Instantly share code, notes, and snippets.

@wilcoxjay
Created April 22, 2015 02:12
Show Gist options
  • Save wilcoxjay/9adad520e0c5b0f94631 to your computer and use it in GitHub Desktop.
Save wilcoxjay/9adad520e0c5b0f94631 to your computer and use it in GitHub Desktop.
Require Fin.
Theorem fin_1 :
forall x : Fin.t 1,
x = Fin.F1.
Proof.
intros.
destruct x using Fin.caseS'.
- auto.
- inversion x.
Qed.
Require Import Program.
Theorem fin_1' :
forall x : Fin.t 1,
x = Fin.F1.
Proof.
intros.
dependent destruction x.
- auto.
- inversion x.
Qed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment