Skip to content

Comments

Remove n-ary Partrec' equivalence for smaller PR#60

Merged
jessealama merged 1 commit intomainfrom
code-simplier-unified-register-layout
Jan 24, 2026
Merged

Remove n-ary Partrec' equivalence for smaller PR#60
jessealama merged 1 commit intomainfrom
code-simplier-unified-register-layout

Conversation

@jessealama
Copy link
Owner

Summary

  • Remove PartrecPrime.lean (1371 lines) which proved URMComputable n ↔ Nat.Partrec'
  • This reduces the PR size for contribution to CSLib

Rationale

The n-ary equivalence can still be derived via:

  • Mathlib's Nat.Partrec'.part_iff : @Partrec' n f ↔ Partrec f
  • Combined with the unary equivalence Partrec ↔ URMComputable1 (preserved in Partrec.lean + Simulate/)

The unary equivalence is the more fundamental result that establishes URMs as a complete model of computation.

Test plan

  • lake build passes

Drop PartrecPrime.lean (1371 lines) which proved
URMComputable n ↔ Nat.Partrec'. This equivalence can still be
derived via Mathlib's Nat.Partrec'.part_iff combined with
the unary equivalence Partrec ↔ URMComputable1.

The unary equivalence in Partrec.lean + Simulate/ is the more
fundamental result that establishes URMs as a complete model
of computation.
@jessealama jessealama merged commit 448104b into main Jan 24, 2026
2 checks passed
@jessealama jessealama deleted the code-simplier-unified-register-layout branch January 24, 2026 21:55
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.

1 participant