pub struct Development {
pub axioms: Vec<(String, ProofExpr)>,
pub theorems: Vec<LibraryTheorem>,
pub simp_tagged: Vec<String>,
}Expand description
A parsed formal development: a shared axiom base and the theorems built on it.
Fields§
§axioms: Vec<(String, ProofExpr)>Named axioms (the name is for diagnostics/citation; the prover uses the formula).
theorems: Vec<LibraryTheorem>Theorems, in source order, each with its premises, goal, and cited lemma names.
simp_tagged: Vec<String>Names of [simp]-tagged declarations (axioms and theorems), in source
order — the development’s default rewrite-rule set.
Implementations§
Source§impl Development
impl Development
Sourcepub fn axiom_exprs(&self) -> Vec<ProofExpr>
pub fn axiom_exprs(&self) -> Vec<ProofExpr>
The axiom formulas, in declaration order — the shared base for the driver.
Sourcepub fn simp_lemmas(&self) -> &[String]
pub fn simp_lemmas(&self) -> &[String]
The names tagged [simp], in source order.
Trait Implementations§
Source§impl Clone for Development
impl Clone for Development
Source§fn clone(&self) -> Development
fn clone(&self) -> Development
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 Development
impl Debug for Development
Source§impl PartialEq for Development
impl PartialEq for Development
impl StructuralPartialEq for Development
Auto Trait Implementations§
impl Freeze for Development
impl RefUnwindSafe for Development
impl Send for Development
impl Sync for Development
impl Unpin for Development
impl UnsafeUnpin for Development
impl UnwindSafe for Development
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