]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/help/C/html/tac_constructor.html
Install into doc the PDF and HTML manuals
[helm.git] / matita / matita / help / C / html / tac_constructor.html
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>constructor</title><link rel="stylesheet" type="text/css" href="docbook.css" /><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /><link rel="home" href="index.html" title="Matita V0.99.5 User Manual (rev. 0.99.5 )" /><link rel="up" href="sec_tactics.html" title="Chapter 7. Tactics" /><link rel="prev" href="tac_clear.html" title="clear" /><link rel="next" href="tac_decompose.html" title="decompose" /></head><body><a xmlns="" href="../../../"><div class="matita_logo"><img src="figures/matita.png" alt="Tiny Matita logo" /><span>Matita Home</span></div></a><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">constructor</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="tac_clear.html">Prev</a> </td><th width="60%" align="center">Chapter 7. Tactics</th><td width="20%" align="right"> <a accesskey="n" href="tac_decompose.html">Next</a></td></tr></table><hr /></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="tac_constructor"></a>constructor</h2></div></div></div><p><strong class="userinput"><code>%n {args}</code></strong></p><p>
3       </p><div class="variablelist"><dl class="variablelist"><dt><span class="term">Synopsis:</span></dt><dd><p><span class="bold"><strong>%</strong></span> [<span class="emphasis"><em><a class="link" href="sec_terms.html#grammar.nat">nat</a></em></span>] [<span class="bol">{</span><span class="emphasis"><em><a class="link" href="sec_terms.html#grammar.sterm">sterm</a></em></span>…<span class="bol">}</span>]</p></dd><dt><span class="term">Pre-conditions:</span></dt><dd><p>The conclusion of the current sequent must be
4              an inductive type or the application of an inductive type with
5              at least <span class="command"><strong>n</strong></span> constructors.</p></dd><dt><span class="term">Action:</span></dt><dd><p>It applies the <span class="command"><strong>n</strong></span>-th constructor of the
6              inductive type of the conclusion of the current sequent to
7              the arguments <span class="command"><strong>args</strong></span>.
8              If <span class="command"><strong>n</strong></span> is omitted, it defaults to 1.</p></dd><dt><span class="term">New sequents to prove:</span></dt><dd><p>It opens a new sequent for each premise of the constructor
9              that can not be inferred by unification. For more details,
10              see the <span class="command"><strong>apply</strong></span> tactic.</p></dd></dl></div><p>
11     </p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="tac_clear.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="sec_tactics.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="tac_decompose.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">clear </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> decompose</td></tr></table></div></body></html>