pub enum ProofSystem {
PRA,
ECA,
RobinsonQ,
PeanoPA,
Z2,
Custom(String),
}Expand description
Represents a formal proof system in reverse mathematics.
Variants§
PRA
Primitive Recursive Arithmetic (PRA).
ECA
Elementary Recursive Arithmetic (ECA).
RobinsonQ
Robinson Arithmetic (Q).
PeanoPA
Peano Arithmetic (PA).
Z2
Second-Order Arithmetic (Z₂).
Custom(String)
A custom-named system.
Implementations§
Source§impl ProofSystem
impl ProofSystem
pub fn name(&self) -> String
Sourcepub fn is_conservative_over(&self, other: &ProofSystem) -> bool
pub fn is_conservative_over(&self, other: &ProofSystem) -> bool
Returns true if other is provably a conservative extension of self.
Sourcepub fn stronger_systems(&self) -> Vec<ProofSystem>
pub fn stronger_systems(&self) -> Vec<ProofSystem>
Returns the set of systems stronger than (or equal to) self.
Trait Implementations§
Source§impl Clone for ProofSystem
impl Clone for ProofSystem
Source§fn clone(&self) -> ProofSystem
fn clone(&self) -> ProofSystem
Returns a duplicate of the value. Read more
1.0.0 · 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 ProofSystem
impl Debug for ProofSystem
Source§impl PartialEq for ProofSystem
impl PartialEq for ProofSystem
impl Eq for ProofSystem
impl StructuralPartialEq for ProofSystem
Auto Trait Implementations§
impl Freeze for ProofSystem
impl RefUnwindSafe for ProofSystem
impl Send for ProofSystem
impl Sync for ProofSystem
impl Unpin for ProofSystem
impl UnsafeUnpin for ProofSystem
impl UnwindSafe for ProofSystem
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