Phase 2: pin Lean and define bounded research types (#132) #658
No reviewers
Labels
No labels
bug
cli
core
docs
event
experiment
figure
invariant
metrics
oracle
phase-0
phase-1
phase-2
phase-3
phase-4
phase-5
phase-6
provenance
revocation
tests
workload
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
erikinkinen/AES!658
Loading…
Reference in a new issue
No description provided.
Delete branch "phase2/p2-18-a-lean-types"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Task
Closes #132 (P2-18-A).
Summary
Pin the protocol's Lean 4.24.0 distribution and define finite research identities,
state records and action languages. Keep oracle evidence outside manager inputs,
retain both clocks, and distinguish root-grant queries from issuance-subtree
queries. The ideal descendant language remains separate from legacy mechanisms.
Scope
Bounded types, explicit no-recovery state and fifteen checked boundary examples.
Transition invariants, clock quotients, reachable-state enumeration and adequacy
proofs remain separate tasks. Complete csaI includes the Phase 5 supplement.
Design intent
Validate the official release archive and complete installed distribution before
executing Lean or Lake. Build from a fresh package without third-party libraries.
Audit imported kernel declarations, including private/generated names, for
unsafe declarations, user axioms and unapproved axiom dependencies. Standard
foundational dependencies are disclosed per declaration in proof_manifest.json.
Phase discipline
Protocol 2.2 / backlog 2.2.1. Native prerequisite #86 is closed. Raw records do not
certify well-formed transition semantics or policy denominators. No scientific
adequacy theorem, recovery behavior or manuscript conclusion is claimed here.
Verification
37c39b7ce2347f4e83ba5079005a007216357583passes fresh extraction, clean build,declaration audit, all eight local hooks and the eleven-PDF workspace lock.
symlink targets match the recorded tree identity. Lean and Lake hashes match.
theorems. Its 569 total theorem declarations include generated structural lemmas.
unused user axiom, unsafe declaration, suppressed admission and native proof
axiom. Three distribution identity cases pass.
caa7dda0dea8f0fed2cd522fc3562bfcf7b97216fa66b9130192ddd7a052ac19.to all eight existing checks. Require all ten exact-head checks before checking
#132 once and merging. Merge ordering and exact-head validation remain mandatory.
Reconciled integration and merge gate
CI bug #661 changes the common smoke configuration to assertion-enabled Debug
-g -O1. This branch now includes predecessor #657 at19b16dbabc1eb57fc3b73f06e4f812dbf18f8a38. The earlier headb86b0ee0507c5cdc9d85df7bfd54b640d9e27be5had obsolete CI attempts; their cancellation is recorded and is not acceptance.
Integration source
17c540429b135ccf79a85ebb9cc0e2a0408419adchanges only predecessor-owned files.All 16 files owned by this issue, including its earlier source-bound
receipts, remain byte- and mode-identical. The native test inventory remains
292. All eight local hooks and the frozen PDF scope pass.
No unchanged implementation test or proof run is repeated or claimed here.
Reconciliation evidence has SHA-256
d510408e078927e7e8b794178c517d88431bd92b7843343a66ee8ba1fc11dc1f. Original validation attachments remain intact.Publish this update after #657 merges and #104
closes with its required exact-head evidence. Then require all ten contexts on
this PR's final head, including both formal checks, and closed native
prerequisites before checking #132 once and merging. Until the
predecessor merges, the comparison with main includes its changes.