Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Judgment sum_all at crates/formality-core/src/judgment/test_for_all.rs:55

Signature:

sum_all(nums: Vec<Num>,) => Num

The number on each rule’s conclusion is positive coverage; the number on each premise is negative coverage. Click a number to browse the tests.

sum
LineCoverageSource
62N/A(let acc: Num = Num(0))
63(for_all(n in nums) with(acc)
(let acc: Num = Num(acc.0 + n.0)))
──────── ("sum")
662(sum_all(nums) => acc)