blob: f336a46109bbf7f4a82bf6eb5591f9990959932b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
(* (c) Copyright 2006-2015 Microsoft Corporation and Inria. *)
(* Distributed under the terms of CeCILL-B. *)
Require Import mathcomp.ssreflect.ssreflect.
Ltac mycut x :=
let tx := type of x in
cut tx.
Lemma test : True.
Proof.
by mycut I=> [ x | ]; [ exact x | exact I ].
Qed.
|