Skip to content

Connect portable cl-asm code to LeanAsm frontend capabilities - #10

Draft
adust09 wants to merge 5 commits into
mainfrom
leanasm-migration
Draft

adust09 wants to merge 5 commits into
mainfrom
leanasm-migration

Conversation

@adust09

@adust09 adust09 commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • pin NyxFoundation/LeanAsm
  • retain riscv-zkvm as the proof and optional zkVM frontend
  • define the portable opcode policy as an IsaProfile
  • implement partial program lowering through LeanAsm.LowerRv64
  • route GNU assembly generation through the common LeanAsm.emitAsm API
  • keep zkVM-specific and pseudo instructions as explicit lowering errors

Boundary

No zkVM semantics or riscv-zkvm correspondence is moved into LeanAsm.

Validation

  • direct Lean type-check of the required riscv-zkvm RV64 dependency chain, ClAsm/Rv64.lean, and ClAsm/Codegen/Emit.lean
  • no lake build run

@adust09 adust09 changed the title Route portable instruction emission through LeanAsm Connect portable cl-asm code to LeanAsm frontend capabilities Nov 13, 2026
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