pub enum VerifyType {
Int,
Bool,
Object,
BitVector(u32),
Array(Box<VerifyType>, Box<VerifyType>),
Real,
}Expand description
Type declarations for verification variables.
Each type maps to a Z3 sort:
| VerifyType | Z3 Sort | Usage |
|---|---|---|
Int | IntSort | Numeric constraints, bounds checking |
Bool | BoolSort | Logical propositions |
Object | Uninterpreted | Entities (people, objects, propositions) |
Variants§
Int
Integer type, maps to Z3 IntSort.
Bool
Boolean type, maps to Z3 BoolSort.
Object
Opaque object type for entities, maps to an uninterpreted sort.
BitVector(u32)
Fixed-width bitvector, maps to Z3 BitVecSort(n).
Array(Box<VerifyType>, Box<VerifyType>)
Array type (index → element), maps to Z3 ArraySort.
Real
Real number type, maps to Z3 RealSort (IEEE 1800-2023).
Trait Implementations§
Source§impl Clone for VerifyType
impl Clone for VerifyType
Source§fn clone(&self) -> VerifyType
fn clone(&self) -> VerifyType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VerifyType
impl Debug for VerifyType
Source§impl<'de> Deserialize<'de> for VerifyType
impl<'de> Deserialize<'de> for VerifyType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for VerifyType
impl PartialEq for VerifyType
Source§fn eq(&self, other: &VerifyType) -> bool
fn eq(&self, other: &VerifyType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VerifyType
impl Serialize for VerifyType
impl Eq for VerifyType
impl StructuralPartialEq for VerifyType
Auto Trait Implementations§
impl Freeze for VerifyType
impl RefUnwindSafe for VerifyType
impl Send for VerifyType
impl Sync for VerifyType
impl Unpin for VerifyType
impl UnsafeUnpin for VerifyType
impl UnwindSafe for VerifyType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more