본문으로 건너뛰기
cccskills
무료GitHub에 공개

bumpus-narratives

Sheaves on time categories for compositional temporal reasoning. Bumpus et al. narrative framework with adhesion filter FPT algorithms and Gay.jl color integration.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md3.4 KB
  • CONCOMITANT_SKILLS.md2.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Bumpus Narratives Skill

Trit: 0 (ERGODIC) - Mediates between verification (-1) and generation (+1)

Sheaves on time categories for compositional reasoning about temporal data.

Source Papers

  • Bumpus, B.M. et al. "Unified Framework for Time-Varying Data" (arXiv:2402.00206)
  • Bumpus, B.M. "Compositional Algorithms on Compositional Data" (arXiv:2302.05575)
  • Bumpus, B.M. "Structured Decompositions" (arXiv:2207.06091)
  • Bumpus, B.M. "Spined Categories" (arXiv:2104.01841)
  • Bumpus, B.M. "Cohomological Obstructions" (arXiv:2408.15184)

Core Concepts

1. Narratives as Sheaves

Temporal data = sheaf F: I_N → D where:

  • I_N = time category (intervals [a,b] with inclusions)
  • D = data category with pullbacks
  • Sheaf condition: F([a,b]) = F([a,p]) ×_{F([p,p])} F([p,b])
F₁³ := {(x,y) ∈ F₁² × F₂³ | f₁,₂²(x) = f₂,₃²(y)}

2. Adhesion Filter (FPT Algorithm)

For tree decompositions of width w:

  • Complexity: O(f(w) · n) instead of O(2^n)
  • Runs on bag boundaries via pullback checking
function adhesion_filter(sheaf::Sheaf, decomp::TreeDecomp)
    for (bag1, bag2) in edges(decomp)
        adhesion = bag1 ∩ bag2
        if !is_pullback(sheaf, bag1, bag2, adhesion)
            return false
        end
    end
    true
end

3. Cohomological Obstructions

H⁰ detects local-to-global failure:

  • H⁰(F) ≠ 0 → obstruction to gluing
  • Čech complex on cover of intervals

Integration with Gay.jl

Color-Coded Narratives

Each interval [i,j] gets deterministic color:

color([i,j]) = gay_color(BUMPUS_SEED ⊻ hash(i,j))

GF(3) Conservation

Narrative operations preserve triadic balance:

  • Restriction (-1): F([a,b]) → F([a,a])
  • Extension (+1): F([a,a]) → F([a,b])
  • Pullback (0): F₁³ := fibered product

Diagram Catalog

20 extracted diagrams from Bumpus papers:

  • 17 commutative diagrams
  • 2 functor diagrams
  • 1 graph diagram

Location: papers/diagrams/images/bumpus-*.jpg

Triadic Composition

structured-decomp (-1) ⊗ bumpus-narratives (0) ⊗ world-hopping (+1) = 0 ✓
sheaf-cohomology (-1) ⊗ bumpus-narratives (0) ⊗ triad-interleave (+1) = 0 ✓
persistent-homology (-1) ⊗ bumpus-narratives (0) ⊗ gay-mcp (+1) = 0 ✓

Example: Ice Cream Companies

From the Venice ice cream example (Diagram 1):

Time 1: {a₁, a₂, b, c}  →  Time 2: {a*, b, c}  →  Time 3: {a*, b}

The sheaf tracks:

  • Company mergers (a₁, a₂ → a*)
  • Company disappearance (c)
  • Supplier relationships (graph morphisms)

API

using BumpusNarratives

# Create narrative
n = Narrative(TimeCategory(1:10), FinSet)

# Add snapshots
add_snapshot!(n, 1, Set([:a, :b, :c]))
add_snapshot!(n, 2, Set([:a, :b]))

# Check sheaf condition
is_sheaf(n)  # true if pullbacks exist

# Compute H⁰ obstruction
obstruction = cech_H0(n)

References

  1. Bumpus et al. - Time-varying data via sheaves on time categories
  2. Ghrist - Elementary Applied Topology (Čech cohomology)
  3. Fairbanks - AlgebraicJulia ecosystem for ACSets
  4. Gay.jl - Deterministic color chains for diagram coloring

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Model ElevenLabs voice synthesis as an ACSet schema with Unison ability handlers for typed voice operations. Use when integrating ElevenLabs TTS into category-theoretic pipelines, building typed voice synthesis workflows, or managing multi-voice narration with GF(3) conservation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

plurigrid/asi702026년 7월 10일 업데이트

Systematic process for analyzing and modernizing legacy applications to comply with the 12-Factor App methodology. Covers code analysis, configuration externalization, dependency management, and container/Kubernetes best practices.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

plurigrid/asi702026년 7월 10일 업데이트

13c0e3

무료

Gay MCP skill at invocation 26

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

plurigrid/asi702026년 7월 10일 업데이트

19d57d

무료

Gay MCP skill at invocation 5

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

plurigrid/asi702026년 7월 10일 업데이트

1ea91a

무료

Gay MCP skill at invocation 27

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

plurigrid/asi702026년 7월 10일 업데이트

1eab21

무료

Gay MCP skill at invocation 3

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

plurigrid/asi702026년 7월 10일 업데이트

plurigrid의 스킬 모두 보기

이 스킬의 문제 신고