Skip to content

T3-1: PatternIR consolidation #167

@rororowyourboat

Description

@rororowyourboat

Problem

compile_pattern_to_spec() already proves PatternIR and GDSSpec produce equivalent canonical results. Whether to consolidate PatternIR into GDSSpec + semantic metadata is a refactoring question, not a correctness question.

Type

[MATH] [CODE]

Prioritization

  • Criteria: C2 (Completeness)
  • Tier: 3 — Research Frontier
  • Phase: 5 — Triggered, not scheduled
  • Dependencies: T2-2
  • Triggered by: Stability of report generation and visualization tooling

Pre-condition

T2-2 (behavioral verification) must be stable. Consolidation should not occur while the view layer is still being extended.


Part of the GDS-Core Improvement Roadmap

Scientific Context

Evidence level: N/A (refactoring) — not a new scientific claim. The bridge compile_pattern_to_spec() already proves equivalence. Consolidation simplifies the implementation without changing what can be expressed or verified.

Verification Strategy

Before/after equivalence: every PatternIR operation that currently works must produce identical results after consolidation. The existing canonical bridge tests are the regression suite.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmathFoundational/theoretical workphase-5Phase 5: Research FrontierroadmapImprovement roadmap itemtier-3Tier 3: Research Frontier

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions