pub struct DefEqConfig {
pub max_steps: u32,
pub proof_irrelevance: bool,
pub eta: bool,
pub lazy_delta: bool,
pub transparency: TransparencyMode,
}Expand description
Configuration for the definitional equality checker.
Fields§
§max_steps: u32Maximum number of reduction steps before giving up.
proof_irrelevance: boolWhether to use proof irrelevance (Props are equal).
eta: boolWhether to check eta-expansion.
lazy_delta: boolWhether to try lazy delta reduction.
transparency: TransparencyModeTransparency mode for unfolding.
Implementations§
Source§impl DefEqConfig
impl DefEqConfig
Sourcepub fn full_transparency() -> Self
pub fn full_transparency() -> Self
Create a config for checking definitional equality with full unfolding.
Sourcepub fn no_proof_irrelevance() -> Self
pub fn no_proof_irrelevance() -> Self
Create a config with proof irrelevance disabled.
Trait Implementations§
Source§impl Clone for DefEqConfig
impl Clone for DefEqConfig
Source§fn clone(&self) -> DefEqConfig
fn clone(&self) -> DefEqConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 DefEqConfig
impl Debug for DefEqConfig
Auto Trait Implementations§
impl Freeze for DefEqConfig
impl RefUnwindSafe for DefEqConfig
impl Send for DefEqConfig
impl Sync for DefEqConfig
impl Unpin for DefEqConfig
impl UnsafeUnpin for DefEqConfig
impl UnwindSafe for DefEqConfig
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