| 1 |
(************************************************************************) |
| 2 |
(* * The Rocq Prover / The Rocq Development Team *) |
| 3 |
(* v * Copyright INRIA, CNRS and contributors *) |
| 4 |
(* <O___,, * (see version control and CREDITS file for authors & dates) *) |
| 5 |
(* \VV/ **************************************************************) |
| 6 |
(* // * This file is distributed under the terms of the *) |
| 7 |
(* * GNU Lesser General Public License Version 2.1 *) |
| 8 |
(* * (see LICENSE file for the text of the license) *) |
| 9 |
(************************************************************************) |
| 10 |
|
| 11 |
(* (c) Copyright 2006-2016 Microsoft Corporation and Inria. *) |
| 12 |
|
| 13 |
Require Import ssreflect. |
| 14 |
Require Import ssrfun ssrbool TestSuite.ssr_mini_mathcomp. |
| 15 |
|
| 16 |
Set Implicit Arguments. |
| 17 |
Unset Strict Implicit. |
| 18 |
Import Prenex Implicits. |
| 19 |
|
| 20 |
Lemma test0 (a b : unit) f : a = f b. |
| 21 |
Proof. by rewrite !unitE. Qed. |
| 22 |
|
| 23 |
Lemma phE T : all_equal_to (Phant T). Proof. by case. Qed. |
| 24 |
|
| 25 |
Lemma test1 (a b : phant nat) f : a = f b. |
| 26 |
Proof. by rewrite !phE. Qed. |
| 27 |
|
| 28 |
Lemma eq_phE (T : eqType) : all_equal_to (Phant T). Proof. by case. Qed. |
| 29 |
|
| 30 |
Lemma test2 (a b : phant bool) f : a = locked (f b). |
| 31 |
Proof. by rewrite !eq_phE. Qed. |