Step * of Lemma find_transitions_wf

[A:Type]. ∀[f:A ⟶ A ⟶ 𝔹]. ∀[L:A List].  find_transitions(f;L) ∈ Unit + ℤ × (Unit + ℤsupposing 1 < ||L||
BY
(Auto
   THEN DVar `L'
   THEN Reduce -1
   THEN Auto
   THEN RepUR ``find_transitions`` 0
   THEN (CallByValueReduce 0⋅ THENA Auto)
   THEN (GenConcl ⌜(inl ⋅z ∈ (Unit + ℤ)⌝ ⋅ THENA Auto)) }

1
1. Type
2. A ⟶ A ⟶ 𝔹
3. A
4. List
5. 1 < ||v|| 1
6. Unit + ℤ
7. (inl ⋅z ∈ (Unit + ℤ)
⊢ snd(snd(list_accum'(λd,l. let i,b,p,q 
                            in if isr(p) ∧b isr(q)
                               then d
                               else let a,as 
                                    in eval i' in
                                       if null(as)
                                       then eval b' in
                                            if b ∧b bb')
                                              then eval q' if isl(q) then inr 0  else fi  in
                                                   <i', b', inr q'>
                                            if b' ∧b bb)
                                              then eval p' if isl(p) then inr 0  else fi  in
                                                   <i', b', p', inr i >
                                            if isr(p) then <i', b', p, inr 0 >
                                            if isr(q) then <i', b', inr q>
                                            else <i', b', p, q>
                                            fi 
                                       else eval b' hd(as) in
                                            if b ∧b bb') then <i', b', inr q>
                                            if b' ∧b bb) then <i', b', p, inr i >
                                            else <i', b', p, q>
                                            fi 
                                       fi 
                               fi   ;<1, hd(v), z, z>;v))) ∈ Unit + ℤ × (Unit + ℤ)


Latex:


Latex:
\mforall{}[A:Type].  \mforall{}[f:A  {}\mrightarrow{}  A  {}\mrightarrow{}  \mBbbB{}].  \mforall{}[L:A  List].
    find\_transitions(f;L)  \mmember{}  Unit  +  \mBbbZ{}  \mtimes{}  (Unit  +  \mBbbZ{})  supposing  1  <  ||L||


By


Latex:
(Auto
  THEN  DVar  `L'
  THEN  Reduce  -1
  THEN  Auto
  THEN  RepUR  ``find\_transitions``  0
  THEN  (CallByValueReduce  0\mcdot{}  THENA  Auto)
  THEN  (GenConcl  \mkleeneopen{}(inl  \mcdot{})  =  z\mkleeneclose{}  \mcdot{}  THENA  Auto))




Home Index