actually, while I understand what you are saying, I don't think we can quantify God's grace in a mathamatical formula because it does not 'add up'
the answer to our rebellion and sin would always be we need to be punished
God, gives an answer that does not make sense out of the sin equation.
the sum of rebellion and sin equals death.
God offers life instead
math is full of proofs that there are things which cannot be measured. try dividing something by zero. if that makes it a useless pursuit, then pursuing knowledge of God is equally useless, because God is beyond searching out
this is why He created mathematics this way. it teaches truth, as Romans 1 -- His glory is clearly seen by what He has made
it is just a language -- and if it is true, then we can show through this language that His grace defies measure. i don't have time tonight but i have no doubt we can express it as well or better in the language of algebraic topology as we can with English.