Skip to content

tools: GEODESICSTRING n≥2 maps to the LineString MkChord bag - #745

Merged
grootstebozewolf merged 1 commit into
mainfrom
cursor/intake-geodesic-walker-2a05
Sep 13, 2026
Merged

grootstebozewolf merged 1 commit into
mainfrom
cursor/intake-geodesic-walker-2a05

Conversation

@grootstebozewolf

@grootstebozewolf grootstebozewolf commented Sep 13, 2026

Copy link
Copy Markdown
Owner

claimId: none
WITNESS: none
topics: overlay
board: ADR-0007 — tools visitor coherence with open PR #744 (0007-intake-geodesic)
branched from: main @ 4f0ea62
tip: 8deea44

This PR was drafted with AI assistance.

What this letter IS

Tools-only. tools/WktIntakeWalker now accepts well-formed GEODESICSTRING (n≥2) by mapping it onto the same LineString / MkChord bag path that Rocq μ already proves for TGeodesicString on #744.

  • visitGeodesicStringGeometry mirrors LINESTRING (GEODESICSTRING dim? lineStringText): Z/M/ZMID_NotFirstSlice; otherwise mapLineString(pointsOf(lineStringText)).
  • Empty → ID_Empty. Singleton → ID_BadPointCount. n≥2BAG hens=… chickens=…:MkChord.
  • visitCurveMember visits a geodesic member instead of hard-declining ID_GeodesicString. Spiral member stays ID_SpiralCurve.
  • ID_GeodesicString stays on the Reason enum (unused is fine).
  • Grammar (.g4) is unchanged. No new keyword, no WKB 13, no ellipsoid γ, no MkGeodesic.

Locked smoke row: GEODESICSTRING (0 0, 2 0) produces the same bag as LINESTRING (0 0, 2 0):

BAG hens=0,1 pts=0 0;2 0 chickens=0-1:MkChord

What this letter is NOT

  • NOT a Rocq / theories/ change. μ for TGeodesicString lives on letter: GeodesicString as sheet geodesic (claimId 0007-intake-geodesic) #744; this PR does not remint 0007-intake-geodesic.
  • NOT MkGeodesic / geodesic_eval / WKB 13 / ellipsoid γ / a second Rocq letter.
  • NOT first-cook expand, emit, or a new oracle keyword (ADR-0006).
  • NOT SPIRALCURVE fold-in. Spiral stays named Decline.

Proof surface

Java visitor only. Same mapping table as #744 μ (intake_map S (TGeodesicString pts)IntakeBag (map_ls S pts) for n≥2). Engines later test the bag, not the string.

Smoke / CI

  • bash tools/WktIntakeWalker/smoke.sh green on 8deea44 (locked geodesic bag, EMPTY, singleton, compound-curve geodesic member, spiral still Decline).
  • make ci-guards green locally (1723 cited theorems).
  • GitHub build proofs green on 8deea44: Corpus guardrails, Build with Rocq 9.2.0, Build theories-flocq in pinned container.

Do not merge.

Open in Web Open in Cursor 

WktIntakeWalker now mirrors LINESTRING for GEODESICSTRING (same
lineStringText shape): empty and singleton stay named Declines;
n>=2 is mapLineString / MkChord. Compound-curve geodesic members
visit the same mapper. SPIRALCURVE stays Decline. Coherence with
open PR #744 μ (TGeodesicString → map_ls). No Rocq in this letter.

This PR was drafted with AI assistance.

Co-authored-by: Jeroen Bloemscheer <grootstebozewolf@users.noreply.github.com>
@grootstebozewolf
grootstebozewolf merged commit f409574 into main Sep 13, 2026
3 checks passed
@grootstebozewolf
grootstebozewolf deleted the cursor/intake-geodesic-walker-2a05 branch September 13, 2026 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants