Debian Codegraph @

test-suite/output/ssr_explain_match.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 Require Import ssrmatching.
12 Require Import ssreflect ssrbool TestSuite.ssr_mini_mathcomp.
13
14 Definition addnAC := (addnA, addnC).
15
16 Lemma test x y z : x + y + z = x + y.
17
18 ssrinstancesoftpat (_ + _).
19 ssrinstancesofruleL2R addnC.
20 ssrinstancesofruleR2L addnA.
21 ssrinstancesofruleR2L addnAC.
22 Fail ssrinstancesoftpat (_ + _ in RHS). (* Not implemented *)
23 Admitted.