Mathematical defintions and proofs for PM formulas