- Replace all-to-all sub-poset connection with rewrite-based correspondence - Add compute_subpoint_correspondence() using cone structure for 3 cases: identity (1-to-1), contraction (many-to-one), insertion (index shift) - Add compute_height_maps() for singular and regular height tracking - Covering relations reduced from 114 to 35 for half_braid (69% reduction) - Surface 3 (r0,s0,r0): 9 spurious successors → 3 correct successors - 175 tests passing, 0 failures - Regenerated fixtures/half_braid_geometry.json with corrected boundaries Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
61 lines
2 KiB
Text
61 lines
2 KiB
Text
warning: unnecessary parentheses around closure body
|
|
--> homotopy-core/src/collapse.rs:135:22
|
|
|
|
|
135 | .filter(|&e| (e.target() != keep))
|
|
| ^ ^
|
|
|
|
|
= note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
|
|
help: remove these parentheses
|
|
|
|
|
135 - .filter(|&e| (e.target() != keep))
|
|
135 + .filter(|&e| e.target() != keep)
|
|
|
|
|
|
|
warning: unnecessary parentheses around closure body
|
|
--> homotopy-core/src/collapse.rs:158:22
|
|
|
|
|
158 | .filter(|&e| (e.source() != keep))
|
|
| ^ ^
|
|
|
|
|
help: remove these parentheses
|
|
|
|
|
158 - .filter(|&e| (e.source() != keep))
|
|
158 + .filter(|&e| e.source() != keep)
|
|
|
|
|
|
|
warning: `homotopy-core` (lib) generated 2 warnings (run `cargo fix --lib -p homotopy-core` to apply 2 suggestions)
|
|
Compiling homotopy-core v0.1.0 (/home/maximus/.env/extern/diagrammatic-semiotics/homotopy-rs/homotopy-core)
|
|
warning: unused import: `homotopy_core::common::Boundary`
|
|
--> homotopy-core/examples/export_dim4.rs:4:5
|
|
|
|
|
4 | use homotopy_core::common::Boundary;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
|
|
|
|
warning: `homotopy-core` (example "export_dim4") generated 1 warning (run `cargo fix --example "export_dim4" -p homotopy-core` to apply 1 suggestion)
|
|
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.48s
|
|
Running `target/debug/examples/export_dim4`
|
|
=== Searching for dimension 4 examples ===
|
|
|
|
--- lips() ---
|
|
lips: dim=4, size=1
|
|
source dim=3
|
|
|
|
--- pants_unit() ---
|
|
pants_unit: dim=4, size=1
|
|
source dim=3
|
|
|
|
--- algebraic_snake() ---
|
|
algebraic_snake: dim=3, size=1
|
|
|
|
=== Approach 1: Padded half_braid lifted to dim 4 ===
|
|
half_braid: dim=3, size=1
|
|
padded_3d: dim=3, size=2
|
|
padded_4d: dim=4, size=0
|
|
|
|
=== Approach 2: Pad lips() at dim 4 ===
|
|
padded_lips: dim=4, size=2
|
|
(original lips size was 1, now 2)
|
|
|
|
=== Exporting padded_lips (dim 4 with identity cospan) ===
|