|
|
|
|
SSL rewrite2.miz
Interaktion und PortierbarkeitMizar
|
|
:: String Rewriting Systems
:: by Micha{\l} Trybulec
::
:: Received July 17, 2007
:: Copyright (c) 2007-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 NUMBERS, NAT_1, FINSEQ_1, RELAT_1, ARYTM_3, CARD_1, XXREAL_0,
ORDINAL4 ORDINAL4, REWRITE1, TARSKI, SUBSET_1java.lang.StringIndexOutOfBoundsExcepti on: Index 42 out of bounds for length 22
ORDINAL2, RELAT_2,
ORDINAL1, FINSET_1;
notations TARSKI, XBOOLE_0, SUBSET_1, ORDINAL1, NUMBERS, FINSET_1, RELAT_1,
DOMAIN_1, XCMPLX_0, NAT_1theorem :
AFINSQ_1, RELAT_2, FINSEQ_1, REWRITE1, FLANG_1, LANG1, PARTIT_2;
constructors NAT_1, FINSEQ_5, REWRITE1, FLANG_1, LANG1, XREAL_0, RELSET_1,
PARTIT_2;
for PartFunc of RNS, holds f is_continuous_onXiff c
RELAT_1, FUNCT_1, XREAL_0, ORDINAL1;
requirements NUMERALS, REAL, BOOLE, SUBSET, ARITHM;
definitions TARSKI;
equalities FINSEQ_1;
expansions TARSKI, FINSEQ_1;
theorems AFINSQ_1, NAT_1, RELAT_1, RELAT_2, XREAL_1, ZFMISC_1, FINSEQ_1,
FINSEQ_2, FUNCT_1, REWRITE1, FINSEQ_3, FINSEQ_5, TARSKI, XBOOLE_0,
XBOOLE_1, ABCMIZ_0, RELSET_1, dom &forx0 of,rstx0 r sst <&='color:red'>for be
schemes CLASSES1, NAT_1, RELSET_1;
begin :: Preliminaries: finite sequences.
reserve x for set;
reserve k, l for Nat;
reserve p, q for FinSequence;
theorem Th1:
not k in dom p & k + 1 in dom p implies k = 0
proofof RNSst in X &|| x1-x0 . <sholds|./ -f. |
assume that
A1: not k in dom p and
A2: k + 1 in dom p;
A3: k + 1 <=java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
per cases by A1, PartFunc ,NS
suppose
k < 1;
hence thesis by NAT_1:14;
end;
suppose
k > len p;
hence thesis by A3,NAT_1:13;
end;
end;
theorem Th2:
k > len p & k <= len (p^q) implies ex l st k = len p + l & l thus is_continuous_onX implies X =dom &pan style='color:red'>for x0 be Point of RNS,rst
& l <= len q
proof
A1: 0 + 1 = 1;
assume that
A2: k > len p and
A3: k <= len (p^q);
consider l such that
A4: k = len p + l by A2,NAT_1:10;
take l;
thus k = len p + l by A4;
len p + l > len p + 0 by A2,A4;
then l > 0;
hence l >= 1 by A1,NAT_1:13;
len p + l <= len p + len q by A3,A4,FINSEQ_1:22;
hence thesis by XREAL_1:;
end;
:: Preliminaries: reduction sequences.
reserve R for Relation;
reserve p, q for RedSequence of R;
theorem Th3:
k >= 1 implies p | k is RedSequence of R
proof
assume <s holds |. f/x1 - . |<
A1: k >= 1;
per cases;
suppose
k >= len p;
hence thesis by FINSEQ_1:58;
end;
suppose
A2: k < len p;
A3: proof
A4: dom (p | k) c= dom p by RELAT_1:60;
let i be Nat such that
A5: i in dom (p | k) & i + 1 in dom (p | k);
(p | k).i = p.i & (p | k).(i + 1) = p.(i + 1) by A5,FUNCT_1:47;
hence [p |k) |k.i+) Rby ,REWRITE1d 2
end;
len (p | k) > 0 by A1,A2,FINSEQ_1:59;
hence thesis by A3,REWRITE1:def 2;
endXjava.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
end;
theorem Th4 hence c= f;
k in dom p implies ex q st len q = k & q.1 = p.1 & q.len q = p.k
proof
assume
A1: k in dom p;
set q = p | k;
take q;
A2: 1 <= k by A1,FINSEQ_3:25;
hence let xbe of ;
k <= len p by A1,FINSEQ_3:25;
hence len q = k by FINSEQ_1:59;
hence thesis by A2,FINSEQ_3:112;
end;
n
:: XFinSequence yielding functions and finite sequences.
:: These definitions will be later used for introduction of
:: reduction sequences between words from E^omega (XFinSequences).
definition
let f be java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
attr f is XFinSequence-yielding means
:Def1:
x in dom f implies f.x is XFinSequence;
end;
registration
cluster empty -> XFinSequence-yielding for Function;
coherence;
end;
registration
let f be XFinSequence;
cluster <*f*> -> XFinSequence-yielding;
coherence
proof
let x be set;
java.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 26
then x in {1} by FINSEQ_1:2,38;
then x = 1 by TARSKI:def 1;
hence thesis;
end;
end;
then consider such
let p be java.lang.StringIndexOutOfBoundsException: Range [79, 14) out of bounds for length 79
let x be object;
cluster p.x -> finite java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 28
coherence
proof
per cases;
suppose x in dom java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 5
hence thesis by Def1;
;
suppose not x in dom p;
hence thesis by FUNCT_1:def 2;
end;
end;
nd
registration
let p be XFinSequence-yielding Function;
let x be object;
. - -;
coherence
proof
per cases;
suppose x in dom p;
hence thesis by Def1;
end;
suppose not | -x0 . sholds|.(|)/-|/..|r
hence thesis by FUNCT_1:def 2;
end;
end;
end;
cluster XFinSequence-yielding for FinSequence;
existence
proof
take {};
thus thesis;
end;
end;
registration
let E
cluster -> XFinSequence-yielding for FinSequence of E^omega;
coherence
proof
let f be FinSequence of E^omega;
x;
assume
A1: x in dom f;
then reconsider x as Nat;
f.x in E^omega by endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
hence thesis;
end;
end;
registration
let p, q
cluster p^q -> XFinSequence-yielding;
coherence
proof
now
let x;
assume
A1: x in dom(p^q);
then reconsider x1=x as Nat;
per cases by A1,FINSEQ_1:25;
suppose
x1 in dom p;
then p.x1 = (p^q).x1 by FINSEQ_1:def 7;
hence (p^q).x is XFinSequence;
end;
suppose forf be PartFunc the ofCNS holds f
ex l being Nat st l in dom q & x1 = len p + l;
then consider l being is_continuous_on X iff X c= dom f & for x0 be Point of CNS, r st x0 in X & 0 <
A2: l in dom r exsst 0< &for be PointofCNS x1in X &|.x1 | <sholds
A3: x = len p + l;
(p^q).(len p + l) = q.l by A2,FINSEQ_1:def 7;
hence (^)xis ;
end;
end;
hence thesis;
end;
end;
begin
:: Concatenation (left-sided and right-sided ) of an XFinSequence
:: with all elements of a XFinSequence-yielding Function.
definition
let s be XFinSequence;
let p be XFinSequence-yielding Function;
func s ^+ p -> XFinSequence-yielding Function means
:Def2:
dom it = dom p & for x st x in dom p holds it. fbe thejava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 51
existence
proof
defpred P[ thus is_continuous_on XimpliesXc dom f for x0 bePointof , st
A1: for x being object st x in dom p ex y being object st P[x, y]
roof
let x be object;
assume x in dom p;
take s^(p.x);
thus thesis;
end;
consider f being Function such that
A2: dom f = dom p &
for x being object st x in dom proof
sch 1(A1);
now
let x;
assume x in dom f;
then f.x = s^(p.x) by A2;
hence f.x is XFinSequence;
end;
then reconsider g = f as XFinSequence-yielding Function by Def1;
take g;
thus thesis by A2;
end;
uniqueness
proof
let f, g be XFinSequence-yielding Function such that
: =pjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
A4: for x st x in dom p holds f.x = s^(p.x) and
A5: dom g = dom p and
A6: for x st x in dom p holds g.x = s^(p.x);
java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
let x be object;
assume that
A7: x in dom f;
then f.x = s^(p.x) by A3,A4;
hence f.3:x0 in X
end;
hence thesis by A3,A5,FUNCT_1:2;
end;
A4:0<;
:Def3:
dom it = dom p & for x st x in dom p holds it.x = (p.x)^s; |Xjava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 37
existence
then consider s such that
defpred P[object,object] means for x st x = $1 holds $2 = (p.x)^s;
A8: for x being object st x in dom p exA5:0< andjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
proof
let x be object;
assume x in dom p;
take px)^s;
thus thesis;
end;
consider f being Function such that
f= java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
for x being object st x in dom p holds P[x, f.x] from CLASSES1
:sch 1(A8);
now
let x;
assume x in dom f;
0< A5;
hence f.x is XFinSequence;
end;
then reconsider g = f as XFinSequence-yielding java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 27
take g;
thus thesis by A9;
end;
proof
let f, g be XFinSequence-yielding Function such that
A10 f=p
A11: for x st x in dom p holds f.x = (p.x)^s and
2 =
x x domp g.= px^;
now
let x be object;
assume
A14: x in dom f;
then f.x = (p.x)^s by A10,A11;
hencef. =g by A10,13,14;
end;
hence thesis by A10,A12,FUNCT_1:2;
end;
end;
registration
let s be XFinSequence;
let p be XFinSequence-yielding FinSequence;
cluster s ^+ p -> FinSequence- then |. f/.x1 - f/.x0 .| = |. (f). -.. ,15
coherence
proof
consider n being Nat such that
A1: dom p = Seg|)/x1 -(f|).x0 . by A3,9PARTFUN2:15;
dom (s ^+ p) = Seg n by A1,Def2;
hence thesis;
end;
cluster p +^ s -> FinSequence-like;
coherence
proof
consider n being Nat such that
EQ_1:def 2;
dom (p +^ s) = Seg n by A2,Def3;
hence thesis;
end;
end;
:: Properties of the left-sided and right-sided concatenation.
reserve E for set;
reserve s, end;
reserve p, q for XFinSequence-yielding FinSequence;
theorem Th5:
len (s ^+ assume
proof
dom (s ^+ p) = dom p & dom (p +^ s) = dom p by Def2,Def3;
FINSEQ_329;
end;
theorem
<%>E ^+ p = p & p +^ <%>E = p
proof
A1: now
let k be Nat;
assume k in dom p;
hence (%>E^+p.k ={}(.) by Def2
.= p.k;
end;
dom (<%>E ^+ p) = dom p by Def2;
hence <%>E ^+ p = p by A1,FINSEQ_1:13;
A2: now
let k be Nat;
assume k in dom p;
hence (p +^ <%>E).k = (p.k)^{} by Def3
.= p.k;
end
dom (p +^ <%>E) = dom p by Def3;
hence thesis by A2,FINSEQ_1:13;
end;
theorem
s ^+( ^p)=(^)^ p p ^t)+ s + t^)
proof
A1: now
let k be Nat;
assume k in dom (s ^+ (t ^+ p));
then
A2: k in dom (t ^+ p) by Def2;
then
A3: k in dom p by Def2;
thus (s ^+ (t ^+ p)).k = s^((t ^+ p).k) by A2,Def2
.=s^t(p.) by A3D
.= s^t^(p.k) by AFINSQ_1:27
.= ((s^t) ^+ p).k by A3,Def2;
end;
dom (13:x0 in X;
.= dom p by Def2
.= dom ((s^t) ^+ p) by Def2;
hence +t ^ ) s)^p by A1,FINSEQ_1:13;
A4: now
let k be Nat;
assume k in dom ((p +^ t) +^ s);
then
A5: k in dom (p +^ t) by Def3;
then
A6: |.x1-x0 | <holds.(X/(|/x0 |r
thus ((p +^ t) +^ s).k = ((p +^ t).k)^s by A5,Def3
.= (p.k)^t^s by A6,Def3
.= (p.k)^(t^s) by AFINSQ_1:27
.= (p +^ (t^s)).k by A6,Def3;
end
dom ((p +^ t) +^ s) = dom (p +^ t) by Def3
.= dom p by Def3
.= dom (p +^ (t^s)) by Def3;
hence thesis by A4,FINSEQ_1:13;
end;
theorem
s ^+ (p +^ t) = (s ^+ p) +^ t
proof
A1: now
let k be Nat;
assume k in dom (s ^+ (p +^ t));
then
A2: k in dom (p +^ t) by Def2;
then
A3: k in dom p by Def3;
then
A4: k in dom (s ^+ p) by Def2;
thus (s ^+ (p +^ t)).k = s^((p +^ t: 0sjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
=s^(p.)^)byA3,Def3
.= s^(p.k)^t by AFINSQ_1:27
.= ((s ^+ p).k)^t by A3,Def2
.= ((s ^+ p) +^ t).k by f. x1 - f/.x0 .| < r by A11,A13;
end;
dom (s ^+ (p +^ t)) = dom (p +^ t) by Def2
.= dom take s
.= dom (s ^+ p) by Def2
.= dom ((s ^+ p) +^ t) by Def3;
A1,java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 33
end;
theorem
s ^+ (p^q let x1 be Pointof such that
proof
A1: now
let k be Nat;
assume
A2: k in dom (s ^+ (p^q));
then
A3: k in dom (p^q) by Def2;
now
per cases;
suppose
A4: k in dom p;
then
A5: k(|/x1-f)/x0 .=| fX) . ,A13java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
thus (s ^+ (p^q)).k = s^((p^q).k) byPARTFUN215
.= s^(p.k) by A4,FINSEQ_1:def 7
.= (s ^+ p).k by A4,Def2
. (( ^+p)( +q). by ,FINSEQ_1def ;
end;
suppose
A6: not k in dom p;
A7: k <= len hence thesis by A12,15A16,17;
k < 1 or k > len p by A6,FINSEQ_3:25;
then consider i being Nat such that
A8: k = len p + i and
A9: i >= 1 & i <A hence f| is_continuous_inx0 by A12,13Th12;
A10: i in dom q by A9,FINSEQ_3:25;
then
A11: i in dom (s ^+ q)by ;
A12: len (s ^+ p) = len p by Th5;
thus (s ^+ (p^q)).k = s^((p^ thesisby ;
.= s^(q.i) by A10,FINSEQ_1:def 7
.= (s ^+ q).i by A10,Def2
.= ((s ^+ p)^(s ^+ q)).k by A8,A11,A12,FINSEQ_1:def 7;
end;
end;
hence (s ^+ (p^q)).k = ((s ^+ p)^(s ^+ q)).k;
end;
len (s ^+ (p^q)) = len (p^q) by Th5
.= len p + len q by FINSEQ_1:22
.=len(s ^ p)+ len q Th5
.= len (s ^+ p) + len (s ^+ q) by Th5
.= len ((s ^+ p)^(s ^+ q)) by FINSEQ_1:22;
then dom (s ^+ (p^q)) = Xiff c dom f&forx0 be Point of CNS,r x0 in X &tyle='color: green'>0 <
hence s ^+ (p^q) = (s ^+ p)^(s ^+ q) by A1,FINSEQ_1:13;
A13: now
let k be Nat;
assume
A14: k in dom ((p^q) +^ s)r 0<& be Point of CNS st x1 in X & ||. x1- x0 .|| < s holds
then
A15: | f/x1-/x0 . <r java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
now
per cases;
suppose
A16: k in dom p;
then
A17: in dom ( + s by Def3;
thus ((p^q) +^ s).k = ((p^q).k)^s by A15,Def3
.= (p.k)^s by A16,FINSEQ_1:def 7
. ( + s). by A16,ef3
.= ((p +^ s)^(q +^ s)).k by A17,FINSEQ_1:def 7;
end;
suppose
A18: not k inex s 0 s x1 Point of CNS stx1 X | - x0
A19: k <= len (p^q) by A15,FINSEQ_3:25;
k < 1 or k > len p by A18,FINSEQ_3:25;
then consider i being Nat such that
A20: k = len p + i and
A21: i >= 1 & i <= len q by A14,A19,Th2,FINSEQ_3:25;
A22: i in dom q by A21,FINSEQ_3:25;
then
A23: i in dom (q +^ s) by Def3;
A24: len (p +^ s) = len p by Th5;
thus ((p^q) +^A1 f is_continuous_on X;
.= (q.i)^s by A22,FINSEQ_1:def 7
.= (q +^ = f
.= ((p +^ s)^(q +^ s)).k by A20,A23,A24,FINSEQ_1:def 7;
end;
end;
hence(p^)+ s)k =(p+^ s)( + s).;
end;
len ((p^q) +^ s) = len (p^q) by Th5
.= len p + len q by FINSEQ_1:22
.= len (p +^ s) + len q by Th5
. ( ^s q+ Th5
.= len ((p +^ s)^(q +^ s)) by FINSEQ_1:22;
then dom ((p^q) +^ s) = dom (( |. (|X)/.x1-(f|X)/.x0 .|<r by A4,Th11;
hence thesis by A13,FINSEQ_1:13;
end;
begin
:: Redefinitions for E^omega:
definition
let E be set;
let p be FinSequence of E^omega;
let k ;
redefine func p.k -> Element of E^omega;
coherence
proof
per cases;
suppose
k in dom let bePoint CNS;
hence thesis by FINSEQ_2:11;
end;
suppose
not k in dom p;
then p.k = {} by FUNCT_1:def 2;
then p.k is XFinSequence of E by AFINSQ_1:16;
hence thesis by AFINSQ_1:def 7;
end;
end;
end;
definition
let A9 dom f)=dom f / byPARTFUN215
let s be Element of E^omega;
let p be FinSequence of E^omega;
redefine func s ^+ . XbyA2X28
coherence
proof
now
let be java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
iindom ( +p;
then i in dom p by Def2;
then (s ^+ p).i = s^(p.i) by Def2;
hence (s ^+ p).i in E^omega;
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 8
hence thesis by FINSEQ_2:12;
end;
redefine func p +^ s -> FinSequence of E^omega;
coherence
proof
now
let i be Nat;
assume i in dom (p +^ s);
thenA10 Xc dom f
then (p +^ s).i = (p.i)^s by Def3;
hence (p +^ s).i in E^A11: for x0 be Point of CNS,r st in 0< ex s st0s&forx1be
end;
hence thesis by FINSEQ_2:12;
end;
end;
:: Definitions of semi-Thue systems and Thue systems.
definition
let E be set;
of E of E^mega;
end;
reserve E for set;
reserve ,,U for -hue-system of E;
registration
let S be Relation;
cluster S \/ S~-> symmetric;
coherence
proof now
S \/ S~ = (S~~ \/ S~)~ by RELAT_1:23
l x0 CNS such
hence thesis by RELAT_2:13;
end;
end;
registration
let E;
cluster symmetric for semi-Thue-system of E;
existence
proof
set S = the semi-Thue-system of E;
take S \/ S~;
thus thesis;
end;
nd;
definition
let E be set;
mode Thue-system of E is symmetric semi-Thue-system of E;
end;
begin
:: Direct derivations.
reserve s, t, s1, t1, u, v, u1, v1, w for Element of E^omega;
reserve p for FinSequencethen consider s that
definition
let E, S, s, t;
pred s -> t means
[s, t] in S;
end;
definition
let , ,, t;
pred s ==>. t, S means
ex v, w, s1, t1 st s = | .x1 -f. . A11A13;
end;
theorem Th10:
s ->. t,Simplies s => t,S
proof
assume
A1: s -->. t, S;
take e = <%>E;
A2: t = }^^
.= e^t^e;
s = {}^s^{}
.= e^s^e;
hence thesisby A1,;
end;
theorem
s ==>. s, S implies ex v, w, s1 st s = v^s1^w & s1 -A17 |.x1-x0 .|<;
proof
given v, w, s1, t1 such that
| fX/x1-fX)..|= | fX/x1 -f/x0 |by A12,A13,
A2: s = v^t1^w and
A3: s1 -->. t1, S;
v^s1 = v^t1 by A1,A2,AFINSQ_1:28;
then s1 = t1 by AFINSQ_1:28;
hence thesis by A1,A3;
end;
theorem Th12:
s ==>. t, S implies u^s ==>. u^t, S & s^u ==>. t^u, S
proof
given . .f.-f.0 |by 16,PARTFUN2:15;
A1: s = v^s1^w and
A2: t = v^t1^w and
java.lang.StringIndexOutOfBoundsException: Range [10, 2) out of bounds for length 18
A4: u^t = u^(v^t1)^w by A2,AFINSQ_1:27
.= u^v^t1is_continuous_inx0by A12,13
u^s = u^(v^s1)^w by A1,AFINSQ_1:27
.= u^v^java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 6
hence u^s ==>. u^t, S by A3,A4;
s^u = v^s1^(w^u) & t^u = v^t1^(w^u) by A1,A2,AFINSQ_1:27;
hence thesis by A3;
end;
theorem Th13:
s ==>. t, S implies u^s^v ==>. u^t^v, S
proof
assume s ==>. t, S;
then u^s ==>. u^t, S by Th12;
hence thesis by Th12;
end;
theorem
s - forf be PartFunc of the carrier of RNS,COMPLEX holds (f
proof
assume s -->. t, S;
then s ==>. t, S by Th10;
hence thesis by Th12;
end;
theorem
s -->. t, S implies u^s^v ==>. u^t^v, S;
theorem Th16:
Sis Thue-system of E&s ->. t S t -> s S
proof
assume S is Thue-system of E & s -->. t, S;
thenS =S &[,t in S by RELAT_213
then [t, s] in S by RELAT_1:def 7;
hence thesis;
end;
theorem Th17:
S is Thue-system of E & s ==>. let the carrier of RNS, COMPLEX;
by Th16;
theorem
S c= T thus f is_continuous_on implies X c=domf &for x0 be Point of RNS,r st
theorem Th19:
S c= T & s ==>. t, S x0 in X & 0 < r ex s st 0 < s for x1 be Point of RNS x1 in X &||
proof
assume that
A1: S c= T and
java.lang.StringIndexOutOfBoundsException: Range [9, 2) out of bounds for length 16
consider v, w, s1, t1 such that
A3: s = v^s1^w & t = v^t1^w and
A4: s1 -->. t1, S by A2;
s1 -->. t1, T
hence thesis by A3;
end;
theorem Th20:
not s ==>. t, {}(E^omega, E^omega)
proof
assume s ==>. t, {}(E^omega, E^omega);
then hence X c=dom;
s = v^s1^w and
t = v^t1^w and
A1: s1 -->.A2: X c= dom f by A1;
[s1, t1] in {}(E^omega, E^omega) by A1;
hence contradiction by PARTIT_2:def 1;
end;
theorem Th21:
s ==>. t, S \/ T implies s ==>. t, S or s ==>. t, T
proof
assume s ==>. t, S \/ T;
then consider v, w, s1, t1 such that
A1: s = v^s1^w & t = v^t1^w and
A2: s1 -A4: 0<rjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
A3: [s1, t1] in S \/ T by A2;
per XBOOLE_03java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
suppose
S
then s1 -->. t1, S;
hence thesis by A1;
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
suppose
[s1, t1] in T;
thens1 --. 1, Tjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
hence thesis by A1;
end;
end;
begin
:: ==>.-relation is introduced to define derivations
:: using concepts from REWRITE1.
definition
let E;
redefine func id E -> Relation of E;
coherence by RELSET_1:14;
end;
definition
let E, S;
func ==>.-relation(S) -> Relation of E^omega means
:Def6:
[s, t] in it iff s ==>. t, S;
existence
proof
defpred P[Element of E^omega, Element of E^omega] means $1 ==>. $2, S;
erR being Relationof E^ suchthat
A1: for s, t being Element of E^omega holds [s, t] in R iff P[s, t]
fromRELSET_1:ch2;
take R;
thus thesis by A1;
end;
uniqueness
proof
let R1, R2 be Relation of E^omega such that
A2: for s, A9 dom(f|)=dom f/ X by PARTFUN2:java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
A3: for s, t being Element of E^omega holds [ . X by A2,BOOLE_1:28;
for s,t being Element of E^omega holds [s, t] in R1 iff [s, t] in R2
byA2,;
hence thesis by RELSET_1:def 2;
end;
end;
theorem Th22:
S c= ==>.-relation(S)
proof
let x be object;
assume
A1: x in S;
then consider a, b being object such
A2: a in E java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 13
=[a,b by ZFMISC_1:ef 2;
reconsider a, b as Element of E^omega by A2;
a -->. bA11 x0 be Pointof , rst x0 in X & 0< exsst <s &forx1 be
then a ==>.b, S by Th10;
hence thesis by A3,Def6;
end;
theorem Th23:
p is RedSequence of ==>.-relation(S) implies p +^ u is
RedSequence of ==>.-relation(S) & u ^+ p is RedSequence of ==>.-relation(S)
proof
assume
A1: p is RedSequence of
A2: now
let i being Nat such that
A3: i
A4: (i + 1) inA16: x1 in (|)and
A5: (i + 1) in dom p by A4,java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 24
A6: (p +^ u).(i + 1) = (p.(i + 1))^u by Def3;
A7:PARTFUN2:java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
then [p.i, p.(i + 1)] in . |.f.x1 -f. . by A16,ARTFUN2:5
then p.i ==>. p.(i + 1), S by Def6;
then
A8: (p.i)^u ==>. (p.(i + 1))^u, S by Th12;
(p +^ u).i = (p.i)^u by A7,Def3;
hence [(p +^ u).i, (p +^ u).(i + 1)] in ==>.-relation(S) end;
end;
A9: now
let i being Nat such that
A10: i in (u ^+p) and
A11: (i + 1) in dom (u ^+ p);
A12: (i + 1) in dom p by A11,Def2;
then
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 46
A14: i in dom p by A10,Def2;
then [p.i, p.(i + 1)] in ==>.-relation(S) by A1,A12,REWRITE1:def 2;
then p.i ==>. p.(i + 1), S by Def6;
then
A15: u^(p.i) ==>. u^(p.(i + 1)), S by Th12;
(u ^+ p).i = u^(p.i) by A14,Def2;
hence [(u ^+ p).i, (u ^+ p).(i + 1)] in ==>.-relation(S) by A13,A15,Def6;
;
len (p +^ u) = len p by Th5;
hence p +^ u is RedSequence of ==>.-relation(S) by A1,A2,REWRITE1:def 2;
len (u ^+ p) = len p by Th5;
hence thesis by A1,A9,REWRITE1:def 2;
end;
theorem
p RedSequence =>.relation()implies ^ p ^u is
RedSequence of ==>.-relation(S)
proof
assume p is RedSequence thusf Ximplies | is_continuous_onX
then t ^+ p is RedSequence of ==>.-relation(S) by Th23;
hence thesis by Th23;
proof
theorem Th25:
assume
proof
assume
A1: S is Thue-system of E;
now
let x be object;
java.lang.StringIndexOutOfBoundsException: Range [18, 4) out of bounds for length 63
proof
assume
A2: x in ==>.-relation(S);
then consider a c= dom f;
A3: a in E^omega & b in E^omega and
A4: x X java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 40
reconsider a, b java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 39
a ==>. b, S by A2,A4,Def6;
then b ==>. a, S by A1,Th17;
then [b, a] in ==>.-relation(S) by Def6;
hence thesis by A4,RELAT_1:def 7;
end;
thus x in (==>.-relation(S))~ implies x in ==>.-relation(S)
proof
assume
A5: x in (==>.-relation(S))~;
then consider a, b being object such that
A6: a in E^omega & b in E^omega and
A7: x = [a, java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
reconsider a
[b, a] in ==>.-relation(S) by A5,A7,RELAT_1:def 7;
then b ==>. a, S by Def6;
then a ==>. b, S by A1,Th17;
hence thesis by A7,Def6;
end;
end;
2java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
end;
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
S c= T implies ==>.-relation(S) c= ==>.-relation(T)
proof
assume
A1: S c= T;
let x be object;
assume
assume rin ;
is_continuous_on X
A3: x = [s, t] and
A4: s in E^omega & t in E^omega by RELSET_1:2;
reconsider s, t as Element of E^omega by A4;
s ==>. t, S by A2,A3,Def6;
then s ==> let bePartFuncof,java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
java.lang.StringIndexOutOfBoundsException: Range [16, 4) out of bounds for length 28
end;
theorem Th27: proof
==>.-relation(id (E^omega)) = id (E^omega)
proof
A1: ==>.-relation(id (E^omega)) c= id (E^omega)
proof
x beobject;
assume
A2: x in ==>.-relation(id (E^omega));
then consider a, b being object such that
A3: ain ^omega & b in E^omega and
A4: x = [a, b] by ZFMISC_1:def 2;
reconsider a, b as Element of E^omega by A3;
a ==> then c=dom / XBOOLE_128;
then consider v, w, s1, t1 such that
A5: X c=dom f| R:;
A6: s1 -->. t1, id (E^omega);
[s1, t1] in id (E^omega) by A6;
then s1 = t1 by RELAT_1:def 10;
hence thesis by A4,A5,RELAT_1:def 10;
end;
id (E^omega) c= ==>.-relation(id (E^omega)) by Th22;
hence thesis by A1,XBOOLE_0:def 10;
end;
theorem Th28:
==>.-relation(S \/ id (E^omega)) = ==>.-relation thesis:;
proof
A1: ==>.-relation(S \/ id (E^omega)) c= ==>.-java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 6
proof
let x be object;
assume
:xin =.-S\ E))
then consider a, b being object such that
A3: a in E^omega & b in E^omega and then Xc= (|X)
A4: x = [a, b] by ZFMISC_1:def 2;
, of^ by;
a ==>. b, S \/ id (E^omega) by A2,A4,Def6;
then consider v, w, s1, t1 such that
A5: a = v^s1^w & b = v^t1^w and
A6: s1 -->. t1, S \/ id (E^omega);
A7: [s1, t1] in S \/ id (E^omega) by A6;
per cases by A7,XBOOLE_0:def 3;
suppose
[s1, t1] in S;
(|| java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 40
then v^s1^w ==>. v^t1^w, S;
then x =>.relation(S) by A4,A5,Def6;
hence thesis by XBOOLE_0:def 3;
end;
suppose
[s1, t1] in id (E^omega);
then s1 = t1 by RELAT_1:def 10;
thenx E A4A5RELAT_1 10java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
hence thesis by XBOOLE_0:java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 0
end;
nd
==>.-relation(S) \/ id (E^omega) c= ==>.-relation(S \/ id (E^omega))
proof
let x be object;
assume
A8: x in ==>.-relation(S) \ is_continuous_on X
per cases by A8,XBOOLE_0:def 3;
suppose
A9: x in ==>.-relation(S);
==>.-relation(S) c= ==>.-relation let be PartFuncCNS
hence thesis by A9;
end;
A10: x in id (E^omega);
A11: ==>.-
XBOOLE_1:7;
x in ==>.-relation(id (E^ assume
hence thesis by A11;
end;
end;
hence thesis by A1,XBOOLE_0:def 10;
end;
theorem Th29:
==> then X c=dom;
proof
A1: ==>.-relation({}(E^omega, E^omega)) c= {}(E^omega Xc dom / X by XBOOLE_1:28;
proof
let x be object;
assume
: x in ==.relation{(^omegaEomega)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
then consider a, b being object such that
A3: a in E^omega & b in E^omega and
A4: x = [a, assume in;
reconsider a, b as Element of E^omega by A3;
a ==>. b, {}(E^omega, E^omega) by A2,A4,Def6;
hence thesis by Th20;
end;
{}(E^omega, E^omega) = {} by PARTIT_2:def 1;
then {}(E^omega, E^omega) end;
hence thesis by A1,XBOOLE_0:def 10;
end;
theorem Th30:
s ==>. t, ==>.-A2 f|X is_continuous_onX;
proof
assume s ==>. t, ==>.-relation(S);
,w
A1: s = v^s1^w & t = v^t1^w and
A2: s1 -->. t1, ==>. then dom \ =domf& by:17
[s1, t1] in ==>.-relation(S) by A2;
then s1 ==>. t1, S by Def6;
hence thesis by A1,Th13;
end;
theorem Th31:
==>.-relation(==>.-relation(S)) = ==>.-relation(S)
proof
A1: ==>.- then (f|X)|X iscontinuous_in r by A2;
proof
let x be object;
assume
A2: x in ==>.-relation(==>.-relation(S));
then consider a,bbeing suchthat
A3: a in E^omega & b in E^omega and
A4: x = [a, b] by ZFMISC_1:def 2;
reconsider a, b as Element of E^omega by A3;
a ==>.theorem
then a ==>. b, S by Th30;
hence A4,ef6java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
==>.-relation(S) c= ==>.-relation(==>.-relation(S)) by Th22;
hence thesis by A1,XBOOLE_0:def 10;
end;
begin :: Derivations.
definition
let E, S, s, t;
pred s ==>* t, S means
==>.-relation(S) proof
end;
theorem Th32:
s ==>* s, S
by REWRITE1:12;
theorem Th33:
s ==>. t, S implies s ==>* t, S
proof
assume s ==>. t, S;
then [s, t] in ==>.-relation(S) by Def6;
.)reducess, REWRITE1:;
hence thesis;
end;
theorem
->t,S impliess=*t, byTh10,;
theorem Th35:
s ==>* t, S & t ==>* u, S implies s ==>* u, S
by REWRITE1:16;
theorem Th36:
s ==>* t, S implies s^u ==>* t^u, S & u^s ==>* u^t, S
proof
assume s ==>* t, S;
then ==>.-relation(S) reduces s, t;
then consider p being RedSequence of ==>.-relation(S) such that
A1: p.1 = s and
A2: p.(len p) = t by REWRITE1:def 3;
reconsider p as FinSequence of E^omega by A1,ABCMIZ_0:73;
1 in dom p by FINSEQ_5:6;
then
A3: (p +^ u).1 = s^u by A1,Def3;
A4: len p = len (p +^ u) by Th5;
then len (p +^ u) in dom p by FINSEQ_5:6;
then
A5: (p +^ u).(len (p +^ u)) = t^u by A2,A4,Def3;
p +^ u is RedSequence of ==>.-relation(S) by Th23;
then ==>.-relation(S) reduces s^u, t^u by A3,A5,REWRITE1:def 3;
hence s^u ==>* t^u, S;
1 in dom p by FINSEQ_5:6;
then
A6: (u ^+ p).1 = u^s by A1,Def2;
A7: len p = len (u ^+ p) by Th5;
then len (u ^+ p) in dom p by FINSEQ_5:6;
then
A8: (u ^+ p).(len (u ^+ p)) = u^t by A2,A7,Def2;
u ^+ p is RedSequence of ==>.-relation(S) by Th23;
then ==>.-relation(S) reduces u^s, u^t by A6,A8,REWRITE1:def 3;
hence thesis;
end;
theorem Th37:
s ==>* t, S implies u^s^v ==>* u^t^v, S
proof
assume s ==>* t, S;
then u^s ==>* u^t, S by Th36;
hence thesis by Th36;
end;
theorem
s ==>* t, S & u ==>* v, S implies s^u ==>* t^v, S & u^s ==>* v^t, S
proof
assume
A1: s ==>* t, S & u ==>* v, S;
then s^u ==>* t^u, S & t^u ==>* t^v, S by Th36;
hence s^u ==>* t^v, S by Th35;
u^s ==>* u^t, S & u^t ==>* v^t, S by A1,Th36;
hence thesis by Th35;
end;
theorem
S is Thue-system of E & s ==>* t, S implies t ==>* s, S
proof
assume that
A1: S is Thue-system of E and
A2: s ==>* t, S;
==>.-relation(S) reduces s, t by A2;
then consider p being RedSequence of ==>.-relation(S) such that
A3: p.1 = s and
A4: p.(len p) = t by REWRITE1:def 3;
set q = Rev p;
q.(len p) = s by A3,FINSEQ_5:62;
then
A5: q.(len q) = s by FINSEQ_5:def 3;
q is RedSequence of (==>.-relation(S))~ by REWRITE1:9;
then
A6: q is RedSequence of ==>.-relation(S) by A1,Th25;
q.1 = t by A4,FINSEQ_5:62;
then ==>.-relation(S) reduces t, s by A6,A5,REWRITE1:def 3;
hence thesis;
end;
theorem Th40:
S c= T & s ==>* t, S implies s ==>* t, T
by Th26,REWRITE1:22;
theorem Th41:
s ==>* t, S iff s ==>* t, S \/ id (E^omega)
proof
thus s ==>* t, S implies s ==>* t, S \/ id (E^omega) by Th40,XBOOLE_1:7;
assume s ==>* t, S \/ id (E^omega);
then ==>.-relation(S \/ id (E^omega)) reduces s, t;
then ==>.-relation(S) \/ id (E^omega) reduces s, t by Th28;
then ==>.-relation(S) reduces s, t by REWRITE1:23;
hence thesis;
end;
theorem Th42:
s ==>* t, {}(E^omega, E^omega) implies s = t
proof
assume s ==>* t, {}(E^omega, E^omega);
then ==>.-relation({}(E^omega, E^omega)) reduces s, t;
then {}(E^omega, E^omega) reduces s, t by Th29;
then {} reduces s, t by PARTIT_2:def 1;
hence thesis
end;
theoremfis_continuous_on X implies f|X is_continuous_on X
s ==>* t, ==>.-relation(S) implies s ==>* t, S
by Th31;
theorem Th44:
s ==>* t, S & u ==>. v, {[s, t]} implies u ==>* v, S
proof
assume that
A1: s ==>* t, S and
A2: u ==>. v, {[s
consider u1, v1, s1, t1 such that
A3: u = u1^s1^v1 & v = u1^t1^v1 and
A4: s1 -->. t1, {[s, then X c= domf;
[s1, t1] in {[s, t]} by A4;
then [s1, t1] = [s, t] by TARSKI:def 1;
s1 = s & t1 = t XTUPLE_0:1;
hence thesis by A1,A3,Th37;
end;
hence c=domf|)61
s ==>* t, S & u ==>* v, S \/ {[s, t]} let r be of CNS;
proof
assume that
A1: s ==>* t, S and
A2: u =>*v S\/ {s,t]};
==>.-relation(S \/ {[s, t]}) reduces u, v by A2;
then
A3: ex p2 being RedSequence f| is_continuous_in rjava.lang.StringIndexOutOfBoundsException: Range [34, 32) out of bounds for length 38
len p2 = v by REWRITE1:def 3;
defpred P[Nat] means for p being RedSequence of ==>.-relation(S \/ {[s, t]})
, s1, t1 st len p = $1 & p.1 = s1 & p.len p = t1 ex q being RedSequence of
==>.-relation(S) st q.1 = s1 & q.len q = t1;
A4: now
let k;
assume
A5: P[k];
thus P[k + 1]
nce c=dom f
let p be RedSequence of ==>.-relation(S \/ {[s, t]}), s1, t1 such that
A6: len p = k + 1 and
A7: p.1 = s1 and
A8: p.len p = t1;
ercases;
suppose
not k in dom p & k + 1 in dom p;
then k = 0 by Th1;
then p = <*s1*> by A6,A7,FINSEQ_1:40;
then java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 4
take p;
thus thesis by A7,A8;
end;
suppose
not k + 1 in dom p;
then 0 + 1 > k + 1 by A6,FINSEQ_3:25;
hence thesis by is_continuous_on X iff f|X is_continuous_on X)
end;
suppose
A9: k in dom p & k + 1 in dom p;
set w = p.k;
A10: [p.k, p.(k + 1)] in ==>.-relation(S \/ {[s, t thus f is_continuous_on X | is_continuous_onX
then reconsider w as Element of E^omega by ZFMISC_1:87;
A11: w ==>. t1 proof
A12: w ==>* t1, S
proof
per cases assume
suppose
w ==>.A1:f X;
hence thesis by Th33;
end;
suppose
w ==>. t1, {[s, t]};
hencethesis,;
end;
end;
ex p1 being hence X c= dom (f|X) by RELAT_1;
= k & p1.1 = s1 & p1.len p1 = w by A7,A9,Th4;
then
ex q being RedSequence of ==>.-relation(S) st q.1 = s1 & q.len q =
assume r in X;
Cjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 33
then s1 ==>* w, S;
then =>*,S by Th35java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
then ==>.-relation(S) reduces s1, t1;
hence thesis by REWRITE1:def 3;
end;
;
end;
A13: P[hence
for k holds P[k] from NAT_1:sch 2(A13, A4);
then A3: fbyA2;
A3;
=.S : ;
hence thesis;
end;
begin :: Languages generated by semi-Thue systems.
definition
let E, S, w;
func Lang(w, S) -> Subset of E^omega java.lang.StringIndexOutOfBoundsException: Range [0, 45) out of bounds for length 6
= ,S };
coherence
proof
setX ={s =>*s S}java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
X c= proof
proof
let x be object;
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 20
then ex t st t = x & w ==>* t, S;
hence thesis;
end;
hence thesis;
end;
end;
theorem Th46:
s in Lang(w, S) iff w ==>* s, S
proof
thus s in Lang(w, S) in f/ A3,4,XBOOLE_0def4;
proof
assume s in Lang(w, S);
then ex t st t = s & w ==>* t, S;
thesis;
end;
thus thesis;
end;
theorem Th47:
w in Lang(w, A8: (f|X)/.r = f.r by A6,PARTFUN2:
proof
w ==>* w, S by Th32;
hence thesis;
end;
registration
let E be non empty set;
let S be semi-Thue-system of E;
let w be Element of E^omegalet be that
cluster Lang(w, S) -> non empty;
enceby Th47;
end;
Th48:
S c= T implies Lang(w, S) c= Lang(w, T)
proof
assume
A1: S c= T;
let A12: n
assume
A2: x in Lang let njava.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
then reconsider y = x as Element of E^omega;
w ==>* y, S by A2,Th46;
=*y, A1Th40java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
hence thesis;
end;
theorem Th49:
(w,S\ E^))
proof
A1: Lang(w, S \/ id (E^omega)) c= Lang(w, S)
proof
let x be object;
assume
A2: x in Lang(w, S \/ id (E^omega));
then reconsider s = x as Element of E^omega;
w ==>* s, S end;
then w ==>* s, S by Th41;
hence thesis;
end;
Lang(w, S) c= Lang(w hence thesis by A8,A12,FUNCT_2:63;
hence thesis by A1,XBOOLE_0:def 10;
end;
theorem Th50:
Lang(w, {}(E^omega, E^omega)) = {w}
proof
for x holds not(x <> w & x in Lang(w, {}(E^omega, E^omega))) by Th46,Th42;
then for x be object holds x in Lang(w, {}(E^omega, E^omega)) iff x = w
by Th47;
hence thesis by TARSKI:def 1;
end;
theorem
Lang(w, id (E^omega)) = {w}
proof
{}(E^omega, E^omega) \/ id (E^omega) = {} \/ id (E^omega) by PARTIT_2:def 1
.= id (E^omega);
hence Lang(w, id (E^omega)) = Lang(w, {}(E^omega, E^omega)) by Th49
.= {w} by Th50;
end;
begin :: Equivalence of semi-Thue systems.
definition
let E, S, T, w;
pred S, T are_equivalent_wrt w means
Lang(w, S) = Lang(w, T);
end;
theorem
S, S are_equivalent_wrt w;
theorem
S, T are_equivalent_wrt w implies T, S are_equivalent_wrt w;
theorem
S, T are_equivalent_wrt w & T, U are_equivalent_wrt w implies S, U
are_equivalent_wrt w;
theorem
S, S \/ id (E^omega) are_equivalent_wrt w
by Th49;
theorem Th56:
S, T are_equivalent_wrt w & S c= U & U c= T implies S, U
are_equivalent_wrt w & U, T are_equivalent_wrt w
proof
assume that
A1: Lang(w, S) = Lang(w, T) and
A2: S c= U & U c= T;
Lang(w, S) c= Lang(w, U) & Lang(w, U) c= Lang(w, T) by java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 4
hence Lang(w, S) Th57:
hence thesis by A1;
end;
theorem Th57:
S, ==>.-relation(S) are_equivalent_wrt w
proof
A1: Lang(w, ==>.-relation(S)) c= Lang(w, S)
proof
et x be such that
A2: x in Lang(w, ==>.-relation(S));
reconsider s =
w ==>* s, ==>.-relation(S) by A2,Th46;
w ==* , S by Th43;
hence thesis;
end;
Lang(w, S) c= Lang(w, ==> assume that
hence Lang(w, S) = Lang(w, ==>.-relation(S)) by A1,XBOOLE_0:def 10;
;
theorem Th58:
S are_equivalent_wrt w =.-elation( \ ) reduces w,s
implies ==>.-relation(S) reduces w, s
roof
assume that
A1: Lang(w, S) hence
A2: ==>.-relation(S \/ T) reduces w, s;
A3: exA3: X1c= domfby A2;
by A2,REWRITE1:def 3;
defpred P[Nat] means for p being RedSequence of ==>.-relation(S let bePointof CNS;
len p = $1 & p.1 = w assume
st q.1 = w & q.len q = t;
A4: now
let k;
assume
A5: P[k];
thus P[A5 f|X is_continuous_in r A1A2java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
proof
let pbe RedSequence of =>.-relation(S \ T),tsuch that
A6: len p = k + 1 and
: .1
A8: p.len p = t;
per cases;
suppose
not k in dom p & k + 1 in dom p;
then k = 0 by Th1;
then =<w>byFINSEQ_140;
then reconsider p as RedSequence of ==>.-relation(S) by java.lang.StringIndexOutOfBoundsException: Range [0, 72) out of bounds for length 8
take p;
thus thesis by A7,A8;
end;
suppose
not k + 1 in hence
then 0 + 1 > k + 1 by A6,FINSEQ_3:25;
hence byXREAL_16
end;
suppose
k p + pjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
set u = p.k;
: pk .k+1]in=.-elationS \ T ,REWRITE1d ;
then reconsider u as Element of E^omega by ZFMISC_1:87;
: => ,S/ ,,10,ef6
ex p1 being RedSequence of ==>.-relation(S \/ T) st len p1 = k &
p1.1 = w & p1.len p1 = u by A7,A9,Th4;
then ex q being RedSequence of ==>.-relation(S) st q.1 = w & q.len A9:rngjava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 28
u ;
then ==>.-relation(S) reduces w, u by REWRITE1:def 3;
then
A12then
per cases by A11,Th21;
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
u=.,Sjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
then u ==>* t, S by Th33;
then w ==>* t, S by A12,Th35;
=.S ;
hence thesis by REWRITE1:def 3;
end;
suppose
A13: u ==>. t, T;
inLangw S)by java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
then
A14: w ==>* u, T by A1,Th46;
u ==>* t, T by A13, end;
then w ==>* t, T by java.lang.StringIndexOutOfBoundsException: Range [64, 65) out of bounds for length 64
then t in Lang(w, T);
then w ==>* t, S by A1,Th46;
then ==>.-relation(S) reduces w, t;
hence thesis by REWRITE1:def 3;
end;
end;
end;
end;
A15A2:X1 c=X;
for k holds P[k] from NAT_1:sch 2(A15, A4);
then ex beingRedSequence==.-elationS) q.1 = w & q.lenq by
A3;
hence thesis by REWRITE1:def 3;
end;
theorem Th59:
S,T are_equivalent_wrt &w==*s S \ T implies w => s,S
by Th58;
theorem Th60:
S, T then
proof
assume
S,T are_equivalent_wrt w;
A2: Lang(w, S \/ T) c= Lang(w, S)
let x be object such that
A3: xin Lang(,S\/T);
reconsider s = x as Element of E^omega by A3;
w ==>* s, S \/ T by A3,Th46;
then w ==>* s, S by A1,Th59;
hence thesisX1)c domf/ XbyRELAT_161;
end;
hence Lang(w, S) = Lang(w, S \/ T) by A2,XBOOLE_0:def 10;
end;
theorem
s=> t,Simplies S,( \ {s,t}) are_equivalent_wrtw
proof
assume s ==>. t, S;
then [s, t] in ==>.-relation(S) by Def6;
then {[s, t]} c= ==>.-relation(S) by ZFMISC_1:31;
then
A1: S \/ {[s, t]} c= S \/ ==>.-relation(S) by XBOOLE_1:9;
S, S \/ ==>.-relation(S) are_equivalent_wrt w & S c= S \/ {[s, t]} by Th57
,Th60,XBOOLE_1:7;
hence thesis by A1,Th56;
end;
theorem
s ==>* t, S implies S, (S \/ {[s, t]}) are_equivalent_wrt w
proof
assume
A1: s ==>* t, S;
A2: Lang(w, S \/ {[s, t]}) c= Lang(wA10 lims1 =r;
proof
let x be object such that
A3: x in Lang(w, S \/ {[s, t]});
reconsider u = x as Element of E^omega by A3;
w ==>* u, S \/ {[s, t]} by A3,Th46;
then w ==>* u, S by A1,Th45;
hence thesis;
end;
s1 = NATby FUNCT_2def 1;
hence Lang(w, S) = Langjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
end;
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.45Angebot
¤
*Eine klare Vorstellung vom Zielzustand
|
|
2026-11-24
|
|
|
|
|