set f1 = and2 ;
set f2 = and2 ;
set f3 = and2 ;
let x, y, z be set ; ( x <> [<*y,z*>,and2] & y <> [<*z,x*>,and2] & z <> [<*x,y*>,and2] implies for s being State of (GFA0CarryCirc (x,y,z)) holds Following (s,2) is stable )
assume A1:
( x <> [<*y,z*>,and2] & y <> [<*z,x*>,and2] & z <> [<*x,y*>,and2] )
; for s being State of (GFA0CarryCirc (x,y,z)) holds Following (s,2) is stable
set S = GFA0CarryStr (x,y,z);
reconsider xx = x, yy = y, zz = z as Vertex of (GFA0CarryStr (x,y,z)) by Th16;
let s be State of (GFA0CarryCirc (x,y,z)); Following (s,2) is stable
set a1 = s . xx;
set a2 = s . yy;
set a3 = s . zz;
set ffs = Following (s,2);
set fffs = Following (Following (s,2));
set xy = [<*x,y*>,and2];
set yz = [<*y,z*>,and2];
set zx = [<*z,x*>,and2];
A2:
Following (s,2) = Following (Following s)
by FACIRC_1:15;
A3:
z in InputVertices (GFA0CarryStr (x,y,z))
by A1, Th18;
then
(Following s) . z = s . zz
by CIRCUIT2:def 5;
then A4:
(Following (s,2)) . z = s . zz
by A2, A3, CIRCUIT2:def 5;
A5:
y in InputVertices (GFA0CarryStr (x,y,z))
by A1, Th18;
then
(Following s) . y = s . yy
by CIRCUIT2:def 5;
then A6:
(Following (s,2)) . y = s . yy
by A2, A5, CIRCUIT2:def 5;
A7:
x in InputVertices (GFA0CarryStr (x,y,z))
by A1, Th18;
then
(Following s) . x = s . xx
by CIRCUIT2:def 5;
then A8:
(Following (s,2)) . x = s . xx
by A2, A7, CIRCUIT2:def 5;
s . zz = s . z
;
then A9:
(Following (s,2)) . [<*x,y*>,and2] = (s . xx) '&' (s . yy)
by A1, Th22;
s . yy = s . y
;
then A10:
(Following (s,2)) . [<*z,x*>,and2] = (s . xx) '&' (s . zz)
by A1, Th22;
s . xx = s . x
;
then A11:
(Following (s,2)) . [<*y,z*>,and2] = (s . yy) '&' (s . zz)
by A1, Th22;
A12:
(Following (s,2)) . (GFA0CarryOutput (x,y,z)) = (((s . xx) '&' (s . yy)) 'or' ((s . yy) '&' (s . zz))) 'or' ((s . zz) '&' (s . xx))
by A1, Th22;
A13:
now for a being object st a in the carrier of (GFA0CarryStr (x,y,z)) holds
(Following (s,2)) . a = (Following (Following (s,2))) . alet a be
object ;
( a in the carrier of (GFA0CarryStr (x,y,z)) implies (Following (s,2)) . a = (Following (Following (s,2))) . a )assume A14:
a in the
carrier of
(GFA0CarryStr (x,y,z))
;
(Following (s,2)) . a = (Following (Following (s,2))) . athen reconsider v =
a as
Vertex of
(GFA0CarryStr (x,y,z)) ;
A15:
v in (InputVertices (GFA0CarryStr (x,y,z))) \/ (InnerVertices (GFA0CarryStr (x,y,z)))
by A14, XBOOLE_1:45;
thus
(Following (s,2)) . a = (Following (Following (s,2))) . a
verumproof
per cases
( v in InputVertices (GFA0CarryStr (x,y,z)) or v in InnerVertices (GFA0CarryStr (x,y,z)) )
by A15, XBOOLE_0:def 3;
suppose
v in InnerVertices (GFA0CarryStr (x,y,z))
;
(Following (s,2)) . a = (Following (Following (s,2))) . athen
v in {[<*x,y*>,and2],[<*y,z*>,and2],[<*z,x*>,and2]} \/ {(GFA0CarryOutput (x,y,z))}
by Th11;
then
(
v in {[<*x,y*>,and2],[<*y,z*>,and2],[<*z,x*>,and2]} or
v in {(GFA0CarryOutput (x,y,z))} )
by XBOOLE_0:def 3;
then
(
v = [<*x,y*>,and2] or
v = [<*y,z*>,and2] or
v = [<*z,x*>,and2] or
v = GFA0CarryOutput (
x,
y,
z) )
by ENUMSET1:def 1, TARSKI:def 1;
hence
(Following (s,2)) . a = (Following (Following (s,2))) . a
by A12, A9, A11, A10, A8, A6, A4, Th20, Th21;
verum end; end;
end; end;
( dom (Following (Following (s,2))) = the carrier of (GFA0CarryStr (x,y,z)) & dom (Following (s,2)) = the carrier of (GFA0CarryStr (x,y,z)) )
by CIRCUIT1:3;
hence
Following (s,2) = Following (Following (s,2))
by A13, FUNCT_1:2; CIRCUIT2:def 6 verum