Reference · Lemmas behind operations-research checks
rainbow.math.lemmas.incometax-readings
General lemmas: incometax readings. The mathematical facts the corresponding checks rest on, each checked by the kernel.
signed/allowance-cases
signed/allowance-cases : (al-g al-A al-t : ℚ) (al-hg : 0 ≤ al-g) (al-hA : 0 ≤ al-A) (al-ht : al-t = data/Bool.rec (fun x₄ => ℚ) (al-g + signed/negate al-A) 0 (signed/decide-at-most al-g al-A)) → proposition/conjunction (0 ≤ al-t) (conjunction) where conjunction := proposition/conjunction (al-g + signed/negate al-A ≤ al-t) (proposition/conjunction (proposition/disjunction (al-t = 0) (al-t = al-g + signed/negate al-A)) (al-t ≤ al-g))
+ = signed/add0 = signed/zero= = signed/equivalent: equality of rational valuesℚ = signed/SignedRational≤ = signed/at-most
signed/tax-cell
signed/tax-cell : (tx-g tx-A tx-B tx-r1 tx-r2 tx-t tx-b tx-h tx-x : ℚ) (tx-hg : 0 ≤ tx-g) (tx-hA : 0 ≤ tx-A) (tx-hB : 0 ≤ tx-B) (tx-hr1 : 0 ≤ tx-r1) (tx-hr2 : 0 ≤ tx-r2) (tx-ht : tx-t = data/Bool.rec (fun x₄ => ℚ) (tx-g + signed/negate tx-A) 0 (signed/decide-at-most tx-g tx-A)) (tx-hb : tx-b = data/Bool.rec (fun x₈ => ℚ) tx-B tx-t (signed/decide-at-most tx-t tx-B)) (tx-hh : tx-h = tx-t + signed/negate tx-b) (tx-hx : tx-x = tx-r1 · tx-b + tx-r2 · tx-h) → proposition/conjunction (conjunction₁) (conjunction) where conjunction := proposition/conjunction (proposition/conjunction (proposition/disjunction (tx-b = tx-t) (tx-b = tx-B)) (proposition/conjunction (tx-b ≤ tx-t) (tx-b ≤ tx-B))) (proposition/conjunction (proposition/conjunction (0 ≤ tx-h) (proposition/disjunction (tx-h = 0) (tx-b = tx-B))) (0 ≤ tx-x)) where conjunction₁ := proposition/conjunction (0 ≤ tx-t) (proposition/conjunction (tx-g + signed/negate tx-A ≤ tx-t) (proposition/conjunction (proposition/disjunction (tx-t = 0) (tx-t = tx-g + signed/negate tx-A)) (tx-t ≤ tx-g)))
+ = signed/add0 = signed/zero= = signed/equivalent: equality of rational values· = signed/multiplyℚ = signed/SignedRational≤ = signed/at-most