In wikipedia's article about ghost fields is stated the following which requires a bit more clarification:
An example of the need of ghost fields is the photon, which is usually described by a four component vector potential $A_{\mu}$, even if light has only two allowed polarizations in the vacuum. To remove the unphysical degrees of freedom, it is necessary to enforce some restrictions; one way to do this reduction is to introduce some ghost field in the theory.
Question: Can this "toy example" be elaborated in more details, namely how to use a ghost field to eliminate unphysical degrees as indicated in quoted excerpt?
Indeed as also stated there the full power of applying ghost field techniques deploys in case one deals with non-Abelian fields, and so in case of four vector potential modeling the photons there is no necessity to introduce ghost fields as tool to kill redundant (=unphysical) degrees of freedom.
Indeed, usually (at least in all text book's I read on this topic) in this "simple case" of photon field it is handled more conventially by imposing additional equations (eg the Lorenz gauge ) to get rid of the redundant degrees.
Nevertheless I would like to see - for sake of didactical simplicity on this "toy example" of the photon field modeled by four potential (with only two physically non-redundant degrees of freedom= the two polarizations) - how instead alternatively the ghost field techniques could be applied here explicitly in order to remove the unphysical gauge degrees?
Could somebody elaborate how this approach is performed on this example? So far as I see in case of an Abelian theory the ghost construction (= adding new "ghost field term" to Lagrangian) gives nothing new since it is not interacting with original field and so can be more or less left out. But on the other hand above it is claimed that even for photon field (so Abelian) it could be used to eliminate unphysical degrees, so it provides "non useless" impact even in this Abelian case.
How to resolve these two seemingly contradicting each other statements?