ies/music-topos/.codex/skills/spectral-gap-analyzer/SKILL.md
# Spectral Gap Analyzer **Category**: Theorem Prover Health Monitoring **Type**: Graph Analysis + Linear Algebra **Language**: Julia **Status**: Production Ready **Version**: 1.0.0 **Date**: December 22, 2025 ## Overview Measures proof system health via Laplacian eigenvalue gap analysis. Computes the spectral gap λ₁ - λ₂ of proof dependency graphs to identify optimal connectivity (Ramanujan property) vs. tangled dependencies. ## Key Functions - **`compute_laplacian(adjacency)`**: Constructs
npx skillsauth add plurigrid/asi ies/music-topos/.codex/skills/spectral-gap-analyzerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Category: Theorem Prover Health Monitoring Type: Graph Analysis + Linear Algebra Language: Julia Status: Production Ready Version: 1.0.0 Date: December 22, 2025
Measures proof system health via Laplacian eigenvalue gap analysis. Computes the spectral gap λ₁ - λ₂ of proof dependency graphs to identify optimal connectivity (Ramanujan property) vs. tangled dependencies.
compute_laplacian(adjacency): Constructs Laplacian matrix L = D - Aeigenvalue_spectrum(laplacian): Extracts eigenvalues from spectral decompositionspectral_gap(eigenvalues): Computes λ₁ - λ₂ gap measureanalyze_all_provers(): Per-prover analysis across 6 theorem proverscompute_prover_gap(proofs): Single prover gap computationSpectral Gap Theorem (Anantharaman-Monk)
λ₁ - λ₂ ≥ 1/4 ⟺ Ramanujan Property (optimal expansion)
using SpectralAnalyzer
# Single prover analysis
gap = analyze_all_provers()["lean4"]
# Check Ramanujan status
if gap["overall_gap"] >= 0.25
println("✓ System is Ramanujan optimal")
else
println("⚠ System needs rewriting")
end
development
BDD-Driven Mathematical Content Verification Skill Combines Behavior-Driven Development with mathematical formula extraction, verification, and transformation using: - Cucumber/Gherkin for specification - RSpec for implementation verification - mathpix-gem for LaTeX/mathematical content extraction - Pattern matching on syntax trees for formula validation Enables iterative discovery and verification of mathematical properties through executable specifications.
tools
Meta-skill that generates domain-specific AI skills from tool documentation
development
Code Query with AI-enhanced deterministic analysis via SplitMix ternary classification
development
Directed Yoneda lemma as directed path induction. Riehl-Shulman's key insight for synthetic ∞-categories.