Skip to content

Instantly share code, notes, and snippets.

Created August 16, 2013 04:23
Show Gist options
  • Save anonymous/6247310 to your computer and use it in GitHub Desktop.
Save anonymous/6247310 to your computer and use it in GitHub Desktop.
Require Import Omega.
Fixpoint silly (n1: nat) (n2:nat) (H: n1 = n2): nat :=
match H with
| eq_refl => 0
end.
Lemma lem_000:
forall n,
1 + n = n + 1.
intros; omega. Qed.
Lemma lem_002:
forall n,
silly (1+n) (n+1) (lem_000 n) = 0.
intros; simpl; destruct (lem_000 n); reflexivity. Qed.
Lemma lem_003:
forall a b (H: a = b),
silly a b H = 0.
Proof.
intros.
simpl. ???
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment