let s be State of (F8() +* (1GateCircuit <*F1(),F2(),F3(),F4()*>,F9())); :: thesis: for s' being State of F8() st s' = s | the carrier of F7() holds
for a1, a2, a3, a4 being Element of F5() st ( F1() in InnerVertices F7() implies a1 = (Result s') . F1() ) & ( not F1() in InnerVertices F7() implies a1 = s . F1() ) & ( F2() in InnerVertices F7() implies a2 = (Result s') . F2() ) & ( not F2() in InnerVertices F7() implies a2 = s . F2() ) & ( F3() in InnerVertices F7() implies a3 = (Result s') . F3() ) & ( not F3() in InnerVertices F7() implies a3 = s . F3() ) & ( F4() in InnerVertices F7() implies a4 = (Result s') . F4() ) & ( not F4() in InnerVertices F7() implies a4 = s . F4() ) holds
(Result s) . (Output (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())) = F6(a1,a2,a3,a4)
let s' be State of F8(); :: thesis: ( s' = s | the carrier of F7() implies for a1, a2, a3, a4 being Element of F5() st ( F1() in InnerVertices F7() implies a1 = (Result s') . F1() ) & ( not F1() in InnerVertices F7() implies a1 = s . F1() ) & ( F2() in InnerVertices F7() implies a2 = (Result s') . F2() ) & ( not F2() in InnerVertices F7() implies a2 = s . F2() ) & ( F3() in InnerVertices F7() implies a3 = (Result s') . F3() ) & ( not F3() in InnerVertices F7() implies a3 = s . F3() ) & ( F4() in InnerVertices F7() implies a4 = (Result s') . F4() ) & ( not F4() in InnerVertices F7() implies a4 = s . F4() ) holds
(Result s) . (Output (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())) = F6(a1,a2,a3,a4) )
assume A3:
s' = s | the carrier of F7()
; :: thesis: for a1, a2, a3, a4 being Element of F5() st ( F1() in InnerVertices F7() implies a1 = (Result s') . F1() ) & ( not F1() in InnerVertices F7() implies a1 = s . F1() ) & ( F2() in InnerVertices F7() implies a2 = (Result s') . F2() ) & ( not F2() in InnerVertices F7() implies a2 = s . F2() ) & ( F3() in InnerVertices F7() implies a3 = (Result s') . F3() ) & ( not F3() in InnerVertices F7() implies a3 = s . F3() ) & ( F4() in InnerVertices F7() implies a4 = (Result s') . F4() ) & ( not F4() in InnerVertices F7() implies a4 = s . F4() ) holds
(Result s) . (Output (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())) = F6(a1,a2,a3,a4)
let a1, a2, a3, a4 be Element of F5(); :: thesis: ( ( F1() in InnerVertices F7() implies a1 = (Result s') . F1() ) & ( not F1() in InnerVertices F7() implies a1 = s . F1() ) & ( F2() in InnerVertices F7() implies a2 = (Result s') . F2() ) & ( not F2() in InnerVertices F7() implies a2 = s . F2() ) & ( F3() in InnerVertices F7() implies a3 = (Result s') . F3() ) & ( not F3() in InnerVertices F7() implies a3 = s . F3() ) & ( F4() in InnerVertices F7() implies a4 = (Result s') . F4() ) & ( not F4() in InnerVertices F7() implies a4 = s . F4() ) implies (Result s) . (Output (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())) = F6(a1,a2,a3,a4) )
assume A4:
( ( F1() in InnerVertices F7() implies a1 = (Result s') . F1() ) & ( not F1() in InnerVertices F7() implies a1 = s . F1() ) & ( F2() in InnerVertices F7() implies a2 = (Result s') . F2() ) & ( not F2() in InnerVertices F7() implies a2 = s . F2() ) & ( F3() in InnerVertices F7() implies a3 = (Result s') . F3() ) & ( not F3() in InnerVertices F7() implies a3 = s . F3() ) & ( F4() in InnerVertices F7() implies a4 = (Result s') . F4() ) & ( not F4() in InnerVertices F7() implies a4 = s . F4() ) )
; :: thesis: (Result s) . (Output (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())) = F6(a1,a2,a3,a4)
set S = 1GateCircStr <*F1(),F2(),F3(),F4()*>,F9();
rng <*F1(),F2(),F3(),F4()*> = {F1(),F2(),F3(),F4()}
by Th14;
then A5:
( the carrier of (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9()) = (rng <*F1(),F2(),F3(),F4()*>) \/ {[<*F1(),F2(),F3(),F4()*>,F9()]} & InputVertices (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9()) = rng <*F1(),F2(),F3(),F4()*> & F3() in rng <*F1(),F2(),F3(),F4()*> & F2() in rng <*F1(),F2(),F3(),F4()*> & F1() in rng <*F1(),F2(),F3(),F4()*> & F4() in rng <*F1(),F2(),F3(),F4()*> )
by CIRCCOMB:49, CIRCCOMB:def 6, ENUMSET1:def 2;
then
( F3() in the carrier of (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9()) & F2() in the carrier of (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9()) & F1() in the carrier of (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9()) & F4() in the carrier of (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9()) & the carrier of (F7() +* (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())) = the carrier of F7() \/ the carrier of (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9()) )
by CIRCCOMB:def 2;
then A6:
( F1() in the carrier of (F7() +* (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())) & F2() in the carrier of (F7() +* (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())) & F3() in the carrier of (F7() +* (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())) & F4() in the carrier of (F7() +* (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())) )
by XBOOLE_0:def 3;
InnerVertices (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9()) = {(Output (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9()))}
by Th17;
then A7:
InputVertices F7() misses InnerVertices (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())
by A2, ZFMISC_1:56;
F8() tolerates 1GateCircuit <*F1(),F2(),F3(),F4()*>,F9()
by Th30;
then
the Sorts of F8() tolerates the Sorts of (1GateCircuit <*F1(),F2(),F3(),F4()*>,F9())
by CIRCCOMB:def 3;
then reconsider s1 = (Following s,(stabilization-time s')) | the carrier of (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9()) as State of (1GateCircuit <*F1(),F2(),F3(),F4()*>,F9()) by CIRCCOMB:33;
A8:
( s is stabilizing & s' is stabilizing & s1 is stabilizing )
by Def2;
F7() tolerates 1GateCircStr <*F1(),F2(),F3(),F4()*>,F9()
by CIRCCOMB:55;
then A9:
InputVertices (F7() +* (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())) = (InputVertices F7()) \/ ((InputVertices (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())) \ (InnerVertices F7()))
by A7, FACIRC_1:4;
( F1() in InnerVertices F7() or F1() in (InputVertices (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())) \ (InnerVertices F7()) )
by A5, XBOOLE_0:def 5;
then A10:
( F1() in InnerVertices F7() or F1() in InputVertices (F7() +* (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())) )
by A9, XBOOLE_0:def 3;
( F2() in InnerVertices F7() or F2() in (InputVertices (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())) \ (InnerVertices F7()) )
by A5, XBOOLE_0:def 5;
then A11:
( F2() in InnerVertices F7() or F2() in InputVertices (F7() +* (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())) )
by A9, XBOOLE_0:def 3;
( F3() in InnerVertices F7() or F3() in (InputVertices (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())) \ (InnerVertices F7()) )
by A5, XBOOLE_0:def 5;
then A12:
( F3() in InnerVertices F7() or F3() in InputVertices (F7() +* (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())) )
by A9, XBOOLE_0:def 3;
( F4() in InnerVertices F7() or F4() in (InputVertices (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())) \ (InnerVertices F7()) )
by A5, XBOOLE_0:def 5;
then A13:
( F4() in InnerVertices F7() or F4() in InputVertices (F7() +* (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())) )
by A9, XBOOLE_0:def 3;
(Following s,(stabilization-time s')) | the carrier of F7() =
Following s',(stabilization-time s')
by A3, A7, Th30, CIRCCMB2:14
.=
Result s'
by A8, Th2
;
then A14:
( a1 = (Following s,(stabilization-time s')) . F1() & a2 = (Following s,(stabilization-time s')) . F2() & a3 = (Following s,(stabilization-time s')) . F3() & a4 = (Following s,(stabilization-time s')) . F4() )
by A4, A10, A11, A12, A13, Th1, FUNCT_1:72;
dom (Following s,(stabilization-time s')) = the carrier of (F7() +* (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9()))
by CIRCUIT1:4;
then A15:
(Following s,(stabilization-time s')) * <*F1(),F2(),F3(),F4()*> = <*a1,a2,a3,a4*>
by A6, A14, Th37;
A16:
[<*F1(),F2(),F3(),F4()*>,F9()] = Output (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())
by Th16;
the carrier' of (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9()) = {[<*F1(),F2(),F3(),F4()*>,F9()]}
by CIRCCOMB:def 6;
then
( [<*F1(),F2(),F3(),F4()*>,F9()] in {[<*F1(),F2(),F3(),F4()*>,F9()]} & the carrier' of (F7() +* (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())) = the carrier' of F7() \/ {[<*F1(),F2(),F3(),F4()*>,F9()]} )
by CIRCCOMB:def 2, TARSKI:def 1;
then reconsider g = [<*F1(),F2(),F3(),F4()*>,F9()] as Gate of (F7() +* (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())) by XBOOLE_0:def 3;
A17: the_result_sort_of g =
the ResultSort of (F7() +* (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())) . g
by MSUALG_1:def 7
.=
g
by CIRCCOMB:52
;
g = [(the Arity of (F7() +* (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())) . g),(g `2 )]
by CIRCCOMB:def 8;
then A18: <*F1(),F2(),F3(),F4()*> =
the Arity of (F7() +* (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())) . g
by ZFMISC_1:33
.=
the_arity_of g
by MSUALG_1:def 6
;
A19:
g `2 = F9()
by MCART_1:7;
stabilization-time s <= 1 + (stabilization-time s')
by A2, A3, Th52;
hence (Result s) . (Output (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9())) =
(Following s,(1 + (stabilization-time s'))) . (Output (1GateCircStr <*F1(),F2(),F3(),F4()*>,F9()))
by A8, Th5
.=
(Following (Following s,(stabilization-time s'))) . g
by A16, FACIRC_1:12
.=
F9() . ((Following s,(stabilization-time s')) * <*F1(),F2(),F3(),F4()*>)
by A17, A18, A19, FACIRC_1:34
.=
F6(a1,a2,a3,a4)
by A1, A15
;
:: thesis: verum