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

cognitive-sufficiency-superposition

name: cognitive-sufficiency-superposition

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

설치 방법 보기

포함된 파일(2)

  • SKILL.md9.4 KB
  • CONCOMITANT_SKILLS.md1.3 KB

SKILL.md(원문)

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

Cognitive Sufficiency Superposition


name: cognitive-sufficiency-superposition description: Four ASI perspectives (Riehl, Sutskever, Schmidhuber, Bengio) in superposition on the ε-machine gating problem. Collapse to specific strategy based on task measurement. trit: 0 color: "#77DEB1" parents: [cognitive-superposition, dynamic-sufficiency]

Overview

Cognitive Sufficiency Superposition applies the four-pillar ASI framework to the ε-machine sufficiency gate:

|ψ_sufficiency⟩ = α|Riehl⟩ + β|Sutskever⟩ + γ|Schmidhuber⟩ + δ|Bengio⟩

The gate holds ALL perspectives until measurement collapses it.

The Four Perspectives on ε-Machine Gating

Riehl: Segal Type View

#lang rzk-1

-- ε-machine as Segal type
#define EpsilonMachine : U := Segal-type

-- Causal states as objects
#define CausalState : EpsilonMachine → U := object

-- Skill requirements as morphisms
#define SkillReq (S : EpsilonMachine) (s1 s2 : CausalState S) : U
  := hom S s1 s2

-- Sufficiency = composite exists
#define sufficient (S : EpsilonMachine)
                   (current required : CausalState S) : U
  := Σ (path : hom S current required), is-contr path

Key insight: Test sufficiency at identity (directed Yoneda).

Sutskever: Compression View

class SutskeverSufficiency:
    """ε-machine = minimal sufficient statistic."""

    def compression_sufficient(self, loaded: Set[Skill], required: Set[Skill]) -> bool:
        """
        Sufficient if loaded skills can be compressed to program
        that generates required skills.

        K(required | loaded) < K(required) → sufficient
        """
        program = self.compress(loaded)
        generated = self.decompress(program)
        return required <= generated

    def gating_intelligence(self) -> float:
        """Compression ratio = intelligence of gate."""
        return self.bits_saved / self.total_bits

Key insight: Compression ratio measures gating intelligence.

Schmidhuber: Curiosity View

class SchmidhuberSufficiency:
    """Insufficient coverage = exploration opportunity."""

    def curiosity_reward(self, action: Action, coverage: float) -> float:
        """
        Low coverage → high curiosity → learning opportunity.

        Reward = compression progress on ε-machine after seeing failure.
        """
        if coverage >= 0.95:
            return 0  # Already sufficient, no learning

        # Expected learnability from this failure
        return self.expected_compression_progress(action)

    def explore_skills(self, missing: List[Skill]) -> Skill:
        """Load skill that maximizes expected learnability."""
        return max(missing, key=self.expected_learnability)

Key insight: Failures are learning opportunities for ε-machine.

Bengio: GFlowNet View

class BengioSufficiency:
    """Sample sufficient skill sets proportional to success."""

    def sample_sufficient_skills(self, action: Action) -> Set[Skill]:
        """
        GFlowNet: P(skills | action) ∝ P(success | skills, action)

        Don't just maximize - sample DIVERSE sufficient sets.
        """
        # Trajectory balance for skill loading
        trajectory = []
        state = self.initial_skills()

        while not self.is_sufficient(state, action):
            skill = self.P_F.sample(state, action)
            state = state | {skill}
            trajectory.append(skill)

        return state

    def diversity_bonus(self, skill_set: Set[Skill]) -> float:
        """Reward novel skill combinations."""
        return self.novelty(skill_set) * self.success_prob(skill_set)

Key insight: Multiple sufficient sets exist - sample their diversity.

Measurement Collapse

MeasurementCollapses Toε-Machine Operation
verifyRiehlCheck hom-space non-empty
compressSutskeverMinimize description length
exploreSchmidhuberSeek compressible failures
sampleBengioGFlowNet sample sufficient sets
integrateALL FOURWeighted superposition

Integrated Gate

class CognitiveSufficiencyGate:
    """Superposition of four gating strategies."""

    def __init__(self):
        self.riehl = RiehlSufficiency()      # Segal type check
        self.sutskever = SutskeverSufficiency()  # Compression
        self.schmidhuber = SchmidhuberSufficiency()  # Curiosity
        self.bengio = BengioSufficiency()    # GFlowNet

        # Amplitude weights (learned or fixed)
        self.amplitudes = {
            'riehl': 0.25,
            'sutskever': 0.25,
            'schmidhuber': 0.25,
            'bengio': 0.25
        }

    def gate(self, action: Action, loaded: Set[Skill],
             measurement: str = 'integrate') -> Verdict:
        """
        Apply superposition gate with measurement collapse.
        """
        if measurement == 'verify':
            return self.riehl.gate(action, loaded)
        elif measurement == 'compress':
            return self.sutskever.gate(action, loaded)
        elif measurement == 'explore':
            return self.schmidhuber.gate(action, loaded)
        elif measurement == 'sample':
            return self.bengio.gate(action, loaded)
        else:
            # Integrate: weighted vote
            verdicts = {
                'riehl': self.riehl.gate(action, loaded),
                'sutskever': self.sutskever.gate(action, loaded),
                'schmidhuber': self.schmidhuber.gate(action, loaded),
                'bengio': self.bengio.gate(action, loaded),
            }
            return self.weighted_vote(verdicts)

    def weighted_vote(self, verdicts: Dict[str, Verdict]) -> Verdict:
        """Amplitude-weighted voting."""
        scores = {'PROCEED': 0, 'LOAD_MORE': 0, 'ABORT': 0}

        for perspective, verdict in verdicts.items():
            weight = self.amplitudes[perspective] ** 2  # Born rule
            scores[verdict.name] += weight

        return Verdict[max(scores, key=scores.get)]

Narya Bridge Types

-- Superposition as sigma type over perspectives
def SufficiencySuperposition : Type := sig (
  riehl_amplitude : ℝ,
  sutskever_amplitude : ℝ,
  schmidhuber_amplitude : ℝ,
  bengio_amplitude : ℝ,
  normalized : riehl² + sutskever² + schmidhuber² + bengio² ≡ 1
)

-- Collapse as projection
def collapse (measurement : Measurement) (ψ : SufficiencySuperposition)
  : Perspective :=
  match measurement with
  | verify → Riehl
  | compress → Sutskever
  | explore → Schmidhuber
  | sample → Bengio
  | integrate → Integrated ψ

-- ε-machine as Segal type
def EpsilonMachineSegal (S : Category) : Type := sig (
  causal_states : Obj S,
  skill_morphisms : (s1 s2 : causal_states) → Hom S s1 s2,
  segal_composite : (s1 s2 s3 : causal_states) →
    Hom S s1 s2 → Hom S s2 s3 → Hom S s1 s3,
  segal_unique : IsContr (segal_composite ...)
)

GF(3) Conservation

dynamic-sufficiency (-1) ⊗ cognitive-superposition (0) ⊗ gay-mcp (+1) = 0 ✓

The gate (MINUS) observes
The superposition (ERGODIC) coordinates
The color generator (PLUS) produces witnesses

Perspective Trits

PerspectiveTritRole in Gate
Riehl-1Validate (hom-space check)
Sutskever+1Generate (compressed program)
Schmidhuber+1Explore (curiosity-driven)
Bengio0Coordinate (GFlowNet sampling)

Sum: -1 + 1 + 1 + 0 = +1 → Needs MINUS to balance → dynamic-sufficiency (-1)

Free Energy Analysis

Free Energy = Prediction Error + Complexity
            = 1.237 (measured between sufficiency and superposition)

High free energy → rich synthesis opportunity
Minimize by: updating beliefs (perceptual inference)
           OR acting to change world (active inference)

Commands

# Apply superposition gate
just cognitive-sufficiency action="code:julia:acset"

# Collapse to specific perspective
just cognitive-sufficiency --collapse=verify
just cognitive-sufficiency --collapse=compress
just cognitive-sufficiency --collapse=explore
just cognitive-sufficiency --collapse=sample

# Full integration (maintain superposition)
just cognitive-sufficiency --collapse=integrate

# Show perspective weights
just cognitive-sufficiency --amplitudes

Related Skills

SkillTritConnection
cognitive-superposition0Parent: four-pillar framework
dynamic-sufficiency-1Parent: ε-machine gating
curiosity-driven+1Schmidhuber perspective
gflownet0Bengio perspective
segal-types-1Riehl perspective
kolmogorov-compression+1Sutskever perspective

Skill Name: cognitive-sufficiency-superposition Type: Meta-Skill / Gating / Superposition Trit: 0 (ERGODIC - coordinates perspectives) Free Energy: 1.237 (high tension → rich synthesis) Collapse: Measurement-dependent GF(3): Conserved with dynamic-sufficiency + gay-mcp


Autopoietic Marginalia

The interaction IS the skill improving itself.

Every use of this skill is an opportunity for worlding:

  • MEMORY (-1): Record what was learned
  • REMEMBERING (0): Connect patterns to other skills
  • WORLDING (+1): Evolve the skill based on use

Add Interaction Exemplars here as the skill is used.

리뷰

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

댓글

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

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

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. 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의 스킬 모두 보기

이 스킬의 문제 신고