Skip to main content

ProductiveRecBody

Trait ProductiveRecBody 

Source
pub trait ProductiveRecBody: SafeParserRecBody
where Self::Body: Productive,
{ // Required method proof fn lemma_body_productive_inv_preservation( &self, param: Self::Param, rec: ParamRecSpecs<Self::Param, Self::T>, ); }
Expand description

Productivity preservation for recursive bodies.

Required Methods§

Source

proof fn lemma_body_productive_inv_preservation( &self, param: Self::Param, rec: ParamRecSpecs<Self::Param, Self::T>, )

requires
forall |p: Self::Param| rec(p).safe_inv(),
forall |p: Self::Param| rec(p).productive_inv(),
ensures
self.spec_body(param, rec).productive_inv(),

Implementors§