Proving a cumulative-product loop with a bounded result type — is there a standard idiom?

Did you mean to duplicate your other post? kkson had already replied there.