nx_em_experiment.nx
buildroot/runtime/nx_em_experiment.nx
about
nx_em_experiment.nx -- substrate primitive that turns Tesla-class
claims into bits-up, repeatable, falsifiable Nishi experiments.
Doctrinal stance: we do NOT take secondhand "mainstream physics
says no" or "Wardenclyffe never demonstrated it" as the verdict.
The substrate is the apparatus. Every claim is held as TBD until
our own measurements -- driven by nxc2-compiled .nx code with no
external dependency -- produce a sealed verdict.
Each experiment is a record:
- claim_id (sealed enum, declared below)
- hypothesis_text (caller-provided pointer, audit-only)
- rig_id (sealed enum: which apparatus rig)
- protocol_seed (rng seed for reproducibility)
- measured_q10 (scalar result; Q10 fixed-point so MCUs work)
- threshold_q10 (verdict threshold, Q10)
- verdict (sealed enum below)
Genealogy: this primitive composes nx_perf_verdict (sealed verdict
pattern) + nx_self_audit (introspection) + the cardinal
feedback-honest-perf-verdict-no-aspirational-claims. Every Tesla
claim becomes a row in our self-audit; the operator can read which
rig reached which verdict on which date, and what the next
improvement is.
genealogy_id: feedback-honest-perf-verdict-no-aspirational-claims +
nx_perf_verdict + nx_self_audit + tesla_wardenclyffe_1901 +
schumann_1952_cavity_resonance + zenneck_1907_surface_wave
lineage_id: nishi_em_experiment_sealed_q10
dependencies 1 imports · 0 importers
imports: nx_syscalls_x86_64.nx
imported by: nobody (leaf or entry point)
structs
| 80 | struct EmExperiment |
consts
| 42 | const NX_EM_CLAIM_UNKNOWN: i64 = 0 |
| 43 | const NX_EM_CLAIM_SCHUMANN_DATA_BANDWIDTH: i64 = 1 |
| 44 | const NX_EM_CLAIM_SCHUMANN_VIDEO_BANDWIDTH: i64 = 2 |
| 45 | const NX_EM_CLAIM_LONGITUDINAL_WAVE_COUPLING: i64 = 3 |
| 46 | const NX_EM_CLAIM_SCALAR_FIELD_NONLOCAL: i64 = 4 |
| 47 | const NX_EM_CLAIM_EARTH_CURRENT_RETURN_EFFICIENCY: i64 = 5 |
| 48 | const NX_EM_CLAIM_GROUND_WAVE_RANGE_VS_FREQ: i64 = 6 |
| 49 | const NX_EM_CLAIM_NVIS_REGIONAL_COVERAGE: i64 = 7 |
| 50 | const NX_EM_CLAIM_RESONANT_WIRELESS_POWER_DISTANCE: i64 = 8 |
| 51 | const NX_EM_CLAIM_NEAR_FIELD_COUPLING_DROP_OFF: i64 = 9 |
| 52 | const NX_EM_CLAIM_METEOR_BURST_DATA_RATE: i64 = 10 |
| 53 | const NX_EM_CLAIM_FREE_SPACE_OPTICAL_NEIGHBOURHOOD: i64 = 11 |
| 54 | const NX_EM_CLAIM_POWERLINE_CARRIER_INTRA_HOME: i64 = 12 |
| 55 | const NX_EM_CLAIM_N: i64 = 13 |
| 58 | const NX_EM_RIG_UNKNOWN: i64 = 0 |
| 59 | const NX_EM_RIG_SIMULATION_ONLY: i64 = 1 // pure NishiLang model; no RF |
| 60 | const NX_EM_RIG_SDR_RTLSDR_RX: i64 = 2 // receive-only via RTL-SDR |
| 61 | const NX_EM_RIG_SDR_HACKRF_DUPLEX: i64 = 3 // tx+rx via HackRF |
| 62 | const NX_EM_RIG_LOOP_ANTENNA: i64 = 4 |
| 63 | const NX_EM_RIG_GROUND_DIPOLE: i64 = 5 |
| 64 | const NX_EM_RIG_RESONANT_COIL_PAIR: i64 = 6 |
| 65 | const NX_EM_RIG_FREE_SPACE_LASER: i64 = 7 |
| 66 | const NX_EM_RIG_POWERLINE_MODEM: i64 = 8 |
| 67 | const NX_EM_RIG_N: i64 = 9 |
| 70 | const NX_EM_VERDICT_UNKNOWN: i64 = 0 |
| 71 | const NX_EM_VERDICT_REPRODUCED: i64 = 1 // measured >= threshold under our rig |
| 72 | const NX_EM_VERDICT_NOT_REPRODUCED_HERE: i64 = 2 // measured < threshold; named improvement required |
| 73 | const NX_EM_VERDICT_INCONCLUSIVE: i64 = 3 // SNR / sample count too low |
| 74 | const NX_EM_VERDICT_NEEDS_HARDWARE: i64 = 4 // apparatus not yet built |
| 75 | const NX_EM_VERDICT_PROTOCOL_ERROR: i64 = 5 // rig misconfigured |
| 76 | const NX_EM_VERDICT_N: i64 = 6 |
| 95 | const NX_EM_Q10_ONE: i64 = 1024 |
functions
| 98 | func nx_em_init(e: *EmExperiment, claim_id: i64, rig_id: i64, |
| 125 | func nx_em_grade(e: *EmExperiment) -> i64 |
| 148 | func nx_em_note(e: *EmExperiment, src: *u8, src_len: i64, note_buf_cap: i64) -> i64 |
| 162 | func nx_em_claim_is_valid(c: i64) -> i64 |
| 167 | func nx_em_rig_is_valid(r: i64) -> i64 |
| 172 | func nx_em_verdict_is_valid(v: i64) -> i64 |