From 5b8c35d36e53ffbd7301206b88a56aa638bcb2d1 Mon Sep 17 00:00:00 2001 From: Roger Hunt Date: Mon, 30 Nov 2026 14:29:23 -0500 Subject: [PATCH 1/6] leftover_unit_follows_group_size: study files (H1, H2, H3 supported) --- .../FINDINGS.md | 24 ++ .../README.md | 12 + .../hypotheses.md | 37 ++++ .../leftover_unit_follows_group_size/run.py | 209 ++++++++++++++++++ 4 files changed, 282 insertions(+) create mode 100644 org_frontier/studies/leftover_unit_follows_group_size/FINDINGS.md create mode 100644 org_frontier/studies/leftover_unit_follows_group_size/README.md create mode 100644 org_frontier/studies/leftover_unit_follows_group_size/hypotheses.md create mode 100644 org_frontier/studies/leftover_unit_follows_group_size/run.py diff --git a/org_frontier/studies/leftover_unit_follows_group_size/FINDINGS.md b/org_frontier/studies/leftover_unit_follows_group_size/FINDINGS.md new file mode 100644 index 000000000..d3cb6baa2 --- /dev/null +++ b/org_frontier/studies/leftover_unit_follows_group_size/FINDINGS.md @@ -0,0 +1,24 @@ +# Findings: the leftover unit is log2(2^r / (2^r − 1)) when the leftover group has r people + +Hypotheses fixed in [hypotheses.md](hypotheses.md) and committed (`d69aada8`, branch `study/nov30-topo-batch31`) before any system with a leftover group of size other than 3 or 4 was built or scored in the listeners-off state. PyPhi IIT 4.0 (pin `b78d0e342`). +Controls passed (m = 2 AND-rule listeners, all-ones whole φ 2.0; the already-published k = 2, two-XOR-listener listeners-off system, whole φ = 2 × log2(8/7) = 0.38529015588479165 to 1e-9, with P1 and P2 each a singleton; the already-published k = 3, one-XOR-listener system, whole φ = log2(16/15) = 0.09310940439148145 to 1e-9, with P1 a singleton and P2, P3 not singletons). The run was done once. The two published reproductions were controls and were not counted as new tests. + +The derivation, written from a re-reading of those published cuts' forward-looking probabilities (disclosed in the hypotheses), is that the whole-system score is the forward-looking half of the cut that isolates the m listened platforms; the partitioned probability of the specified next state is ((2^r − 1) / 2^r)^m; and the score is therefore m × log2(2^r / (2^r − 1)). + +## Hypotheses + +- H1 (k = 1 platform, m = 1 XOR listener, r = 2: whole φ = log2(4/3) to 1e-9, and the chosen cut has P1 as a singleton part and does not have A or E1 as a singleton part): **SUPPORTED**. Whole φ = 0.41503749927884376. Chosen parts: {P1}, {A, E1}. One partition at the minimum. +- H2 (k = 4 platforms, m = 1 XOR listener on P1, r = 5: whole φ = log2(32/31) to 1e-9, and the chosen cut has P1 as a singleton part and does not have P2, P3, or P4 as a singleton part): **SUPPORTED**. Whole φ = 0.045803689613124754. Chosen parts: {P1}, {A, E1, P2, P3, P4}. One partition at the minimum. +- H3 (k = 4 platforms, m = 2 XOR listeners on P1 and P2, r = 5: whole φ = 2 × log2(32/31) to 1e-9, and the chosen cut has P1 and P2 as singleton parts and does not have P3 or P4 as a singleton part): **SUPPORTED**. Whole φ = 0.09160737922624972. Chosen parts: {P1}, {P2}, {A, E1, E2, P3, P4}. Three partitions tied at the minimum; PyPhi reported this one. + +## What this does and does not show + +- The leftover unit log2(2^r / (2^r − 1)) holds at leftover sizes r = 2 and r = 5, in addition to the already-published r = 3 and r = 4. With two listeners at r = 5, the score is two times that unit, as predicted. +- Only XOR listeners, AND-rule platforms, and this one state. NAND, not-A, and platform-and-not-A were not tested here. + +## Reproduce + +``` +python org_frontier/studies/leftover_unit_follows_group_size/run.py --write +python org_frontier/studies/leftover_unit_follows_group_size/run.py --quick +``` diff --git a/org_frontier/studies/leftover_unit_follows_group_size/README.md b/org_frontier/studies/leftover_unit_follows_group_size/README.md new file mode 100644 index 000000000..e7cf90a2c --- /dev/null +++ b/org_frontier/studies/leftover_unit_follows_group_size/README.md @@ -0,0 +1,12 @@ +# leftover_unit_follows_group_size + +Whether the listeners-off leftover unit is log2(2^r / (2^r − 1)) when the leftover group has r people, tested at leftover sizes other than the already-published r = 3 and r = 4. + +Hypotheses were fixed in [hypotheses.md](hypotheses.md) (commit `d69aada8`) before any leftover size other than 3 or 4 was scored in this state. Builds on `off_score_is_listener_count`. PyPhi IIT 4.0 (pin `b78d0e342`). + +H1, H2, and H3 were supported: at r = 2 the score is log2(4/3), at r = 5 with one listener it is log2(32/31), and at r = 5 with two listeners it is 2 × log2(32/31). The cheapest cut isolates only the platforms that have a listener. + +``` +python org_frontier/studies/leftover_unit_follows_group_size/run.py --write +python org_frontier/studies/leftover_unit_follows_group_size/run.py --quick +``` diff --git a/org_frontier/studies/leftover_unit_follows_group_size/hypotheses.md b/org_frontier/studies/leftover_unit_follows_group_size/hypotheses.md new file mode 100644 index 000000000..04de85791 --- /dev/null +++ b/org_frontier/studies/leftover_unit_follows_group_size/hypotheses.md @@ -0,0 +1,37 @@ +# Hypotheses: the leftover unit is log2(2^r / (2^r − 1)) when the leftover group has r people + +Fixed before any system with a leftover group of size other than 3 or 4 is built or scored in the listeners-off state. Written 2026-11-30. + +## Gap + +`off_score_is_listener_count` found that, with three platforms, the listeners-off score is m × log2(16/15) when there are m off XOR listeners, and the cheapest cut isolates those m platforms. With two platforms and two XOR listeners the cut still isolated both platforms, but the score was 2 × log2(8/7), not 2 × log2(16/15). After that run, those two units were log2(2^r / (2^r − 1)) for leftover groups of r = 4 and r = 3 people. That pattern was not predicted. This study derives the unit and tests it at two leftover sizes that have not been scored. + +## Peek (disclosed) + +No system with a leftover group of size other than 3 or 4 has been built or scored in this state for this question. The already-published k = 2 and k = 3 results were re-read, including the effect-side forward probabilities of their already-chosen cuts, to write the derivation below. Those re-readings are not new tests. + +## Derivation (written before any new leftover size is scored) + +Same AND-rule platforms and off XOR listeners as `off_score_is_listener_count`. In this family the cheapest cut isolates each platform that has an off XOR listener, leaving a leftover group of r people. In this family r = k + 1: the hub A, plus each of the k platforms either staying in the leftover (if it has no listener) or replaced there by its listener. + +The whole-system score of that cut is the smaller of its backward-looking and forward-looking halves. In the already-published cases the backward-looking half is much larger, so the score is the forward-looking half. + +Intact, the next state is fixed: each listened platform goes off (its AND includes its own off listener), the hub stays on, any platform with no listener stays on, and the listeners stay off. So the probability of that next state is 1. + +The cheapest cut blocks only incoming links to the isolated platforms. Each such platform is an AND of exactly r inputs, all of them outside itself, so all of those inputs are noised by the cut. The AND of r unconstrained bits is on with probability 2^{−r} and off with probability (2^r − 1) / 2^r. The specified next value of each isolated platform is off, and the leftover group's next state stays fixed, because the cut does not block the isolated platforms' outgoing links. If the m isolated platforms are noised independently, the partitioned probability of the specified next state is ((2^r − 1) / 2^r)^m. The forward-looking score is the log ratio, m × log2(2^r / (2^r − 1)), and that is the whole-system score. + +## Systems + +(1) k = 1 platform, m = 1 XOR listener. Nodes (P1, A, E1). P1 is the AND of A and E1. A is just P1. E1 is the XOR of P1 and A. State (1, 1, 0). Leftover group after isolating P1 would be {A, E1}, so r = 2. Full partition scan; reported value = PyPhi's choice. + +(2) k = 4 platforms, m = 1 XOR listener on P1 (no listeners on P2, P3, or P4). Nodes (P1, P2, P3, P4, A, E1). Each platform is the AND of A, the other three platforms, and its own listener if it has one. A is the AND of the four platforms. E1 is the XOR of P1 and A. State (1, 1, 1, 1, 1, 0). Leftover group after isolating P1 would be {P2, P3, P4, A, E1}, so r = 5. Full partition scan; reported value = PyPhi's choice. + +(3) k = 4 platforms, m = 2 XOR listeners on P1 and P2 (no listeners on P3 or P4). Nodes (P1, P2, P3, P4, A, E1, E2). Same rules as (2), with E2 the XOR of P2 and A. State (1, 1, 1, 1, 1, 0, 0). Leftover group after isolating P1 and P2 would be {P3, P4, A, E1, E2}, so r = 5. Full partition scan; reported value = PyPhi's choice. + +Controls: m = 2 AND-rule listeners, all-ones whole φ 2.0; the already-published k = 2, two-XOR-listener system in this state, whole φ = 2 × log2(8/7) (to 1e-9), with P1 and P2 each a singleton in the chosen cut; the already-published k = 3, one-XOR-listener system in this state, whole φ = log2(16/15) (to 1e-9), with P1 a singleton and P2, P3 not singletons. Stop as written if any of these fails. + +## Predictions + +- H1: system (1) has whole φ = log2(4/3) (to 1e-9), and the chosen cut has P1 as a singleton part and does not have A or E1 as a singleton part. +- H2: system (2) has whole φ = log2(32/31) (to 1e-9), and the chosen cut has P1 as a singleton part and does not have P2, P3, or P4 as a singleton part. +- H3: system (3) has whole φ = 2 × log2(32/31) (to 1e-9), and the chosen cut has P1 and P2 as singleton parts and does not have P3 or P4 as a singleton part. diff --git a/org_frontier/studies/leftover_unit_follows_group_size/run.py b/org_frontier/studies/leftover_unit_follows_group_size/run.py new file mode 100644 index 000000000..feb5a130f --- /dev/null +++ b/org_frontier/studies/leftover_unit_follows_group_size/run.py @@ -0,0 +1,209 @@ +"""The leftover unit is log2(2^r / (2^r − 1)) when the leftover group has r people. + +Run from the repo root: python org_frontier/studies/leftover_unit_follows_group_size/run.py [--quick] [--write] +Hypotheses are fixed in hypotheses.md (commit d69aada8). Builds on off_score_is_listener_count. +""" +import argparse +import json +import math +import os +import sys +import time +from importlib.metadata import version +from pathlib import Path + +ROOT = Path(__file__).resolve().parents[3] +sys.path.insert(0, str(ROOT)) +os.environ.setdefault("PYPHI_WELCOME_OFF", "true") + +import pyphi # noqa: E402 +from pyphi import new_big_phi # noqa: E402 + +from org_frontier.classifier.classifier import PHI_EPS, cm_from_rules, tpm_from_rules # noqa: E402 +from org_frontier.studies.listeners_matching_four import run as lm4 # noqa: E402 + +pyphi.config.PROGRESS_BARS = False +pyphi.config.PARALLEL = False + +CELLS = ((0, 0), (0, 1), (1, 0), (1, 1)) +XOR_TABLE = (0, 1, 1, 0) +HYPOTHESES_COMMIT = "d69aada8c747cb5c1d8044e5d5e05e0687f6a243" + + +def xor_listener(i, a): + return lambda s, i=i, a=a: XOR_TABLE[CELLS.index((s[i], s[a]))] + + +def build(k, m): + """k AND-rule platforms, m XOR listeners on the first m platforms.""" + if not (1 <= m <= k): + raise ValueError(f"need 1 <= m <= k, got k={k}, m={m}") + labels = tuple(f"P{i + 1}" for i in range(k)) + ("A",) + tuple(f"E{i + 1}" for i in range(m)) + a = k + rules = [] + for i in range(k): + reads = [a] + [j for j in range(k) if j != i] + if i < m: + reads.append(k + 1 + i) + rules.append((lambda r: lambda s: int(all(s[x] for x in r)))(reads)) + rules.append(lambda s, k=k: int(all(s[x] for x in range(k)))) + for i in range(m): + rules.append(xor_listener(i, a)) + n = len(rules) + state = (1,) * k + (1,) + (0,) * m + net = pyphi.Network(tpm_from_rules(rules, n), cm=cm_from_rules(rules, n), node_labels=labels) + return pyphi.Subsystem(net, state, tuple(range(n))), labels, n, state + + +def scan(sub, labels, n, state): + sii = new_big_phi.system_intrinsic_information(sub) + plist = list(new_big_phi.system_partitions(tuple(range(n)), node_labels=sub.node_labels)) + t0 = time.time() + rows = [] + for p in plist: + e = new_big_phi.evaluate_partition(p, sub, sii) + rows.append((float(e.normalized_phi), float(e.phi))) + mn = min(r[0] for r in rows) + tied = [i for i, r in enumerate(rows) if abs(r[0] - mn) < PHI_EPS] + best = min(tied, key=lambda i: -rows[i][1]) + parts = sorted(sorted(labels[i] for i in q) for q in plist[best].parts) + return dict( + state=list(state), + n=n, + n_partitions=len(rows), + seconds=round(time.time() - t0, 3), + min_normalized=mn, + n_at_min=len(tied), + chosen_raw_phi=rows[best][1], + chosen_parts=parts, + ) + + +def singletons(r): + return {p[0] for p in r["chosen_parts"] if len(p) == 1} + + +def phi_ok(r, expected): + return abs(r["chosen_raw_phi"] - expected) <= 1e-9 + + +def main(): + ap = argparse.ArgumentParser(description=__doc__) + ap.add_argument("--quick", action="store_true") + ap.add_argument("--write", action="store_true") + args = ap.parse_args() + + c = lm4.whole_phi_all_ones((2, "AND", "P1")) + if abs(c["whole_phi_all_ones"] - 2.0) > 1e-9: + raise SystemExit(f"control failed: m=2 AND-rule all-ones whole φ {c['whole_phi_all_ones']}") + print("C1 m=2 AND-rule listeners, all-ones whole φ is 2.0: PASS", flush=True) + if args.quick: + return + + out = Path(__file__).with_name("results") + if args.write: + out.mkdir(exist_ok=True) + res = {} + + # C2: published k=2, m=2 + sub, labels, n, state = build(2, 2) + r = scan(sub, labels, n, state) + r.update(k=2, m=2, r_leftover=3, rules=["XOR", "XOR"]) + res["k2_m2_XOR_reproduction"] = r + if not phi_ok(r, 2 * math.log2(8 / 7)) or not ({"P1", "P2"} <= singletons(r)): + raise SystemExit(f"control failed: k=2 two XOR {r}") + print( + f"C2 k=2 two XOR listeners-off whole φ is 2×log2(8/7), isolates P1,P2: " + f"PASS φ={r['chosen_raw_phi']:.12f} parts={r['chosen_parts']}", + flush=True, + ) + if args.write: + (out / "partial.json").write_text(json.dumps(res, indent=1) + "\n") + + # C3: published k=3, m=1 + sub, labels, n, state = build(3, 1) + r = scan(sub, labels, n, state) + r.update(k=3, m=1, r_leftover=4, rules=["XOR"]) + res["k3_m1_XOR_reproduction"] = r + if not phi_ok(r, math.log2(16 / 15)) or "P1" not in singletons(r) or ({"P2", "P3"} & singletons(r)): + raise SystemExit(f"control failed: k=3 one XOR {r}") + print( + f"C3 k=3 one XOR listeners-off whole φ is log2(16/15), isolates only P1: " + f"PASS φ={r['chosen_raw_phi']:.12f} parts={r['chosen_parts']}", + flush=True, + ) + if args.write: + (out / "partial.json").write_text(json.dumps(res, indent=1) + "\n") + + # H1: k=1, m=1, r=2 + sub, labels, n, state = build(1, 1) + r = scan(sub, labels, n, state) + r.update(k=1, m=1, r_leftover=2, rules=["XOR"]) + res["k1_m1_XOR"] = r + h1 = phi_ok(r, math.log2(4 / 3)) and "P1" in singletons(r) and not ({"A", "E1"} & singletons(r)) + print( + f"H1 k1_m1_XOR {r['seconds']}s φ={r['chosen_raw_phi']:.12f} " + f"expect={math.log2(4 / 3):.12f} {'ok' if h1 else 'MISS'} parts={r['chosen_parts']} " + f"singletons={sorted(singletons(r))} ties={r['n_at_min']}", + flush=True, + ) + if args.write: + (out / "partial.json").write_text(json.dumps(res, indent=1) + "\n") + + # H2: k=4, m=1, r=5 + sub, labels, n, state = build(4, 1) + r = scan(sub, labels, n, state) + r.update(k=4, m=1, r_leftover=5, rules=["XOR"]) + res["k4_m1_XOR"] = r + h2 = ( + phi_ok(r, math.log2(32 / 31)) + and "P1" in singletons(r) + and not ({"P2", "P3", "P4"} & singletons(r)) + ) + print( + f"H2 k4_m1_XOR {r['seconds']}s φ={r['chosen_raw_phi']:.12f} " + f"expect={math.log2(32 / 31):.12f} {'ok' if h2 else 'MISS'} parts={r['chosen_parts']} " + f"singletons={sorted(singletons(r))} ties={r['n_at_min']}", + flush=True, + ) + if args.write: + (out / "partial.json").write_text(json.dumps(res, indent=1) + "\n") + + # H3: k=4, m=2, r=5 + sub, labels, n, state = build(4, 2) + r = scan(sub, labels, n, state) + r.update(k=4, m=2, r_leftover=5, rules=["XOR", "XOR"]) + res["k4_m2_XOR"] = r + h3 = ( + phi_ok(r, 2 * math.log2(32 / 31)) + and {"P1", "P2"} <= singletons(r) + and not ({"P3", "P4"} & singletons(r)) + ) + print( + f"H3 k4_m2_XOR {r['seconds']}s φ={r['chosen_raw_phi']:.12f} " + f"expect={2 * math.log2(32 / 31):.12f} {'ok' if h3 else 'MISS'} parts={r['chosen_parts']} " + f"singletons={sorted(singletons(r))} ties={r['n_at_min']}", + flush=True, + ) + + scores = {"H1": h1, "H2": h2, "H3": h3} + for h, v in scores.items(): + print(f"{h}: {'SUPPORTED' if v else 'REFUTED'}") + if args.write: + (out / "results.json").write_text( + json.dumps( + dict( + pyphi_version=version("pyphi"), + phi_eps=PHI_EPS, + hypotheses_commit=HYPOTHESES_COMMIT, + hypotheses={h: "SUPPORTED" if v else "REFUTED" for h, v in scores.items()}, + systems=res, + ), + indent=1, + ) + + "\n" + ) + + +if __name__ == "__main__": + main() From 72275da45880e87d30a16ff3781990b7678869e1 Mon Sep 17 00:00:00 2001 From: Roger Hunt Date: Mon, 30 Nov 2026 14:29:51 -0500 Subject: [PATCH 2/6] leftover_unit_follows_group_size: backlog, init, and results --- .../BACKLOG.md | 7 + .../__init__.py | 0 .../results/results.json | 180 ++++++++++++++++++ .../results/run_output.txt | 9 + 4 files changed, 196 insertions(+) create mode 100644 org_frontier/studies/leftover_unit_follows_group_size/BACKLOG.md create mode 100644 org_frontier/studies/leftover_unit_follows_group_size/__init__.py create mode 100644 org_frontier/studies/leftover_unit_follows_group_size/results/results.json create mode 100644 org_frontier/studies/leftover_unit_follows_group_size/results/run_output.txt diff --git a/org_frontier/studies/leftover_unit_follows_group_size/BACKLOG.md b/org_frontier/studies/leftover_unit_follows_group_size/BACKLOG.md new file mode 100644 index 000000000..ed1b01203 --- /dev/null +++ b/org_frontier/studies/leftover_unit_follows_group_size/BACKLOG.md @@ -0,0 +1,7 @@ +# Experiment backlog after leftover_unit_follows_group_size + +1. Repeat the leftover-unit test with NAND, not-A, or platform-and-not-A listeners, not only XOR. +2. Derive why the outgoing-only cause φ equals the number of platforms and cutting both ways equals twice that (seen at k = 2, 3, and 4, and in mixed Family B partners). Those were not part of this study. +3. A listener whose platform reader is not an AND rule; the all-zeros fixed point; eight-node subsystem search; listeners that read each other; put a Family A listener at E2 or E3. + +Status: none of these has been started yet. diff --git a/org_frontier/studies/leftover_unit_follows_group_size/__init__.py b/org_frontier/studies/leftover_unit_follows_group_size/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/org_frontier/studies/leftover_unit_follows_group_size/results/results.json b/org_frontier/studies/leftover_unit_follows_group_size/results/results.json new file mode 100644 index 000000000..40d235795 --- /dev/null +++ b/org_frontier/studies/leftover_unit_follows_group_size/results/results.json @@ -0,0 +1,180 @@ +{ + "pyphi_version": "1.2.1.dev1470+gb78d0e342", + "phi_eps": 1e-09, + "hypotheses_commit": "d69aada8c747cb5c1d8044e5d5e05e0687f6a243", + "hypotheses": { + "H1": "SUPPORTED", + "H2": "SUPPORTED", + "H3": "SUPPORTED" + }, + "systems": { + "k2_m2_XOR_reproduction": { + "state": [ + 1, + 1, + 1, + 0, + 0 + ], + "n": 5, + "n_partitions": 1061, + "seconds": 1.167, + "min_normalized": 0.048161269485598956, + "n_at_min": 3, + "chosen_raw_phi": 0.38529015588479165, + "chosen_parts": [ + [ + "A", + "E1", + "E2" + ], + [ + "P1" + ], + [ + "P2" + ] + ], + "k": 2, + "m": 2, + "r_leftover": 3, + "rules": [ + "XOR", + "XOR" + ] + }, + "k3_m1_XOR_reproduction": { + "state": [ + 1, + 1, + 1, + 1, + 0 + ], + "n": 5, + "n_partitions": 1061, + "seconds": 1.15, + "min_normalized": 0.023277351097870363, + "n_at_min": 1, + "chosen_raw_phi": 0.09310940439148145, + "chosen_parts": [ + [ + "A", + "E1", + "P2", + "P3" + ], + [ + "P1" + ] + ], + "k": 3, + "m": 1, + "r_leftover": 4, + "rules": [ + "XOR" + ] + }, + "k1_m1_XOR": { + "state": [ + 1, + 1, + 0 + ], + "n": 3, + "n_partitions": 22, + "seconds": 0.017, + "min_normalized": 0.20751874963942188, + "n_at_min": 1, + "chosen_raw_phi": 0.41503749927884376, + "chosen_parts": [ + [ + "A", + "E1" + ], + [ + "P1" + ] + ], + "k": 1, + "m": 1, + "r_leftover": 2, + "rules": [ + "XOR" + ] + }, + "k4_m1_XOR": { + "state": [ + 1, + 1, + 1, + 1, + 1, + 0 + ], + "n": 6, + "n_partitions": 7896, + "seconds": 10.11, + "min_normalized": 0.00916073792262495, + "n_at_min": 1, + "chosen_raw_phi": 0.045803689613124754, + "chosen_parts": [ + [ + "A", + "E1", + "P2", + "P3", + "P4" + ], + [ + "P1" + ] + ], + "k": 4, + "m": 1, + "r_leftover": 5, + "rules": [ + "XOR" + ] + }, + "k4_m2_XOR": { + "state": [ + 1, + 1, + 1, + 1, + 1, + 0, + 0 + ], + "n": 7, + "n_partitions": 61888, + "seconds": 98.052, + "min_normalized": 0.007633948268854125, + "n_at_min": 3, + "chosen_raw_phi": 0.09160737922624972, + "chosen_parts": [ + [ + "A", + "E1", + "E2", + "P3", + "P4" + ], + [ + "P1" + ], + [ + "P2" + ] + ], + "k": 4, + "m": 2, + "r_leftover": 5, + "rules": [ + "XOR", + "XOR" + ] + } + } +} diff --git a/org_frontier/studies/leftover_unit_follows_group_size/results/run_output.txt b/org_frontier/studies/leftover_unit_follows_group_size/results/run_output.txt new file mode 100644 index 000000000..b4914a2ed --- /dev/null +++ b/org_frontier/studies/leftover_unit_follows_group_size/results/run_output.txt @@ -0,0 +1,9 @@ +C1 m=2 AND-rule listeners, all-ones whole φ is 2.0: PASS +C2 k=2 two XOR listeners-off whole φ is 2×log2(8/7), isolates P1,P2: PASS φ=0.385290155885 parts=[['A', 'E1', 'E2'], ['P1'], ['P2']] +C3 k=3 one XOR listeners-off whole φ is log2(16/15), isolates only P1: PASS φ=0.093109404391 parts=[['A', 'E1', 'P2', 'P3'], ['P1']] +H1 k1_m1_XOR 0.017s φ=0.415037499279 expect=0.415037499279 ok parts=[['A', 'E1'], ['P1']] singletons=['P1'] ties=1 +H2 k4_m1_XOR 10.11s φ=0.045803689613 expect=0.045803689613 ok parts=[['A', 'E1', 'P2', 'P3', 'P4'], ['P1']] singletons=['P1'] ties=1 +H3 k4_m2_XOR 98.052s φ=0.091607379226 expect=0.091607379226 ok parts=[['A', 'E1', 'E2', 'P3', 'P4'], ['P1'], ['P2']] singletons=['P1', 'P2'] ties=3 +H1: SUPPORTED +H2: SUPPORTED +H3: SUPPORTED From da75b6c601db4994f5e98b2cc819fb41b389013a Mon Sep 17 00:00:00 2001 From: Roger Hunt Date: Mon, 30 Nov 2026 14:30:38 -0500 Subject: [PATCH 3/6] leftover_unit_follows_group_size: post and CI/Substack registration --- ci/reproduce.json | 9 +++++++++ ...ftover-unit-follows-the-size-of-the-leftover-group.md | 9 +++++++++ substack/experiments/README.md | 1 + 3 files changed, 19 insertions(+) create mode 100644 substack/experiments/2026-11-30-the-leftover-unit-follows-the-size-of-the-leftover-group.md diff --git a/ci/reproduce.json b/ci/reproduce.json index 67d4429e5..bd2cf8bd8 100644 --- a/ci/reproduce.json +++ b/ci/reproduce.json @@ -6468,6 +6468,15 @@ "timeout": 120, "source": "org_frontier/studies/shared_share_ties/FINDINGS.md" }, + { + "name": "leftover-unit-follows-group-size", + "cmd": "python org_frontier/studies/leftover_unit_follows_group_size/run.py --quick", + "expect": [ + "C1 m=2 AND-rule listeners, all-ones whole φ is 2.0: PASS" + ], + "timeout": 300, + "source": "org_frontier/studies/leftover_unit_follows_group_size/FINDINGS.md" + }, { "name": "five-six-node-quorum-ties", "cmd": "python org_frontier/studies/five_six_node_quorum_ties/run.py --quick", diff --git a/substack/experiments/2026-11-30-the-leftover-unit-follows-the-size-of-the-leftover-group.md b/substack/experiments/2026-11-30-the-leftover-unit-follows-the-size-of-the-leftover-group.md new file mode 100644 index 000000000..583d654a4 --- /dev/null +++ b/substack/experiments/2026-11-30-the-leftover-unit-follows-the-size-of-the-leftover-group.md @@ -0,0 +1,9 @@ +# The leftover unit follows the size of the leftover group + +In the last post, dropping from three off-listeners to two, then to one, shrank the leftover score with the number of listeners, but only while there were still three platforms. With two platforms the cheapest cut still isolated both platforms, yet the score was larger than two times the same unit. After that run, the two units were log2(16/15) when four people were left together, and log2(8/7) when three were left together. That pattern was not predicted. This post derives it and tests it at two leftover sizes that had not been scored. + +I wrote the derivation down before scoring any leftover group of a new size. The cheapest cut isolates the platforms that have an off-listener and leaves a leftover group of r people. The next state is fixed: those platforms go off, and the leftover group stays as it is. The cut blocks only incoming links to the isolated platforms. Each of those platforms is an AND of r inputs, all of them now unconstrained, so the chance it still goes off is (2^r − 1) / 2^r. With m such platforms, the chance the predicted next state still happens is that fraction to the power m, and the score is m × log2(2^r / (2^r − 1)). + +With one platform and one XOR listener, the leftover group has two people, and the score was log2(4/3), about 0.415037, with the cheapest cut isolating only that platform. With four platforms and one XOR listener, the leftover group has five people, and the score was log2(32/31), about 0.045804, isolating only the platform that had a listener. With four platforms and two XOR listeners, the leftover group still has five people, and the score was twice that, about 0.091607, isolating the two platforms that had listeners. All three predictions held. No prediction failed. + +This is still the listeners-off state, XOR listeners, and the same kind of platform rule. The score is integrated information Φ (IIT 4.0, computed exactly with PyPhi). It says nothing about being alive or aware. diff --git a/substack/experiments/README.md b/substack/experiments/README.md index 7bea68bfc..c08776781 100644 --- a/substack/experiments/README.md +++ b/substack/experiments/README.md @@ -109,6 +109,7 @@ every number in it. | 2026-11-30 | [Mixing the off-listener rules](2026-11-30-mixing-the-off-listener-rules.md) | [`org_frontier/studies/listener_zero_families/`](../../org_frontier/studies/listener_zero_families/) | | 2026-11-28 | [The straight line fails at two voters: the switch is at 0.409, not 0.402](2026-11-28-the-line-that-failed-at-two-voters.md) | [`org_frontier/studies/or2_switch_test/`](../../org_frontier/studies/or2_switch_test/) | | 2026-11-28 | [The spare-voter formula is about one cut, which is why it looked broken for "everyone must say yes"](2026-11-28-one-cut-not-the-answer.md) | [`org_frontier/studies/cut_level_cause_law/`](../../org_frontier/studies/cut_level_cause_law/) | +| 2026-11-30 | [The leftover unit follows the size of the leftover group](2026-11-30-the-leftover-unit-follows-the-size-of-the-leftover-group.md) | [`org_frontier/studies/leftover_unit_follows_group_size/`](../../org_frontier/studies/leftover_unit_follows_group_size/) | | 2026-11-28 | [A rule for which voting groups ignore missing votes: right for 22 of 24 checks on 12 fresh groups, wrong in a way that is still unexplained](2026-11-28-which-rules-stay-flat.md) | [`org_frontier/studies/flat_rule_holdout/`](../../org_frontier/studies/flat_rule_holdout/) | | 2026-11-28 | [The switch points, pinned down: 0.360, 0.325, 0.295 and 0.270 for 3, 4, 5 and 6 voters](2026-11-28-the-switch-pinned-down.md) | [`org_frontier/studies/swap_switch_point/`](../../org_frontier/studies/swap_switch_point/) | | 2026-11-28 | [The cheapest-listener rule on new mixes](2026-11-28-the-cheapest-listener-rule-on-new-mixes.md) | [`org_frontier/studies/tie_family_mixed/`](../../org_frontier/studies/tie_family_mixed/) | From 10b5d2372f506222538a2a71d6df514f28909c8b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 30 Nov 2026 19:31:53 +0000 Subject: [PATCH 4/6] docs: regenerate directory and research indexes --- MAP.md | 2 +- README.md | 1 + catalog.json | 13 ++++++++++++- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/MAP.md b/MAP.md index 5b8a9f333..a568b623a 100644 --- a/MAP.md +++ b/MAP.md @@ -98,7 +98,7 @@ Run the relevant generator after adding content, then verify with its `--check`. |---|---|---| | 171 | questions | `org_frontier/questions/q*_*/` | | 136 | probes | `org_frontier/probes/probe_*.py` | -| 406 | studies | `org_frontier/studies/*/` | +| 407 | studies | `org_frontier/studies/*/` | | 22 | essays | `org_frontier/essays/*.md` | | 9 | foundations experiments | `foundations/*/` with a `FINDINGS.md` | | 10 | literature reviews | `org_frontier/reviews/*/` with a `FINDINGS.md` | diff --git a/README.md b/README.md index 4cc3dd76c..ffe67f943 100644 --- a/README.md +++ b/README.md @@ -477,6 +477,7 @@ Multi-experiment batteries on one theme. - **[Why some whole-group scores are negative when the learner is on](org_frontier/studies/learner_on_negative_phi/README.md)** — Exact IIT 4.0 Φ (PyPhi pin `b78d0e342`), r = 0.1, two published L = 1 cells from `quota_ls_rule_L1_side` (state 00001; "and" e = 0.0 and "or" e = 0.5), six quota… - **[Parties that read the learner](org_frontier/studies/learner_readers/README.md)** — Exact IIT 4.0 Φ (PyPhi pin `b78d0e342`), every reachable subset in every reachable state. Hypotheses pushed in `664f82d3` - **[A coordinator that learns to trust](org_frontier/studies/learning_coordinator/README.md)** — Exact IIT 4.0 Φ (PyPhi pin `b78d0e342`), every reachable subset in every reachable state. Hypotheses pushed in +- **[leftover_unit_follows_group_size](org_frontier/studies/leftover_unit_follows_group_size/README.md)** — Hypotheses fixed in [hypotheses.md](org_frontier/studies/leftover_unit_follows_group_size/hypotheses.md) and committed (`d69aada8`, branch… - **[Why line networks stop at position 0 or 1](org_frontier/studies/line_position_one/README.md)** — Pinned PyPhi b78d0e342d37175cbd55cf35a6d52ae035b4c50f (`results.json` records 1.2.1.dev1470+gb78d0e342). 1,700 cells (grids in `hypotheses.md`) - **[Where the per-listener costs come from, and the no-OR branch](org_frontier/studies/listener_cost_derivation/README.md)** — Hypotheses fixed in [hypotheses.md](org_frontier/studies/listener_cost_derivation/hypotheses.md) and committed (f60c06df, branch `study/nov28-topo-batch19`) before… - **[Read the cut values of each listener isolation](org_frontier/studies/listener_cut_values/README.md)** — Hypotheses fixed in [hypotheses.md](org_frontier/studies/listener_cut_values/hypotheses.md) and committed (c71e0617, branch `study/nov28-topo-batch21`) before any… diff --git a/catalog.json b/catalog.json index 6590b24b3..4deba8a88 100644 --- a/catalog.json +++ b/catalog.json @@ -3,7 +3,7 @@ "counts": { "question": 171, "probe": 464, - "study": 405, + "study": 406, "foundations": 9, "open": 15 }, @@ -11125,6 +11125,17 @@ ], "runtime": "fast" }, + { + "kind": "study", + "id": "leftover_unit_follows_group_size", + "title": "leftover_unit_follows_group_size", + "finding": "Hypotheses fixed in [hypotheses.md](org_frontier/studies/leftover_unit_follows_group_size/hypotheses.md) and committed (`d69aada8`, branch `study/nov30-topo-batch31`) before any system with a leftover group of size other than 3 or 4 was built or scored in the listeners-off state. PyPhi IIT 4.0 (pin `b78d0e342`)", + "path": "org_frontier/studies/leftover_unit_follows_group_size", + "reproduce": [ + "python org_frontier/studies/leftover_unit_follows_group_size/run.py --quick" + ], + "runtime": "fast" + }, { "kind": "study", "id": "line_position_one", From 74f35c05dbad4323b28001596353eeb8c098469e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 30 Nov 2026 19:31:53 +0000 Subject: [PATCH 5/6] docs: pin atlas snapshot --- research-atlas/snapshot.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/research-atlas/snapshot.json b/research-atlas/snapshot.json index 7dfdd7009..43e2c0d8f 100644 --- a/research-atlas/snapshot.json +++ b/research-atlas/snapshot.json @@ -1,7 +1,7 @@ { - "revision": "eeea2f32afa4db53a9a11138e01f51afeb469d73", + "revision": "10b5d2372f506222538a2a71d6df514f28909c8b", "indexes": { - "catalog.json": "6590b24b34634f53c2c72d222699ef8c7864f220", + "catalog.json": "4deba8a882de2467e5e93d50521a04f0a398902c", "research-atlas/cards.json": "b049d417c6c9a693f4fa44a53237e3bc9bc4c31b" } } From 908bb497d3ae07de963425b2169f045d9e13503a Mon Sep 17 00:00:00 2001 From: Roger Hunt Date: Mon, 30 Nov 2026 14:33:24 -0500 Subject: [PATCH 6/6] leftover_unit_follows_group_size: nudge CI after atlas pin --- .../studies/leftover_unit_follows_group_size/BACKLOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/org_frontier/studies/leftover_unit_follows_group_size/BACKLOG.md b/org_frontier/studies/leftover_unit_follows_group_size/BACKLOG.md index ed1b01203..b6731a78b 100644 --- a/org_frontier/studies/leftover_unit_follows_group_size/BACKLOG.md +++ b/org_frontier/studies/leftover_unit_follows_group_size/BACKLOG.md @@ -5,3 +5,5 @@ 3. A listener whose platform reader is not an AND rule; the all-zeros fixed point; eight-node subsystem search; listeners that read each other; put a Family A listener at E2 or E3. Status: none of these has been started yet. + +Pinned head after regenerate: `74f35c05`.