
Let GG be a pseudorandom generator, and F(s)=G(s)||G(s¯)F(s)=G(s)||G(s¯) (where s¯s¯ denotes the bitwise complement of ss), is FF necessarily a PRG?
My intuition says that it is a PRG, as clearly G(s)G(s) and G(s¯)G(s¯) are PRGs on their own, and concatenating them shouldn't affect the randomness, but rather it will simply increase the expansion factor (length of output). However, I feel like there exists a counterexample where G(s)G(s) and G(s¯)G(s¯)are secure on their own but concatenating them will lose some randomness, i.e. make them predictable (because F(s)F(s) and F(s¯)F(s¯) should look pretty similar). I've thought about some examples where G(s)=H(s)⊕H(s¯)G(s)=H(s)⊕H(s¯), where H(s)H(s) is a PRG (and G(s)G(s) would also still be a PRG here), but I'm not sure if this leads to F(s)F(s) not being a PRG.

Let GG be a pseudorandom generator, and F(s)=G(s)||G(s¯)F(s)=G(s)||G(s¯) (where s¯s¯ denotes the bitwise complement of ss), is FF necessarily a PRG?
My intuition says that it is a PRG, as clearly G(s)G(s) and G(s¯)G(s¯) are PRGs on their own, and concatenating them shouldn't affect the randomness, but rather it will simply increase the expansion factor (length of output). However, I feel like there exists a counterexample where G(s)G(s) and G(s¯)G(s¯)are secure on their own but concatenating them will lose some randomness, i.e. make them predictable (because F(s)F(s) and F(s¯)F(s¯) should look pretty similar). I've thought about some examples where G(s)=H(s)⊕H(s¯)G(s)=H(s)⊕H(s¯), where H(s)H(s) is a PRG (and G(s)G(s) would also still be a PRG here), but I'm not sure if this leads to F(s)F(s) not being a PRG.
Problem 2 (30 points). Given a true PRG G, show whether or not the following functions are necess...
Given a true PRG G, show whether or not the following
functions
are necessarily PRGs. If true, prove it. If not give a
counterexample. Note that jj denotes
concatenation
G'(s) : = G (s) II G (s 1
IsI )
Problem 2 (30 points). Given a true PRG G, show whether or not the following functions are necessarily PRGs. If true, prove it. If not give a counterexample. Note that l| denotes concatenation.
Problem 2 (30 points). Given a true...
Problem 1: Determine whether the statement is true or false. If the statement is true, then prove it. Otherwise, provide a counterexample. (a) If a continuous function f:R +R is bounded, then f'(2) exists for all x. (b) Suppose f.g are two functions on an interval (a, b). If both f + g and f - g are differentiable on (a, b), then both f and g are differentiable on (a,b). Problem 2: Define functions f,g: RR by: x sin(-),...
3, (30 points) Given a directed graph G - N. E), each edge eEhas weight We, 3, (30 points) Given a directed graph G (V, E), each edgee which can be positive or negative. The zero weight cycle problem is that whether exists a simple cycle (each vertex passes at most once) to make the sum of the weights of each edge in G is exactly equal to 0. Prove that the problem is NP complete.
3, (30 points) Given...
1. Let f and g be functions with the same domain and codomain (let A be the domain and B be the codomain). Consider the following ordered triple h = (A, B, f LaTeX: \cap ∩ g) (Note: The f and g in the triple refer to the "rules" associated with the functions f and g). Prove that h is a function. Would the same thing be true if, instead of intersection, we had a union? If your answer is...
2. (10 points) Given the following functions: f()= r* - 50x3 +1, g(x) = 24 Show that f(x) = N(g(2) using the definition of 10. Do not forget to provide the witnesses.
3. In this problem we consider only functions defined on the real numbers R A function f is close to a function g if r e Rs.t. Vy E R, A function f visits a function g when Vr E R, 3y E R s.t. For a given function f and n E N, let us denote by fn the following function: Below are three claims. Which ones are true and which ones are false? If a claim is true,...
2. Sketch the graph of each of the following functions, and determine whether the given function is one-to-one. Show your work! (a) f(x) = -|x +31 – 2 (b) g(x) X + 3 X + 2
how do u do 6?
F-'(C-D)= F-'(C)-F-'(D). 4. (10 points) In following questions a function f is defined on a set of real numbers. Determine whether or not f is one-to-one and justify your answers. (a) f(x) = **!, for all real numbers x #0 (6) f(x) = x, for all real numbers x (c) f(x) = 3x=!, for all real numbers x 70 (d) f(x) = **, for all real numbers x 1 (e) f(x) = for all real...
PROBLEM 3. points 30 Use MATL.AB You are given the following cquations of r, y, z as functions of the parametcr c 7x +3y-52 13 1. points 5 Use MATLAB's built-in function linsolve under the symbolic mode syms to solve the above system 3. Your solutions will be functions of c. using a for loop programming structure. Take steps of 0.5. plot, for 10 cs 10. Comment on the results. 2. points 20 Solve numerically the system 3 for different...
2. (12 points) Determine whether the following statements are true or false. Explain why, or provide a counterexample (a) For conservative vector fields, the divergence is always zero. (b) The circulation of a vector field along a closed curve is different depending on the orientation of the curve. (c) If the curl of a vector field at the origin is 2,0,1), then the average circulation around the y axis at the origin is counterclockwise.