]> matita.cs.unibo.it Git - helm.git/blob - helm/www/matita/docs/manual/tac_fold.html
manual regenerated
[helm.git] / helm / www / matita / docs / manual / tac_fold.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">
3 <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>fold &lt;reduction_kind&gt; sterm &lt;pattern&gt;</title><link rel="stylesheet" href="docbook.css" type="text/css" /><meta name="generator" content="DocBook XSL Stylesheets V1.68.1" /><link rel="start" href="index.html" title="Matita V0.1.0&#10; User Manual (rev. 1α)" /><link rel="up" href="sec_tactics.html" title="Chapter 6. Tactics" /><link rel="prev" href="tac_fail.html" title="fail " /><link rel="next" href="tac_fourier.html" title="fourier" /></head><body><a xmlns="" href="../../"><div class="matita_logo"><img src="../../images/matita-tiny.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">fold &lt;reduction_kind&gt; sterm &lt;pattern&gt;</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="tac_fail.html">Prev</a> </td><th width="60%" align="center">Chapter 6. Tactics</th><td width="20%" align="right"> <a accesskey="n" href="tac_fourier.html">Next</a></td></tr></table><hr /></div><div class="sect1" lang="en" xml:lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="tac_fold"></a>fold &lt;reduction_kind&gt; <span class="emphasis"><em><a href="sec_terms.html#sterm">sterm</a></em></span> &lt;pattern&gt;</h2></div></div></div><p><strong class="userinput"><code>fold red t patt</code></strong></p><p>
4       </p><div class="variablelist"><dl><dt><span class="term">Pre-conditions:</span></dt><dd><p>The pattern must not specify the wanted term.</p></dd><dt><span class="term">Action:</span></dt><dd><p>First of all it locates all the subterms matched by
5              <span><strong class="command">patt</strong></span>. In the context of each matched subterm
6              it disambiguates the term <span><strong class="command">t</strong></span> and reduces it
7              to its <span><strong class="command">red</strong></span> normal form; then it replaces with
8              <span><strong class="command">t</strong></span> every occurrence of the normal form in the
9              matched subterm.</p></dd><dt><span class="term">New sequents to prove:</span></dt><dd><p>None.</p></dd></dl></div><p>
10     </p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="tac_fail.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_fourier.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">fail  </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> fourier</td></tr></table></div></body></html>