pub struct LocalField {
pub p: u64,
pub residue_char: u64,
pub degree: usize,
pub ramification_index: usize,
pub inertia_degree: usize,
}Expand description
A finite extension L/ℚ_p: a local field of mixed characteristic (0, p).
Fields§
§p: u64The residue characteristic.
residue_char: u64The residue characteristic (same as p for extensions of ℚ_p).
degree: usizeThe degree [L : ℚ_p] = e · f.
ramification_index: usizeThe ramification index e.
inertia_degree: usizeThe inertia degree f (residue field degree).
Implementations§
Source§impl LocalField
impl LocalField
Sourcepub fn new(p: u64, e: usize, f: usize) -> Self
pub fn new(p: u64, e: usize, f: usize) -> Self
Construct a local field with ramification index e and inertia degree f.
Sourcepub fn discriminant_valuation(&self) -> i64
pub fn discriminant_valuation(&self) -> i64
The valuation of the discriminant: v_p(disc(L/ℚ_p)) = e - 1 + v_p(e).
Sourcepub fn is_tamely_ramified(&self) -> bool
pub fn is_tamely_ramified(&self) -> bool
True if the extension is tamely ramified: e > 1 and p ∤ e.
Sourcepub fn is_wildly_ramified(&self) -> bool
pub fn is_wildly_ramified(&self) -> bool
True if the extension is wildly ramified: p | e.
Auto Trait Implementations§
impl Freeze for LocalField
impl RefUnwindSafe for LocalField
impl Send for LocalField
impl Sync for LocalField
impl Unpin for LocalField
impl UnsafeUnpin for LocalField
impl UnwindSafe for LocalField
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