Debian Codegraph @

test-suite/ssr/view_case.v

raw
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 ssrbool TestSuite.ssr_mini_mathcomp.
15
16 Axiom P : forall T, seq T -> Prop.
17
18 Goal (forall T (s : seq T), P _ s).
19 move=> T s.
20 elim: s => [| x /lastP [| s] IH].
21 Admitted.
22
23 Goal forall x : 'I_1, x = 0 :> nat.
24 move=> /ord1 -> /=; exact: refl_equal.
25 Qed.
26
27 Goal forall x : 'I_1, x = 0 :> nat.
28 move=> x.
29 move=> /ord1 -> in x |- *.
30 exact: refl_equal.
31 Qed.