pub struct SecondOrderLogic {
pub full_comprehension: bool,
pub with_induction: bool,
pub system_name: String,
}Expand description
Describes a second-order logic system.
Fields§
§full_comprehension: boolWhether comprehension axiom is full or restricted.
with_induction: boolWhether the system includes induction.
system_name: StringThe second-order system name.
Implementations§
Source§impl SecondOrderLogic
impl SecondOrderLogic
Sourcepub fn new(
system_name: &str,
full_comprehension: bool,
with_induction: bool,
) -> Self
pub fn new( system_name: &str, full_comprehension: bool, with_induction: bool, ) -> Self
Create a new second-order logic descriptor.
Sourcepub fn aca0() -> Self
pub fn aca0() -> Self
ACA_0: Arithmetical Comprehension Axiom (base system of second-order arithmetic).
Sourcepub fn interprets_pa(&self) -> bool
pub fn interprets_pa(&self) -> bool
Whether this system interprets first-order PA (Peano Arithmetic).
Sourcepub fn is_categorical(&self) -> bool
pub fn is_categorical(&self) -> bool
Categoricity: second-order PA is categorical (all models are isomorphic).
Sourcepub fn is_complete(&self) -> bool
pub fn is_complete(&self) -> bool
Incompleteness: by Gödel, Z_2 is incomplete if ω-consistent.
Trait Implementations§
Source§impl Clone for SecondOrderLogic
impl Clone for SecondOrderLogic
Source§fn clone(&self) -> SecondOrderLogic
fn clone(&self) -> SecondOrderLogic
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 moreAuto Trait Implementations§
impl Freeze for SecondOrderLogic
impl RefUnwindSafe for SecondOrderLogic
impl Send for SecondOrderLogic
impl Sync for SecondOrderLogic
impl Unpin for SecondOrderLogic
impl UnsafeUnpin for SecondOrderLogic
impl UnwindSafe for SecondOrderLogic
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