The Science Of Sleep. (French: La Science des rêves, 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 Sam Mounier, then-10-year-old.