code wiki / (root) / nx_token_permutation_test.nx

nx_token_permutation_test.nx

buildroot/runtime/nx_token_permutation_test.nx

4442 B98 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/prooftopic token
docsdependenciesstructsconstsfunctions

about

nx_token_permutation_test.nx -- smoke + the user's 4-permutation case. Uses token-id stand-ins for the user's literal example: 1 = "beautiful" 2 = "tall" 3 = "girl" 4 = "very" (the "add another word" case)

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_tier.nx nx_token_permutation.nx nx_token_permutation_test.nx

imports: nx_syscalls.nxnx_tier.nxnx_token_permutation.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap _set3 nx_token_permutation_compu _permut_same_multi_set sys_mmap ↻ _permut_build_position_map sys_mmap ↻ _permut_count_inversions _permut_count_new_neighbor nx_token_permutation_verdi

structs

none

consts

none

functions

13func _set3(buf: *i64, a: nx_int, b: nx_int, c: nx_int) -> nx_int {
called by 1: main
20func main() -> nx_int {