Eine aufbereitete Darstellung der Quelle

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


Quelle  cousin.miz   Sprache: Mizar

 

:: Cousin's Lemma
::  by Roland Coghetto
::
:: Received December 31, 2015
:: Copyright (c) 2015-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 XREAL_0, VALUED_1, INT_1, NEWTON, MEMBERED, PARTFUN1, RCOMP_3,
      TOPMETR, SEQ_4, INTEGRA1, MEASURE7, COUSIN, NORMSP_2, SETFAM_1, RELAT_1,
      COMPL_SP, PROB_1, FUNCT_2, NUMBERS, SUBSET_1, NAT_1, FUNCT_1, ARYTM_3,
      FINSEQ_2, ZFMISC_1, COMPLEX1, STRUCT_0, XBOOLE_0, NORMSP_1, EUCLID,
      PRE_TOPC, REAL_1, CARD_1, XXREAL_0, ARYTM_1, FINSEQ_1, CARD_3, ORDINAL4,
      TARSKI, SQUARE_1, SEQ_2, ORDINAL2, SEQ_1, RSSPACE3, REWRITE1, METRIC_1,
      BHSP_3, REAL_NS1, NORMSP_0, XXREAL_2, XXREAL_1, MEASURE5, RCOMP_1,
      PCOMPS_1, POWER, RFINSEQ, RELAT_2, PARTFUN3, VALUED_0;
 notations ORDINAL1,
      INT_1, NEWTON, VALUED_1, MEMBERED, PARTFUN1, CONNSP_1, SETFAM_1,
      TOPS_2, TOPMETR, XXREAL_2, RELAT_1, FUNCT_1, XBOOLE_0, TARSKI, XCMPLX_0,
      XXREAL_0, FINSEQ_1, RFINSEQ, METRIC_1, ZFMISC_1, SUBSET_1, BINOP_1,
      PRE_TOPC, NAT_1, FINSEQ_2, FUNCT_2, STRUCT_0, NUMBERS, XREAL_0, SQUARE_1,
      COMPLEX1, RLVECT_1, SEQ_1, SEQ_2, RVSUM_1, NORMSP_0, NORMSP_1, RSSPACE3,
      REAL_NS1, TBSP_1, EUCLID, PROB_1, KURATO_0, RELSET_1, PCOMPS_1, CARD_3,
      KURATO_2, NORMSP_2, COMPL_SP, RCOMP_1, MEASURE5, SEQ_4, INTEGRA1, SEQM_3,
      PARTFUN3, RCOMP_3, MATRPROB, POWER;
 constructors NEWTON, CONNSP_1, TOPS_2, RCOMP_3, SQUARE_1, RSSPACE3, LOPBAN_1,
      RVSUM_1, COMSEQ_2, REAL_NS1, TBSP_1, KURATO_0, COMPL_SP, FRECHET,
      NORMSP_2, SEQ_4, INTEGRA1, MEASURE6, RFINSEQ, REAL_1, PARTFUN3, MATRPROB,
      POWER;
 registrations SEQ_2, LOPBAN_5, VALUED_1, XXREAL_2, METRIC_1, MATRTOP1,
      BORSUK_5, JORDAN5A, COMPLEX1, SUBSET_1, FUNCT_1, RELSET_1, XXREAL_0,
      XREAL_0, MEMBERED, STRUCT_0, VALUED_0, FUNCT_2, EUCLID, FINSEQ_1, CARD_1,
      NAT_1, REAL_NS1, COMPL_SP, MEASURE5, INTEGRA1, SEQM_3, RELAT_1, ORDINAL1,
      XCMPLX_0, NUMBERS, INT_1, RVSUM_1, SEQ_4, PARTFUN3, POWER;
 requirements SUBSET, REAL, BOOLE, NUMERALS, ARITHM;
 definitions TARSKI;
 equalities NORMSP_0, SUBSET_1, METRIC_1, XBOOLE_0;
 expansions FUNCT_1, NORMSP_1, STRUCT_0, TARSKI, TBSP_1, METRIC_1, XBOOLE_0,
      SEQM_3;
 theorems CGAMES_1, NUMBERS, FUNCT_6, BORSUK_4, NAT_6, VALUED_1, PROB_1,
      TOPREAL6, NEWTON, XXREAL_2, JORDAN6, PRE_TOPC, TOPS_2, SETFAM_1, TOPMETR,
      RCOMP_3, XTUPLE_0, PARTFUN1, VALUED_0, JORDAN5A, INTEGRA1, SRINGS_4,
      TOPREALC, METRIC_1, COMPL_SP, XXREAL_1, EUCLID, BINOP_1, ABSVALUE,
      RSSPACE3, FINSEQ_1, FINSEQ_2, FUNCT_2, LOPBAN_1, NAT_1, SQUARE_1,
      FUNCT_1, FINSEQ_5, XREAL_1, XXREAL_0, ORDINAL1, TBSP_1, REAL_NS1,
      XBOOLE_0, TARSKI, PCOMPS_1, XBOOLE_1, CARD_3, UNIFORM1, NORMSP_2,
      JORDAN2B, RFINSEQ, FINSEQ_3, XCMPLX_1, INT_1, MEASURE5, SEQ_4, PARTFUN3,
      SEQ_1, SEQ_2, TOPREAL3, POWER, MEMBERED;
 schemes NAT_1, FUNCT_2, XBOOLE_0;

begin :: Preliminaries

theorem Th1:
  for p,q being non empty increasing FinSequence of REAL st
  p.len(p) < q.1 holds p ^ q is non empty increasing FinSequence of REAL
  proof
    let p,q be non empty increasing FinSequence of REAL;
    assume
A1: p.len(p) < q.1;
    set pq = p ^ q;
    now
      let e1,e2 be ExtReal;
      assume that
A2:   e1 in dom pq and
A3:   e2 in dom pq and
A4:   e1 < e2;
      per cases by A2,A3,FINSEQ_1:25;
      suppose
A5:     e1 in dom p & e2 in dom p; then
A6:     pq.e1 = p.e1 & pq.e2 = p.e2 by FINSEQ_1:def 7;
        e1 < e2 & p is increasing by A4;
        hence pq.e1 < pq.e2 by A5,A6;
      end;
      suppose
A7:     e1 in dom p & ex n be Nat st n in dom q &
        e2 = len p + n;
        then consider n0 be Nat such that
A8:     n0 in dom q and
A9:     e2 = len p + n0;
A10:    pq.e1 = p.e1 & pq.e2 = q.n0 by A7,A9,FINSEQ_1:def 7;
        rng q <> {}; then
A11:    1 in dom q by FINSEQ_3:32;
        1 <= n0 by A8,FINSEQ_3:25;
        then 1 = n0 or 1 < n0 by XXREAL_0:1; then
A12:    q.1 <= q.n0 by A8,A11,VALUED_0:def 13;
        rng p <> {};
        then 1 in dom p by FINSEQ_3:32;
        then 1 <= len p by FINSEQ_3:25; then
A13:    len p in dom p by FINSEQ_3:25;
        e1 <= len p by A7,FINSEQ_3:25;
        then e1 < len p or e1 = len p by XXREAL_0:1;
        then p.e1 <= p.len p by A13,A7,VALUED_0:def 13;
        then p.e1 < q.1 by A1,XXREAL_0:2;
        hence pq.e1 < pq.e2 by A10,A12,XXREAL_0:2;
      end;
      suppose
A14:    (ex n be Nat st n in dom q & e1 = len p + n) & e2 in dom p;
        then consider n0 be Nat such that
        n0 in dom q and
A15:    e1 = len p + n0;
A16:    len p <= e1 by A15,NAT_1:11;
        e2 in Seg len p by A14,FINSEQ_1:def 3;
        then e2 <= len p by FINSEQ_1:1;
        hence pq.e1 < pq.e2 by A4,A16,XXREAL_0:2;
      end;
      suppose
A17:   (ex n be Nat st n in dom q & e1 = len p + n) &
       (ex n be Nat st n in dom q & e2 = len p + n);
       then consider n1 be Nat such that
A18:   n1 in dom q and
A19:   e1 = len p + n1;
       consider n2 be Nat such that
A20:   n2 in dom q and
A21:   e2 = len p + n2 by A17;
A22:   len p + n1 - len p < len p + n2 - len p by A4,A19,A21,XREAL_1:14;
       q.n1 = pq.e1 & q.n2 = pq.e2 by A18,A19,A20,A21,FINSEQ_1:def 7;
       hence pq.e1 < pq.e2 by A22,A18,A20,VALUED_0:def 13;
     end;
   end;
   then p ^ q is increasing;
   hence thesis;
 end;

theorem
  for a,b being Real st 1 < a & 0 < b < 1 holds log(a,b) < 0
  proof
    let a,b be Real;
    assume that
A1: 1 < a and
A2: 0 < b < 1;
    log(a,1) = 0 by A1,POWER:51;
    hence thesis by A1,A2,POWER:57;
  end;

theorem Th2:
  for a,b being Real st 1 < a & 1 < b holds 0 < log(a,b)
  proof
    let a,b be Real;
    assume that
A1: 1 < a and
A2: 1 < b;
    log(a,1) = 0 by A1,POWER:51;
    hence thesis by A1,A2,POWER:57;
  end;

theorem Th5:
  for x being object holds product <*{x}*> = {<*x*>}
  proof
    let x be object;
    the set of all <*y*> where y is Element of {x} = {<*x*>}
    proof
      set SA = the set of all <*y*> where y is Element of {x};
A1:   for t be object st t in SA holds t in {<*x*>}
      proof
        let t be object;
        assume t in the set of all <*y*> where y is Element of {x};
        then consider y0 be Element of {x} such that
A2:     t = <*y0*>;
        t = <*x*> by A2,TARSKI:def 1;
        hence thesis by TARSKI:def 1;
      end;
      for t be object st t in {<*x*>} holds t in SA
      proof
        let t be object;
        assume t in {<*x*>};
        then t = <*x*> & x is Element of {x} by TARSKI:def 1;
        hence thesis;
      end;
      then SA c= {<*x*>} & {<*x*>} c= SA by A1;
      hence thesis;
    end;
    hence thesis by SRINGS_4:24;
  end;

theorem Th6:
  for x being Element of REAL 1 holds ex rx being Real st x = <*rx*>
  proof
    let x be Element of REAL 1;
    x is Element of TOP-REAL 1 by EUCLID:22;
    then consider rx be Real such that
A1: x = <*rx*> by JORDAN2B:20;
    thus thesis by A1;
  end;

theorem Th7:
  for a being Real holds <*a*> is Point of Euclid 1
  proof
    let a be Real;
    reconsider ra = <*a*> as FinSequence of REAL;
    dom ra = Seg 1 by FINSEQ_1:def 8;
    then len ra = 1 by FINSEQ_1:def 3;
    hence thesis by TOPREAL3:45;
  end;

theorem Th8:
  for a,b being Real st a <= b holds a <= (a+b)/2 <= b
  proof
    let a,b be Real;
    assume
A1: a <= b;
    2 * a = a + a;
    then 2 * a <= a + b by A1,XREAL_1:7;
    then 2 * a / 2 <= (a + b)/2 by XREAL_1:72;
    hence a <= (a + b)/2;
    a+b <= b + b by A1,XREAL_1:7;
    then (a+b)/2 <= 2 * b /2 by XREAL_1:72;
    hence thesis;
  end;

theorem
  for a,b,c being Real st a <= b & b < c holds a < (b+c)/2
  proof
    let a,b,c be Real;
    assume that
A1: a <= b and
A2: b < c;
A3: a + b < b + c by A1,A2,XREAL_1:8;
    a + a <= a + b by A1,XREAL_1:7;
    then 2 * a < b + c by A3,XXREAL_0:2;
    then 2 * a / 2 < (b + c) / 2 by XREAL_1:74;
    hence thesis;
  end;

theorem
  for a,b being Real st a < b holds (a+b)/2 < b
  proof
    let a,b be Real;
    assume a < b;
    then a + b < b + b by XREAL_1:8;
    then (a+b)/2 < 2 * b / 2 by XREAL_1:74;
    hence thesis;
  end;

theorem
  for a,b being Real st a <= b holds
    [.a,b.] is non empty compact Subset of REAL by XXREAL_1:30;

theorem
  for f being FinSequence st 2 <= len f holds (f /^ 1 ).len(f /^ 1) = f.len(f)
  proof
    let f be FinSequence;
    assume
A1: 2 <= len f;
    set g = f /^ 1;
A2: 1 <= len f by A1,XXREAL_0:2; then
A3: len g + 1 = len f - 1 + 1 by RFINSEQ:def 1
             .= len f;
    then 2 - 1 <= len g + 1 - 1 by A1,XREAL_1:13; then
    len g in Seg len g by FINSEQ_1:3;
    then len g in dom g by FINSEQ_1:def 3;
    hence thesis by A3,A2,RFINSEQ:def 1;
  end;

begin :: Euclid n is complete - Proof Version 1

 reserve n for Nat;
 reserve s1 for sequence of Euclid n,
         s2 for sequence of REAL-NS n;

theorem Th9:
  for x,y being Element of Euclid n,
      g,h being Point of REAL-NS n st x = g & y = h holds
  dist(x,y) = ||. g - h .||
  proof
    let x,y be Element of Euclid n, g,h be Point of REAL-NS n;
    assume
A1: x = g & y = h;
    x in Euclid n & y in Euclid n;
    then x in TOP-REAL n & y in TOP-REAL n by EUCLID:67;
    then reconsider rx = x, ry = y as Element of REAL n by EUCLID:22;
A2: Euclid n = MetrStruct(#REAL n,Pitag_dist n#) by EUCLID:def 7;
    reconsider g1 = g, h1 = h as Element of REAL n by REAL_NS1:def 4;
    reconsider z1 = g1 - h1 as Element of REAL n;
    ||.g - h.|| = (the normF of (REAL-NS n)).(g1 - h1) by REAL_NS1:5
               .= (Euclid_norm n).z1 by REAL_NS1:def 4
               .= |.z1.| by REAL_NS1:def 3;
    hence thesis by A1,A2,EUCLID:def 6;
  end;

theorem Th10:
  the carrier of REAL-NS n = the carrier of Euclid n
  proof
    thus the carrier of Euclid n = the carrier of TOP-REAL n by EUCLID:67
      .= REAL n by EUCLID:22
      .= the carrier of REAL-NS n by REAL_NS1:def 4;
  end;

theorem Th11:
  s1 = s2 implies (s1 is Cauchy iff s2 is Cauchy_sequence_by_Norm)
  proof
    assume
A1: s1 = s2;
    thus s1 is Cauchy implies s2 is Cauchy_sequence_by_Norm
    proof
      assume
A3:   s1 is Cauchy;
      now
        let r be Real;
        assume r > 0;
        then consider p be Nat such that
A4:     for n,m being Nat st p <= n & p <= m holds dist(s1.n,s1.m) < r by A3;
        take p;
        hereby
          let n0,m0 be Nat;
          assume
A5:       n0 >= p & m0 >= p;
          dist(s1.n0,s1.m0) = ||.s2.n0-s2.m0.|| by A1,Th9;
          hence ||.s2.n0-s2.m0.|| < r by A5,A4;
        end;
      end;
      hence s2 is Cauchy_sequence_by_Norm by RSSPACE3:8;
    end;
      assume
A9:   s2 is Cauchy_sequence_by_Norm;
      now
        let r be Real;
        assume r > 0;
        then consider k be Nat such that
A10:    for n, m being Nat st n >= k & m >= k holds
          ||. s2.n - s2.m .|| < r by A9,RSSPACE3:8;
        hereby
          take k;
          hereby
            let n0,m0 be Nat;
            assume
A11:        k <= n0 & k <= m0;
            ||.s2.n0-s2.m0.|| = dist(s1.n0,s1.m0) by A1,Th9;
            hence dist(s1.n0,s1.m0) < r by A11,A10;
          end;
        end;
        hence ex p be Nat st for n,m be Nat st p <= n & p <= m holds
          dist(s1.n,s1.m) < r;
      end;
      hence s1 is Cauchy;
  end;

theorem Th12:
  s1 = s2 implies (s1 is convergent iff s2 is convergent)
  proof
    assume
A1: s1 = s2;
    hereby
      assume s1 is convergent;
      then consider x be Element of Euclid n such that
A2:   for r being Real st r > 0 holds
      ex n0 being Nat st for m being Nat st n0 <= m holds
      dist(s1.m,x) < r;
      x is Element of TOP-REAL n by EUCLID:67;
      then x is Element of REAL n by EUCLID:22;
      then reconsider g = x as Point of REAL-NS n by REAL_NS1:def 4;
      now
        take g;
        hereby
          let r be Real;
          assume 0 < r;
          then consider n0 be Nat such that
A3:       for m being Nat st n0 <= m holds dist(s1.m,x) < r by A2;
          hereby
            take n0;
            hereby
              let n1 be Nat;
              assume n0 <= n1;
              then dist(s1.n1,x) < r & s1.n1 = s2.n1 by A1,A3;
              hence ||.s2.n1 - g .|| < r by Th9;
            end;
          end;
        end;
      end;
      hence s2 is convergent;
    end;
    assume s2 is convergent;
    then consider g be Point of REAL-NS n such that
A4: for r be Real st 0 < r holds ex m be Nat st for n0 be Nat st m <= n0 holds
    ||.(s2.n0)-g.|| < r;
    g is Element of REAL n by REAL_NS1:def 4;
    then g is Element of TOP-REAL n by EUCLID:22;
    then reconsider x = g as Element of Euclid n by EUCLID:67;
    now
      take x;
      hereby
        let r be Real;
        assume r > 0;
        then consider m0 be Nat such that
A5:     for n0 be Nat st m0 <= n0 holds ||.(s2.n0)-g.|| < r by A4;
        hereby
          take m0;
          hereby
            let m be Nat;
            assume m0 <= m;
            then ||. s2.m - g .|| < r & s2.m = s1.m by A1,A5;
            hence dist(s1.m,x) < r by Th9;
          end;
        end;
      end;
    end;
    hence s1 is convergent;
  end;

theorem Th13:
  for S2 being sequence of Euclid n st S2 is Cauchy holds S2 is convergent
  proof
    let S2 be sequence of Euclid n;
    assume
A1: S2 is Cauchy;
    reconsider S2NS = S2 as sequence of REAL-NS n by Th10;
    S2NS is Cauchy_sequence_by_Norm by A1,Th11;
    then S2NS is convergent by LOPBAN_1:def 15;
    hence S2 is convergent by Th12;
  end;

theorem
  Euclid n is complete by Th13;

begin :: Euclid n is complete - Proof Version 2

theorem Th14:
  distance_by_norm_of REAL-NS n = Pitag_dist n
  proof
    the carrier of REAL-NS n = REAL n by REAL_NS1:def 4;
    then reconsider d1 = distance_by_norm_of REAL-NS n as
     Function of [:REAL n,REAL n:],REAL;
    now
      let x,y be set;
      assume
A1:   x in REAL n & y in REAL n;
      then x is Element of TOP-REAL n & y is Element of TOP-REAL n
        by EUCLID:22;
      then reconsider px = x,py = y as Element of Euclid n by EUCLID:67;
      reconsider g = x,h = y as Point of REAL-NS n by A1,REAL_NS1:def 4;
      Euclid n = MetrStruct(#REAL n,Pitag_dist n#) by EUCLID:def 7;
      hence (Pitag_dist n).(x,y) = dist(px,py)
                                .= ||.g-h.|| by Th9
                                .= d1.(x,y) by NORMSP_2:def 1;
    end;
    hence thesis by BINOP_1:def 21;
  end;

theorem Th15:
  MetricSpaceNorm REAL-NS n = Euclid n
  proof
    set MS = MetricSpaceNorm REAL-NS n;
A1: MS = MetrStruct(# the carrier of REAL-NS n, distance_by_norm_of
      REAL-NS n #) by NORMSP_2:def 2; then
A2: the carrier of MS = REAL n by REAL_NS1:def 4;
    Euclid n = MetrStruct(# REAL n,Pitag_dist n #) by EUCLID:def 7;
    hence thesis by A1,A2,Th14;
  end;

registration
  let n be Nat;
  cluster Euclid n -> complete;
  coherence
  proof
    MetricSpaceNorm REAL-NS n = Euclid n by Th15;
    hence thesis;
  end;
end;

begin :: The Nested Intervals Theorem (1-dimensional Euclidean space)

definition
  let a,b be Real_Sequence;
  func IntervalSequence(a,b) -> SetSequence of REAL 1 means  :Def1:
  for i being Nat holds it.i = product <* [.a.i,b.i.] *>;
  existence
  proof
    defpred P[object,object] means $2 = product <* [. a.$1, b.$1 .] *>;
A1: for x being object st x in NAT ex y being object st
      y in bool REAL 1 & P[x,y]
    proof
      let x be object;
      assume x in NAT;
      set y = product <* [.a.x,b.x.] *>;
      take y;
      product <* [.a.x,b.x.] *> c= REAL 1
      proof
        let t be object;
        assume t in product <* [.a.x,b.x.] *>;
        then consider f be Function such that
A2:     t = f and
A3:     dom f = dom <* [.a.x,b.x.] *> and
A4:     for i be object st i in dom <* [.a.x,b.x.] *> holds
        f.i in (<* [.a.x,b.x.] *>).i by CARD_3:def 5;
A5:     dom <* [.a.x,b.x.] *> = Seg 1 by FINSEQ_1:def 8;
A6:     dom f = Seg 1 by A3,FINSEQ_1:def 8;
        rng f c= REAL
        proof
          let u be object;
          assume u in rng f;
          then consider t be object such that
A7:       t in dom f and
A8:       u = f.t by FUNCT_1:def 3;
          t in {1} by FINSEQ_1:2,A7,A3,FINSEQ_1:def 8; then
A9:       t = 1 & 1 in Seg 1 by FINSEQ_1:2,TARSKI:def 1;
          u = f.1 & 1 in dom <*[.a.x,b.x.]*>
            by A7,A3,FINSEQ_1:2,TARSKI:def 1,A8,A5;
          then f.1 in (<*[.a.x,b.x.]*>).1 by A4;
          then u in [.a.x,b.x.] by A9,A8;
          hence thesis;
        end;
        then t in Funcs(Seg 1,REAL) by A2,FUNCT_2:def 2,A6;
        then t in 1-tuples_on REAL by FINSEQ_2:93;
        hence t in REAL 1 by EUCLID:def 1;
      end;
      hence y in bool REAL 1;
      thus P[x,y];
    end;
    ex f being Function of NAT,bool REAL 1 st for x be object st
      x in NAT holds P[x,f.x] from FUNCT_2:sch 1(A1);
    then consider f be Function of NAT,bool (REAL 1) such that
A10: for x be object st x in NAT holds P[x,f.x];
    now
      take f;
      for x be Nat holds P[x,f.x] by ORDINAL1:def 12,A10;
      hence ex f being Function of NAT,bool (REAL 1) st
        for x be Nat holds P[x,f.x];
    end;
    hence thesis;
  end;
  uniqueness
  proof
    let f1,f2 be SetSequence of REAL 1 such that
A11: for i be Nat holds f1.i = product <* [.a.i,b.i.] *> and
A12: for i be Nat holds f2.i = product <* [.a.i,b.i.] *>;
    consider g1 be Function of NAT,bool REAL 1 such that
A13: g1 = f1 and
A14: for i be Nat holds g1.i = product <* [. a.i,b.i .] *> by A11;
    consider g2 be Function of NAT,bool REAL 1 such that
A15: g2 = f2 and
A16: for i be Nat holds g2.i = product <* [. a.i,b.i .] *> by A12;
A17: dom g1 = NAT & dom g2 = NAT by FUNCT_2:def 1;
    for x be object st x in dom g1 holds g1.x = g2.x
    proof
      let x be object;
      assume x in dom g1;
      then g1.x = product <* [.a.x,b.x.] *> &
        g2.x = product <* [.a.x,b.x.] *> by A14,A16;
      hence thesis;
    end;
    hence f1 = f2 by A13,A15,A17;
  end;
end;

theorem Th17:
  for a,b being Real_Sequence holds
    IntervalSequence(a,b) is SetSequence of Euclid 1
  proof
    let a,b be Real_Sequence;
    REAL 1 = the carrier of TOP-REAL 1 by EUCLID:22
          .= the carrier of Euclid 1 by EUCLID:67;
    hence thesis;
  end;

theorem Th18:
  product <*REAL*> = REAL 1
  proof
A8: product <*REAL*> c= REAL 1
    proof
      let x be object;
      assume x in product <*REAL*>;
      then consider g be Function such that
A1:   x = g and
A2:   dom g = dom <*REAL*> and
A3:   for j be object st j in dom <*REAL*> holds
      g.j in (<*REAL*>).j by CARD_3:def 5;
A4:   dom g = Seg 1 by A2,FINSEQ_1:def 8;
      rng g c= REAL
      proof
        let u be object;
        assume u in rng g;
        then consider t be object such that
A5:     t in dom g and
A6:     u = g.t by FUNCT_1:def 3;
        t in {1} by A5,FINSEQ_1:2,A2,FINSEQ_1:def 8; then
A7:     t = 1 & 1 in Seg 1 by FINSEQ_1:2,TARSKI:def 1;
        u = g.1 & 1 in dom <*REAL*> by A6,A7,FINSEQ_1:def 8;
        then g.1 in (<*REAL*>).1 by A3;
        hence thesis by A7,A6;
      end;
      then x in Funcs(Seg 1,REAL) by A1,FUNCT_2:def 2,A4;
      then x in 1-tuples_on REAL by FINSEQ_2:93;
      hence x in REAL 1 by EUCLID:def 1;
    end;
    REAL 1 c= product <*REAL*>
    proof
      let x be object;
      assume
A9:   x in REAL 1;
      then x in 1-tuples_on REAL by EUCLID:def 1; then
A10:  x in Funcs(Seg 1,REAL) by FINSEQ_2:93;
      reconsider g = x as Function by A9;
      now
        consider h be Function such that
A11:    h = g and
A12:    dom h = Seg 1 and
A13:    rng h c= REAL by A10,FUNCT_2:def 2;
        thus dom g = dom <*REAL*> by A11,A12,FINSEQ_1:def 8;
        hereby
          let j be object;
          assume
A14:      j in dom <*REAL*>; then
A15:      j in Seg 1 by FINSEQ_1:def 8;
          j in {1} by FINSEQ_1:2,A14,FINSEQ_1:def 8; then
A16:      j = 1 by TARSKI:def 1;
          g.j in REAL by A11,A13,A12,A15,FUNCT_1:3;
          hence g.j in <*REAL*>.j by A16;
        end;
        hence for j be object st j in dom <*REAL*> holds g.j in <*REAL*>.j;
      end;
      hence x in product <*REAL*> by CARD_3:def 5;
    end;
    hence thesis by A8;
  end;

theorem Th19:
  for a,b being Real, xa,xb being Point of Euclid 1 st
    xa = <*a*> & xb = <*b*> holds dist(xa,xb) = |.a - b.|
  proof
    let a,b be Real,xa,xb be Point of Euclid 1;
    assume that
A1: xa = <*a*> and
A2: xb = <*b*>;
    xa in Euclid 1 & xb in Euclid 1;
    then xa in TOP-REAL 1 & xb in TOP-REAL 1 by EUCLID:67;
    then reconsider ra = xa, rb = xb as Element of REAL 1 by EUCLID:22;
A3: Euclid 1 = MetrStruct(#REAL 1,Pitag_dist 1#) by EUCLID:def 7;
A4: ra = 1 |-> a by A1,FINSEQ_2:59;
    rb = 1 |-> b by A2,FINSEQ_2:59;
    then |.ra-rb.| = sqrt(1) * |.a-b.| by A4,TOPREALC:11
                  .= |.a - b.| by SQUARE_1:18;
    hence thesis by A3,EUCLID:def 6;
  end;

theorem Th20:
  for a,b being Real, S being Subset of Euclid 1 st a <= b &
  S = product<*[.a,b.]*> holds
  for x,y being Point of Euclid 1 st x in S & y in S holds
  dist(x,y) <= b - a
  proof
    let a,b be Real,S be Subset of Euclid 1;
    assume that
A1: a <= b and
A2: S = product <*[.a,b.]*>;
      set si = product <* [.a,b.] *>;
      reconsider si as Subset of Euclid 1 by A2;
      set r = b - a;
      for x,y be Point of Euclid 1 st x in si &
      y in si holds dist(x,y) <= b - a
      proof
        set r = b - a;
        per cases by A1,XREAL_1:48;
        suppose
A3:     r = 0; then
A4:     product <*[.a,b.]*> = product <* {a} *> by XXREAL_1:17
                           .= {<*a*>} by Th5;
          now
            set r = b - a;
            hereby
              let x,y be Point of Euclid 1;
              assume x in si & y in si;
              then
A5:           x = <*a*> & y = <*a*> by A4,TARSKI:def 1;
              Euclid 1 is Reflexive;
              hence dist(x,y) <= b - a by A3,A5,METRIC_1:def 2;
            end;
          end;
          hence for x,y be Point of Euclid 1 st
          x in si & y in si holds dist(x,y) <= b - a;
        end;
        suppose 0 < r;
          hereby
            let x,y be Point of Euclid 1;
            assume that
A6:         x in si and
A7:         y in si;
            consider gx be Function such that
A8:         x = gx and
            dom gx = dom <*[.a,b.]*> and
A9:         for j be object st j in dom <*[.a,b.]*> holds
            gx.j in <*[.a,b.]*>.j by A6,CARD_3:def 5;
            consider gy be Function such that
A10:        y = gy and
            dom gy = dom <*[.a,b.]*> and
A11:        for j be object st j in dom <*[.a,b.]*> holds
            gy.j in <*[.a,b.]*>.j by A7,CARD_3:def 5;
            x in Euclid 1 & y in Euclid 1;
            then x in TOP-REAL 1 & y in TOP-REAL 1 by EUCLID:67;
            then reconsider rx = x, ry = y as Element of REAL 1 by EUCLID:22;
            Euclid 1 = MetrStruct(#REAL 1,Pitag_dist 1#) by EUCLID:def 7; then
A12:        dist(x,y) = |.rx - ry.| by EUCLID:def 6;
            consider ux be Real such that
A13:        rx = <*ux*> by Th6;
            consider uy be Real such that
A14:        ry = <*uy*> by Th6;
            rx = 1|->ux & ry = 1|-> uy by A13,A14,FINSEQ_2:59; then
A15:        |.rx-ry.| = sqrt(1) * |.ux-uy.| by TOPREALC:11
                     .= |.ux - uy.| by SQUARE_1:18;
            1 in Seg 1 by TARSKI:def 1,FINSEQ_1:2;
            then 1 in dom <*[.a,b.]*> by FINSEQ_1:def 8;
            then gx.1 in <*[.a,b.]*>.1 & gy.1 in <*[.a,b.]*>.1 by A9,A11;
            then gx.1 in [.a,b.] & gy.1 in [.a,b.];
            then ux in [.a,b.] & uy in [.a,b.]
              by A8,A10,A13,A14;
            hence dist(x,y) <= r by A12,A15,UNIFORM1:12;
          end;
        end;
      end;
      hence thesis by A2;
    end;

theorem Th21:
  for a,b being Real, S being Subset of Euclid 1 st a <= b &
  S = product<*[.a,b.]*> holds S is bounded
  proof
    let a,b be Real,S be Subset of Euclid 1;
    assume that
A1: a <= b and
A2: S = product <*[.a,b.]*>;
      set si = product <* [.a,b.] *>;
      reconsider si as Subset of Euclid 1 by A2;
      ex r be Real st 0 < r & for x,y be Point of Euclid 1 st x in si &
      y in si holds dist(x,y) <= r
      proof
        set r = b - a;
        per cases by A1,XREAL_1:48;
        suppose r = 0; then
A3:       product <*[.a,b.]*> = product <* {a} *> by XXREAL_1:17
                           .= {<*a*>} by Th5;
          now
            set r = 1;
            take r;
            thus 0 < r;
            hereby
              let x,y be Point of Euclid 1;
              assume x in si & y in si; then
A4:           x = <*a*> & y = <*a*> by A3,TARSKI:def 1;
              Euclid 1 is Reflexive;
              hence dist(x,y) <= r by A4,METRIC_1:def 2;
            end;
          end;
          hence ex r be Real st 0 < r & for x,y be Point of Euclid 1 st
          x in si & y in si holds dist(x,y) <= r;
        end;
        suppose
A5:       0 < r;
          take r;
          thus 0 < r by A5;
          hereby
            let x,y be Point of Euclid 1;
            assume that
A6:         x in si and
A7:         y in si;
            consider gx be Function such that
A8:         x = gx and
            dom gx = dom <*[.a,b.]*> and
A9:         for j be object st j in dom <*[.a,b.]*> holds
            gx.j in <*[.a,b.]*>.j by A6,CARD_3:def 5;
            consider gy be Function such that
A10:        y = gy and
            dom gy = dom <*[.a,b.]*> and
A11:        for j be object st j in dom <*[.a,b.]*> holds
            gy.j in <*[.a,b.]*>.j by A7,CARD_3:def 5;
            x in Euclid 1 & y in Euclid 1;
            then x in TOP-REAL 1 & y in TOP-REAL 1 by EUCLID:67;
            then reconsider rx = x, ry = y as Element of REAL 1 by EUCLID:22;
            Euclid 1 = MetrStruct(#REAL 1,Pitag_dist 1#) by EUCLID:def 7; then
A12:        dist(x,y) = |.rx - ry.| by EUCLID:def 6;
            consider ux be Real such that
A13:        rx = <*ux*> by Th6;
            consider uy be Real such that
A14:        ry = <*uy*> by Th6;
            rx = 1|->ux & ry = 1|-> uy by A13,A14,FINSEQ_2:59; then
A15:        |.rx-ry.| = sqrt(1) * |.ux-uy.| by TOPREALC:11
                    .= |.ux - uy.| by SQUARE_1:18;
            1 in Seg 1 by TARSKI:def 1,FINSEQ_1:2;
            then 1 in dom <*[.a,b.]*> by FINSEQ_1:def 8;
            then gx.1 in <*[.a,b.]*>.1 & gy.1 in <*[.a,b.]*>.1 by A9,A11;
            then gx.1 in [.a,b.] & gy.1 in [.a,b.];
            then ux in [.a,b.] & uy in [.a,b.]
              by A8,A10,A13,A14;
            hence dist(x,y) <= r by UNIFORM1:12,A15,A12;
          end;
        end;
      end;
      hence thesis by A2;
  end;

theorem Th22:
  for a,b being Real_Sequence st
  (for i being Nat holds a.i <= b.i & a.i <= a.(i+1) & b.(i+1) <= b.i) holds
  IntervalSequence(a,b) is non-empty pointwise_bounded closed
    SetSequence of Euclid 1
  proof
    let a,b be Real_Sequence;
    assume
A1: for i being Nat holds a.i <= b.i & a.i <= a.(i+1) & b.(i+1) <= b.i;
    reconsider s = IntervalSequence(a,b) as SetSequence of Euclid 1 by Th17;
A2: s is non-empty
    proof
      assume not thesis;
      then consider i be object such that
A3:   i in dom s and
A4:   s.i = {};
      product <* [.a.i,b.i.] *> = {} by A3,A4,Def1;
      then {} in rng <* [.a.i,b.i.] *> by CARD_3:26;
      then consider j be object such that
A5:   j in dom <* [.a.i,b.i.] *> and
A6:   (<* [.a.i,b.i.] *>).j = {} by FUNCT_1:def 3;
      j in {1} by FINSEQ_1:2,A5,FINSEQ_1:def 8;
      then (<* [.a.i,b.i.] *>).1 = {} by A6,TARSKI:def 1;
      then [.a.i,b.i.] is empty;
      hence contradiction by A1,A3,XXREAL_1:30;
    end;
A7: s is pointwise_bounded
    proof
      now
        let i be Nat;
A8:     s.i = product <* [.a.i,b.i.] *> by Def1;
        set si = product <* [.a.i,b.i.] *>;
        reconsider si as Subset of Euclid 1 by A8;
        ex r be Real st 0 < r & for x,y be Point of Euclid 1 st x in si &
          y in si holds dist(x,y) <= r
        proof
          set r = b.i - a.i;
          per cases by A1,XREAL_1:48;
          suppose
            r = 0; then
A9:         product <*[.a.i,b.i.]*> = product <* {a.i} *> by XXREAL_1:17
                                   .= {<*a.i*>} by Th5;
            now
              take r = 1;
              thus 0 < r;
              hereby
                let x,y be Point of Euclid 1;
                assume x in si & y in si; then
A10:            x = <*a.i*> & y = <*a.i*> by A9,TARSKI:def 1;
                Euclid 1 is Reflexive;
                hence dist(x,y) <= r by A10,METRIC_1:def 2;
              end;
            end;
            hence ex r be Real st 0 < r & for x,y be Point of Euclid 1 st
              x in si & y in si holds dist(x,y) <= r;
          end;
          suppose
A11:        0 < r;
            take r;
            thus 0 < r by A11;
            hereby
              let x,y be Point of Euclid 1;
              assume that
A12:          x in si and
A13:          y in si;
              consider gx be Function such that
A14:          x = gx and
              dom gx = dom <*[.a.i,b.i.]*> and
A15:          for j be object st j in dom <*[.a.i,b.i.]*> holds
              gx.j in <*[.a.i,b.i.]*>.j by A12,CARD_3:def 5;
              consider gy be Function such that
A16:          y = gy and
              dom gy = dom <*[.a.i,b.i.]*> and
A17:          for j be object st j in dom <*[.a.i,b.i.]*> holds
              gy.j in <*[.a.i,b.i.]*>.j by A13,CARD_3:def 5;
              x in Euclid 1 & y in Euclid 1;
              then x in TOP-REAL 1 & y in TOP-REAL 1 by EUCLID:67;
              then reconsider rx = x, ry = y as Element of REAL 1 by EUCLID:22;
              Euclid 1 = MetrStruct(#REAL 1,Pitag_dist 1#) by EUCLID:def 7;
              then
A18:          dist(x,y) = |.rx - ry.| by EUCLID:def 6;
              consider ux be Real such that
A19:          rx = <*ux*> by Th6;
              consider uy be Real such that
A20:          ry = <*uy*> by Th6;
              rx = 1|->ux & ry = 1|-> uy by A19,A20,FINSEQ_2:59; then
A21:          |.rx-ry.| = sqrt(1) * |.ux-uy.| by TOPREALC:11
                       .= |.ux - uy.| by SQUARE_1:18;
              1 in Seg 1 by TARSKI:def 1,FINSEQ_1:2;
              then 1 in dom <*[.a.i,b.i.]*> by FINSEQ_1:def 8;
              then gx.1 in <*[.a.i,b.i.]*>.1 & gy.1 in <*[.a.i,b.i.]*>.1
                by A15,A17;
              then gx.1 in [.a.i,b.i.] & gy.1 in [.a.i,b.i.];
              then ux in [.a.i,b.i.] & uy in [.a.i,b.i.]
                by A14,A16,A19,A20;
              hence dist(x,y) <= r by A21,A18,UNIFORM1:12;
            end;
          end;
        end;
        then si is bounded;
        hence s.i is bounded by Def1;
      end;
      hence thesis by COMPL_SP:def 1;
    end;
    s is closed
    proof
      for i be Nat holds s.i is closed
      proof
        let i be Nat;
A22:    s.i = product <* [.a.i,b.i.] *> by Def1;
        then reconsider si = product <* [.a.i,b.i.] *> as Subset of Euclid 1;
A23:    si`= product <* ].-infty,a.i.[ \/ ].b.i,+infty.[ *>
        proof
          si` = (the carrier of TOP-REAL 1) \si by EUCLID:67
             .= REAL 1 \ product <*[.a.i,b.i.]*> by EUCLID:22
             .= product <*REAL \ [.a.i,b.i.]*> by Th18,SRINGS_4:27;
          hence thesis by XXREAL_1:385;
        end;
        si` is open
        proof
          si` in Family_open_set Euclid 1
          proof
            for x be Element of Euclid 1 st x in si` holds ex r be Real st
              r > 0 & Ball(x,r) c= si`
            proof
              let x be Element of Euclid 1;
              assume
A24:          x in si`;
              set A = ].-infty,a.i.[, B = ].b.i,+infty.[, f = <*A \/ B*>;
              consider g be Function such that
A25:          x = g and
              dom g = dom f and
A26:          for j be object st j in dom f holds g.j in f.j
                by A24,A23,CARD_3:def 5;
              1 in Seg 1 by TARSKI:def 1,FINSEQ_1:2;
              then 1 in dom f by FINSEQ_1:def 8;
              then g.1 in f.1 by A26;
              then g.1 in A \/ B;
              then per cases by XBOOLE_0:def 3;
              suppose
A27:            g.1 in A;
                then reconsider g1 = g.1 as ExtReal;
                now
                  x is Element of TOP-REAL 1 by EUCLID:67;
                  then x is Element of REAL 1 by EUCLID:22;
                  then x in REAL 1;
                  then x in 1-tuples_on REAL by EUCLID:def 1;
                  then g in Funcs(Seg 1,REAL) by A25,FINSEQ_2:93;
                  then consider h be Function such that
A28:              g = h and
A29:              dom h = Seg 1 and
A30:              rng h c= REAL by FUNCT_2:def 2;
                  1 in dom h by A29,TARSKI:def 1,FINSEQ_1:2;
                  then h.1 in REAL by A30,FUNCT_1:3;
                  then reconsider g1 as Real by A28;
                  set r = |.g1 - a.i.|;
                  take r;
                  g1 - a.i <> 0 by A27,XXREAL_1:233;
                  hence r > 0;
                  thus Ball(x,r) c= si`
                  proof
                    let t be object;
                    assume
A31:                t in Ball(x,r);
                    then reconsider t1 = t as Element of Euclid 1;
                    t1 in Euclid 1 & x in Euclid 1;
                    then t1 in TOP-REAL 1 & x in TOP-REAL 1 by EUCLID:67;
                    then reconsider rt1 = t1, rx = x as Element of REAL 1
                      by EUCLID:22;
                    Euclid 1 = MetrStruct(#REAL 1,Pitag_dist 1#)
                      by EUCLID:def 7; then
A32:                dist(x,t1) = |.rx - rt1.| by EUCLID:def 6;
                    now
                      take rt1;
                      thus t = rt1;
                      rt1 in REAL 1;
                      then rt1 in 1-tuples_on REAL by EUCLID:def 1;
                      then rt1 in Funcs(Seg 1,REAL) by FINSEQ_2:93;
                      then consider h be Function such that
A33:                  rt1 = h and
A34:                  dom h = Seg 1 and
                      rng h c= REAL by FUNCT_2:def 2;
                      thus dom rt1 = dom f by A33,A34,FINSEQ_1:def 8;
                      hereby
                        let j be object;
                        assume j in dom f; then
A35:                    j in {1} by FINSEQ_1:2,FINSEQ_1:def 8; then
A36:                    j = 1 by TARSKI:def 1;
                        consider rt2 being Real such that
A37:                    rt1 = <*rt2*> by Th6;
A38:                    rt1.j = rt1.1 by A35,TARSKI:def 1
                             .= rt2 by A37;
                        consider ux be Real such that
A39:                    rx = <*ux*> by Th6;
                        rx = 1 |-> ux & rt1 = 1|-> rt2 by A37,A39,FINSEQ_2:59;
                        then
A40:                    |.rx-rt1.| = sqrt(1) * |.ux-rt2.| by TOPREALC:11
                                  .= |.ux - rt2.| by SQUARE_1:18;
                        rt2 in A \/ B
                        proof
A41:                     |.ux - rt2.| < |.g1 - a.i.|
                           by A40,A32,A31,METRIC_1:11;
                          g1 - a.i < 0 by A27,XXREAL_1:233,XREAL_1:49;
                          then |.g1 - a.i.| = -(g1 - a.i)
                           by ABSVALUE:def 1; then
A42:                      |.g1 - rt2.| < a.i - g1
                            by A25,A39,A41;
                          per cases;
                          :: Received December 31, 2015
                            then 0 + ::           (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
:: licenses, or see http://www.gnu.org/licenses/gpl.html and
    thenrt2in   rt2 in  by java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 70
                            hence thesis by XBOOLE_0:def 3;
                          end;
                          suppose g1 - rt2 < 0;
                            then -(g1 - rt2) < a.i - g1 by A42,ABSVALUE:def 1;
                            then rt2 - g1 + g1 < a.i - g1 + g1 by XREAL_1:8;
                            then rt2 in A or rt2 in B by XXREAL_1:233;
                             thesisby XBOOLE_0:def 3;
                          ;
                        end;
                        hence rt1.j in f.j by A36,A38;
                      end;
                    end;
                    hence thesis by A23,CARD_3:def 5;
                  end;
                end;
                hence thesis;
              end;
              suppose
A43:            g.1 in B;
                then reconsider g1 = g.1 as ExtReal;
                now
                  x is Element of TOP-REAL 1 by EUCLID:67;
                  then x is Element of REAL 1 by EUCLID:22;
                  then x in REAL 1;
                  then x in 1-tuples_on REAL by EUCLID:def 1;
                  then g in Funcs(Seg 1,REAL) by A25,FINSEQ_2:93;
                  then consider h be Function such that
A44:              g = h and
A45:              dom h = Seg 1 and
A46:              rng h c= REAL by FUNCT_2:def 2;
                  1 in Seg 1 by TARSKI:def 1,FINSEQ_1:2;
                  then h.1 in REAL by A45,A46,FUNCT_1:3;
                  then reconsider g1 as Real by A44;
                  set r = |.g1 - b.i.|;

-<0  A43XXREAL_1235;
                  r>;
java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 39
                  
                     tbeobjectjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
                    assume
A46bis:             t in Ball(x,r);
             then reconsider t1 = t as Element ofEuclid 1;
                    t1       XCMPLX_0, ,INT_1, RVSUM_1, ,,POWER
                     efinitions TARSKI;
                       =t1,rx x  Element  REAL
             by EUCLID:22;
            Euclid =MetrStruct(#REAL 1,Pitag_dist 1#)
                      by EUCLID:def 7; then
A46ter:                   RSSPACE3, FINSEQ_1FINSEQ_2,FUNCT_2, LOPBAN_1 ,SQUARE_1
                    now
                       JORDAN2B , FINSEQ_3 , ,MEASURE5 ,,
                        NAT_1 , XBOOLE_0;
                         1;
 REAL by EUCLIDd 1;
                      then rt1 in Funcs(Segproof
    assume
:                  rt1  and
A48                   h=Seg 1 and
                      rng h cA:e2in
                        rt1=dom f byA47,java.lang.StringIndexOutOfBoundsException: Range [69, 53) out of bounds for length 69
hereby
                        j;
       j  f 
A49:                   j in {1} by FINSEQ_12FINSEQ_1:def8;then
50:j=1by TARSKI:def 1
               rt2beingRealsuchthat
A51                    =*>by Th6java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
A52:then 1 in  pby FINSEQ_3:32;
                            .= rt2 by A51;
                       consider ux be Real such that
A53:                   rx = <*ux*> by Th6;
                       rx = 1 |-> ux & rt1 = 1|-> rt2
                         by A51,A53,FINSEQ_2:59; then
A54:                   |.rx-rt1.| = sqrt(1) * |.ux-rt2.| by TOPREALC:11
                                 .= |.ux - rt2.| by SQUARE_1:18;
                       rt2 in A \/ B
                       proof
                         ux = g1 by A25,A53; then
A55:                     |.g1 - rt2.| < |.g1 - b.i.|
                           by A54,A46bis,A46ter,        e1 <= l p by A7,FINSEQ_3:;
                         0 < g1 - b.i by A43=p. p by ,A7,:def ;
A56:                     |.g1 - rt2.| < g1 - b.        hence pq.e1 < pq.e2 by A10,A12,XXREAL_0:
                         g1 - rt2 < g1 - b.i by A56,ABSVALUE:def 1;
                          g1 -rt2-g1 <g1-b -g1 XREAL_1:14;
then  -.java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
then in B
                           by XREAL_1:24,XXREAL_1:235;
 java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56

A:   p  A17
                     ;
                   end;
                   hence thesis by A23,CARD_3:def 5;
                 end;
               end;
               hence thesis;
             end;
           end;
           hence thesis by PCOMPS_1:def 4;
         end;
         hence thesis by COMPL_SP:def 3;
       end;
       hence thesis by A22,COMPL_SP:def 4;
     end;
     hence thesis by COMPL_SP:def 8;
   end;
   hence thesis by A2,A7;
 end

theorem Th23:
  for a,b being Real_Sequence st for i     end
  a.i   hence ;
  IntervalSequence
  proof
    let a,b be Real_Sequence;
    assume
A1 foribeing holdsai < b.  a.i < (i+1)&b(i+1)< .i;
    now
      let n,m be Nat;
      assume
java.lang.StringIndexOutOfBoundsException: Range [5, 2) out of bounds for length 13
      product <* [.a.m,b.m.] *> c= product <    hencethesis A1A2,:;
      proof
        let x be object;
        assume x in  <[.mbm]>
        then java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 9
A3:     x = f andA1:fort  object st inSA holds tin<x*}
A4:     dom f = dom <* [.a.m,b.m.] *> and
A5:     for i be object st i in dom <* [.a.m,b.m.] *A2:t  <*;
        f.i (<*[a.m,m] *>.byCARD_3:def ;
A6      < [a,b.m] *>=Seg 1  bybyFINSEQ_1:ef 8
        now
          thus =f *}&{**>}c=SA by ;
          thus dom f = dom
          hereby
            let i be object;
            assume
A7:         i in dom <*[.a.n,b.n.]*>; then
m <*.a.m,bm]>by A6,FINSEQ_1:def ;
            i in Seg 1 by A7,FINSEQ_1:def 8; then
A9 thus thesis A1;
A10        <[a,bm.]*).i=[a,b.]java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
A11:        (<*[.a.n,b.n.]*>).i =     dom ra=Seg 1byFINSEQ_1def8
A12:        a is non-decreasing by A1;
            doma =NAT 1java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
            then n in dom a & m in dom a by ORDINAL1:def p
A13:        a.n< a.by A12,;
A14:bisnonincreasing by A1;
            dom b = NAT by SEQ_1:1;then
            n in dom)/;
            then b.m <= b.n by A14,A2;
             ..,.m.]c=[a.n,b.n.] byA13,XXREAL_1:
            hencefi (*[.a.,bn] >.i  A8A5A10A11
          endjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
        end;x -n  inTOP-n EUCLID:;
        hence thesis by CARD_3:def 5;
end
thena,)mc <*[n.]> byDef1;
      hence IntervalSequenceab.m c=IntervalSequence(ab.n Def1;
    ;
    hence thesis by PROB_1:def 4;
  endjava.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6

theorem Th24:
 for ,b, beingReal a<= x<  holds
    <*x*> in product <*[. the carrier of -NSnbyREAL_NS1:def ;
  proof
    let a,;
    assume
A1: a <= x <= b;
    reconsider:   is
    setthenconsider pbeNat suchthat
java.lang.StringIndexOutOfBoundsException: Range [35, 2) out of bounds for length 36
    ex g be Function st g = P & dom g = dom <*[.a,b.]*> &
    for y(s1n0,.  |s.s2.m0.|by,;
    g.y in (<*[.a,b.]*>).y
    proof
      reconsider g = P as Function;
      ow
        take g;
        thus g = P;
        thus  =dom  by ,FINSEQ_1:def 8;
        
          let y be object          take k;
          assume y in dom f;
          then y in {1} by FINSEQ_1:def 8,            |.s2-s2m0|  s.s.)byA1Th9
A3:       y = 1 by TARSKI:def 1;
          thus .y in .ybyA3,XXREAL_1:;
        end;
      end;
      
;
    hence thesis by CARD_3:def 5;
  end;

theorem       assumeassume s1 is convergent;
   abbeing Real,S being Subset ofEuclid st  <=bjava.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
  S = product <*[.a,b.]*>dists.,x <rjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
  proof
    leta, be , S be  Euclid;
    assume that
A1 assume 0< r;
A2: S = product <*[.a,b.]*>;
    set f = <*[.a,b.]*>;
A3: S is bounded by A1,A2,Th21;
A4: S is non empty by A1,A2,Th24;
    ((for x, y being Point of Euclid 1 st x in S & y in S holds
    dist (x,y) <= b - a) & (for s being Real st
    (for x, y being Point of Euclid 1 st x in S & y in S holds
    dist (x,y) <= s) holds b - a <= s))
    proof
      thus for x, y being Point of Euclid 1 st x in S & y in S holds
      dist (x,y) <= b - a by A1,A2,Th20;
      thus for s being Real st ( for x, y being Point of Euclid 1 st
        x in S & y in S holds
      dist (x,y) <= s ) holds b - a <= s
      proof
        let s be Real;
        assume
A5:     for x, y being Point of Euclid 1 st x in S & y in S holds
        dist (x,y) <= s;
        assume
A6:     s < b - a;
A7:     <*a*> in S & <*b*> in S by A2,A1,Th24;
        reconsider sa = <*a*>, sb = <*b*> as Point of Euclid 1 by Th7;
A8:     dist(sa,sb) <= s by A5,A7;
        a - a <= b - a by A1,java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 20
        then.|=b - a by ABSVALUE:ef 1;
        hence contradiction by A6,A8,Th19;
      end;
    end 
    hence thesis java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 29
  end

theorem Th26:
 for , beingReal_Sequence st (i beingNatholds ai = b.) &
   isnon-ecreasing  bis non-increasing holds
  a is convergent & b is convergent
  proof
    let a,b be java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 21
    assume that
A1:  ake m0;
A2: a is non
A3: b is non-increasing;
    java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      hereby
        let n be   proof
        econsider n0= nas ;
        0 in NAT; then
4      in domb  :java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
ninNAT ORDINAL1: 
        then n0 in dom bend;
 by A4,A3;
        .n<= b.nby A1;

n < b. 1 byXREAL_1:8
        n r
      end;
    end; then
:def 3
java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
      take r = thenreconsiderpx= xpy=y as Element Euclid nby :67;
      hereby
        let n beEuclid =MetrStruct(REAL,Pitag_dist n# by EUCLID:def ;
        reconsider =n ExtReal;
        0inNAT 
A7.=d1.x,)by NORMSP_2:def 1java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
        n in java.lang.StringIndexOutOfBoundsException: Range [13, 16) out of bounds for length 13
n0  bySEQ_11 
A8:     a.0 <= a.n0 by A7,A2;
        .< bn  
         by A8,XXREAL_0:2;
        then
        hence  <bnjava.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
      end;
    end;
    thenb  def 4
    hence thesis by A2,A3,A6;
  end;

theorem Th27:
  for a,b beingfor beingNat holds it.  *[..b.] *;
 i java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 23
  ((a.(i+1) =proof
  (.i)=(a. +b.i)2&.(1 = b.)
  holdsfor  being Nat holds a.i <= b.i
  proof
    let a,b be Real_Sequence;
     that
A1:a0< b.and
A2: for i be Nat :domf =dom < .x,.x. * and
    ((a.(i+1) = a.i &        f. in <* [.a.x,.x] *>.i byCARD_3def 5
    (a(i+1)=(a.i  i/  :def8;
l u object;
A3: P[0] by          then considertbe object  
A4: for k be Nat st P[k] holds P[k+1]

let N;
assumePk;
      then consider             by A7,A3,:2TARSKI ,,A5
      k  i and
A5:   a.k <= b.k;
      ((java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 23
     ((+)=(k  b.)/2&b(+1)=b.k)by A2
 by ,Th8
    end
A6: for k be Nat holds P[java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 8
    letx inNATholds Px,.x from FUNCT_2:sch ()
    ibeNat sti= k && a.i <= .i by;
A10:for x be object st xinNAT P,.
  end;

m Th28:
  for a,b being Real_Sequenceendjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
  a.0 <= b.0 & S = IntervalSequence(a,b) & (for i being Nat holds
(.i+)=a. (+1  (ai+.i)2)or
  a()=ai+b.i)/2 & b.(+1  i))
  holds forA14    holdsg1.i=product < [ i,. ] * byA11;
  a.i <= g2 beFunction NATbool REAL 1such that
  (diameter S).i = b.i - a.i
  proof
    let ,b be,  be ofEuclid1
    assume that
A1: a0 < 0
A2:S=IntervalSequence(,)and
A3: for i being Nat holds
    (a.(i+1) = a.i &hencethesis;
    (a.(i+1) = (aendjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
A4: for i  proof
     <=a(1 &b.i)<= .i
    
 Nat
theoremTh18
     ai =b. by,A3;
        thus a.i <= a.(i+1)
        proof
          a.(i+1) = a.i or a.(i+1) = (a.i+b.i)/2 by A3;
          hence thesis by A6,A3:   for j be object st j in dom <*REAL*> holds
        ;
        thus b.(i+1) <= java.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 11
        proof
          b.(i+1) = b.i or b.(i:u  gt  FUNCT_1: 3java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
            by,Th8;
        end;
    
    now
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 19
A7:x n 1- java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 48
reconsider=IntervalSequenceab.ias
        Subset ofEuclid  by ORDINAL1:12,FUNCT_2:;
*> by A2Def1
A10:xin (Seg1REAL)by FINSEQ_2:;
        Subset of Euclid 1;
      diameter(S.i) = java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 17
                   .thus dom g=dom *REAL*> by A11,A12,FINSEQ_1:def 8;
      hence (diameter S).i = b.java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 16
    end;
    hence thesis by A4;
  java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6

theorem  end
  for a,b being Real_Sequence, S being SetSequence of Euclid 1 st
  a.0 = b.0 & S = IntervalSequence(a,b) & (for i being Nat holds
    java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 23
  (a.(i1)  (a.i +b.)2  b(1 = b.))
  .i = a.0 & b.i = b0 &(diameter S).i = 0
  proof
    let a,b Real_Sequence,Sbe SetSequence of  1;
    assume that
A1: a.0 = b.0 and
A2: S =x Euclid1  xb in1
A3:for i being  holds
    (a.i+1)= a.& b.i1 = ai.i/)or
    (a.(i+1) = (a.i + b.i)/2 & b.(i+1) = b.i);
    defpred P[Nat] means a.$1 = a.0 & b.$1 = b.0;
A4: A4: r   - a byA1:59java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
:forkbe  st P[k]holds P[1
    proof
      let k bejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      assume
A6:   P[k];
      (a.(k+1) = a.k & b.(k+1) = (a.k+b.k)/2) or
      a.k+)=akb.k)/2 &b.k
           hence thesis by ,A6;
    ;
A7: for k be Nat holds P[k] from NAT_1:sch 2(A4,A5);
    let i be java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 14
    thus
A8: a.i = a.0 by A7;
    thus
A9: b.i= b0 byA7
   (S).i=bi -aibyA1,,Th28;
    hencey insiholds dist,y =b-a
  

theorem
  for a,b:     product *[.a,.*> = product < {}*>by XXREAL_11java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
  (for i being Nat               x,y be Point of Euclid
  (a.(i+1) = a.i & b.(i+1) = (a.i+b.i)/2) or
  (a.(i+1) = (a.i + b.i)/2 & b.(i+1) = b.java.lang.StringIndexOutOfBoundsException: Range [12, 1) out of bounds for length 16
  (ibeingbeing Real st  =|^  <  holds
  s0<r;
  
   ab  
    assume that
A1: for i being Nat holds
a(i+) = a.&b(+1)=(.i+b./ )or
    (a.(i+1) = (a.i + b.i)/2 & b.(i+1) = b.i);
    Pobject exi Nat
 & b.i- a.i <= (b. -a)/r
A2: P[0]
    roof
      reconsider i0 = 0 as Nat;
      reconsiderr0 2^ asReal;
      take i0;
      take r0;
      2|^0 = 1 A13:        rx = *ux*> by Th6;
      hence thesis;consider beReal such 
    end;
A3 for  beNat holds []implies [k+1]
    proof
      etkbeNat;
      assume P[k];.= .-uy| by18
      then consider i1 be Nat,
      r1 be Real such that
A4:   k = i1 and
A5:    = 2^i1 and
      r1 <> 0 and
A6:   b.i1 - a.i1 <= (b.0 - a.0) / r1;
      reconsider i0 = k+1 as Nat;
      reconsider r0 = 2|^(k+1) as hence dist(x,y) <= r by A12,UNIFORM1:12;
A7:   r0 <> 0 by NEWTON:87;
      b. -ai0<= b.0- a0 /0
      proof
A8Th21:
       (a.   , being,S Subset ofEuclid 1 a< b & java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
A9:    (b.i1-aassume 
        r1 * 2 = r0 by A4,A5,NEWTONA2: S = product <*[.a,b.]*>;
        hence thesis by A8,A4,XCMPLX_1       java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
      end;
      java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 11
    end;
A10: for k be Nat holds P[k] from NAT_1:sch 2(A2,A3A3       product *[.ab]>= product < a} *by XXREAL_1:7
    let i be.= {<*a*}by Th5;
    assume that
A11: r = 2 |^i and
    r <> hereby
    consider i0 be Nat,
    r0 be Real such that
A12: i = i0 and
A13: r0= 2|^i0 &r0 > 00& b.i0- a.i0 < b0- a.0) r0 by ;
    thus b.i - a.i <= (b.0 - a.0) / r by A11,A12,A13;
  end;

theorem Th31:
   xin si & y in si holds dist(x,y) <= r;
  a.0 <= b.0 & S = IntervalSequencesuppose
  ((a.(i+1)            0  byA5
  (.(i+1)=(a.  b.i)2&b(+) i)) 
  diameter S  convergent  lim diameter S=0
  proof
    let a,b be Real_Sequence, S be SetSequence
    assumethat
1 .=.0
A2: S = :        y = gy
 f ibeing holds
    ((a.(i+1) = a.i & b.(i+1) = (a.i+b.i)/2 ) or
    (a.(i+1) = (a.i + b.i)/2 & b.(i+1) = b.i)));
    per cases by A1,XXREAL_0:1;
    suppose
A4:   a.0 = b.0;
      for x,y be object st x in dom (diameter S) & y in dom (diameter SA13:       rx=<ux* by java.lang.StringIndexOutOfBoundsException: Range [31, 32) out of bounds for length 31
      (diameter S).x = (diameter S).y
      proof
        let x,y be object;
        assume that
A5:     x in dom (diameter S) and
A6:     y in dom diameter);
        (diameter S).x = 0 & (diameter S).y = 0 by A5,A6,A4,A2,A3,Th29;
       hence thesis;
      end; then
A7:   diameter S is constant;
      hence diameter S is convergent;
      limdiameterS =(S.0 byA7SEQ_426;
      byA8A10A13,java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
    end;
    suppose a.0  A2
A8:   a.0 - a.0 < b.0theoremTh22:
A9:   diameter S = b + (- a)
      proof
        now
          let i be Nat;
          (-a). ip
          then b.i - a.i = b.i + (-a).i;
          hence (A1: fori being Nat holds a.i<=b.i&a.i< a.i1 &(+1 < b.i;
        nd
        hence thesis by SEQ_1:7;
      end;
      set S2 = diameter S;
A10:  for i be Nat holds a.i <= b.i by A1java.lang.StringIndexOutOfBoundsException: Range [41, 42) out of bounds for length 15
: a is -decreasing  A1A2A3,Th28;
      b is non-increasing by A1,A2,A3,Th28; then
A12:  a is convergent & b is convergent by A10,A11,Th26;
      lim diameter S = 0
      proof
        for p be Real st 0<p ex n be Nat st
        for m be Nat st n<=m holds |.(S2.m) - 0.| < p
        proof
          let p be Real;
          assume
A13:      0 < p;
A14:      now
            0 + 1 < (b.0-a.0) / p + 1 by A13,A8,XREAL_1:8; then
A15:        0 <= log(2,(b.0-a.0)/p + 1) by Th2;
            reconsider i0 = [/ log(2,(b.0-a.0)/p + 1) \] as Integer;
A16:        log(2,(b.0-a.0)/p + 1) <= i0 by INT_1:def 7;
A17:        i0 in NAT by A15,INT_1:3;
A18:        log(2,(b.0-a.0)/p + 1) +0  < 0 +1by,XREAL_1:;
            reconsider n0 = i0 + 1 as Nat by       then consider  beobject such that
            take n0;
            let m be Nat;
            assume
A19:        n0 <= m;
           n0  POWER:34;
            2 to_power log(2,(b.0-a.0 /p+ 1 < 2to_power n0
                           byA18POWER:; then
) /p + 1 < 2 to_power n0 by A13,A8,POWER:def 3;
            (b.0 - a.0) / p < (b.0 - a.0) / p + 1 by XREAL_1:29;
            then (b.0 - a.0) / p < 2 to_power n0 by A21,java.lang.StringIndexOutOfBoundsException: Range [0, 64) out of bounds for length 26
            then (b.0 -a0  p *p< (2 to_power n0) byA13,XREAL_168;
            then .0-a.0 < p   to_power n0 yA13XCMPLX_1:87;
            then (b.0 - a.0) / (2 to_power n0)  <
              2to_power n0)/( to_power n0)by A20,XREAL_1:;then
A22:(. -a.0)/( to_power n0) < p by A20,XCMPLX_1:89;
A23:        2 to_poweryin  holds(x,) < r
            0 < 2 to_power n0 by POWER:34proof
                      per cases by ,XREAL_148
              by A23,A8r = 0;then
            hence (b.0-a.) /(2to_power  <p byA22,XXREAL_0:2java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
          end;
          now
            consider n0 be Nat such that
A24:        
            take n0;
            hereby
              let m be Nat;
              assume
A25:          n0 <= m;
              a.m <= b.m by A1,A2,A3,Th28; then
 -a. byXREAL_19;
                            assume
                     .= b.m +(-a).m by SEQ_1:7
                     .= b.m + (- a.m) by SEQ_1:10
                     :         x  and
A27:          |.S2.m - 0.A15:          for j eobject st j in dom *[aibi]>
                           1;
               m0=masElementofNATby ORDINAL1:def 
              2|^m0 is Element of dom gy = dom <*[.a.i,b.i> and
              then reconsider r = 2|^m as Real;
              r <> 0 by NEWTON:83; then
A28:          |.S2.m - 0.| <= (b.0-a.0)/r               in -REAL1&y TOPREAL  byEUCLID;
              (b.-a.0/( to_power m)<p A24;
              hence |.S2              Euclid 1 = MetrStruct(REAL 1,Pitag_dist 1) by EUCLID:def ;
            endA:          dist(x,y)= |.rx - ry.| by EUCLID:def 6;
          end;
          hence thesis;
        end;
        hence thesis by A12,A9,SEQ_2:def 7;
      end;
      hence  byA12A9
    end;
  A21:|.rx-ry.| = sqrt(1) * |.ux-uy. by TOPREALC

theoremTh32:
forab    a0< 0java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
  (for i being Nat holds
  ((a.(i+1) = a.i & b.(i+1) = (a.i+b.i)/2) or
  (a.(i+1)              hence (x,y) =rby A21,A18,UNIFORM1:12;
  holds meet IntervalSequence(a,b) is non empty
  proof
 be Real_Sequence;
    assume that
A1: a.0 <= b.0 and
A2: for i being Nat holds
    ((a.(i      hence thesis by COMPL_SP:def 1;
    (a.(i+1) = (a.i + b.    sisclosed
    java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
java.lang.StringIndexOutOfBoundsException: Range [13, 2) out of bounds for length 21
    a.i <= b.i &         then reconsider si =product <* [.a.i,b.i.] *> as Subset of Euclid 1;
    reconsider S = IntervalSequence(a,b) as non-empty java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 13
    SetSequenceof Euclid 1)byA3,h22;
A4: S is non-ascending             =REAL 1 \product <..i,b.]*> byEUCLID
    lim diameter S = 0 by A1,A2,Th31;
    then meet S is non empty by A4,COMPL_SP:10;
    : The Construction and  of :: Received June 15, 1999
  end;

theorem
  forr  Reala, beingReal_Sequence st 0 <r&
  a.0 <= b.0 & (for i being Nat holds
  ((a.(i+1) =           proof
(i+1)b.i))holds
  excbeing st(for j               r > 0 & Ball(x,r) c=`
  ex k being Nat SCMFSA6C, COMPOS_1
  proof
     r  Real,a,b  COMPOS_0 COMPOS_1,EXTPRO_1,AMI_2 CMPDS_2,

: <r and
A2: a.0 <= b.0 and
A3:for iNat holds
(+1=.ii/ )
    s         in   FINSEQ_1: 8
    java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
    thenLm1:SCMPDS.    SCMPDS
A4: y in meet java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
: y in meet rng IntervalSequence(,java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
 thenconsider h beFunction    =;
    set f = java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 5
    (,)0 rng IntervalSequence(a               h 1and
:hcbyd 2
    in a)0by A5,ETFAM_1 1; then
inproduct * [a0b0]*> by ;
    g be Function such 
A10: y = g and
    dom          r >java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
    for lett beo
0b0]*).t byA8,CARD_3A:t inBall(,r;
    yis ofTOPREAL 1 by EUCLID:,A4;
     consider c be Real such that
   holdsst inTOP-1& TOPREALbyEUCLID:;
take ;
A12let  beState SCMPDS,,m2beNat
      let i be Nat;
      IntervalSequence(a,b).i in rng IntervalSequence(a,b)
UNCT_1java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
       now
      then in <[i.java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 50
       hbeFunctionsuch that
A13h by                        tuples_on  by: ;
      dom                      thenrt1 in Funcs(eg  of,abeing
A14   t object st  in dom <*[.a.i,b.i.]*> holds
      h.t in (<dom =1and
f 8;
      1 inSeg1yTARSKI::1FINSEQ_12
       h1 (*[a,b..] *)1by A15
then 1 [a,b.i]A10;
      then <>  java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
       aholds ,) <0goto k2<> halt SCMPDS
    end;
    hence for j                         assume j in dom f then  hencethesis bySCMPDS_2:17;
A36:                    =holdsa,) >0k2> halt SCMPDS
    proof
  IntervalSequence(;
A17:fori Nat holds
                             . rt2 ;
       S =(b 
        java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
      SetSequence of (Euclid 1) by A17,Th22;
A18A40 rx- sqrt()*.rt2. 11
      consider
A19:proof
       A1,18,SEQ_2def 7java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
      a.< bm0byA16,2A3Th28
      then | ..|=-(g1-a.)
 a.m0 byABSVALUE:java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
      then |.( byA25,A;
A20:  b.m0 - a.m0 < r by A19;
      c - a.m0 <= b.m0 - a.m0 by A12,XREAL_1then rt2<a.i byA27XXREAL_1:233,XREAL_0:;
A21:c-a. <r by ,2 0inGoto k1 ( k1).0 goto k1 AFINSQ_165;
      take m0java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
cam0+am0 <r + a A21java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
      r  . +rrb java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
      hence c - r < a.m0ICComput(P+*stop I,Initialize s,k) in dom stop I;
 - c< bm0 -am0 A12,XREAL_11;
      henb -  rbyA20,XXREAL_0:;
      then b.m0 - c + c < r + c                             rt2 Aor rt2 forsbeing State of SCMPDS, P holds I is_closed_on s,P
      b. c r
    end;
  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6

beginis_closed_ons,byA1;

java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  forlet   Program SCMPDS
 exa                nd;
pjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
    suppose
     ,be   I=[a,.]by :def 3;
    hence thesis by XXREAL_1:29;
  end;

theorem
I1,  being non empty closed_interval Subset of REAL
  stupper_bound 1= I2holds
  ex   let , beState SCMPDSI beProgramof ;
  proof                  xin1java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    let I1 Comput(, then in1tuples_on by EUCLIDdef1;
    
A1: upper_bound I1 = lower_bound I2;
    consider a1,b1 be Real such that
A2: a1 <= b1 and
A3: I1 = [.a1,b1.] by Th33;
    consider a2,b2 be Real such that
A4: a2 <= b2 and
A5: I2 =[a2b2]by Th33;
A6:upper_bound I1 =b1byA2,A3,JORDAN5A:;
    lower_bound I2 = a2 by A4,A5,JORDAN5A:19;
    hence thesis by A1,A2,A4,A3,A5,A6;
  end;

definition
  let A be non empty closed_interval Subset of REAL,
      D be Division of A;
  func set_of_tagged_Division(D) -> Subset of REAL* means  :Def2:
  for x being& (E1S1$) =DataPartComput(2S2,$)java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
exsbeingnonempty-ecreasing  ofREAL st
x s&
  dom s = dom D &
  for i being 8;
  existence
  roof
ans
    ex be empty non- FinSequenceof REAL st $=s &
oms= dom Dtake r;
iin s s.java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 56
    java.lang.StringIndexOutOfBoundsException: Range [28, 12) out of bounds for length 31
A1: for     = Comput(E2,S2,                  thus Ball(x,,,k1  IC (E2,,+1) y ;
      from XBOOLE_0:sch 1;
    take S;

f REAL*;
    let x be object;
           by A11,16A12,A18,GRFUNC_1:2;
      ex s be non empty non-decreasing FinSequence of REAL java.lang.StringIndexOutOfBoundsException: Range [0, 61) out of bounds for length 6
    x s&
     dom &
    for ibe Natst in dom  s(i)by;
pty nondecreasing FinSequence of REAL such that
A2: x = s and
A3   domand
  i e sti indom holdssi in divsetDi);
    x in REAL    .    MEMSTR_0def;
     =pI  A520:
  end;
  A24: for k b Nat holds []  NAT_1sch 2(23,7;

    let TD1,TD2 be Subset of REAL* such that
A1:for be  holds  in TD1 iff
    ex s be non empty non-decreasing FinSequence of REAL st
    x = s &
     s=dom D&
    ibeNat st i in dom s holds s.i in divset(D,i) and
A2: for x be object holds x in TD2 iff
    java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8

     sDjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
    for i be Nat      . Computconsider  be  such 
A3:  c= TD2
    roof                        =1        A1011AGFUNC_1:;
       x object;
         java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 24
      |-t1.| =sqrt(1)  .-rt2|by TOPREALC:java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
      xs&doms=dom D &
      for i be   i dom  holds .iindivsetDi)by A1;
      hence thesis by A2;
       ;
 c TD1
    
      let x be object;
      assume x in TD2;
      then A21:forkbeingNat holds []fromNAT_1: 2A20,6)
      x = s & dom s = dom D &
      for i be Nat st i java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 6
      hence thesis by A1;
    ;
    hence thesis by A3;
  end;
nd

theorem Th34:
  fortheorem
  Dhence thesisA23,:ef 5;
  
                 end
     beDivision of Ajava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
    forrI, beingProgram of SCMPDS
    proofend;
      let i be Nat;
      assume( +*stop I,sk   Comput( +* stop(I ;'J)sk) &

      consider a,b be Real such that
A2:   divset(D,i) =        ence thesis by A22,COMPL_SP:def4;
      a <= b by A2,XXREAL_1A2: Initialize s = s by     hencethesis by COMPL_SP:def 8;
A3   upper_bound divset(D,)= b&b  [.a.]by ,JORDAN5A:19,XXREAL_1:1;
1 < i by A1,FINSEQ_3:25; then
      percases by XXREAL_0:1;
      suppose i =A3:: P1 halts_on s by A2;
           & a <=a.i+1) &b(i1 = b. holds
      end;
  ijava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
       thesis ,A2A1,A1 ibeingholdsai< .  . =a(+)&b.+)< b.ijava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
    ;

    hence thesis by Def2;
  end;

java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
  for a,b P1,s,) by,A12,:;
[.,] holds <b isDivision of 
  proof
 non SubsetofREAL;
    assume
A15: IC Comput(1,sm) in dom I by A11,COMPOS_1:51;
A2A3:x  and
    set  =<b
   c 
    proof
      let x be.=2IC(1,,) A6A15A8A9,GRFUNC_1:
      assume x in  D;
      then x in {b} by FINSEQ_1:39;
      then x =              , EXTPRO_1:;
      hence thesis            let ibeobjectA18 for  [m]from NAT_1:sch2(17A4);
    end;
   D(en D) =A7         iin dom<*.a.n,.n.]*; then
    proof
      dom D =    P1,,)=C( *pIJ ,k  ,A19;
      then D.lenD=<b*.byINSEQ_1:def 3
                    A9           1 TARSKI:def1FINSEQ_1   +  ,))by A19,18java.lang.StringIndexOutOfBoundsException: Range [69, 70) out of bounds for length 69
      hence thesisbyA1,   DataPartComputP* stop(''J,s,LifeSpanP+*stop,s));
    end;
    hencethesis  A3,INTEGRA1:def 2;
  end;

definition
  let I be non empty  set= Initializes PP= P+* stop I,
:
  ex hence
     T     ComputPP ss,k), Ik=IC Sk;
  it =    end
xistence
  proof
    considerCurInstr IntervalSequence(a,b).m c= product <*[.a.n,b.n.]*> by Def1;
A1: I = [a,b.] byMEASURE5java.lang.StringIndexOutOfBoundsException: Range [27, 1) out of bounds for length 49
  A1:9
    reconsider B = <*b*> as Division of I by A1,Th35;
    now
<*b* = B
      java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
        let i be Nat;
        assume
A3:     A1:holdsCurInstr(P+  I ( k) java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
:      in {1} by FINSEQ_1:2,INSEQ_1:ef 8;then
A5:     i = 1 by TARSKI:def 1;
onsiderc,dbe Real such that
:divsetB,) = [.,d.] byMEASURE5def ;
A7:     c <= d by A6,XXREAL_1:29;
1ndomBbyA3A4TARSKIdef1java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
        then lower_bound divset(B,1) = java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 31
upper_bound         upper_bound divset
        then c = lower_bound [.a,b.]9 stop(I ; )= I  thusg=P
      =  d=b A2JORDAN5A19
 [a,b.] by A2
        hence<b*>ijava.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 49
     ;
    end;
    then reconsider T = <*b*> as Element of set_of_tagged_Division    =P2.  by ,A6,RFUNC_12
      by Def2;
    take [B,  for I beinghalt-free Program of SCMPDS,s being State of
      LifeSpanP+ stop, s
  end;
end;

definition
  let I       s2 (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      jauge be  A1IC indom by Th17;
java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
  attr   jauge-fine means
    ex D being Division of I      =urInstr(Css inof  1 stx n & y  Sholds
T]&for beingNatsti in dom D holds
     divset(D,    hence contradiction by ,COMPOS_1:def 27;


begin :: Division composition

theorem
 Realvol{ = 0
          (,)< s;
    let r be Real;
    vol {r} = upper_bound {r} - lower_bound {r} by INTEGRA1:def 5
           .= r - lower_bound {r} by SEQ_4:9
           .= r - r by SEQ_4:9;
    hence thesis;
  ;

theorem
  for I1,I2 being non empty closed_interval Subset of REAL,
      jauge being java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  jauge|I2 is positive-yielding Function of I2,REAL by FUNCT_2:32;

theorem
  for I being non empty closed_interval Subset of REAL     IC(+* stop ( 'Goto(   1 ' J java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
  st c DataPart ( *stop I s
  I,c]snonempty closed_interval Subset of REAL &
[c, I. isnonempty losed_interval  Subset of REAL&
  upper_bound [.lower_bound I,c.]  LifeSpan(P + stop I,) ++ 11)) &
  proof
    let I be      taker=b0+ ;
    c be Real;
   assume
A1: c in I;
 C P+ stopI ; Goto(ard   ) ''J),s
A2: a <  =  cardI &
A3:I=.ab] Th33
A4:lower_bound(I) = a & upper_bound(I) = b by        hence an < r
A5: a <= c <= b by A1,A3
    [lower_bound(I),c.] is non empty closed_interval Subset of REAL &
    ,upper_bound  assume
      by A4,XXREAL_1:30,MEASURE5:def 3;
    upper_bound [.lower_bound(I),c.] = c by A4,A5,JORDAN5A:19;
er_bound [lower_bound(),c]= lower_bound [.c,upper_bound(I).]
        reconsider  2 =;
  end;

definition
  let Iac,Icbbenon empty closed_interval Subsetof REAL,
          Dac be Divisionjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
           be Division  Icb;
  
 Iac)=lower_bound;
  () Dcb-non increasing of REAL equals
::
c ^ Dcb if Dcb1< upper_bound(Iac)
    otherwise
  Dac ^ (Dcb/^1);
  correctness
  proof
    Z1:
    now
java.lang.StringIndexOutOfBoundsException: Range [28, 12) out of bounds for length 12
A2:   Dcb.1 <> upper_bound(Iac);
A3:   Dac.len(Dac) = upper_bound Iac by INTEGRA1:def 2;
:  Dac.(Dac)< lower_bound(Icb)by A1,INTEGRA1:def 2
A5:   rng Dcb c= Icb by INTEGRA1:def 2;
      :for ibe holds
      then 1 in dom     ((a.(i+1) = a.i & bi1)=(.ib.i)2) or
A6:   Dcb.1 in Icb by A5,FUNCT_1     P[]exi be st $ =i&a. < b;
      consider c,b be A4:for k  Nat P[]holdsPk+1]
A7:   Icb = [.c,b.] by MEASURE5:def 3;
      c <= b by A7,XXREAL_1:29;
      then lower_bound(Icb) = c by A7,JORDAN5A:19;
      A5   a.k <bk;
      thenDac.len(Dac) <= Dcb.1 by A4,XXREAL_0:2;
       Dac(  .by ,,1;
      hence Dac    cardI+0 < cardpJby A13X:6;
    end;
    ow
      assume
A8:   Dcb.1 = upper_bound(Iac);
      now
        assume
A9:     not Dcb/^1 is empty
A10:    rng (Dcb/    = ard + card J +1;
        rng Dcb <> {}; then
A11
A12 1 =lenDcb  :25;
        then reconsider D2 =
Dcb^1   emptyincreasing of REAL by ,NTEGRA134
    .lenDac)  upper_bound Iac INTEGRA1:def2;
        1in (Dcb^) A10,FINSEQ_3:32; then
   (/1.  Dcb.+)byA12RFINSEQ: ;
1in (/1) by A10,FINSEQ_3:32;
        then (1+1) in dom Dcb by
        then upper_boundnow
        hence Dac ^ (    let a,b be Real_Sequ,S SetSequenceof Euclid1
                   by A13;
      end;
      hence Dac ^ (cb^1)is A3:for ibeing Natolds
        byA26:  k < LifeSpan,s1;
    end;    (.(i+1 = (.i        then (P1,(P1,s1,))<> halt SCMPDS,,Th19,A3
    hence thesis by Z1;
  end;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem
   Iac,Icb being non empty closed_interval Subsetof REAL
  Dac being Division of Iac,   =card by A1,A2,A5,Th20,A3;
  upper_bound(Iac)=lower_bound(Icb) &
  len Dcb  1 &
  Dcb1=lower_bound(Icb) holds
  Dac (#)    thus b.(+1 = b.java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27

    et            thesis by A6,Th8;
    Dac be Division ofend;
    assume that
A1: upper_bound(Iac) = lower_bound(Icb) and
A2: len Dcb= 1 and
3 Dcb1 I)java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
len cb^)  len Dcb 1byA2:def1
    then Dcb/^1 = {}  set G = Goto (card J + 1), IJ = I ';' G ';' J, J2 = I ';'       .i=product * [a.,b.istop J2 pI stop I,P1=P++* pI,P2 =P+*pJ,

    hence thesis by A1,A3    1;
  end;

theorem Th37:
  for I1,I2,I being non empty closed_interval Subset of REAL
st  I1 <=lower_bound I2 java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
  lower_bound I< lower_bound I1 &upper_bound I2 <= upper_bound Iholds
I1\I2 I
  proof
    letjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
:upper_bound(I1   n<ardI+1by :;
: (I)< lower_bound((a.+1  (i+ bi)/2  b.i) =))
A3er_boundI)
    consider a1,b1be  suchthat
A4: I1  let  then I= 2 byA9BOOLE_1:1;
A5: a1  assume
A6: lower_bound I1 = a1 & java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 6
 = P..ICs3byPBOOLE:
A7: I2 = [.,2. A15: P4IC java.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
A8: a2 <= b2 by A7,XXREAL_1:29;
 (Ijava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
      by,A3A5A4JORDAN5A:19,A8,A7;
A10: b1 A:P0];
    consider a3,b3 be Real such that
A11: I = [.a3,b3.] by java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 19
    a3 <= b3 by A11,XXREAL_1:29; then
A12 lower_bound I = a3 & upper_bound I = b3 by A11,JORDAN5A:19;
      x be object;
      assume byjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
A13:   x in  \ I2
      then reconsider x1 = x as Real;
      per cases by A13,XBOOLE_0:def 3;    A8::ai=a  A7
      suppose x inA17:halt SCMPDS=urInstr(1,    thus
        <        then a1 <= java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 47
        java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 8
     a1 C1kComputP1 ,)ICComput
        then lower_bound I <= x1 <= suppose
        hence x in I by A12,A11,XXREAL_1:1;
      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      suppose;
        then a2=x1<   7XXREAL_1:;
        then b1 <= x1 <= b2 by A10,XXREAL_0:2         C2k= Comput(,s)java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 29
then a1<  <   A5XXREAL_0:;
         C2kC2k  dompJ  A5;;
        hence x in I by A12,A11,java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 25
      ;
  java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 9

A25:cardStop  =1by:;
 ,I2I  emptyclosed_interval  REALjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
 beingDivisionof 2 Division  I2 st
  upper_bound I1 = lower_bound I2 &
               i0 =0;
ionof java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
  take;
    let Iac,Icb,I be non empty closed_interval Subset of REAL,
    Dac be Division of Iac,    endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    assumethat
A1: upper_bound Iac <= lower_bound Icb and
A2: I = [.lower_bound Iac,upper_bound Icb .];
 Iac =   :28 then
A3: lower_bound Iac <=     then card I + 0 < cardbyXREAL_16A33;
 Icb < upper_bound Icb by BORSUK_4:28; then
4:A5:r1= 2|and
then > 0and
byA2JORDAN5A:;then
A1,h37java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
A6:then
A7: rng Dcb c= Icb by INTEGRA1:def 2;
    rngDcb> };
    then 1 in dom Dcb by FINSEQ_3:32; then
INSEQ_1:def 3;
    hen <= lenbyFINSEQ_1:1; then
A9:len  + 1A9    (bi1ai1/ =(b0a.)r1/   A6,72
   setDacb Dac()Dcb
    ;
    suppose
      Dcb.1 <> upper_bound(Iac); thenA39: CurInstr(P2,Comput(P2,s,m+1))
A10:  DacbA10  . (I''JS).(ard I+c +1))by A10,A9,,RFUNC_12
       Dacb=rngDac\ Dcbby 10FNSEQ_131
then Dacb =Iac \    assumethat
A11:rng  cI A5;
       now
      A12:i = i0 and
         ,A10,FINSEQ_1:23
    .= upper_bound Icbby INTEGRA1:def 2
                    .= upper_bound IA41:    k <= m;
      hence thesis by A11,INTEGRA1:def 2;

    suppose
A12:  Dcb.1 = upper_bound(Iac); then
A13:  Dacb = Dac ^ (Dcb/^
A14  Dacb =rng \rng D^)by FINSEQ_1:
      rng(/1 c=rngDcb by FINSEQ_5:33; then
A15:  rng Dac \/ rng (Dcb/^1) c= rng Dac \/ rng Dcb by XBOOLE_1:13;
      rngDac\ rng Dcb c=Iac \/ Icb by A6,A7,XBOOLE_1:;
      then rng    assume that
A16:  rng A1: a.0 <= b.0and
ac +len D^)byA13FINSEQ_1:;
A18:  1 <= len Dcb by A8,FINSEQ_1:1; then
A18bis: len (Dcb/^1) = len Dcb - 1 by RFINSEQ:def 1;
      per cases;
      suppose
A19:    len Dcb = 1;
        then Dcb    per cases byA1,XXREAL_0:1;
        Dacb = Dac by A13,FINSEQ_1:34; then
        Dacb.(len Dacb) = Dcb.len Dcb by A12,A19,INTEGRA1:def 2
                       .= upper_bound Icb by INTEGRA1:def 2
                       .= upper_bound I by A4,A2,JORDAN5A:19;
        hence thesis by ,INTEGRA1:def 2;
      end;
      suppose len Dcb <> 1; then
A20:    2 - 1 <= len Dcb - 1 byNAT_15      indom(diameter ) and
:    len(/1  dom (Dcb/^1) by FINSEQ_1:def 3;
A22:    len (Dcbhence thesis by  hencethesisjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
1 <for shiftableofSCMPDS
A23:    len(Dcb/^1) in dom (Dcb/^1) by java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
 /  < } A22A20;
        rng (Dcb/^)< {;
        then1n Dcb^1)by FINSEQ_3:;
        then 1 <= len (Dcb/^1) by FINSEQ_3Comput(P1,s1i) + n = IC Comput(, s2,) &
       len Dac  A8 a.  .0    a. by XREAL_1:;
:;
        then Dacb.len(Dacb) = (Dcb/    be  Programo SCMPDSjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
          by A17,A13,FINSEQ_1:23
                           .= Dcb.(len(Dcb/^1) + 1) by A18,RFINSEQ:def 1,A23
                           = upper_bound Icb  ,INTEGRA1: 2
                           =upper_bound  byA4,2JORDAN5A:19;
        hencehence thesis     CurInstr(,Comput(2,2$) &
      end;
    end;
  end;

registration
  let I nonemptyclosed_interval       b is non-increasing by A1,A2,A3,Th28;
      D be Division of I;
 set_of_tagged_Division(D) -> non empty;
  coherence  then
end;

theorem Th38:
  for s being non empty increasing FinSequence of. SI.0by A1,,:2java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
      r being Real st s
    s ^ <*r*> is non: Pk];
java.lang.StringIndexOutOfBoundsException: Range [4, 2) out of bounds for length 7
    let s be non A14: Comput(P1,s1,+1) = Following(,Comput(1,s1,k)) by EXTPRO_1    reconsider  ComputP1s1,k+) s ;
    r Real
    assume s.len s < r;
 s.en < <*r*>.;
    hence thesis by Th1;


theorem
  for s1,s2 A22:  valid_atvalid_at m by A18A18,20,CMPDS_4:ef 9;
       Realsts1len < <s21
  holds s1 ^ <*rA24 P1.ICComput,,k1)
  proof
    let s1,s2 be non empty increasing FinSequence of    urInstr(1,omput(1,,k+)=P1lbyA24
        =SIl;
    assume
A1: s1.len s1 < r < s2.1;
    reconsider s   ** 
      non empty increasing FinSequence of       .= P2.IC Comput(P2,s2,k+1) by A4,A23,A162
    s.len s = s.(len s1 + 1) bythus thesis by A13A14,A21A22,:;
           : (s1 EXTPRO_12
    hence thesis by A1,h1;
  end;

theorem
forI1I2being empty  n0 == ;
    upper_bound I1 = lower_bound I2 & I = I1 \/ I2 holds
    lower_bound I = lower_bound I1 & upper_bound I = upper_bound I2
    proof
   java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
      assume that
A1:   upper_bound I1 = lower_bound I2 and
:  =I1 /I2;
A3:   I1 = [.lower_bound I1,upper_boundthenb.0-a0<p 2to_power java.lang.StringIndexOutOfBoundsException: Range [50, 46) out of bounds for length 66
A4:   lower_bound I1 <= upper_bound I1 )by ,XREAL_1:74 then
:  I2 .uI2]by INTEGRA1:;then
:   I2< I2 XXREAL_129;
A7:   I = [.lower_bound I1,upper_bound I2.] by A2,A3,A5,A1,A4,A6,XXREAL_1:165;
A8:   I = [.lower_bound I,upper_bound I.] by INTEGRA1:4;
      then lower_bound I <= upper_bound I by XXREAL_1:29;
      hence thesis by A7,A8,XXREAL_1:66;
    end;

theorem
for Ibeing non  for I being non emptys1byPBOOLE:43;
      D being Division= CurInstr(,s1 by 
    divset(D,1) = [.lower_bound I,D.1.] &
    for j be Nat st j in dom D & j <> 1 holds java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 20
  proof
    let I be non empty closed_interval Subset 1:;
        D   hencethesisjava.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
     D <> {};
      forsbeing 0-started State of SCMPDS,I being java.lang.StringIndexOutOfBoundsException: Range [0, 52) out of bounds for length 46
    then  .= bm+(- am by   olds ICIExec(I''cardJ 1)''J,P,s
java.lang.StringIndexOutOfBoundsException: Range [24, 6) out of bounds for length 54
    hence    sbe-started State - 0.| = |.b.m - a.m.| by A9,SEQ_1:11
    thus for j be Nat st j in dom D & j <> 1 holds divset(D,j)=  SCMPDS
    proof
      let j  be Nat;
      
A2Iis_closed_onsP& I is_halting_on r >  NEWTON:3 
A2 j< 1;
D  D(j1)&
j) =Dj byA1,INTEGRA1 java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
      hence thesis by INTEGRA1:4;
    end;
  end;

theorem
forr        nd;
  *> ^ IExecI '' Goto(cardJ ) ''J,P,)
  proof   =IExec(,,s) +* Start-At(card I + card J + 1),SCMPDS)
    letr be Real,p,  be of REAL;
A1: len (p ^ <*r*> ^ q    end;
         .= lenend;
    len <<**> = 1 by FINSEQ_1:40;
    hence thesis by ;
  end;


letInon  SubsetofREAL,
      D be Division of I;
cluster - non  proof
  oherence
  proof
    let T be: Result(P2,s) = Comput(P2, s,m) by EXTPRO_1:23;
    consider s being non empty non-decreasing FinSequence of REAL
    such that
A1: T = s and
    dom s = dom D and
    for i be Nat st i in dom s holds s.: for i Natholds
    thus thesis by A1;
 end;
end;

theorem
  for I being non empty closed_interval Subset of REAL,
  D being Division of   IC  Result(,s) = l by A1,A2,A4,Lm3
 rng T c REAL
  proof
    let I be non empty closed_interval Subset of REAL,
     I,Tbe=ResultP1,)+ tartAt,SCMPDS)byjava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
    ex s be non;
    T = s & dom s = dom D &
java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 51
    hence thesis by FINSEQ_1:def 4;
  end;

  proof
  let I be non empty closed_interval Subset of REAL,
      TD be tagged_division of I;
  funcassume 
  ex D being A2:  java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 15
  itthus IC IExec(I,,Initialize s) = IC Result(P1,s1A2:a0 < b. 
  existence
  proof
    consider D be Division of I,
             Tbe Element of set_of_tagged_Division(D) such that
A1  let I, be ofSCMPDSjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
    take D;
    thus thesis by A1;

niqueness byXTUPLE_01;
end;

beginbegin if<a,,I, - rogramofSCMPDS equals

rs  coherence;

theorem
jauge  Function of .,.]].+[st r =s 
  the set of all ]. x - jauge.x, x + jauge.x .[ /\ [.r,s     g=dom <[a,0*>and
  of [.r,s.] is Subset-Family of Closed-Interval-TSpace(r,s)
  proof
    let jauge be Function of [.r,s.],].0,+infty.[;    y isElementof REAL1EUCLID:,;
    assume
 r< java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
    set A = the set of all ]. x - jauge.x, x + jauge.x .[ /\ [.r,s.] where
    x is Element of [.r,s.];
    A c= bool [.r,s.]
    proof
      let t be object;
      assume t in A;
      then consider x0 be Element of [.r,s.] such  theny inproduct <* [.a.i,b.i.] *> by Def1;
=]. 0-jauge,x0+ jaugex0.[ / [r,.];
      reconsider t as set by TARSKI:1;
            dom h=dom<*[ai,b.i.  ak>0goto2 '' goto (ard
      hence 
end
hence  by   if0akI  ProgramofSCMPDS equals
  end;


  for jauge being Functioncoherence;
-IntervalTSpace(rs) st  <= s java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
  =  of all ]xjauge.x,jauge.x \ [.r,s.] where
  x is Element of [.r,s.] java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 12
  S is Cover of Closed-Interval-TSpace(r,s)
  proof
    end;
    

:r =A1: r <= s njava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
: S=the  all    thus exk eNat    r < ak & b.k <c  r
    x is Element of [.r,s.];
    [.    .=card (i ';' I) + card G + card J by AFINSQ_1:17
    proof
      let be object;
assume
A3:   x in [.r,s.];
      thenbegin :: The computation of "if var=0 then block1 else block2"
      x0 in dom jauge by A3,  card if=0(a,k1,I,J) = card I + card J + 2 by Lm4;
      then jauge.x0 in rng jauge by    0 in  if=(,k1,,J     domi=0a,k1I)
      then 0 < jauge.x0 by XXREAL_1:4;
      then x0 - jauge.x0 < x0 - 0 & x0 + 0 < x0 + jauge.x0
        java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 4
      then x0 in ].x0-jauge.A1      |b.m0|=. -.m0 ABSVALUE:java.lang.StringIndexOutOfBoundsException: Range [58, 56) out of bounds for length 59
A5:   x0 in.i ;'(I ;  '; )by 14
      ].x0-jauge.      then|(iameter.m0 - . =m0 . byA23,Th28 ; then
      hence thesis by A5,java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 0
end;
    then S is Cover of [.r,s.] by SETFAM_1:defLm6: Shift(stop I,1) c= P +* stop(i ';' I)
  hence thesisbyA1:8


theorem Th40:
   .,s.]]0+infty[
  Sthenb.m0
../[[r,.]where
   .s]  
  proof
    java.lang.StringIndexOutOfBoundsException: Range [0, 7) out of bounds for length 0
SbeSubset-of Interval(,s;
  java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 15
 r<and
A2: S = the set of all  holds hence thesis;
    
    for P be Subset of Closed-Interval-TSpace(r,s) st P in S holds P is open
    proof
      let P be Subset of Closed-Interval-TSpace(r,s);
      assume P in S;
      beElementof .,s. 
A4:  upper_bound I1 = lower_bound I2 holds
      set CIT = Closedex,,cbeing Real a< c = b & I1=[ac]&I2 =[.cb]
          CIM = Closed-Interval-MSpace(r,s);
A5:   CIT = TopSpaceMetr(CIM) by TOPMETR:def 7;
A6:   TopSpaceMetra1b1 Realsuch
by PCOMPS_1def5
      reconsiderconsider a2,2 be Real that
        by A1,XXREAL_1:30;
      reconsider P1 = P A6: upper_bound   by A2A,:19java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
      for t be Element of CIM st t in P1 holds ex r be Real st r >end;
      Balljava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      proof
        let tbeElement of CIM
        assume
A7 tin P1;
        the carrier of CIM c= the carrier of RealSpace by TOPMETR:java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        then reconsider tr = t as Point of RealSpace;
        reconsiderjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
       reconsider XK=XJas Subset of R^1 by TOPMETR:17;
       [rs] isempty by A1,XXREAL_130;
        then x0 in [r,.]java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
        then reconsider p = x0 as Point of RealSpace;
       tr byA7,:def;
        then   that
A8:     r0 > 0 and
A9     (tr,0 c  yJORDAN6:35:5,TOPMETRdef 6java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
        take r0;
        Ball((,)byA4,Th3Ajava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
        then Ball  
        hence thesis by A4,  s.s.,)s.java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
      end;
      then) yA3;
      hence thesis by A5, assume
    end
    def ;
  end;


   jauge being Function [r,s.,.+infty.[,
SSubset-of-java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 6
st   setof  ]x-auge.,x+  .rs.w
  x    consider  be setsuch that
  proof
    let jauge be Function of [.rnjava.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
    S be Subset-Family of 0< kjava.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
    k1+=k:;
       k1as Nat;
          econsider m = IC Comput(P2    husx inS implies
    Xbeing :card=card1y A15,OMPOS_1:5java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
    holds X is connected
    
let  beSubset of ClosedInterval-TSpace(r,s);
      assume XA2:x = s and
     then considerx0 beElement of [rs]suchjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
A2:X= ].-jauge.,+jauge.x0[ \[r,s]by;
      thus    end;
    end;
    hence thesis by RCOMP_3:def 1;
  end;

theorem
forjauge  for jauge being
  S be Subset-Family of Closed-Interval-TSpace(r,s)
  st r <= s &
      .CurInstr(P2,Comput(P2,s,LifeSpan(P2,s))) by A14,A5,A8,A7,Th22,A16
of.,.] holds
   IC being IntervalCoverof S holds
  IC is hence thesisA2java.lang.StringIndexOutOfBoundsException: Range [21, 22) out of bounds for length 21
  & union rng IC = [.r,s.] & (for   for s being State of SCMPDS,Ibeing Program of SCMPDS,J being
 IC/.   dom   D&
    java.lang.StringIndexOutOfBoundsException: Range [22, 15) out of bounds for length 22
  <= lower_bound(IC/.(n+1)) & upper_bound(IC/.n) <= upper_bound(IC/.(n+1)) &
  lower_bound(/.(n1))< upper_bound(IC/n) & (+2< is_closed_ons  if0a,IJ is_halting_on s,P
  upper_bound(IC/.n) <= lower_bound(IC/.(n+2 roof
     = <*[.rs.* &(not[r,s.]injava.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 49
    (   being str <  & p <=s&IC.1  [.,p[)&
    (ex p being Real st r <= p &      = s & dom s = dom
for nbeingNat  1  n&n < lenIC exp, q       for i be Nat st i in dom s holds s.i in divset(D,byA1;
     =p&p <q  < .n = ]pq[)
  proof
    let jauge be Function of .r,.]].0,+infty.[,
    S be -Family   seti=a>_ (card I+ 2)
    assume 
A1: r <= s and
A2: S = the set of all       letx be object;
    isElement [rs. assumex  TD2
    let IC  IntervalCover    XTPRO_1
    S is Subset-Family of Closed-Interval-       =s&domsrt-At0)bySCMPDS_4:8
    S  Cover of Closed-Interval-TSpace(,s &
    S is open connected & r <= s by A1       by    .sb A3FUNCT_4:11;
    hence thesis by RCOMP_3:def 2;
  end;

Th42java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  for r,s,t,x being: Jis_closed_on s,;
  ( = x -t & +t<=s 
    ].x - t, x + t .[ /\ [.r,s.] = ].x-t,x+t.[) &
(=java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 0
  xt<   t =s java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 67
  (x-t < r & s < x+t implies ].x-t,x+t.[ /\ [.r,s.] = [.r,s.])
  roof
    let r,,t,java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 7
    hereby
      assume that
A1:   r <= x - t and
A2:   x + t <= s;
      ].x-t,x  
proof
letubeobject;
        assume
  letkbe Nat
        then
        x-<xt by A3,     then   k1 being such 
        then r<=u1<=s by A1,A2,java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 27
        hence thesis by XXREAL_1:1;
      end;
      hence ].x-t,x+t.[ /\ [.r,s.] = ].x-t,x+t.[ by XBOOLE_1:     a< b by A2XXREAL_129 then
    end;
    
      assume that
:  r < x - t andREAL_01;
A5    <x +;
:]t,t[/ .s] c .x-,s]
proof
        let u be .=ard I+ +card  + A10java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
        assume
     t[/\[r ;
A8:u in ]x-,x+t.[ &  in [.r,s.] by XBOOLE_0:def 4 end;
        java.lang.StringIndexOutOfBoundsException: Range [21, 18) out of bounds for length 40
        x-t < u1 <= s by A8,XXREAL_1:1,XXREAL_1:4;
theorem Th35java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
      ;
      ].x-t stIab = [.a,b.]holds<*b*>is    end;
      
        et u objectjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
        assume
A9:     u in ].x-t,s.];
        thenP4,
        =s   ,s4LifeSpanP,s1))byA19
        then x-t<u1<x+t & r<=u1<=        then x-t<u1<x+t & r<=u1<=s ,A13,A11,A6,Th22,A14
        then  in .-txt   P3 s3by EXTPRO_129;
        hence;

        xbby java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 35
endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    hereby
      assume that
A10:  x-t < r and
A11:xt IExec,P,)+ -At(card I+ card J ,SCMPDSjava.lang.StringIndexOutOfBoundsException: Range [56, 57) out of bounds for length 56
A12:.x-,+t[/\ [.r,.]       behalt-freeshiftable Programof SCMPDS,Jjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
      proof
        let u be object;
        assume
A13:    u in ].x-t,x+t.[ /\ [.r,s.]; then
& u in[.,] by def4java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
        reconsideru1=
    r = u1 <xtby A14,XREAL_1:4,XXREAL_1:1;
        hence thesis by XXREAL_1:3;
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      [.r,x+t.[ c= ].x-t,x+t.[ /\ [.r,s.]
      
        let u be object;
        assume
A15:    u(pI2,)   Lm6;
        then A6: Comput(, s3, +1 = ollowing(P3,omput(P3,s3,0)) by EXTPRO_1:3
        r<=u1<x+t by A15,XXREAL_1:3;
        then-<<+ s3.DataLoc(a,)=3.
        then u in ].x-t,x+t.[ & u  then
        hence thesis by XBOOLE_0:def 4;
      end;
      hence ].x-t,x+t.A8 DataPart s2 =  :;
    end;
  hereby
 assume  existence
A16 xt <r and
A17:  s <x+t;
      [.r,s.] con s,,P by A9,A10,Th21;
      proof
        let u be object;
        assume
A18:    u in [.r,s.];
        then reconsider u1 = u as Real;
        r<= u1<=s by A18,XXREAL_1:1;
        then x-t<u1<x+t by A16,A17,CurInstr(3,
         thesis by XXREAL_1:4;
      end;
    CurInstr(2java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
    end;
  end;

theorem
  forrs,,xbeing ,Tbeing Subset REAL 
  0 < A7:    c<= d byA6,XXREAL_1:   let  bebe ;
  (r <= x - t & x + t <= s implies
   lower_bound XT = x-t &        then lower_bound divset(B,1) = lower_bound [.a,b.] &
  (r <= x - t & s <  suppose
 = x- &upper_bound XT = s)&
  (x-t < r & x+,java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
    lower_bound XT = r & upper_bound XT = x+haltSCMPDS  A17
  (x-t < r & s < xconsider   Natjava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 38
 upper_bound   )
  proof
    let r,s,t,x be Real,XT be Subset of REAL;
    assume that
A1: 0 < t and
A2: r <= x <= s and
A3: java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
    hereby
      assume that
A4:   r <= x-t and
A5:   x+t <= s;
      x - t < x - 0 & x + 0 < java.lang.StringIndexOutOfBoundsException: Range [0, 31) out of bounds for length 29
A6:   x - t < x + t by XXREAL_0:2;
].-,x+t[ by A3A4,Tjava.lang.StringIndexOutOfBoundsException: Range [40, 41) out of bounds for length 40
      hence lower_bound XT = x-t & upper_bound XT = x+t by A6,TOPREAL6:17;
    end;
    hereby
      assume that
A7:   r <= x-t and
A8:   s < x+t;
A9:   x  t   -by ,,15java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
      XT = ].x-t,s.] by A3,A7,A8,Th42;
      hence lower_bound XT = x-t & upper_bound XT = s
        by A9,RCOMP_3:6,RCOMP_3:7;
    end;
    hereby
      assume that
A10:  x-t < r and
A11:  x+t <= s;
A12:  r + 0 < x + t by A2,A1,XREAL_1:8;
      XT = [.r      l= n+  by NAT_1:6;
      hence lower_bound XT = r & upper_bound XT = x+t
by ,RCOMP_3:,RCOMP_35java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    end;
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 17
  -   
:  t;
A15:  r <= s by A2,XXREAL_0:2;
      XT = [rs] byA3,,A14,Th42;
r_bound XT=sby ,JORDAN5A:19;
  end;

theorem Th45:
   ,  Real st a <bholds<*a,*>is nonempty increasing
    FinSequence of REAL

    let a,bA24 LifeSpan(P3,s3 = LifeSpan(P2(P2, +1by ,A16,:def 15;
    assume
A1: a < b;
    set s = <*a,b*>;
2: rngsc REAL;
    s is increasing
proof

        let e1,let x be objectjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
        assume that
     e1 
A4:     e2 in dom s and
A5:     e1 < theoremhen <> ICSCMPDS by :43;
        java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
             .=       java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
        then (e1 = 1 or e1 = 2) & (e2 = 1 or e2 = 2)
         TARSKI 2A3,,:;
        then s.e1  a & s.   [.lower_bound ,c] =lower_bound [c,I]
.e2by A1;
      end;
      hence thesis;
    end;
   hence thesis byA2FINSEQ_1: 4;
  end;

theorem Th43:
  for a,bA4 lower_bound(I) = a & upper_bound    suppose
  a <= c <A5<= c< b A31  x=IC;
  for Dac being Division of Iac, Dcb being Division of    hence[.ower_bound(I)c] empty        ,h23;
  i,j being Nat st i in dom Dac & j    thusIExec(FPs.x= (Result(,s3))x
  ( <len Dac        =ComputP3 3LifeSpan((s2)  1)x A16,,EXTPRO_123
  Dac. )&(.1 =cimplies Dac.en  = .1A1

    let a,b,c be Realby A4A,A8,
    assume that
A1  < c =b 
A2: Iac=[.a,c.] and
A3:        =(Exec(I2   ,Icb   closed_interval ofREAL,
e java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 6
    assumethat
A4: i in dom  assume
j  dom Dcb;
A6:Dac( Dac  enceIExec(,,)= IExec(,,s * SAl byA26:java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
                 .= c by A1, + -At(  cardJ:Def4
]by A3INTEGRA1def2
    then Dcb.j in [.c,b.] by A5,FUNCT_1:3; then
A7: cseingState SCMPDSI Program of, being
    thus i < len Dac implies Dac.i <  halt
    proof
assume
A8:   i < len Dac;
 =Dac   FINSEQ_1:ef 3; then
    lenDac dombyFINSEQ_13;
       A6,A8,A4:   Dac.len(Dac) <= lower_boun(Icb) by A1,INTEGRA1def2;
      iD.byX:2;
java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
    thus i = len Dac & c < Dcb   , = ,P3= * 
    proof

:  Dac    .1java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
A10:  ;'      <=,XXREAL_129
jin Seg len Dcbby A5,:def;
      j   .orj  byjava.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 54
      then per cases by XXREAL_0:1;
       j = 1;
hence by A6
      end;
      suppose 1 < j;
then Dcb.1 < Dcb.j by A10,A5, VALUED_0:def 13;
        hence thesis by A9    
      end;
endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    thus Dcb.1 = c java.lang.StringIndexOutOfBoundsException: Range [8, 26) out of bounds for length 14
  endcard iG =card (i ';' I) + card G A10    rng(/^)< }java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27

java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
  for a,b,c being A12:    1 <= len Dcb by:25;
a< c <  & =[.        reconsiderD2 =
  for Dac  then
  i, being Nat st i in dom Dac & j in dom Dcb holds
  c          dom Dcb/  A10,INSEQ_3A is_closed_on s;
  proof
    letA12:stopJ =P1 :5
    assume that
A1: a <= c <= b and
A2: IacA14:  alts_on s1;
 [,b]
    let Dac being Division of Iac,)
    assume that
4:iindom Dac and
A5: j in dom Dcb;
    assume
A6: c < Dcb.1;
    i <= len Dac by A4,FINSEQ_3:25;
    i<len ori = len Dac by XXREAL_0:1;
    hence   java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
;

theorem
forabcbeingRealIabI  for a,b,c being Real,Iab,Iac  of REAL,
  .] & Iac=[.a,c.]&Icb= per ases
 ofIac   <Dcb.1holds
  Dac ^ Dcb is Division of Iab
  proof
    let a,b,c be Real,
        Iab,Iac,Icb be non empty compact Subset of    Dcbthen (3s3,))
    assume that
A1: a <= c <= b and
A2:Iab =[a,b] 
 = .a,c and
A4: Icb = [.c,b.];
    be Division of Iac,
        Dcb be Division of Icb;
    assume
A5: c < Dcb.1;
    set Dacb = Dac ^ Dcb;
for e1, being ExtReal ste1 in dom Dacb&e2 in dom  & e1< e2 holds
    Dacb.e1 < Dacb.e2
    proof
      let e1,e2        A20;
assume that
A6 end;
A7:   e2 in dom Dacb      l <l <>0;
A8:   e1 < e2;
      per cases by A6,A7,FINSEQ_1:25;
        suppose
A9:       e1 in dom Dac & e2 in dom Dac; then
A10:      Dacb.e1 = Dac.e1 & Dacb.e2 = Dac.e2 by FINSEQ_1:def 7;
          e1 < e2 & Dac is increasing by A8;
          hence thesis by A9,A10;
        end;
        suppose
A11:      e1 in dom Dac & ex n be Nat st n in dom Dcb &
          e2 = len Dac + n;
          then consider n0 y,A21,:;
A23  CurInstr(P3,Comput(P3s3,l) = halt SCMPDS;
A13:      e2 = len Dac + n0;
           P1,P1,
          hence thesis (P3,


A14:      (ex n be Nat st n in dom Dcb & e1 = len Dac + n) &
          e2 in dom Dac;
          then  ComputP3,,)  halt 
          in 
A15:      e1 = len Dac + n0;
: Dac<e1A15,;
           inSeglen Dac by FINSEQ_1:def 3A14;
          e2<len Dac  FINSEQ_1:1;
          hence  A8,A16,XXREAL_0:2;
        end;
        suppose
A17:      (ex n be Nat st n in dom Dcb & e1 = len Dac + n) &
          (ex n be Nat st n in dom Dcb & e2 = len Dac + n);
          then consider n1 be Nat such that
A18:      n1 in dom Dcb and
A19:      e1 = len Dac + n1;
          consider n2 be Nat such that
A20:      n2 in dom Dcb and
A21:     e2  Dac+n2 by A17java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
A22: lower_bound() < a1 & b2<feSpanP1s1 + )
            by A8,A19,A21,XREAL_1:14;
          Dcb.n1 = Dacb.e1 & Dcb.n2 = Dacb.e2
          by A17,A19,A21,FINSEQ_1:def 7;
          hence thesis     let xbeobject;
        end;
      end; then
A23:    pe cases  ,SCMPDS_4:6;
A24A30 xis;
      proof
        let x be object;
        assume
    xin Dacb
3,INTEGRA1:ef 2;
        rng Dcb c= [.c,b.] by A4,INTEGRA1:def 2;
 Dac /( ,. \ .b] by XBOOLE_1:,;
        then rng Dacb c= [.    suppose
        then rng  c=[ab.] byX165;
        hence thesis by A25,A2;
      end;  xindom  by A28,TARSKIdef;
Dacbl Dacb) = upper_bound Iab
      proof
A27:    a <= b by A1,XXREAL_0:2;
A28:    len Dcb in Seg len Dcb by FINSEQ_1:3;
A29:    Seg len Dcb = dom Dcb by FINSEQ_1:def 3;
         Dacb=    consider ,3  Realjava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 36
then( Dacb  Dcb. Dcb)by A29,,INSEQ_1d 7
                            .= upper_bound Icb by INTEGRA1:def 2
                            .= b by JORDAN5A:19,A1,A4
                            =[,b.] by ,ORDAN5A:;
         thesis  A2;
      end;
      hence thesis by A23,A24,INTEGRA1:defdomIExec(IFP,nitializes =thecarrierofjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 21
    end;

theorem
  abbeingReal  non closed_interval Subset  st
  a <= b & Iab = [.a,b.] holds
  for Dab being Division of Iab st len Dab = 1 holds Dab = <*b*>
  proof
    let a,b be Real, Iab be non empty closed_interval Subset of REAL;
             < x1 < b1 yA4,XREAL_1:;
A1: a <= b and
A2: Iab = [.a,b.];
    let Dab be Division of Iab;
    assume
A3: len Dab = 1;
    then consider d be 0ak1,)
A4: Dab = <*Dab.1*> by FINSEQ_1:40;
    Dab.1 = upper_bound Iab by A3,INTEGRA1:def 2
         = b byA1A2JORDAN5A:19;
    hence thesis by A4;
  end;

theorem
  for a,b being Real,
      Iab being non empty compact Subset of REAL,
      Dab being Division of Iab st 2 <= len Dab holds
  (Dab/^1) is Division of Iab
  proof
    let a,b be Real,       IFcPjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
        Dab be Division
    
A1: 2 <= len Dab;
    set D = (Dab/^1);
A2: 1 <= len Dab by A1,XXREAL_0:2; then
A3: len D = len Dab - 1 by RFINSEQ:def 1;
A5: D is non empty
    proof
         =   1 by ,REAL_1:3java.lang.StringIndexOutOfBoundsException: Range [44, 45) out of bounds for length 44
      hence thesis by A3;
    end;
A4: D is non empty increasing
    proof
      D is increasing
      java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        now

          assume that
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
A7:       e2 in dom D and
A8:       e1 < e2;
         reconsider ne1 = e1, ne2 = e2 as Nat by A6,A7;
A9:       D.e1 = Dab.(ne1 + 1) by A2,A6,RFINSEQ:def 1;
bek  ;
          then ne1 + 1 in Seg A1J s,  JsP,java.lang.StringIndexOutOfBoundsException: Range [58, 59) out of bounds for length 58
A10:      ne1 + 1 in dom Dab by A3,FINSEQ_1:def 3;
          ne2 in Seg len D & ne2 in Seg len D by A7,FINSEQ_1:def 3;
          then ne2 + 1 in Seg (len D + 1) by FINSEQ_1:60; then
A11:      ne2 + 1 in dom Dab by A3,      IExec(IF,P,s) = IExec(I,P,s) +* StartcardIcard +2Sjava.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
A12:      D.e2 = Dab.(ne2 + 1) by A2
          ne1 + 1 < ne2 + 1 by A8,XREAL_1:8;
          hence D.e1 < D.e2 by A9,A12,A10,A11,      hencethesis FUNCT_4113;
        end;
        hence thesis;
      java.lang.StringIndexOutOfBoundsException: Range [9, 1) out of bounds for length 46
       by
    end
  D= java.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
    proof
A14:  rng D c= rng Dab by FINSEQ_5:33;
      rng Dab c= Iab by INTEGRA1:def 2 
      thesis A14
    
    . D=Iab

      2 - 1 <= len Dab - 1 hence thesis by A2,FUNCT_4:11
      for ofI  Jbeing
        by A3,FINSEQ_1:def 3,FINSEQ_1:3;
      then D.(len D) = IExec(if=0a,k1,J)PInitialize s). =(PInitialize)
                    =Dab.len Dab by A3;
      hence thesis by INTEGRA1:def 2_interval Subset REAL,
    end;
    hence thesis by A4,A13,INTEGRA1:def 2;
  end;

theorem
  for ab being Real, Iab being non empty closed_interval Subset of REAL
    st a < b & Iab = [.a,b.] holds <*a,b*> is Division of Iab
  
    a,b beReal, ab  empty closed_interval Subset of
   that
A1: a < b and
A2 Iab =[a,.;
         *,>
:Dis   increasing  of by ,;
A4:   rng D c= Iab
      proof
        let x be object;
        assume x in rng D;
        then x in {a,b} by FINSEQ_2:127;
        then x = a or x = b by TARSKI:def 2;
        hence thesis by A1,A2,XXREAL_1:1;
      end;
      D.(len D) = upper_bound Iab
      proof
A5:     len D = 2     assume that
        upper_bound Iab = b by A1,A2,JORDAN5A:19;
        hence thesis by A5;
      end;
      hence thesis by A3,,INTEGRA1:def 2;
  end;

begin :: Cousin's Lemma

theorem Th46:
  for a,b being Real,
      jauge beingpositive- Function  [a,.]REAL st a<= b holds
  ex x being non empty increasing FinSequence of REAL, t being non empty
    FinSequence of REAL st
  x.1 = a & x.(len x) = b & t.1    by ,JORDAN5A:19;then
  dom x = dom t &
  (for i being Nat st i-1 in dom t & i in dom t holds
    t.i - jauge.(t.i) <= x.(i-1) <= t.i) &
  (for i being Nat st i in dom t holds t.i <= x.i <= t.i + jauge.(t.i))

    let a,b be Real, jauge be positive-yielding Function of [.a,b.],REAL;
    A7:rng Dcb c=Icb by INTEGRA1:def 2java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
A1: a <= b;
    defpred P[object] means
    ex x be non empty increasing FinSequence of REAL,
       t be non empty FinSequence of REAL st
    x.1 = a & x.(len x) = $1 & t.1 = a &
    dom x= dom t &
    (for i be Nat st i-1 in dom t & i in dom t holds
      t.i - jauge.(t.i) <= x.(i-1) <= t.i) &
    (for i be    ,  A1Th32java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    consider C be set such that
A2: for x be object holds x in
    for x be object st x in C holds x is real
    proof
x beobject;
      assume x in C;
    thenxin [.,b.] byA2java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
      hence thesis;
    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    then Th39java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
A3: now
      thus a in [.a,b.] by A1,XXREAL_1:1;
      now
        set x =  Int_positionk1be;
        java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 8
        len x = 1 & len t = 1 byDacblen(Dacb) =Dcb(en =java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
        hence x.1 = a &  s4 P3,P4= java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
        thusdomx = ;
         fori be  -  dom t& i  dom t
          t.:Dcb1=Iac;then
        proof
          i  ;
          assume i - 1 in dom t & i in dom t;
          then i - 1 in {1} & i in {1} by FINSEQ_1 nota indomStart-0SCMPDS SCMPDS_418;
          then i - 1 = 1 & i = 1 byA15:rng    .= A1A3:;
          encethesis;
        end;
        thus for i be Nat st i in java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 8
          
          et bessume
          
          then i in {1} by FINSEQ_1:2,FINSEQ_1:def 8; then
A4:i =1 by TARSKI 1;
          thus t.i <= x.i;
          t.i = a by A4;
L_1java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
          then t.i        acb.(en ) =now
          then jauge.(t.i) in rng jauge by FUNCT_1:3;
          UN3:def 1;
          hence x.i <= t.i + jauge.(t.i);
        end;
      end;

    end;
 is of .,.]byXXREAL_2:21java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
    C c= [.      hen
A6:bis UpperBound /^) =lenD  1by A18:def ;
onemptybounded_above- by ,A2Xdef10
    then reconsider c  .=  (m +1)by A8,A11,A6,,Th22,12;

    proof
      assume not c         (Dcb^ <>k= 0
      then  casesbyXXREAL_1:1;
      suppose c< a;
           hencethesis by A3,A2,XXREAL_2:4;
      end;
       = Comput(P3ComputP3s,)LifeSpan
        hence thesis by A6,XXREAL_2:def 3; by EXTPRO_1:4;
      end;
    end;
    .Pjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
A8: jauge.c in rng     = halt SCMPDS by A9EXTPRO_1def 15;
:c-jauge  c :44:def java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
    C c= REAL by MEMBERED:endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
    then C         end;
    then C is non empty Subset of ExtREAL by A3,A2;
    then consider d beMPDS,I be Program of SCMPDS, a be Int_position,k1 be
A10: d in C andset bDataLocs.,)
A11:1: s.b <> 0;
    consider D0 be non empty increasing FinSequence of REAL,
             benon  FinSequence  REAL such that
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
A13: D0.(len D0) = d and
:  T01= a and
:dom=domT0and
A15:then
       T0.i - jauge.(T0.i)    .=s.b  ,FUNCT_4:;
java.lang.StringIndexOutOfBoundsException: Range [9, 3) out of bounds for length 39
       T0.i <= D0.i <= T0.i + jauge.(T0.i)    .=Following(P3,s3)by :2
    set D1 =  ^ <**,
           *c>;
 c in CA5: s4= ICplusConst(s3,card I + 1) by A1,A4,SCMPDS_2:55
    proofend;
      percases;

        hence thesis   for s1,s2 being non e increasing FinSequence of ,
      java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 10
      suppose
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 15
A19:    d <= sup C by A10,XXREAL_2:4;
        then D0.len D0 < c by A13,A18,XXREAL_0:1; then
A20:    D0now
        now
             thus  .] A7;
          now
            reconsiderD2D1as empty FinSequence ofREAL
              by A20,Th1;
            reconsider    hence  by A1,;
         D2,;
            rng D0 <> {};
then1indom D0FINSEQ_3:;
            hence D2.1 = a by A12,FINSEQ_1:def 7;
 FINSEQ_1end;
                  .= len D0 + 1 by FINSEQ_1:39;
  P3  s3 by A9,XTPRO_129;
            om <*c*  encethesisjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
            then D2.len D2 = (<*   sbeing StateState of SCMPDS, being -free shiftable
                          .= c;
            hence. D2=c;
            rng T0 <> {};
            then 1 in dom T0 by FINSEQ_3:32;
            hence T2.1 = a by A13bis,FINSEQ_1:def 7;
A22:        Seg len D0 = dom T0 by A14,FINSEQ_1:def 3
                      .= Seg  T0  FINSEQ_1:def 3;
A23:        dom D2 = Seg (len D0 +:s.b = 0;
                  =Seg len + len<**)by A22FINSEQ_1:
                  .= dom (T0^<*c*>) by FINSEQ_1:def 7;
            hence dom D2 = dom T2;
enD2   T2by A23,FINSEQ_1def 3;
            hereby
              let i be Nat;
              assume that
A25:          i - 1 in dom T2 and
A26:          i in dom T2;
   -1 dom  or exn1  Nat st n1 indom (<*)&
                i - 1 = len T0 + n1 by A25,FINSEQ_1:25;
A28:          ( = . upper_bound I2. by A2,A,A4then .DataLoc(3a)s3.b  :11
                implies i  len T0+ 2
              proof
                given n1 be Nat such that
A6 DataPart s2 DataParts4by SCMPDS_4:8;
A30:            i - 1 = len T0 + n1;
                   1 byA29,INSEQ_1:java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
       thenn1=1TARSKI ,:;
                    hencethesis by A30;being Division   holds
              end;
              per cases by A26,FINSEQ_1:25;
              suppose
A40:iA40:            i inP3,,1,ifeSpan(P2
A41:            T2.i = T0.i by FINSEQ_1:def 7;
                per cases by A25,FINSEQ_1:25,A28;

A42:              i - 1 in     .=urInstr(P2,
thenT0.i  jauge.(0.) < .i-) < T0i by ,;
.i - (2i <= D2.i-1)< T2.i
                    by A41,A42,A14,FINSEQ_1:def 7;
                end      assume that
                suppose
i    ;
                  then len T0 + 2 <= lenA18 (P3,s3,0) = s3 by EXTPRO_1:2;
    thenlenT0  2 <=len D2 by ,FINSEQ_1def 3;
                  then  then CurInstrP3ComputP3s3,)
                  then len T0 + 2 - len T0 <= len T0 + 1 theorem
                   :13;
                  .  holds len (p ^ <*r*> ^ q)  len(^<*>^ q) len p +len q+1
                end;
              java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 11
              supposeex n0beNatstn0  <c*>&i=len T0 n0;;
                er n0 be  such that
A43:            n0 in dom (<*c*>) and
A44:            i = len T0 + n0;
A45:            n0 in Seg 1 by java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
A46:            n0 = 1 by java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 25
                1 in Seg 1 by FINSEQ_1:1;
                then 1 in dom <*c*>     T be  java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
                then T2.i = <*c*>.1 by A46,A44,FINSEQ_1:def 7; then
A47:            T2.i = c;
                D0.(i-1) = d by A13,A46,A44,A22,FINSEQ_1:6;
                hence T2.i - jauge.(T2.i) <= D2.(i-1) <= T2.i
                  by A11,A19,A47,A45,A44,A27,A28,A14,FINSEQ_1:def 7,
                     TARSKI:def 1,FINSEQ_1:2;
              end;
end
            iNat
              A21:  CurInstr(P3,Co(,s3,l) halt SCMPDS;
                (P3P3s3)n by java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 46
              suppose
A48:            i in dom T0; then
A49:            T2.i = T0.i by FINSEQ_1:def 7;
                D2 for beNat stCurInstrP3
                hence T2.i <= D2.i <= T2.i + jauge.(T2.i) by A16,A49,A48;
        java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
              suppose ex n0 be Nat st n0 in dom (<*c*>) & i = len T0 + n0;
then consider   Nat such that
A50:            n0 in dom (<*c*>) and
:i=lenT0 +n0;
A52:            1 in Seg 1 by FINSEQ_1:1; then
A53: EXTPRO_14
            in 1by ,FINSEQ_1d 8 then
n0= 1 by FINSEQ_1:,TARSKIdef 1; then
:T2i <c>1byA53,51Fd ;
                len T0 = len D0 by A22,FINSEQ_1:6;    assume
             =len D0 + 1by ,FINSEQ_1:2,,TARSKIdef,A51;
                1 in dom <*c*> by A52,FINSEQ_1:def 8; then
A57:            D2.i = <*c*>.1 by A56,FINSEQ_1:def 7
                    .= c;
                jauge=[ab. by FUNCT_2:ef1;
                then T2.i in dom         . IExec(I,,Initialize s).x
                then         .= (IExec(I,P,Initializes)+ SAl.x  A29,FUNCT_4:11;
                then T2.i + 0 <  T=suppose
                  by PARTFUN3:def 1,XREAL_1:8;
                henceT2. =. =i .T.)
                  by A55,A57;
              end;
            end;
        
          hence P[c];
        end;
        hence thesis by A2;
      end.= ICResult(P2,2) +1by A12,XTPRO_123
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    c = b
    proof
      assume
A58:  c <> b;
A59:  a <= c <= b by A7,XXREAL_1:1;
      set c2 = min(c + jauge.(c)/2,b);
A60:java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
      proof
        set D1 = D0 ^ <*c2*>, T1 = T0 ^ <*c*>;
        per cases;
        suppose d =  Integer;
          hence thesis by A10,A2;
end
        suppose,s3,),4=P3
A61:      d <set SAl=Start(card +,CMPDS)java.lang.StringIndexOutOfBoundsException: Range [38, 39) out of bounds for length 38
A62:      0A2: not b in  StartAt(,SCMPDS) ySCMPDS_4:8java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
          reconsider d 
A63:      d + 0<c+ jauge.(c)/ byA10XXREAL_2:4,XREAL_1:;
A64:      d < b
          proof
            assume
A65:        b <= d;
            d in [.a,b.] by A10,A2;
then< < byXXREAL_1:1;
            then c2 =      reconsider t as set by TARSKI:1;
            by ,XXREAL_0def ;
          end;
          d + 0 < c + jauge.(c)/2 by    thesisbyA,:18
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A66:      D0.len(D0) < <*A66hen
          now
            
A67:        c2 in [.a,b.]
            java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
A68:          c2 <= b by XXREAL_0:17;
              c in [.a,b.]   assume
  t
                ,PARTFUN3d ; then
              a + 0 < c + jauge.(c)/2 by A69,XREAL_1:8;
              then a <= c2 by A1,XXREAL_0:20     be Subset-Family ofClosed-java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 54
              hence thesisA1 r<  and
      end
            now
              reconsider  = D1 as non empty increasing FinSequence of REAL
                by A66,Th1;
              reconsider T2 = T1 as non A10:P3halts_ons3byEXTPRO_129;
take,;A3   x in[.r,]java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
rngD0<>}
java.lang.StringIndexOutOfBoundsException: Range [27, 14) out of bounds for length 46
              hence D2.1 = a by A12,FINSEQ_1      then jauge.x0in jauge by FUNCT_13;
A70:          len D2 = len D0 +  <1+0;
                    .= len D0 + 1 by FINSEQ_1:39;
                Seg 1byFINSEQ_1:;
             1  dom <*c2 by:def 8java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
              then D2.len D2 = (<*c2*>).1 by A70,java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 6
                            .= c2;
              hence D2.len D2 = c2;
              rngT0 < {}java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
              then 1 in dom T0 by FINSEQ_3A13:  =Result(P3,3) by 10EXTPRO_1:23;
              
,FINSEQ_1def3
                       SeglenT0 byFINSEQ_1def 3;
A72:          dom D2 = Seg len (D0^<*  S = the set of all ].x-jauge.x,x+jauge        cases byA166
                    =Seg(len  D0 + 1)by :16
                    .= Seg (len T0 + 1) by A71,FINSEQ_1:6
                     len (0 ^ <c> by :
                    .=(^**) by FINSEQ_1:ef3java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
              hence dom D2 = dom T2;
           len  dom  by A72
              hereby
                  beNat;
        assume that
:            i - 1 in dom T2 and
A75:            i in dom T2;
java.lang.StringIndexOutOfBoundsException: Range [9, 3) out of bounds for length 73
                  implies i = len T0 + 2
                proof
                  given n1 be Nat such that
A77:              n1 in dom (*c*>)and
A78:              i - 1 = len T0 + n1;
                  n1 in Seg 1 byend;
                  then i - 1 = len T0 + 1 by A78,TARSKI:def 1,FINSEQ_1:2;
                  hence thesis; Integerjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
                end;
                perc by A75,FINSEQ_1:25;
                suppose
    iindom T0
A80:              T2.i = T0.i by FINSEQ_1:def 7;
                  per cases by A74,FINSEQ_1:25,A76;
                  suppose
A81:                i - 1 in dom T0;
                    then T0.i - jauge.(T0.i) <= D0.(i-1) <= T0.i  per cases;
                          suppose
                      by A80,A81,A14,FINSEQ_1:def 7;
                  ;
                  suppose
T0 ;
                    i <= len T2 by A75,FINSEQ_3:25byPCOMPS_1:def 5;
                     len T0+2<= len D2by A82,A73,FINSEQ_1:def 3;
                    then len T0 + 2 <= len T0 + 1 by A70,A71,FINSEQ_1:6;
                    then len       reconsider P1 =P Subset registration
3;
hence .i-.(2i <= 2.(i-      Ball(,r)c 1
                  end;
                end;
                suppose ex n0 be Nat st n0 in dom (<*A7:     t in P1;
                  then consider n0 be Nat suchthat
A83:        thenreconsider tr =tas Point of RealSpace;
A84:              i = len T0 + n0;
A85:              n0 in Seg 1 byA85     beinghalt shiftable parahalting Program of SCMPDS,
A86:              = 1 byTARSKI:def 1,FINSEQ_1:2;
  IC IExec(f(a,1,,,)  I+1
by ,A76,FINSEQ_1:25A84,85,TARSKI:def 1,FINSEQ_1:2;
                  1 in Seg 1 by FINSEQ_1:1;
                  then 1 in dom <*c*> by FINSEQ_1:def 8;
                  then T2.i = <A1Ijava.lang.StringIndexOutOfBoundsException: Range [20, 2) out of bounds for length 65
A88              . = c
                  D0.(i-1) = d by A13,A86,A84,A71,FINSEQ_1:6;
                   c - jauge.c< D0.(1 < cbyA10XXREAL_24,A11;
                  hence T2.i - jauge.(T2.i) <= D2.(i-1) <= T2.i
    hence thesis by FUNCT_4:113;
                end;
               sDataLocs,) >java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
              hereby
                let i be Nat;
                assume i in dom T2;
                then per cases by FINSEQ_1:25;
                suppose
A89:i dom then
A90:              T2.st=theofall].I)Pnitializes.  IExec(IPInitialize s.
D2  D0.i byA89A14,d 7
 D2. =T2. +(2.)by16,A90,A89
                end;
                suppose ex n0 be Nat st n0 in dom (<* not b in dom Start-At((card    ssume
thenA1: S = the set of all ].x-jaugxx+jauge..  .rs]where
 and
:i T0 +n0
                  1 in Seg 1 by FINSEQ_1:1; then
:1in dom *c*> by FINSEQ_1:def 8;
A94:assume inS
                  then n0 = 1 by FINSEQ_1:2,TARSKI:def 1;
                  then T2.i = <*c*>.1 by A93,A92,FINSEQ_1:def 7; then
A95:              T2.i = c;
                  len T0 = len D0 by A71,FINSEQ_1:6; then
A96:              i = len D0 + 1 by A94,A92,FINSEQ_1:2,TARSKI:def 1;
                  1 in Seg 1 by FINSEQ_1:1;
                  then 1indom <*c2*husthesis  by,,RCOMP_3;
A97:              D2.i = <*c2*>.1 by A96,FINSEQ_1:def 7
                      .= c2;
A98:              c <= b by A7,XXREAL_1:1;
A99:              0 < jauge.c by A8,PARTFUN3:def 1; then
A100:             c + 0 <= c + jauge.(c)/2   (if=0(,,I,Initialize)b = s
:(c  jaugec/2) + 0 <(c  ./2  jauge./2
                    by A99,XREAL_1:8;
                  c2 <= c + jauge.(c)/2 by XXREAL_0:17;
                   T2. < D2i <= T2i+ jauge.(T2.i)
                    by A101,XXREAL_0:2,A95,A97         by Th42;
                end;
              end
            end;
            Lm8:card i''j''I= I2
           card i''j''I)=card i'; j'' I) SCMPDS_416
          hence c2 in C &    .card ( ';'I)1by Th1
        end;
      end;
      0 < jauge.c by A8,PARTFUN3:def 1;egin:: The computation of "if var<>0 then block"
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
      c
      then c < c2 by A102,XXREAL_0:def 9;
      hence thesis by A60,XXREAL_2:4;
    
    hence thesis by A17;
  end;

::$N Cousin's lemma
::$L https://en.wikipedia.org/wiki/Cousin's_lemma Cousin's lemma

theorem Th47:
  for I being non empty   setjI='' ;
      jauge being positive- Function  I,REAL holds
  ex being tagged_division  I stTD is jauge-fine
  proof
    let I be   hence (i ';' j; I.0=( i)   A1,:def
        jauge be positive-yielding Function of IA2  0 in dom Load jbyCOMPOS_150java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36
    consider a,b be Real suchA3:  Load i1&   in jI byAFINSQ_1:66,OMPOS_1:54;
:a <  
A2: I = [.a,.  Th33;
A3: lower_bound I = a    =(oad j'; ) 0
    reconsider r = 1/2 as positive Real;
    reconsider jauge2 = r (#) jauge as positive-java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 0
    consider x be non empty increasing FinSequence of REAL, t be non empty
    FinSequence of REAL such that
A4: x.1 = a and
A5: x.(len x) = b and
A6: t.1 = a and
A7: dom x = dom t and
:for  be Natst- indom & i in dom t holds
    t.i - jauge2.(t.i) <= x.(i-1) <= t.i and
A9: for i be Nat  letsbe State  ,I  f,  be
      by A1,A2,Th46;
    now
      thus   c= I
      proof
        let u be object;
        assume
A10:    u in rng x;
        then consider v be object such that
A11:    v in dom x and
A12:x.v = u by FUNCT_1:def ;
        rng x c= REAL;
        then reconsider  S= the ofall ]x-jauge.x,jauge.x. \[rs]where
        reconsider v1 = v as Nat by A11;
A13    1 indom x byA10,FINSEQ_3:31;
        1 <= v1 by A11,FINSEQ_3:25; then
        per   for IC being IntervalCover,
    (P3,3,1),P4 = P3;
         thesisbyA1,A2,,A12,:1;
        ;
        suppose

          v1 <= len x by A11,FINSEQ_3:25; then
percases by XXREAL_0:1;
          suppose
:v1<lenx
            len x in dom x by FINSEQ_5:6;
            then a <= u1 <= b by A5,A15,A14,A13,A4,A12,A11,VALUED_0:def 13;
            hence   A2XXREAL_1:1;
          end;
          aLoc(.a,k1)=s3. by FUNCT_4:1
        java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 52
          end;
        end;
      end;
      thus x.(len x) = upper_bound I by A5,A1,A2,JORDAN5A:19;
    end;
  then
    now
      t is non-decreasing
      proof
        assume not tis -decreasing;
thenconsider e1ebe ExtReal suchthat
A16:    e1 in dom t and
A17:    e2 in dom t and
A18:    e1 <= e2 and
A19:    t.e2 < t.e1    suppose
        1 <= e1 by FINSEQ_3:25,A16; then
        per cases by XXREAL_0:1;
        suppose
A20:      e1 = 1;
           =e2 by FINSEQ_3:25, 
          per cases by XXREAL_0:1;
          suppose e2 = 1;
        .= 1+card +)by 
          end;
          suppose
A21:        1 < e2;
            reconsider f2 = e2 as Nat by A17;
            f2 - 1 in domICComput(3s3,)=IC (3 s4,4k1)byA14,EXTPRO_14
A22:        x.(f2-1) <= t.f2 by A8,A17;
            rng x <> {}; then
A23:        1 in dom x by FINSEQ_3:32;
f2-1 indom by A17ACGAMES_1:0A7;
            then x.1 <= x.(f2-1) by A23,FINSEQ_3:25,VALUED_0:def 15;
            hence thesis by A4,A22,XXREAL_0:2,A19,A6,A20;
          end;
        end Comput(,omputP3,3,1)LifeSpan(2
        e
A24:      1 < e1;
           cases by A18,XXREAL_0:1;
           e1=e2;
            hence thesis by A19;
              .= halt SC by ,EXTPRO_1def 15;
          
A25:        e1 < e2;
A26:        t.e1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
            reconsiderf2 e2 as Nat by ;
1<  byA24,A25,XREAL_0:;then
A27:f2- 1in  t by ,CGAMES_120;then
A28:        x.(f2-1) <= t.e2 by A17letsbe Stateof , be of , a , be
            per cases;
            suppose e1 = f2 - 1;
              then x.e1 <= t.e2 by A27,A17,A8;
          hencethesis by A26,XXREAL_0:2,A19;
            end;
           
A29:          e1 <> f2 - 1;
              reconsider f1 = e1 as Nat byA4 pIF c  by FUNCT_425;
              f1 < f2 - 1
              
assume - < f1java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
                then f2 - 1 + 1<= f1 + 1   Comput(P3, s3,0 + 1) = Following(P3,Comput,0 EXTPRO_13
     then  = + 1byA18NAT_1java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
,A29;
              end;
              then x.e1 < x.(f2-1) by A27,A7,A16,VALUED_0:def 13;
              then x.e1 <= t.e2 by A28, then    dom pIFbyCOMPOS_1:;
              hence thesis by A19,A26,XXREAL_0:2;
            end;
          end;

      ;
      then reconsider s = t as non empty non-java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 26
      take s;
      thus t = s;
      thus dom s = dom D by A7;
      thus for i be Nat st i in dom s holds s.i in  hen
      proof
        let i be     .= (card I+1+1) b,h4
        assume
:i in;
        consider d1,d2 be Real such that
A31:    divset(D,i) = [.d1,d2.] by MEASURE5:def 3;
A32:    d1 <= d2 by A31,XXREAL_1:29;
        1 <= i by FINSEQ_3:25,A30; then
        per cases by XXREAL_0:1;
        suppose
A33:      i = 1;
          then lower_bound divset(D,i) = lower_bound I &
          upper_bound divset(D,i) = D.1 by A7,A30,INTEGRA1:def 4;
          then d1 = a & d2 = D.1 by A32,A31,JORDAN5A:19,A3;
          hence thesis by A6,A4,A31,A33,XXREAL_1:1;
        end;
        suppose
A34:      1 < i;
          then lower_bound divset(D,i) = D.(i-1) &
            upper_bound divset(D,i) = D.i by A7,A30,INTEGRA1:def 4; then
A35:       d1 = D.(i-1) & d2 = D.i by A32,A31,JORDAN5A:19;
          i - 1 in dom t by A30,CGAMES_1:20,A34;
          then D.(i-1) <= s.i <= D.i by A30,A8,A9;
          hence thesis by A31,A35    S is  of -TSpacer,)
end
      end;
    end;
    then
consider  tasElement of set_of_tagged_Division()by Def2;
    reconsider TD = [D,T] as tagged_division of I by Def3;
    take TD;
      now
        takebyA11,,A15EXTPRO_1:;
        thusendjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
        
   sbeing State of SCMPDS,I being halt-free shiftable
        thus TD = [D,T];
    thusfor i  Nat  iin dom D  voldivset(D,i <jauge.(.i
        proof
          let i be Nat;
          assume
A36:      i in dom D;
          consider u,v be Real such that
A37   P3= P +* pIF,
          u <= v       assumethat
38      lower_boundA1:r<= - tand
          upper_bound divset(D,i) = v by A37,JORDAN5A:19;
          1 <= i by FINSEQ_3:25,A36; then
            by XXREAL_0:
          suppose
  = 1 then
A40:        u = lower_bound  not  in domStart-At(       assume
A41:        vol divset(D,i) = v A4 s3.DataLoc(s3.,)=. by FUNCT_4:java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
                           .= D.1 - a by A40,A1        then u1:stop =P2:
                           .= 0 by A4;
            T.i in [.a,b.] by A39,A6,A1,XXREAL_1:1;
            ]-,+. \[.r s4 ICplusConsts,)A,S55
            then jauge.(T.i) in rng jauge by FUNCT_1:3;
            hence thesis by A41,PARTFUN3:def 1;
          end;
          suppose
:1<i; then
D(:P,ifeSpans2)
            i - 1 in dom t by A36,A7,A42,CGAMES_1:20; then
:       ti -jauge2.(        reconsider u1 = u as Real by A7;
            consider s be            consider s be non empty 14
            such that
A46:        T = s and
A47:        dom s = dom D and
A48:        for i be Nat st i in dom s holds s.i in divset(D,i) by Def2;
            divset(D,i) c=A18:l<LifeSpan(P2s2 + ;
thent.i in  by A46,A47,A48,A36;then
A49:        t.i in dom jauge2 by FUNCT_2:def    per ;
            x.l= 0java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
            hen x.java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
              by A44,XREAL_1:13;
            then x.i - x.(i-1) <= 2 * jauge2.(t.i);
            then x.i - x.(i-1) <= 2 * ((1/2) * jauge.(t.i))
              by A49,VALUED_1:def 5;
            hence thesis by A38,INTEGRA1:def 5,A43;
          end
        end;
      end;
      hence thesis;
  end;

registration
  let I be non empty closed_interval Subset of REAL,
      java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
  cluster jauge-fine for tagged_division of I;
  existence by Th47;
end;

Messung
CHZG
8010010093

¤ Dauer der Verarbeitung: 0.176 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,058
#Domains=861,606