From a46ccd71539257bb55dcddd9ae8510856a5c9a16 Mon Sep 17 00:00:00 2001 From: letouzey Date: Thu, 5 Jul 2012 16:56:28 +0000 Subject: Open Local Scope ---> Local Open Scope, same with Notation and alii git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15517 85f007b7-540e-0410-9357-904b9bb8a0f7 --- doc/faq/FAQ.tex | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/faq') diff --git a/doc/faq/FAQ.tex b/doc/faq/FAQ.tex index 5ce5e0436c..db4a5d3cd1 100644 --- a/doc/faq/FAQ.tex +++ b/doc/faq/FAQ.tex @@ -1028,7 +1028,7 @@ You can use a what is called a hints' base. \begin{coq_example} Require Import ZArith. Require Ring. -Open Local Scope Z_scope. +Local Open Scope Z_scope. Lemma toto1 : 1+1 = 2. ring. Qed. @@ -1124,7 +1124,7 @@ Just use the {\ring} tactic. \begin{coq_example} Require Import ZArith. Require Ring. -Open Local Scope Z_scope. +Local Open Scope Z_scope. Goal forall a b : Z, (a+b)*(a+b) = a*a + 2*a*b + b*b. intros. ring. @@ -1138,7 +1138,7 @@ Just use the {\field} tactic. \begin{coq_example} Require Import Reals. Require Ring. -Open Local Scope R_scope. +Local Open Scope R_scope. Goal forall a b : R, b*a<>0 -> (a/b) * (b/a) = 1. intros. field. @@ -1157,7 +1157,7 @@ Qed. \begin{coq_example} Require Import ZArith. Require Omega. -Open Local Scope Z_scope. +Local Open Scope Z_scope. Goal forall a : Z, a>0 -> a+a > a. intros. omega. @@ -1310,7 +1310,7 @@ You need to use the {\try} and {\solve} tactics. For instance: \begin{coq_example} Require Import ZArith. Require Ring. -Open Local Scope Z_scope. +Local Open Scope Z_scope. Goal forall a b c : Z, a+b=b+a. Proof with try solve [ring]. intros... -- cgit v1.2.3