I understand the theory.I also understand that in theory a lean or rich mixture will burn cooler,in reality the lean mixture because of incomplete burn due to excess oxygen in the mixture causes detonation which causes the rise in chamber temp.So while the actual flame temp may well be hottest at stoichiometric it is also the ideal mixture for as complete a combustion as possible.