deffunc H1( Element of 5 -tuples_on F6()) -> Element of F6() = F7(($1 . 1),($1 . 2),($1 . 3),($1 . 4),($1 . 5));
consider g being Function of (5 -tuples_on F6()),F6() such that
A1:
for a being Element of 5 -tuples_on F6() holds g . a = H1(a)
from FUNCT_2:sch 4();
reconsider S = 1GateCircStr <*F1(),F2(),F3(),F4(),F5()*>,g as one-gate ManySortedSign ;
take
S
; :: thesis: ex A being one-gate Circuit of S st
( InputVertices S = {F1(),F2(),F3(),F4(),F5()} & ( for s being State of A holds (Result s) . (Output S) = F7((s . F1()),(s . F2()),(s . F3()),(s . F4()),(s . F5())) ) )
reconsider A = 1GateCircuit <*F1(),F2(),F3(),F4(),F5()*>,g as one-gate Circuit of S ;
take
A
; :: thesis: ( InputVertices S = {F1(),F2(),F3(),F4(),F5()} & ( for s being State of A holds (Result s) . (Output S) = F7((s . F1()),(s . F2()),(s . F3()),(s . F4()),(s . F5())) ) )
rng <*F1(),F2(),F3(),F4(),F5()*> = {F1(),F2(),F3(),F4(),F5()}
by Th15;
hence
InputVertices S = {F1(),F2(),F3(),F4(),F5()}
by CIRCCOMB:49; :: thesis: for s being State of A holds (Result s) . (Output S) = F7((s . F1()),(s . F2()),(s . F3()),(s . F4()),(s . F5()))
let s be State of A; :: thesis: (Result s) . (Output S) = F7((s . F1()),(s . F2()),(s . F3()),(s . F4()),(s . F5()))
reconsider sx = s * <*F1(),F2(),F3(),F4(),F5()*> as Element of 5 -tuples_on F6() by Th13;
dom <*F1(),F2(),F3(),F4(),F5()*> = Seg 5
by FINSEQ_4:94;
then A2:
( 1 in dom <*F1(),F2(),F3(),F4(),F5()*> & 2 in dom <*F1(),F2(),F3(),F4(),F5()*> & 3 in dom <*F1(),F2(),F3(),F4(),F5()*> & 4 in dom <*F1(),F2(),F3(),F4(),F5()*> & 5 in dom <*F1(),F2(),F3(),F4(),F5()*> )
by FINSEQ_1:3;
Result s = Following s
by Th21;
hence (Result s) . (Output S) =
(Following s) . [<*F1(),F2(),F3(),F4(),F5()*>,g]
by Th16
.=
g . (s * <*F1(),F2(),F3(),F4(),F5()*>)
by CIRCCOMB:64
.=
F7((sx . 1),(sx . 2),(sx . 3),(sx . 4),(sx . 5))
by A1
.=
F7((s . (<*F1(),F2(),F3(),F4(),F5()*> . 1)),(sx . 2),(sx . 3),(sx . 4),(sx . 5))
by A2, FUNCT_1:23
.=
F7((s . F1()),(sx . 2),(sx . 3),(sx . 4),(sx . 5))
by FINSEQ_4:93
.=
F7((s . F1()),(s . (<*F1(),F2(),F3(),F4(),F5()*> . 2)),(sx . 3),(sx . 4),(sx . 5))
by A2, FUNCT_1:23
.=
F7((s . F1()),(s . F2()),(sx . 3),(sx . 4),(sx . 5))
by FINSEQ_4:93
.=
F7((s . F1()),(s . F2()),(s . (<*F1(),F2(),F3(),F4(),F5()*> . 3)),(sx . 4),(sx . 5))
by A2, FUNCT_1:23
.=
F7((s . F1()),(s . F2()),(s . F3()),(sx . 4),(sx . 5))
by FINSEQ_4:93
.=
F7((s . F1()),(s . F2()),(s . F3()),(s . (<*F1(),F2(),F3(),F4(),F5()*> . 4)),(sx . 5))
by A2, FUNCT_1:23
.=
F7((s . F1()),(s . F2()),(s . F3()),(s . F4()),(sx . 5))
by FINSEQ_4:93
.=
F7((s . F1()),(s . F2()),(s . F3()),(s . F4()),(s . (<*F1(),F2(),F3(),F4(),F5()*> . 5)))
by A2, FUNCT_1:23
.=
F7((s . F1()),(s . F2()),(s . F3()),(s . F4()),(s . F5()))
by FINSEQ_4:93
;
:: thesis: verum