pub struct ProofAttemptEnvelope {
pub candidates: Vec<ProofAttemptRow>,
pub candidate_limit: u32,
pub candidates_truncated: bool,
pub entry_goals: Vec<RenderedInfo>,
pub locals: Vec<LocalInfo>,
}Expand description
Envelope for a bounded proof attempt.
Fields§
§candidates: Vec<ProofAttemptRow>§candidate_limit: u32§candidates_truncated: bool§entry_goals: Vec<RenderedInfo>Goal state at the resolved proof position before any candidate ran —
the selected tactic’s goals_before, identical to what the
proof-position query reports as goals_before at the same position,
rendered once per batch by the shim. Empty when the entry state is
degraded or unresolvable (resolution failure or the source-text
fallback).
locals: Vec<LocalInfo>Local hypotheses at the resolved proof position, rendered once per
batch with the proof-position query’s pretty locals mode from the same
goals_before state — identical to what the proof-position query
reports as locals at the same position. Empty under the same
conditions as entry_goals.
Trait Implementations§
Source§impl Clone for ProofAttemptEnvelope
impl Clone for ProofAttemptEnvelope
Source§fn clone(&self) -> ProofAttemptEnvelope
fn clone(&self) -> ProofAttemptEnvelope
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 ProofAttemptEnvelope
impl Debug for ProofAttemptEnvelope
Source§impl<'lean> TryFromLean<'lean> for ProofAttemptEnvelope
impl<'lean> TryFromLean<'lean> for ProofAttemptEnvelope
Source§fn try_from_lean(obj: Obj<'lean>) -> LeanResult<Self>
fn try_from_lean(obj: Obj<'lean>) -> LeanResult<Self>
Decode
obj into Self, returning a
LeanError::Host with stage
[HostStage::Conversion] if the object’s kind or payload is
outside the type’s representable range. Read moreAuto Trait Implementations§
impl Freeze for ProofAttemptEnvelope
impl RefUnwindSafe for ProofAttemptEnvelope
impl Send for ProofAttemptEnvelope
impl Sync for ProofAttemptEnvelope
impl Unpin for ProofAttemptEnvelope
impl UnsafeUnpin for ProofAttemptEnvelope
impl UnwindSafe for ProofAttemptEnvelope
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