pub enum PadicCyclicSummand {
Exact {
exponent: u64,
},
AtLeast {
exponent: u64,
},
}Expand description
One p-primary relation in a precision-aware module decomposition.
Variants§
Exact
A certified summand Z_p / p^exponent.
AtLeast
A relation invisible at the cap, with valuation at least exponent.
Without independent rank evidence this is an unresolved candidate: a compatible lift may replace the relation by zero, contributing to the upper free-rank bound instead of a finite cyclic summand.
Implementations§
Source§impl PadicCyclicSummand
impl PadicCyclicSummand
Sourcepub fn exponent(&self) -> u64
pub fn exponent(&self) -> u64
Exact exponent or certified lower bound, according to Self::kind.
Sourcepub fn verify(&self) -> Result<(), VerificationError>
pub fn verify(&self) -> Result<(), VerificationError>
Recheck that the relation exponent is positive.
Sourcepub fn to_json(&self) -> Result<String, NoetherError>
pub fn to_json(&self) -> Result<String, NoetherError>
Canonical typed JSON.
Sourcepub fn from_json(value: &str) -> Result<Self, NoetherError>
pub fn from_json(value: &str) -> Result<Self, NoetherError>
Deserialize canonical typed JSON.
Trait Implementations§
Source§impl Clone for PadicCyclicSummand
impl Clone for PadicCyclicSummand
Source§fn clone(&self) -> PadicCyclicSummand
fn clone(&self) -> PadicCyclicSummand
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 PadicCyclicSummand
impl Debug for PadicCyclicSummand
Source§impl<'de> Deserialize<'de> for PadicCyclicSummand
impl<'de> Deserialize<'de> for PadicCyclicSummand
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PadicCyclicSummand
impl Display for PadicCyclicSummand
Source§impl Hash for PadicCyclicSummand
impl Hash for PadicCyclicSummand
Source§impl PartialEq for PadicCyclicSummand
impl PartialEq for PadicCyclicSummand
Source§impl SemanticType for PadicCyclicSummand
impl SemanticType for PadicCyclicSummand
Source§const TYPE_ID: &'static str = "noether/homalg/PadicCyclicSummand@1"
const TYPE_ID: &'static str = "noether/homalg/PadicCyclicSummand@1"
Versioned, language-neutral semantic identity.
Source§fn canonical_bytes(&self) -> Result<Vec<u8>, NoetherError>
fn canonical_bytes(&self) -> Result<Vec<u8>, NoetherError>
Serialize without backend- or language-specific identity.
Source§fn describe() -> &'static TypeDescription
fn describe() -> &'static TypeDescription
Return static discovery metadata for the type.
Source§impl Serialize for PadicCyclicSummand
impl Serialize for PadicCyclicSummand
impl Copy for PadicCyclicSummand
impl Eq for PadicCyclicSummand
impl StructuralPartialEq for PadicCyclicSummand
Auto Trait Implementations§
impl Freeze for PadicCyclicSummand
impl RefUnwindSafe for PadicCyclicSummand
impl Send for PadicCyclicSummand
impl Sync for PadicCyclicSummand
impl Unpin for PadicCyclicSummand
impl UnwindSafe for PadicCyclicSummand
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more