Skip to content

Back up the same-world proof ladder sketches as a proposal - #118

Open
hyperpolymath wants to merge 1 commit into
mainfrom
marina/kind-maxwell-jtct7s
Open

hyperpolymath wants to merge 1 commit into
mainfrom
marina/kind-maxwell-jtct7s

Conversation

@hyperpolymath

@hyperpolymath hyperpolymath commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

Summary

Backup of the same-world proof ladder sketches, as a proposal. The owner approved this draft PR through the question selector on 2026-11-22, after a backup sweep request. It is a holding place. It is not the theory shelf admission.

The question the sketches answer: when do two subjects see "the same world"? The world is a deterministic machine, and a view (an Umwelt) is a function from the world state to a percept.

Changes

  • Adds docs/proposals/same-world-ladder/ with 4 Agda sketch files and README.adoc.
  • SameWorld.agda: Ladder A, rungs A0 to A3, A5, A6 (SameWorld, sound, stable, bisimulation with greatest, Secret.no-leak, the counterexample Gaslight.not-same).
  • SameWorldCo.agda: rung A4, the coinductive form.
  • Bridge.agda and SameWorldCubical.agda: Ladder B, rungs B0 to B4, full Cubical Agda.
  • No file under verification/proofs changes. MANIFEST, the catalogue, the claims registry and the receipts do not change.

What is not established

  • No receipt exists. Every theorem here is ungraded.
  • The 4 files passed with --double-check on Agda 2.6.3 from an Ubuntu package. No run used the pinned Guix shell (Agda 2.7.0.1).
  • No Rocq recheck and no Lean recheck exists.
  • SameWorldCo.agda, Bridge.agda and SameWorldCubical.agda use --guardedness or --cubical. These options are outside PROOF-POLICY section 2.1 and need a separately reviewed proof profile. No such profile exists. By owner ruling, none is written now (Ladder A first).
  • scripts/census/census-repo.sh finds Agda files by extension. A later census run can count these 4 sketch files. They are not proofs of record.
  • The commit is unsigned on purpose: an estate signing hold is in force.

RSR Quality Checklist

Required

  • Tests pass (just test or equivalent): not run. just is not installed in the container that made this PR. CI decides.
  • Code is formatted (just fmt or equivalent): not run.
  • Linter is clean (no new warnings or errors): not run.
  • No banned language patterns (no Python, Go, TypeScript or ReScript; JavaScript runs Bun > Deno > pnpm > npm)
  • No unsafe blocks without // SAFETY: comments
  • No banned functions (believe_me, unsafeCoerce, Obj.magic, Admitted, sorry)
  • SPDX license headers present on all new/modified source files
  • No secrets, credentials, or .env files included

As Applicable

  • docs/status/ROADMAP.adoc updated: not done. The admission waits for enaction-umwelt/1, which does not exist yet.

Generated by Claude Code

Summary by CodeRabbit

  • New Features
    • Added formal models and proofs for when observers’ experiences are consistent with a shared world, including examples that distinguish moment-by-moment consistency from a shared world across all experiences.
    • Added proofs covering observation behavior, input sequences, hidden inputs, and equivalences between world states and their observable experiences.
    • Added a sketch-status overview of the proof ladder, its checks, limitations, and ordering.

Adds 4 Agda sketch files and a note under docs/proposals/same-world-ladder.
They are not on the theory shelf and not in verification/proofs/agda/MANIFEST.
No receipt exists and every theorem is ungraded.

The files passed on Agda 2.6.3 (Ubuntu package), not on the pinned 2.7.0.1.
SameWorldCo, Bridge and SameWorldCubical use options outside PROOF-POLICY
section 2.1 and need a reviewed proof profile that does not exist yet.
@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath marked this pull request as ready for review November 22, 2026 18:04
@coderabbitai

coderabbitai Bot commented Nov 22, 2026

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The proposal adds Agda modules for finite and coinductive models of world behavior, Cubical Agda results for behavior paths and world quotients, and a bridge from the world relation to behavior paths. The README records the files, reported checks, limitations, and repository decisions.

Changes: Same-world proof ladder

Layer / File(s) Summary
Finite-world relations and examples
docs/proposals/same-world-ladder/SameWorld.agda
Defines execution over input lists, observational indistinguishability, shared-world experiences, hidden-input purging, and an example where moment coherence does not imply a shared world.
Coinductive behavior relations
docs/proposals/same-world-ladder/SameWorldCo.agda
Adds coinductive behaviors and relations, conversions between world indistinguishability and behavior bisimilarity, and a relation for two views of one world.
Cubical paths, quotients, and joint views
docs/proposals/same-world-ladder/SameWorldCubical.agda, docs/proposals/same-world-ladder/Bridge.agda, docs/proposals/same-world-ladder/README.adoc
Defines path-based behavior results, a quotient of worlds by observational indistinguishability, and conversions between joint-view witnesses and hidden states. Adds a bridge from the world relation to behavior paths. The README records the proof ladder and its status.

Estimated code review effort: 4 (Complex) | ~60 minutes

Change: Other

Suggested reviewers: claude

Merge Risk: Minimal · up to a6afc

This adds proposal-only Agda sketches and a README, with no change to the proof library or its registries. The author discloses that the files were checked only with Agda 2.6.3, not the pinned toolchain. No concrete problems were found, and the change is low risk to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: adding the same-world proof ladder sketches as a proposal under docs/proposals. The raw summary and PR objectives confirm this is a documentation-only backup of Agda s…
Description check Passed The description follows the template's main sections: Summary, Changes, Testing-related reporting, and the RSR checklist. It explains the proposal status, the four files, the validation limits (Agda 2…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: adding the same-world proof ladder sketches as a proposal under docs/proposals. The raw summary and PR objectives confirm this is a documentation-only backup of Agda sketches and a README, with no admission to the theory shelf. The title is specific and matches the changeset.

Full details: Description check

Explanation

The description follows the template's main sections: Summary, Changes, Testing-related reporting, and the RSR checklist. It explains the proposal status, the four files, the validation limits (Agda 2.6.3 instead of pinned 2.7.0.1, no Rocq or Lean recheck, unreviewed proof profiles for --guardedness and --cubical), and which checklist items were not run. The Testing section is not a separate heading; its content sits in the 'What is not established' and checklist sections. The Screenshots section is absent, which is acceptable because it is not applicable here. The description is mostly complete.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 262ced7 and a6afc8a.

Files selected for processing: 5

  • docs/proposals/same-world-ladder/Bridge.agda
  • docs/proposals/same-world-ladder/README.adoc
  • docs/proposals/same-world-ladder/SameWorld.agda
  • docs/proposals/same-world-ladder/SameWorldCo.agda
  • docs/proposals/same-world-ladder/SameWorldCubical.agda

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

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.

3 participants