code wiki / (root) / nx_stability_test.nx

nx_stability_test.nx

buildroot/runtime/nx_stability_test.nx

13763 B246 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic stability
docsdependenciesstructsconstsfunctions

about

nx_stability_test.nx -- gate for the ICH stability rung. THE LIAR-KILL IS T1/T2: the activation energy and Q10 are RECOVERED from ICH's own statement that 6 months at 40 C supports 24 months at 25 C, and then checked against published bands (Q10 2-3, Ea 60-100 kJ/mol) that were never inputs to the derivation. A wrong kinetic model would land outside them. T3/T4 are the MKT pair: a constant history must return its own temperature (no bias), and a cycling history must land ABOVE its arithmetic mean -- with T5 measuring the convexity precondition that makes that true rather than assuming it. expect_exit: 0 license_tier: ORIGINAL

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_pow10.nx nx_stability.nx nx_shelf_life.nx nx_stability_test.nx

imports: nx_syscalls.nxnx_pow10.nxnx_stability.nxnx_shelf_life.nx

imported by: nobody (leaf or entry point)

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

main stab_ich_ea_j stab_ea_from_equivalence ilog10_milli ipow10_mantissa_q3 stab_c_to_centi_kelvin stab_ich_q10_q3 stab_q10_from_equivalence_ ilog10_milli ↻ ipow10_q3 ipow10_mantissa_q3 ↻ t_puts sys_write t_putn sys_mmap nxa_die sys_write ↻ sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ sys_write ↻ stab_recovered_ea_in_publi stab_ich_ea_j ↻ stab_recovered_q10_in_publ stab_ich_q10_q3 ↻ stab_accel_factor_q3 ilog10_milli ↻ ipow10_q3 ↻ sys_mmap ↻ stab_mkt_centi_kelvin stab_e10_milli_kelvin

structs

none

consts

none

functions

17func t_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 1: main calls 1: sys_write
18func t_putn(v: i64) -> i64 { let bb: *u8 = sys_mmap(28); var m: i64 = v; if m < 0 { m = 0 - m; sys_write(1, "-" as *u8, 1) } let t: *u8 = sys_mmap(28); var k: i64 = 0; if m == 0 { t[0] = 48 as u8; k = 1 } while m > 0 { t[k] = (48 + (m % 10)) as u8; m = m / 10; k = k + 1 } var i: i64 = 0; while i < k { bb[i] = t[k - 1 - i]; i = i + 1 } sys_write(1, bb, k); return 0 }
called by 1: main calls 2: sys_mmapsys_write
20func main() -> i64