code wiki / _hdl_build / nx_flip_defl.nx
nx_flip_defl.nx
buildroot/runtime/_hdl_build/nx_flip_defl.nx
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
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
structs
| none |
consts
| 16 | const FD_ARGC_MIN: i64 = 6 |
| 17 | const FD_ARG_PFX: i64 = 6 |
| 18 | const FD_M_SERIES: i64 = 1 |
| 19 | const FD_M_PERIOD: i64 = 2 |
| 20 | const FD_M_VALUE: i64 = 3 |
functions
| 23 | func fd_lookup(b: *u8, n: i64, series: *u8, period: *u8, sp: *i64) -> i64 |
| 47 | func fd_period_cmp(a: *u8, b: *u8) -> i64 called by 1: main |
| 61 | func main(argc: i64, argv: *i64) -> i64 |