let ap, bm, cp, dm be non pair set ; for cin being set st cin <> [<*dm,(GFA1AdderOutput ap,bm,cp)*>,and2b ] & not cin in InnerVertices (BitGFA1Str ap,bm,cp) holds
for s being State of (BitFTA1Circ ap,bm,cp,dm,cin)
for a1, a2, a3, a4, a5 being Element of BOOLEAN st a1 = s . ap & a2 = s . bm & a3 = s . cp & a4 = s . dm & a5 = s . cin holds
( (Following s,3) . [<*(GFA1AdderOutput ap,bm,cp),cin*>,xor2c ] = ('not' ((a1 'xor' ('not' a2)) 'xor' a3)) 'xor' ('not' a5) & (Following s,3) . ap = a1 & (Following s,3) . bm = a2 & (Following s,3) . cp = a3 & (Following s,3) . dm = a4 & (Following s,3) . cin = a5 )
let cin be set ; ( cin <> [<*dm,(GFA1AdderOutput ap,bm,cp)*>,and2b ] & not cin in InnerVertices (BitGFA1Str ap,bm,cp) implies for s being State of (BitFTA1Circ ap,bm,cp,dm,cin)
for a1, a2, a3, a4, a5 being Element of BOOLEAN st a1 = s . ap & a2 = s . bm & a3 = s . cp & a4 = s . dm & a5 = s . cin holds
( (Following s,3) . [<*(GFA1AdderOutput ap,bm,cp),cin*>,xor2c ] = ('not' ((a1 'xor' ('not' a2)) 'xor' a3)) 'xor' ('not' a5) & (Following s,3) . ap = a1 & (Following s,3) . bm = a2 & (Following s,3) . cp = a3 & (Following s,3) . dm = a4 & (Following s,3) . cin = a5 ) )
assume A1:
( cin <> [<*dm,(GFA1AdderOutput ap,bm,cp)*>,and2b ] & not cin in InnerVertices (BitGFA1Str ap,bm,cp) )
; for s being State of (BitFTA1Circ ap,bm,cp,dm,cin)
for a1, a2, a3, a4, a5 being Element of BOOLEAN st a1 = s . ap & a2 = s . bm & a3 = s . cp & a4 = s . dm & a5 = s . cin holds
( (Following s,3) . [<*(GFA1AdderOutput ap,bm,cp),cin*>,xor2c ] = ('not' ((a1 'xor' ('not' a2)) 'xor' a3)) 'xor' ('not' a5) & (Following s,3) . ap = a1 & (Following s,3) . bm = a2 & (Following s,3) . cp = a3 & (Following s,3) . dm = a4 & (Following s,3) . cin = a5 )
set S = BitFTA1Str ap,bm,cp,dm,cin;
A2:
( ap in InputVertices (BitFTA1Str ap,bm,cp,dm,cin) & bm in InputVertices (BitFTA1Str ap,bm,cp,dm,cin) )
by A1, Th16;
A3:
( cp in InputVertices (BitFTA1Str ap,bm,cp,dm,cin) & dm in InputVertices (BitFTA1Str ap,bm,cp,dm,cin) )
by A1, Th16;
let s be State of (BitFTA1Circ ap,bm,cp,dm,cin); for a1, a2, a3, a4, a5 being Element of BOOLEAN st a1 = s . ap & a2 = s . bm & a3 = s . cp & a4 = s . dm & a5 = s . cin holds
( (Following s,3) . [<*(GFA1AdderOutput ap,bm,cp),cin*>,xor2c ] = ('not' ((a1 'xor' ('not' a2)) 'xor' a3)) 'xor' ('not' a5) & (Following s,3) . ap = a1 & (Following s,3) . bm = a2 & (Following s,3) . cp = a3 & (Following s,3) . dm = a4 & (Following s,3) . cin = a5 )
let a1, a2, a3, a4, a5 be Element of BOOLEAN ; ( a1 = s . ap & a2 = s . bm & a3 = s . cp & a4 = s . dm & a5 = s . cin implies ( (Following s,3) . [<*(GFA1AdderOutput ap,bm,cp),cin*>,xor2c ] = ('not' ((a1 'xor' ('not' a2)) 'xor' a3)) 'xor' ('not' a5) & (Following s,3) . ap = a1 & (Following s,3) . bm = a2 & (Following s,3) . cp = a3 & (Following s,3) . dm = a4 & (Following s,3) . cin = a5 ) )
assume A4:
( a1 = s . ap & a2 = s . bm & a3 = s . cp & a4 = s . dm & a5 = s . cin )
; ( (Following s,3) . [<*(GFA1AdderOutput ap,bm,cp),cin*>,xor2c ] = ('not' ((a1 'xor' ('not' a2)) 'xor' a3)) 'xor' ('not' a5) & (Following s,3) . ap = a1 & (Following s,3) . bm = a2 & (Following s,3) . cp = a3 & (Following s,3) . dm = a4 & (Following s,3) . cin = a5 )
A5:
( (Following s,2) . cp = a3 & (Following s,2) . dm = a4 )
by A1, A4, Th18;
set A1 = GFA1AdderOutput ap,bm,cp;
set A1cin = [<*(GFA1AdderOutput ap,bm,cp),cin*>,xor2c ];
A6:
Following s,(2 + 1) = Following (Following s,2)
by FACIRC_1:12;
( (Following s,2) . (GFA1AdderOutput ap,bm,cp) = 'not' ((a1 'xor' ('not' a2)) 'xor' a3) & (Following s,2) . cin = a5 )
by A1, A4, Th18;
hence
(Following s,3) . [<*(GFA1AdderOutput ap,bm,cp),cin*>,xor2c ] = ('not' ((a1 'xor' ('not' a2)) 'xor' a3)) 'xor' ('not' a5)
by A6, Lm14; ( (Following s,3) . ap = a1 & (Following s,3) . bm = a2 & (Following s,3) . cp = a3 & (Following s,3) . dm = a4 & (Following s,3) . cin = a5 )
A7:
(Following s,2) . cin = a5
by A1, A4, Th18;
A8:
cin in InputVertices (BitFTA1Str ap,bm,cp,dm,cin)
by A1, Th16;
( (Following s,2) . ap = a1 & (Following s,2) . bm = a2 )
by A1, A4, Th18;
hence
( (Following s,3) . ap = a1 & (Following s,3) . bm = a2 & (Following s,3) . cp = a3 & (Following s,3) . dm = a4 & (Following s,3) . cin = a5 )
by A6, A2, A3, A8, A5, A7, CIRCUIT2:def 5; verum
set C2 = BitGFA1Circ (GFA1AdderOutput ap,bm,cp),cin,dm;
set S2 = BitGFA2Str (GFA1AdderOutput ap,bm,cp),cin,dm;
set C1 = BitGFA1Circ ap,bm,cp;
set S1 = BitGFA1Str ap,bm,cp;
set C = BitFTA1Circ ap,bm,cp,dm,cin;