Skip to content

Conversation

@W95Psp
Copy link
Member

@W95Psp W95Psp commented Apr 29, 2025

This PR adds support for SMT patterns in lemmas written in Rust.

For example:

fn dummy_function(x: u32) -> u32 {
    x
}

#[hax::lemma]
#[hax::fstar::smt_pat(x)]
fn apply_dummy_function_lemma(x: u32) -> Proof<{ x == dummy_function(x) }> {}

@W95Psp W95Psp requested a review from a team as a code owner April 29, 2025 08:51
@W95Psp W95Psp requested a review from maximebuyse April 29, 2025 08:51
@W95Psp W95Psp force-pushed the support-for-smtpats branch from d8fca33 to 8e2177e Compare April 29, 2025 09:03
@W95Psp W95Psp force-pushed the support-for-smtpats branch from 8e2177e to 035adb3 Compare April 29, 2025 09:06
@W95Psp W95Psp added this pull request to the merge queue Apr 30, 2025
Merged via the queue into main with commit e4eb7ec Apr 30, 2025
16 checks passed
@W95Psp W95Psp deleted the support-for-smtpats branch April 30, 2025 12:25
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.

2 participants