code wiki / _hdl_build / nx_flip_defl.nx

nx_flip_defl.nx

buildroot/runtime/_hdl_build/nx_flip_defl.nx

6715 B154 linesdepth 6pulls 7 transitivereach 0 importersview sourcekind tooltopic flip
docsdependenciesstructsconstsfunctions

about

nx_flip_defl.nx -- MONETARY DEFLATION: separate a REAL gain from a debasement illusion. Operator 2026-07-23: "only trade on real value not inflations". This is the LITERAL half. A 40% nominal gain against 40% money-supply growth is a ZERO real gain -- the measuring unit shrank. real_now = nominal_now * money_then / money_now ; debasement = nominal_gain - real_gain VERDICTS: REAL-GAIN (survives) / ILLUSORY (nominal up, real flat/down = the trap) / REAL-LOSS. FAIL-CLOSED: an absent series/period is REFUSED, never silently treated as zero inflation. The deflator series lives in flip-mon- as DATA (M2SA today; CPI/PPI/gold/any unit tomorrow). CONVERTED ONTO THE SHARED BASE nx_flip_lib.nx (fx_*); only the two deflator-specific helpers (fd_lookup by series+period, fd_period_cmp ordering guard) remain local. Equivalence PROVEN by nx_flip_gate staying 16/16 across the swap. license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0

dependencies 2 imports · 0 importers

nx_flip_lib.nx nx_syscalls.nx nx_flip_defl.nx

imports: nx_flip_lib.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main fx_puts sys_write sys_exit fx_atoi sts_mm sys_mmap sts_werr sys_write ↻ sys_exit ↻ fx_plane sts_mm ↻ sts_load ss_open_cached ssc_init sys_mmap ↻ ssc_sig_of ss_cat sys_fstatat ssc_streq ss_open ss_open2 sys_mmap ↻ ss_manifest_dyn ss_cat ↻ ss_loadfile ss_load_aux2 ssl_total_keys ssl_pow2 ssl_build ss_r32 ssl_lookup ss_manifest_free sys_munmap ssc_retire_handle sts_mm ↻ ss_hget sys_mmap ↻ ss_idx_find ss_r32 ↻

structs

none

consts

16const FD_ARGC_MIN: i64 = 6
17const FD_ARG_PFX: i64 = 6
18const FD_M_SERIES: i64 = 1
19const FD_M_PERIOD: i64 = 2
20const FD_M_VALUE: i64 = 3

functions

23func fd_lookup(b: *u8, n: i64, series: *u8, period: *u8, sp: *i64) -> i64
47func fd_period_cmp(a: *u8, b: *u8) -> i64
called by 1: main
61func main(argc: i64, argv: *i64) -> i64