code wiki / (root) / sketch_segment_tree_test.nx

sketch_segment_tree_test.nx

buildroot/runtime/sketch_segment_tree_test.nx

3986 B133 linesdepth 5pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic sketch
docsdependenciesstructsconstsfunctions

about

sketch_segment_tree_test.nx -- range sum / min / max verification.

dependencies 3 imports · 0 importers

syscalls.nx sketch_segment_tree.nx sketch_types.nx sketch_segment_tree_test.nx

imports: syscalls.nxsketch_segment_tree.nxsketch_types.nx

imported by: nobody (leaf or entry point)

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

main nx_st_alloc nx_st_next_pow2 nx_st_update nx_st_min2 nx_st_max2 nx_st_get nx_st_range_sum nx_st_range_min nx_st_min2 ↻ nx_st_range_max nx_st_max2 ↻ nx_st_query_sum nx_st_range_sum ↻ nx_approx_new

structs

none

consts

none

functions

7func main() -> i64 {