blob: 5eabcc301d13d0ce77b0f89a0d084c56aadf41aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
(* (c) Copyright 2006-2015 Microsoft Corporation and Inria. *)
(* Distributed under the terms of CeCILL-B. *)
Require mathcomp.ssreflect.ssreflect.
Require Import Arith.
Goal (forall a b, a + b = b + a).
intros.
rewrite plus_comm, plus_comm.
split.
Abort.
Module Foo.
Import ssreflect.
Goal (forall a b, a + b = b + a).
intros.
rewrite 2![_ + _]plus_comm.
split.
Abort.
End Foo.
Goal (forall a b, a + b = b + a).
intros.
rewrite plus_comm, plus_comm.
split.
Abort.
|