From b9d66a4b505a5a6281a39b36a2b7cd9c1515589f Mon Sep 17 00:00:00 2001 From: Roger Hunt Date: Mon, 30 Nov 2026 16:27:56 -0500 Subject: [PATCH 1/5] outgoing_effect_is_one: pre-register hypotheses for the forward-looking score of 1 Predictions are fixed here before any new directed cut is scored for this question, and before any one-platform, all-NAND, {P2, E2}, or six-platform free-cut system is built. --- .../outgoing_effect_is_one/hypotheses.md | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 org_frontier/studies/outgoing_effect_is_one/hypotheses.md diff --git a/org_frontier/studies/outgoing_effect_is_one/hypotheses.md b/org_frontier/studies/outgoing_effect_is_one/hypotheses.md new file mode 100644 index 000000000..9e94c8219 --- /dev/null +++ b/org_frontier/studies/outgoing_effect_is_one/hypotheses.md @@ -0,0 +1,48 @@ +# Hypotheses: looking forward, the outgoing and both-ways cuts cost 1 + +Fixed before any new directed cut is scored for this forward-looking question, and before any one-platform free-cut system, any all-NAND three-platform free-cut system, any four-platform cut of {P2, E2}, or any six-platform free-cut system is built or scored. Written 2026-11-30. + +## Gap + +`outgoing_cause_is_platform_count` derived the backward-looking scores of the outgoing-only and both-ways cuts (k and 2k). After those runs, and after the already-run two-, three-, four-, and five-platform free-cut systems, the same outgoing-only and both-ways cuts had effect φ = 1 and partitioned effect Pr 1/2, and the incoming-only cut had effect φ = 0. Those forward-looking numbers were not predicted, and they have not been tested at one or six platforms, with all-NAND listeners, or on the cut of a later pair {P2, E2}. + +## Peek (disclosed) + +This peek looks only at already-run free-cut systems: two, three, and four platforms, with a NOR listener at E1 and XOR partners, already scored in `cause_scale_with_platforms` and `outgoing_cause_is_platform_count`. No one-platform or six-platform free-cut system has been built. No all-NAND three-platform system has been built. The cut of {P2, E2} has not been scored for this question. + +In each of those already-run systems, the specified next state has every platform off, the hub on, and every listener off. The intact effect Forward Pr of that state is 1. The outgoing-only cut of {P1, E1} against the rest has partitioned effect Pr 1/2 and effect φ = 1. Cutting both ways has the same partitioned effect Pr 1/2 and the same effect φ = 1. The incoming-only cut has partitioned effect Pr 1 and effect φ = 0. + +## Derivation (written before any new system is scored) + +The current state is listeners-off and all-ones on the platforms and the hub. Each platform is an AND of the hub, the other platforms, and its own listener. That listener is off, so every platform goes off next, no matter what the other inputs do. The hub is the AND of the current platforms, which are all on, so the hub stays on. Each listener reads only its own platform and the hub, both currently on, so each leftover Family A or Family B rule in this family stays off. The specified next state is therefore all platforms off, hub on, listeners off, with probability 1. + +The outgoing-only cut of {P1, E1} against the rest blocks the links from P1 into the hub and the other platforms. The hub is the AND of all k platforms. After the cut, the hub's input from P1 is unconstrained, and the other k − 1 platforms are still seen as on, so the hub is on with probability 1/2. Every platform still goes off, because each still reads its own off listener (or, for P1, its own off listener, whose incoming links are not blocked by an outgoing-only cut). The other listeners do not read P1, so they stay off. The only specified-on person whose next value is noised is the hub, so the partitioned probability of the specified next state is 1/2, and the forward-looking score is 1. + +Cutting both ways also blocks P1 into the hub, so the same 1/2 and the same score of 1. The incoming-only cut does not block P1 into the hub, so the hub stays certain and the forward-looking score is 0. + +This argument uses only that the platforms and the hub are AND-rules, that every platform has its own off listener in its AND, and that listeners read only their own platform and the hub. It does not use the number of platforms, which listener rule is used, or whether the cut pair is {P1, E1} or a later pair {Pi, Ei}: cutting the outgoing links of any one platform still noises exactly one input into the hub. So it should hold at one platform, at six platforms if that system is computable, with all-NAND listeners, and on the cut of {P2, E2}. + +## Computability + +A six-platform free-cut system has 13 people. Only the three directed cuts are scored, but the intact system information may be slow. If that intact calculation does not return in 30 minutes, H3 is marked not computable and is not counted as a test. The one-platform, all-NAND, and {P2, E2} systems are small and are scored in any case. + +## Systems + +All tests are the three directed cuts of one listener-and-platform pair against the rest (incoming-only, outgoing-only, and both ways). No new full partition scan. + +(1) k = 1 platform, one NOR listener. Nodes (P1, A, E1). State (1, 1, 0). Cuts of {P1, E1} against the rest. + +(2) k = 3 platforms, listeners (NAND, NAND, NAND). Nodes (P1, P2, P3, A, E1, E2, E3). State (1, 1, 1, 1, 0, 0, 0). Cuts of {P1, E1} against the rest. + +(3) k = 4 platforms, listeners (NOR, XOR, XOR, XOR). Nodes (P1, P2, P3, P4, A, E1, E2, E3, E4). State (1, 1, 1, 1, 1, 0, 0, 0, 0). Cuts of {P2, E2} against the rest, not of {P1, E1}. + +(4) k = 6 platforms, listeners (NOR, XOR, XOR, XOR, XOR, XOR). Nodes (P1..P6, A, E1..E6). State (1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0). Cuts of {P1, E1} against the rest, if computable as above. + +Controls: m = 2 AND-rule listeners, all-ones whole φ 2.0; the already-run k = 3 S3 system (XOR, XOR, NOR) incoming-only cause φ = 3, raw φ = 0, and effect φ = 0 (to 1e-9). Stop as written if either fails. The S3 incoming-only control is a reproduction, not a new test. + +## Predictions + +- H1: in system (1), the outgoing-only and both-ways cuts have effect φ = 1, and the incoming-only cut has effect φ = 0 (to 1e-9). +- H2: in system (2), the outgoing-only and both-ways cuts have effect φ = 1, and the incoming-only cut has effect φ = 0 (to 1e-9). +- H3: in system (3), the outgoing-only and both-ways cuts of {P2, E2} have effect φ = 1, and the incoming-only cut of that pair has effect φ = 0 (to 1e-9). +- H4: if system (4) is computable, the outgoing-only and both-ways cuts have effect φ = 1, and the incoming-only cut has effect φ = 0 (to 1e-9). If it is not computable, H4 is not counted as a test. From 4c535e311a322fd5ba1bf5d40b7d672610536cfd Mon Sep 17 00:00:00 2001 From: Roger Hunt Date: Mon, 30 Nov 2026 16:28:14 -0500 Subject: [PATCH 2/5] outgoing_effect_is_one: outgoing effect is 1; incoming and both-ways are not always MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit H1 supported. H2 and H3 refuted: with all-NAND listeners, and on the cut of a later XOR pair, incoming-only effect φ is 1 and both-ways effect φ is 2. H4 at six platforms was not computable in the pre-registered 30-minute cap. The outgoing-only score of 1 held in every scored system. Hypotheses were committed in 2a858301 before any new system was scored. --- ci/reproduce.json | 9 + .../studies/outgoing_effect_is_one/BACKLOG.md | 9 + .../outgoing_effect_is_one/FINDINGS.md | 24 ++ .../studies/outgoing_effect_is_one/README.md | 12 + .../studies/outgoing_effect_is_one/post.md | 15 + .../results/results.json | 372 ++++++++++++++++++ .../studies/outgoing_effect_is_one/run.py | 289 ++++++++++++++ ...-outgoing-cut-costs-one-looking-forward.md | 15 + substack/experiments/README.md | 1 + 9 files changed, 746 insertions(+) create mode 100644 org_frontier/studies/outgoing_effect_is_one/BACKLOG.md create mode 100644 org_frontier/studies/outgoing_effect_is_one/FINDINGS.md create mode 100644 org_frontier/studies/outgoing_effect_is_one/README.md create mode 100644 org_frontier/studies/outgoing_effect_is_one/post.md create mode 100644 org_frontier/studies/outgoing_effect_is_one/results/results.json create mode 100644 org_frontier/studies/outgoing_effect_is_one/run.py create mode 100644 substack/experiments/2026-11-30-the-outgoing-cut-costs-one-looking-forward.md diff --git a/ci/reproduce.json b/ci/reproduce.json index fe1cc985c..b76158754 100644 --- a/ci/reproduce.json +++ b/ci/reproduce.json @@ -10516,6 +10516,15 @@ "expect": "(2,1) and e=0.0 state=00001 full-group phi=-0.162124 mip=0000100001000010000111110 incoming_phi=0.000000", "timeout": 120, "source": "org_frontier/studies/why_allon_zero/FINDINGS.md" + }, + { + "name": "outgoing-effect-is-one", + "cmd": "python org_frontier/studies/outgoing_effect_is_one/run.py --quick", + "expect": [ + "C1 m=2 AND-rule listeners, all-ones whole \u03c6 is 2.0: PASS" + ], + "timeout": 300, + "source": "org_frontier/studies/outgoing_effect_is_one/FINDINGS.md" } ] } diff --git a/org_frontier/studies/outgoing_effect_is_one/BACKLOG.md b/org_frontier/studies/outgoing_effect_is_one/BACKLOG.md new file mode 100644 index 000000000..96fdc961d --- /dev/null +++ b/org_frontier/studies/outgoing_effect_is_one/BACKLOG.md @@ -0,0 +1,9 @@ +# Experiment backlog after outgoing_effect_is_one + +1. Derive and test the incoming-only and both-ways forward-looking scores when the cut listener's next value depends on the hub (NAND, XOR, and the other leftover Family B rules), now that those scores have been seen to be 1 and 2 rather than 0 and 1. +2. The six-platform free-cut intact calculation was not computable in 30 minutes; a longer cap, or a smaller six-platform peel with fewer listeners, is still open. +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. + +Status: none of these has been started yet. + +Pinned head after regenerate: `PLACEHOLDER`. diff --git a/org_frontier/studies/outgoing_effect_is_one/FINDINGS.md b/org_frontier/studies/outgoing_effect_is_one/FINDINGS.md new file mode 100644 index 000000000..a2f00508c --- /dev/null +++ b/org_frontier/studies/outgoing_effect_is_one/FINDINGS.md @@ -0,0 +1,24 @@ +# Findings: looking forward, the outgoing cut costs 1; the incoming and both-ways cuts do not always + +Hypotheses fixed in [hypotheses.md](hypotheses.md) and committed (`2a858301`, branch `study/nov30-topo-batch37`) before any new directed cut was scored for this forward-looking question, and before any one-platform free-cut system, any all-NAND three-platform free-cut system, any four-platform cut of {P2, E2}, or any six-platform free-cut system was built or scored. PyPhi IIT 4.0 (pin `b78d0e342`). +Controls passed (m = 2 AND-rule listeners, all-ones whole φ 2.0; the already-run k = 3 S3 system (XOR, XOR, NOR) incoming-only cause φ = 3, raw φ = 0, and effect φ = 0 to 1e-9). The run was done once. The S3 incoming-only control was a reproduction and was not counted as a new test. + +## Hypotheses + +- H1 (k = 1, one NOR listener, cuts of {P1, E1}: outgoing-only and both-ways effect φ = 1, incoming-only effect φ = 0, to 1e-9): **SUPPORTED**. Outgoing-only effect φ = 1.0, partitioned effect Pr = 0.5. Both-ways effect φ = 1.0, partitioned effect Pr = 0.5. Incoming-only effect φ = 0.0, partitioned effect Pr = 1.0. Specified next state (0, 1, 0). Intact calculation 0.002s; cuts 0.003s. +- H2 (k = 3, listeners (NAND, NAND, NAND), cuts of {P1, E1}: same effect scores as H1): **REFUTED**. Outgoing-only effect φ = 1.0, partitioned effect Pr = 0.5, as predicted. Incoming-only effect φ = 1.0, partitioned effect Pr = 0.5 (predicted 0 and 1). Both-ways effect φ = 2.0, partitioned effect Pr = 0.25 (predicted 1 and 1/2). Specified next state (0, 0, 0, 1, 0, 0, 0). Intact calculation 0.595s; cuts 0.006s. +- H3 (k = 4, listeners (NOR, XOR, XOR, XOR), cuts of {P2, E2}: same effect scores as H1): **REFUTED**. Outgoing-only effect φ = 1.0, partitioned effect Pr = 0.5, as predicted. Incoming-only effect φ = 1.0, partitioned effect Pr = 0.5. Both-ways effect φ = 2.0, partitioned effect Pr = 0.25. Specified next state (0, 0, 0, 0, 1, 0, 0, 0, 0). Intact calculation 13.762s; cuts 0.01s. +- H4 (k = 6, listeners (NOR, XOR, XOR, XOR, XOR, XOR), cuts of {P1, E1}, if the intact calculation returned in 30 minutes): **NOT COMPUTABLE**. The intact calculation was stopped at the pre-registered 30-minute cap and was not counted as a test. + +## What this does and does not show + +- The outgoing-only forward-looking score was 1 in every system that was scored. That half of the derivation held: the outgoing cut noises one hub input, the hub is on next with probability 1/2, and the platforms still go off because each still reads its own off listener. +- The incoming-only and both-ways predictions failed as soon as the cut listener's next value depends on the hub. After the run: an incoming cut also noises the hub's link into the cut listener. A NOR listener that already sees its platform on stays off no matter what the hub does, so incoming-only still scores 0 and both-ways still scores 1 (as in H1, and as in the already-run NOR-at-E1 peeks). A NAND or XOR listener in the same situation is off only half the time, so incoming-only scores 1 and both-ways scores 2. That dependence was not in the pre-registered derivation. +- The six-platform free-cut intact calculation was not computable in 30 minutes. No six-platform forward-looking score is reported here. + +## Reproduce + +``` +python org_frontier/studies/outgoing_effect_is_one/run.py --write +python org_frontier/studies/outgoing_effect_is_one/run.py --quick +``` diff --git a/org_frontier/studies/outgoing_effect_is_one/README.md b/org_frontier/studies/outgoing_effect_is_one/README.md new file mode 100644 index 000000000..fef17c26d --- /dev/null +++ b/org_frontier/studies/outgoing_effect_is_one/README.md @@ -0,0 +1,12 @@ +# outgoing_effect_is_one + +Whether the outgoing-only and both-ways directed cuts have forward-looking score 1. + +Hypotheses were fixed in [hypotheses.md](hypotheses.md) (commit `2a858301`) before any new cut was scored for this question. Builds on `outgoing_cause_is_platform_count`. PyPhi IIT 4.0 (pin `b78d0e342`). + +H1 was supported. H2 and H3 were refuted. H4 was not computable in the pre-registered 30-minute cap. The outgoing-only cut had effect φ = 1 in every scored system. The incoming-only and both-ways cuts had effect φ = 0 and 1 only for the one-platform NOR listener; with all-NAND listeners, and with the cut of a later XOR pair, they scored 1 and 2. + +``` +python org_frontier/studies/outgoing_effect_is_one/run.py --write +python org_frontier/studies/outgoing_effect_is_one/run.py --quick +``` diff --git a/org_frontier/studies/outgoing_effect_is_one/post.md b/org_frontier/studies/outgoing_effect_is_one/post.md new file mode 100644 index 000000000..023573f99 --- /dev/null +++ b/org_frontier/studies/outgoing_effect_is_one/post.md @@ -0,0 +1,15 @@ +# The outgoing cut costs one looking forward + +One prediction held, two were refuted, and one was not computable. + +Earlier posts found that, looking backward, cutting a listener and its platform costs the number of platforms. After those runs, looking forward, the outgoing-only cut and the both-ways cut had scored 1, and the incoming-only cut had scored 0. Those forward-looking numbers were not predicted. + +I looked first at the already-run two-, three-, and four-platform systems, and I wrote that peek down before scoring any new case. In those systems the specified next state has every platform off and the hub on. The outgoing cut noises the cut platform's link into the hub, so the hub is on next with probability 1/2, and the forward-looking score is 1. I predicted the same scores at one platform, with all-NAND listeners, on the cut of a later pair, and at six platforms if that calculation finished in time. + +The outgoing-only score of 1 held in every case I could score. With one platform and a NOR listener, the incoming-only score was 0 and the both-ways score was 1, as predicted. With three platforms and all NAND listeners, and with four platforms when I cut a later pair whose listener is XOR, those two scores were not 0 and 1. They were 1 and 2. The leftover chance after an incoming-only cut was 1/2, not 1, and after a both-ways cut it was 1/4, not 1/2. + +After the run, the difference is visible in the listener rule. An incoming cut also noises the hub's link into the cut listener. A NOR listener that already sees its platform on stays off no matter what the hub does. A NAND or XOR listener in the same situation is off only half the time, so the incoming cut costs 1 and cutting both ways costs 2. I did not write that dependence down before the run. + +The six-platform system was not computable in the 30-minute cap I had written down in advance, so that prediction was not counted. + +This is still the listeners-off state 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/org_frontier/studies/outgoing_effect_is_one/results/results.json b/org_frontier/studies/outgoing_effect_is_one/results/results.json new file mode 100644 index 000000000..263ea7ce0 --- /dev/null +++ b/org_frontier/studies/outgoing_effect_is_one/results/results.json @@ -0,0 +1,372 @@ +{ + "pyphi_version": "1.2.1.dev1470+gb78d0e342", + "phi_eps": 1e-09, + "hypotheses_commit": "2a858301798b0634c6e23af1cafb7a526dc7ec94", + "hypotheses": { + "H1": "SUPPORTED", + "H2": "REFUTED", + "H3": "REFUTED", + "H4": "NOT COMPUTABLE" + }, + "systems": { + "k3_S3_reproduction": { + "k": 3, + "rules": [ + "XOR", + "XOR", + "NOR" + ], + "place": 2, + "pair": [ + "P3", + "E3" + ], + "state": [ + 1, + 1, + 1, + 1, + 0, + 0, + 0 + ], + "specified_effect": [ + 0, + 0, + 0, + 1, + 0, + 0, + 0 + ], + "n": 7, + "sii_seconds": 0.599, + "seconds": 0.006, + "directed": [ + { + "direction": "incoming", + "raw_phi": 0.0, + "normalized": 0.0, + "cause_phi": 3.0, + "effect_phi": 0.0, + "effect_forward_pr": 1.0, + "effect_partitioned_pr": 1.0 + }, + { + "direction": "outgoing", + "raw_phi": 1.0, + "normalized": 0.1, + "cause_phi": 3.0, + "effect_phi": 1.0, + "effect_forward_pr": 1.0, + "effect_partitioned_pr": 0.5 + }, + { + "direction": "both", + "raw_phi": 1.0, + "normalized": 0.05, + "cause_phi": 6.0, + "effect_phi": 1.0, + "effect_forward_pr": 1.0, + "effect_partitioned_pr": 0.5 + } + ], + "incoming": { + "direction": "incoming", + "raw_phi": 0.0, + "normalized": 0.0, + "cause_phi": 3.0, + "effect_phi": 0.0, + "effect_forward_pr": 1.0, + "effect_partitioned_pr": 1.0 + }, + "outgoing": { + "direction": "outgoing", + "raw_phi": 1.0, + "normalized": 0.1, + "cause_phi": 3.0, + "effect_phi": 1.0, + "effect_forward_pr": 1.0, + "effect_partitioned_pr": 0.5 + }, + "both": { + "direction": "both", + "raw_phi": 1.0, + "normalized": 0.05, + "cause_phi": 6.0, + "effect_phi": 1.0, + "effect_forward_pr": 1.0, + "effect_partitioned_pr": 0.5 + } + }, + "k1_NOR": { + "k": 1, + "rules": [ + "NOR" + ], + "place": 0, + "pair": [ + "P1", + "E1" + ], + "state": [ + 1, + 1, + 0 + ], + "specified_effect": [ + 0, + 1, + 0 + ], + "n": 3, + "sii_seconds": 0.002, + "seconds": 0.003, + "directed": [ + { + "direction": "incoming", + "raw_phi": 0.0, + "normalized": 0.0, + "cause_phi": 1.0, + "effect_phi": 0.0, + "effect_forward_pr": 1.0, + "effect_partitioned_pr": 1.0 + }, + { + "direction": "outgoing", + "raw_phi": 1.0, + "normalized": 0.5, + "cause_phi": 1.0, + "effect_phi": 1.0, + "effect_forward_pr": 1.0, + "effect_partitioned_pr": 0.5 + }, + { + "direction": "both", + "raw_phi": 1.0, + "normalized": 0.25, + "cause_phi": 2.0, + "effect_phi": 1.0, + "effect_forward_pr": 1.0, + "effect_partitioned_pr": 0.5 + } + ], + "incoming": { + "direction": "incoming", + "raw_phi": 0.0, + "normalized": 0.0, + "cause_phi": 1.0, + "effect_phi": 0.0, + "effect_forward_pr": 1.0, + "effect_partitioned_pr": 1.0 + }, + "outgoing": { + "direction": "outgoing", + "raw_phi": 1.0, + "normalized": 0.5, + "cause_phi": 1.0, + "effect_phi": 1.0, + "effect_forward_pr": 1.0, + "effect_partitioned_pr": 0.5 + }, + "both": { + "direction": "both", + "raw_phi": 1.0, + "normalized": 0.25, + "cause_phi": 2.0, + "effect_phi": 1.0, + "effect_forward_pr": 1.0, + "effect_partitioned_pr": 0.5 + } + }, + "k3_all_NAND": { + "k": 3, + "rules": [ + "NAND", + "NAND", + "NAND" + ], + "place": 0, + "pair": [ + "P1", + "E1" + ], + "state": [ + 1, + 1, + 1, + 1, + 0, + 0, + 0 + ], + "specified_effect": [ + 0, + 0, + 0, + 1, + 0, + 0, + 0 + ], + "n": 7, + "sii_seconds": 0.595, + "seconds": 0.006, + "directed": [ + { + "direction": "incoming", + "raw_phi": 1.0, + "normalized": 0.1, + "cause_phi": 4.0, + "effect_phi": 1.0, + "effect_forward_pr": 1.0, + "effect_partitioned_pr": 0.5 + }, + { + "direction": "outgoing", + "raw_phi": 1.0, + "normalized": 0.1, + "cause_phi": 3.0, + "effect_phi": 1.0, + "effect_forward_pr": 1.0, + "effect_partitioned_pr": 0.5 + }, + { + "direction": "both", + "raw_phi": 2.0, + "normalized": 0.1, + "cause_phi": 7.0, + "effect_phi": 2.0, + "effect_forward_pr": 1.0, + "effect_partitioned_pr": 0.25 + } + ], + "incoming": { + "direction": "incoming", + "raw_phi": 1.0, + "normalized": 0.1, + "cause_phi": 4.0, + "effect_phi": 1.0, + "effect_forward_pr": 1.0, + "effect_partitioned_pr": 0.5 + }, + "outgoing": { + "direction": "outgoing", + "raw_phi": 1.0, + "normalized": 0.1, + "cause_phi": 3.0, + "effect_phi": 1.0, + "effect_forward_pr": 1.0, + "effect_partitioned_pr": 0.5 + }, + "both": { + "direction": "both", + "raw_phi": 2.0, + "normalized": 0.1, + "cause_phi": 7.0, + "effect_phi": 2.0, + "effect_forward_pr": 1.0, + "effect_partitioned_pr": 0.25 + } + }, + "k4_place1_NOR_XOR": { + "k": 4, + "rules": [ + "NOR", + "XOR", + "XOR", + "XOR" + ], + "place": 1, + "pair": [ + "P2", + "E2" + ], + "state": [ + 1, + 1, + 1, + 1, + 1, + 0, + 0, + 0, + 0 + ], + "specified_effect": [ + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0 + ], + "n": 9, + "sii_seconds": 13.762, + "seconds": 0.01, + "directed": [ + { + "direction": "incoming", + "raw_phi": 1.0, + "normalized": 0.07142857142857142, + "cause_phi": 5.0, + "effect_phi": 1.0, + "effect_forward_pr": 1.0, + "effect_partitioned_pr": 0.5 + }, + { + "direction": "outgoing", + "raw_phi": 1.0, + "normalized": 0.07142857142857142, + "cause_phi": 4.0, + "effect_phi": 1.0, + "effect_forward_pr": 1.0, + "effect_partitioned_pr": 0.5 + }, + { + "direction": "both", + "raw_phi": 2.0, + "normalized": 0.07142857142857142, + "cause_phi": 9.0, + "effect_phi": 2.0, + "effect_forward_pr": 1.0, + "effect_partitioned_pr": 0.25 + } + ], + "incoming": { + "direction": "incoming", + "raw_phi": 1.0, + "normalized": 0.07142857142857142, + "cause_phi": 5.0, + "effect_phi": 1.0, + "effect_forward_pr": 1.0, + "effect_partitioned_pr": 0.5 + }, + "outgoing": { + "direction": "outgoing", + "raw_phi": 1.0, + "normalized": 0.07142857142857142, + "cause_phi": 4.0, + "effect_phi": 1.0, + "effect_forward_pr": 1.0, + "effect_partitioned_pr": 0.5 + }, + "both": { + "direction": "both", + "raw_phi": 2.0, + "normalized": 0.07142857142857142, + "cause_phi": 9.0, + "effect_phi": 2.0, + "effect_forward_pr": 1.0, + "effect_partitioned_pr": 0.25 + } + }, + "k6_NOR_XOR": { + "computable": false, + "reason": "intact calculation exceeded 30 minutes" + } + } +} diff --git a/org_frontier/studies/outgoing_effect_is_one/run.py b/org_frontier/studies/outgoing_effect_is_one/run.py new file mode 100644 index 000000000..3492ce849 --- /dev/null +++ b/org_frontier/studies/outgoing_effect_is_one/run.py @@ -0,0 +1,289 @@ +"""Looking forward, the outgoing and both-ways cuts cost 1. + +Run from the repo root: python org_frontier/studies/outgoing_effect_is_one/run.py [--quick] [--write] +Hypotheses are fixed in hypotheses.md. Builds on outgoing_cause_is_platform_count. +""" +import argparse +import json +import os +import sys +import time +from importlib.metadata import version +from pathlib import Path + +import numpy as np + +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 pyphi.models.cuts import GeneralSetPartition # 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)) +TABLES = { + "NOR": (1, 0, 0, 0), + "XOR": (0, 1, 1, 0), + "NAND": (1, 1, 1, 0), +} +HYPOTHESES_COMMIT = "2a858301798b0634c6e23af1cafb7a526dc7ec94" +PEEL_SII_TIMEOUT_SEC = 30 * 60 + + +def state_for(k): + return (1,) * k + (1,) + (0,) * k + + +def build(k, names): + if len(names) != k: + raise ValueError(f"expected {k} listener rules, got {len(names)}") + labels = tuple(f"P{i + 1}" for i in range(k)) + ("A",) + tuple(f"E{i + 1}" for i in range(k)) + a = k + rules = [] + for i in range(k): + reads = [a] + [j for j in range(k) if j != i] + [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, name in enumerate(names): + t = TABLES[name] + rules.append((lambda i=i, t=t, a=a: lambda s: t[CELLS.index((s[i], s[a]))])()) + n = len(rules) + state = state_for(k) + 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 pair_indices(k, place=0): + return (place, k + 1 + place) + + +def make_directed(n, pair, kind, node_labels): + S = list(pair) + C = [i for i in range(n) if i not in S] + M = np.zeros((n, n), dtype=int) + if kind in ("incoming", "both"): + for i in C: + for j in S: + M[i, j] = 1 + if kind in ("outgoing", "both"): + for i in S: + for j in C: + M[i, j] = 1 + part_C = tuple(sorted(C)) + part_S = tuple(sorted(S)) + return GeneralSetPartition( + tuple(range(n)), + M, + set_partition=(part_C, part_S), + node_labels=node_labels, + ) + + +def pr_of(ria): + if ria is None: + return None + arr = np.asarray(ria.partitioned_repertoire) + return float(arr) if arr.shape == () else float(arr.sum()) + + +def fwd_pr_of(ria): + if ria is None: + return None + arr = np.asarray(ria.repertoire) + return float(arr) if arr.shape == () else float(arr.sum()) + + +def specified_of(sii_side): + st = getattr(sii_side, "state", None) + return list(st) if st is not None else None + + +def directed_of(k, names, place=0): + sub, labels, n, state = build(k, names) + t_sii = time.time() + sii = new_big_phi.system_intrinsic_information(sub) + sii_seconds = round(time.time() - t_sii, 3) + pair = pair_indices(k, place) + rows = [] + t0 = time.time() + for kind in ("incoming", "outgoing", "both"): + p = make_directed(n, pair, kind, sub.node_labels) + e = new_big_phi.evaluate_partition(p, sub, sii) + rows.append( + dict( + direction=kind, + raw_phi=float(e.phi), + normalized=float(e.normalized_phi), + cause_phi=float(e.cause.phi) if e.cause is not None else None, + effect_phi=float(e.effect.phi) if e.effect is not None else None, + effect_forward_pr=fwd_pr_of(e.effect), + effect_partitioned_pr=pr_of(e.effect), + ) + ) + by = {r["direction"]: r for r in rows} + return dict( + k=k, + rules=list(names), + place=place, + pair=[labels[i] for i in pair], + state=list(state), + specified_effect=specified_of(sii.effect), + n=n, + sii_seconds=sii_seconds, + seconds=round(time.time() - t0, 3), + directed=rows, + incoming=by["incoming"], + outgoing=by["outgoing"], + both=by["both"], + ) + + +def close(a, b): + return a is not None and abs(a - b) <= 1e-9 + + +def effect_ok(r): + return ( + close(r["outgoing"]["effect_phi"], 1.0) + and close(r["both"]["effect_phi"], 1.0) + and close(r["incoming"]["effect_phi"], 0.0) + ) + + +def incoming_s3_ok(r): + inc = r["incoming"] + return close(inc["cause_phi"], 3.0) and close(inc["raw_phi"], 0.0) and close(inc["effect_phi"], 0.0) + + +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 = {} + + s3 = directed_of(3, ["XOR", "XOR", "NOR"], place=2) + res["k3_S3_reproduction"] = s3 + if not incoming_s3_ok(s3): + raise SystemExit(f"control failed: S3 incoming {s3['incoming']}") + print( + f"C2 S3 (XOR, XOR, NOR) incoming-only cause φ is 3, raw φ is 0, effect φ is 0: " + f"PASS cause={s3['incoming']['cause_phi']}", + flush=True, + ) + if args.write: + (out / "partial.json").write_text(json.dumps(res, indent=1) + "\n") + + cases = [ + ("H1", "k1_NOR", 1, ["NOR"], 0), + ("H2", "k3_all_NAND", 3, ["NAND", "NAND", "NAND"], 0), + ("H3", "k4_place1_NOR_XOR", 4, ["NOR", "XOR", "XOR", "XOR"], 1), + ] + scores = {"H1": True, "H2": True, "H3": True} + for hid, key, k, names, place in cases: + r = directed_of(k, names, place=place) + res[key] = r + ok = effect_ok(r) + scores[hid] = ok + print( + f"{hid} {key} sii={r['sii_seconds']}s cuts={r['seconds']}s pair={r['pair']} " + f"spec_eff={r['specified_effect']} " + f"out_eff={r['outgoing']['effect_phi']} part={r['outgoing']['effect_partitioned_pr']} " + f"both_eff={r['both']['effect_phi']} part={r['both']['effect_partitioned_pr']} " + f"inc_eff={r['incoming']['effect_phi']} part={r['incoming']['effect_partitioned_pr']} " + f"{'ok' if ok else 'MISS'}", + flush=True, + ) + if args.write: + (out / "partial.json").write_text(json.dumps(res, indent=1) + "\n") + + # H4: k=6, with a hard 30-minute cap on the intact calculation. + import multiprocessing as mp + + h4_status = "NOT_COMPUTABLE" + print("H4 starting k=6 free-cut intact calculation (30-minute cap)", flush=True) + + def _h4_worker(qpath): + rr = directed_of(6, ["NOR", "XOR", "XOR", "XOR", "XOR", "XOR"], place=0) + Path(qpath).write_text(json.dumps(rr) + "\n") + + h4_path = out / "h4_k6.json" if args.write else Path("/tmp/outgoing_effect_k6.json") + h4_path.parent.mkdir(exist_ok=True) + proc = mp.Process(target=_h4_worker, args=(str(h4_path),)) + proc.start() + proc.join(PEEL_SII_TIMEOUT_SEC) + if proc.is_alive(): + proc.terminate() + proc.join(30) + if proc.is_alive(): + proc.kill() + proc.join(10) + res["k6_NOR_XOR"] = dict(computable=False, reason="intact calculation exceeded 30 minutes") + print("H4 k6_NOR_XOR NOT COMPUTABLE: intact calculation exceeded 30 minutes", flush=True) + elif h4_path.exists(): + r = json.loads(h4_path.read_text()) + res["k6_NOR_XOR"] = r + if r.get("sii_seconds", 0) > PEEL_SII_TIMEOUT_SEC: + print(f"H4 k6_NOR_XOR sii={r['sii_seconds']}s exceeded cap: NOT COMPUTABLE", flush=True) + else: + ok = effect_ok(r) + scores["H4"] = ok + h4_status = "SUPPORTED" if ok else "REFUTED" + print( + f"H4 k6_NOR_XOR sii={r['sii_seconds']}s cuts={r['seconds']}s pair={r['pair']} " + f"spec_eff={r['specified_effect']} " + f"out_eff={r['outgoing']['effect_phi']} part={r['outgoing']['effect_partitioned_pr']} " + f"both_eff={r['both']['effect_phi']} part={r['both']['effect_partitioned_pr']} " + f"inc_eff={r['incoming']['effect_phi']} part={r['incoming']['effect_partitioned_pr']} " + f"{'ok' if ok else 'MISS'}", + flush=True, + ) + else: + res["k6_NOR_XOR"] = dict(computable=False, reason="child exited without writing results", exitcode=proc.exitcode) + print(f"H4 k6_NOR_XOR NOT COMPUTABLE: child exit={proc.exitcode}", flush=True) + + for h, v in scores.items(): + print(f"{h}: {'SUPPORTED' if v else 'REFUTED'}") + if h4_status == "NOT_COMPUTABLE": + print("H4: NOT COMPUTABLE") + elif h4_status == "NOT_COMPUTED": + print("H4: NOT COMPUTABLE") + if args.write: + hyp = {h: ("SUPPORTED" if v else "REFUTED") for h, v in scores.items()} + if h4_status == "NOT_COMPUTABLE" or (h4_status == "NOT_COMPUTED"): + hyp["H4"] = "NOT COMPUTABLE" + (out / "results.json").write_text( + json.dumps( + dict( + pyphi_version=version("pyphi"), + phi_eps=PHI_EPS, + hypotheses_commit=HYPOTHESES_COMMIT, + hypotheses=hyp, + systems=res, + ), + indent=1, + ) + + "\n" + ) + + +if __name__ == "__main__": + main() diff --git a/substack/experiments/2026-11-30-the-outgoing-cut-costs-one-looking-forward.md b/substack/experiments/2026-11-30-the-outgoing-cut-costs-one-looking-forward.md new file mode 100644 index 000000000..023573f99 --- /dev/null +++ b/substack/experiments/2026-11-30-the-outgoing-cut-costs-one-looking-forward.md @@ -0,0 +1,15 @@ +# The outgoing cut costs one looking forward + +One prediction held, two were refuted, and one was not computable. + +Earlier posts found that, looking backward, cutting a listener and its platform costs the number of platforms. After those runs, looking forward, the outgoing-only cut and the both-ways cut had scored 1, and the incoming-only cut had scored 0. Those forward-looking numbers were not predicted. + +I looked first at the already-run two-, three-, and four-platform systems, and I wrote that peek down before scoring any new case. In those systems the specified next state has every platform off and the hub on. The outgoing cut noises the cut platform's link into the hub, so the hub is on next with probability 1/2, and the forward-looking score is 1. I predicted the same scores at one platform, with all-NAND listeners, on the cut of a later pair, and at six platforms if that calculation finished in time. + +The outgoing-only score of 1 held in every case I could score. With one platform and a NOR listener, the incoming-only score was 0 and the both-ways score was 1, as predicted. With three platforms and all NAND listeners, and with four platforms when I cut a later pair whose listener is XOR, those two scores were not 0 and 1. They were 1 and 2. The leftover chance after an incoming-only cut was 1/2, not 1, and after a both-ways cut it was 1/4, not 1/2. + +After the run, the difference is visible in the listener rule. An incoming cut also noises the hub's link into the cut listener. A NOR listener that already sees its platform on stays off no matter what the hub does. A NAND or XOR listener in the same situation is off only half the time, so the incoming cut costs 1 and cutting both ways costs 2. I did not write that dependence down before the run. + +The six-platform system was not computable in the 30-minute cap I had written down in advance, so that prediction was not counted. + +This is still the listeners-off state 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 b12a0944f..70b9b1759 100644 --- a/substack/experiments/README.md +++ b/substack/experiments/README.md @@ -5,6 +5,7 @@ every number in it. | date | post | study | |---|---|---| +| 2026-11-30 | [The outgoing cut costs one looking forward](2026-11-30-the-outgoing-cut-costs-one-looking-forward.md) | [`org_frontier/studies/outgoing_effect_is_one/`](../../org_frontier/studies/outgoing_effect_is_one/) | | 2026-11-30 | [Why the score is zero when the mediator and all three parties are on](2026-11-30-why-the-score-is-zero-when-the-mediator-and-parties-are-on.md) | [`org_frontier/studies/why_allon_zero/`](../../org_frontier/studies/why_allon_zero/) | | 2026-11-30 | [The numbering tool's flip still explains the sixteen default-score gaps](2026-11-30-the-flip-explains-the-sixteen-default-gaps.md) | [`org_frontier/studies/reverse_complement_default/`](../../org_frontier/studies/reverse_complement_default/) | | 2026-11-30 | [Why one-light-off of F1 does not jump](2026-11-30-why-one-light-off-of-f1-does-not-jump.md) | [`org_frontier/studies/why_f1_one_light_no_jump/`](../../org_frontier/studies/why_f1_one_light_no_jump/) | From df3c6838c15503928f95407142f3cef520b0aa98 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 30 Nov 2026 21:28:48 +0000 Subject: [PATCH 3/5] 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 6d158c0ba..402c2a13d 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` | -| 435 | studies | `org_frontier/studies/*/` | +| 436 | 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 2e334a388..841da9038 100644 --- a/README.md +++ b/README.md @@ -578,6 +578,7 @@ Multi-experiment batteries on one theme. - **[other_state_steps: do other states of (3,1,1,1) q=4 share the table-derived step?](org_frontier/studies/other_state_steps/README.md)** — Exact IIT 4.0 Φ (PyPhi pin `b78d0e342`), `noisy_tpm`, per-state Φ. Hypotheses committed first (`edb5bd4381381881696374bd8055a95821fb2a0e`) - **[other_states_near_switch: all-off and one-missing-voter, near the early-jump switches](org_frontier/studies/other_states_near_switch/README.md)** — Exact IIT 4.0 Φ (PyPhi pin `b78d0e342`), `noisy_tpm`, per-state Φ of states 00000 and 11110 on (3,1,1,1), quota 4 - **[outgoing_cause_is_platform_count](org_frontier/studies/outgoing_cause_is_platform_count/README.md)** — Hypotheses fixed in [hypotheses.md](org_frontier/studies/outgoing_cause_is_platform_count/hypotheses.md) and committed (`2d9a1b88`, branch… +- **[outgoing_effect_is_one](org_frontier/studies/outgoing_effect_is_one/README.md)** — Hypotheses fixed in [hypotheses.md](org_frontier/studies/outgoing_effect_is_one/hypotheses.md) and committed (`2a858301`, branch `study/nov30-topo-batch37`) before… - **[A two-party hub alone and inside a bigger hub: why a pair cut from a triad is not the stand-alone pair (and what that says about triads versus dyads)](org_frontier/studies/pair_in_context/README.md)** — Pinned PyPhi b78d0e342d37175cbd55cf35a6d52ae035b4c50f (`results.json`: 1.2.1.dev1470+gb78d0e342). Pre-registration commit 21bc4731d0ea29e216aceb4ef651ef6ceff034b4 - **[Is k(k + 1) just the number of ordered node pairs?](org_frontier/studies/pairs_cut/README.md)** — Hypotheses fixed in [hypotheses.md](org_frontier/studies/pairs_cut/hypotheses.md) and committed (981e3be8, branch `study/nov28-topo-batch7`) before the full run. All - **[Parity cause law](org_frontier/studies/parity_cause_law/README.md)** — Hypotheses and predictions were committed first (commit `19071da0`: `hypotheses.md`, `laws.py`, `predictions.json`) diff --git a/catalog.json b/catalog.json index 59fac0e84..178cecfee 100644 --- a/catalog.json +++ b/catalog.json @@ -3,7 +3,7 @@ "counts": { "question": 171, "probe": 464, - "study": 434, + "study": 435, "foundations": 9, "open": 15 }, @@ -12236,6 +12236,17 @@ ], "runtime": "fast" }, + { + "kind": "study", + "id": "outgoing_effect_is_one", + "title": "outgoing_effect_is_one", + "finding": "Hypotheses fixed in [hypotheses.md](org_frontier/studies/outgoing_effect_is_one/hypotheses.md) and committed (`2a858301`, branch `study/nov30-topo-batch37`) before any new directed cut was scored for this forward-looking question, and before any one-platform free-cut system, any all-NAND three-platform free-cut system, any four-platform cut of {P2, E2}, or any six-platform free-cut system was…", + "path": "org_frontier/studies/outgoing_effect_is_one", + "reproduce": [ + "python org_frontier/studies/outgoing_effect_is_one/run.py --quick" + ], + "runtime": "fast" + }, { "kind": "study", "id": "pair_in_context", From c0e00c6e61f8d6b006fe1834254e5cd411f6418c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 30 Nov 2026 21:28:49 +0000 Subject: [PATCH 4/5] 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 9f2eb7fb7..c0f28785a 100644 --- a/research-atlas/snapshot.json +++ b/research-atlas/snapshot.json @@ -1,7 +1,7 @@ { - "revision": "1d06ee03ec3703e4aaf8698315d8871b6eaa3d5b", + "revision": "df3c6838c15503928f95407142f3cef520b0aa98", "indexes": { - "catalog.json": "59fac0e84a7d1df4d82695c88e39fbe1ced37984", + "catalog.json": "178cecfee50b82b8051894c950d22be21d5a1fbf", "research-atlas/cards.json": "b049d417c6c9a693f4fa44a53237e3bc9bc4c31b" } } From bc11048d824d23ec90be9f497844a2a79b2e276e Mon Sep 17 00:00:00 2001 From: Roger Hunt Date: Mon, 30 Nov 2026 16:30:59 -0500 Subject: [PATCH 5/5] outgoing_effect_is_one: nudge CI after atlas pin c0e00c6e6 --- org_frontier/studies/outgoing_effect_is_one/BACKLOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org_frontier/studies/outgoing_effect_is_one/BACKLOG.md b/org_frontier/studies/outgoing_effect_is_one/BACKLOG.md index 96fdc961d..7a3653155 100644 --- a/org_frontier/studies/outgoing_effect_is_one/BACKLOG.md +++ b/org_frontier/studies/outgoing_effect_is_one/BACKLOG.md @@ -6,4 +6,4 @@ Status: none of these has been started yet. -Pinned head after regenerate: `PLACEHOLDER`. +Pinned head after regenerate: `c0e00c6e61f8d6b006fe1834254e5cd411f6418c`.