Humor explained via machine learning and evolutionary adaptation (from https://books.google.com/books/about/Inside_Jokes.html)
Basically feeling of mirth is a reward system for incentivizing new training data
😂