pub struct Obligation {
pub label: String,
pub spec: String,
pub spec_block: String,
pub spec_hash: String,
pub hash: String,
pub status: String,
pub axioms: Vec<String>,
pub proof: String,
}Fields§
§label: String§spec: StringThe Lean name of the spec.
spec_block: StringThe module path of the lean! block defining the spec (crate::spec::sorting).
spec_hash: Stringsha256:<cache key> of that block (without the csimp replacements), or the hash of the
generated function, when the obligation was extracted.
hash: StringSHA-256 of the statement of the obligation and the spec key.
status: Stringproved, sorry, axioms, missing, mismatch, failed or unchecked.
axioms: Vec<String>§proof: Stringlean/Proofs/Sort.lean:14: the declaration of the proof.
Implementations§
Trait Implementations§
Source§impl Clone for Obligation
impl Clone for Obligation
Source§impl Debug for Obligation
impl Debug for Obligation
Source§impl Default for Obligation
impl Default for Obligation
Source§impl<'de> Deserialize<'de> for Obligation
impl<'de> Deserialize<'de> for Obligation
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 Obligation
impl PartialEq for Obligation
impl StructuralPartialEq for Obligation
Auto Trait Implementations§
impl Forget for Obligation
impl Freeze for Obligation
impl Move for Obligation
impl RefUnwindSafe for Obligation
impl Send for Obligation
impl Sync for Obligation
impl Unpin for Obligation
impl UnsafeUnpin for Obligation
impl UnwindSafe for Obligation
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