Step * of Lemma Memory-class-progress

[Info,B,A:Type].
  ∀R:B ⟶ B ⟶ ℙ. ∀P:A ⟶ B ⟶ ℙ. ∀f:A ⟶ B ⟶ B. ∀init:Id ⟶ bag(B). ∀X:EClass(A). ∀es:EO+(Info). ∀e1,e2:E. ∀v1,v2:B.
    ((∀a:A. ∀s:B.  Dec(P[a;s]))
     Trans(B;x,y.R[x;y])
     (∀s1,s2:B.  SqStable(R[s1;s2]))
     (∀a:A. ∀e:E. ∀s:B.
          (e1 ≤loc 
           (e <loc e2)
           a ∈ X(e)
           s ∈ Memory-class(f;init;X)(e)
           ((P[a;s]  R[s;f s]) ∧ ((¬P[a;s])  (s (f s) ∈ B)))))
     single-valued-classrel(es;X;A)
     single-valued-bag(init loc(e1);B)
     v1 ∈ Memory-class(f;init;X)(e1)
     v2 ∈ Memory-class(f;init;X)(e2)
     (e1 <loc e2)
     (∃e:E. ∃a:A. ∃s:B. (e1 ≤loc e  ∧ (e <loc e2) ∧ s ∈ Memory-class(f;init;X)(e) ∧ a ∈ X(e) ∧ P[a;s]))
     R[v1;v2])
BY
((Auto THEN Try ((Unfold `label` THEN Auto)))
   THEN (RWO "Memory-classrel" (-4) THENA Auto)
   THEN (RWO "Memory-classrel" (-3) THENA Auto)
   THEN (-4)
   THEN (-3)
   THEN Auto) }

1
1. [Info] Type
2. [B] Type
3. [A] Type
4. B ⟶ B ⟶ ℙ@i'
5. A ⟶ B ⟶ ℙ@i'
6. A ⟶ B ⟶ B@i
7. init Id ⟶ bag(B)@i
8. EClass(A)@i'
9. es EO+(Info)@i'
10. e1 E@i
11. e2 E@i
12. v1 B@i
13. v2 B@i
14. ∀a:A. ∀s:B.  Dec(P[a;s])@i
15. Trans(B;x,y.R[x;y])@i
16. ∀s1,s2:B.  SqStable(R[s1;s2])@i
17. ∀a:A. ∀e:E. ∀s:B.
      (e1 ≤loc 
       (e <loc e2)
       a ∈ X(e)
       s ∈ Memory-class(f;init;X)(e)
       ((P[a;s]  R[s;f s]) ∧ ((¬P[a;s])  (s (f s) ∈ B))))@i
18. single-valued-classrel(es;X;A)@i
19. single-valued-bag(init loc(e1);B)@i
20. ↑first(e1)
21. v1 ↓∈ init loc(e1)
22. ¬↑first(e2)
23. iterated_classrel(es;B;A;f;init;X;pred(e2);v2)
24. (e1 <loc e2)@i
25. ∃e:E. ∃a:A. ∃s:B. (e1 ≤loc e  ∧ (e <loc e2) ∧ s ∈ Memory-class(f;init;X)(e) ∧ a ∈ X(e) ∧ P[a;s])@i
⊢ R[v1;v2]

2
1. [Info] Type
2. [B] Type
3. [A] Type
4. B ⟶ B ⟶ ℙ@i'
5. A ⟶ B ⟶ ℙ@i'
6. A ⟶ B ⟶ B@i
7. init Id ⟶ bag(B)@i
8. EClass(A)@i'
9. es EO+(Info)@i'
10. e1 E@i
11. e2 E@i
12. v1 B@i
13. v2 B@i
14. ∀a:A. ∀s:B.  Dec(P[a;s])@i
15. Trans(B;x,y.R[x;y])@i
16. ∀s1,s2:B.  SqStable(R[s1;s2])@i
17. ∀a:A. ∀e:E. ∀s:B.
      (e1 ≤loc 
       (e <loc e2)
       a ∈ X(e)
       s ∈ Memory-class(f;init;X)(e)
       ((P[a;s]  R[s;f s]) ∧ ((¬P[a;s])  (s (f s) ∈ B))))@i
18. single-valued-classrel(es;X;A)@i
19. single-valued-bag(init loc(e1);B)@i
20. ¬↑first(e1)
21. iterated_classrel(es;B;A;f;init;X;pred(e1);v1)
22. ¬↑first(e2)
23. iterated_classrel(es;B;A;f;init;X;pred(e2);v2)
24. (e1 <loc e2)@i
25. ∃e:E. ∃a:A. ∃s:B. (e1 ≤loc e  ∧ (e <loc e2) ∧ s ∈ Memory-class(f;init;X)(e) ∧ a ∈ X(e) ∧ P[a;s])@i
⊢ R[v1;v2]


Latex:


Latex:
\mforall{}[Info,B,A:Type].
    \mforall{}R:B  {}\mrightarrow{}  B  {}\mrightarrow{}  \mBbbP{}.  \mforall{}P:A  {}\mrightarrow{}  B  {}\mrightarrow{}  \mBbbP{}.  \mforall{}f:A  {}\mrightarrow{}  B  {}\mrightarrow{}  B.  \mforall{}init:Id  {}\mrightarrow{}  bag(B).  \mforall{}X:EClass(A).  \mforall{}es:EO+(Info).
    \mforall{}e1,e2:E.  \mforall{}v1,v2:B.
        ((\mforall{}a:A.  \mforall{}s:B.    Dec(P[a;s]))
        {}\mRightarrow{}  Trans(B;x,y.R[x;y])
        {}\mRightarrow{}  (\mforall{}s1,s2:B.    SqStable(R[s1;s2]))
        {}\mRightarrow{}  (\mforall{}a:A.  \mforall{}e:E.  \mforall{}s:B.
                    (e1  \mleq{}loc  e 
                    {}\mRightarrow{}  (e  <loc  e2)
                    {}\mRightarrow{}  a  \mmember{}  X(e)
                    {}\mRightarrow{}  s  \mmember{}  Memory-class(f;init;X)(e)
                    {}\mRightarrow{}  ((P[a;s]  {}\mRightarrow{}  R[s;f  a  s])  \mwedge{}  ((\mneg{}P[a;s])  {}\mRightarrow{}  (s  =  (f  a  s))))))
        {}\mRightarrow{}  single-valued-classrel(es;X;A)
        {}\mRightarrow{}  single-valued-bag(init  loc(e1);B)
        {}\mRightarrow{}  v1  \mmember{}  Memory-class(f;init;X)(e1)
        {}\mRightarrow{}  v2  \mmember{}  Memory-class(f;init;X)(e2)
        {}\mRightarrow{}  (e1  <loc  e2)
        {}\mRightarrow{}  (\mexists{}e:E
                  \mexists{}a:A.  \mexists{}s:B.  (e1  \mleq{}loc  e    \mwedge{}  (e  <loc  e2)  \mwedge{}  s  \mmember{}  Memory-class(f;init;X)(e)  \mwedge{}  a  \mmember{}  X(e)  \mwedge{}  P[a;s]))
        {}\mRightarrow{}  R[v1;v2])


By


Latex:
((Auto  THEN  Try  ((Unfold  `label`  0  THEN  Auto)))
  THEN  (RWO  "Memory-classrel"  (-4)  THENA  Auto)
  THEN  (RWO  "Memory-classrel"  (-3)  THENA  Auto)
  THEN  D  (-4)
  THEN  D  (-3)
  THEN  Auto)




Home Index