Step * 1 1 1 1 1 3 2 of Lemma lg-acyclic-well-founded


1. [T] Type
2. : ℤ@i
3. [%1] 0 < n@i
4. ∀g:LabeledGraph(T). (lg-size(g) <  lg-acyclic(g)  SWellFounded(lg-edge(g;a;b)))@i
5. LabeledGraph(T)@i
6. lg-size(g) < n@i
7. lg-acyclic(g)@i
8. 0 < lg-size(g)
9. : ℕlg-size(g)
10. ∀[j:ℕlg-size(g)]. lg-edge(g;j;i))
11. : ℕlg-size(lg-remove(g;i)) ⟶ ℕ
12. ∀a,b:ℕlg-size(lg-remove(g;i)).  (lg-edge(lg-remove(g;i);a;b)  a < b)
⊢ ∀a,b:ℕlg-size(g).
    (lg-edge(g;a;b)
     x.if x <then (f x) if (x =z i) then else (f (x 1)) fi a < x.if x <then (f x) 1
                                                                                         if (x =z i) then 0
                                                                                         else (f (x 1)) 1
                                                                                         fi 
                                                                                     b)
BY
(Reduce THEN Auto THEN AutoBoolCase ⌜(a =z i)⌝⋅}

1
1. Type
2. : ℤ@i
3. 0 < n@i
4. ∀g:LabeledGraph(T). (lg-size(g) <  lg-acyclic(g)  SWellFounded(lg-edge(g;a;b)))@i
5. LabeledGraph(T)@i
6. lg-size(g) < n@i
7. lg-acyclic(g)@i
8. 0 < lg-size(g)
9. : ℕlg-size(g)
10. ∀[j:ℕlg-size(g)]. lg-edge(g;j;i))
11. : ℕlg-size(lg-remove(g;i)) ⟶ ℕ
12. ∀a,b:ℕlg-size(lg-remove(g;i)).  (lg-edge(lg-remove(g;i);a;b)  a < b)
13. : ℕlg-size(g)@i
14. : ℕlg-size(g)@i
15. lg-edge(g;a;b)@i
16. i ∈ ℤ
⊢ if a <then (f a) else fi  < if b <then (f b) 1
if (b =z i) then 0
else (f (b 1)) 1
fi 

2
1. Type
2. : ℤ@i
3. 0 < n@i
4. ∀g:LabeledGraph(T). (lg-size(g) <  lg-acyclic(g)  SWellFounded(lg-edge(g;a;b)))@i
5. LabeledGraph(T)@i
6. lg-size(g) < n@i
7. lg-acyclic(g)@i
8. 0 < lg-size(g)
9. : ℕlg-size(g)
10. ∀[j:ℕlg-size(g)]. lg-edge(g;j;i))
11. : ℕlg-size(lg-remove(g;i)) ⟶ ℕ
12. ∀a,b:ℕlg-size(lg-remove(g;i)).  (lg-edge(lg-remove(g;i);a;b)  a < b)
13. : ℕlg-size(g)@i
14. a ≠ i
15. : ℕlg-size(g)@i
16. lg-edge(g;a;b)@i
⊢ if a <then (f a) else (f (a 1)) fi  < if b <then (f b) 1
if (b =z i) then 0
else (f (b 1)) 1
fi 


Latex:


Latex:

1.  [T]  :  Type
2.  n  :  \mBbbZ{}@i
3.  [\%1]  :  0  <  n@i
4.  \mforall{}g:LabeledGraph(T).  (lg-size(g)  <  n  -  1  {}\mRightarrow{}  lg-acyclic(g)  {}\mRightarrow{}  SWellFounded(lg-edge(g;a;b)))@i
5.  g  :  LabeledGraph(T)@i
6.  lg-size(g)  <  n@i
7.  lg-acyclic(g)@i
8.  0  <  lg-size(g)
9.  i  :  \mBbbN{}lg-size(g)
10.  \mforall{}[j:\mBbbN{}lg-size(g)].  (\mneg{}lg-edge(g;j;i))
11.  f  :  \mBbbN{}lg-size(lg-remove(g;i))  {}\mrightarrow{}  \mBbbN{}
12.  \mforall{}a,b:\mBbbN{}lg-size(lg-remove(g;i)).    (lg-edge(lg-remove(g;i);a;b)  {}\mRightarrow{}  f  a  <  f  b)
\mvdash{}  \mforall{}a,b:\mBbbN{}lg-size(g).
        (lg-edge(g;a;b)
        {}\mRightarrow{}  (\mlambda{}x.if  x  <z  i  then  (f  x)  +  1  if  (x  =\msubz{}  i)  then  0  else  (f  (x  -  1))  +  1  fi  )  a  <  (\mlambda{}x.if  x  <z  i
                                                                                                                                                                                      then  (f 
                                                                                                                                                                                                  x)
                                                                                                                                                                                                +  1
                                                                                                                                                                                  if  (x  =\msubz{}  i)
                                                                                                                                                                                      then  0
                                                                                                                                                                                  else  (f 
                                                                                                                                                                                              (x 
                                                                                                                                                                                              -  1))
                                                                                                                                                                                            +  1
                                                                                                                                                                                  fi  ) 
                                                                                                                                                                          b)


By


Latex:
(Reduce  0  THEN  Auto  THEN  AutoBoolCase  \mkleeneopen{}(a  =\msubz{}  i)\mkleeneclose{}\mcdot{})




Home Index