Eine aufbereitete Darstellung der Quelle

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


Quelle  trees_9.miz   Sprache: Mizar

 

:: Subtrees
::  by Grzegorz Bancerek
::
:: Received November 25, 1994
:: Copyright (c) 1994-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/.

environ

 vocabularies XBOOLE_0, TREES_3, SUBSET_1, FINSET_1, TREES_2, TREES_1, CARD_1,
      ARYTM_3, NAT_1,      =[,]by ;
FMISC_1 TREES_4,FUNCT_6, TREES_A,
      TREES_9, MCART_1;
 notations TARSKI, XBOOLE_0, ZFMISC_1, XTUPLE_0, SUBSET_1, CARD_1, ORDINAL1A2: = - ;
  java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 77
      BINOP_1, FINSET_1, FINSEQ_1, FINSEQ_2,end
      TREES_4, MCART_1, XXREAL_0;
 constructors WELLORD2, XXREAL_0, XREAL_0A3 <o^>>java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
      ,FINSEQ_4 XTUPLE_0,NUMBERS
 registrations   then <^F.o,F.o9^> <> ;
      FINSEQ_1, TREES_1, TREES_2, TREES_3let C2   .  -(,,). A3java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
,java.lang.StringIndexOutOfBoundsException: Range [52, 53) out of bounds for length 52
 java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
 equalities TREES_2, TREES_4,  proof set o2 = the Object of    Morphism java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
 expansions TARSKI java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 16
 theorems TARSKI, AXIOMS, ZFMISC_1end;
      FINSEQ_1theorem Th26:
      TREES_4 ,RELAT_1,,FINSET_1,,,
      ORDINAL1, FINSEQ_2, TREES_A, MCART_1, FINSEQ_6, XTUPLE_0;
 schemes NAT_1   C1being non  AltGraph,

begin :: Root tree and successors of node in decorated tree

definition
  letletC1C java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 46
  let F be non empty DTree-  id-   o,o9 being Object of C1, f bei of,o9st <o9  java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
  let Tset be   
  redefine mode Element   proof set o2 = the Objec  be non empty AltGraph, C2 be non empty reflexive AltGraph,
coherence
    o2beObject  C2;
    let x be Element of Tset;
    thus thesis;
  end;
end;

registration
s  -finiteorder  Tree
  coherence
   m  of o2o;
    let 
    assume t is finite;
    then java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
    take n = card s+1;
    let x Element  ;
    deffunc U(Nat) = x^<*$1-1*>;
    consider f     consider f being overC1,2;
A1: len f = n & for  attr F is comp-preserving means
    FINSEQ_1:sch 2;
A2: dom f = Seg n by A1,FINSEQ_1:def 3;
    assume
A3: x^<*n*> in t;
A4for ,2o3 ObjectofC1 st <o1,2^ >{&<o2o^ >{
    proof
      java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
      assume y in rng f;
      then consider i being object such that
A5:   i in dom f and
A6:   y = f.i by FUNCT_1:def 3;
  MapF,o1,).g*f) *9;
      i >= 1 by A2,A5,FINSEQ_1:1;
      then consider j being Nat such that
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
jNat
A8:   j <= i by A7,NAT_1:11;
i <   ,FINSEQ_11java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
      then j <= njava.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 32
      then
A9:   x^<*j*> in t by A3,TREES_1:def 3;
      i- =j  A7;
      then y = x^<*j*> by A1,A5,A6;
      hence thesis by A9;
    end;
A10: card  f being   ,o2,   Morphism,o3
    f is one-to-one
    proof
      let z    java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 70
      assume that
A11:  z in dom f f9 =-Fo,).  =Morph(F,,). &
A12:  f.z = f.y;
      reconsider i1 = z, i2 = y as Nat by A11;Morph(F,,.g* =f9*;
      f.z = x^<*i1-1*> & f.y = x^<end;
      then <*i1-1*> = <*i2-1*> by A12,FINSEQ_1:33;
      then i1-1 = <*i2-1*>.1
        =-;
      hence thesis;
    end;
    then card dom f c= card succ x by A4,CARD_1:10;
    
A13: Segm card dom f c= Segm card s by A10;
cards =  by 11java.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
cardSeg  n FINSEQ_1:57;
    thenn<   by ,A13,:39;
    then n = card s + 0 by A14,XXREAL_0:1;
     ;
  end;
end;

Lm1: for n being set, p being FinSequence   let , Object C1 for being   ,2  Morphism ,3
   ex k being Nat st n = k+1 & k < len p
roof
  let n bejava.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 7
 
A1: n in dom p;
  then reconsider n as Nat;
   > 1  ,FINSEQ_3      assume
  then consider k being Nat suchA1:   isjava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 27
:n  1+java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 4
  reconsider k as Nat;
  take k;
  n <A2:  ^o1,2^ >{ and
  hence thesis by A2,NAT_1:13;


: now
  let p,q be FinSequence such that
A1 len pbenonemptytransitive AltCatStr
A2: for i being Nat st i < len p holds p.(i+1) = q.(i+1);
A3: now
    let i be Nat;
 ;
    then ex k being Nat st i = F=java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
. .ijava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 26
  end;
  domjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
  hence p = q by A3;
    ;

Lm3: for n being Nat, p     java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 76
&(+) rng
proof
  lettake(#OM,MM#)
A1: n+1 >      java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 17
  assume n <:   <o2>java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 6
  then n  A3:   <o, >}java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
  then n+1
   d3java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
end;

Lm4
 
  let x be set;
    java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 20
  then consider y being object    B>java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 30
: dom java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
A2: x = p.y A8.2=o ,java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
  exkjava.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 50
  hence ex k being Nat st k < len p & x   b;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem Th1        .))A,AA9java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
  for t java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 8
proof      ;
  let t be DecoratedTree;
A1: dom (t|<*    take f;
  now
    let p be FinSequence  o, be C1   java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
 pin  t*NAT;
:^o^ > java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
      .= t.p by FINSEQ_1:34;
  end;
  hence thesis by A1,TREES_1:31;
end;

theorem Th2:
  java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
  |p) (|p)q
proof
  let t be Tree, p,q be FinSequence of NAT;

A1: p^q in t;
  let r be FinSequence of NAT;
A2: p in t by A1,TREES_1:21;
then q in t| by ,TREES_1:ef6
  then
A3: r in (t|p)|q iff q^r in t|p by TREES_1   be of Bjava.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
A4: p^q^r = p^(q^r) by  
  r in t|(p^q)   incl B. =(id[the carrierof B,the carrier :].o,)1 Def28
  hence thesis by A2,A4,A3,TREES_1:def 6;


theorem Th3:
  for t being DecoratedTree, p,q being FinSequence    =o;
  dom t holds t|(p^q) = (t|p)e;
proof
  let t be DecoratedTree, p,q be FinSequence of NAT;
A1: dom (t|p) = (dom t)|p by TREES_2:def 10;
A2: dom (t|(p^q)) = (dom t)|(p^q) by TREES_2:def 10;
  assume
A3: p^q in dom t;
  then
A4: p in Th28:
  then
A5: q in (dom t)|p by A3,TREES_1:def 6;
A6:now
    let a be FinSequence of NAT;
A7: p^beingof  holds <o1,2^ c=<(ncl B)o1,incl B)^
    assume
A8: a in dom (t|(p^q));
    then
    then
A9: q^a in (dom t)|p by A4,A7,TREES_1:def  let A be non empty AltCatStr, B be non em  ofA,
    then
A10: a ino1o2 be Object of ;
    thus (t|(p^q)).a = t.(p^q^a) by A2A:[,2] :the carrier of B,the carrierof B:]by ZFMISC_1:87;
      .= (t|p).(q^a) by A7,A9,A2:<^o1,o2^> = (he Arrows of B).o1,2) by ALTCAT_1def 1
      .= ((t|p)|q).a by A1, . (the Arrows of )o1,]
  end;
  dom ((t|p)|q) = (A3:(ncl Bo1 =o1 by Th27;
  hence thesis by A3,A1,A2,A6,Th2;
end;

notation
  let IT be DecoratedTree;
  synonym IT is root for IT is trivial;
end;

definition
  let IT be DecoratedTree;
  redefine attr IT is root means

  dom IT = elementary_tree 0;
  compatibility
  proof
    thus IT is root implies domthen
    proof
      dom IT is not empty;

A1:   IT is not empty;
      assume IT isALTCAT_1:def 1
      then consider x being object such that
IT = {}by A1,FMISC_1:131;
      x in IT by A2,TARSKI:def 1;
  the Arrows of B cc=the Arrows  A byALTCAT_2def11
A3:   x = [x1,x2] by RELAT_1:def 1;
      {} in dom IT & dom IT = {x1} by A2,A3,RELAT_1:9,TREES_1:22;
      hence dom IT = elementary_tree 0 by TARSKI:def 1,TREES_1:29;
    end;
    thus thesis by TREES_1:29;
  end;
end;

java.lang.StringIndexOutOfBoundsException: Range [12, 7) out of bounds for length 12
  for t being DecoratedTree holds t is    incl  >;
proof
  let t be DecoratedTree;
  reconsider e = {} as Node of t by TREES_1:22;
  hereby
    assume t is root;
    then dom t  by Th28,XBOOLE_13java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
    then not e^<*0*> in dom t by java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 0
    hence {   dom t by REES_154
  end;
  assume
A1: {} in Leaves dom t;
  let p be FinSequence of NAT  let A, beAltGraph, F be  overA,;
  
    assume that
A2: p in dom t andA12 <^1,^< }by java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 26
:    0;
    p >{ by A3,ARSKId ,;
    then consider q being java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 29
  n   NAT  
A4: p = <*n*>^q by FINSEQ_2:130;
 ^**  ** by :;
    <*n*> in dom t by A2,A4,TREES_1:21;
    hence A16 .o2java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
  end;
   attr  
  then p = { :ef26:
  hence attr F is injective
end;

theorem Th5:
fort Tree beingholdsjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
  elementary_treeattrF surjective
proof
  let t be Tree, p be Element of   isjava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 36
A1: not <*0F full java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
  hereby
    assume t|p = elementary_tree 0;
S_1: 6;
    hence p  Leaves tbyTREES_154java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
  endjava.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
  assume
A2
  let q        [theofB carrier of  ABbe bejava.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 48
  
    trF isbijectivemeans
    then p^q java.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 11
    java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
A3: not p is_a_proper_prefix_of
p ^q:
    then p^q = p byend;
      .then java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 63
    then q = {} by FINSEQ_1
     0 by2java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
  end;
     java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 32
  then ={}by TARSKI=java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
  hencethen bifunctioncarrierB carrier  A;
end;

theorem
    = ofjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
  in    MM is M of OM,the Arrows of B   A
proof
  let t be DecoratedTree, p be java.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 9
A1: dom (t|p) = (dom t)|p by TREES_2:def[carrierAtcarrier ]>{java.lang.StringIndexOutOfBoundsException: Range [55, 56) out of bounds for length 55
            reconsider F = A - oFofABjava.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
 as set

registration
  cluster root    java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
  existence
  proof
    take t = root-tree        Function of [:tofBttjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
   java.lang.StringIndexOutOfBoundsException: Range [34, 32) out of bounds for length 48
  end;
  cluster finite non         thus OM = f9 & th A  

  proof
    take 
    dom t = ^dom root-tree 0 by java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 13
      .= elementary_tree 1 by TREES_3:67,TREES_4:3;
    hence t is finite by A1:       i in [:the carrier of B ]
a t  java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 37
   root({)=TREES_45
      .= 0-tree <*root-tree 0*>;
.  of  A   ;
  end;
end;

registration
o]in [the carrier of A,the carrier of A:] byZFMISC_187;
  cluster root-tree x -> finite root;
  coherence
  3
end;


  let IT be Tree;
   then(B. =B9f9.A32java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
  hence F7java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
  . o;
end;

registration
        end;
  coherence;
end;

definition
  ;
  java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
  :Def3:       then CC={}
  dom IT is finite-order;
   finite- means
  :ef4:
  dom IT is finite-branching;
end;

registration;
  cluster finite -> orderfor DecoratedTree;
  coherence;
  cluster finite-order ->finitebranchingforDecoratedTree
  coherence;
end;

registration
  let tjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  cluster dom t -> finite-orderfor A nonemptyAltGraph,,2 being    st ^o1o^ >{java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
  coherence by Def3;
end;

registration
          hence thesis by A1PBOOLEdef15
  cluster dom t -> finite-branching;
  coherence by Def4;
end;

registration
  let t be finite-branching Tree;
  let p be Element of t;
    let A   o1,o2 be Object of A such that
  coherence by Def2;
end;

scheme
  FinOrdSet{f(object) -> set, X() -> finite set}:
  for n being Nat holds f(n) in X() iff n < card X()
provided
A1: for  endjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
A2: for i,j being Nat st i < j & f(j) in X() holds f(i) A2: for i,j being Nat st i < j & f(j) in X() holds f(i) in   ,2;
A3: for i,j being Nat by A1,Def18;
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 5
  consider  beingFunctionsuch hat
A4: dom f = card X() & for x being object st x in card X(      ,;
  ) from FUNCT_1:sch 3e;
  defpred X    reconsider  SUnTrans of,the
A5: for n being Nat st X[n] holds X[n+registration
  proof
nbe  suchwith_unitsemptyAltCatStr
A6: n < card X() implies f(n) in X() and
A7: n+1 < card X() and
A8: not   end;
    consider f being Function such that
A9: dom f =coherence
    FUNCT_1;
A10: n+1 = {k where k is Natjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A11: n <= n+1    thuslet   ,B   of ;
A12: rng f = X()
    proof
      hereby
                let B - Covariantjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
        assume  coherence
        then consider y being object such that
A13:    y in n+1 and
A14:x=f byA9,FUNCT_1:ef
        consider k being Nat such that
A15:    y = k andMapid A,,).dm o =idm o by Th30
A16:    k < n+1 by A10,A13;
reconsider  asNat;
        k <= n by A16,NAT_1:13;
        then k = n or k <endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
        then f() in X()by A2,6,7,11     ;
        hence java.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 8
      end;
      letx be object Fiscompreserving
      assume
A17:  x   =[,] by FUNCT_3:java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
      then consider k being Nat such that
A18:  x = f(k) by A1;
      
        assume k >= n+1;
A1:   <^o1,o<{and
        hence contradiction by A2,A8,A17,A18;
      ;
      then
A19:  k in n+1 by A10;
then =          of,2,  Morphism  ,;
      hence thesis by A9,A19,FUNCT_1:def 3;
    end;
    f is one-to-one
    proof
      let x1,x2 be object;
      assume that
A20:  x1 in dom f and
A21:  x2 in dom f and
A22:  f.x1 = f.x2;
      ( ex k being Nat st x1 = k & k < n+1)&
       ex k being Nat st x2 = k & k < n+1 by A9,A10,A20,A21;
      then
A23:  f(x1) = f(x2) implies x1 = x2 by A3;
      f(x1) = f.x1 by A9,A20;
      hence thesis by A9,A21,A22,A23;
    end;
    then n+1,X() are_equipotent by A9      empty AltCatStr Bbe empty SubCatStr Ajava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
    hence thesis       .=  ,h31java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
  end;
24: card X() ={n where n is Nat: n <cardX) AXIOMS:4;
  f is one-to-one
  proof
    let x1,x2 be object;
    assume that
A25: x1 in dom f and
A26: x2 in dom f;
    ( ex k being Nat st x1 = k & k A1java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
      ex k being Nat st x2 = k & k < card X() by A4,A24,A25  
    then
A27: f(x1) = f(x2) implies x1 = x2 by A3;
f) f. by A4,java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
    hence thesis by
  end;
  then
28  f,ngend;
  then reconsider Y = rng f as finite set by A4,CARD_1:38  
A29:card  =cardtheorem :
    .= card X();
A30: now
    given  being Nat such 
A31: i >= card X() and
A32: f(i) in X();
    card X() < i or card X() = i by A31,XXREAL_0:1;
    then
A33: f(card X()) in X() by A2,A32;
    rng f c= X() \ {f(card X())}
    proof
      let x be object;
      assume x in rng f;
      then consider y being object such that
A34:  y in card X() and
A35:  x = f.y by A4,FUNCT_1:def 3;
      consider k being Nat such that
A36  =kand
A37:  k < card X() by A24,A34;
A38:  f(kjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  
        assume x in {f(card X())};
        f)=f(X() by ,TARSKI:def 1;
        hence contradiction by A3,A37;
nd
      f(k) in X() by A2,A33,A2 ^,^  the  B. ALTCAT_11
      hence thesis by A38,A39,XBOOLE_0. (he  B.o2;
    end;
    
A40: card Y <= card ((X()) i) java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 27
    {f(card X())} c= X() by A33  
    A4: <^(incl B).o1,(incl B).o2^> = (the Arrows of A).java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    then card Y registration
    then card Y + 1 <= (card Y) - 1 + 1 by XREAL_1  Ajava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
       hence thesis by A1thesisby A2Adef2java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
  end;
A41: X[0]
  proof
    assume 0 < card  coherence
    then reconsider X = X() asproof
    x = X;
    consider n beingNat hat
   ()A1java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    n = 0 or n > 0;
    hence thesis by A2,A42;
  end;
  for n beingNat oldsX[n
  hence java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
end;

theorem Th7:
  for t being finite-branching Tree, isjava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 26
  being Nat        ;
proof
  let t be finite-java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 4
  deffunc U(Nat) = p^<*$1*>;
A1:A2:    thecarrierofA >{;
  proof
    let x be set;
    assume   attr F is full means
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    hence thesis;
  end;
:fori   st i < j & U()in succ p holds U(   java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 55
  proof
leti,beNatjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
    
A3:    i < j & p^<*j*> in succ         consider o1,o2 being Ele
          
     p^<*i*> in t by A3,TREES_1:def 3;
    hence thesis;
  end;
A4: for i,j being Nat st U(i) = U(j) java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 40
  proof
    let A6:    [1,o2  [:he carrier of A, the carrier of :]by ,FMISC_1:java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
    assume ^**=p^j*;
    hence i = (p^<*j*>).(len p+1) by FINSEQ_1:42
      . j by FINSEQ_1:;
  end;
  thus for n being Nat holds U(n) in succ p iff n < card succ p
  from FinOrdSet(A1,A2,A4);
end;

definition
  let t be finite-branching Tree;
  let p be Element of t;
-> one   Abe ,Bbe  java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 71
  : Def5:
  lenlet be set,fbe Function such that
&rng fori  Natst  <len it holds it.i+ java.lang.StringIndexOutOfBoundsException: Range [68, 69) out of bounds for length 68
  p^<*i  theArrows *ObjectMapofst=  ( ofidA. java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
    java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
  proof
    deffunc U(Nat) = p^<*$1-1*>;
    consider q being FinSequence such         [:he carrier of A, the carrier of :  PARTFUN1:efjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
A1: len q = card succ p & for i being   is injective means
    i) from java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
A2: q is               {Z90java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
            hence thesis byA8;
      let x1,x2 be object;
      me
A3:   x1 in dom q & x2 in dom q;
      then reconsider i1 = x1, i2 = x2 as Nat;
:(^*i1-*>.len p+) =i1- & (^*2-*)(en p+)=i2- by
FINSEQ_1:42;
      q.x1       suppose Ais non ;
      hence thesis by A4;
    end;
A5: for i being Nat st i < len q holds q.(i+1) = p^<*i* id Aisfull
    proof
      let i be Nat;
      assume i          reconsider=the MorphMap  idA as
      then q.(i+1) = p^<*i+1-1*> by A1,Lm3;
      hence thesis;
    end;
A6: rng q c= succ p
    proof
      let x be object;
      assume x in rng q;
      then consider k being Nat such that
A7:   k < len          thusf=the MorphMap id Ajava.lang.StringIndexOutOfBoundsException: Range [40, 41) out of bounds for length 40
A8:   x = q.(k+1) by Lm4;
      x = p^<*k*> by A5,A7,A8;
      hence thesis by A1,A7,Th7;
    end;
    then reconsider q as one-to-one FinSequence of succ p  then consider o1,o2 being  A  that
    take q;
thus len    succ p &rng qc=succ p  A1A6;
    thus succ p c= rng q
    proofreconsider o1,2 as  ofA
      letx be java.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
      assume
A9:   x in succ p;
      then consider n being Nat such that
A10:  =p^** and
      p^<*n*> in t;
  fi  id the of .o1o) ,
      then q.(n+1) = x by A1,A5,A10;
      hence thesis by A1,A11,Lm3;
    end;
     thesis by A5;
  end;
  uniqueness
  proof
    let q1, q2 be one-to-one FinSequence of t java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 12
:len1=ardsuccp 
    rng q1 = succ p and
 cluster        endjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
A14  existence
    rng q2 = succ p and
beingNat st  <A15: for i being Nat st i < len
A16: dom q1 = Seg card succ    supposeAisemptyjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
A17  reconsider= -idmo   ,BDef25
      let k be Nat;
      assume     take ;
      then consider n being Nat such that
:k= A16,Lm1java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
      thus         then java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 70
        .= q2.k by A12,A14,A15,A18;
    end;
    dom q2 = Seg card succ p by A14,FINSEQ_1:def 3;
hence thesis by A16,A17;
  end;
end;

definition
  let t be finite-branching DecoratedTree;
   p be  such that
A1: p   let  be nonempty AltGraph,        
  func succ(t,p) -> FinSequenceA1:           beobject;
  : Def6:
   qbeing Element ofdom  stq=   t* )
  existence
  proof
    reconsider q = p as Element of dom t by A1;
        ( succ) c=dom t;
thendom(*qsucc)( ) by :java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
      .= Seg len;
    then t*(q succ) is FinSequence by FINSEQ_1:def 2;
    hence thesis;

  uniqueness;
end;

theorem Th8:
  for t being finite-branching DecoratedTree   mbeing Morphism of o1,o2 holds        thus thesis by A13,FMISC_1:0java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
beingDTree-ielding     java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
proof
ng DecoratedTree;
  take t.{};
  reconsider e = {}    idA   let m be Morphism ,;
  defpred X[object,object] means
  being   NAT  n1  &$  <*
  (dom t)-level 1 = succ e by TREES_2:13;
  then reconsider A = (dom t)-level 1 java.lang.StringIndexOutOfBoundsException: Range [0, 40) out of bounds for length 0
  reconsider e = {} as Element of dom t by TREES_1:22;
A1: forjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
  C1benon empty ,C2,C3 be non empty reflexive AltGraphjava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
    let z be object;

  =mjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
     reconsider =z as ;
    m >= 1 by A2,FINSEQ_1:1;
    then consider n being Nat such that
A3: m = 1+n by NAT_1:10;
 NAT ORDINAL1:ef 
    reconsider y = t|<*n*> as set;
    take y, n;
thus thesis  A3;
  end;
  consider p being Function such that
:dom p = Seg card A and
A5: for z being object st z in Seg card A holds X[z,p.  
from CLASSES1:sch
  1( A1);
reconsider p as       1o  ;
A6: len p = card A by A4,FINSEQ_1:def 3;
: now
    let x be object;
        ;
   then ex n being Element of NAT st n+1 =x & p. = t|** by A4,A5;
    hence p.x is DecoratedTree;
  end;
A8: now
    let n be Nat;
 .[o1,]y A1,NCT_1:8java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36
     <n*   iffn <card  by;
  end;
  reconsider p as   theArrows )o12java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
A9: len doms p = len p:38
  now
    let x be object;
    hereby
      assume that
A10:  x in dom t and
: x < {}
      reconsider r = x java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
      considerset 
      n being Element of NAT such       I=id thecarrier :    
A12:  r = <*n*>:  (the Arrows ofC2*the ObjectMapthus
:  <*  tby,TREES_1:domtheObjectMapofF=I1 F:ef1
      reconsider q as FinSequence;
java.lang.StringIndexOutOfBoundsException: Range [24, 7) out of bounds for length 30
      take nn  =[1,2]by A1,CART_1:java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
      e^<*n*> = <*n*> by A8;
      then <*n*> in AA4:   (the Arrows of C.(the ObjectMap of java.lang.StringIndexOutOfBoundsException: Range [0, 45) out of bounds for length 4
      hence 
then
      n+ indom  &ex k being Element  +1 java.lang.StringIndexOutOfBoundsException: Range [57, 1) out of bounds for length 73
        . <o1,o2^ by ALTCAT_1 java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 53
      thene
.=( )<**>byTREES_2def 10;
      hence q in (doms p).(nntake  A;
    end;
    assume
A14: x = {} or ex n being Nat
    len doms p  java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
    assume
A15Th31
then  n being Nat,q   for A being non empty AltGraph, o1,o2 A st <o1,2^< }
A16: n < len doms p and
(+ and
A18: x = <*n*>^q by A14,TREES_1:22;
  d 12
    n+1 in dom p & ex k being Element ofjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
correctness;
    then (doms p).(n+1) = A1:<o1,^> end;
      .= (dom t)|<*n*> by TREES_2:def
     reconsiderq as java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
  *letC1    , ,be 
    then <*n*>^q in dom t by TREES_1:def 6;
hencecontradiction A15,A18;
  end;
  
 p by TREES_3:ef 15;
;
  now
    let n be Nat;
    assume n < len p;
 mbeing Element ofNATs m1=+ &p(+) = t|* >
        by A4,A5,Lm3;
    hence t|<*n*> = p.(n+1);

  hence thesis by A19,TREES_4:def 4;
end;

registration
  let t be finite DecoratedTree;
  let pbe Node oft;
  cluster t|p -> finite;
  ;
end;

theorem Th9:
      s that
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 5
  let       ^oo>>{ ALTCAT_2 7java.lang.StringIndexOutOfBoundsException: Range [38, 39) out of bounds for length 38
p>}java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 8
  hence thesis;
end;

registration
  let D be non empty java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 17
  F-
  cluster -> finite for Element of S;
  coherence;
end;

begin :: Set of subtrees of decorated tree


   beDecoratedTreeA   ^> >}java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
 > 
the of all t| p  Node of ;

end;

registration
  let t be DecoratedTree;
  cluster Subtrees t -> constituted-DTrees non empty;

  proof
    set p0 = the Node of t;
    set S = the set of all t|p where p is Node of t;
    t|p0 inS;
    then reconsider S as    then reconsider S as 
    S is constituted-DTrees
    proof
      let x be object;
      assume x    consider f    the  
      then ex p being Node of t st x = t|p;
      hence thesis;
    end;
    hence thesisjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  end;
;

definition
  let D be being  ofthecarrierof ,the carriero 
lett be  of;uch 
  redefine func Subtrees t -> non empty Subset of Trees D;
  coherence
  proof
    Subtrees t =TreesD
    proof
      let x be object;
      assume x in Subtrees t;
then ex p Nodeof  st x = t|;
      hence thesis by TREES_3:def 7;
    end;
      =~:*gf:by :71java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36
  end;
end;


   be emptyset;
 lett efinite DecoratedTreeofD
  redefine func Subtrees t -> non empty Subset of. [:*,byFUNCT_371;
  coherence
  proof
    tc  
    proof
x java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 0
      assume       assume xlet     , emptyreflexive;
      then ex p being Node    proof
      then reconsider x as finite DecoratedTree of java.lang.StringIndexOutOfBoundsException: Range [0, 52) out of bounds for length 16
      dom x is finite;
hence : 8;
    end;
    hence java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 13
    pro
A3idomtjava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 42

registration
  let     considerfbeing         o1ofsuch
cluster-oft    
  coherence
  
    let x be Element of Subtrees t;
the set of p  tjava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
      p being Node of t st x =t|;
    hence thesis;
  end;
end;

reserve x for set,
  t,t1,t2 for DecoratedTree;

theorem Th10:
  x in Subtrees t iff ex n being       =~(:gg][f]  :java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42

theorem Th11:
  t in Subtrees t
proof
  reconsider  end;
  t|e = t by Th1;
  hence thesis;
end;

theorem
  t1 is finite & Subtrees t1 = Subtrees t2 implies t1 = t2
proof
  assume that
A1: t1 is finite and
A2: Subtrees t1 = Subtrees t2;
  reconsider t = t1 as finite DecoratedTree by A1;
  t1 in Subtrees t2 by A2    be feasible FunctorStr overC1,2,
  then consider n being Node  GbefeasibleFunctorStrC2,3;
A3: t1 = t2|n;
  t2 in Subtrees t1 by A2,Th11;
  thencoherence
A4: t2 = t1|m;
  dom (t1|m) = (dom t1)|m by TREES_2:def 10;
  then reconsider p = m^n as Element of dom t by A4,TREES_1:def        f= (idthe ArrowsofA.: <1o2^<{
    p A3A4    p1=( ofF)1),
  then dom t = (dom t)|p by TREES_2:def     = (the ObjectMap of F)(1,)` asElement ofC2 by MCART_1:java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
  then n = {} by Th9java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 21
  hence    [1,o2]in [the of C1,he carrier C:  ZFMISC_1:7java.lang.StringIndexOutOfBoundsException: Range [70, 71) out of bounds for length 70
    then

theorem
  for n being Node of t holds Subtrees (t|n) c= Subtrees t
proof
  let n be Node of t;
  let x be object;
  assume x in Subtrees (t|n);
  thenconsider beingNodeof t| such that
A1: x = (t|n)|p;
  A2: [o1] indom  ObjectMap of F by FUNCT_2: ;
  then reconsider q = n^p as Node ofA3:((he ObjectMap of F)(,2) =,2]by MCART_1:java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
  x = t|q by A1,Th3;
  hence thesis;
end;

definition
  let t be DecoratedTree;
 func FixedSubtreest - Subset of [dom,Subtrees t: equals
  the set of all [p,t|p]
  where p  Node of ;
  coherence
   then <^1,2^ <>{}by A1,Def11;
    set S = the    hence thesis by A4,Def11;
    S c= [:dom t, Subtrees t:];
    proof
      let x beend;
      assume x in S;
      then consider p being Node of t such that
A1:   x = [p,t|p];
      t| in t;
      hence thesis by A1,ZFMISC_1:87;
    end;
    hence thesis;
  end;
end;

registration
  let t be DecoratedTree;
  cluster FixedSubtrees >nonemptyjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
  coherence
  proof
     of t;
    set S = the set of all [p,t|p] where p is Node    be feasible,
    [p0,t|p0]G feasibleFunctorStrover C2,3,H be FunctorStr over C3,4;
    hence thesis;
  end;
end;

heorem
  x in FixedSubtrees t iff ex n being     =(he ObjectMap of *(the ObjectMap of G)the ObjectMapof Fjava.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69

theorem Th15:
  [{},t] in FixedSubtrees t
proof
  reconsider e = {} as Node of t by TREES_1the MorphMap of H**
  t|e = t   (the MorphMap of HG*he ObjectMap of F)*the ofF Def36
  hence thesis;
ndjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem
  FixedSubtrees t1 = FixedSubtrees t2 implies t1 = t2
proof
  assume FixedSubtreest1   t2;
  then [{},t1] in FixedSubtrees t2 by Th15;
  then consider n beingNodeoft2 such that
A1: [{},t1] = [n,t2|n];
   { = n &t1  t2|n by A1,TUPLE_0:;
  hence thesis by Th1;
end;

definition
let t be DecoratedTree;
  let C be set;
  func C-Subtrees t -> Subset of ((the MorphMap of G)*the ObjectMap of F   F by Def36
  {t|p where p is Node of     =(the MorphMapofH)*heObjectMapof GF*java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
  not p  Leavesdom t or t. in };
  coherence
  proof
    set . (the MorphMap  H)*ObjectMapof **theMorphMap  *by Def36
    W c= Subtrees t
    proof
       x e java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
      assume x   by A1;
      then
      ex p being Node of t st x = t|p & (not p in Leaves dom java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
      hence thesis;
    end;
    hence thesis;
  end;
end;

reserve C for  F be  FunctorStr over C1,C2   FunctorStrover C2,C3,

  o be beObject ofC1 holds (*)oA7:   thecarrier ofA={java.lang.StringIndexOutOfBoundsException: Range [30, 31) out of bounds for length 30
  x in C-Subtrees t   of A 
  in Leaves dom t or        (the MorphMap A.  ;

theorem
  C-ubtrees tis empty  t        dom(the  of idA
proof
  reconsider e ={as Node of t by TREES_1:22;
  hereby
     C-ubtrees t is empty;
    then
A1:   by FUNCT_2:def 1;
    then e in Leaves dom t;
    hence t is root & not t.{} in C by A1,Th4;
  end;
  assume that
A2:  thus (*)o =((he ObjectMap of G)the ObjectMap of F).o,))1by 
A3: not t.{} in C;
  ;
  then reconsider S = C-Subtrees t as non empty Subset of Subtrees t;
  set s = the Element of S;
  consider n being Node of t such that
  s = t|n and
 Leaves  t or . in C byTh17java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
:domt={}  A2,TREES_1:9;
  then n = {} by TARSKI:def 1;
:54;
  hence contradiction by A5,TARSKI:def 1;
end;

definition
  let t be finite DecoratedTree;
  let C be set;
  java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  for d being DecoratedTreest d in C-forp  FinSequence of
  Subtrees t st p = it.d holds d = (d.{})-tree p;
  existence
  proof
    defpred X[object,object]    be FunctorStr over C2,3  beObject C1;
    ex d being DecoratedTree, p being A1: dom(the MorphMap of G) = [:the carrierthe carrier ofC2]
    Subtrees t st p = $2 & d = $1 & d = (d.{})-tree p;
A1: for x being object st x in C-Subtrees t
       st y n( t)  X[,y]
    proof
      let    dom(he ObjectMap of F)by A1,ELAT_1:7
      assume x in C-Subtrees t;
      then reconsider s = x as Element of Subtrees t;
      reconsider d = s as DecoratedTree;
      consider sp being Node of t such that
A2:   s = t|sp by Th10;
      beingset,p being DTree-ielding   that
A3:   s = z-tree p by Th8 dom(the MorphMap of F) =[the carrier of thecarrier of C1:
      rng p c= Subtrees t
      proof
        let x be object;
A4:     dom (t|sp) = (dom t)|sp by TREES_2:def 10;
 rng p;
        then consider k being Nat such that
 p.(+1) Lm4java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
         Elementof NAT by ORDINAL1
        reconsider e = {} as Node of s  
A6:     x = s|<*  :[o,]in dom((he MorphMap of G)the ObjectMap ofF*the MorphMap ofF
        <*k*>^e  byPBOOLEdef19;
        then <*k*> in dom s by A3,A4: ((the MorphMap of G)*the ObjectMap.oojava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
        reconsider q = p<k* as Node of t by A2,A4,REES_1:def 6;
        x = t|q by A2,A6,    .= Morph-Map(G,F.o,F.o) b;
        hence thesis;
      java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
      then reconsider p as FinSequence of Subtrees t by FINSEQ_1:def 4;
      reconsider      Ais   cases;
      take    .       Ais  ;
      thus y in (Subtrees t)* by FINSEQ_1:def 11;
      take d, p;
      thus thesis by A3,TREES_4:def 4;
    end;
    consider f being Function such that
A7: dom f A of he of ,
    st x in( *ObjectMap A;
t)* by ,FUNCT_2:ef
,RELSET_1:4;
    take f;
    let d DecoratedTree            =the  of  A;
    assume  clusterlet i be ;
    then
    ex d9 being DecoratedTree, p being FinSequence of Subtrees t st p = f
    .d & d9 = d & d9 = (d9.   let  be Objecto C1;
    hence thesis;
  end;
  uniqueness
  proof
       java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 58
A8     (theArrows)the ObjectMap of F)[ojava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
 of Subtrees   p = f1. holdsreconsider  of ;
DecoratedTreeD:[,]in[the  .(  )...o 
    f2.d holds d = ( d.{})-tree pA12  .<.F>  1
    now
         ;
      assume
A9:               =( .) java.lang.StringIndexOutOfBoundsException: Range [51, 1) out of bounds for length 67
reconsider Element of tjava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
Element t*by theFisof ,
FUNCT_2:5;
      s=(     of )the  ofF  ;
      hence f1.x = f2.x by TREES_4:15of (heArrows ofC1.oo,
    end;
     ((he  ofC2)the ObjectMap of F).[o,o] by A1,:def 15;
  end;
end;

 : Set of subtrees of set of decorated tree

definition
  let X be constituted-Trees non empty set;
  func Subtrees X -> set equals
  the set of all t| where t is  of X, p is Node of ;
  coherence;
end;

registration
  let X be constituted-      . MorphMap(,.-ap(F,).mo A3A19
        ;
  coherence
  proof
    set S = the set of all t|p where t is Element of X, p is Node of t;
p0hen
    t|p0 in S;
     reconsider  emptysetjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
    S is constituted-DTrees
    proof
      let x be object;
      of[the  ,java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 71
       ex   let reflexive
      hence thesis;
    endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    fis   ofA,java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
  end;
end;

definition
  let D   empty ;
  let X be non empty Subset of Trees D;
  redefine func Subtrees X -> non empty Subset of Trees D;
  coherence
  proof
      c  java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
    proof
      let x be object;
      assume x in Subtrees X;
      
      ex t being Element of X, p being Node ofl i setjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
      Trees D)|p;
      hence thesis by TREES_3:def 7;
    end;
    hence thesis;
  end;
end;

definition
  let D be non empty set;
  let X be non empty Subset of FinTrees D;
  redefine func Subtrees X -> non empty Subset of FinTrees D;
  coherence
  proof
    Subtrees X c= FinTrees D
    proof
      let x be object;
      assume x in Subtrees X;
      then
      ex t being Element of X, p being Node of t st x = ((t qua Element of
      FinTrees D) qua DecoratedTree of D)|p;
      then reconsider x as finite DecoratedTree of D;
      dom x is finite;
      hence thesis by TREES_3:def 8;
    end;
    hence thesis;
  end;
end;

reserve X,Y for non empty constituted-DTrees set;

theorem Th19:
  x in Subtrees X iff ex t being Element of X, n being Node of t st x

theorem
  t in X implies t in Subtreeshence id
proof
  assume t in X;
  thenend;
  reconsider e = {} as Node of
  t|e = t by Th1;
  hence thesis;
end;

theorem
  X c= Y implies Subtrees X c= let C1 be non empty AltGraph, C2,C3 be java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70

  assume
 :ef36java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
  let x be object;
  assume x in Subtrees X;
  then java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 11
A2: xcorrectness;
ment ofY A1;
  reconsider p as Node of t;
  x = t|p by A2;
  hence thesis;
;

registration

  cluster {t} -> constituted-DTrees;
  14java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
end;

theoremasof ,java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 19
  Subtrees {t by ;
proof
  hereby
    let x be object;
    xint;
henconsideru being Element ofholds( C1. } (Arrows*)ii ={
A1: x = u|p;
     TARSKI:ef 1;
    hence x in Subtrees t by A1;
  end;
     F&ofit  "( java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 73
java.lang.StringIndexOutOfBoundsException: Range [22, 2) out of bounds for length 25
  then t       reconsider o1     OF  he  of ;
        ii  o]    F is injective byinjectivey ;
end;

theorem
      then
proof
  hereby
    let x be object;
    assume x in Subtrees X;
thenconsider     such
A1: ex p being Node of t st x = t|p;
    Subtrees t in the set of all Subtrees s where s is Element of X
&      
    hence
 setof all Subtrees  java.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 44
TARSKI:def 4;
  end;
  let x be object;
  assume x in union the set of all Subtrees s where s is Element of X;
then considerY    that
A2: x in  and
A3: Y in the set of all Subtrees s where s is Element of X by
TARSKI:def 4;
  consider t being Element of X such that
A4: Y = Subtrees t by A3;
  ex p  by A2,A3,FUNCT_2:29
  hence thesis;
end;

definition
  let X be constituted-DTrees non     by ALTCAT_2:;
  let C be set;
  func C-Subtrees X -> Subset of Subtrees X equals
{| where  is Element 
  X, p is Node of t: not p in Leaves dom t or t.    takeG=FunctorStr(OMM#;
  coherence
  proof
    set W = {| where t is Elementof X, p is     
    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [16, 4) out of bounds for length 19
    proof
      let x be object;
      assume x in W;
      then ex t being Element of X, p being Node of t st x = t|p & (not p in
      Leaves dom t or t
      hence thesis;
    end;
    hence thesis  for A,B being transitive with_units non emptyA,
  end;
end

holds"isbijectivefeasible
  x in C-Subtrees X iff ex t java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 5
  st x = t|n & (not n in Leaves dom t or t.n in C);

theorem
  - 1 the ObjectMapof F [ff:;
  not t.{} in C
proof
  hereby
    assume
A1:-Subtrees X is emptyjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    let t be Element of X;
    reconsider A:h=the MorphMap of F and
A2: not t|e in C-Subtrees X by e ObjectMap of F) by A1,Def38java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
    then e in Leaves dom t;
    hence t is  
  end;
  assume
A3: for t being Element of X holds t is root & not t.{} in C;
  assume C-Subtrees X is not empty;
 then reconsider S = C-Subtrees X as non empty Subset of Subtrees X;
  set s = the Element of S ,the java.lang.StringIndexOutOfBoundsException: Range [0, 44) out of bounds for length 33
   Element,n being Node of tsuchthat
  s = t|n and
:not n in Leaves dom t     of *F theG*ObjectMapF  Def36
  reconsider e = {} as Node of t by  java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 59
  t   (the  B)(the Arrows of )the ObjectMap of  by Def4;
  then
A5: dom t = {{}} by TREES_1:29;
  then n = {} by TARSKI:def 1;
  then e^<0>in domt by A3,4,REES_1:54;
  hence contradiction by A5,TARSKI:def 1;
end;

theorem
  C-Subtrees {t} = C-Subtrees t
proof
  hereby
    let x 
    assume x in C-Subtrees {t};
    then consider u being Element of {t}, p being Node of u such that
A1: x = u|p &( not p in Leaves dom u or u.p in C);
    u = t by TARSKI:def 1;
    hence x    java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 39
  ;
  let x be object;

  then
;
  .p in C) by TARSKI:def 1;
  hence thesis;
end;

theorem
  C-Subtrees X = union the set of all C-Subtrees t where t is Element of X
roof
  hereby
    let x be object;
    assume x n-Subtrees X;
    then consider t being Element of X such that
A1: ex n being Node of t st x = t|n & (not n in Leaves dom t or t.n in C);
    C-Subtrees t in the set of all C-Subtrees s where s is Element of X
  x in-Subtreest  A1;
    hence x in union the set of all C-Subtrees    g =h".(he ObjectMap of ).i) by A9,A13A14,FUNCT_1:3
   byTARSKI:ef 4;
  end;
  letx object;
  assume x in union the set of all   ;
  then consider Y being set such that
A2: x in Y and
:Y in the set of all -    is  of Xby
TARSKI:def 4;
  consider t being Element of X such that
A4: Y = C-Subtrees t by A3;
  ex p being Node of t st x = t|p & (not p in Leaves dom t       ;
A;
   thesis;
end;

definition
  let X be non java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 8
A1: for t being Element of X holds t is finite;
  let C be set;
  func C-ImmediateSubtrees X -> Function of C-Subtrees X, (Subtrees  then   of F). in ((he ObjectMapof F)  :def 3
  for d being DecoratedTree java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 13
  Subtrees X st p = it.d A20:(he ObjectMap of F     ofGisby;
  existence
  proof
    defpred X[object,object]    then of G)i)in dom  byA,: ;
    ex d being DecoratedTree, p being FinSequence of
    Subtrees X st =$ &d =$ &d = (.})tree p;
A2: for x being object st x in C-Subtrees X
     ex y being object st y in (Subtrees X)* & X[x, y]
    proof
      let x be object;
            assumesider g Function     ,the C3
      then reconsider s = x as Element of Subtrees X;
      reconsider d = s as DecoratedTree;
      consider t  Element  ,sp  Node tthat
A3:   s = t|sp by Th19;
      t is finite by A1;
      then consider  being set,pbeingDTree-ielding FinSequence suchthat
A4:       set  t  ofG).;
      rng p c= Subtrees X
proof
        let x be object;
A5:     dom (t|p =(om t)spby TREES_2:ef 10;
        assume x in rng p;
        then consider k being Nat such that
len p &x =p.(k+)by Lm4;
        reconsiderkas Element  y  reconsidero1,2asObject A
        reconsider e = {}A24 
A7:     x = s|       theArrowsof ).>{java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
        <*k*>^e = <*k*> by FINSEQ_1:        <*k*>^e = <* >{byALTCAT_1def1;
  then <k* in  sby A4,A6,A7,REES_4:11;
        then reconsider q = sp      (the *ObjectMapof F)j < {by A2,20,java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
        x = t|q by A3,A7,Th3;
        hence thesis;
      end;
      then reconsider p as FinSequence of Subtrees X by java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 47
      reconsider y = p as set;
      take y;
      thus y in (Subtrees X)* by FINSEQ_1:def 11;
      take d, p;
      thus thesis by A4,TREES_4:def 4;
    end;
    consider  Function such 
A8: dom f = C-Subtrees X & rng     benon  java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 70
    st x in C-Subtrees  let     over C1,2,
    reconsider f as Function of C-Subtrees X, (Subtrees X)* by A8,FUNCT_2:def 1
,RELSET_1:4;
akef
    let d be DecoratedTree;
    assume d in C- ;
    then
    ex d9 being DecoratedTree, p being FinSequence of Subtrees X st phence (.)= dom(.(he ObjectMap of G).)by A2,21,UNCT_1:3
    . & d9 =  d9 =(9.}-  by;
    hence thesis;
        . ((the Arrows of A)the ObjectMapof G). by A18,UNCT_1:
  uniqueness
  proof
letf1 f2 be Function of C-ubtrees ,( X)  that
A9:     . AA by FUNCT_2:def 1;
    FinSequence of Subtrees X st  o1,2 be Object of B;
DecoratedTree st   assume <^o1,o2^> }java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
    f2.d holds d = ( d.{})-tree pA25 (heArrows of B)(1,2)>{ ALTCAT_1d java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
    
      let x be object;
      assume
:inC Xjava.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
 X;
      reconsider p1 = f1.s, p2 = f2.s as Element java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 34
FUNCT_2:5;
     s =(.}-p1   s.{)tree p2  ,;
      hence f1.x = f2.x by TREES_4:15;
      correctness
    hence f1 = f2 by FUNCT_2:12;
  end;
end;

registration
  let t be Tree;
  cluster empty for Element of t;
 existence
  proof
    {}in t by TREES_1;
    hence thesis;
  nd
end;

theorem
  for t being finite DecoratedTree, p being Element of dom t holds len
  succ(t,p) = len (p succp,]isFunctionof (he  )[1p2,
proof
  let t be finite DecoratedTree, p be Element of dom t;
  ( ex q being Element of dom t st q = p & succ(t,p) = t*(q succ))& rng (p
  succ) c= dom t by Def6;
  hen dom succ(,)=dom ( succ) by RELAT_1:7;
  hence thesis by FINSEQ_3 . (the Arrowsof B)[1,]by ,31,FUNCT_113java.lang.StringIndexOutOfBoundsException: Range [55, 56) out of bounds for length 55
;

Th29java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
java.lang.StringIndexOutOfBoundsException: Range [7, 2) out of bounds for length 65
  of tree p holds card succ n = len p
proof
java.lang.StringIndexOutOfBoundsException: Range [39, 2) out of bounds for length 70
  assume
:notthesis;
  per cases by A1,XXREAL_0:1;
  suppose
ardsucc n <lenp;
    then (card succ n)+1 in dom p  let A, be transitive with_units non empty AltCatStr,
     n)+)finite Tree by TREES_3:3;
A3: n^<*card succ n*> = <*card succ n*> by A1:  bijective*
    n inA2: F is coreflexive;
henn^<card succ n* in tree(p)by A2    ObjectMap  Gjava.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
    then n^<*card  let o be Object Bjava.lang.StringIndexOutOfBoundsException: Range [23, 24) out of bounds for length 23
  hencecontradiction by Th7;
  end;
        .=~([g:]*[f: y :ef ;
    card succ n > len p being java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 40
    thenA5: o = . by A2,Th20java.lang.StringIndexOutOfBoundsException: Range [23, 24) out of bounds for length 23
    then n^<*len p*> in tree(p);
en<len p*  tree()by FINSEQ_1:4;
    then consider i being Nat, q being java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 6
A4: i < len p and
    q in p.(i+1) and
A5:<len * =<i*^ by def15;
    len p = <*len p*>.1
      .= i by A5,FINSEQ_1:41;
hence contradictionby A4java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
  ndjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
nd;

theorem
  for t being finite DecoratedTree, x being set, p being   theObjectMapof G.oo)
= (the ObjectMap java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
  = roots p
proof
let t be finite DecoratedTree, x be set;
  let p be DTree-yielding     .= [G.o,G.o] by A5,A7,A8,FUNCT_1:18
A1: t = end;
  let n be empty Element of dom t;
A2: len doms p = java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 13
  now
    let x be object;
    assume x in dom   F being feasible reflexivid FunctorStr overAB
    then consider i being Nat     is bijective coreflexive id-reserving
A3: x = i+1 & i < len p by A2,Lm1;
    reconsider i as Element of NAT by ORDINAL1:def 12;
A4: p.x = t|<*i*> by A1,A3,TREES_4:def 4;
    n in dom (t|<*i*>) & <*i*>^n = <*i*> by FINSEQ_1:34,TREES_1:22;
    then reconsider ii = <*i*> as Node of t by A1,A3,A4,TREES_4:11;
    x in dom p by A3,Lm3;
    then (doms p).x = dom (t|ii) by A4,FUNCT_6:22;
    hence (doms p)x is finite Tree;
  end;
then reconsider dp =doms p as FinTree-ielding FinSequence :;
A5: dom t = tree dp by A1,TREES_4:10;
A6: ex q being Element of dom t java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 13
  rng (n succ) c= dom t;
  then dom A2: the ObjectMap G = (the ObjectMap F"by A1,Def38java.lang.StringIndexOutOfBoundsException: Range [59, 60) out of bounds for length 59
  then
A7: len succ(t,n) = len (n succ) by FINSEQ_3:29;
  then
A8: len succ(t,n) = card succ n by Def5
    .= len p by A2,A5,Th29;
A9: now
    let i be Nat;
    assume
A10: i < len p;
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
    i+1 in dom p by Lm3,A10;
    then
A11GC3java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
    roots p). cluster * - java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
    p.(i+1) = t|<*  F is faithful by A
    then
A12: (roots p).(i+1) = t.(<*A7  MorphMap Fis "-;
    i+1 in dom succ(   issurjectiveA1java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
    then succ(t,n).(i+1) = t.((n succ).(i+1)) by A6,FUNCT_1:12
      .= t.(n^<*i*>) by A7,A8 ex fbeingManySortedFunction the   A)
      .= t.<  (the  )the ObjectMapof  st
    hence succ(t,n).f= the MorphMap ofF&f "nto;
  end;
 dom roots p=dom p by TREES_3def18;
  then len roots p = len p by FINSEQ_3: o,]in [thecarrier of B,the carrier of A10: [o,o] in [:the carrier of B,the carrier of B
  hence thesis by A8,A9,Lm2;
end;

registration
  let T be finite-branching DecoratedTree, t
     (the ObjectMap ofF)the ObjectMap of H),]by 
  coherence
  proof
    let x be Element of dom (T|t);
A1: dom (T|t) = (dom T) | t by TREES_2:def 10; then
xin dom)  thenconsider being Functionofthe carrier of 1 hecarrierfC2
    reconsider tx = t^x as Element of dom T     A1 the ObjectMap of F =[ff:;
        =(d[:he carrier of B,the carrier of B:)[,o]by FUNCT_2:def 1
    then succ tx,succ x are_equipotent by A1,TREES_2:37;then
      x=card succ tx by CARD_1:5;
    hence thesis;
  end;
end;

theorem
  for t java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 6
  q being Node of   F being feasible FunctorStr over A,B st  F being feasible FunctorStr over A,B st 
proof
  let t be finite-branching DecoratedTree, p be Node of t, q be Nodeproof
:dom (t|) =(om t)p by REES_2def 10;
  then reconsider  
q  
  dom t =A1 ^,o2^> <> {}
  then succ pq   (( ObjectMap of )(,o2)),
  then
: card succ q = card succ pq by CARD_1:5;
A3: ex r being Element of dom (t|p   F is one-to-ne;
    th
  rng (q succ) c= dom (t|p)A2 the ObjectMap of F is one-o-one;
  then
A4: dom succ(t|p,q) = dom (q succ) by A3,RELAT_1:27;
A5: ex q being Element of dom t st q = pq &then
  rng (pq succ) c 3:the ObjectMap ofF isonto;
  then
A6: dom succ(t,pq)=dom pq succ by A5,RELAT_1:7;
A7: len (q succ) = card succ q by Def5;
) =     ;
  then
A9: dom (pq succ) = dom (q succ) by A7,A2,FINSEQ_3:29;
  now
    let i be Nat;
    assume
A10: i in dom (q succ);
    then consider k being Nat such that
A11: i = k+1A6:dom(")= rng  :;
A12: k < len (q succA7 ()=dom fbyA5FUNCT_133java.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37
A13: q^<*k*> in succ q by A7,A12,Th7;
       [f,f:]= : ,rng: byFUNCT_3:7;
    thus succ(t,pq).i =   of B by A8,FMISC_1:2;
      .= t.(pq^<*k thenreconsider g = f"as Function of thecarrierof B,the carrier ofA
      . .p^(^**>)by FINSEQ_1:2
      .= (t|p).(q^<*k*>) by A1,java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 9
      .= (t|p).((q succ).i) by A11,A12,Def5
      .= succ(t|p,q).i by A3,A4,A10,FUNCT_1:12;
  end;
  hence thesis by A9,6,A4;
end;

begin :: Moved from QC_LANG4, 2010.03.17, A.T. t java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 13

 java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
 being q 
  FinSequence st q = r|Seg n   "is Contravariant
proof
  let n be Nat, r be FinSequence;
  r|Seg n is FinSequence by FINSEQ_1:15;
  then consider q being FinSequence such that
A1:q =r|eg ;
  q is_a_prefix_of r by A1,TREES_1:def 1;
  hence thesis by A1;
end;


  for D being non empty set, r being FinSequence of 
,kbeing  k+< r   |(+  = 
| kholds ex x being Element of D st r1 =java.lang.StringIndexOutOfBoundsException: Range [0, 49) out of bounds for length 6
proof
  let D be java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 7
  Nat;
  assume that
A1: k+1 <= len r and
A2: r1 = r|Seg (kA3:   Fis ontojava.lang.StringIndexOutOfBoundsException: Range [31, 32) out of bounds for length 31
A3: r2 = r|Seg k;
  k < len r by A1,NAT_1:13;
  then
A4: len r2 = k by A3,FINSEQ_1:17;
  r2 is_a_prefix_of r by A3,TREES_1:def 1;
  then
java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 23
  then reconsider r99 = r2 as FinSequence of D by   
  r1 A5: fi one-o-ne by;
  then
A6then
  then reconsider r9 A:dom(f"    by FUNCT_1:3;
 lenr1  + java.lang.StringIndexOutOfBoundsException: Range [19, 2) out of bounds for length 37
A8:now
    assume r9 is_a_prefix_of r99;
    then k+1 <= k+0 by A7,A8:rng:theHG (ofHG* FbyDef36
    hence   rng[:f,f:] [:fr f]byFUNCT_367;
  end;

  then r99 is_a_prefix_of r9 by A8;
  then consider s being FinSequence such that
A9: r9 = r99^s by TREES_1:1;
  reconsider s as FinSequence of D by A9,FINSEQ_1:36;
A10: len s = 1
  proof
    consider m being Nat such that
A11: m = len s;
    k + 1 = k   thus the ObjectMap of F"= (he ObjectMap ofF"by A1,ef38
    hence     . ~[g,,A9;
  end;
  java.lang.StringIndexOutOfBoundsException: Range [27, 10) out of bounds for length 32
A12  the MorphMapofHGF
    1 TARSKI ;
then 1 in dom sby A10,FINSEQ_1:,ef 3;
  then
: x in rng   ( java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 51
s= <x* byAA12Fjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
   thesis A9,13;
end;

theorem Th34:
  for D being non empty set, r being FinSequence of D, r1 being
FinSequence st 1 <= len r & r1 = r|Seg 1 holds ex x being Element of D st r1 =
  <*x*>
proof
 r be FinSequence of D, r1 be FinSequence
  assume that
 len 
A2: r1 = r|Seg 1;
  consider x being set such that
A3: x=r1.;
  1 in {1} by TARSKI:  reconsider H =G as feasible reflexive over,AbyA1,Th35,h36;
  then 1 A3:the ObjectMap of G =(he ObjectMap  F)" byA1,;
  then
A4: x in rng r1 by A3,FUNCT_1:def 3;
  len r1 = 1 by A1,A2,FINSEQ_1:17;
  then
A5: r1 = <*x*> by A3,FINSEQ_1:40;
;
 then exq1  FinSequencest r =r1^ byTREES_1:
  then reconsider r9A5:the MorphMap of G =f"*theObjectMapofF"by A1,ef38;
  rng r9 c= DF is injective byA1;
  hence thesis by A5    =( Ffaithfuljava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

eTforDecoratedTree,
  p for FinSequence of NAT;

theorem
T =Tp.java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
proof
  <*>NAT in (dom T)|p by TREES_1:22;
<*>NAT  : 10
    .= T.p by FINSEQ_1:34;
  hence thesis;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

  for DecoratedTreejava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
tA10:[1,] :   B,carrier B]y ZFMISC_1:;
  x for FinSequence,
  n, m for Nat;

theorem Th36:
  succ(T,t) = T*(t succ)
proof
  let  be non empty AltCatStr C2,3 non  reflexiveAltCatStrjava.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
   thesis;
end;

theorem Th37:
  dom (T*(t succ)) = dom (t succ)
proof
  rng (t succ) c= dom T;
   by RELAT_1:7;
end;

theorem Th38:
  domo] in  the ObjectMap of ZFMISC_187;
proof
thusdom succ(,t)   (*t ))by 
    .= dom (t succ) by Th37;
end;

theorem Th39:
  t^<*n*> in dom T iff n+1 in dom (t succ)
proof
  now
    assume t^heorem Th34:
    then t^<*n*> in succ t;
    then n < card succ t by Th7;
    then  len (t )by Def5
    then
A1: n+1 <= len (t succ) by NAT_1:13;
    0+1 <= n+1 by XREAL_1:6;
thenn1 in Seglen tsucc)by A1,FINSEQ_1:1;
    hence n+1 in dom (t succ) by FINSEQ_1:def 3;
  endproof
  hence t^<*n*> in dom T implies n+1 in dom (t succ);
  assume n+1 in dom (t succ);
  then n+1 in Seg len (t succ) by FINSEQ_1:def 3;
  then n+1 <= len (t succ) by FINSEQ_1:1;
  then n < len (t succ) by NAT_1:13;
  then n < card succ t by Def5;
  then t^<*n*> in succ t by Th7;
  hence thesis;
end;

theorem Th40:
  for T, x, n st x^<*n*> in dom T holds T.(x^<*n*>) = succ(T,x).(n +1)
proof
    =:carrier theofC1:]by FUNCT_2def;
  assume
A1: x^<*n*> in dom T;
    x<n*  REES_11java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
  then x in dom T by A1,TREES_1:20;
  then consider q being Element of dom T such that
A2: q = x and
A3:   [o  domtMorphMapG* ofFjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
A4:letbeid java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 47
  then n+1 in Seg len (q succ 
  then n+1 <= len (q succ) by FINSEQ_1:1;
  then
)  :;
  n+1 in dom (T*(q succ)) by A4,then [o    of F by FUNCT_2:def 1;
  then succ(T,x).(n+1) = T.((q succ).(n+1)) by A3,FUNCT_1:12
    .= T.(x^<*n*>) by A2,A5,Def5;
  hence thesis;
end;

reserve, forElementofTjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
  y9 for set;

theorem
x9 in succ  implies  in succ(,xjava.lang.StringIndexOutOfBoundsException: Range [44, 45) out of bounds for length 44
proof
  assume x9 in succ x;
  then consider n such that
:=x^*
  x^<*n*> in dom T;
: T.9 =(succ(,).n+) by     -(oo  of(Arrows.,,
succTx)  ((*ObjectMap )[java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
    .= dom  =(he Arrows of A)(the ObjectMap of HA3:domMorph-,o  (he Arrows C1)oo  ,1
      .= (the Arrows of A).(H.o1,H.o2) by A2,Th22
  hence thesis java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 59
  


cc,)  =T&x9 in 
proof=idm (  the Arrows of B of, A*ofGDef4java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
  consider k java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 4
A1: dom succ(java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
 Tx;
  then consider let B be non empty  A;
A2: n9 in dom succ(T,x) and
A3: y9 = (succ(T,x)).n9 by FUNCT_1:def 3;
  Seg k = {  correctness .<o>:f1
  then consider m9 being Nat such that
A4: n9 = m9=f"(the ObjectMap of G)(1,2) by java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
5  < m9and
  m9 < . Morph-ap(,.o1,.2) A4,6A7AMSUALG_3:ef 4;
  m9   thus Morph-ap(,G.1,G.2)Morph-ap(,,o2)m)
  then consider n being Nat such that
A6: n+1 = m9 by NAT_1:6;
  reconsider n as Nat;
  n+1 in dom (x succ) by A2,   =id,).  ,  :
java.lang.StringIndexOutOfBoundsException: Range [13, 2) out of bounds for length 32
  end;
A7   <*;
A8 the B* java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 41
 .by,,,A7_ emptyjava.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 58
  hence thesis by A8;
end;

reserve n,k1,k2,l,k,m for Nat,
  x,y for ;

scheme
ExDecTrees{ D() -  empty :OF  one--;
  ( :
 ex T being finite-branching DecoratedTree of D() st T.{}
  = d() & for t being Element of dom T, w java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 13
  succ(T,t) = G(w) proof
  defpred P[object,object] means
( G1    2={) (>   m
  st m+1 = len G($1) & $2 = {0} \/ Seg m;
) ex beingobject st P[x,]
  
object suchthat
    x in D();
    per cases;
java.lang.StringIndexOutOfBoundsException: Range [34, 11) out of bounds for length 11
      len G    by A2,3,UNCT_229
      hence thesis;
    end;
    suppose
      len G(A6: the Morph of F then f""*OM is ManySortedFu   Arrows  ,tArrowsof )
      then  Fis surjective  ;
A2:       thejava.lang.StringIndexOutOfBoundsException: Range [11, 6) out of bounds for length 17
m Natjava.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
      ex y st y =take=(OMMM)
      hence thesis of G = OF";
    end;
  end;
thus
  for x being object st x in D() e;
  from CLASSES1:sch 1(A1);
  then consider F being Function such that
A3: for x being object
   st x in D() holds len G(x) = 0 & F.x = {} or len G(x) <> 0 &
  ex m st m+1 = len G(x) & F.x = {0} \/ Seg m;
  deffunc F(set) = F.$1;
A4: for k,x st x in D() holds k in F(x) iff k+1 in Seg len G(x)
  proof
    let k,x such that
A5: x in D();
    now
      assume
A6:     for ABbeing non ,
      then consider m     over,B  
  m+  len G(x)and
A8:   F.x = {0} \/ Seg mjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
      = m
      proof
0:def 3;
        suppose
          in {}
          then k = 0 by TARSKI:def 1;
          A10: [o1,o2] in:he carrier of B,he   : ZFMISC_187;
        java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 6
        
A9:       k in Seg m;
          thus thesisby ,INSEQ_1:;
        end;
      end;
       0+1 < k+ &k+ <=m+1 by XREAL_1:6;
      hence k+1 in Seg len G( then [.2,.1]in dom the MorphMap of F by ZFMISC_1:87;
    end hen
    hence k in F(x) impliesA12:Morph-ap(,.2,.1)is one-o-ne by A6java.lang.StringIndexOutOfBoundsException: Range [48, 49) out of bounds for length 48
    assume
A10: k+1 in Seg len   java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 63
    then len G(x) <> 0;
    then consider m such that
A11: m+1 = len G(x) and
A12: F.x = {0} \/ Seg m by 1: ;
    k in {0} \/ Seg m
    proof
      per cases;
      suppose
         0;
        then    . Morph-ap(,G.2,.) by A4,6,7,9,java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 6
 by XBOOLE_0consider  beingbeing ManySortedFunction of the  of A)
      end;
      suppose
        k <> 0;
        then <k;
        then
13:   0+ < k by NAT_1:3;
        k+1 <= len G(x) by A10,FINSEQ_1:1;
        then k <= m by A11,java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 4
        then k java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
        hence thesis by XBOOLE_0:def 3;
      end;
    end;
    hence thesis by A12;
  end;
A14: for x being set, t being Element of dom T st x in D() holds { t^<   is bijective comp-reserving Covariant 
  k in F(x)} = { t^<*m*>: m+1 in Seg len G(x)}
  proof
that
A15: x in D();
thus {t^**:k in F()}c= {t^<m*:m+ in Seg len G()
    proof
      let y be object;
      assume y in { t^<*k*>: k in F(x)};
      then consider k such that
A16:  t<k>and
A17:  kthe ObjectMap of  = (the  F"by A1,Def38;
      k+1   consider ff being ManySortedFunction of(Arrowsjava.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
      hence thesis by A16;
    end;
    thus {A5:the MorphMap of  =ff"*the ObjectMap of F)"by A1,Def38;
    proof
      let y beA6:F is injective by A1;
      assume y in    -o-ne;
      then consider
A18:  y = t^<*A7  ObjectMapofF isonetoone;
A19:  m+1 in Seg   isf A6;
      m in F(x) by A4,A15,A19;
      hence thesis by A18;
   ;
  end;
  defpred P[set,set] means ex x,n st x   is surjective byA;
  G(x thenFis ulljava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
A20: for c being Element: ex f being ManySortedFunction    of(Arrows )
  proof( Arrows of B)the ObjectMap of F st
    let c    =theMorphMapof F &fis "nto"
    c`1 in Dlet o1,2,o3 be Object of B;
    then consider x being  then
A21: x = A10 ^o1,^ < }java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
A22: c = [x,n] by A21,MCART_1:21;
    per cases;
    suppose
A23:  n in F(x);
      then n+1 in Seg len G(x) by A4;
thenn+injava.lang.StringIndexOutOfBoundsException: Range [21, 18) out of bounds for length 45
      then
A24:  G(x).(n+1) in rng G(x) by FUNCT_1A14:<^1o^ >{  A10,
      thus thesis by A22,java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 6
    end;
    suppose
      not n in F(x);
      hence thesis by A22;
    end;
  end;
  ex S being Function of [:D(),NAT letfbeMorphismof o1o2,gbe Morphismof ,o3java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
  NAT:] holds P[c,S.c] from FUNCT_2:sch 3(A20);
  S [ ()NAT:,) 
A25: forthen reconsider  =   =:carrierB,of]
  K  (,o3 A12Def15
    reconsider Morph-ap(,2,3)g as  of GoG.3java.lang.StringIndexOutOfBoundsException: Range [69, 70) out of bounds for length 69
    (Arrowsof)the )theofG ;
A27: m+1fis"1-"
A28: x in D();
    thus n in F(x) thus f9 = Morph-Map(G,o1.;
    proofg9=Morph-ap(oo)g;
A29:  ex k st k+java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
      assume
A30:  n in F(x);
      per casesbyA27,30,29,BOOLE_0def 3;
      suppose
        n in {0};
        thenn    def;
        hence thesis;
      end;
      suppose
A31:    n in Seg m;
        thus thesis by A31,FINSEQ_1:1;
      end;
    end;
   <=&n< implies  in(x
    proof
      assumethat
      0 <= n and
A32:  n <= m;
     1   x=0 /kb A27
      per cases;
      suppose
        n = 0;
        then n      (( ofG A2PARTFUN1def 2java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
        hence thesis by A21: h.((the ObjectMap of G one- A8java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
     ;
      suppose
        (Arrows ) F)j,, 15
        then 0 < n;
        then 0+1 <= n by NAT_1:13;
        then n in Seg m by A32,FINSEQ_1:1;
        hence thesis by A27,A33,XBOOLE_0:def 3;
      end;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8

A34: for d being Element of D  ^o2>>{ ALTCAT_1 1
  F(d)then( B.(ObjectMap)(o) >{b 
  proof
letdbeElement D) k;
    assume that
A35: k1 <= k2 and
A36: k2 in F(d);
    ex m st m+1 = len G(d) & F.d = {0} \/ Seg m by A3,A36;
    mthat
A37: m+1 = len G(d);
    k2 <=     rng(.)=h(G.)33
    then 0 <= k1 & k1 <= m by A35.the A(ObjectMap G. A22: 1
    hence thesis by A26,A37;
  end;
  consider   java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
>:
k in F(T.t)} & for n st n in F(T.t) holds T.(t^<*n*>) =     =AA  : java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
  sch 8(A34);
  for t being Element of dom T holds succ t is finite
  proof
       let  be Element of dom ;
    defpred P[set,object] means ex m st m+1 = $1 & $2 = t^<*m*>;
A39: for k be Nat st k in Seg len G(T.t) ex x being object st P[k,x]
    proof
      let k be Nat;
      k   GT.)java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
      then k <> 0 by FINSEQ_1:1;

A40:  m+1 = k by NAT_1:6;
      reconsider m as Nat;
      ex x st x = t^<*m*>;
      hence thesis by A40;
    end;
    ex L being FinSequence st dom L = Seg len G(T.t) & for k be Nat st k
    in Seg len G(T.t) holds P[k,L.k] from FINSEQ_1:sch 1(A39);
    then consider L being FinSequence such that
A41: dom L = Seg len GA30:[p1p2] AA  ZFMISC_1:87;
A42: for k be Nat st k in Seg len G(T.t) holds P[k,L.k];
A43 kst =+ + =Tt java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 66
    proof
      let k;
      assume 1 <= k+1 & k+1 <= len G(theArrowsof )*the   F).p]by A30,BOOLEdef 
then+in  GTt FINSEQ_11java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
      (k+)=t^** java.lang.StringIndexOutOfBoundsException: Range [56, 57) out of bounds for length 56
       thesisjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
    end;
A44: succ t = { t^<*k*>: k in F(T.t)} by A38;
    succ t c= rng L
    proof
      let x be object;
      assume x in succ t;
      then consider k such that
A45:  x = t^<*k*> and
A46   in(T)by
A47:  k+1 in Seg len G(T.t) by A4,A46;
      then 1 <= k+1 & k+1 <= len G(T.t) by FINSEQ_1:1;
      then L.(k+1) = t^<*k*> by A43;
      hence thesis by A41,A45,A47,FUNCT_1:def 3;
    end;
    hence thesis;
  end;
  then dom T is finite-branching;
  then reconsider T as finite-branching DecoratedTree of D() by Def4;
 xin) ninF( holds S(x, Gx.n+)
  proof
    let n, x such that
A49:x  D() 
A50: n in F(x);
A51: n in consider p beingjava.lang.StringIndexOutOfBoundsException: Range [28, 25) out of bounds for length 40
    [x,n]in [  isone-;
    then consider c being Element of [:D(),NAT:] such A6 the of Fis one-o-;
2  =xn;
    consider x9beingset    such that
    x9 in D(    =(domF.p]1bA3Fjava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
A53: c = [x9,n9  =(he Arrows of B.pjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
A54:   (heObjectMap of G.(ofF.pp) Def10
x9  ,,:java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
    by    . te Arrows ofB)F(o1,G)by1Th22

  now
    let t be Element of dom T, w be Element of D() such that
A55: w = T . t;
    succ t = { t^<*k*>: k in F(w)} by A38Fbeing feasible reflexive-reservingFunctorStrover AB
    then
A56: succ A56: succ t = { t^<*)(.o1o3)proof
A57:     =<Go1Go3^  ALTCAT_1:ef 1;
A58: dom (t succ) = SegA28: (  A1: F is bijective c;
A59:  = Arrows of A)((he ObjectMap ofH.o1,3)by ,UNCT_11
        .= (tArrows of A2:the ObjectMap =the  )A1ef38java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
      let the Arrows)    .= <^G.o1,G.o3^> by ALTCAT_1:def.1G> ;
A60  theMorphMapofGManySortedFunction of
        by FINSEQ_1:def 1;
      assume A5: F is injectiveby A1;
      mbeing such 
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 6
A62:  A29: dom Morph-ap(,o1,o3)
A63:  m <= len (t succ) by A58,A60;
      < m byA62java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
thenconsidern beingNatsuch that
A64:  m = n+1 by NAT_1A:Morph-apGo,3)
      reconsider n    ff" ( ArrowsofB*he  of  st
      ,A62      ..o1,o3] ,
      then t^<*n*> in    . Morph-ap(,.1,G.3) byA4,A8,9AbyZFMISC_1:;
      then t^<*A31: the ObjectMo F* =(he ObjectMap of  java.lang.StringIndexOutOfBoundsException: Range [0, 70) out of bounds for length 6
      then consider k such java.lang.StringIndexOutOfBoundsException: Range [30, 3) out of bounds for length 33
A65:  t^<*k*> = t^<*n    . id rng the ObjectMap of    .=( ofF*F"oo ,
 inSeg len G(w)byA56java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
      <k*>= <n>byA65    =([ofthe]o :
      hence[]in[thecarrierofB carrierof :  ZFMISC_1:7;
    end =o  A12java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
    dom G(w) c= dom (java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 6
proof
      let       let n9Arrows of B)the ObjectMap of )[.o,G.]
:G) kkis:1<  34t  *(,) o,]:java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
           by  A35: F..  FH.by java.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
       in dom Gw);
m
  (he Arrowsof)the bjectMapof F) then
A69:A36:(he ObjectMap ofF*.o3,3)=java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 29
A70A37: F.G.3)=(H.3 byT
      0 <. ^oo> . byjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
eing Natsuch that
A71:  m = n+1 by NAT_1:6;
      reconsider A38: Morph-Map(G,oo3)(*) in Morph-ap(F,.  
      n+1 in Seg len G(w) by A67,A69,A70,A71;
      then t^<*n*> in succ t by A56;
s A71,java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    end;
    then
A72: dom G(w) = dom (t succ) by A59;
    then
 Tt)=dom G() by Th38;
    for m be Nat  .= ^,o^ by ALTCAT_1 ;
    proof
      let m be Nat;
A74:  Seg len G(w)=   Nat :<   <  w}
        : 1;
      assume
A75:  m in dom succ(T,t);
      then
3,:java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
    then len G(w) <> 0;
      then   -ap(,o. oin Morph-Go,) by 19FUNCT_1def3;
A77:  l+1 = len G(T.t) and
A78:  F.(T.t) = {0} \/ :MorphMapGo)oindomMorph(,o. ,FUNCT_133;
java.lang.StringIndexOutOfBoundsException: Range [14, 6) out of bounds for length 36
:m=k 
A80:  1 <= k     .= (id rng MMapFG.Go)idm A14A,39
. i  -ap(,,))idm  byA14,,FUNCT_1:33
      0 
then consider   Natsuch that
A82:  m = n+1 by A79,NAT_1:6;
 Natjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
A83:  n <= l by A55,A79,A81,A82,A77java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A84:  n in {0} \/ Seg l
      proof
        per   F being feasible FunctorStr over A,B st F is bijective Covariant
        suppose
    
          then n in {0
by XBOOLE_0:def 3java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
        end;
        suppose
          n <> 0;
          then 0 < n;
          then 0+1 <= n by NAT_1:13;
          
          java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 41
        end;
   Fis ntojava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
      n+1 in dom (t succ) by A75,A82,Th38;
      then t^<*n*> in      then t^<*n*> in  
      then succ(T,t).(n+1) = T.(t^<*n*>) by Th40
  
        .= G(w).(n+1) byA4:the ObjectMapofF=[f,f:;
      hence thesis: f is one-to-one by A2,A4,Th7

    hence succ(T,t) = G(w) by A72,Th38;
  end;
  hence thesis by  hence thesis by  java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 4
end;

theorem f:[  , ofB]
  T,t  ofT   t 
   rngf=theofB    hen
roof
  let(the of   Fst
  ProperPrefixesf  MorphMapof&f "";
ProperPrefixes  let ,o2o3 A9: [:f,f:]" = [:g  ;
TREES_1:18,def 3;
thesis  
;

java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  letf Morphism o1o,  beMorphismof o2o3
proof
  let T be Tree;
A1: {{}}c  G java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 77
  proofA3:the of   t   )  Def38
    let x be object;
    K.g = MorphKo2,o3).byA12Djava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
    then
A2: x = {} by TARSKI:def 1;
    {} in   then   M-,2,.;
    then consider t being Element of T such that
A3: t = {};
    len   then F is full;
  by A2,3;
  end;
{}}
  proof
    x objectjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    assume x in { w where w is Element of T : len w = 0 };
    then consider w being Element:<>> {;
: w =  and
A5: len w = 0;
    w = {} by A5;
    ,java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 6
  end;
   java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 21
end;

theoremTh45:
      =of..,.)A2
  =^.,.^ java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 39
proof
Tbejava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
  thus T-level (n+1) c= union { succ w where w is Element of T     =<F.).eBtheofA* java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 63
proof
    let x be object t* F.o,. A,java.lang.StringIndexOutOfBoundsException: Range [70, 69) out of bounds for length 77
    sume
:  - n)
then  as;
    t|Seg :Go)
    then consider s being FinSequence of NAT such that
A2: s = t|Seg n;
    s is_a_prefix_of t by A2,TREES_1:def 1;
      E ofjava.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 52
A3 MapFGo1Go2.java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 52
n0< + :java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
s  A2Fjava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 40
    
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 61
Seg  F be fea  java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 55
   t=      he *)byef38
    =id  = F;
    A2: G is= theG  A3,F3
hencethesis    hence thesis   B java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 64
  ;
    then
  proof
     )theObjectMapofFsuch 
    let x be objectA:f    java.lang.StringIndexOutOfBoundsException: Range [23, 1) out of bounds for length 17
    assume x in union X;
    then consider Y being set such  
A5: x in   then
A6:6:G2=FH. 
considerwbeing   F   by ;
A7: Y = succ w and
A8: len w = n by A6;
    reconsider t = x as Element of T by A5,A7;
    consider k such that
A9
*   by
        =o, -be -
 n A9  cluster Contravariant -> reflexive for 2
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 17
  end;
end;

theorem Th46:
   branching  java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 54
  -  is finite
proof
  letF feasiblereflexive over ,Bsuch 
  defpred Q[Nat] means T-level $1 is finite;
A1: for n st Q[n] for C1,C2 being 1-sorted ,2
proof
    let n such that
A2: T-level n is finite;
    set X = { succ w where w is java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 13
: java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 15
    proof
      defpred P[object,object] means
         ex w be Element of T st   ObjectMapM ;
A4:   for x being object st x A15 <H,.^ < }by ,;
      proof
      x object
        assume x in T-level n;
        then consider w being Element of T such that
A5:     w = x;
         
A6:   A3,;
        take y
        thus thesis by A5,A6;
      end;
      consider f being Function suchtakef9,g9
  =&
  stxin T-n  Pxf.x] 
      CLASSES1:sch 1A: ((the java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A8:   X c= rng f
      proof
        let x be object;
        assume x in XA1 F is ;
        then consider w being Element of T such that
A9:     x = succ w and
A10:    len w = ap(,.1,.java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
A11:    w in T-level n by A10;
        A2:the  fF  one--;
        hence thesis by A7,A9,A11,FUNCT_1:def 3;
      end;
           of)GG java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 47
 A2A;
      hence thesis by A8;
      the M   is ManySortedFunction of
A12: for YA6:Fiscomp by ;
    proof  ;
      let Y   MorphGo3  of( java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 6
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
      then ex w being Element of T st Y = succ w A29:domMorphA9: is Def26
      hence thesis;
    end;
T (+)=union{succw where is  ofT:len w = n java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
    by Th45;
    hencethesis by A3,12FINSET_17
  end;
 [0]by ;
thusfornholds [n java.lang.StringIndexOutOfBoundsException: Range [26, 3) out of bounds for length 34
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem Th47:
forT being - e  F"A1Def38
  being Nat st T-level n = {}
proof
  let T be finite-branching Tree;
$1;
  now
    assume
A1: T is A15: rng(f") =  f by ,:33;
   
      assume
A2:   not ex n being Nat st T-level n = {};
:   for    being finite Chain of T st card C = n
      proof
        let n;
        T-level n <> {} by A2;
        hen     
A4:     t in T-level n by XBOOLE_0:def 1;
        
        t = w and
A5:     len w = n by A4;
        ProperPrefixes w A35:FGo2)=(*H)o2 by Th33
        then consider C being finite Chain     =o2  ;
A6:C=ProperPrefixesw;
java.lang.StringIndexOutOfBoundsException: Range [24, 8) out of bounds for length 39

      ;
for being  T  tis ;
      then ex C being Chain of T st not C is finite by A3,TREES_2:29;
      hence contradiction by A1;
    end;
exn  Nat  T-evel  ={;
  end;
  hence T A38: Morph-M(G,1o3.g*)  domMorphMapFG,G.o3)byA25,30java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
  given n such that
 leveln  {;
  set X = { F(m) where m is Nat : m <=Morph-ap(,.,G.3)(9f9 by ,A14,19,,A21,33,35,A37,h40;
A8: T c  hence thesisby A25,27A38;
  proof
    let x be object;
    assume x in T;
    then reconsider t = x as Element theorem Th49:
    consider m such that
:m   
A10: t in F(m) by A9;
      < n
    proof
      consider qA5      "*theObjectMap ofF"by ,ef38java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
A11  then
A12:  q is_a_prefix_of t by Th32;
      assume n <= len t;
      then
F7java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
      reconsider q as Element of T by A12,TREES_1:20;
      q in T-level n by A13;
      hence contradiction by A7;
;
    then F(m) in X by A9;    then ObjectMap  F ;
    hence thesis by A10A9:ex being  of theArrowsof,
  end;
A14: X is finite

    defpred P[set,object] means ex l,m st m = l+  let ,2o3 be  ofBjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
A15: for k be     then
    proof
      let k be  then
      assume k in Seg(A11 <Ho2,.o1^< } ;
      then 0 <> k by FINSEQ_1:1;
      then consider l being Nat such that
A16:  k = l+1 by NAT_1:6;
      reconsider l as Nat;
      consider-FG,.. 
A17:  x = F(l);
      take x,l,l+1;
      thus thesis by A16,A17;
endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
considerpbeing FinSequencesuch that
    (+  reflexivity
    from FINSEQ_1:sch 1(A23:[f
A19: forletAjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 6
    proof
      let k;
          
thenexl, m=
      hence thesis;
    end;
X c rngp
    proof
      let y be object;
      y inX;
      then consider m such that
A20:  y = F(m) and
A21:  m <= n;
A22:  0+1 <= m+1 by XREAL_1:6;
      m+1 <= n+1 by A21,XREAL_1:6;
      then
A23:  m+1 in Seg (n+1) by A22,FINSEQ_1:1;
      then p.m+) = F(m)by A19;
hencejava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 48
    end;
    hence thesis;
  end;
  for: Fisbijective ;
  proof
    let Y be set;
    assume Y in X;
    then ex m st Y =F()&m < n;
        . <G.,.1^ by ALTCAT_1: ;
  end;
  then union X is finite by A14,FINSET_1:7;
hence thesis by ;
end;

theorem Th48:
  for T being finite-branching Tree st java.lang.StringIndexOutOfBoundsException: Range [0, 42) out of bounds for length 27
  Chain of T st not C is finite
proof
  let T be finite-branching Tree such that
A1: not T is finite;
A2: for n ex C being finite Chain of T st card C = n
  proof
    let n;
        .t java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 61
    then consider t being object such that
: T-  by 
A4: ex w being Element of T st t = w & .= id[:the carrier of B,the carrier of java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
    reconsider t as Element of T by A3;
ProperPrefixes    java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
    then consider C being finite Chain of T such that
A5: C = ProperPrefixes t;
    card C = n by A4,A5,TREES_1:35;
    hence thesis;
  end;
  for t A35G) FH. by 
  hence thesis by A2,    . o2  ;


theorem Th49:
 ex B
  Branch of T st not B is finite
proof
  let T be finite-branching Tree;
  assume not T is finite;
  then consider C being Chain of T such that
A1: not C is finite by Th48;
  consider B being Branch of T such that
A2: C c= B by  ~:f]: of  f]i java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 76
  not B is finite by A1,A2;
  hence thesis;
end;

theorem Th50:
   T being Tree, Cbeing  T  being Elementof T st t
  in C1,C2 being 1-sorted, M being BimapStr over C1,C2
  is_a_proper_prefix_of t9
proof
  let T be Tree, C be Chain of T, t be Element of T such that
 t C and
A2: not C   letMbeoverC1C;
  now
    assume
A3: not ex t9 being Element of T st t9 in C & t is_a_proper_prefix_of t9;
A4: for t9 being Element of T st t9 in C holds t9 is_a_prefix_of t
    proof
      let t9 be Element of T such that
A5:   t9 in C;
      now

A6:     not t9 is_a_prefix_of -   ofC1C2;
        t,t9 are_ccoherence;
        then t is_a_prefix_of t9 by A6;
        then t is_a_proper_prefix_of t9 by A6;
        hence contradiction by A3,A5;
      end;
      hence thesis;
    end;
    C c= ProperPrefixes t \/ {t}
    proof
      let x be object;
      assume
A7:   x in C;
then   =xas   T;
A8:   t9 is_a_prefix_of t by A4,A7;
      t9 in ProperPrefixes t \/ {t}
      proof
        per cases by A8;
        suppose
          t9 is_a_proper_prefix_of t;
          then t9 in ProperPrefixes t by TREES_1:12;
          hence thesis by XBOOLE_0:def 3;
        end;
        suppose
          t9 = t;
          { d 1;
          hence thesis by XBOOLE_0:def 3;
        end;
      end;
      hence thesis;
    end;
    hence contradiction by A2;
  end;
  hence thesis;
end;

theorem Th51:
  for T being Tree, B being Branch of T, t being Element of java.lang.StringIndexOutOfBoundsException: Range [0, 61) out of bounds for length 33
 T stt9     in t
proof
  let Tthen Fis Covariantjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
java.lang.StringIndexOutOfBoundsException: Range [26, 2) out of bounds for length 34
Element Tsuchthat
A1: t99 in B and
A2: t is_a_proper_prefix_of t99 by Th50;
  t is_a_prefix_of t99 by A2;
  then consider r being FinSequence suchA14: dom(f") = rng f by :33;
A3: t99 = t^rA15 rng by A13,FUNCT_1:33;
  reconsider r as FinSequence of NAT by A3,FINSEQ_1:36;
  |  isFinSequence  NAT by FINSEQ_1:8java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
  then consider r1 being FinSequence of NAT such that
A4: r1 = r|Seg 1;
  1 = len r
  proof
len t <t99 byA2,REES_16;
    then consider m being Nat such that
A5: (len t) + m = len t99 by NAT_1:10;
    m <> 0    :ff]  :,g] by A13,Th6java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
then 0 < m;
    then
A6: 0+1 <= m by NAT_1:13;
len t99  ( )  r by ,FINSEQ_122java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
     byA5,;
  end;
  then consider n being Element   then reconsider  =" as unctorof,A4,A11,A17,ef25
A7: r1 = <*n*> by A4,Th34;
A8: r1 is_a_prefix_of r by A4,TREES_1:def 1;
  then
A9: t^r1 is_a_prefix_of t99 by A3,FINSEQ_6:13;
  t^<*n*> in T by A3,A7,A8,FINSEQ_6:13,TREES_1:20;
  then
A10: t9 = t^<*n*>theorem Th49:
  t9 in succ t by  t9 in succ t by with_units non empty AltCatStr,
  hence thesis by A1,A7,A9,A10,TREES_2:25;
end;

theorem Th52:
  for f being sequence of NAT st (for n holds f.(n+1) qua
<fn   m for st< fn  
  .m
proof
  let f be sequence of NAT such that
   Fisto;
A2: for m,k st m <= k holds f.k qua  
  A2: theObjectMapofFis oneto-;
    defpred P[A3 F is   Def25;
    NAT <= f.m qua Nat  then
A3: foris  feasibleby ,h35java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
    proof
      let k such that
A4:   P[k];
      now
        let m;
        assume
A5:     m <= k+1;
        per cases by A5,NAT_1:8;
        suppose
A10:F is coreflexive java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 33
          reconsiderfk =f.k,fm  f.,fk1 (+) as Nat;
A7:       fk1 <= fk by A1;
          fk <= fm by A4,A6;
          f(+ qua  < .mqua Nat byA7,
XXREAL_0:2;
        end;
        suppose
m k+;
          hence f.(k+1) qua Nat <= f.m qua Nat;

      end;
      hence thesis;
    end;
A8: P[0]
    byA15: rng(f)=dom f by A13,FUNCT_133java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
A9: for k holds P[k] from NAT_1:sch 2(A8,A3);
    let m,k;
    assume m <= k;
hence thesis by A9;
  end;
  defpred P[set] means $1 in rng f;
 exk  Nat  [k
  proof
    consider y such that
A11: y = f.0;
 reconsider  yjava.lang.StringIndexOutOfBoundsException: Range [23, 21) out of bounds for length 35
    ;
    dom f = NAT by      =[g,;
    hence thesis by A11,FUNCT_1:def 3;
  end;
bestPk  nbeNat[]k<=from:
  5(A10);
  then consider l be Nat such that
A12: l in rng f and
A13: for n be Nat st n in rng f holds l <= n;
  consider x being object such that
A14: x in dom f and
A15: l = f.x by A12,FUNCT_1:def 3;
  reconsider m = x as
A16: dom f = NAT by FUNCT_2:def 1;
  k tm <=k holds f.  .java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
  proof
    let k such that
A17: m <= k;
    
      reconsider fk = f.k,     let Abejava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 55
      assume
A18:  f.k <> f.m;
      fk <= fm by A2,A17;
      then
A19     Abejava.lang.StringIndexOutOfBoundsException: Range [57, 58) out of bounds for length 57
      k in NAT by ORDINAL1:def 12;
      then f.k in rng f by A16,FUNCT_1:def 3;
      hence contradiction by A13,A15,A19;
    end;
    hence thesis;
  end;
  hence thesis;
end;

scheme
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 36
  T() -> finite-branching (DecoratedTree of D()),
   F(Element of D()) -> Nat }:
   T() is finite
provided
A1: for t,t9 being Element of dom T(), d being Element of D() st t9 in
succ t & d = T().t9 holds F(d) < F(T().t)
proof
  now
    assume not T() is finite;
    then not dom T() is finite by FINSET_1:10;
    then consider B being Branch of dom T() such that
A2: not B is finite by Th49;
    defpred P[object,object] means
     ex t,t9 being Element of dom T() st t9 in succ t
    & t in B & t9 in B & $1 = T().t & $2 = T().t9;
    defpred Q[object] means
ex t being Element of dom T() st t in B & $1 = T().t;
A3: for x being object st x in D() & Q[x]
      ex y being object st y in D() & P[x,y] & Q[y]
    proof
      let x be object;
      assume that
      x in D() and
A4:   Q[x];
      consider t being Element of dom T() such that
A5:   t in B and
A6:   x = T() .t by A4;
      consider t9 being Element of dom T() such that
A7:   t9 in B & t9 in succ t by A2,A5,Th51;
      ex y st y = T().t9;
      hence thesis by A5,A6,A7;
    end;
    {} in B by TREES_2:26;
    then Q[T().{}];
    then
A8: T().{} in D() & Q[T().{}];
    ex g being Function st dom g = NAT & rng g c= D() & g.0 = T().{} &
    for k holds P[g.k,g.(k+1)] & Q[g.k] from TREES_2:sch 5(A8,A3);
    then consider g being Function such that
    dom g = NAT and
    rng g c= D() and
    g.0 = T().{} and
A9: for k holds (ex t,t9 being Element of dom T() st t9 in succ t & t
in B & t9 in B & g.k = T().t & g.(k+1) = T().t9) & ex t being Element of dom T(
    ) st t in B & g.k = T().t;
    defpred P[object,object] means
     ex d being Element of D() st d = g.$1 & $2 = F(d);
A10: for x being object st x in NAT ex y being object st y in NAT & P[x,y]
    proof
      let x be object;
      assume x in NAT;
      then reconsider k = x as Element of NAT;
      consider t being Element of dom T() such that
      t in B and
A11:  g.k = T().t by A9;
      reconsider y = F(T().t) as set;
      take y;
       y in NAT by ORDINAL1:def 12;
      hence thesis by A11;
    end;
    ex f being sequence of NAT st for x being object st x in NAT
     holds P[x,f.x]
    from FUNCT_2:sch 1(A10);
    then consider f being sequence of NAT such that
A12: for x being object st x in NAT
      ex d being Element of D() st d = g.x & f.x = F( d);
A13: for k ex t,t9 being Element of dom T() st t9 in succ t & t in B & t9
    in B & f.k = F(T().t) & f.(k+1) = F(T().t9)
    proof
      let k;
A14:  ex t,t9 being Element of dom T() st t9 in succ t & t in B & t9 in B
      & g.k = T().t & g.(k+1) = T().t9 by A9;
      k in NAT by ORDINAL1:def 12;
      then
      (ex d being Element of D() st d = g.k & f.k = F(d) )& ex d1 being
      Element of D() st d1 = g.(k+1) & f.(k+1) = F (d1) by A12;
      hence thesis by A14;
    end;
A15: for n ex t,t9 being Element of dom T() st t9 in succ t & f.n = F(T().
t) & f.(n+1) = F(T().t9) & f.(n+1) qua Nat < f.n qua Nat
    proof
      let n;
      ex t,t9 being Element of dom T() st t9 in succ t & t in B & t9 in B
      & f.n = F(T().t) & f.(n+1) = F(T().t9) by A13;
      hence thesis by A1;
    end;
    for n holds f.(n+1) qua Nat <= f.n qua Nat
    proof
      let n;
      ex t,t9 being Element of dom T() st t9 in succ t & f.n = F(T().t) &
f.(n+1) = F(T().t9) & f.(n+1) qua Nat < f.n qua Nat by
A15;
      hence thesis;
    end;
    then consider m such that
A16: for n st m <= n holds f.n = f.m by Th52;
A17: m+0 <= m+1 by XREAL_1:6;
    ex t,t9 being Element of dom T() st t9 in succ t & f.m = F(T().t) & f.
(m+1) = F(T().t9) & f.(m+1) qua Nat < f.m qua Nat by A15;
    hence contradiction by A16,A17;

  end;
  hence thesis;
end;

Messung
CHZG
8110010093

¤ Dauer der Verarbeitung: 0.126 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

letze Version des Elbe Quellennavigators


letze Version des Demonstrationsprogramms Goedel
letze Version des Bille Abgleichprogramms
Version

Jenseits des Üblichen ....

Besucher

Besucher

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