-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 6a598a0
Showing
196 changed files
with
114,034 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<link href="coqdoc.css" rel="stylesheet" type="text/css" /> | ||
<title>Goedel.PRrepresentable</title> | ||
</head> | ||
|
||
<body> | ||
|
||
<div id="page"> | ||
|
||
<div id="header"> | ||
</div> | ||
|
||
<div id="main"> | ||
|
||
<h1 class="libtitle">Library Goedel.PRrepresentable</h1> | ||
|
||
<div class="code"> | ||
</div> | ||
|
||
<div class="doc"> | ||
|
||
<div class="paragraph"> </div> | ||
|
||
Original version by Russel O'Connor | ||
|
||
<div class="paragraph"> </div> | ||
|
||
This library is dedicated to the proof of the theorem: | ||
"Every primitive recursive function is representable in <span class="inlinecode"><span class="id" title="var">NN</span></span>" | ||
|
||
<div class="paragraph"> </div> | ||
|
||
<ul class="doclist"> | ||
<li> Let <span class="inlinecode"><span class="id" title="var">f</span></span> be any <span class="inlinecode"><span class="id" title="var">n</span></span>-ary arithmetic function, and <span class="inlinecode"><span class="id" title="var">p</span></span> a proof that this function is primitive recursive. | ||
Out of <span class="inlinecode"><span class="id" title="var">p</span></span>, we can associate a <span class="inlinecode"><span class="id" title="var">NN</span></span>-formula which correctly expresses <span class="inlinecode"><span class="id" title="var">f</span></span>. | ||
|
||
<div class="paragraph"> </div> | ||
|
||
|
||
</li> | ||
<li> The main difficulty is to associate a <span class="inlinecode"><span class="id" title="var">NN</span></span>-formula to the case where <span class="inlinecode"><span class="id" title="var">f</span></span> can be defined by a primitive | ||
recursive scheme. | ||
This is made possible with the help of Goedel's <span class="inlinecode"><span class="id" title="keyword">beta</span></span>-function, studied in the | ||
<a=href="https://github.com/thery/coqprime/blob/master/src/Coqprime/N/ChineseRem.v">ChineseRem</a> | ||
library. This function allows | ||
to represent a sequence of computation steps through a first-order formula (theorem <span class="inlinecode"><span class="id" title="var">ChineseRem.BetaTheorem</span></span>). | ||
|
||
</li> | ||
</ul> | ||
|
||
<div class="paragraph"> </div> | ||
|
||
|
||
</div> | ||
<div class="code"> | ||
|
||
<br/> | ||
|
||
<br/> | ||
<span class="id" title="keyword">Theorem</span> <a id="primRecRepresentable" class="idref" href="#primRecRepresentable"><span class="id" title="lemma">primRecRepresentable</span></a> :<br/> | ||
<span class="id" title="keyword">∀</span> (<a id="n:473" class="idref" href="#n:473"><span class="id" title="binder">n</span></a> : <a class="idref" href="http://coq.inria.fr/distrib/V8.15.0/stdlib//Coq.Init.Datatypes.html#nat"><span class="id" title="inductive">nat</span></a>) (<a id="f:474" class="idref" href="#f:474"><span class="id" title="binder">f</span></a> : <a class="idref" href="hydras.Ackermann.extEqualNat.html#naryFunc"><span class="id" title="definition">naryFunc</span></a> <a class="idref" href="Goedel.PRrepresentable.html#n:473"><span class="id" title="variable">n</span></a>) (<a id="p:475" class="idref" href="#p:475"><span class="id" title="binder">p</span></a> : <a class="idref" href="hydras.Ackermann.primRec.html#isPR"><span class="id" title="class">isPR</span></a> <a class="idref" href="Goedel.PRrepresentable.html#n:473"><span class="id" title="variable">n</span></a> <a class="idref" href="Goedel.PRrepresentable.html#f:474"><span class="id" title="variable">f</span></a>),<br/> | ||
<a class="idref" href="Goedel.PRrepresentable.html#Representable"><span class="id" title="definition">Representable</span></a> <a class="idref" href="Goedel.PRrepresentable.html#n:473"><span class="id" title="variable">n</span></a> <a class="idref" href="Goedel.PRrepresentable.html#f:474"><span class="id" title="variable">f</span></a> (<a class="idref" href="Goedel.PRrepresentable.html#primRecFormula"><span class="id" title="definition">primRecFormula</span></a> <a class="idref" href="Goedel.PRrepresentable.html#n:473"><span class="id" title="variable">n</span></a> (<a class="idref" href="hydras.Ackermann.primRec.html#fun2PR"><span class="id" title="definition">fun2PR</span></a> <a class="idref" href="Goedel.PRrepresentable.html#f:474"><span class="id" title="variable">f</span></a>)).<br/> | ||
|
||
<br/> | ||
</div> | ||
</div> | ||
|
||
<div id="footer"> | ||
<hr/><a href="index.html">Index</a><hr/>This page has been generated by <a href="http://coq.inria.fr/">coqdoc</a> | ||
</div> | ||
|
||
</div> | ||
|
||
</body> | ||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.