Conversation

is there a word for the feeling when you've been inventing a solution to a problem from first principles and you run into a paper that already solved it and they did it pretty much exactly the way you expected but with citations?
1