∿ VECTOR STEERING / LABBOOK
Offline edition
Research into a working mechanism · Studies 01–04

From constrained edits
to verified repair.

Can a vector edit meet its target, preserve what matters, and carry evidence that another checker can recompute?

We began with an exact area edit, tested asymmetric shapes, then extended the model to connected Bézier segments. A fresh-input comparison now tests the value of verification feedback, cross-checked by a second exact implementation.

This labbook connects the questions, mathematics, results and limitations to the underlying artifacts. The data and figures are embedded; source-file links work from the original lab folder.

Read the findings ↘
Verified four-segment narrow-contraction vector outline
Verified export Study 03 · narrow contraction
Inspect this result →
4successive studies
120fresh Study 04 inputs
41passing behavioral tests
18paired wins over denser sampling

Study 04: 80 witnessed-feasible requests, 20 unknown, 10 impossible and 10 unsupported. Refinement wins on 18 feasible cases against nested sampling, loses on zero, and both fail on 30. Methods share initial candidates; records are not independent extra trials.

Reading the evidence. Certified means the supported exported path passes the declared checks. Violated means a requirement demonstrably fails. Uncertified means the checker could not complete a proof. Solver termination and mathematical infeasibility are separate facts.
01
Proof of mechanism

Hit the target. Keep the anchors.

Increase area by 50%, from 30,000 to 45,000 coordinate units², while retaining four endpoints and the centroid.

Question and method

A symmetric pair of cubic curves gives an algebraic edit. With endpoint half-height a = 50 and interior half-height h, the area is A = 300(a + h). Choosing h = 100 reaches the target.

The comparison scales the entire shape vertically. Both edits reach the area; only the interior-control edit preserves the four anchors. The checker parses the actual SVG bytes and recomputes area, centroid and separation.

Study 01 · actual exported geometry
ArtifactAreaAnchor errorArea targetFull request

The original input is checked against the requested edited area, so its target check correctly fails. This is one demonstration, not an estimated success rate. Area tolerance: 10⁻⁷; centroid and anchors: exact equality.

Figure 1. The constrained edit changes interior geometry while retaining endpoints. Original figure · Exact receipt · Mechanism dossier
02
A more demanding comparison

Asymmetry exposes the tradeoffs.

Ten requests introduce unequal boundary controls, translated shapes, narrow sections and strong contractions. Three numerical configurations face the same declared preservation requirements.

Declared optimization configurations
ConfigurationWhat drives the editWhat remains independently checked
Target-onlyArea error plus a small movement regularizer.Area, centroid, endpoint anchors, vertical gap, simple closed geometry and control bounds. All checks are applied to serialized SVG coordinates.
PenaltyAdds finite penalties for preservation and sampled gap shortfalls.
ConstrainedMinimizes movement with explicit equalities and sampled gap constraints.

Results depend on the acceptance precision.

At area tolerance 0.001 units², the constrained configuration passes all seven requests for which a feasible result is established. The penalty configuration comes close but misses the strict area target; it passes all seven when only the allowed area error changes to 0.1.

Centroid and anchor tolerances stay at 0.001 coordinate units, and the required gap stays at 10. The larger tolerance rechecks the same bytes; it does not rerun or retune the optimizer.

F02 · Same exports, different area tolerance
Certified / 7 feasible requests
Area toleranceTarget-onlyPenaltyConstrained
Post-run diagnosis matters. The initial comparison excluded one request known to violate the universal area floor, leaving nine cases and a 7/9 constrained result. After the run, an anchor-dependent bound proved two more requests impossible in the single-cubic representation. The resulting 7/7 feasible subset is useful, but it is not a prespecified or independent benchmark. Original nine-case table and diagnosis →
Derived result · F03

Some failures belong to the model.

Endpoint anchors and the minimum gap impose a necessary area floor. A solver cannot recover a request below that floor without changing the shape family or requirements.

Read the lower-bound derivation →

What the comparison does not establish

One penalty weight and one tolerance cannot establish superiority of an entire method family. These are deterministic synthetic fixtures, with three local starts and fixed settings. There is no held-out dataset, population success estimate or state-of-the-art comparison.

Full protocol, scales and selection rules →
View all four selected comparisons from Study 02
Figure 2. Shape overlays and residuals from saved exported coordinates. Original figure
03
Connected curves and corrective feedback

The checker becomes part of the edit loop.

Three, four or six cubic segments per boundary add freedom. Smooth interior joins and optional protected landmarks make preservation more demanding.

01EditNumerical target and constraints
→
02ExportFinite decimal SVG coordinates
→
03CheckExact geometry and interval bounds
→
04RepairAdd violation locations; recheck

More expressive, still accountable.

The sampled smooth controller passes six of eight feasible requests. In the other two it meets the area, centroid, anchor and join constraints, yet dips below the minimum gap between samples.

The checker returns exact rational violation locations. Adding those points to the numerical constraints fixes each edit in one repair round. Every rejected candidate and the accepted repair remain in the record.

Two other requests have independent impossibility proofs. Refinement stops on those bounds, so no invalid edit is promoted to a certificate.

F04 · Full-request acceptance

Eight feasible requests. Position-only deliberately omits the slope constraint. Refinement includes the initial smooth solve and additional work; this is not an equal-budget optimizer comparison.

Figure 3. Actual optimization failures, rather than hand-built counterexamples. Dots are the original sample positions; the dashed line is the required gap. Original figure · Rejected narrow edit · Repaired narrow edit
Observed + derived · F05

Changing the representation changes feasibility.

Two requests excluded by the single-cubic model become achievable with four segments. Subdivision initially preserves the source curve; subsequent editing uses the added freedom. The input equivalence bound is recorded separately from the edit.

Recovered requests and necessary area floors
CaseTargetSingle cubic floorFour-segment floor

Bounds are necessary, not sufficient. Certified final exports provide the positive feasibility evidence.

Figure 4. Dots show joins; squares mark protected interior landmarks. The original boundary is dashed. Original figure · Full protocol
Smoothness is qualified. The checker accepts interior slope jumps no larger than 10⁻⁸. It also records whether the exported joins are exactly C¹; passing a numerical tolerance is not exact equality. End-cap corners are intentional. C², curvature preservation and preservation of original tangent values are not required.
04
Frozen fresh-input validation

Feedback helps. The certificate still decides.

120 new input files, a second exact implementation, and three follow-up policies from the same initial candidate. The new evaluation tests whether verification feedback adds practical value.

A comparison fixed before the run.

Eighty requests have saved, independently checked feasible witnesses. Twenty have unknown feasibility. Ten impossible targets and ten deliberately unsupported SVGs stop at preflight.

Every policy shares the initial sampled solve and receives at most two further solves, each capped at 150 iterations. The oracle and feasible witness shapes do not supply information to the numerical controller. Settings, fixtures and computation sources are bound in a local freeze manifest.

Observed on fresh synthetic inputs · F07

18 paired wins over denser sampling.

Witness refinement certifies 50/80 feasible requests; nested sampling certifies 32/80, and restart 21/80. Refinement succeeds on 18 cases where nested sampling fails. The reverse occurs on zero cases.

The initial solve passes 21/80. Refinement recovers 29 of the remaining 59 within two extra solves.

PolicyCertified / feasibleRecovered / initial failuresCertified / unknown
Restart21 / 800 / 591 / 20
Nested sampling32 / 8011 / 593 / 20
Witness refinement50 / 8029 / 599 / 20

The unit is an input/request pair. Common starts, method records and repair histories are paired observations. Ten unsupported and ten proven-impossible controls are excluded from optimizer success denominators. No population confidence intervals are inferred from these synthetic cases.

Figure 5. Same solve ceilings, engine and tolerances; different follow-up policies. Vector figure · Frozen protocol
Inspect all fresh-input strata and denominators
StratumInitial / 20RestartNestedWitness
expand20202020
contract11514
near-margin0048
landmarks0038
unknown1139

Twenty cases per optimized stratum. The first four strata are witnessed feasible; the unknown group is kept separate. Inputs vary asymmetric gaps, segment widths, translations, slopes and landmarks, but retain an affine common centerline.

A separate mathematical cross-check.

The new oracle evaluates every endpoint and stationary point using exact quadratic-radical signs. Direct Bernstein strip integrals cross-check the earlier Green-integral moments. It imports none of the old parser, subdivision or moment functions.

In development, 2,022 polynomial decisions and 42 earlier export entries revealed no contradictory decisive result. Seven bounded-subdivision decisions remained unresolved where the oracle was decisive.

Derivations and implementation boundaries →

The new exported candidates agree.

Both implementations replayed 564 candidate paths, 120 input paths and 80 feasible witness paths. All candidate areas and centroids matched exactly; no contradictory decisive result appeared.

This is separate implementation checking by the same author, with shared Python/XML dependencies and model assumptions. It is not formal verification or external review.

Complete replay record →
A remaining limit, not an impossibility result. Thirty witnessed-feasible requests still violate the gap floor after two refinement rounds. All other checked preservation requirements pass. A saved valid witness proves that each complete request is achievable; this controller and budget did not find a certified result.
Figure 6. Examples selected after the run by a recorded rule: contract-001 and contract-000. Plot samples illustrate the geometry; whole-interval checks decide acceptance. Comparative gain · Remaining failure
Cost distributions, failures and timing qualifications
PolicyMedian secondsP90 secondsMaximum seconds
Restart0.043050.089970.10336
Nested sampling0.038000.075530.08920
Witness refinement0.030800.054400.06419
Figure 7. All 80 feasible cases per policy are included. Shared initial cost is charged once per workflow.

Equal solve ceilings do not mean identical CPU work. Decision-path times include optimization, export and both checkers; some setup/bookkeeping outside the timed boundaries is excluded. The report records this post-run scope clarification without changing the frozen protocol. Subsecond measurements and retrospective deadline truncations are descriptive.

Why the checks and bounds work

The mathematical backbone.

These are established geometric and numerical tools. The derivations below explain the local mechanism; the linked dossiers connect them to the research library.

M01

Area and centroid

For upper and lower graphs u(x), l(x), let g(x) = l(x) − u(x).

A = ∫ g(x) dx
Cₓ = ∫ xg(x) dx / A
Cᵧ = ∫ [l(x)² − u(x)²]/2 dx / A

The producer uses Gaussian quadrature. The original checker independently integrates the closed polynomial boundary using Green’s identities and rational arithmetic. Study 04 cross-checks it with exact Bernstein strip integrals.

Derivation and measurement scope →
M02

Whole-interval separation

With shared linear x, a segment’s gap is a cubic Bézier polynomial whose coefficients are lower minus upper y controls. Its convex hull bounds the whole interval.

min(control coefficients) ≥ m
⇒ g(t) ≥ m for every t ∈ [0,1]

If this sufficient bound fails, exact subdivision tightens it. A low control coefficient is not a violating curve point. Only an evaluated witness establishes a pointwise violation.

Certificate outcomes and challenge →
M03

Joins depend on interval width

For adjacent cubic intervals of widths h₀, h₁, position continuity plus equal global derivatives gives C¹.

3(P₃ − P₂)/h₀
= 3(Q₁ − Q₀)/h₁

Equal handle lengths do not imply equal derivatives when interval widths differ. The global parameter in this prototype is x.

Farin & Hansford, chapter 9 →
M04

Necessary feasibility bounds

The cubic midpoint identity is

∫₀¹ g(t) dt = (g₀ + g₃)/6 + ⅔g(½)

For a fixed partition and gap ≥ m, summing segment bounds gives

A ≥ mW + hfirst(gleft − m)/6
+ hlast(gright − m)/6

Conservative endpoint gaps include anchor tolerance. These bounds do not prove feasibility when satisfied.

Assumptions and derivation →
Why the global outline is simple within this representation

Every boundary is a continuous graph over increasing x. Segment interiors occupy disjoint x intervals, positive gaps separate upper and lower curves even at the joins, and caps lie only at the extreme x positions. Together these properties establish a simple closed outline. This is a sufficient argument for this representation, not a general curve-intersection algorithm.

What the work enables—and what remains open

Findings with implications.

Claim → evidence → implication
FindingEvidencePractical implication
F01 · Hitting the target can violate preservation.ObservedStudy 01’s area-only edit moves the anchors by 25 units.
Inspect the counterexample
A steering request must state both what changes and what must remain invariant.
F02 · Method rankings depend on tolerances.Observed, conditionalThe same seven penalty outputs change from 0/7 to 7/7 accepted as area tolerance changes from 0.001 to 0.1.
Sensitivity table
Choose precision according to the intended measurement. One strict result does not establish a universal method ranking.
F03 · A failed edit is not an impossibility proof.Derived + observedIndependent area bounds explain particular failed requests. Other failures need diagnosis.
Necessary bounds
Report violated candidates, unresolved certificates, solver failures and impossible requests separately.
F04 · Verification can supply corrective information.ObservedTwo sampled smooth edits fail the gap check; each passes after one witness-guided repair.
Inspect the full repair history
A geometric receipt can drive a bounded edit–check–repair workflow, with no acceptance until the final export passes.
F05 · Representation is a capability choice.Derived + observedFour-segment edits satisfy two requests excluded by one cubic per boundary.
Recovered cases
Separate limits imposed by geometry representation from limits of the optimizer.
F07 · Feedback improves this fixed comparison.Observed on fresh inputsRefinement certifies 50/80 feasible requests versus 32/80 for nested sampling. Paired wins/losses: 18/0.
Frozen comparison
Further develop witness feedback in the supported model while retaining the exact acceptance gate.
F08 · Feasible failures remain after repair.Observed with constructive witnessesThirty requests have valid witness shapes but still fail the gap check after two repair rounds.
Full case ledger
Diagnose repair depth and clearance behavior before broadening the geometry family.
F06 · Geometry receipts are not attribution evidence.Scope conclusionNo training data, causal influence, signatures, identity or rights assertions were tested.
Recorded scope
The current mechanism can support geometric conformance checks and local operation records. Attribution needs a separately defined evidence model and experiments.
Usable now

A bounded steering laboratory.

Define a geometric request, generate a supported vector edit, inspect exact checks, retain rejected outputs, repair supported gap violations, and reproduce the result from the saved artifacts.

Next research questions · not established

Where the evidence stops.

General outlines need a broader intersection strategy. Perceptual or generative steering needs new measurands and model experiments. Authenticated provenance needs a trust mechanism. Training-data attribution needs causal definitions, access assumptions and validation.

We have not established novelty, broad comparative performance or applicability to arbitrary SVG artwork. These studies are a local engineering result built on established mathematics.

Current assessment · after Study 04

A validated comparison. An incomplete controller.

The proposed validation round is complete. It supports further work on feedback, and identifies 30 witnessed-feasible failures that should be understood before generalizing.

Completed in this round

A separate exact implementation, a locally frozen 120-input set, matched solve ceilings, paired comparisons, full candidate retention and a two-checker replay audit. All 41 behavioral tests pass.

Recommended next step

Use the remaining feasible failures as labeled development cases. Trace changing minimum-gap and witness locations, then freeze a repair-depth/clearance comparison on another untouched set. This follow-up has not been run.

The generator retains an affine common centerline. More general outlines, perception and training-data attribution remain separate studies.

Earlier-study evidence accounting
StudyCasesDistinct input hashesEntriesDistinct recorded SVG hashes

Studies 01–03 contain 63 entries referring to 55 distinct SVG byte hashes. Distinct bytes do not necessarily imply different curves; exact subdivision can preserve geometry.

Study 04 adds 360 workflow rows, including 60 preflight stops. Its 300 eligible workflow records share 100 initial candidates. The 564 candidate paths, 120 inputs and 80 witnesses are counted separately in its audit.

Studies 01–03 · Data, requests and receipts

Browse the original evidence.

Study 04 has its own complete 120-case ledger →

Each row opens a traceable record with the original and edited geometry, request, checks, solver attempts, exact witnesses and file links. The 63 rows include the original demonstration’s input; they are not 63 independent trials.

Geometry records, filtered by the controls above
Study / caseMethodOutcomeArea errorCentroid errorSlope jumpSolverEvidence

Area errors are absolute coordinate units²; centroid errors are maximum-coordinate distances; slope jumps are dy/dx. “—” means not measured or not applicable. A successful solver can still produce a violated request. Impossible flags come from mathematical bounds, not solver messages.

Inspect, reproduce, extend

A record that can be checked.

Snapshot verification

Built 2026-09-09 21:56:35 UTC. Fresh replay uses the saved exact checkers; it does not rerun optimization or the behavioral test suites.

What is traceable

  • Source input → declared request → editing settings → exported SVG → independent checks.
  • Successful and failed solver attempts, selected candidates and retained repair rounds.
  • Current code and artifact hashes, environments, stored run timestamps and recorded tests.
  • Claims linked to data and derivations, with later diagnoses distinguished from initial observations.

What is not reconstructed

This snapshot reflects saved artifacts, not a complete transcript of every exploratory action. Unsaved earlier runs cannot be reconstructed. The original receipt has no timestamp; it is presented first by documented study sequence. A hash binds bytes to a record but does not authenticate who made it or when.

Rebuild the labbook

cd vector-steering-lab
python3 build_labbook.py

The builder replays the geometry checks, verifies code and file hashes, and regenerates this HTML plus data, CSV and manifest snapshots. It stops on inconsistent study inputs and writes current structural validation. Earlier browser QA remains separately dated and bound to the HTML version it inspected.

Reproduce the experiments

Optimization runs replace named experiment outputs. Use the saved protocols to recreate each study with its recorded settings, then rebuild the labbook.

Recorded environments, run times and numerical settings
Inspect the source-file hash registry
Source fileBytesSHA-256
Independent checker challenges

These are adversarial and proof-budget tests, separate from the optimization denominators. The figures above show actual solver failures; the challenge files deliberately construct further edge cases.

Research and mathematical source routes

Study 04: exact extrema, Bernstein moments and feasible-witness derivations →

The HTML embeds its data and images and uses no remote scripts, fonts or chart services. Original source links require the accompanying folder; external and library links require their original locations. Portable reading is distinct from carrying the complete executable source archive.

Evidence record