Step * 1 1 2 1 of Lemma first_index_cons

.....truecase..... 
1. Type
2. List
3. T
4. T ⟶ 𝔹
5. search(||L|| 1;λi.P[[a L][i]])
if P[a] then 1
  if 0 <search(||L||;λi.P[[a L][i 1]]) then search(||L||;λi.P[[a L][i 1]]) 1
  else 0
  fi 
∈ ℤ
6. ↑P[a]
⊢ 1 ∈ ℕ(||L|| 1) 1
BY
(Thin (-2) THEN Auto) }


Latex:


Latex:
.....truecase..... 
1.  T  :  Type
2.  L  :  T  List
3.  a  :  T
4.  P  :  T  {}\mrightarrow{}  \mBbbB{}
5.  search(||L||  +  1;\mlambda{}i.P[[a  /  L][i]])
=  if  P[a]  then  1
    if  0  <z  search(||L||;\mlambda{}i.P[[a  /  L][i  +  1]])  then  search(||L||;\mlambda{}i.P[[a  /  L][i  +  1]])  +  1
    else  0
    fi 
6.  \muparrow{}P[a]
\mvdash{}  1  \mmember{}  \mBbbN{}(||L||  +  1)  +  1


By


Latex:
(Thin  (-2)  THEN  Auto)




Home Index