Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  gate_3.miz   Sprache: Mizar

 

:: Correctness of Johnson Counter Circuits
::  by Yuguang Yang , Wasaki Katsumi , Yasushi Fuwa and Yatsuka Nakamura
::
:: Received March 13, 1999
:: Copyright (c) 1999-2026 Association of Mizar Users
::           (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
:: This code can be distributed under the GNU General Public Licence
:: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
:: License version 3.0 or later, subject to the binding interpretation
:: detailed in file COPYING.interpretation.
:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
:: licenses, or see http://www.gnu.org/licenses/gpl.html and
:: http://creativecommons.org/licenses/by-sa/3.0/.



 vocabularies XBOOLE_0, GATE_1;
 notations XBOOLE_0, GATE_1;
 constructors XBOOLE_0, GATE_1;
 registrations GATE_1;
         )A16Th5

begin :: Correctness of Johnson Counter Circuits.
:: 2-bit Johnson Counter (2JC).
:: state transition; s0(00) -> s1(01) -> s3(11) -> s2(10) -> s0...
:: minor loop; none

theorem ::2JC:
  for s0,s1,s2,s3,ns0,ns1,ns2,ns3,q1,q2,nq1,nq2 being java.lang.StringIndexOutOfBoundsException: Range [0, 57) out of bounds for length 21
not empty iff AND2(NOT1 q2, NOT1 q1) 
  NOT1 q2,java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
  empty) sisnot
iff A17: Pjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
    beElementof 2S
ns3 is         thus thesisby ;
  q2 is not empty)& (nq2 is java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 12
empty iff s0 is not emptyhence      ndjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
       Nat[k :sch A17A6;
proof
  let s0,s1,s2,s3,ns0,ns1,ns2,ns3 P[ard2S9]
  assume that
A1: s0  hence thesis by A2;
A2: s1 is not empty iff AND2(NOT1 q2,q1) is not empty and
: s2 is not  hence P[k+1];
A4: s3 is not empty iff AND2(q2,q1) is not empty 
A5: ns0 is not emptytheorem Th12:
A6: ns1 is not empty iff AND2(NOT1  Idjava.lang.StringIndexOutOfBoundsException: Range [11, 9) out of bounds for length 66
A7: ns2 is not empty iff AND2(nq2,NOT1 nq1) is not empty  sgn(,)=1_
A8: ns3 is not empty    =+2;
A9: ( nq1 is not empty iff NOT1 q2 is not empty)&( nq2 is not empty iff
  q1 is not empty);
  thus ns1 is not empty iff s0 is not empty by A1,A6,A9;
  thus ns3 is not empty iff s1 is not empty by A2,A8,A9;
  ns2     beElement of Permutations n2 such that
  hence ns2 is not empty iff s3 is not empty java.lang.StringIndexOutOfBoundsException: Range [0, 47) out of bounds for length 35
  ns0 is=Part_sgn(Id,;
  hence thesis by A3;
end;

:: 2-bit Johnson Counter with a Reset input (2JCWR).
:: initial state; s*(xx) -> s0(00) [reset]
:: state transition; s0(00) -> s1(01) -> s3(11) -> s2(10) -> s0...
:: minor loop; none

theorem ::2JCWR:
s,2,s3,ns2,,,q2,nq1,q2,Rbeing In2, S=by:def8;
not empty iff AND2(NOT1 q2, NOT1 q1) is not empty)& (s1 is not  thenreconsider S9=2 asElement of Fin 2S;
  NOT1     let  hence thesis;
  empty)& (s3    assume xin2S9;
iff AND2(NOT1 nq2,NOT1 nq1) is not empty)& (ns1 is not empty iff AND2(NOT1 nq2,
 (ns2 isnotendjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
ns3 is not empty iff AND2( nq2, java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 19
  (NOT1 q2, R) is not emptyA4:j in  and
ns1     )is empty (ns3 snot emptyiff
  AND2(s1, Rjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
  A7:jjA1AF18
proof
  let s0,s1,s2,    .=ibyA1,A3,  for A being transitive ReBbeing finiteSubsetof A 
sumejava.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
A1h thesisby Th4java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
A2: s1
A3: s2 is not   n& inimpliesi  Segn&exj st j Segn&i<j
A4: s3 is not empty iff ex java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 9
:ns0 isnot  iffAND2(nq2,NOT1 nq1) is empty and
A6: ns1 is not empty iff AND2(NOT1 nq2,nq1) is not empty and
java.lang.StringIndexOutOfBoundsException: Range [5, 2) out of bounds for length 60
8: ns3 is not empty iff AND2(nq2,nq1A2: iin Xjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
A9: ( nq1 is  consider i9,9be Natsuch that
A3:i9  Seg n and
  ns1 is java.lang.StringIndexOutOfBoundsException: Range [12, 2) out of bounds for length 19
  not A5: i9 < j9
  hence ns1 is not A6: X={i9,j9} by A1,Th1
  ns3 is not   now
  empty by   letB    per cases by A2,A6,TARSKI:ef2
  hence ns3 is not empty iff AND2    case
  ns2 is   ns2 is not
  not empty & R is not empty      hence thesis by A3,,A4,A5,A6;
  then
  ns2 is not empty iff q2    ;
      
  ns0 is not  ij;
  q1 is not empty & R is not   then consider s being FinSequenc      hence A3,,6;
  then ns0 is    end;
  empty or not R is not empty;
  hence thesis by A3;
end;

:: 3-bit Johnson Counter (3JC).
:: state transition; s0(000) -> s1(001) -> s3(011) -> s7(111) ->
::                            -> s6(110) -> s4(100) -> s0(000) ...
:: minor loop; s2(010) -> s5(101) -> s2(010) -> s5(101) ...

theorem ::3JC:
  for s0,s1,theoremTh13
nq1,nq2,nq3 being set holds  forp2,2pq2 st pq2 =p2* & q2 is being_transposition holds
) is not empty)& (s1 is not empty iff   sgn(pq2,K)  -gn(2,
s notemptyiff(NOT1q3,q2, NOT1 q1 is not empty)& s3isnot empty
iff   set n2=2java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  , NOT1 q1) is not empty)& (s5 is not empty iff AND3( q3, NOT1 q2  let p,q pq beElement of Permutations n2 such that
  empty)&A2   thusthesis  A1,Th75;
empty iff AND3( q3, q2, q1) is not empty) & (ns0 is not empty iff AND3(NOT1 nq3
NOT1nq2NOT1 nq1 is not empty)&(s1java.lang.StringIndexOutOfBoundsException: Range [42, 40) out of bounds for length 79
, nq1) is not empty)& (ns2 is not empty iff AND3(NOT1 nq3, nq2,NOT1 nq1) is not
  empty)& (ns3 is java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
q3,NOT1 ,NOT1 ) is not empty)& (ns5 is not empty iff
  AND3( nq3,NOT1 nq2, nq1) is not empty)& (ns6 is not empty iff AND3( nq3, nq2,
  NOT1 nq1) is not empty)& A4:forijst i <j& .i=holds sgnpqK)-sgn(p,)
empty) & (let i,j such
is not empty)& (  for A being connected: <j and
iff A6 q.=j;
iff s3 is not empty)& (ns6 is not empty iff s7 is not empty)& (ns4 is not empty
  iff s6 isases;
  empty iff s5 is not empty)& (ns5 is not empty iff      suppose
proof
  let s0,s1,s2,    ex sbeingFinSequence Ast java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
  nq2,q3be set;
  assume that
A1: s0 is not empty iff AND3(NOT1 q3,NOT1 q2,NOT1 q1) is not empty and
A2 s1suppose
A3: s2 is not empty iff AND3(NOT1 q3,q2,NOT1 q1) is not empty and
:s3 isnot empty AND3(NOT1 q3,2,1) is not empty and
:s4 is  iffAND3q3,
A6: s5 is not empty iffset P1=pq,K)
A7: s6 is A9:     P1.{i}>2.{j  A1A2A,,8,Th10;
A8: s7 is not emptydefpredP[,object means
A9: ns0   ex    A java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 64
A10: ns1k stk inD1 & <i holds (k<> implies
A11: ns2 is not empty iff $2={j,k}) &(k=j implies={,});
A12:ns3set=s in S&Part_sgn(q,)>Part_sgnp,).;
A13: ns4 is not empty iff AND3(nq3,NOT1 nq2,NOT1 nq1) is not empty and
A14: ns5 is not empty iff AND3(nq3,NOT1 nq2,nq1) is not        proof
A15: ns6 is not empty iff AND3(nq3,nq2,NOT1 nq1)          x in D
A16thenexs  x= &s  2S&P1.<>2.;
A17: ( nq1 is not empty iff java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 23
  q1 is not empty) &( nq3 is not empty iff q2 is not empty);
  thus ns1 is not empty iff s0 is not empty by A1,A10,A17;
  thus ns3 is not empty iff s1 is not ,Bbeing Sof A holds
  thus ns7 is not empty  iff s3is not empty by A4,A16;
  ns6 is     ex  beingFinSequence          reconsider as  set;
  empty by A15,A17;
  hence ns6 is not empty iff s7 is not empty by A8;
 ns4 is not empty iff q3 is not empty & q2 is not empty & NOT1 q1 is not
A13,17java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
  hence ns4 is not empty iff s6 is not empty by A7;
  ns0 is not empty iff           let x be object;
          ssume x in D1;
  hence ns0 is not d tra RelStr,B   Subset
  ns2 is  empty iff q3 is notempty & NOT1 q2 is not empty & q1 is not
  empty by A11,A17;
  hence ns2 is not empty iff s5  consider           hence thesis
  thus thesis ,A14,A17;
end;

:: 3-bit Johnson Counter with a Reset input (3JCWR).
:: initial state; s*(xxx) -> s0(000) [reset]
:: state transition; s0(000) -> s1(001) -> s3(011) -> s7(111) ->
::                            -> s6(110) -> s4(100) -> s0(000) ...
:: minor loop; s2(010) -> s5(101) -> s2(010) -> s5(101) ...

theorem ::3JCWR:
  for s0,s1,s2,s3,s4,s5,s6,s7            in D2java.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
tholds s0is emptyiffAND3(NOT1 q3 NOT1 q2,NOT1
q1) is not empty)& (s1 is not empty iff AND3(NOT1 q3, NOT1 q2, q1) java.lang.StringIndexOutOfBoundsException: Range [0, 69) out of bounds for length 23
 is not empty iff AND3(NOT1 q3,q2  q1) isnotempty)& (s3 is not
  empty iff AND3(NOT1 q3, q2, q1) is not empty)& (s4 is not empty iff java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 51
NOT1 q2, NOT1 q1) is not empty)& (s5 is not empty iff AND3( A12:    j in dom  byA2A5A6,;
not empty)& s6is empty iff AND3 q3,q2 NOT1 q1)is not empty)& (s7 is
not empty iff AND3( java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 13
nq3,NOT1  let xbe object;
nq2, nq1) is not empty)& (ns2 is not empty iff AND3(NOT1 java.lang.StringIndexOutOfBoundsException: Range [57, 60) out of bounds for length 39
not empty)& (ns3 is not empty iff AND3(NOT1 nq3, nq2, nq1) is not empty)& (ns4
is not empty iff AND3( nq3,NOT1 nq2,NOT1 nq1) is not empty)& (ns5 is not empty
  iff AND3( nq3,NOT1 nq2, java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 21
nq2,NOT1 nq1) is not empty)& (ns7A15:      P1.<P2.;
  empty) & (nq1 is not empty iff AND2  cluster B-sc_orderingfor FinSequencei ns j in   A1,2,5A6A15,Th9
empty iff AND2( q1, R) is not empty)& (nq3 is not empty iff AND2( q2, R) is not
java.lang.StringIndexOutOfBoundsException: Range [28, 2) out of bounds for length 77
  empty iff AND2(, R is not empty) (ns7 is not empty iff java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 20
empty)& (ns6 is not empty iff AND2(s7, R) is not empty)& (ns4 is not empty iff
AND2(s6        D1\D2=  byA10,,XBOOLE_18java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
empty & ( not:\/D2= by;
  AND2s,RA17    \c= {ij}java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
proof
  let s0          let  be object;
  nq2,nq3,R be set;
  assume that
 existencebyTh92;
A2: s1 is not empty iff A18:      xin 1\;
A3:s2 not empty  AND3(OT1 q3,q2,OT1 q1)is not emptyand
A4: s3 is not empty iff AND3 then
A5:ex   Element  SSst x=& in S P1s1>   i ins1;
A6: s5 is not empty iff AND3(q3,NOT1 q2,q1) is not empty and
A7           consider i9j9 be Nat suchthat
A8: s7 is           i9 inSeg  and
A9:ns0is  empty iff AND3NOT1 nq3, nq2, ) is not empty
A10: ns1 is not           <j9 and
A20      i9,;
A12: ns3 is not   for A being PreordeXBOOLE_0d ;
A13: ns4          then
A14: ns5 is           ex s2be  of2SSst =s2&s2 2S& .<P2  &jin s2;
A15: ns6 is not empty iff AND3(nq3,nq2,NOT1           then
A16:ns7 is  empty  (q3,nq2,q1  otempty and
A17: ( nq1 is not empty iff AND2(NOT1 q3,R) is not empty          =or i=j9A19,,:2;
 AND2 ,R by,2021TARSKI: ;
  empty);
  ns1 is not empty iff NOT1 q3 is not empty & R  end
not empty &R is empty &not( not  &java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  hencens1 is letAbePreorder,B be SubsetofAjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
ns3 not empty  NOT1 q3 is not empty & R is not empty & not(q2 is
  not empty & R is not empty) & q1 is not empty & R is not empty by A12,A17;
hencens3 is not empty iff AND2s1R is not empty by A2;
  ns7 is not empty iff NOT1 q3 is not empty & R is not empty & q2 is not
  empty & R is not empty & q1 isA24    i,}in  by ,A12A22,;
hence ns7is not empty iff AND2(s3,R) is not empty by A4;
  ns6 is not empty iff not(NOT1        then {,j} in D1 by A24,A9;
  not empty & R is not empty & q1        then card D1>0;
  then   set carqset carq        then reconsider c1=card D1-1asNat by :0;
  empty & R is not empty;
  hence ns6 is not empty iff AND2(s7,R) is not empty by A8;
  ns4 is not empty
notempty&R is 2byA24,A9;
  then
  ns4 is not empty iff q3 is not empty & q2 is notA28     x  object x java.lang.StringIndexOutOfBoundsException: Range [19, 34) out of bounds for length 19
  empty & R is               P1.{i1}>P2{i,1}by A1,A2,,,java.lang.StringIndexOutOfBoundsException: Range [0, 52) out of bounds for length 23
  hence ns4 is not empty iff AND2(s6,R) is not empty by A7;
  ns0 ishencethesisby A2java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
q2 is not empty & R A57:          i1in i,}by :def 2;
,A17P[{,i1},f.i,1] by A42,A56;
  then ns0 is not empty iff q3 is not empty & NOT1 q2 is not empty & NOT1 q1              then .,}{j,i1}  A49,,;
  is not empty & R is not empty or not(R) is not java.lang.StringIndexOutOfBoundsException: Range [49, 42) out of bounds for length 42
hence notempty (( R)NOT1 )is not empty by A5java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
  ns2 is not empty iff        
 isnotempty&er  nonempty Preorder;
  ;
  then
  ns2 is not empty iff q3 is not empty & NOT1 q2 is not empty & q1 is not
  empty & R is not empty;
  hence ns2 is not emptyect st  inD1   y as  of A by A4, A7;
  ns5         proof
  empty & R is not empty & not(q1 is not empty & R is not empty) by A14,A17;
  hence thesis       x <> y by A3 <>y  A3, A6,A9;
end;

:: 4-bit Johnson Counter (4JC).
:: state transition; s0(0000) -> s1(0001) -> s3(0011) -> s7(0111) ->
::                 ->s15(1111) ->s14(1110) ->s12(1100) -> s8(1000) -> s0..
:: minor loop; s2(0010) -> s5(0101) ->s11(1011) -> s6(0110) ->
::                 ->s13(1101) ->s10(1010) -> s4(0100) -> s9(1001) -> s2..

theorem ::4JC:
  fors0s,,s3s4s5s6,7,8s9,,11,s12,13s14,s15, ns0ns1,ns2
,      x1s 
  ,nq3,nq4 being set java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 22
 q1 not empty)s s not emptyiff (q4 NOT1 q3, OT1q2 q1
  ) is not empty)& (s2 is not empty iff AND4(NOT1 q4, NOT1 q3, q2, NOT1 q1) is
not empty)& (s3A63      iins1  A59java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
(4is not empty iff AND4(NOT1 q4, q3, NOT1 q2, NOT1 q1) is not empty)& (java.lang.StringIndexOutOfBoundsException: Range [0, 75) out of bounds for length 69
          j1 in Segn2 and
  iff AND4(NOT1 q4, q3, q2,A64:      i<j1and
  NOT1 q4java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
  NOT1 q2, NOT1 q1) is not empty)& (s9 is not          x2={j,j2  is( A.)sc_ordering
, q1)  not empty)&(s10 is not empty iffAND4 q4, NOT1 q3,q2 NOT1 q1) is
  not empty)& (s11 is not empty iff AND4( q4, NOT1 q3, q2, q1) is not empty)& (
s12isnotempty iff AND4( q4, q3, NOT1 q2, NOT1 q1) is not empty)& (s13 is not
 AND4( q4,q3,NOT1 ,               then f.1jj1}yA62,A64,A76java.lang.StringIndexOutOfBoundsException: Range [50, 51) out of bounds for length 50
java.lang.StringIndexOutOfBoundsException: Range [19, 2) out of bounds for length 79
   notempty) & (ns0 is not empty iff AND4(NOT1 nq4, NOT1 nq3, NOT1 nq2, NOT1
  nq1) is not empty)& (ns1 is not empty iff AND4(            end;
  nq1) is not empty)& (ns2 is not empty iff AND4(          nd;
nq1) is not empty)& (ns3 is not empty iff AND4(NOT1          hence thesis;
  not empty)& (ns4 is   then A2: the InternalRel        ;
n )n not AND4(NOT1  nq3,NOT1 ,nq1)is not
then ,D2are_equipotent A:ef4;
(ns7 is not empty iff java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 12
  empty iff AND4( nq4, NOT1 nq3, NOT1           {ij D1by,A24A9;
 iff ( nq4,NOT1 nq3,NOT1nq2,nq1)is empty)&( is 
  iff AND4( nq4, NOT1  (projA):Bthen{{,}  D1/ by ZFMISC_131;
AND4( nq4,         D1/D2={{,j} byA17;
nq3, NOT1 nq2, NOT1        then card D=card D1+card D1-card{{i,j}} by A79,A16,CARD_2:45
1 is not empty)& (ns14 is not empty iff AND4( not empty)&(ns14 is not empty iff AND4( nq4, nq3, nq2, NOT1
  nq1)isnot empty)&(ns15 is notempty iff AND4( nq4, nq3, nq2, nq1) is not
empty) & (nq1 is not         card  mod =by NAT_D:21;
is not empty)& (nq3 is not empty iff q2 is not java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 0
  is not empty) implies (ns1 is not empty iff s0 is not empty )& (ns3 is not
empty iff s1 is not empty )& (ns7 is not empty iff s3 is not     hence thesis;
  not empty iff s7 is not empty & (ns14 is not empty iff s15 is not empty)& (
ns12 is not empty iff s14 is not empty)& (ns8 is not empty iff s12 is not empty
  )& (ns0 is not java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 16
empty )& (ns11 is not   j in dom q and
  not empty)& (ns13 is not empty iff s6 is not empty )& (ns10 is not empty iff
  s13 is not empty)& (ns4 is not empty iff s10 is not empty)& (ns9 is not empty
  iff s4 is java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
 st
0,1s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15, ns0,ns1,ns2,ns3,
ns4,ns5,ns6,ns7,ns8,ns9,ns10,ns11,ns12,ns13,ns14,ns15, q1,q2,q3,q4,nq1,nq2,nq3,
  nq4 be set;
  assume that
A1: s0 is not empty iff AND4(NOT1 q4, NOT1 q3, NOT1 q2, NOT1 q1) is not
  yand
A2: s1 is not empty iff AND4(NOT1 q4, NOT1 q3, NOT1 q2, q1) is not empty and
A3: s2 is not empty iff AND4(NOT1 q4, NOT1 q3, q2, NOT1 q1) is not empty and
A4 s3 is not empty iff AND4(NOT1 q4, NOT1 q3, q2, q1) is not empty and
A5: s4 is not empty iff AND4(NOT1 q4, q3, NOT1 q2, NOT1 q1) is not empty and
A6: s5 is not empty iff AND4(NOT1 q4, q3, NOT1 q2, q1) is not empty and
A7: s6 is not empty iff AND4(NOT1 q4, q3, q2, NOT1 q1) is not empty and
A8: s7 is not empty iff AND4(NOT1 q4, q3, q2, q1) is not empty and
A9: s8 is not empty iff     ex s2 being FinSequenceof QuotientOrderA st
A10: s9 is not empty iff AND4( q4, NOT1 q3, NOT1 q2, q1) is not empty and
A11: s10 is not empty iff AND4( q4, NOT1 q3, q2, NOT1 q1) is not empty and
A12: s11 is not empty iff AND4( q4, NOT1 q3, q2, q1) is not empty and
A13: s12 is not empty iff AND4( q4, q3, NOT1 q2, NOT1 q1) is not empty and
A14: s13 is not empty iff AND4( q4, q3, NOT1 q2, q1) is not empty andproof
A15: s14 is not empty iff AND4( q4, q3, q2, NOT1 q1) is not empty and
A16: s15isnotempty iff AND4(q4, q3 ,q1)isnot and
17ns0 notempty iff AND4( nq4,NOT1nq3,  nq1)
  is not empty and
A18:ns1isnot empty iff (OT1 nq4,NOT1nq3, NOT1 nq2,nq1) is not
  empty and
A19: ns2 is notend;
  empty and
A20: ns3 is not  let s1 be FinSequenceof  carrier of A;
A21: ns4 is not ::------------------------------------------::
  empty and
A22: ns5 is not empty iff AND4(NOT1 nq4, nq3, NOT1 nq2, nq1) is  assume s1 is::------------------------------------------::
A23: ns6 is not empty iff AND4theorem Th14:
A24: ns7 is not empty iff AND4(NOT1 nq4, nq3, nq2, nq1) is not  then RevRev(s1nt of Permutationsn2)sttrjava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
A25: ns8 is not empty iff AND4( nq4, NOT1 nq3, NOT1 nq2, NOT1 nq1) is
  not empty and
A26: ns9 is not empty iff AND4( nq4, NOT1   set n2=+;
A27: ns10 is not empty iff AND4( nq4, NOT1 nq3, nq2, NOT1 nq1) is not empty and
ff (nq4,NOT1nq3,nq2,nq1)is not emptyand
A29  let tr be Element of Permutations(n2) such that
A30: ns13 is not empty iff AND4( nq4A1 tr is being_transposition;
A31:ns14  empty    reconsider Tr=tr as Permutatiof S by MATRIX_1:ef16;
A32: ns15 is not empty   reconsider Id=idseq n2,dTr)*r asElement of Permutations(2 by
A33: ( nq1 is not empty iff NOT1 q4 is not empty)&( nq2 is not empty iff
  q1 is not empty) & ( nq3 is not empty iff q2   rngrngTrby FUNCT_2def 3;
  iff q3 is not empty);
  thus  thus the A1, java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
  thus ns3 is   then sgn(tr,K)  -sgnId,) by A1,Th13;
  thus
t empty iff s7 is not empty by A8,A32,A33,GATE_1:20;
  ns14 is not empty iff q4 is not empty & q3 is not empty & q2 end
  empty & q1 is not empty by A31,A33,GATE_1:20;
  hence ns14 is not empty iff s15  for Pbe  ofGroup_of_Perm+) p2be Element of
  ns12 is not empty iff q4 is not empty & q3 is not empty &Permutations(n+2) st p2 = Product P & (for i st i in dom P ex trans be Element
  empty & NOT1 q1 is not empty by A29,A33,GATE_1:20;
  hence ns12 is not empty iff s14 is not empty by A15,GATE_1:20;
  ns8is not empty iff q4 is not empty & q3 is not empty & NOT1 q2 is not
  empty & NOT1 q1 is not empty by A25,A33,GATE_1:20;
  hence ns8 is not empty iff s12 is not empty by A13,GATE_1:  et=Group_of_Perm(n2)java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
  isnot  iff      q3isnot 
  is not empty & NOT1 q1 is not empty by A17,A33,GATE_1:20;
   ns0is  emptyiff s8 not emptyby A9,GATE_120;
  thus ns5 is not empty iff s2 is not empty by A3,trans is being_transposition) holds (len P mod 2=0 implies)1)&(
  thus ns11 is   len  mod 2= implies (p2K=1K;
  ns6A1:for kbeNat st P[k]holds P[+]
  empty & q1 is not empty by A23,A33,GATE_1:20;
  hence ns6 is notuch that
  A2: P[k]
  ns10 is not empty  setk1=k+1;
  not empty & q1 is not empty by A27,A33,GATE_1:20;
mpty byA14,GATE_1:;
  ns4 is not empty iff q4 is not empty & NOT1 q3 is not empty & q2 is not
1 is not empty by A21A33,:20;
  hence ns4 is not empty iff s10 is not empty by A11,GATE_1:20;
  thusA5:for  st iindom   transbe  ofPermutations(2  P.
  ns2 isnot empty iff q4  notempty &NOT1 q3 is not empty & NOT1 q2
  is not empty & q1 is    consider xbe object Q FinSequencethat
hence thesis by A10,GATE_1:20;
end;

:: 4-bit Johnson Counter with a Reset input (4JCWR).
:: initial state; s*(xxxx) -> s0(0000) [reset]
:: state transition; s0(0000) -> s1(0001) -> s3(0011) -> s7(0111) ->
::                 ->s15(1111) ->s14(1110) ->s12(1100) -> s8(1000) -> s0..
:: minor loop; s2(0010) -> s5(0101) ->s11(1011) -> s6(0110) ->
::                 ->s13(1101) ->s10(1010) -> s4(0100) -> s9(1001) -> s2..

:4JCRW:
  for s0,s1,s2,s3,s4,s5,s6,s7,    trans & transis being_transposition
,ns3,    proof
,nq3,nq4,R being set holds  leti such java.lang.StringIndexOutOfBoundsException: Range [21, 22) out of bounds for length 21
 q1)is not empty&( empty iffAND4(NOT1 4, NOT1 q3 NOT1 q2,q1
  ) is not empty)& (s2 is not empty       hence thesis by A5,A6,A9,FINSEQ_1
not empty)& (s3 is not empty iff AND4(NOT1 q4, NOT1 q3, 
(s4  then 1 in Segk1;
  not empty iff AND4(NOT1 q4, q3, NOT1 q2, q1) is not empty)& (s6 is not empty
  iff AND4(NOT1 q4, q3, q2, NOT1 q1) A10 1 in dom PbyA4,INSEQ_1:def 3;
  NOT1 q4, q3, q2, q1) is not empty)& (s8 is not java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 28
  NOT1 q2, NOT1 q1)    thenconsider tr be Element of Permutations(n2) such that
q2, q1) is   is being_transposition A5Ajava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
  not empty)& (s11 is not     reconsider Tr=tr as ElementMATRIX_1def17java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
s12 is not empty iff AND4( q4, q3, NOT1 q2, NOT1 q1) is not empty)& (s13 is not
empty iffAND4(q4,q3,NOT1 q2,q1)is not )&( is not empty AND4java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
q4, q3, q2, NOT1 q1) is not empty)& (A14:sgnp2K=-gn(QK)by ,Th13;
  is not empty) & (ns0 is not empty iff      per casesby NAT_D12;
  nq1) is not empty)& (ns1 is notA15:    len Qmod =0java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
  nq1)then
nq1) is not empty)& (ns3A16:   len  mod 2 = + byA7,,NAT_D:70;
notempty) (s4 iff AND4(OT1 nq4,nq3,NOT1 nq2, NOT1 ) is
  not empty)&         hence  by A12,,16,h13;
empty)& (ns6 is not empty iff AND4(NOT1 nq4, nq3, nq2, NOT1 nq1) is not empty)&
(s7 isnot empty iff AND4( nq4,nq3,nq2,nq1)is not empty) (s8is not
  empty iffA17:   lenQ  2=;
empty iff AND4( nq4, NOT1 nq3, NOT1 nq2, nq1) is not empty)& (ns10 is A18:    2-=1;
   AND4 nq4,NOT1 nq3, nq2,NOT1 nq1) is not empty)& (ns11 is not empty iff
AND4( nq4, NOT1 nq3, nq2, nq1) is not empty)& (ns12 
nq3, A20 p2Product and
NOT1 nq2, nq1) is not empty)& (ns14 is not empty iff AND4( nq4, nq3, nq2, NOT1
  nq1) is not empty)&  extrans beElement f (n2)st P.i
trans&transis being_transposition
iff AND2( q1P=<>  of Gby ;
  (nq4 is not empty iff AND2( q3,R) is not empty) implies (ns1 is not empty iff
AND2(s0,R) is  empty)&(ns3isnot empty iff AND2(1R is not empty)& (ns7
is not empty iff AND2(s3,R) is not empty)& (ns15 is not empty iff AND2(s7,R) is
  not empty)& (ns14 is not emptyhencethesisbyA,,26java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
iff (14,R)isnot empty) (s8 is not empty iff (12Ris 
  empty)& (ns0 is java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 15
   empty iff AND2(s2,R)isnot) n  empty iffRis
not empty)& 
iff AND2(s6tTh16
(ns4 is not empty iff   for i,j,n st i < j & iin Seg  &jin  n ex trbe  of
 R is not empty)& (ns2 is not empty iff AND2(s9,R) is not empty)
proof
  let s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15  letij, such that
ns4,ns5,ns6ns7ns8ns9,ns10,ns11,ns12,ns13,ns14,ns15, q1,q2,q3,q4,nq1,nq2,nq3,
  nq4,R be set;
   assumethat
A1: s0 is not emptyA3:jin  n;
  empty and
A2: s1 is not empty iff AND4(NOT1defpred P[object,object]means
A3: s2 is not empty iff for k st k in Seg n & k=$1 holdsi implies $=)
A4   (=j implies $2=i) & (k<>i & k<>j implies $2=k);
A5: s4 is not empty iff AND4(A4:for  being object st x in Seg n  y be  st  in Seg  &Px,]
A6: s5 is not empty iff AND4(NOT1 q4, java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 29
A7: s6 is not empty iff AND4(NOT1 q4, q3, q2, NOT1 q1) is not empty and
A8: s7 is not empty iff AND4(NOT1 q4, q3, q2, q1) is not empty and
A9: s8 is not empty iff AND4( q4, NOT1 q3, NOT1 q2, NOT1 q1) is not empty and
A10: s9 is not empty iff AND4( q4, NOT1 q3, NOT1 q2, q1) is not empty and
A11: s10 is not empty iff AND4( q4, NOT1 q3, q2, NOT1 q1) is not empty and
A12: s11 is not empty iff AND4( q4, NOT1 q3, q2, q1) is not empty and
A13: s12 is not empty iff AND4( q4, q3, NOT1 q2, NOT1 q1) is not empty and
A14: s13 is not empty iff AND4( q4, q3, NOT1 q2, q1) is not empty and
A15: s14 is not empty iff AND4( q4, q3, q2, NOT1 q1) is not empty and
A16: s15 is not empty iff AND4( q4, q3, q2, q1) is not empty and
A17: ns0 is not empty iff AND4(NOT1 nq4, NOT1 nq3, NOT1 nq2, NOT1 nq1)
  is not empty and
A18: ns1 is not empty iff AND4(NOT1 nq4, NOT1 nq3, NOT1 nq2, nq1) is not
  empty and
A19: ns2 is not empty iff AND4(NOT1 nq4, NOT1 nq3, nq2, NOT1 nq1) is not
  empty and
A20: ns3 is not empty iff AND4(NOT1 nq4, NOT1 nq3, nq2, nq1) is not empty and
A21: ns4 is not empty iff AND4(NOT1 nq4, nq3, NOT1 nq2, NOT1 nq1) is not
  empty and
A22: ns5 is not empty iff AND4(NOT1 nq4, nq3, NOT1 nq2, nq1) is not empty and
A23: ns6 is not empty iff AND4(NOT1 nq4, nq3, nq2, NOT1 nq1) is not empty and
A24: ns7 is not empty iff AND4(NOT1 nq4, nq3, nq2, nq1) is not empty and
A25: ns8 is not empty iff AND4( nq4, NOT1 nq3, NOT1 nq2, NOT1 nq1) is
  not empty and
A26: ns9 is not empty iff AND4( nq4, NOT1 nq3, NOT1 nq2, nq1) is not empty and
A27: ns10 is not empty iff AND4( nq4, NOT1 nq3, nq2, NOT1 nq1) is not empty and
A28: ns11 is not empty iff AND4( nq4, NOT1 nq3, nq2, nq1) is not empty and
A29: ns12 is not empty iff AND4( nq4, nq3, NOT1 nq2, NOT1 nq1) is not empty and
A30: ns13 is not empty iff AND4( nq4, nq3, NOT1 nq2, nq1) is not empty and
A31: ns14 is not empty iff AND4( nq4, nq3, nq2, NOT1 nq1) is not empty and
A32: ns15 is not empty iff AND4( nq4, nq3, nq2, nq1) is not empty and
A33: ( nq1 is not empty iff AND2(NOT1 q4,R) is not empty)&( nq2 is not
empty iff AND2( q1,R) is not empty) & ( nq3 is not empty iff AND2( q2,R) is not
  empty)&( nq4 is not empty iff AND2( q3,R) is not empty);
  ns1 is not empty iff NOT1 q4 is not empty & R is not empty & not(q3 is
not empty & R is not empty) & not(q2 is not empty & R is not empty) & not(q1 is
  not empty & R is not empty) by A18,A33,GATE_1:20;
  hence ns1 is not empty iff AND2(s0,R) is not empty by A1,GATE_1:20;
  ns3 is not empty iff NOT1 q4 is not empty & R is not empty & not(q3 is
not empty & R is not empty) & not(q2 is not empty & R is not empty) & q1 is not
  empty & R is not empty by A20,A33,GATE_1:20;
  hence ns3 is not empty iff AND2(s1,R) is not empty by A2,GATE_1:20;
  ns7 is not empty iff NOT1 q4 is not empty & R is not empty & not(q3 is
  not empty & R is not empty) & q2 is not empty & R is not empty & q1 is not
  empty & R is not empty by A24,A33,GATE_1:20;
  hence ns7 is not empty iff AND2(s3,R) is not empty by A4,GATE_1:20;
  ns15 is not empty iff NOT1 q4 is not empty & R is not empty & q3 is not
empty & R is not empty & q2 is not empty & R is not empty & q1 is not empty & R
  is not empty by A32,A33,GATE_1:20;
  hence ns15 is not empty iff AND2(s7,R) is not empty by A8,GATE_1:20;
  ns14 is not empty iff not(NOT1 q4 is not empty & R is not empty) & q3
  is not empty & R is not empty & q2 is not empty & R is not empty & q1 is not
  empty & R is not empty by A31,A33,GATE_1:20;
  then ns14 is not empty iff q4 is not empty & q3 is not empty & q2 is not
  empty & q1 is not empty & R is not empty;
  hence ns14 is not empty iff AND2(s15,R) is not empty by A16,GATE_1:20;
  ns12 is not empty iff not(NOT1 q4 is not empty & R is not empty) & q3
  is not empty & R is not empty & q2 is not empty & R is not empty & not(q1 is
  not empty & R is not empty) by A29,A33,GATE_1:20;
  then ns12 is not empty iff q4 is not empty & q3 is not empty & q2 is not
  empty & NOT1 q1 is not empty & R is not empty;
  hence ns12 is not empty iff AND2(s14,R) is not empty by A15,GATE_1:20;
  ns8 is not empty iff not(NOT1 q4 is not empty & R is not empty) & q3 is
not empty & R is not empty & not(q2 is not empty & R is not empty) & not(q1 is
  not empty & R is not empty) by A25,A33,GATE_1:20;
  then
  ns8 is not empty iff q4 is not empty & q3 is not empty & NOT1 q2 is not
  empty & NOT1 q1 is not empty & R is not empty;
  hence ns8 is not empty iff AND2(s12,R) is not empty by A13,GATE_1:20;
ns0 notemptynot q4 not empty   isnot & (
reconsiderx1asNatby java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 34
qisempty R java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 58
  then ns0 is not empty iff q4 is not empty & NOT1 q3    =orx2= or x2<> &x2>j;
isnot   NOT1 q1 is not empty &Ris  empty or not(R)isnot ;
  hence ns0 is not empty iff OR2(AND2(s8, R),NOT1 R) is not empty by A9,
end
  ns5 is not   then
not empty & R is not empty) & q2 is not empty & R is not   for y  objectst  inSeg nexx  object  x  Seg n &  =f
  empty & R is notletybeingobjectsuchthat
A12:y Seg ;
  ns11 is not    reconsider k= as Nat by A12;
empty   isnot empty&(isnot empty& R is not empty) & q1 is not
  empty & R is not empty by A28,A33,GATE_1:20;
hencens11is notempty iff AND2(s5,R) is not empty by A6,GATE_1:20;
  ns6 is not empty iff not(NOT1 q4 is not empty & R is not empty) & not(
  q3 is not empty & R is not empty) & q2 is not empty & R is not empty & q1 is
  not empty & R is not empty by A23,A33,GATE_1:20;
  then
  ns6 is not empty iff q4 is not empty & NOT1  then is ontobyFUNCT_2:def3;
  empty & q1 is not emptyjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
 empty iff (,R is not  empty by A12,ATE_1:20;
  ns13 is not empty iff NOT1 q4 is not empty & R is not empty & q3 is not
empty & R is not empty & q2 is not empty & R is not empty  reconsider p9=p as Permutation of Seg k1 by MATRIX_1:def 16;
  & R is not empty) by A30,A33,GATE_1:20;
  hence ns13 is not empty iff AND2(s6,R) is not empty by A7,GATE_1:20;
  ns10 is not empty iff not(NOT1 q4 is not empty & R is not empty) & q3
  isA5:p inSegk1by A2,A3,FUNCT_1def 3
  not empty &   thenp.<k1 by FINSEQ_1:
    then p..k1 <k1  A1,XREAL_0:1;
  not empty & q1 is not empty & R is not empty;
hence  isnotempty iffAND2(,R)is  empty by A14,GATE_1:20;
  ns4 A6: tr isbeing_transposition nd
  q3 is not empty & R A7 tr.p.k1)k1by A4,5T;
  is not  reconsider tr9=tr as Permutation of Seg k1 by MATRIX_1:def 16;
  then
   not   q3notempty q2 is not
  empty & NOT1 q1 is not empty &   (trp=Segk1  A2,A3,RELAT_1:;
  hence ns4   (rp)k1=.(p.)by FINSEQ_1:,FUNCT_1:2
  ns9 is  hence thesis by A6,A7;
empty & R is not empty & not(q2 is not empty & R is not java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 4
& not)by A26A33,GATE_1:0java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
 AND2(s4R is not empty by A5,ATE_1:20
  ns2 is not empty iff not(NOT1 q4 is not empty & Rproof
q3 is not empty & R is not empty) & not(q2 is not A1:not x ;
 not empty&R isnot empty by A19,A33,GATE_1:20;
  then ns2 is not empty iff q4 is not empty & NOT1 q3 is notA2 .=;
  A3:X =\{x} by :;
  hence thesis by A10,GATE_1:20;
end;

Messung
CHZG
8110010093

¤ Dauer der Verarbeitung: 0.21 Sekunden  ¤

*Bot Zugriff







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,055
#Domains=861,550