Skip to content
Back to skills

Mobius Path Filter

ASecurity

**Category**: Theorem Dependency Analysis **Type**: Graph Path Classification **Language**: Julia **Status**: Production Ready **Version**: 1.0.0 **Date**: December 22, 2025

  • 61 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 6, 2026
documentationgonodeperformance

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add plurigrid/asi --skill mobius-path-filter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mobius Path Filter?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mobius Path Filter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/plurigrid-mobius-path-filter/badge)](https://www.skillsdirectory.com/skills/plurigrid-mobius-path-filter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Möbius Path Filter

**Category**: Theorem Dependency Analysis
**Type**: Graph Path Classification
**Language**: Julia
**Status**: Production Ready
**Version**: 1.0.0
**Date**: December 22, 2025

## Overview

Identifies tangled geodesics in proof dependency graphs via Möbius inversion. Classifies paths by prime factorization to determine which dependencies are problematic (create cycles) vs. optimal (linear chains).

## Key Functions

- **`enumerate_paths(adjacency)`**: Discovers all paths in graph
- **`factor_number(n)`**: Prime factorization for Möbius weights
- **`mobius_weight(n)`**: Computes μ(n) ∈ {-1, 0, +1}
- **`filter_tangled_paths(adjacency)`**: Identifies problem paths
- **`generate_filter_report()`**: Human-readable analysis

## Mathematical Foundation

**Möbius Inversion for Path Classification**
```
μ(n) = +1   : prime paths (keep - linear chains)
μ(n) = -1   : odd-composite paths (rewrite needed)
μ(n) = 0    : squared-factors (remove - redundant)
```

Uses prime factorization to weight geodesic paths in dependency graph. Helps identify which theorems create circular dependencies that impede spectral gap.

## Usage

```julia
using MobiusFilter

# Analyze proof dependencies
prime_paths, tangled = filter_tangled_paths(adjacency)

# Get recommendations
report = generate_filter_report(adjacency)
println(report)
```

## Integration Points

- Diagnosis tool for Week 2 analysis phase
- Feeds into safe_rewriting_advisor for remediation
- Used by continuous-inverter for automated detection

## Performance

- Execution time: ~1 second (for 5-node test graphs)
- Path enumeration: Exponential but capped by practical graph size
- Prime factorization: O(√n) per path

## References

- Hardy & Wright (1979): Elementary Number Theory
- Möbius inversion theory for discrete mathematics

Files in this skill

  • SKILL.md1.8 KB
  • mobius_filter.jl5.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…