Skip to content

Claude/add ordinal notation layer 9qh sf#3

Merged
hyperpolymath merged 9 commits into
mainfrom
claude/add-ordinal-notation-layer-9qhSf
Apr 22, 2026
Merged

Claude/add ordinal notation layer 9qh sf#3
hyperpolymath merged 9 commits into
mainfrom
claude/add-ordinal-notation-layer-9qhSf

Conversation

@hyperpolymath
Copy link
Copy Markdown
Owner

No description provided.

claude and others added 9 commits April 22, 2026 06:34
Documents adjacent hyperpolymath / PanLL projects so every session
starts with the same mental map instead of being re-explained.
Includes TODO placeholders for Burble, VQL-UT, and the Groove
protocol pending operator-supplied descriptions.

https://claude.ai/code/session_01DDGQFBtAT9JdRwmu25QzC2
Descriptions sourced from the panll repo and the hyperpolymath
org's public project docs. The operator-supplied "VQL-UT" name
has been recorded as likely VCL-UT (now VCL-total), with a
reconcile-spelling note rather than a silent correction.

https://claude.ai/code/session_01DDGQFBtAT9JdRwmu25QzC2
Linear-type WebAssembly language at hyperpolymath/ephapax.
Added as a separate entry; the Echidna-vs-ephapax question
(whether ephapax fills the Echidna role) remains open.

https://claude.ai/code/session_01DDGQFBtAT9JdRwmu25QzC2
Mirrors the bullet format used for every other hyperpolymath
member so future sessions see echo-types alongside its siblings
rather than only in the "this repo" section further down.

https://claude.ai/code/session_01DDGQFBtAT9JdRwmu25QzC2
Parks the proof-workspace-manager design in-tree until ArghDA
gets its own repo. Covers: core/panll split, four-state triage
file-move machine (inbox/working/proven/rejected), Agda-first
linter rules targeting the silent-failure class, DAG JSON
schema, first-sprint ordering, and acceptance criteria against
echo-types itself as the seed workspace.

https://claude.ai/code/session_01DDGQFBtAT9JdRwmu25QzC2
Rust crate parked at echo-types/arghda-core/ until it gets its
own repo. Implements the v0.1 surface from docs/arghda-spec.adoc:

- Workspace struct with four-state (inbox/working/proven/rejected)
  filesystem-backed layout; init() and open() are idempotent
- notify-based filesystem watcher helper
- LintRule trait + LintContext with include_root and entry_module
- missing-safe-pragma rule: scans the head of each file for both
  --safe and --without-K, emits hard-block if either is missing
- orphan-module rule: builds the transitive import closure starting
  from All.agda (tolerating stdlib modules as silent absent files),
  hard-blocks any .agda file outside that closure
- CLI (arghda): init, scan --json, watch
- Smoke test asserts the echo-types Agda suite passes both rules
  at the current commit (19 files, 0 hard-blocks)

https://claude.ai/code/session_01DDGQFBtAT9JdRwmu25QzC2
@hyperpolymath hyperpolymath merged commit 4f55283 into main Apr 22, 2026
2 checks passed
@hyperpolymath hyperpolymath deleted the claude/add-ordinal-notation-layer-9qhSf branch April 22, 2026 11:53
hyperpolymath added a commit that referenced this pull request May 30, 2026
)

## Summary

Mechanises the **Path-3 alternative** identified in PR #166's closing
note: enrich the SOURCE RULE rather than the rank function. New module
\`Ordinal.Buchholz.RankMonoSameLeft\` introduces a \`<ᵇ⁰\`-grounded
same-left joint-bplus constructor and closes its rank-pow obligation in
**one line**, bypassing the rank-lex-jb pivot's first-eq derivation
entirely for the same-literal-left sub-case. Zero postulates, \`--safe
--without-K\`, no funext.

## The structural insight tested

PR #166's closing note flagged Path-3 as a possible reframing:

> The source rule may need enrichment, not the rank function.
> For a valid \`<ᵇ-+1\`-at-equal-head derivation under WfCNF, rank-mono
soundness *requires* tail-rank-strict. Path-3 alternative: enrich the
source side instead — promote \`_<ᵇ_\` to carry a \`<ᵇ⁺-+2\`-style
same-left constructor with both head-eq and tail-strict premises baked
in.

This PR mechanises that intuition concretely. **Result: WORKS.**

## Headlines

| Name | Role |
|---|---|
| \`_<ᵇ⁺²_\` | Extended relation: \`<ᵇ⁺²-from-<ᵇ⁰\` embeds 10 closed
cases + \`<ᵇ⁺²-same-left\` adds the source-rule enrichment |
| \`rank-pow-mono-<ᵇ⁺²\` | Two-case structural recursion: each case ONE
LINE |
| \`rank-pow-mono-same-left\` | Direct lemma showing the same-left case
without routing through embedding |

## Path-3 vs rank-lex-jb (complementary, not subsuming)

| Sub-case | Path | Closure |
|---|---|---|
| Same LITERAL left (\`bplus x s\` vs \`bplus x t\`) | **Path-3 (this
PR)** | One-line via \`rank-pow-bplus-right-mono\` |
| Same head-Ω, different left syntax (\`bpsi ν α\` vs \`bOmega ν\`) |
rank-lex-jb (#147+#165+#166) | Multi-step: leftmost-α + first-eq +
\`<lex-second\` |

The same-left case is UNREACHABLE in K-free \`_<ᵇ_\` (would require
\`<ᵇ-irrefl\` violation via \`<ᵇ-+1 (x <ᵇ x)\`); reachable only in the
extended \`_<ᵇ⁺_\` of \`Ordinal.Buchholz.OrderExtended\` via \`<ᵇ⁺-+2\`.
This prototype narrows the tail premise to \`_<ᵇ⁰_\` to keep the closure
inductively grounded.

The K-restriction does NOT bite at constructor formation (only at
pattern-match elimination), so the same-binder \`<ᵇ⁺²-same-left\`
constructor is fine under \`--safe --without-K\`.

## Honest scope

- Does NOT prove well-foundedness of \`_<ᵇ⁺²_\` — separate from
rank-mono; would need a Brouwer-rank embedding (the rank function here
provides the seed).
- Does NOT subsume rank-lex-jb for the cross-head case — Path-3 and
rank-lex-jb are complementary.
- Does NOT extend the tail premise to \`_<ᵇ¹_\` — composes mechanically
via \`rank-pow-mono-<ᵇ¹\` but kept out of the prototype for minimality.
- Does NOT wrap in WfCNF endpoints (à la \`_<ᵇ⁻ⁿ_\` from Slice 4) — left
for downstream consumers.

## Implication confirmed

PR #166's #3 implication holds mechanically: enriching the source rule
is structurally simpler than the rank-function enrichment for this
scenario. The one-line closure here contrasts with the multi-PR
rank-lex-jb assembly chain. This suggests the **future bplus-chain
rank-mono umbrella may want to be designed as a UNION of source-rule
extensions** (Path-3 style for cleanly-decomposable cases) rather than a
single enriched rank function (rank-lex-jb style for cross-head cases).

## Local verification

- \`agda -i proofs/agda
proofs/agda/Ordinal/Buchholz/RankMonoSameLeft.agda\` — clean.
- \`agda -i proofs/agda proofs/agda/Ordinal/Buchholz/Smoke.agda\` —
clean, exit 0.
- \`agda -i proofs/agda proofs/agda/Smoke.agda\` — clean, exit 0.
- \`agda -i proofs/agda proofs/agda/All.agda\` — clean, exit 0.
- \`bash tools/check-guardrails.sh proofs/agda\` — **161 modules** pass
(one new).
- \`sh scripts/kernel-guard.sh\` — PASS.

Five new names pinned in \`Ordinal/Buchholz/Smoke.agda\` under a new
\`RankMonoSameLeft\` \`using\` block.

## Test plan

- [x] Module typechecks under \`--safe --without-K\` with zero
postulates.
- [x] Full suite + Smoke remain green with the new module wired in.
- [x] Foundation guardrail + kernel-guard pass with 161 modules.
- [ ] CI: \`check\` + \`cold-check\` + governance lanes green.
- [ ] Auto-merge on green.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants