Skip to content

Tier-S: #45 Frontier 3 — POSIX 2024 conformance theory #91

Open

Description

@hyperpolymath

Scope (sub-issue of #45 Frontier 3)

POSIX 2024 conformance — the formal layer doesn't capture which POSIX subset IS conformant.

Theorem targets

  • posix_word_splitting_correctness — IFS semantics in every context (incomplete per CLAUDE.md)
  • posix_parameter_expansion_total_correctness — 67 tests exist, but no Lean theorem corresponds to each ${VAR:-default}, ${VAR:?msg}, ${VAR##prefix} form
  • posix_exit_status_propagation — pipeline exit status, command substitution exit handling

Theory frontier

Operational-semantics formalisation à la POSH (POSIX Shell), Smoosh (Greenberg et al. 2020 "Executable Formal Semantics for the POSIX Shell").

Resolution

  1. Design doc enumerating which POSIX 2024 sections are claimed.
  2. Theorem-per-section in Lean 4.
  3. Cross-check Rust impl via property-correspondence tests (companion to Tier-S: #42 sub — Mizar theorems (63 candidates, set-theoretic foundation) #80).

References

Activity

  1. added
    research
    on Aug 27, 2026
  2. added
    priority:p3
    scope:repo
    on Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:p3researchscope:repo

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions