Long-term direction: Research methodology, executable discovery operators, and cognitive growth

Open
#336 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
8/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Domain
ai

Research direction

This is a tracking and design issue with no code to change yet. Read the Open questions section first, since Q5 (#20), Q6 (#21) and the practice-pack unification with #195 must be settled before implementation. Done means the work is split into focused child issues with concrete acceptance criteria, not that anything is built here.

Written by the indexing model from the issue text.

Description

layer:ai needs-decision priority:p3 status:triage type:feature
Roadmap task

Long-term product and architecture direction spanning P2/P4 (multi-evidence kernel and second non-Lean use case) and P5 (AI system). Design reference only — not scheduled for immediate implementation.

Goal

Clarify and preserve the long-term product vision for evolving Trellin from a Lean-first proof workbench into a cognitive and evidence operating system for theoretical and computational research.

Trellin's long-term value rests on three distinct, mutually reinforcing pillars:

  1. Research Infrastructure — auditable, reproducible, traceable research records and evidence chains.
  2. Research Acceleration — AI, computation, and verification tools that speed up genuine progress.
  3. Research Capability Development — helping researchers sharpen their own problem discovery, abstraction, boundary judgment, and independent reconstruction.

Faster AI-assisted output does not automatically produce stronger researchers. Trellin should connect the Research Loop (problem → candidate claim → proof/experiment → verification → accumulation) with the Learning Loop (observation → independent analysis → targeted guidance → critique/reconstruction → transfer) inside real research projects — without turning into a separate teaching app or forcing rigid workflows.

Proposed design direction
1. Executable research operators (not static prompt lists)

Instead of treating research methodology as generic prompt templates, pair declarative, versioned perspectives and development operators (generalize, weaken assumptions, find converse, search counterexample, quantify/tighten bounds, decompose/compose, transfer) with Trellin's real data structures and tools:

  • Assumption stress testing: systematically probe each frozen premise in a claim's approved basis via small-scale counterexample search, numerical checks, or withdrawal-impact analysis (If withdrawn) to distinguish essential premises from candidates for weakening.
  • Structured scope diff: when generalizing or modifying a claim, explicitly highlight changes in domain, added/removed premises, quantifiers, and conclusion, keeping "stronger claim" judgments tied to explicit verification rather than informal AI assertions.
  • Applicability and boundaries: methods declare when they apply, what evidence they require, and when they should decline to run rather than mechanically generating generic question lists.
2. Evidence escalation ladder (beyond Lean-only)

Formal Lean proofs provide the strongest machine guarantee, but are too heavy as the default verification step during early exploration, evolving definitions, or numerical discovery. Trellin should support progressive, risk-proportionate verification across unified provenance and review rules:

  • Escalation path: intuition / candidate conjecture → fast numerical falsification → exact finite certificate (LP, SAT, combinatorial solver) → reproducible computation → independent human mathematical review → selective Lean formalization for high-risk lemmas.
  • Strict epistemic separation: each evidence type states what it supports and what it does not support. "Multiple models agreed", "code ran", or "human accepted" must never be labelled as formal verification.
  • Explicit assurance control: Trellin may recommend a cost-appropriate verification strategy, but must never silently downgrade a task's required assurance level without explicit researcher confirmation.
3. Zero-friction cognitive exoskeleton (capability growth as a byproduct)

Researchers rarely pause real work to enter a separate "training course". Capability growth should be embedded at high-leverage decision points with minimal friction:

  • Personal Counterexample Atlas: promote falsified conjectures, boundary cases, and refutations into a searchable local atlas so new conjectures are automatically screened against known failure modes while reinforcing boundary intuition.
  • Core-bridge compression: present long AI-generated proofs or derivations through verified logical bridges, actually used premises, and sharpest boundary conditions, extending the existing review understanding workflow.
  • Understanding debt & flexible guidance modes: extend review capacity to slow runaway automation when key conclusions have not yet been digested, and allow switching between Execution, Collaboration, and Guided/Reconstruction modes per session or task — always skippable, never coercive, and never reducing researchers to opaque skill scores.
4. First-class dead ends and route revival (living research state)

Long-horizon research loses momentum across weeks and months when failed attempts disappear into chat history:

  • First-class dead ends: build on withdrawn claims (#320) so abandoned routes, refuted conjectures, and dead ends record explicit blocking causes (refuting counterexample, missing lemma, complexity barrier, or overly strong premise).
  • Forward Barrier Watch: complement backward invalidation (If withdrawn) and Automation with forward revival alerts — notifying the researcher when a newly verified lemma, relaxed definition, or computation removes the blocker of an earlier stalled route.
  • Clear graph semantics: keep heuristic/inspirational links, claim–evidence links, and formal proof dependencies semantically distinct so heuristic links can never act as logical proof dependencies.
5. Unified, empirically evaluated strategy packs
  • Consolidate versioned methodology definitions, workflow conventions (#195 practice packs), and verification strategies under one declarative, versioned mechanism rather than building parallel systems.
  • Never treat an initial methodology set as universal truth: allow packs to be customized, compared, replaced, or disabled per project.
  • Evaluate whether a method actually improves research rigor, efficiency, and independent understanding via historical task replay (#80 shadow evaluations) and independent reconstruction/transfer checks rather than subjective ratings.
Design principles and hard boundaries
  • Standardize interfaces, not thinking: standardize how research methods are declared, versioned, invoked, and audited — not a single mandatory way to think.
  • Human sovereignty (B2): AI outputs and method invocations enter strictly as proposals. Guidance or learning interactions can never approve a claim or upgrade its assurance level.
  • Embedded experience: integrate into existing surfaces (Chats, Open Research Goals, Project Map, Claim Inspector, Review, Library, Settings) instead of creating isolated top-level silos.
  • Privacy and local ownership (D4): unpublished conjectures, dead ends, and personal understanding/learning records are highly sensitive and remain strictly local unless explicitly authorized.
  • Reuse over duplication: extend existing basis, review understanding, review capacity, withdraw-claim, Project Map, Automation, and evaluation infrastructure instead of creating duplicate tables or parallel concepts.
Suggested staging (when ready to prioritize)
  1. Prerequisites (decision & kernel alignment):
    • Settle Q5 (#20, assurance levels and ordering) and Q6 (#21, second non-Lean use case).
    • Unify methodology packs with #195 (practice packs) and clarify boundaries with #79, #88, #134, and #147.
    • Advance non-Lean reproducible computation and exact certificates (#78).
  2. First high-value vertical slice (MVP):
    • Declarative versioned registry for a compact, high-leverage set of data-linked operators (starting with assumption stress test, counterexample check, and structured scope diff) embedded into Chats and Claim Inspector, feeding existing Goal/Claim/Review flows with full provenance.
  3. Living memory & low-friction reflection:
    • Counterexample Atlas, structured blocking causes on withdrawn/stalled claims + Barrier Watch revival notices, and core-bridge compression built on review understanding.
  4. Empirical evolution:
    • Ablation comparisons via #80 shadow evaluations and customizable domain methodology packs.
Acceptance criteria

(Tracking and design issue — implementation criteria will be split into focused child issues once prerequisites are settled.)

  • Architecture and concept alignment settled with #20 (Q5), #21 (Q6), and #195 (practice packs).
  • First focused child issues scoped with concrete acceptance criteria and Agent fit before implementation begins.
Decisions and contracts
  • Settled decisions honored: A1–A3 (five-layer architecture, workflow business logic, Lean as plugin), B1–B7 (kernel records, proposal-only AI, registered types, attribution, events, PostgreSQL authority, reproducible verifiers), C1–C4 (process plugins & MCP), D4 (explicit external data authorization), E6 (bilingual UI catalogs).
  • Open questions / blocking decisions: Q5 (#20 assurance levels), Q6 (#21 second non-Lean use case), unification with #195.
  • Related existing issues: #20, #21, #78, #79, #80, #87, #88, #134, #147, #195.
Dominant language
Python
Stars
2
Forks
0
Avg merge
56m
Merged PRs (30d)
190

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SAFuDarren/Trellin

All issues in SAFuDarren/Trellin

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.