Skip to content

Instantly share code, notes, and snippets.

@peterbb
Last active December 27, 2015 10:48
Show Gist options
  • Save peterbb/7313499 to your computer and use it in GitHub Desktop.
Save peterbb/7313499 to your computer and use it in GitHub Desktop.
Section TMP.
Variable A : Set.
Variables a b : A.
Definition f (n : nat) : A :=
match n with
| 0 => a
| _ => b
end.
Goal (exists f : nat -> A, f 0 = a /\ f 1 = b).
exists f; auto.
Qed.
End TMP.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment