code wiki / (root) / nx_damages_gate.nx

nx_damages_gate.nx

buildroot/runtime/nx_damages_gate.nx

4507 B88 linesdepth 7pulls 14 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_damages_gate.nx -- PREJUDGMENT INTEREST GATE. Proves the exact day count (via composed nx_sol), simple and annually-compounded interest, that compound exceeds simple for the same period, the total-award composition, a full real scenario ($50k loss over an exact 3-year interval at 8pct simple = $12k interest), and the fail-closed refusals (judgment before accrual, negative principal/rate/days, sentinel propagation). license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0

dependencies 2 imports · 0 importers

nx_damages_lib.nx nx_matter_lib.nx nx_damages_gate.nx

imports: nx_damages_lib.nxnx_matter_lib.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main dm_puts dm_ck dm_puts ↻ dm_putn dmg_days_between sol_days_from_civil dmg_simple_interest dmg_compound_interest dmg_total_award dm_putn ↻

structs

none

consts

none

functions

10func dm_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 2: dm_ckmain
11func dm_putn(v: i64) -> i64
called by 2: dm_ckmain
25func dm_ck(cnt: *i64, name: *u8, got: i64, want: i64) -> i64
called by 1: main calls 2: dm_putsdm_putn
37func main(argc: i64, argv: *i64) -> i64