<?xml version="1.0"?>
<div>:: <span class="kw">deftheorem </span>   defines <a href="graphsp.html#R1" title="GRAPHSP:pred.1">hasBetterPathAt</a> <a onclick="hs(this)" href="javascript:()">GRAPHSP:def 13 : <br/></a><span> for <font color="Olive" title="b1">n</font>, <font color="Olive" title="b2">k</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a><br/>  for <font color="Olive" title="b3">f</font> being    <a href="finseq_2.html#M2" title="FINSEQ_2:mode.2">Element</a> of <a href="numbers.html#K1" title="NUMBERS:func.1">REAL</a> <a href="finseq_2.html#K3" title="FINSEQ_2:func.3">*</a>  holds <br/> ( <font color="Olive" title="b3">f</font> <a href="graphsp.html#R1" title="GRAPHSP:pred.1">hasBetterPathAt</a> <font color="Olive" title="b1">n</font>,<font color="Olive" title="b2">k</font> iff ( ( <font color="Olive" title="b3">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><font color="Olive" title="b1">n</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Olive" title="b2">k</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> 1 or <font color="Olive" title="b3">f</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default">2 <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b1">n</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Olive" title="b2">k</font></span>)</span> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="graphsp.html#K16" title="GRAPHSP:func.16">newpathcost</a> (<font color="Olive" title="b3">f</font>,<font color="Olive" title="b1">n</font>,<font color="Olive" title="b2">k</font>) ) &amp; <font color="Olive" title="b3">f</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default">2 <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b1">n</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p3">(<span class="default"><font color="Olive" title="b1">n</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p4">(<span class="default"><font color="Olive" title="b3">f</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p5">(<span class="default"><span class="p0">(<span class="default"><span class="p1">(<span class="default"><font color="Olive" title="b1">n</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b1">n</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default">3 <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b1">n</font></span>)</span></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span></span>)</span></span>)</span></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Olive" title="b2">k</font></span>)</span> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &amp; <font color="Olive" title="b3">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b2">k</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> 1 ) );<br/></span></div>
