set f1 = and2 ;
set f2 = and2 ;
set f3 = and2 ;
let x, y, z be set ; :: thesis: ( 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] ) ; :: thesis: 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)); :: thesis: 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 :: thesis: for a being object st a in the carrier of (GFA0CarryStr (x,y,z)) holds
(Following (s,2)) . a = (Following (Following (s,2))) . a
let a be object ; :: thesis: ( 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)) ; :: thesis: (Following (s,2)) . a = (Following (Following (s,2))) . a
then 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 :: thesis: verum
proof 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; :: according to CIRCUIT2:def 6 :: thesis: verum