Analytical Tools For Expectations Theory And The Envelope Theorem by Dimitrios Koumparoulis