The Science of Sleep (2006)
The Science of Sleep (French: , literally The Science of Dreams) is a 2006 surrealistic science fantasy comedy film written and directed by Michel Gondry. The film stars Gael García Bernal, Charlotte Gainsbourg, Miou-Miou, and Alain Chabat. The film stems from a bed-time story that was written by the then-10-year-old Sam Mounier.
More at Wikipedia.