ModuleArithmetic.lean
Nyll.ValuedFieldTheory.LocalField.Analytic.Arithmetic
33 declarations indexed from sourceView source ↗ Module documentation
Arithmetic lemmas for local-field index calculations
This file contains the pure natural-number cancellation steps used after local-field norm and value-group arguments have produced an lcm divisibility.
It also contains the elementary p-adic valuation estimates used in the local-field structure development, the logarithm and exponential estimates for the convergence and valuation behavior of the logarithm and exponential series.
Imports17
- Mathlib.Data.Nat.Factorization.Basic
- Mathlib.Data.Nat.Prime.Basic
- Mathlib.Algebra.EuclideanDomain.Basic
- Mathlib.Algebra.Order.Field.Power
- Mathlib.Analysis.SpecialFunctions.Log.Base
- Mathlib.NumberTheory.Padics.PadicVal.Basic
- Mathlib.Topology.Algebra.Order.Field
- Batteries.Tactic.Init
- Lean.Elab.Tactic.NormCast
- Lean.Elab.Tactic.Omega
- Lean.Elab.Tactic.RCases
- Mathlib.Algebra.Order.Field.Basic
- Mathlib.Order.Filter.Defs
- Mathlib.Tactic.FieldSimp
- Mathlib.Tactic.Linarith.Frontend
- Mathlib.Tactic.Positivity.Basic
- Mathlib.Tactic.Ring.RingNF
Imported by3
Declarations
LocalFieldTheory.DiscreteValuationField.pow_padicValNat_le_self
DocumentationArithmetic estimate for the field-unit logarithm: p^(v_p n) <= n for nonzero n.
This is the arithmetic input for the logarithm-series convergence estimate v_p(n) <= log_p n.
Source context 4 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
section PadicLogArithmetic
variable {p n : ℕ}
LocalFieldTheory.DiscreteValuationField.padicValNat_le_real_logb
DocumentationArithmetic estimate for the field-unit logarithm in real logarithmic form: v_p(n) <= log_p(n).
Source context 4 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
section PadicLogArithmetic
variable {p n : ℕ}
LocalFieldTheory.DiscreteValuationField.tendsto_nat_mul_const_sub_logb_atTop
DocumentationAsymptotic estimate for the field-unit logarithm: for every positive slope c, the linear term n * c eventually dominates the logarithmic denominator contribution log_p(n).
Source context 4 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
section PadicLogArithmetic
variable {p n : ℕ}
LocalFieldTheory.DiscreteValuationField.tendsto_nat_succ_mul_const_sub_logb_atTop
DocumentationThe same logarithmic domination estimate with the natural series indexing n + 1, avoiding the zero denominator in the logarithm series.
Source context 4 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
section PadicLogArithmetic
variable {p n : ℕ}
LocalFieldTheory.DiscreteValuationField.tendsto_nat_succ_mul_const_sub_const_mul_logb_atTop
DocumentationVariant of the logarithmic domination estimate with a fixed real multiple of the logarithmic term. This is the form needed after inserting the ramification index into the valuation of integer denominators.
Source context 4 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
section PadicLogArithmetic
variable {p n : ℕ}
LocalFieldTheory.DiscreteValuationField.tendsto_nat_mul_const_sub_padicValNat_factorial_atTop
DocumentationExponential-series estimate for the field-unit logarithm: for every slope c > 1, the linear term n * c dominates the factorial denominator contribution v_p(n!). The proof uses mathlib's Legendre-bound padicValNat_factorial_le; no factorial valuation formula is reproved here.
Source context 4 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
section PadicLogArithmetic
variable {p n : ℕ}
LocalFieldTheory.DiscreteValuationField.padicValNat_factorial_digits
DocumentationLegendre's factorial-valuation formula, Legendre's formula in digit form: if n = a_0 + a_1 p + ... + a_r p^r, then multiplying the displayed digit formula by p - 1 gives (p - 1) v_p(n!) = (a_0 p^0 + ... + a_r p^r) - (a_0 + ... + a_r).
Source context 4 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
section PadicLogArithmetic
variable {p n : ℕ}
LocalFieldTheory.DiscreteValuationField.padicValNat_factorial_digits_sum
DocumentationLegendre's factorial-valuation formula with the digit expansion written out as an indexed sum.
Source context 4 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
section PadicLogArithmetic
variable {p n : ℕ}
LocalFieldTheory.DiscreteValuationField.digits_sum_pos_of_ne_zero
DocumentationA nonzero natural number has positive sum of base-p digits.
Source context 4 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
section PadicLogArithmetic
variable {p n : ℕ}
LocalFieldTheory.DiscreteValuationField.sub_one_mul_padicValNat_factorial_le_sub_one
DocumentationLegendre's formula gives the sharp bound (p - 1) * v_p(n!) <= n - 1 for nonzero n.
Source context 4 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
section PadicLogArithmetic
variable {p n : ℕ}
LocalFieldTheory.DiscreteValuationField.padicValNat_factorial_div_sub_one_le_inv_sub_one
DocumentationFactorial-denominator analogue of the factorial quotient estimate: v_p(n!) / (n-1) <= 1/(p-1).
Source context 4 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
section PadicLogArithmetic
variable {p n : ℕ}
LocalFieldTheory.DiscreteValuationField.padicValNat_factorial_le_sub_one_div_sub_one_real
DocumentationReal factorial-denominator bound used for the sharp convergence radius of the exponential series.
Source context 4 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
section PadicLogArithmetic
variable {p n : ℕ}
LocalFieldTheory.DiscreteValuationField.tendsto_nat_mul_const_sub_const_mul_padicValNat_factorial_atTop
DocumentationSharp asymptotic estimate for the exponential series denominator: any real slope strictly above C/(p-1) dominates C * v_p(n!).
Source context 4 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
section PadicLogArithmetic
variable {p n : ℕ}
LocalFieldTheory.DiscreteValuationField.exp_higher_term_integer_valuation_gt
DocumentationHigher exponential terms have strictly larger integer valuation than the linear term when the input has integer valuation at least two. This is the termwise arithmetic input for exp(x) - 1 having the same valuation as x on the normalized convergence ball.
Source context 4 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
section PadicLogArithmetic
variable {p n : ℕ}
LocalFieldTheory.DiscreteValuationField.exp_higher_term_integer_valuation_gt_scaled
DocumentationRamified sharp-threshold version of exp_higher_term_integer_valuation_gt: if the factorial denominator contributes e * v_p(n!), then every higher exponential term has larger integer valuation than the linear term above e/(p-1).
Source context 4 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
section PadicLogArithmetic
variable {p n : ℕ}
LocalFieldTheory.DiscreteValuationField.padicValNat_div_sub_one_le_inv_sub_one
DocumentationArithmetic estimate at the deep exponential–logarithm threshold: for n > 1, the quotient v_p(n)/(n-1) is at most 1/(p-1).
This is the exact numerical inequality used later to show that, above the threshold 1/(p-1), the linear term of the logarithm or exponential series has strictly smaller valuation than every higher term.
Source context 4 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
section PadicLogArithmetic
variable {p n : ℕ}
LocalFieldTheory.DiscreteValuationField.padicValNat_lt_sub_one_mul_of_inv_sub_one_lt
DocumentationStrict form of the preceding estimate: any slope strictly bigger than 1/(p-1) eventually dominates v_p(n) already termwise for every n > 1.
Source context 4 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
section PadicLogArithmetic
variable {p n : ℕ}
LocalFieldTheory.DiscreteValuationField.sub_padicValNat_pos_of_inv_sub_one_lt
DocumentationPositivity form used in the valuation computation v_p(x^n / n) = n v_p(x) - v_p(n).
Source context 4 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
section PadicLogArithmetic
variable {p n : ℕ}
LocalFieldTheory.DiscreteValuationField.log_higher_term_integer_valuation_gt
DocumentationHigher logarithm terms have strictly larger integer valuation than the linear term above the usual 1/(p-1) threshold.
Source context 4 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
section PadicLogArithmetic
variable {p n : ℕ}
LocalFieldTheory.DiscreteValuationField.log_higher_term_integer_valuation_gt_scaled
DocumentationRamified-denominator version of log_higher_term_integer_valuation_gt: if the denominator contributes e * v_p(n), then the sharp comparison threshold is e/(p-1).
Source context 4 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
section PadicLogArithmetic
variable {p n : ℕ}
LocalFieldTheory.DiscreteValuationField.nat_div_gcd_eq_one_of_dvd
DocumentationIf e divides the base-change index, the primitive quotient e / gcd e e' is one.
Source context 2 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
LocalFieldTheory.DiscreteValuationField.nat_lcm_div_right_eq_div_gcd
DocumentationDividing the lcm by the right input removes exactly the common gcd from the left input.
Source context 2 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
LocalFieldTheory.DiscreteValuationField.nat_lcm_div_left_eq_div_gcd
DocumentationDividing the lcm by the left input removes exactly the common gcd from the right input.
Source context 2 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
LocalFieldTheory.DiscreteValuationField.nat_div_gcd_dvd_of_lcm_dvd_mul_left
DocumentationIf the lcm of two value steps divides a * c, the primitive part of the second step after removing the common gcd with a divides c.
Source context 2 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
LocalFieldTheory.DiscreteValuationField.nat_div_gcd_dvd_of_lcm_dvd_mul_right
DocumentationSymmetric cancellation form: if the lcm divides c * b, then the primitive part of a after removing the common gcd with b divides c.
Source context 2 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
LocalFieldTheory.DiscreteValuationField.nat_eq_div_gcd_of_right_mul_eq_lcm
DocumentationIf multiplying by the right branch gives the lcm exactly, the remaining factor is the primitive left branch after removing the common gcd.
Source context 2 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
LocalFieldTheory.DiscreteValuationField.nat_eq_div_gcd_of_left_mul_eq_lcm
DocumentationLeft-handed exact lcm cancellation.
Source context 2 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
LocalFieldTheory.DiscreteValuationField.nat_dvd_div_gcd_of_right_mul_dvd_lcm
DocumentationIf a right-branch multiple divides the lcm, the remaining factor divides the primitive left branch after removing the common gcd.
Source context 2 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
LocalFieldTheory.DiscreteValuationField.nat_dvd_div_gcd_of_left_mul_dvd_lcm
DocumentationLeft-handed divisibility form of lcm cancellation.
Source context 2 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
LocalFieldTheory.DiscreteValuationField.nat_abhyankar_quotient_eq_of_right_mul_eq_lcm
DocumentationArithmetic endpoint for the tame Abhyankar formula: once the actual common-top calculation supplies e' * e_top = lcm e e', the top ramification index is the primitive quotient of e.
Source context 2 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
LocalFieldTheory.DiscreteValuationField.nat_abhyankar_quotient_dvd_of_right_mul_dvd_lcm
DocumentationDivisibility form used before the actual common-top equality is sharpened to an equality.
Source context 2 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
LocalFieldTheory.DiscreteValuationField.nat_abhyankar_quotient_eq_one_of_dvd
DocumentationIf the lower ramification index already divides the base-change index, the tame Abhyankar quotient is one.
Source context 2 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter
LocalFieldTheory.DiscreteValuationField.nat_abhyankar_index_eq_one_of_right_mul_eq_lcm_of_dvd
DocumentationExact index-one corollary from the common-top lcm equality.
Source context 2 commands
Surrounding namespaces, section variables, and local commands at this declaration.
namespace LocalFieldTheory.DiscreteValuationField
open Filter