AM, GGP

math:  h13 partwise
ggp: history summary correction