Skip to content

Commit 12d0d1e

Browse files
author
TNFR AI Agent
committed
feat: certify finite P2 remesh extinction
1 parent 568436b commit 12d0d1e

37 files changed

Lines changed: 8742 additions & 160 deletions

‎.github/agents/my-agent.md‎

Lines changed: 74 additions & 17 deletions
Large diffs are not rendered by default.

‎AGENTS.md‎

Lines changed: 74 additions & 17 deletions
Large diffs are not rendered by default.

‎CHANGELOG.md‎

Lines changed: 50 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,50 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7+
### Added — 2026-09-11 Binary64 REMESH boundary and P2 causal binding
8+
9+
- Centralized the production delayed-REMESH scalar evaluation in
10+
`_delayed_remesh_kernel.py` and added an exact pairwise observer. It records
11+
the Jensen denominator, ideal/raw/bounded separations and signed rounding,
12+
clipping and total defects without promoting one pair to a uniform class.
13+
A normal-valued `alpha=1/2` witness requires exactly `eta=2^210-1/4`, so
14+
strict robust-envelope contraction requires `q<4/(2^212+3)`; a bounded hard-
15+
clipped interval alone is insufficient for the existing `q=9/16` policy.
16+
- Added the sealed `alpha=1` hard-clip REMESH class. On fixed ordered support,
17+
fixed positive metric and sufficient finite represented history inside one
18+
interval, the runtime recurrence copies the global delayed row numerically,
19+
has uniform relative defect `eta=0`, and preserves the class under REMESH.
20+
Signed-zero bits, schedules, repeated event execution and future runtime
21+
behavior remain outside this certificate.
22+
- Added the restricted global binary64 P2 half-Reception composition. With two
23+
mutual singleton neighbors, an immutable all-target EPI snapshot, the exact
24+
configured mix `0.5` and one common hard clamp, both proposals are
25+
numerically equal for every finite represented pair in the source interval.
26+
The numeric kernel gain
27+
is therefore `q=0`; combined with `alpha=1`, active-history spatial
28+
disagreement is exactly zero after `tau_global+1` cycles. The certificate
29+
covers arbitrary finite repetition of these numeric EPI kernels while
30+
withholding complete Reception-stage, grammar, live graph and solver claims.
31+
- Added a finite causal adapter for one executed P2 half-Reception stage. It
32+
binds a sealed event result, two-phase EN evidence, ordered graph support,
33+
runtime singleton neighbors, exact half mix, hard interval, metric ray and
34+
captured endpoints to the global `q=0` kernel by bit-exact replay. REMESH
35+
graph binding, auxiliary Reception state and repeated/future runtime claims
36+
remain outside its scope.
37+
- Added a sealed finite causal P2 Reception/REMESH sequence certificate. It
38+
binds every selected executor-owned EN stage to the global `q=0` kernel and
39+
every same-cycle `alpha=1` hard-clipped REMESH to its represented global-delay
40+
row with `eta=0`. For an observed sequence with
41+
`N >= tau_global+1`, it verifies the active history suffix and exact
42+
post-horizon spatial-disagreement extinction. Stale retained rows before that
43+
suffix, future or unobserved repetition, auxiliary state, solver properties
44+
and full TNFR stability remain outside its scope.
45+
- Added examples 173–176, including
46+
`176_runtime_p2_reception_remesh_sequence.py`, exact public stubs, facade
47+
exports and adversarial tests covering normal/subnormal extremes, signed
48+
zero, inactive and active clipping, hostile inputs, private reseals and the
49+
exact energy-gain-four witness for the canonical default EN factor.
50+
751
### Added — 2026-09-11 Relative-defect REMESH/schedule stability
852

953
- Added `remesh_schedule_relative_defect_stability.py` and its public stub. For
@@ -64,9 +108,12 @@ All notable changes to this project will be documented in this file.
64108
and `169_event_remesh_causal_runtime.py`. The outer executor runs ordered
65109
`EventRemeshCycleExecutionSpec` values on one graph in one transaction and
66110
seals ordinal/spec/result receipts, including exact schedule identity. Its
67-
result retains the ordinary offline cycle observation and compatible runtime
68-
schedule/history telescope, thereby certifying same-invocation causal order,
69-
common graph identity and finite graph-owned atomicity. It does not compose
111+
result always retains the ordinary offline cycle observation and, by default,
112+
the compatible runtime schedule/history telescope. The explicit
113+
`require_runtime_telescope=False` branch always stores `None`, so causal words
114+
without a common affine metric still retain same-invocation order, common
115+
graph identity and finite graph-owned atomicity; telescope-specific claims
116+
remain false. It does not compose
70117
schedule and REMESH gains or prove a uniform positive normalized block
71118
margin over a declared forward-invariant runtime class, intrablock runtime prefix control,
72119
solver accuracy/order, mesh convergence, repetition or future stability.

‎README.md‎

Lines changed: 82 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -467,12 +467,16 @@ executes a declared finite sequence of `EventRemeshCycleExecutionSpec` values
467467
on one graph inside one outer graph transaction. Each
468468
`CausalEventRemeshCycleReceipt` binds its ordinal, the exact submitted spec and
469469
the resulting cycle, including identity between the executed schedule and the
470-
spec schedule. The sealed `ExecutedEventRemeshCycleSequence` retains those
471-
receipts, the derived `ObservedEventRemeshCycleSequence`, and the compatible
472-
`RuntimeRemeshScheduleSequenceObservation`. This wrapper establishes
473-
same-invocation causal order, one graph identity and graph-owned atomicity for
474-
that finite execution. The two nested observers remain offline artifacts and
475-
retain their own negative provenance properties when used independently.
470+
spec schedule. The sealed `ExecutedEventRemeshCycleSequence` always retains
471+
those receipts and the derived `ObservedEventRemeshCycleSequence`. By default,
472+
`require_runtime_telescope=True` also requires and retains the compatible
473+
`RuntimeRemeshScheduleSequenceObservation`. Setting it to `False` always stores
474+
`runtime_telescope=None`; this permits an otherwise valid causal word that lacks
475+
one common affine schedule metric, and telescope-specific certificate
476+
properties remain false. Same-invocation causal order, one graph identity and graph-owned
477+
atomicity still hold for that finite execution. Downstream telescope and block
478+
observers require the default branch. The nested offline observers retain their
479+
own negative provenance properties when used independently.
476480

477481
Causal provenance does not turn the finite telescope into a global executable
478482
gain or a theorem for repetition. Schedule and REMESH gains remain separate;
@@ -656,7 +660,8 @@ family or its forward invariance.
656660

657661
[`observe_executed_event_remesh_relative_defect_block(...)`](src/tnfr/physics/runtime_remesh_schedule_relative_defect.py)
658662
checks that hypothesis on one nonempty contiguous block of an intact causal
659-
execution. At each boundary it reconstructs `J`, the ideal and bounded head
663+
execution that retained its compatible runtime telescope. At each boundary it
664+
reconstructs `J`, the ideal and bounded head
660665
energies, the signed defect and its exact slack; requires the represented
661666
schedule gain to be no larger than the declared `q`; and verifies the complete
662667
history-energy vector against `diag(q_eff,1,...,1)P`. It then checks the finite
@@ -668,6 +673,76 @@ future binary64 stability remain open.
668673
presents both an exact-zero defect block and a positive binary64 defect
669674
accepted at its exact minimum `eta`.
670675

676+
[`observe_binary64_remesh_pair_relative_defect(...)`](src/tnfr/physics/binary64_remesh_relative_defect.py)
677+
then resolves the represented-number boundary pairwise. For two temporal input
678+
tuples it replays the shared production REMESH kernel and records the exact
679+
Jensen denominator, ideal/raw/bounded squared separations and signed rounding,
680+
clipping and total defects. One normal-valued `alpha=1/2` pair requires
681+
`eta=2**210-1/4`, so strict contraction needs
682+
`q<4/(2**212+3)`; a bounded hard-clipped binary64 interval alone cannot support
683+
the existing `q=9/16` witness policy. This observation is local to one pair and
684+
does not certify a uniform class.
685+
686+
[`certify_alpha_one_hard_clip_remesh_class(...)`](src/tnfr/physics/binary64_remesh_relative_defect.py)
687+
supplies the first uniform represented boundary. On fixed ordered support, one
688+
fixed positive metric, fixed positive delays and sufficient finite history
689+
inside a common hard interval, `alpha=1` copies the global delayed row
690+
numerically. Its relative defect is uniformly `eta=0`, and REMESH alone
691+
preserves the class. Signed-zero bits, a schedule family, repeated event
692+
execution and future runtime behavior remain outside the certificate. Example
693+
[`173_binary64_remesh_relative_defect.py`](examples/02_physics_regimes/173_binary64_remesh_relative_defect.py)
694+
shows both the obstruction and this boundary class.
695+
696+
[`certify_p2_half_reception_remesh_stability(...)`](src/tnfr/physics/binary64_p2_reception_stability.py)
697+
closes a restricted global numeric EPI-kernel composition. On two mutual singleton
698+
neighbors, an immutable all-target EPI snapshot, the exact configured
699+
`EN_mix=0.5` and one common hard clamp, the two Reception proposals are the same
700+
reversed sum of half-scaled operands. They are numerically equal for every
701+
finite represented input pair in the source interval, including underflow
702+
cases, so the global
703+
centered-energy gain is `q=0`. Composed with the `alpha=1`, `eta=0` REMESH
704+
class, the active post-schedule history has zero spatial disagreement after
705+
`tau_global+1` restricted cycles. This proves arbitrary finite repetition of
706+
the numeric EPI kernels. It does not certify the complete Reception stage,
707+
grammar admission, live graph/event execution, a global affine binary64 map or
708+
solver behavior. Example
709+
[`174_binary64_p2_reception_remesh_stability.py`](examples/02_physics_regimes/174_binary64_p2_reception_remesh_stability.py)
710+
reports the exact composition and its signed-zero boundary.
711+
712+
[`certify_executed_p2_half_reception_stage(...)`](src/tnfr/physics/runtime_p2_reception_stage.py)
713+
crosses the next finite causal boundary. It selects one Reception event from an
714+
intact `OperatorEventExecutionResult` and requires executor-bound two-phase
715+
stage evidence, the exact ordered P2 targets and mutual singleton runtime
716+
neighbors, binary64 mix `0.5`, the source hard interval and metric ray, captured
717+
left/right endpoints, and a bit-exact production-kernel replay. The resulting
718+
certificate applies the global `q=0` theorem to that one executed EPI stage and
719+
records its finite grammar admission and whole-schedule graph atomicity. It
720+
does not bind REMESH history or configuration to that graph, audit every
721+
Reception auxiliary write, retain current live-graph identity, or prove future
722+
or repeated runtime stability. Example
723+
[`175_runtime_p2_reception_stage.py`](examples/02_physics_regimes/175_runtime_p2_reception_stage.py)
724+
reports this executor-bound endpoint result and its negative scope.
725+
726+
[`certify_executed_p2_half_reception_remesh_sequence(...)`](src/tnfr/physics/runtime_p2_reception_remesh_sequence.py)
727+
binds that stage result and the `alpha=1` boundary to one completed
728+
`ExecutedEventRemeshCycleSequence`. For every observed cycle it identifies a
729+
selected executor-owned EN stage with the complete schedule EPI endpoints and
730+
the global `q=0` kernel, then identifies the same cycle's applied hard-clipped
731+
REMESH with its exact represented global-delay row and `eta=0`. Support, metric,
732+
interval, delays, history capacity and runtime alpha-source provenance remain
733+
fixed. If `N >= L = tau_global+1`, the active suffix of exactly `L` chronological
734+
history rows remains inside the source interval, and the recorded post-horizon
735+
and final post-REMESH fields have zero spatial disagreement. When
736+
`tau_local > tau_global`, that suffix is shorter than the full source-class
737+
history requirement; the local-delay rows are nevertheless inactive because
738+
`alpha=1`. Older retained history rows remain outside this claim. The sealed
739+
certificate concerns
740+
only that finite same-invocation trace; it does not certify future or unobserved
741+
repetition, auxiliary Reception state, current live-graph state, solver
742+
properties or full TNFR stability. Example
743+
[`176_runtime_p2_reception_remesh_sequence.py`](examples/02_physics_regimes/176_runtime_p2_reception_remesh_sequence.py)
744+
records the finite causal extinction boundary.
745+
671746
[`observe_runtime_remesh_history_bridge(...)`](src/tnfr/physics/runtime_remesh_history_stability.py)
672747
binds one applied executor-sealed cycle to that exact companion. It converts
673748
the retained runtime history to newest-first order, replays the nested

0 commit comments

Comments
 (0)