Enum mm0b_parser::StmtCmd [−][src]
Expand description
The main part of the proof consists of a sequence of declarations, and these commands denote the different kind of declaration that can be introduced.
Variants
A new sort. Equivalent to sort foo;
. This is followed by no data,
as the sort data is stored in the header.
A new axiom. Equivalent to axiom foo ...
. This is followed by a proof
sequence, that should unify with the unify sequence in the header.
A new term or def. Equivalent to term/def foo ...
.
If local
is true, then this is local def foo
. This is followed by
no data, as the header contains the unify sequence and can be checked on its own.
Fields of TermDef
local: bool
Is this local def
?
A new theorem. Equivalent to (pub) theorem foo ...
, where local
means
that the theorem is not pub
. This is followed by a proof sequence,
that will construct the statement and proof, and should unify
with the unify sequence in the header.
Fields of Thm
local: bool
Is this not pub theorem
?
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StmtCmd
impl UnwindSafe for StmtCmd
Blanket Implementations
Mutably borrows from an owned value. Read more