How to evaluate a Boolean function at a point
I want to evaluate a Boolean function at a point as follows but it is giving error
V=BooleanPolynomialRing(6,['x%d'%(i) for i in range(6)] )
V.inject_variables()
Z_1 = list(V.gens())
f=x1
A=[]
for i in range(6):
A.append(ZZ.random_element(2))
print(f(A))