# Virtual DTP reusable circuits: methods and evidence

November 13, 2026. Software prototype on conventional hardware. No physical DTP
hardware, G02 elapsed-time measurement, energy advantage or production deployment
is established by this study.

## The geometric experiment

On the unit sphere, the forward route is the three quarter great-circle arcs
x → y → z → x. Directed rotations Rz(+90°), Rx(+90°), Ry(+90°) implement
Levi-Civita parallel transport along those arcs. Their ordered product is
H(x,y,z)=(x,−z,y). The radial direction is fixed; both independent tangent
directions turn +90°. Reversing the route gives −90°, retracing gives 0°.

For a great-circle axis n perpendicular to p, write a tangent field as
V=a n+b(n×p), with constant a,b. Its ambient derivative is −b p, entirely
normal to the sphere; its tangential covariant derivative is therefore zero.
This establishes parallel transport on the specified continuous arcs, rather
than inferring a connection from endpoints alone.

The earlier [separate project review](sphere-review.md) checked the saved G01
results, 24 non-axis ODE comparisons and 40 structured-map checks. It is not
journal peer review. G02 remains producer-verified and awaiting separate review.

## Complete maps and repeated squaring

A signed coordinate map stores y[i]=w[i]x[p[i]], with p a permutation and each
weight exactly +1 or −1. For outer map A and inner map B, composition is
p_AB[i]=p_B[p_A[i]], w_AB[i]=w_A[i]w_B[p_A[i]]. No numerical approximation is
introduced by this composition in the declared domain. Near-unit weights,
disconnected loops and incompatible dimensions refuse instead of being rounded
into the exact domain. Dense arithmetic is also exact on these fixtures.

The reusable loop is built in three signed compositions. Standard binary
exponentiation computes H^k using popcount(k)+floor(log2(k)) compositions for
positive k, and zero power compositions for k=0. The explicitly requested route
build still costs three compositions at k=0. Each composition processes arrays
linear in the bounded coordinate dimension (1–32).

For k=1,000,000,001, this is three route compositions plus 43 power compositions,
then three signed applications to check a complete basis. The 3,000,000,003-arc
expansion is implied; it was not executed or timed. These counts do not include
all validation, allocation, encoding, I/O or output costs and are not clock
cycles. A conventional CPU/GPU can use the same algebraic shortcut. The query
retains the complete final map, program and instruction records, but does not
materialize each intermediate arc. H alone does not retain the winding count.

[Complete captured G02 inputs, steps and traces](power-live.json) cover counts
0,1,2,3,4,21,1,000,000,001,4,294,967,295. Every case was stopped after the powered
map was saved, restarted and resumed. The maximum count uses 63 power
compositions, plus route construction and applications. The 51-test G02 suite
included 576 literal-iteration comparisons (32 dimensions × 18 exponents),
full-basis checks and refusal/recovery cases. Removing squaring, exact-sign
validation or route closure failed behavioral tests.

## Separate B01 timing measurements

The [results JSON](results.json) retains all twelve task/dimension comparisons
and both runs. For 32-coordinate signed transport, the ratios of general-matrix
to structured median interpreter times are 5.614639786111713 and
5.172683731496622. For a two-dimensional closed loop they are 0.9065858151673318
and 0.943069306930693, favoring the general implementation.

Each pair used 32 warmups, then 11 alternating-order samples of 256 executions;
a second fresh process reversed workload order. The interpreter timing includes
decoding, validation, computation, output materialization and destruction. It
excludes input construction, HTTP and GIGI persistence/checkpoint costs. These
are observed ratios, not confidence intervals. Host timings varied between
processes; do not pool them or convert them into a universal speed claim.

B02 removed exactly 3+3E temporary heap-allocation requests from compact loop
composition by using bounded stack scratch buffers. Outputs and diagnostics
matched. This is not a measurement of total memory or energy savings. B03 found
representation work dominated its instrumented small-loop sections; those
shares do not describe total production wall time.

The illustrated savings use 100(1 − structured/general), separately for elapsed
time and serialized input JSON size. In the first 32-coordinate signed-transport
run, this gives 82.1894% less time (149.6766 microseconds), and 4,490 → 577 input
bytes gives 87.1492% fewer bytes. These byte counts cover the complete serialized
input program/state in B01 (`input_json_bytes` in `examples/benchmark_workloads.rs`,
exposed as `json_bytes` in the summary); they do not measure memory, network,
storage or energy use. Reference-error readouts retain the maximum across the
two runs. The time animation stretches recorded median durations onto one common
3.2-second clock; it illustrates elapsed intervals, not progress inside an
operation or a new benchmark. Negative savings remain visible as added cost.

## Recovery update R01

The earlier same-process unsynced replay/cache gap is closed by an explicit
uncertain-state guard. A write attempt marks the store uncertain; a persistence
error leaves normal reads and writes blocked before cache or archive replay.
Recovery requires closing and successfully reopening the store, then inspecting
the recovered instruction position. Open checkpoints/syncs after WAL recovery.
Mathematical refusals do not poison healthy state; no rollback is guessed.

[Three injected adapter boundaries](recovery-summary.json) recovered exact
planted instruction positions 0 before insertion, 0 after the tiny buffered
insert before checkpoint, and 1 after successful sync before acknowledgement.
Duplicate retry was rejected and each final trace held one result. Removing
the guard failed behaviorally. The updated suite passed 54 processor tests;
all eight normal G02 workloads passed again. The isolated root suite recorded
1,589 passed, 22 ignored and zero failures.

This does not inject torn writes inside WAL encoding, device flush/sync faults
or power loss. Those lower-level obligations remain open. Earlier disk-full,
PDB-limit and concurrent-test/build failures remain in the local development
journal; successful isolated reruns do not turn those earlier attempts into
passes.

## Provenance and presentation

[Results and source hashes](results.json) identify the retained G02, G01, B01
and R01 records, processor/store source hashes and actual executable hashes.
The development checkout contained uncommitted work; its Git HEAD alone is not
the tested prototype's identity. This website republishes a scoped record and
does not deploy or modify the GIGI engine.

The globe animation evaluates the specified rotation paths in the browser;
intermediate drawing samples are illustrative floating-point values. Its final
states are tested against the geometric controls. The repeated-circuit panel
replays saved exact endpoint and operation-count records. The timing panel
displays saved median durations without rerunning benchmarks. A page check is
not a rerun of the original engine validation.

Established mathematical background: [NIST, repeated squaring](https://xlinux.nist.gov/dads/HTML/repeatedSquaring.html)
and [Joyce, parallel transport and holonomy, §§1.3–1.4](https://people.maths.ox.ac.uk/joyce/RHCGnotes.pdf#page=3).

[Return to the illustrated article](../../dtp-reusable-circuits.html).
