Skip to content

Unify the embed and verification workflow across all seven backends - #178

Merged
devin-ai-integration[bot] merged 305 commits into
masterfrom
unify-embed
Dec 2, 2026
Merged

devin-ai-integration[bot] merged 305 commits into
masterfrom
unify-embed

Conversation

@conao3

@conao3 conao3 commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Use leanfran sync, check, and status for all seven backends, including Rust and Clojure. Projects share one configuration, manifest, and proof lock, with a section for each backend.
  • Align proof checks, random tests, and stale-output checks. Generated code can call the host implementation of an eligible proved refines; tests still use the original Lean definition.
  • Document the upgrade from 0.15.0, including how each backend finds the host implementation and how to link it in C.

Assisted-by: Devin

conao3 added 30 commits December 1, 2026 12:17
… AddressSanitizer and untranslated functions, and compare the Lean blocks in leanfran.mk
Translate the Clojure functions for sync and check, and read only generated code in deflean
…k against the specs, and LEANFRAN_AUTO_SYNC=1
rust: leanfran --lang rust check and status, cargo leanfran translate, and a build script that copies the code of sync
…d the support of each block; typescript: the Lean body for integers outside the safe range
… and models without the linter of unused variables
c: run the model test in a child process, shrink counterexamples, and compare the Lean blocks in leanfran.mk
…h the csimp of the functions and the support of the blocks; maint: test-csimp.sh
conao3 and others added 27 commits December 2, 2026 11:16
Functions of other types than their specs in Rust and C (R3)
…15186-thr_h7fkgc2qif

# Conflicts:
#	docs/c-development.md
#	docs/c-guide.md
#	langs/C/LeanC/Embed/Verify.lean
#	langs/C/LeanC/Verify/Translate.lean
#	langs/C/tests/verify/translation/unsupported.c
#	langs/C/tests/verify/translation/unsupported.txt
#	langs/Rust/crates/leanfran-macros/src/model.rs
#	langs/Rust/tests/verify/test.sh
Models of the operations other than strings that agree with each language
Checked Python formatting and ran the targeted wide-shrink regression.
Ran rustfmt and the panic regression on Rust 1.88.
Checked Mago formatting and exercised proved replacement dispatch with the PHP fixture.
Checked Mago formatting and ran the constructor rejection and TypeError regression.
Checked shell syntax and ran freshness and property fixtures for Rust, Python, TypeScript, PHP, and Go.
Validation: make format BACKENDS=Rust, Rust library tests and Clippy, native-oracle differential in both modes.
Validation: make format BACKENDS=Rust, git diff --check, and regenerate the verification fixture from scratch to compare the committed cache, manifest and lock.
Validation: make format BACKENDS=Rust and git check-attr for all committed Rust caches.
Validation: regenerate step-09-lake-project and roman-numerals, make format BACKENDS=Rust, git diff --check.
Aeneas does not execute Drop, so extraction rejects a modeled caller that reaches a generated PanicFrame. Use a no-op frame in the existing extraction-only build and keep ownership tracking in executable builds.

Validation: make format BACKENDS=Rust, git diff --check.
…cleanup

Stop failed Rust specs and release their Lean references
Keep the prerequisite runtime and ownership regressions in place of the interim X1 panic implementation. Validation: make format and git diff --check.
Validation: bash -n maint/test-all-languages.sh, make format, and git diff --check.
Validation: make format; bash -n maint/test-all-languages.sh; git diff --check.
Align verification behavior across seven backends
Ran backend format targets and maint/test-make-targets.sh; checked the guide heading hashes.
Align the seven backend guides and samples
@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access that start with 'Devin'.

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration
devin-ai-integration Bot merged commit b96f09c into master Dec 2, 2026
18 checks passed
@devin-ai-integration
devin-ai-integration Bot deleted the unify-embed branch December 2, 2026 20:45
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