Preserve bounded validation evidence and historical failures

This commit is contained in:
Frank14f committed 2026-10-15 10:13:51 +08:00
1 parent cdbb9c42f6
commit 263f3b0c7a
239 files changed
+74191

No files matched your search

@@ -0,0 +1,231 @@
"""One-interval, collision-free population-basis analysis; NOT an LBM solver.
No production imports/maps, CUDA, collision, force, or time-stepping benchmark.
The hypotheses below extend the current geometric transfer to a wall crossing;
they are not claims about the shipped backend or any external implementation.
Run: python research/wall_seam_pulse_20261014/analyze.py
"""
from dataclasses import dataclass
from pathlib import Path
import csv
import hashlib
import json
import resource
resource.setrlimit(resource.RLIMIT_FSIZE, (2*1024**2, 2*1024**2))
OUT = Path(__file__).resolve().parent
ROOT = OUT.parents[1]
N, NF = 16, 24
LO, HI, HALO = 4, 12, 4
CX = (0, 1, -1, 0, 0, 1, -1, 1, -1)
CY = (0, 0, 0, 1, -1, 1, -1, -1, 1)
OPP = (0, 2, 1, 4, 3, 6, 5, 8, 7)
def covered(x, y):
return LO <= x < HI and LO <= y < HI
def coarse_fluid(x, y):
return 0 <= x < N and 8 <= y < 15
def fine_fluid(x, y):
return 0 <= x < NF and 0 <= y < NF and 8 < 2+(y+.5)/2 < 15
def active(x, y):
return HALO <= x < NF-HALO and HALO <= y < NF-HALO and fine_fluid(x, y)
def parent(x, y):
return LO+(x-HALO)//2, LO+(y-HALO)//2
def fine_targets():
return [(x, y) for y in range(2, NF-2) for x in range(2, NF-2) if fine_fluid(x, y)]
@dataclass(frozen=True)
class Packet:
phase: str
slot: tuple # (q, x, y)
value: float
operation: str
parents: tuple = () # (Packet, coefficient); includes zero-valued inputs
def derive(phase, slot, operation, parents):
return Packet(phase, slot, sum(p.value*w for p, w in parents), operation, tuple(parents))
def initialize(pulse):
level, q0, x0, y0 = pulse
coarse = {(q, x, y): Packet('Gc0', (q, x, y), float(('coarse', q, x, y) == pulse), 'input')
for y in range(N) for x in range(N) if coarse_fluid(x, y) and not covered(x, y)
for q in range(9)}
fine = {}
for y in range(NF):
for x in range(NF):
# Full fine footprint: a shared parent and its four children must
# agree, including outer halo and solid cells (which hold no data).
px, py = parent(x, y)
if fine_fluid(x, y) != coarse_fluid(px, py):
raise AssertionError('parent/child physical classifications disagree')
if not fine_fluid(x, y):
continue
for q in range(9):
key = q, x, y
if active(x, y):
fine[key] = Packet('Gf0', key, float(('fine', q, x, y) == pulse), 'input')
else:
fine[key] = derive('Gf0', key, 'explode', [(coarse[q, px, py], 1)])
if level == 'coarse':
assert sum(p.value for p in coarse.values()) == 1
else:
assert active(x0, y0) and sum(p.value for p in fine.values() if p.operation == 'input') == 1
return coarse, fine
def fine_hop(inp, hop, prestream=False):
phase = ('pre_' if prestream else '')+f'F{hop}'
staged = dict(inp)
if prestream:
written = set()
# Independent prestream form: write the missing solid-source slots.
# Each (q,source) has exactly one fluid destination in a pull scheme.
for x, y in fine_targets():
for q in range(9):
sx, sy = x-CX[q], y-CY[q]
if not fine_fluid(sx, sy) and (OPP[q], x, y) in inp:
key = q, sx, sy
assert key not in written
written.add(key)
staged[key] = derive(phase+'_BCscratch', key, 'prestream_BB', [(inp[OPP[q], x, y], 1)])
out = {}
for x, y in fine_targets():
for q in range(9):
key, source = (q, x, y), (q, x-CX[q], y-CY[q])
if prestream or fine_fluid(source[1], source[2]):
donor, op = staged.get(source), 'pull'
else:
donor, op = inp.get((OPP[q], x, y)), 'local_BB'
if donor is not None:
assert key not in out
out[key] = derive(phase, key, op, [(donor, 1)])
# Missing slots are explicitly invalid, not zero; outer halo is not output.
return out
def links():
result = {}
for y in range(N):
for x in range(N):
if not coarse_fluid(x, y) or covered(x, y):
continue
for q in range(1, 9):
if LO <= x+.5-CX[q]/2 <= HI and LO <= y+.5-CY[q]/2 <= HI:
a, b = HALO+2*(x-LO), HALO+2*(y-LO)
result[q, x, y] = [(q, a+dx, b+dy) for dy in (0, 1) for dx in (0, 1)]
return result
LINKS = links()
HYPOTHESES = ('coarse_BB_then_coalesce', 'coalesce_then_coarse_BB', 'omit_solid_source_links')
def coarse_arrivals(gc, f2, hypothesis):
out = {}
for q, x, y in gc:
key = q, x, y
sx, sy = (x-CX[q]) % N, (y-CY[q]) % N
wall = not coarse_fluid(sx, sy)
transfer = key in LINKS
if hypothesis == 'omit_solid_source_links' and wall:
transfer = False
# Functional final assignment models the specified ordered overrides.
# Every destination has one final writer; this alone does not prove
# that one initial packet has only one physical owner globally.
if transfer and (not wall or hypothesis == 'coarse_BB_then_coalesce'):
parents = [(f2[child], .25) for child in LINKS[key]]
node = derive('Fc1', key, 'coalescence', parents)
elif wall:
node = derive('Fc1', key, 'coarse_BB', [(gc[OPP[q], x, y], 1)])
else:
node = derive('Fc1', key, 'coarse_pull', [(gc[q, sx, sy], 1)])
assert key not in out
out[key] = node
return out
def trace(p, contribution=1.):
return dict(phase=p.phase, slot=list(p.slot), operation=p.operation,
value=p.value, downstream_weight=contribution,
parents=[trace(parent, contribution*w) for parent, w in p.parents if parent.value])
def main():
cases = [('outer_coarse_q7', ('coarse', 7, 2, 8)),
('adjacent_coarse_q7', ('coarse', 7, 3, 8)),
('active_fine_q7', ('fine', 7, 4, 12))]
rows, results = [], []
for name, pulse in cases:
gc, gf = initialize(pulse)
f1 = fine_hop(gf, 1)
f2 = fine_hop(f1, 2)
pre1 = fine_hop(gf, 1, prestream=True)
pre2 = fine_hop(pre1, 2, prestream=True)
assert {k: p.value for k, p in f1.items()} == {k: p.value for k, p in pre1.items()}
assert {k: p.value for k, p in f2.items()} == {k: p.value for k, p in pre2.items()}
assert all(child in f2 for children in LINKS.values() for child in children)
initial = 1. if pulse[0] == 'coarse' else .25
fine_mass = .25*sum(p.value for (q, x, y), p in f2.items() if active(x, y))
for phase in (gc, gf, f1, f2):
for node in phase.values():
if node.value:
rows.append((name, 'shared', node.phase, *node.slot, node.operation, node.value,
';'.join(f'{p.phase}:{p.slot}*{w}' for p, w in node.parents)))
for hypothesis in HYPOTHESES:
out = coarse_arrivals(gc, f2, hypothesis)
coarse_mass = sum(p.value for p in out.values())
selected = out[8, 3, 8]
item = dict(case=name, pulse=pulse, hypothesis=hypothesis,
initial_leaf_weight=initial, coarse_leaf_weight=coarse_mass,
fine_leaf_weight=fine_mass, total_leaf_weight=coarse_mass+fine_mass,
residual=coarse_mass+fine_mass-initial,
inspected_slot=[8, 3, 8], selected_writer=selected.operation,
inspected_value=selected.value,
final_nonzero_traces=[trace(p) for p in out.values() if p.value])
results.append(item)
for node in out.values():
if node.value:
rows.append((name, hypothesis, node.phase, *node.slot, node.operation, node.value,
';'.join(f'{p.phase}:{p.slot}*{w}' for p, w in node.parents)))
print(f'{name:20s} {hypothesis:27s} initial={initial:g} coarse={coarse_mass:g} '
f'fine={fine_mass:g} residual={item["residual"]:+g}; '
f'K(3,8),q8={selected.value:g} ({selected.operation})')
sources = ['src/CelerisLab/lbm/refinement.py', 'src/CelerisLab/lbm/refinement_stepper.py',
'src/CelerisLab/lbm/kernels/refinement.cu',
'src/CelerisLab/lbm/kernels/boundary/bounce_back.cuh']
report = dict(scope='Independent single-interval linear packet/basis analysis; no collision or solver execution',
geometry=dict(coarse=[16, 16], patch=[4, 4, 12, 12], fine=[24, 24],
fine_origin=[2, 2], coarse_dx_dt=[1, 1], fine_dx_dt=[.5, .5], walls_Y=[8, 15]),
assumptions=['fluid active populations pass unchanged between fine hops (identity transfer probe)',
'fine fluid inner ghosts reflect, never collide; outer halo output is invalid',
'solid destinations omitted; no filtering by coarse source in geometric LINKS',
'coalescence is equal-weight average of four children of each coarse target',
'results test these proposed extensions, not current production support or external libraries'],
prestream_vs_postpull='Exact values and validity match on both hops for all three probes',
source_files_read_only={p: hashlib.sha256((ROOT/p).read_bytes()).hexdigest() for p in sources},
script_sha256=hashlib.sha256(Path(__file__).read_bytes()).hexdigest(), results=results)
(OUT/'results.json').write_text(json.dumps(report, indent=2)+'\n')
with (OUT/'sources.csv').open('w', newline='') as stream:
writer = csv.writer(stream)
writer.writerow(('case', 'hypothesis', 'phase', 'q', 'x', 'y', 'operation', 'value', 'immediate_sources'))
writer.writerows(rows)
print('Prestream/postpull equivalence, valid coalescence reads, and unique destination writes: PASS')
print(f'peak_rss_MiB={resource.getrusage(resource.RUSAGE_SELF).ru_maxrss/1024:.3f}')
if __name__ == '__main__':
main()
@@ -0,0 +1,59 @@
Scope and reproduction
----------------------
Run the exact command in run.json using the existing Python environment. This
script uses only the standard library and derives all transfer links from
literal physical coordinates. Production files are hashed for context only;
no production solver, exchange map, boundary helper or CUDA code is imported.
Only this newly created evidence directory was written by this analysis.
The inputs are unit basis coefficients, NOT finite-density physical LBM states.
Fine active populations pass unchanged between hops. F1/F2 therefore denote
transport/BB stages of an identity-transfer probe, not an SRT validation. These
results do not establish a bug in the shipped backend (which does not implement
this wall-crossing mode) or in any external library.
Fixed geometry
--------------
Coarse 16x16, centers (x+.5,y+.5), dx=dt=1. Patch [4,12)x[4,12).
Fine 24x24 with halo 4, origin (2,2), centers origin+.5*(index+.5), dx=dt=.5.
Halfway planes Y=8 and Y=15; fluid occupies 8<Y<15, periodic x.
Parent/child fluid classification is checked over the entire fine footprint.
Only fluid active cells count as fine leaves; solid targets are absent.
Every valid fine ghost is exploded once. Inner fluid ghosts stream/reflect but
never collide; outer halo is absent after each hop. Invalid is distinct from 0.
Coalescence uses independently derived closed link midpoints and four children
with weight 1/4, and excludes solid TARGETS, not solid-source directions.
Three proposed extensions, none generally conservative in these probes
---------------------------------------------------------------------
1. Coarse BB then coalescence: final writer for intersecting slots is F->C.
2. Coalescence then coarse BB: final writer for solid-source slots is coarse BB.
3. Omit solid-source coalescence slots: coincides numerically with option 2 here.
All alternatives assign each final destination once; source ownership still
duplicates or loses packets, as the numeric totals in stdout/results show.
Measured packet path for Gc(q7,x2,y8)
-----------------------------------
Gc0(7,2,8) --explosion--> Gf0(7,1,13)
--hop1 pull--> F1(7,2,12) --hop2 local BB--> F2(8,2,12)
--weight .25 coalescence--> Fc1(8,3,8).
Option 1 also retains the full independent coarse BB at Fc1(8,2,8), producing
total leaf weight 1.25 from 1. Options 2/3 avoid this particular duplication,
but the adjacent coarse pulse produces 1.25 from 1, and the fine-active pulse
loses its entire initial leaf weight .25. Thus neither blanket precedence nor
blanket solid-source filtering resolves the seam.
Both local postpull BB and an independently implemented prestream solid-slot
write yield exactly equal values AND validity sets for both fine hops on all
three probes. This establishes equivalence only for the explicit footprint and
operations in this script; it is not a reproduction of an external library.
Next inference, not implemented
------------------------------
A correct wall/interface transfer needs per-packet geometric ownership beyond
these unmodified straight-link four-child rules. Preserve this counterexample
and both controls when proposing that ownership. No scaling fix, interpolation,
wall-shear solver run, GPU experiment, or production change was attempted.
sources.csv records all nonzero stages; results.json includes recursive final
coarse ancestry, weights, parameter scope, and hashes. stdout.txt is the raw
single-run output. run.json records the observed exit and resource limits.
@@ -0,0 +1,621 @@
{
"scope": "Independent single-interval linear packet/basis analysis; no collision or solver execution",
"geometry": {
"coarse": [
16,
16
],
"patch": [
4,
4,
12,
12
],
"fine": [
24,
24
],
"fine_origin": [
2,
2
],
"coarse_dx_dt": [
1,
1
],
"fine_dx_dt": [
0.5,
0.5
],
"walls_Y": [
8,
15
]
},
"assumptions": [
"fluid active populations pass unchanged between fine hops (identity transfer probe)",
"fine fluid inner ghosts reflect, never collide; outer halo output is invalid",
"solid destinations omitted; no filtering by coarse source in geometric LINKS",
"coalescence is equal-weight average of four children of each coarse target",
"results test these proposed extensions, not current production support or external libraries"
],
"prestream_vs_postpull": "Exact values and validity match on both hops for all three probes",
"source_files_read_only": {
"src/CelerisLab/lbm/refinement.py": "554735c5613129eb29f339c6aeeb4f3a3bbc5aba67558be51fbf7c2fb6ac442a",
"src/CelerisLab/lbm/refinement_stepper.py": "ad57a6a3887b007488b4954b24ff06cd8cde2b12674bdafb97bfda1961ae1da4",
"src/CelerisLab/lbm/kernels/refinement.cu": "025c59dc9c207a831e78e1635cb3f14fe60b64c021004a0d66e5d01fda8554b5",
"src/CelerisLab/lbm/kernels/boundary/bounce_back.cuh": "aba3748c564ed91b161d268ef8b737b7c7be96a823063d201f3da684dd845233"
},
"script_sha256": "bb4a8587e95835794ce08be3483d603afb8987a59f6c7cde39cf201395f6f541",
"results": [
{
"case": "outer_coarse_q7",
"pulse": [
"coarse",
7,
2,
8
],
"hypothesis": "coarse_BB_then_coalesce",
"initial_leaf_weight": 1.0,
"coarse_leaf_weight": 1.25,
"fine_leaf_weight": 0.0,
"total_leaf_weight": 1.25,
"residual": 0.25,
"inspected_slot": [
8,
3,
8
],
"selected_writer": "coalescence",
"inspected_value": 0.25,
"final_nonzero_traces": [
{
"phase": "Fc1",
"slot": [
8,
2,
8
],
"operation": "coarse_BB",
"value": 1.0,
"downstream_weight": 1.0,
"parents": [
{
"phase": "Gc0",
"slot": [
7,
2,
8
],
"operation": "input",
"value": 1.0,
"downstream_weight": 1.0,
"parents": []
}
]
},
{
"phase": "Fc1",
"slot": [
8,
3,
8
],
"operation": "coalescence",
"value": 0.25,
"downstream_weight": 1.0,
"parents": [
{
"phase": "F2",
"slot": [
8,
2,
12
],
"operation": "local_BB",
"value": 1.0,
"downstream_weight": 0.25,
"parents": [
{
"phase": "F1",
"slot": [
7,
2,
12
],
"operation": "pull",
"value": 1.0,
"downstream_weight": 0.25,
"parents": [
{
"phase": "Gf0",
"slot": [
7,
1,
13
],
"operation": "explode",
"value": 1.0,
"downstream_weight": 0.25,
"parents": [
{
"phase": "Gc0",
"slot": [
7,
2,
8
],
"operation": "input",
"value": 1.0,
"downstream_weight": 0.25,
"parents": []
}
]
}
]
}
]
}
]
}
]
},
{
"case": "outer_coarse_q7",
"pulse": [
"coarse",
7,
2,
8
],
"hypothesis": "coalesce_then_coarse_BB",
"initial_leaf_weight": 1.0,
"coarse_leaf_weight": 1.0,
"fine_leaf_weight": 0.0,
"total_leaf_weight": 1.0,
"residual": 0.0,
"inspected_slot": [
8,
3,
8
],
"selected_writer": "coarse_BB",
"inspected_value": 0.0,
"final_nonzero_traces": [
{
"phase": "Fc1",
"slot": [
8,
2,
8
],
"operation": "coarse_BB",
"value": 1.0,
"downstream_weight": 1.0,
"parents": [
{
"phase": "Gc0",
"slot": [
7,
2,
8
],
"operation": "input",
"value": 1.0,
"downstream_weight": 1.0,
"parents": []
}
]
}
]
},
{
"case": "outer_coarse_q7",
"pulse": [
"coarse",
7,
2,
8
],
"hypothesis": "omit_solid_source_links",
"initial_leaf_weight": 1.0,
"coarse_leaf_weight": 1.0,
"fine_leaf_weight": 0.0,
"total_leaf_weight": 1.0,
"residual": 0.0,
"inspected_slot": [
8,
3,
8
],
"selected_writer": "coarse_BB",
"inspected_value": 0.0,
"final_nonzero_traces": [
{
"phase": "Fc1",
"slot": [
8,
2,
8
],
"operation": "coarse_BB",
"value": 1.0,
"downstream_weight": 1.0,
"parents": [
{
"phase": "Gc0",
"slot": [
7,
2,
8
],
"operation": "input",
"value": 1.0,
"downstream_weight": 1.0,
"parents": []
}
]
}
]
},
{
"case": "adjacent_coarse_q7",
"pulse": [
"coarse",
7,
3,
8
],
"hypothesis": "coarse_BB_then_coalesce",
"initial_leaf_weight": 1.0,
"coarse_leaf_weight": 0.5,
"fine_leaf_weight": 0.25,
"total_leaf_weight": 0.75,
"residual": -0.25,
"inspected_slot": [
8,
3,
8
],
"selected_writer": "coalescence",
"inspected_value": 0.5,
"final_nonzero_traces": [
{
"phase": "Fc1",
"slot": [
8,
3,
8
],
"operation": "coalescence",
"value": 0.5,
"downstream_weight": 1.0,
"parents": [
{
"phase": "F2",
"slot": [
8,
3,
12
],
"operation": "local_BB",
"value": 1.0,
"downstream_weight": 0.25,
"parents": [
{
"phase": "F1",
"slot": [
7,
3,
12
],
"operation": "pull",
"value": 1.0,
"downstream_weight": 0.25,
"parents": [
{
"phase": "Gf0",
"slot": [
7,
2,
13
],
"operation": "explode",
"value": 1.0,
"downstream_weight": 0.25,
"parents": [
{
"phase": "Gc0",
"slot": [
7,
3,
8
],
"operation": "input",
"value": 1.0,
"downstream_weight": 0.25,
"parents": []
}
]
}
]
}
]
},
{
"phase": "F2",
"slot": [
8,
2,
13
],
"operation": "pull",
"value": 1.0,
"downstream_weight": 0.25,
"parents": [
{
"phase": "F1",
"slot": [
8,
3,
12
],
"operation": "local_BB",
"value": 1.0,
"downstream_weight": 0.25,
"parents": [
{
"phase": "Gf0",
"slot": [
7,
3,
12
],
"operation": "explode",
"value": 1.0,
"downstream_weight": 0.25,
"parents": [
{
"phase": "Gc0",
"slot": [
7,
3,
8
],
"operation": "input",
"value": 1.0,
"downstream_weight": 0.25,
"parents": []
}
]
}
]
}
]
}
]
}
]
},
{
"case": "adjacent_coarse_q7",
"pulse": [
"coarse",
7,
3,
8
],
"hypothesis": "coalesce_then_coarse_BB",
"initial_leaf_weight": 1.0,
"coarse_leaf_weight": 1.0,
"fine_leaf_weight": 0.25,
"total_leaf_weight": 1.25,
"residual": 0.25,
"inspected_slot": [
8,
3,
8
],
"selected_writer": "coarse_BB",
"inspected_value": 1.0,
"final_nonzero_traces": [
{
"phase": "Fc1",
"slot": [
8,
3,
8
],
"operation": "coarse_BB",
"value": 1.0,
"downstream_weight": 1.0,
"parents": [
{
"phase": "Gc0",
"slot": [
7,
3,
8
],
"operation": "input",
"value": 1.0,
"downstream_weight": 1.0,
"parents": []
}
]
}
]
},
{
"case": "adjacent_coarse_q7",
"pulse": [
"coarse",
7,
3,
8
],
"hypothesis": "omit_solid_source_links",
"initial_leaf_weight": 1.0,
"coarse_leaf_weight": 1.0,
"fine_leaf_weight": 0.25,
"total_leaf_weight": 1.25,
"residual": 0.25,
"inspected_slot": [
8,
3,
8
],
"selected_writer": "coarse_BB",
"inspected_value": 1.0,
"final_nonzero_traces": [
{
"phase": "Fc1",
"slot": [
8,
3,
8
],
"operation": "coarse_BB",
"value": 1.0,
"downstream_weight": 1.0,
"parents": [
{
"phase": "Gc0",
"slot": [
7,
3,
8
],
"operation": "input",
"value": 1.0,
"downstream_weight": 1.0,
"parents": []
}
]
}
]
},
{
"case": "active_fine_q7",
"pulse": [
"fine",
7,
4,
12
],
"hypothesis": "coarse_BB_then_coalesce",
"initial_leaf_weight": 0.25,
"coarse_leaf_weight": 0.25,
"fine_leaf_weight": 0.0,
"total_leaf_weight": 0.25,
"residual": 0.0,
"inspected_slot": [
8,
3,
8
],
"selected_writer": "coalescence",
"inspected_value": 0.25,
"final_nonzero_traces": [
{
"phase": "Fc1",
"slot": [
8,
3,
8
],
"operation": "coalescence",
"value": 0.25,
"downstream_weight": 1.0,
"parents": [
{
"phase": "F2",
"slot": [
8,
3,
13
],
"operation": "pull",
"value": 1.0,
"downstream_weight": 0.25,
"parents": [
{
"phase": "F1",
"slot": [
8,
4,
12
],
"operation": "local_BB",
"value": 1.0,
"downstream_weight": 0.25,
"parents": [
{
"phase": "Gf0",
"slot": [
7,
4,
12
],
"operation": "input",
"value": 1.0,
"downstream_weight": 0.25,
"parents": []
}
]
}
]
}
]
}
]
},
{
"case": "active_fine_q7",
"pulse": [
"fine",
7,
4,
12
],
"hypothesis": "coalesce_then_coarse_BB",
"initial_leaf_weight": 0.25,
"coarse_leaf_weight": 0.0,
"fine_leaf_weight": 0.0,
"total_leaf_weight": 0.0,
"residual": -0.25,
"inspected_slot": [
8,
3,
8
],
"selected_writer": "coarse_BB",
"inspected_value": 0.0,
"final_nonzero_traces": []
},
{
"case": "active_fine_q7",
"pulse": [
"fine",
7,
4,
12
],
"hypothesis": "omit_solid_source_links",
"initial_leaf_weight": 0.25,
"coarse_leaf_weight": 0.0,
"fine_leaf_weight": 0.0,
"total_leaf_weight": 0.0,
"residual": -0.25,
"inspected_slot": [
8,
3,
8
],
"selected_writer": "coarse_BB",
"inspected_value": 0.0,
"final_nonzero_traces": []
}
]
}
@@ -0,0 +1,16 @@
{
"command": "/home/frank14f/anaconda3/envs/pycuda_3_10/bin/python research/wall_seam_pulse_20261014/analyze.py > research/wall_seam_pulse_20261014/stdout.txt 2>&1",
"cwd": "/home/frank14f/CelerisLab",
"exit_code": 0,
"tool_wall_seconds": 0.159727377,
"peak_rss_MiB": 23.0,
"address_space_limit_MiB": 256,
"executed_script_sha256": "bb4a8587e95835794ce08be3483d603afb8987a59f6c7cde39cf201395f6f541",
"current_script_sha256": "2b174826ffaee96c147bd247ef5e322cb51d55ce506f330bac021afd012560f7",
"post_run_change": "Only the fixed RLIMIT_AS=256MiB line was removed; numerical algorithm unchanged. No rerun. The recorded address-space limit and exit describe the original execution. stdout.txt and results.json remain unchanged; results.json retains the executed script hash. Future resource checks follow actual available RAM/VRAM, without a fixed address-space cap.",
"per_file_output_limit_MiB": 2,
"executions": 1,
"GPU_used": false,
"solver_steps": 0,
"analysis": "Three unit-basis population probes; two transport/BB hops per probe, followed by three alternative coarse incoming-ownership rules. No collision or physical flow evolution."
}
@@ -0,0 +1,31 @@
case,hypothesis,phase,q,x,y,operation,value,immediate_sources
outer_coarse_q7,shared,Gc0,7,2,8,input,1.0,
outer_coarse_q7,shared,Gf0,7,0,12,explode,1.0,"Gc0:(7, 2, 8)*1"
outer_coarse_q7,shared,Gf0,7,1,12,explode,1.0,"Gc0:(7, 2, 8)*1"
outer_coarse_q7,shared,Gf0,7,0,13,explode,1.0,"Gc0:(7, 2, 8)*1"
outer_coarse_q7,shared,Gf0,7,1,13,explode,1.0,"Gc0:(7, 2, 8)*1"
outer_coarse_q7,shared,F1,7,2,12,pull,1.0,"Gf0:(7, 1, 13)*1"
outer_coarse_q7,shared,F2,8,2,12,local_BB,1.0,"F1:(7, 2, 12)*1"
outer_coarse_q7,coarse_BB_then_coalesce,Fc1,8,2,8,coarse_BB,1.0,"Gc0:(7, 2, 8)*1"
outer_coarse_q7,coarse_BB_then_coalesce,Fc1,8,3,8,coalescence,0.25,"F2:(8, 2, 12)*0.25;F2:(8, 3, 12)*0.25;F2:(8, 2, 13)*0.25;F2:(8, 3, 13)*0.25"
outer_coarse_q7,coalesce_then_coarse_BB,Fc1,8,2,8,coarse_BB,1.0,"Gc0:(7, 2, 8)*1"
outer_coarse_q7,omit_solid_source_links,Fc1,8,2,8,coarse_BB,1.0,"Gc0:(7, 2, 8)*1"
adjacent_coarse_q7,shared,Gc0,7,3,8,input,1.0,
adjacent_coarse_q7,shared,Gf0,7,2,12,explode,1.0,"Gc0:(7, 3, 8)*1"
adjacent_coarse_q7,shared,Gf0,7,3,12,explode,1.0,"Gc0:(7, 3, 8)*1"
adjacent_coarse_q7,shared,Gf0,7,2,13,explode,1.0,"Gc0:(7, 3, 8)*1"
adjacent_coarse_q7,shared,Gf0,7,3,13,explode,1.0,"Gc0:(7, 3, 8)*1"
adjacent_coarse_q7,shared,F1,8,2,12,local_BB,1.0,"Gf0:(7, 2, 12)*1"
adjacent_coarse_q7,shared,F1,7,3,12,pull,1.0,"Gf0:(7, 2, 13)*1"
adjacent_coarse_q7,shared,F1,8,3,12,local_BB,1.0,"Gf0:(7, 3, 12)*1"
adjacent_coarse_q7,shared,F1,7,4,12,pull,1.0,"Gf0:(7, 3, 13)*1"
adjacent_coarse_q7,shared,F2,8,3,12,local_BB,1.0,"F1:(7, 3, 12)*1"
adjacent_coarse_q7,shared,F2,8,4,12,local_BB,1.0,"F1:(7, 4, 12)*1"
adjacent_coarse_q7,shared,F2,8,2,13,pull,1.0,"F1:(8, 3, 12)*1"
adjacent_coarse_q7,coarse_BB_then_coalesce,Fc1,8,3,8,coalescence,0.5,"F2:(8, 2, 12)*0.25;F2:(8, 3, 12)*0.25;F2:(8, 2, 13)*0.25;F2:(8, 3, 13)*0.25"
adjacent_coarse_q7,coalesce_then_coarse_BB,Fc1,8,3,8,coarse_BB,1.0,"Gc0:(7, 3, 8)*1"
adjacent_coarse_q7,omit_solid_source_links,Fc1,8,3,8,coarse_BB,1.0,"Gc0:(7, 3, 8)*1"
active_fine_q7,shared,Gf0,7,4,12,input,1.0,
active_fine_q7,shared,F1,8,4,12,local_BB,1.0,"Gf0:(7, 4, 12)*1"
active_fine_q7,shared,F2,8,3,13,pull,1.0,"F1:(8, 4, 12)*1"
active_fine_q7,coarse_BB_then_coalesce,Fc1,8,3,8,coalescence,0.25,"F2:(8, 2, 12)*0.25;F2:(8, 3, 12)*0.25;F2:(8, 2, 13)*0.25;F2:(8, 3, 13)*0.25"
1 case hypothesis phase q x y operation value immediate_sources
2 outer_coarse_q7 shared Gc0 7 2 8 input 1.0
3 outer_coarse_q7 shared Gf0 7 0 12 explode 1.0 Gc0:(7, 2, 8)*1
4 outer_coarse_q7 shared Gf0 7 1 12 explode 1.0 Gc0:(7, 2, 8)*1
5 outer_coarse_q7 shared Gf0 7 0 13 explode 1.0 Gc0:(7, 2, 8)*1
6 outer_coarse_q7 shared Gf0 7 1 13 explode 1.0 Gc0:(7, 2, 8)*1
7 outer_coarse_q7 shared F1 7 2 12 pull 1.0 Gf0:(7, 1, 13)*1
8 outer_coarse_q7 shared F2 8 2 12 local_BB 1.0 F1:(7, 2, 12)*1
9 outer_coarse_q7 coarse_BB_then_coalesce Fc1 8 2 8 coarse_BB 1.0 Gc0:(7, 2, 8)*1
10 outer_coarse_q7 coarse_BB_then_coalesce Fc1 8 3 8 coalescence 0.25 F2:(8, 2, 12)*0.25;F2:(8, 3, 12)*0.25;F2:(8, 2, 13)*0.25;F2:(8, 3, 13)*0.25
11 outer_coarse_q7 coalesce_then_coarse_BB Fc1 8 2 8 coarse_BB 1.0 Gc0:(7, 2, 8)*1
12 outer_coarse_q7 omit_solid_source_links Fc1 8 2 8 coarse_BB 1.0 Gc0:(7, 2, 8)*1
13 adjacent_coarse_q7 shared Gc0 7 3 8 input 1.0
14 adjacent_coarse_q7 shared Gf0 7 2 12 explode 1.0 Gc0:(7, 3, 8)*1
15 adjacent_coarse_q7 shared Gf0 7 3 12 explode 1.0 Gc0:(7, 3, 8)*1
16 adjacent_coarse_q7 shared Gf0 7 2 13 explode 1.0 Gc0:(7, 3, 8)*1
17 adjacent_coarse_q7 shared Gf0 7 3 13 explode 1.0 Gc0:(7, 3, 8)*1
18 adjacent_coarse_q7 shared F1 8 2 12 local_BB 1.0 Gf0:(7, 2, 12)*1
19 adjacent_coarse_q7 shared F1 7 3 12 pull 1.0 Gf0:(7, 2, 13)*1
20 adjacent_coarse_q7 shared F1 8 3 12 local_BB 1.0 Gf0:(7, 3, 12)*1
21 adjacent_coarse_q7 shared F1 7 4 12 pull 1.0 Gf0:(7, 3, 13)*1
22 adjacent_coarse_q7 shared F2 8 3 12 local_BB 1.0 F1:(7, 3, 12)*1
23 adjacent_coarse_q7 shared F2 8 4 12 local_BB 1.0 F1:(7, 4, 12)*1
24 adjacent_coarse_q7 shared F2 8 2 13 pull 1.0 F1:(8, 3, 12)*1
25 adjacent_coarse_q7 coarse_BB_then_coalesce Fc1 8 3 8 coalescence 0.5 F2:(8, 2, 12)*0.25;F2:(8, 3, 12)*0.25;F2:(8, 2, 13)*0.25;F2:(8, 3, 13)*0.25
26 adjacent_coarse_q7 coalesce_then_coarse_BB Fc1 8 3 8 coarse_BB 1.0 Gc0:(7, 3, 8)*1
27 adjacent_coarse_q7 omit_solid_source_links Fc1 8 3 8 coarse_BB 1.0 Gc0:(7, 3, 8)*1
28 active_fine_q7 shared Gf0 7 4 12 input 1.0
29 active_fine_q7 shared F1 8 4 12 local_BB 1.0 Gf0:(7, 4, 12)*1
30 active_fine_q7 shared F2 8 3 13 pull 1.0 F1:(8, 4, 12)*1
31 active_fine_q7 coarse_BB_then_coalesce Fc1 8 3 8 coalescence 0.25 F2:(8, 2, 12)*0.25;F2:(8, 3, 12)*0.25;F2:(8, 2, 13)*0.25;F2:(8, 3, 13)*0.25
@@ -0,0 +1,11 @@
outer_coarse_q7 coarse_BB_then_coalesce initial=1 coarse=1.25 fine=0 residual=+0.25; K(3,8),q8=0.25 (coalescence)
outer_coarse_q7 coalesce_then_coarse_BB initial=1 coarse=1 fine=0 residual=+0; K(3,8),q8=0 (coarse_BB)
outer_coarse_q7 omit_solid_source_links initial=1 coarse=1 fine=0 residual=+0; K(3,8),q8=0 (coarse_BB)
adjacent_coarse_q7 coarse_BB_then_coalesce initial=1 coarse=0.5 fine=0.25 residual=-0.25; K(3,8),q8=0.5 (coalescence)
adjacent_coarse_q7 coalesce_then_coarse_BB initial=1 coarse=1 fine=0.25 residual=+0.25; K(3,8),q8=1 (coarse_BB)
adjacent_coarse_q7 omit_solid_source_links initial=1 coarse=1 fine=0.25 residual=+0.25; K(3,8),q8=1 (coarse_BB)
active_fine_q7 coarse_BB_then_coalesce initial=0.25 coarse=0.25 fine=0 residual=+0; K(3,8),q8=0.25 (coalescence)
active_fine_q7 coalesce_then_coarse_BB initial=0.25 coarse=0 fine=0 residual=-0.25; K(3,8),q8=0 (coarse_BB)
active_fine_q7 omit_solid_source_links initial=0.25 coarse=0 fine=0 residual=-0.25; K(3,8),q8=0 (coarse_BB)
Prestream/postpull equivalence, valid coalescence reads, and unique destination writes: PASS
peak_rss_MiB=23.000