Zigzag engine: cubical/string-diagram constructions in Rust. Reference for topolei.
Find a file
Maximus Gorog c51e3274f9 Stage 2 complete: Construction 17 validated on real 3D data
Zigzag engine (6802 lines, 184 tests):
- Construction 17 normalisation: working through dimension 3+
- Import from homotopy-rs JSON: working (scalar, two_scalars, half_braid)
- Piece extraction via Embedding/restrict_diagram: working
- Type checking pipeline: working (Eckmann-Hilton half_braid passes)
- Essential identity detection: validated with full 2-diagram test

Bugs found and fixed:
- assemble_factorisations losing cospan legs during reassembly
- RewriteN::slice() using source offsets instead of target indices
- singular_preimage() not handling passthrough heights
- restrict_rewrite() not accounting for accumulated cone offsets
- Embedding::preimage() using regular_preimage for Singular case

Added vis-engine-spec.md: visualization engine specification
- 6-layer architecture from math primitives to scene graph
- SVG renderer for 2D, WebGL2 for 3D, custom hit testing
- Spring constraint integration point for semiotic rendering
- No external dependencies - game engine approach

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-09 05:26:15 -06:00
examples Stage 2 complete: Construction 17 validated on real 3D data 2026-04-09 05:26:15 -06:00
fixtures Add visibility filter and output only visible elements 2026-04-08 02:16:36 -06:00
src Stage 2 complete: Construction 17 validated on real 3D data 2026-04-09 05:26:15 -06:00
tests Stage 2 complete: Construction 17 validated on real 3D data 2026-04-09 05:26:15 -06:00
web Add visibility filter and output only visible elements 2026-04-08 02:16:36 -06:00
.gitignore Fix explosion.rs over-approximation: use cospan rewrite data for correct covering relations 2026-04-08 00:54:18 -06:00
Cargo.lock Fix explosion.rs over-approximation: use cospan rewrite data for correct covering relations 2026-04-08 00:54:18 -06:00
Cargo.toml Fix explosion.rs over-approximation: use cospan rewrite data for correct covering relations 2026-04-08 00:54:18 -06:00