I started a PhD nearly four years ago. At that time, my supervisor provided me a project, but after more than one year we had to change it: the instrumention was to old and he didn't want to spend monay on it.
We did many other attempts to figure out something else to do. At the end of the second year I did some reasonable measurements that could provide some interesting information, from that time I realized what could be my PhD project!
Therefore, after spending 2 years on useless things, in four mounts my supervisor wrote and published a paper and I am the first author! Today I am close to the viva, and I just realized that the paper he wrote is totally wrong!
I don't want to waste my career because of a bad PhD management. The question is: can I write a PhD thesis based on my personal considerations about that measurements and completely ignoring arguments writen on a published paper?