Step * of Lemma simple-swap-test2_wf

No Annotations
[n:ℕ]. ∀[AType:array{i:l}(ℤ;n)]. ∀[prog:A-map Unit]. ∀[i,j,k:ℕn].
  (simple-swap-test2(array-model(AType);prog;i;j;k) ∈ A-map 𝔹)
BY
ProveWfLemma }

1
1. : ℕ
2. AType array{i:l}(ℤ;n)
3. prog A-map Unit
4. : ℕn
5. : ℕn
6. : ℕn
⊢ A-bind(array-model(AType)) (A-coerce(array-model(AType)) (A-fetch'(array-model(AType)) i)) 
  in@i.(A-bind(array-model(AType)) (A-coerce(array-model(AType)) (A-fetch'(array-model(AType)) j)) 
          in@j.(A-bind(array-model(AType)) (A-coerce(array-model(AType)) (A-fetch'(array-model(AType)) k)) 
                  in@k.(A-bind(array-model(AType)) prog 
                          x.(A-bind(array-model(AType)) 
                               (A-coerce(array-model(AType)) (A-fetch'(array-model(AType)) i)) 
                               out@i.(A-bind(array-model(AType)) 
                                        (A-coerce(array-model(AType)) (A-fetch'(array-model(AType)) j)) 
                                        out@j.(A-bind(array-model(AType)) 
                                                 (A-coerce(array-model(AType)) (A-fetch'(array-model(AType)) k)) 
                                                 out@k.(A-return(array-model(AType)) 
                                                          (((out@i =z in@j) ∧b (out@j =z in@i))
                                                          ∧b ((¬b(k =z i))
                                                             ∧b b(k =z j)) b (out@k =z in@k)))))))))))))))))
  ∈ A-map 𝔹


Latex:


Latex:
No  Annotations
\mforall{}[n:\mBbbN{}].  \mforall{}[AType:array\{i:l\}(\mBbbZ{};n)].  \mforall{}[prog:A-map  Unit].  \mforall{}[i,j,k:\mBbbN{}n].
    (simple-swap-test2(array-model(AType);prog;i;j;k)  \mmember{}  A-map  \mBbbB{})


By


Latex:
ProveWfLemma




Home Index