pub enum CompletionOutcome {
Disabled,
Converged {
rounds: usize,
},
AbortedGrowthLimit {
added_nodes: usize,
limit: usize,
},
GoalMet {
rounds: usize,
},
}Expand description
Outcome of the AC congruence-completion pass inside rebuild.
Variants§
Disabled
Completion was not enabled (set_cc(false)).
Converged
The implemented completion passes reached an unchanged full-round fixpoint.
This is an operational stopping condition, not by itself a certificate that the abstract AC/ACI theory is complete.
For associative-only operators this does not claim completeness for
arbitrary asserted ground equations; that general word problem is
undecidable. See doc/future/ac-completion-limitations.md section 8.
AbortedGrowthLimit
Completion aborted because the node-growth budget was exceeded. The e-graph is sound-but-incomplete: some AC-entailed equalities may be missing.
GoalMet
Completion stopped early because the goal pair (set_cc_goal) joined.
The e-graph is a valid plain-congruence-closed state; completion is
deliberately unfinished — the caller asked a question and it is
answered. Only the lazy-check transaction sets a goal.
Trait Implementations§
Source§impl Clone for CompletionOutcome
impl Clone for CompletionOutcome
impl Copy for CompletionOutcome
Source§impl Debug for CompletionOutcome
impl Debug for CompletionOutcome
impl Eq for CompletionOutcome
Source§impl PartialEq for CompletionOutcome
impl PartialEq for CompletionOutcome
impl StructuralPartialEq for CompletionOutcome
Auto Trait Implementations§
impl Freeze for CompletionOutcome
impl RefUnwindSafe for CompletionOutcome
impl Send for CompletionOutcome
impl Sync for CompletionOutcome
impl Unpin for CompletionOutcome
impl UnsafeUnpin for CompletionOutcome
impl UnwindSafe for CompletionOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.