Spaces:
Paused
Paused
Commit History
-
Add Rivin-Delaunay optimization and arithmeticity checking
Major additions: - rivin_delaunay.py: Rivin's LP-based algorithm for optimal volume with fixed combinatorics, plus geometric realization - rivin_holonomy.py: Add check_arithmeticity() function with CLI that computes shears from geometry and checks trace integrality - bin/gui.py: New "Fixed Combinatorics" tab for Rivin optimization - arithmeticity_benchmark.json: 1 optimized (arithmetic) + 9 random (non-arithmetic) configurations demonstrating the theorem The benchmark shows that Rivin-Delaunay optimized configurations always have integer holonomy traces (arithmetic), while random vertex positions produce non-integer traces (non-arithmetic). Also added: - geometric_realization.py: Realize angles as vertex positions - combinatorial_enumeration.py: Triangulation enumeration tools - planar_utils.py, plantri_interface.py: Graph utilities - Moved documentation to docs/, cleaned up repo structure 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude …c89947b
-
Major reorganization and feature additions
## Reorganization - Moved all examples to organized examples/ directory by category - examples/distributions/ (tetrahedron, 5-vertex, 6-vertex, euclidean) - examples/optimization/ (7-vertex, 12-vertex, 20-vertex, platonic) - examples/visualization/ - examples/analysis/ - Created bin/ directory for command-line tools and GUI - Created results/ directory with data/, plots/, logs/ subdirectories - Moved documentation to docs/ directory - Cleaned up 91+ root-level files into organized structure ## New Features ### Command-Line Tools (bin/) - optimize_polyhedron.py: General optimization wrapper with canonical output - analyze_distribution.py: Distribution analysis wrapper - gui.py: Comprehensive Gradio web interface ### Gradio GUI (bin/gui.py) - 5-tab interface: Optimization, Distribution, Visualization, Arithmeticity, About - Parallel optimization using all CPU cores (64-core support) - Real-time progress tracking - 3D visualization in Klein and Poincaré ball models - Holonomy c…d7d27f0