code wiki / (root) / nx_index_wr_decouple_gate.nx

nx_index_wr_decouple_gate.nx

buildroot/runtime/nx_index_wr_decouple_gate.nx

3469 B53 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic index
docsdependenciesstructsconstsfunctions

about

nx_index_wr_decouple_gate.nx -- proves write-read decoupling: a reader pinned to a generation is UNAFFECTED by concurrent writers (snapshot isolation), while new readers see new segments (monotonic visibility). license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_index_wr_decouple.nx nx_gate.nx nx_index_wr_decouple_gate.nx

imports: nx_index_wr_decouple.nxnx_gate.nx

imported by: nobody (leaf or entry point)

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

main gw sys_write wr_commit wr_query gn sys_write ↻ sys_mmap wr_visible sys_openat_append gwf

structs

none

consts

none

functions

6func gwf(fd: i64, s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} if fd>=0 { sys_write(fd,s,n) } return 0 }
called by 1: main
8func main() -> i64