<?xml version="1.0"?>
<div class="add">

<span class="kw">let </span><font color="Maroon" title="c1">W</font> be   <a href="funct_1.html#NM1" title="FUNCT_1:NM.1">Function</a>; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide">  for <font color="Olive" title="b1">G</font> being   <a href="graph_1.html#NM3" title="GRAPH_1:NM.3">Graph</a><br/>  for <font color="Olive" title="b2">pe</font>, <font color="Olive" title="b3">qe</font> being    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Olive" title="b1">G</font>  st <font color="Olive" title="b3">qe</font> is  <a href="funct_1.html#V2" title="FUNCT_1:attr.2">one-to-one</a>  &amp;  <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <font color="Olive" title="b3">qe</font> <a href="tarski.html#R1" title="TARSKI:pred.1">c=</a>  <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <font color="Olive" title="b2">pe</font> &amp; <font color="Maroon" title="c1">W</font> <a href="graph_5.html#R5" title="GRAPH_5:pred.5">is_weight&gt;=0of</a> <font color="Olive" title="b1">G</font> holds <br/> <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Olive" title="b3">qe</font>,<font color="Maroon" title="c1">W</font>) <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Olive" title="b2">pe</font>,<font color="Maroon" title="c1">W</font>)</span><br/><span class="kw">let </span><font color="Maroon" title="c2">G</font> be   <a href="graph_1.html#NM3" title="GRAPH_1:NM.3">Graph</a>; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide">  for <font color="Olive" title="b1">pe</font>, <font color="Olive" title="b2">qe</font> being    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c2">G</font>  st <font color="Olive" title="b2">qe</font> is  <a href="funct_1.html#V2" title="FUNCT_1:attr.2">one-to-one</a>  &amp;  <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <font color="Olive" title="b2">qe</font> <a href="tarski.html#R1" title="TARSKI:pred.1">c=</a>  <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <font color="Olive" title="b1">pe</font> &amp; <font color="Maroon" title="c1">W</font> <a href="graph_5.html#R5" title="GRAPH_5:pred.5">is_weight&gt;=0of</a> <font color="Maroon" title="c2">G</font> holds <br/> <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Olive" title="b2">qe</font>,<font color="Maroon" title="c1">W</font>) <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Olive" title="b1">pe</font>,<font color="Maroon" title="c1">W</font>)</span><br/><span class="kw">let </span><font color="Maroon" title="c3">pe</font>, <font color="Maroon" title="c4">qe</font> be    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c2">G</font>; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> ( <font color="Maroon" title="c4">qe</font> is  <a href="funct_1.html#V2" title="FUNCT_1:attr.2">one-to-one</a>  &amp;  <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <font color="Maroon" title="c4">qe</font> <a href="tarski.html#R1" title="TARSKI:pred.1">c=</a>  <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <font color="Maroon" title="c3">pe</font> &amp; <font color="Maroon" title="c1">W</font> <a href="graph_5.html#R5" title="GRAPH_5:pred.5">is_weight&gt;=0of</a> <font color="Maroon" title="c2">G</font> implies  <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c4">qe</font>,<font color="Maroon" title="c1">W</font>) <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c3">pe</font>,<font color="Maroon" title="c1">W</font>) )</span><br/>







<span class="kw">set </span><font color="Maroon" title="c5">D</font> =  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c2">G</font>;<br/>
<span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E1:73"/><span class="lab"><font color="Green" title="E51">A1</font></span>: 
( <font color="Maroon" title="c4">qe</font> is  <a href="funct_1.html#V2" title="FUNCT_1:attr.2">one-to-one</a>  &amp;  <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <font color="Maroon" title="c4">qe</font> <a href="tarski.html#R1" title="TARSKI:pred.1">c=</a>  <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <font color="Maroon" title="c3">pe</font> )
 <span class="kw">and </span><br/><a NAME="E2:73"/><span class="lab"><font color="Green" title="E52">A2</font></span>: 
<font color="Maroon" title="c1">W</font> <a href="graph_5.html#R5" title="GRAPH_5:pred.5">is_weight&gt;=0of</a> <font color="Maroon" title="c2">G</font>
 ; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide">  <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c4">qe</font>,<font color="Maroon" title="c1">W</font>) <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c3">pe</font>,<font color="Maroon" title="c1">W</font>)</span><br/>

<span class="kw">defpred </span><font color="Maroon">S<sub>1</sub></font>[  <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>] <span class="kw">means </span> for <font color="Olive" title="b1">p</font>, <font color="Olive" title="b2">q</font> being    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c2">G</font>  st <font color="Olive" title="b2">q</font> is  <a href="funct_1.html#V2" title="FUNCT_1:attr.2">one-to-one</a>  &amp;  <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <font color="Olive" title="b2">q</font> <a href="tarski.html#R1" title="TARSKI:pred.1">c=</a>  <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <font color="Olive" title="b1">p</font> &amp;  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Olive" title="b2">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> $1 holds <br/> <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Olive" title="b2">q</font>,<font color="Maroon" title="c1">W</font>) <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Olive" title="b1">p</font>,<font color="Maroon" title="c1">W</font>);<br/>
<a NAME="E3:73"/><span class="lab"><font color="Green" title="E53">A3</font></span>: 
 for <font color="Olive" title="b1">k</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Maroon">S<sub>1</sub></font>[<font color="Olive" title="b1">k</font>] holds <br/><font color="Maroon">S<sub>1</sub></font>[<font color="Olive" title="b1">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1]
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="73_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c6">k</font> be   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> ( <font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c6">k</font>] implies <font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c6">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1] )</span><br/>

<span class="kw">assume </span><a NAME="E1:73_1"/><span class="lab"><font color="Green" title="E54">A4</font></span>: 
<font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c6">k</font>]
 ; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> <font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c6">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1]</span><br/>

<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="73_1_1"><span class="kw">now </span> <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide">  for <font color="Olive" title="b1">p</font>, <font color="Olive" title="b2">q</font> being    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c2">G</font>  st <font color="Olive" title="b2">q</font> is  <a href="funct_1.html#V2" title="FUNCT_1:attr.2">one-to-one</a>  &amp;  <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <font color="Olive" title="b2">q</font> <a href="tarski.html#R1" title="TARSKI:pred.1">c=</a>  <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <font color="Olive" title="b1">p</font> &amp;  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Olive" title="b2">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c6">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1 holds <br/> <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Olive" title="b2">q</font>,<font color="Maroon" title="c1">W</font>) <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Olive" title="b1">p</font>,<font color="Maroon" title="c1">W</font>)</span></a><div class="add"><span class="kw">let </span><font color="Maroon" title="c7">p</font>, <font color="Maroon" title="c8">q</font> be    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c2">G</font>; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> ( <font color="Maroon" title="c8">q</font> is  <a href="funct_1.html#V2" title="FUNCT_1:attr.2">one-to-one</a>  &amp;  <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <font color="Maroon" title="c8">q</font> <a href="tarski.html#R1" title="TARSKI:pred.1">c=</a>  <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <font color="Maroon" title="c7">p</font> &amp;  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c8">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c6">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1 implies  <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c8">q</font>,<font color="Maroon" title="c1">W</font>) <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c7">p</font>,<font color="Maroon" title="c1">W</font>) )</span><br/><span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E1:73_1_1"/><span class="lab"><font color="Green" title="E55">A5</font></span>: 
<font color="Maroon" title="c8">q</font> is  <a href="funct_1.html#V2" title="FUNCT_1:attr.2">one-to-one</a> 
 <span class="kw">and </span><br/><a NAME="E2:73_1_1"/><span class="lab"><font color="Green" title="E56">A6</font></span>: 
 <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <font color="Maroon" title="c8">q</font> <a href="tarski.html#R1" title="TARSKI:pred.1">c=</a>  <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <font color="Maroon" title="c7">p</font>
 <span class="kw">and </span><br/><a NAME="E3:73_1_1"/><span class="lab"><font color="Green" title="E57">A7</font></span>: 
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c8">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c6">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1
 ; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide">  <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c8">q</font>,<font color="Maroon" title="c1">W</font>) <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c7">p</font>,<font color="Maroon" title="c1">W</font>)</span><br/><span class="kw">consider </span><font color="Maroon" title="c9">q1</font> being   <a href="finseq_1.html#NM1" title="FINSEQ_1:NM.1">FinSequence</a>, <font color="Maroon" title="c10">x</font> being    <a href="hidden.html#M1" title="HIDDEN:mode.1">object</a> <span class="kw"> such that </span><br/><a NAME="E5:73_1_1"/><span class="lab"><font color="Green" title="E58">A8</font></span>: 
<font color="Maroon" title="c8">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c9">q1</font> <a href="finseq_1.html#K7" title="FINSEQ_1:func.7">^</a> <span class="p1"><a href="finseq_1.html#K9" title="FINSEQ_1:func.9">&lt;*</a><span class="default"><font color="Maroon" title="c10">x</font></span><a href="finseq_1.html#K9" title="FINSEQ_1:func.9">*&gt;</a></span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:73_1_1"><span class="lab"><font color="Green" title="E57">A7</font></span></a>, <a class="ref" href="finseq_2.html#T18" onmouseover="rs('finseq_2/T18')" onmouseout="rh()">FINSEQ_2:18</a></span>;<br/><a NAME="E6:73_1_1"/><span class="lab"><font color="Green" title="E59">A9</font></span>: 
<font color="Maroon" title="c6">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c9">q1</font></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:73_1_1"><span class="lab"><font color="Green" title="E57">A7</font></span></a>, <a class="txt" href="#E5:73_1_1"><span class="lab"><font color="Green" title="E58">A8</font></span></a>, <a class="ref" href="finseq_2.html#T16" onmouseover="rs('finseq_2/T16')" onmouseout="rh()">FINSEQ_2:16</a></span>;<br/><span class="kw">consider </span><font color="Maroon" title="c11">p1</font>, <font color="Maroon" title="c12">p2</font> being   <a href="finseq_1.html#NM1" title="FINSEQ_1:NM.1">FinSequence</a><span class="kw"> such that </span><br/><a NAME="E8:73_1_1"/><span class="lab"><font color="Green" title="E60">A10</font></span>: 
<font color="Maroon" title="c7">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c11">p1</font> <a href="finseq_1.html#K7" title="FINSEQ_1:func.7">^</a> <span class="p2"><a href="finseq_1.html#K9" title="FINSEQ_1:func.9">&lt;*</a><span class="default"><font color="Maroon" title="c10">x</font></span><a href="finseq_1.html#K9" title="FINSEQ_1:func.9">*&gt;</a></span></span>)</span> <a href="finseq_1.html#K7" title="FINSEQ_1:func.7">^</a> <font color="Maroon" title="c12">p2</font>
 <span class="kw">and </span><br/><a NAME="E9:73_1_1"/><span class="lab"><font color="Green" title="E61">A11</font></span>: 
 <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <font color="Maroon" title="c9">q1</font> <a href="tarski.html#R1" title="TARSKI:pred.1">c=</a>  <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <span class="p1">(<span class="default"><font color="Maroon" title="c11">p1</font> <a href="finseq_1.html#K7" title="FINSEQ_1:func.7">^</a> <font color="Maroon" title="c12">p2</font></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:73_1_1"><span class="lab"><font color="Green" title="E55">A5</font></span></a>, <a class="txt" href="#E2:73_1_1"><span class="lab"><font color="Green" title="E56">A6</font></span></a>, <a class="txt" href="#E5:73_1_1"><span class="lab"><font color="Green" title="E58">A8</font></span></a>, <a class="ref" href="graph_5.html#T9" target="_self" onmouseover="rs('graph_5/T9')" onmouseout="rh()">Th7</a></span>;<br/><span class="kw">reconsider </span><font color="Maroon" title="c13">q1</font> = <font color="Maroon" title="c9">q1</font> as    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c2">G</font> <span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:73_1_1"><span class="lab"><font color="Green" title="E58">A8</font></span></a>, <a class="ref" href="finseq_1.html#T36" onmouseover="rs('finseq_1/T36')" onmouseout="rh()">FINSEQ_1:36</a></span>;<br/><a NAME="E11:73_1_1"/><span class="lab"><font color="Green" title="E62">A12</font></span>: 
<font color="Maroon" title="c11">p1</font> <a href="finseq_1.html#K7" title="FINSEQ_1:func.7">^</a> <span class="p1"><a href="finseq_1.html#K9" title="FINSEQ_1:func.9">&lt;*</a><span class="default"><font color="Maroon" title="c10">x</font></span><a href="finseq_1.html#K9" title="FINSEQ_1:func.9">*&gt;</a></span> is    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c2">G</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E8:73_1_1"><span class="lab"><font color="Green" title="E60">A10</font></span></a>, <a class="ref" href="finseq_1.html#T36" onmouseover="rs('finseq_1/T36')" onmouseout="rh()">FINSEQ_1:36</a></span>;<br/><span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c14">y</font> = <span class="p1"><a href="finseq_1.html#K9" title="FINSEQ_1:func.9">&lt;*</a><span class="default"><font color="Maroon" title="c10">x</font></span><a href="finseq_1.html#K9" title="FINSEQ_1:func.9">*&gt;</a></span> as    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c2">G</font> <span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_1.html#T36" onmouseover="rs('finseq_1/T36')" onmouseout="rh()">FINSEQ_1:36</a></span>;<br/><span class="kw">reconsider </span><font color="Maroon" title="c15">p2</font> = <font color="Maroon" title="c12">p2</font> as    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c2">G</font> <span class="kw">by</span> <span class="lab"><a class="txt" href="#E8:73_1_1"><span class="lab"><font color="Green" title="E60">A10</font></span></a>, <a class="ref" href="finseq_1.html#T36" onmouseover="rs('finseq_1/T36')" onmouseout="rh()">FINSEQ_1:36</a></span>;<br/><span class="kw">reconsider </span><font color="Maroon" title="c16">p1</font> = <font color="Maroon" title="c11">p1</font> as    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c2">G</font> <span class="kw">by</span> <span class="lab"><a class="txt" href="#E11:73_1_1"><span class="lab"><font color="Green" title="E62">A12</font></span></a>, <a class="ref" href="finseq_1.html#T36" onmouseover="rs('finseq_1/T36')" onmouseout="rh()">FINSEQ_1:36</a></span>;<br/><a NAME="E15:73_1_1"/>
<font color="Maroon" title="c13">q1</font> is  <a href="funct_1.html#V2" title="FUNCT_1:attr.2">one-to-one</a> 
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:73_1_1"><span class="lab"><font color="Green" title="E55">A5</font></span></a>, <a class="txt" href="#E5:73_1_1"><span class="lab"><font color="Green" title="E58">A8</font></span></a>, <a class="ref" href="finseq_3.html#T91" onmouseover="rs('finseq_3/T91')" onmouseout="rh()">FINSEQ_3:91</a></span>;<br/><a NAME="E16:73_1_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E63">A13</font></span>: 
 <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c13">q1</font>,<font color="Maroon" title="c1">W</font>) <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<span class="p1">(<span class="default"><font color="Maroon" title="c16">p1</font> <a href="finseq_1.html#K8" title="FINSEQ_1:func.8">^</a> <font color="Maroon" title="c15">p2</font></span>)</span>,<font color="Maroon" title="c1">W</font>)
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:73_1"><span class="lab"><font color="Green" title="E54">A4</font></span></a>, <a class="txt" href="#E9:73_1_1"><span class="lab"><font color="Green" title="E61">A11</font></span></a>, <a class="txt" href="#E6:73_1_1"><span class="lab"><font color="Green" title="E59">A9</font></span></a></span>;<br/><a NAME="E17:73_1_1"/><span class="lab"><font color="Green" title="E64">A14</font></span>: 
 <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c8">q</font>,<font color="Maroon" title="c1">W</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c13">q1</font>,<font color="Maroon" title="c1">W</font>)</span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c14">y</font>,<font color="Maroon" title="c1">W</font>)</span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:73"><span class="lab"><font color="Green" title="E52">A2</font></span></a>, <a class="txt" href="#E5:73_1_1"><span class="lab"><font color="Green" title="E58">A8</font></span></a>, <a class="ref" href="graph_5.html#T46" target="_self" onmouseover="rs('graph_5/T46')" onmouseout="rh()">Th44</a>, <a class="ref" href="graph_5.html#T54" target="_self" onmouseover="rs('graph_5/T54')" onmouseout="rh()">Th52</a></span>;<br/> <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c7">p</font>,<font color="Maroon" title="c1">W</font>) = 
<span class="p1">(<span class="default"><a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<span class="p2">(<span class="default"><font color="Maroon" title="c16">p1</font> <a href="finseq_1.html#K8" title="FINSEQ_1:func.8">^</a> <font color="Maroon" title="c14">y</font></span>)</span>,<font color="Maroon" title="c1">W</font>)</span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c15">p2</font>,<font color="Maroon" title="c1">W</font>)</span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:73"><span class="lab"><font color="Green" title="E52">A2</font></span></a>, <a class="txt" href="#E8:73_1_1"><span class="lab"><font color="Green" title="E60">A10</font></span></a>, <a class="ref" href="graph_5.html#T46" target="_self" onmouseover="rs('graph_5/T46')" onmouseout="rh()">Th44</a>, <a class="ref" href="graph_5.html#T54" target="_self" onmouseover="rs('graph_5/T54')" onmouseout="rh()">Th52</a></span>
<br/>.= 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c16">p1</font>,<font color="Maroon" title="c1">W</font>)</span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c14">y</font>,<font color="Maroon" title="c1">W</font>)</span>)</span></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c15">p2</font>,<font color="Maroon" title="c1">W</font>)</span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:73"><span class="lab"><font color="Green" title="E52">A2</font></span></a>, <a class="ref" href="graph_5.html#T46" target="_self" onmouseover="rs('graph_5/T46')" onmouseout="rh()">Th44</a>, <a class="ref" href="graph_5.html#T54" target="_self" onmouseover="rs('graph_5/T54')" onmouseout="rh()">Th52</a></span>
<br/>.= 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c16">p1</font>,<font color="Maroon" title="c1">W</font>)</span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c15">p2</font>,<font color="Maroon" title="c1">W</font>)</span>)</span></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c14">y</font>,<font color="Maroon" title="c1">W</font>)</span>)</span>

<br/>.= 
<span class="p1">(<span class="default"><a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<span class="p2">(<span class="default"><font color="Maroon" title="c16">p1</font> <a href="finseq_1.html#K8" title="FINSEQ_1:func.8">^</a> <font color="Maroon" title="c15">p2</font></span>)</span>,<font color="Maroon" title="c1">W</font>)</span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c14">y</font>,<font color="Maroon" title="c1">W</font>)</span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:73"><span class="lab"><font color="Green" title="E52">A2</font></span></a>, <a class="ref" href="graph_5.html#T46" target="_self" onmouseover="rs('graph_5/T46')" onmouseout="rh()">Th44</a>, <a class="ref" href="graph_5.html#T54" target="_self" onmouseover="rs('graph_5/T54')" onmouseout="rh()">Th52</a></span>
;<br/><span class="kw">hence </span><a NAME="E19:73_1_1"/>
 <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c8">q</font>,<font color="Maroon" title="c1">W</font>) <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c7">p</font>,<font color="Maroon" title="c1">W</font>)
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E17:73_1_1"><span class="lab"><font color="Green" title="E64">A14</font></span></a>, <a class="txt" href="#E16:73_1_1"><span class="lab"><font color="Green" title="E63">A13</font></span></a>, <a class="ref" href="xreal_1.html#T7" onmouseover="rs('xreal_1/T7')" onmouseout="rh()">XREAL_1:7</a></span>; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> verum</span><br/></div><span class="kw">end;</span></div>
<span class="kw">hence </span><a NAME="E3:73_1"/>
<font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c6">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1]
 ; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> verum</span><br/>


</div><span class="kw">end;</span></div>
<a NAME="E4:73"/><span class="lab"><font color="Green" title="E54">A15</font></span>: 
<font color="Maroon">S<sub>1</sub></font>[ <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> ]
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="73_2"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c6">p</font>, <font color="Maroon" title="c7">q</font> be    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c2">G</font>; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> ( <font color="Maroon" title="c7">q</font> is  <a href="funct_1.html#V2" title="FUNCT_1:attr.2">one-to-one</a>  &amp;  <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <font color="Maroon" title="c7">q</font> <a href="tarski.html#R1" title="TARSKI:pred.1">c=</a>  <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <font color="Maroon" title="c6">p</font> &amp;  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c7">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  implies  <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c7">q</font>,<font color="Maroon" title="c1">W</font>) <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c6">p</font>,<font color="Maroon" title="c1">W</font>) )</span><br/>

<span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E1:73_2"/>
<font color="Maroon" title="c7">q</font> is  <a href="funct_1.html#V2" title="FUNCT_1:attr.2">one-to-one</a> 
 <span class="kw">and </span><br/><a NAME="E2:73_2"/>
 <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <font color="Maroon" title="c7">q</font> <a href="tarski.html#R1" title="TARSKI:pred.1">c=</a>  <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <font color="Maroon" title="c6">p</font>
 <span class="kw">and </span><br/><a NAME="E3:73_2"/><span class="lab"><font color="Green" title="E55">A16</font></span>: 
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c7">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> 
 ; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide">  <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c7">q</font>,<font color="Maroon" title="c1">W</font>) <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c6">p</font>,<font color="Maroon" title="c1">W</font>)</span><br/>

<a NAME="E4:73_2"/>
<font color="Maroon" title="c7">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xboole_0.html#K1" title="XBOOLE_0:func.1">{}</a> 
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:73_2"><span class="lab"><font color="Green" title="E55">A16</font></span></a></span>;<br/>
<a NAME="E5:73_2"/><span class="kw">then </span>
 <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c7">q</font>,<font color="Maroon" title="c1">W</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> 
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:73"><span class="lab"><font color="Green" title="E52">A2</font></span></a>, <a class="ref" href="graph_5.html#T46" target="_self" onmouseover="rs('graph_5/T46')" onmouseout="rh()">Th44</a>, <a class="ref" href="graph_5.html#T51" target="_self" onmouseover="rs('graph_5/T51')" onmouseout="rh()">Th49</a></span>;<br/>
<span class="kw">hence </span><a NAME="E6:73_2"/>
 <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c7">q</font>,<font color="Maroon" title="c1">W</font>) <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c6">p</font>,<font color="Maroon" title="c1">W</font>)
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:73"><span class="lab"><font color="Green" title="E52">A2</font></span></a>, <a class="ref" href="graph_5.html#T50" target="_self" onmouseover="rs('graph_5/T50')" onmouseout="rh()">Th48</a></span>; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> verum</span><br/>


</div><span class="kw">end;</span></div>
<a NAME="E5:73"/>
 for <font color="Olive" title="b1">k</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a> holds  <font color="Maroon">S<sub>1</sub></font>[<font color="Olive" title="b1">k</font>]
 
<span class="kw">from</span> <span class="lab"><a class="ref" href="nat_1.html#S2" onmouseover="rs('nat_1/S2')" onmouseout="rh()">NAT_1:sch 2</a>(<a class="txt" href="#E4:73"><span class="lab"><font color="Green" title="E54">A15</font></span></a>, <a class="txt" href="#E3:73"><span class="lab"><font color="Green" title="E53">A3</font></span></a>);<br/></span>
<a NAME="E6:73"/><span class="kw">then </span>
<font color="Maroon">S<sub>1</sub></font>[ <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c4">qe</font>]
 
;<br/>
<span class="kw">hence </span><a NAME="E7:73"/>
 <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c4">qe</font>,<font color="Maroon" title="c1">W</font>) <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="graph_5.html#K10" title="GRAPH_5:func.10">cost</a> (<font color="Maroon" title="c3">pe</font>,<font color="Maroon" title="c1">W</font>)
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:73"><span class="lab"><font color="Green" title="E51">A1</font></span></a></span>; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> verum</span><br/>


</div>
