Step * of Lemma find-maximal-consecutive_wf

[T:Type]. ∀[g:T ⟶ ℤ]. ∀[L:T List+].  (find-maximal-consecutive(g;L) ∈ {1..||L|| 1-})
BY
(Intros THEN Unhide THEN -1 THEN Unfold `find-maximal-consecutive` 0) }

1
1. Type
2. T ⟶ ℤ
3. List
4. ||L|| ≥ 
⊢ fst(accumulate (with value ix and list item y):
       eval in
       let i,x ix 
       in if 1=z  then <1, z>  else ix
      over list:
        tl(L)
      with starting value:
       <1, hd(L)>)) ∈ {1..||L|| 1-}


Latex:


Latex:
\mforall{}[T:Type].  \mforall{}[g:T  {}\mrightarrow{}  \mBbbZ{}].  \mforall{}[L:T  List\msupplus{}].    (find-maximal-consecutive(g;L)  \mmember{}  \{1..||L||  +  1\msupminus{}\})


By


Latex:
(Intros  THEN  Unhide  THEN  D  -1  THEN  Unfold  `find-maximal-consecutive`  0)




Home Index