We analyze the equivalence between f being computable and Lf being recursive (decidable):
If f is computable ⟹Lf is recursive:
Given an input string w, a Turing machine first verifies if w is of the form x#y where x∈A∗ and y∈B∗. If not, it rejects.
Since f is a total computable function, the machine can compute f(x) on a separate track/tape, which is guaranteed to halt.
It then compares $f(x)$ with $y$. If they are identical, it accepts; otherwise, it rejects.
Since this procedure halts on all inputs, Lf is decidable (recursive).
If Lf is recursive ⟹f is computable:
Given an input x∈A∗, we can compute f(x) by enumerating all strings y∈B∗ in standard canonical/lexicographical order: y1,y2,y3,….
For each candidate yi, we run the decider for Lf on x#yi.
Because f is a total function, there exists exactly one string y=f(x), and the decider will accept in finite time for that y.
The machine then outputs this y and halts. Thus, f is computable.
Hence, f is computable if and only if Lf is recursive, which corresponds to option (A).