Non-commutative Cartier operator and Hodge-to-de Rham degeneration