let s be State of (1GateCircuit <*F1(),F2(),F3()*>,F6()); :: thesis: for a1, a2, a3 being Element of F4() st a1 = s . F1() & a2 = s . F2() & a3 = s . F3() holds
(Result s) . (Output (1GateCircStr <*F1(),F2(),F3()*>,F6())) = F5(a1,a2,a3)
let a1, a2, a3 be Element of F4(); :: thesis: ( a1 = s . F1() & a2 = s . F2() & a3 = s . F3() implies (Result s) . (Output (1GateCircStr <*F1(),F2(),F3()*>,F6())) = F5(a1,a2,a3) )
assume A2:
( a1 = s . F1() & a2 = s . F2() & a3 = s . F3() )
; :: thesis: (Result s) . (Output (1GateCircStr <*F1(),F2(),F3()*>,F6())) = F5(a1,a2,a3)
set S = 1GateCircStr <*F1(),F2(),F3()*>,F6();
dom s =
the carrier of (1GateCircStr <*F1(),F2(),F3()*>,F6())
by CIRCUIT1:4
.=
(rng <*F1(),F2(),F3()*>) \/ {[<*F1(),F2(),F3()*>,F6()]}
by CIRCCOMB:def 6
.=
{F1(),F2(),F3()} \/ {[<*F1(),F2(),F3()*>,F6()]}
by FINSEQ_2:148
.=
{F1(),F2(),F3(),[<*F1(),F2(),F3()*>,F6()]}
by ENUMSET1:46
;
then
( F1() in dom s & F2() in dom s & F3() in dom s )
by ENUMSET1:def 2;
then A3:
s * <*F1(),F2(),F3()*> = <*a1,a2,a3*>
by A2, FINSEQ_2:146;
thus (Result s) . (Output (1GateCircStr <*F1(),F2(),F3()*>,F6())) =
(Following s) . (Output (1GateCircStr <*F1(),F2(),F3()*>,F6()))
by Th21
.=
(Following s) . [<*F1(),F2(),F3()*>,F6()]
by Th16
.=
F6() . (s * <*F1(),F2(),F3()*>)
by CIRCCOMB:64
.=
F5(a1,a2,a3)
by A1, A3
; :: thesis: verum