Skip to content

Conversation

@Alasdair
Copy link
Collaborator

Pattern matching in the Rocq semantics now supports a type with unknown values. The pattern matching functions return a new match_result type that encapsulates the possibility of a possible match based on those unknown values.

There are various theorems that need to be proved. We need to define an ordering on values based on how unknown they are, and an ordering for how definite a pattern match result is. The pattern matching function should be an order preserving mapping between these types.

@github-actions
Copy link

Test Results

   16 files     36 suites   0s ⏱️
1 021 tests 1 018 ✅  3 💤 0 ❌
4 937 runs  4 895 ✅ 42 💤 0 ❌

Results for commit 5a85c41.

@Alasdair Alasdair merged commit aafbbbb into sail2 Feb 11, 2026
18 checks passed
@Alasdair Alasdair deleted the rocq_pattern_u branch February 11, 2026 17:57
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