From c78a913e4e45c1128b59ca8be9d53fc0c36fc9e0 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Thu, 20 Mar 2008 21:08:08 +0000 Subject: [PATCH] New syntax for auto-related tactics and conclude/obtain. --- .../help/C/declarative_tactics_quickref.xml | 2 +- helm/software/matita/help/C/matita.xml | 1 + .../matita/help/C/sec_declarative_tactics.xml | 34 +++++++++---------- helm/software/matita/help/C/sec_tactics.xml | 4 +-- helm/software/matita/help/C/sec_terms.xml | 18 +++++++++- .../matita/help/C/tactics_quickref.xml | 11 +----- 6 files changed, 39 insertions(+), 31 deletions(-) diff --git a/helm/software/matita/help/C/declarative_tactics_quickref.xml b/helm/software/matita/help/C/declarative_tactics_quickref.xml index 2d09883af..8aba5a08c 100644 --- a/helm/software/matita/help/C/declarative_tactics_quickref.xml +++ b/helm/software/matita/help/C/declarative_tactics_quickref.xml @@ -48,7 +48,7 @@ | - [obtain id | conclude term] = term by [ term | _ [(auto_params)]] [done] + [obtain id | conclude term] = term [auto_params | exact term | using term | proof] [done] diff --git a/helm/software/matita/help/C/matita.xml b/helm/software/matita/help/C/matita.xml index 30d37b3ba..1b4cba2aa 100644 --- a/helm/software/matita/help/C/matita.xml +++ b/helm/software/matita/help/C/matita.xml @@ -53,6 +53,7 @@ qstring"> interpretation"> auto_params"> + simple_auto_param"> ]> diff --git a/helm/software/matita/help/C/sec_declarative_tactics.xml b/helm/software/matita/help/C/sec_declarative_tactics.xml index b8b877779..cc6aeb61d 100644 --- a/helm/software/matita/help/C/sec_declarative_tactics.xml +++ b/helm/software/matita/help/C/sec_declarative_tactics.xml @@ -67,13 +67,13 @@ Pre-condition: - Da Fare + &TODO; Action: - Da Fare + &TODO; @@ -135,13 +135,13 @@ Pre-condition: - Da Fare + &TODO; Action: - Da Fare + &TODO; @@ -203,13 +203,13 @@ Pre-condition: - Da Fare + &TODO; Action: - Da Fare + &TODO; @@ -237,13 +237,13 @@ Pre-condition: - Da Fare + &TODO; Action: - Da Fare + &TODO; @@ -305,19 +305,19 @@ Pre-condition: - Da Fare + &TODO; Action: - Da Fare + &TODO; New sequents to prove: - Da Fare + &TODO; @@ -327,31 +327,31 @@ obtain/conclude obtain/conclude - obtain H t=t by [t|_] done + obtain H t=t [auto_params | exact t| proof | using t] done Synopsis: - [obtain &id; | conclude &term;] = &term; by [ &term; | _ [(&autoparams;)]] [done] + [obtain &id; | conclude &term;] = &term; [&autoparams; | exact &term; | using &term; | proof] [done] Pre-condition: - Da Fare + &TODO; Action: - Da Fare + &TODO; New sequence to prove: - Da Fare + &TODO; @@ -387,7 +387,7 @@ New sequence to prove: - Da fare + &TODO; diff --git a/helm/software/matita/help/C/sec_tactics.xml b/helm/software/matita/help/C/sec_tactics.xml index bdfb3e5db..764723261 100644 --- a/helm/software/matita/help/C/sec_tactics.xml +++ b/helm/software/matita/help/C/sec_tactics.xml @@ -597,13 +597,13 @@ demodulate demodulate - demodulate + demodulate auto_params Synopsis: - demodulate + demodulate &autoparams; diff --git a/helm/software/matita/help/C/sec_terms.xml b/helm/software/matita/help/C/sec_terms.xml index 3cae2f84c..15793c63a 100644 --- a/helm/software/matita/help/C/sec_terms.xml +++ b/helm/software/matita/help/C/sec_terms.xml @@ -729,12 +729,28 @@ auto-params &TODO; - reduction-kind + auto-params &autoparams; ::= + [&simpleautoparam;]… + [by + &term; [&term;]…] + + &TODO; + + + +
+ + simple-auto-param + + + + &simpleautoparam; + ::= depth=&nat; &TODO; diff --git a/helm/software/matita/help/C/tactics_quickref.xml b/helm/software/matita/help/C/tactics_quickref.xml index e6f2e2f79..331d58dc2 100644 --- a/helm/software/matita/help/C/tactics_quickref.xml +++ b/helm/software/matita/help/C/tactics_quickref.xml @@ -92,11 +92,7 @@ | - - - demodulate - - + demodulate auto_params @@ -218,11 +214,6 @@ | normalize pattern - - - | - reduce pattern - | -- 2.39.2