let am, bp, cm, dp be non pair set ; :: thesis: for cin being set st cin <> [<*dp,(GFA2AdderOutput am,bp,cm)*>,and2 ] & not cin in InnerVertices (BitGFA2Str am,bp,cm) holds
for s being State of (BitFTA2Circ am,bp,cm,dp,cin)
for a1, a2, a3, a4, a5 being Element of BOOLEAN st a1 = s . am & a2 = s . bp & a3 = s . cm & a4 = s . dp & a5 = s . cin holds
( (Following s,4) . (GFA1AdderOutput (GFA2AdderOutput am,bp,cm),cin,dp) = 'not' ((((('not' a1) 'xor' a2) 'xor' ('not' a3)) 'xor' a4) 'xor' ('not' a5)) & (Following s,4) . am = a1 & (Following s,4) . bp = a2 & (Following s,4) . cm = a3 & (Following s,4) . dp = a4 & (Following s,4) . cin = a5 )
let cin be set ; :: thesis: ( cin <> [<*dp,(GFA2AdderOutput am,bp,cm)*>,and2 ] & not cin in InnerVertices (BitGFA2Str am,bp,cm) implies for s being State of (BitFTA2Circ am,bp,cm,dp,cin)
for a1, a2, a3, a4, a5 being Element of BOOLEAN st a1 = s . am & a2 = s . bp & a3 = s . cm & a4 = s . dp & a5 = s . cin holds
( (Following s,4) . (GFA1AdderOutput (GFA2AdderOutput am,bp,cm),cin,dp) = 'not' ((((('not' a1) 'xor' a2) 'xor' ('not' a3)) 'xor' a4) 'xor' ('not' a5)) & (Following s,4) . am = a1 & (Following s,4) . bp = a2 & (Following s,4) . cm = a3 & (Following s,4) . dp = a4 & (Following s,4) . cin = a5 ) )
assume A1:
( cin <> [<*dp,(GFA2AdderOutput am,bp,cm)*>,and2 ] & not cin in InnerVertices (BitGFA2Str am,bp,cm) )
; :: thesis: for s being State of (BitFTA2Circ am,bp,cm,dp,cin)
for a1, a2, a3, a4, a5 being Element of BOOLEAN st a1 = s . am & a2 = s . bp & a3 = s . cm & a4 = s . dp & a5 = s . cin holds
( (Following s,4) . (GFA1AdderOutput (GFA2AdderOutput am,bp,cm),cin,dp) = 'not' ((((('not' a1) 'xor' a2) 'xor' ('not' a3)) 'xor' a4) 'xor' ('not' a5)) & (Following s,4) . am = a1 & (Following s,4) . bp = a2 & (Following s,4) . cm = a3 & (Following s,4) . dp = a4 & (Following s,4) . cin = a5 )
let s be State of (BitFTA2Circ am,bp,cm,dp,cin); :: thesis: for a1, a2, a3, a4, a5 being Element of BOOLEAN st a1 = s . am & a2 = s . bp & a3 = s . cm & a4 = s . dp & a5 = s . cin holds
( (Following s,4) . (GFA1AdderOutput (GFA2AdderOutput am,bp,cm),cin,dp) = 'not' ((((('not' a1) 'xor' a2) 'xor' ('not' a3)) 'xor' a4) 'xor' ('not' a5)) & (Following s,4) . am = a1 & (Following s,4) . bp = a2 & (Following s,4) . cm = a3 & (Following s,4) . dp = a4 & (Following s,4) . cin = a5 )
set S = BitFTA2Str am,bp,cm,dp,cin;
set C = BitFTA2Circ am,bp,cm,dp,cin;
set S1 = BitGFA2Str am,bp,cm;
set C1 = BitGFA2Circ am,bp,cm;
set A1 = GFA2AdderOutput am,bp,cm;
set S2 = BitGFA1Str (GFA2AdderOutput am,bp,cm),cin,dp;
set C2 = BitGFA1Circ (GFA2AdderOutput am,bp,cm),cin,dp;
set A2 = GFA1AdderOutput (GFA2AdderOutput am,bp,cm),cin,dp;
set A1cin = [<*(GFA2AdderOutput am,bp,cm),cin*>,xor2c ];
let a1, a2, a3, a4, a5 be Element of BOOLEAN ; :: thesis: ( a1 = s . am & a2 = s . bp & a3 = s . cm & a4 = s . dp & a5 = s . cin implies ( (Following s,4) . (GFA1AdderOutput (GFA2AdderOutput am,bp,cm),cin,dp) = 'not' ((((('not' a1) 'xor' a2) 'xor' ('not' a3)) 'xor' a4) 'xor' ('not' a5)) & (Following s,4) . am = a1 & (Following s,4) . bp = a2 & (Following s,4) . cm = a3 & (Following s,4) . dp = a4 & (Following s,4) . cin = a5 ) )
assume A2:
( a1 = s . am & a2 = s . bp & a3 = s . cm & a4 = s . dp & a5 = s . cin )
; :: thesis: ( (Following s,4) . (GFA1AdderOutput (GFA2AdderOutput am,bp,cm),cin,dp) = 'not' ((((('not' a1) 'xor' a2) 'xor' ('not' a3)) 'xor' a4) 'xor' ('not' a5)) & (Following s,4) . am = a1 & (Following s,4) . bp = a2 & (Following s,4) . cm = a3 & (Following s,4) . dp = a4 & (Following s,4) . cin = a5 )
A3:
Following s,(3 + 1) = Following (Following s,3)
by FACIRC_1:12;
( (Following s,3) . [<*(GFA2AdderOutput am,bp,cm),cin*>,xor2c ] = ((('not' a1) 'xor' a2) 'xor' ('not' a3)) 'xor' ('not' a5) & (Following s,3) . dp = a4 )
by A1, A2, LmFTA2S13q;
hence (Following s,4) . (GFA1AdderOutput (GFA2AdderOutput am,bp,cm),cin,dp) =
(((('not' a1) 'xor' a2) 'xor' ('not' a3)) 'xor' ('not' a5)) 'xor' ('not' a4)
by A3, LmFTA2S14q
.=
'not' ((((('not' a1) 'xor' a2) 'xor' ('not' a3)) 'xor' ('not' a5)) 'xor' a4)
by XBOOLEAN:74
.=
'not' ((((('not' a1) 'xor' a2) 'xor' ('not' a3)) 'xor' a4) 'xor' ('not' a5))
by XBOOLEAN:73
;
:: thesis: ( (Following s,4) . am = a1 & (Following s,4) . bp = a2 & (Following s,4) . cm = a3 & (Following s,4) . dp = a4 & (Following s,4) . cin = a5 )
A4:
( am in InputVertices (BitFTA2Str am,bp,cm,dp,cin) & bp in InputVertices (BitFTA2Str am,bp,cm,dp,cin) & cm in InputVertices (BitFTA2Str am,bp,cm,dp,cin) & dp in InputVertices (BitFTA2Str am,bp,cm,dp,cin) & cin in InputVertices (BitFTA2Str am,bp,cm,dp,cin) )
by A1, ThFTA2S8;
( (Following s,3) . am = a1 & (Following s,3) . bp = a2 & (Following s,3) . cm = a3 & (Following s,3) . dp = a4 & (Following s,3) . cin = a5 )
by A1, A2, LmFTA2S13q;
hence
( (Following s,4) . am = a1 & (Following s,4) . bp = a2 & (Following s,4) . cm = a3 & (Following s,4) . dp = a4 & (Following s,4) . cin = a5 )
by A3, A4, CIRCUIT2:def 5; :: thesis: verum