3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-07-04 14:26:10 +00:00

Rename set.select to set.filter and OP_FINITE_SET_SELECT to OP_FINITE_SET_FILTER (#7989)

* Initial plan

* Rename set.select to set.filter and OP_FINITE_SET_SELECT to OP_FINITE_SET_FILTER

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
Co-authored-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Copilot 2025-10-18 17:16:32 +02:00 committed by GitHub
parent ba5bc90d7c
commit eb10ab1633
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 25 additions and 24 deletions

View file

@ -561,8 +561,8 @@ namespace smt {
m_axioms.in_map_axiom(elem, set);
m_axioms.in_map_image_axiom(elem, set);
}
else if (u.is_select(set)) {
m_axioms.in_select_axiom(elem, set);
else if (u.is_filter(set)) {
m_axioms.in_filter_axiom(elem, set);
}
}

View file

@ -53,7 +53,8 @@ Abstract:
-----------------------------------------------
x in v4 => f(x) in v3
x in v1 a tern, v1 ~ v3, v3 := (set.select p v4)
x in v1 is a term, v1 ~ v3, v3 == (set.filter p v4)
-----------------------------------------------
x in v3 <=> p(x) and x in v4