OAI/NumberTheory/EgyptianFractions/MonotoneBlocks.lean
11 declarations, 0 contain sorry, 0 declared as axioms
- theorem
OAI.Problem337.monotone_filter_range_eq_Icoline 10Source documentation
The indices of a monotone sequence lying in a closed interval form one possibly empty interval of indices.
theorem monotone_filter_range_eq_Ico {α : Type*} [LinearOrder α] (d : ℕ → α) (hd : Monotone d) (N : ℕ) (L R : α) : ∃ a b : ℕ, a ≤ b ∧ b ≤ N ∧ (Finset.range N).filter (fun j => L ≤ d j ∧ d j ≤ R) = Finset.Ico a b := by … - theorem
OAI.Problem337.antitone_filter_range_eq_Icoline 40Source documentation
The same contiguous-block conclusion for an antitone sequence.
theorem antitone_filter_range_eq_Ico {α : Type*} [LinearOrder α] (d : ℕ → α) (hd : Antitone d) (N : ℕ) (L R : α) : ∃ a b : ℕ, a ≤ b ∧ b ≤ N ∧ (Finset.range N).filter (fun j => L ≤ d j ∧ d j ≤ R) = Finset.Ico a b := by … - theorem
OAI.Problem337.norm_sum_monotone_block_leline 57Source documentation
Cancellation on every interval transfers to one interval cut out by a monotone increment sequence, without paying an extra term count.
theorem norm_sum_monotone_block_le {α : Type*} [LinearOrder α] (d : ℕ → α) (hd : Monotone d) (N : ℕ) (L R : α) (z : ℕ → ℂ) (C : ℝ) (hcancel : ∀ a b : ℕ, a ≤ b → b ≤ N → (∀ j ∈ Finset.Ico a b, L ≤ d j ∧ d j ≤ R) → ‖∑ j ∈ Finset.Ico a b, z j‖ ≤ C) : ‖∑ j ∈ (Finset.range N).filter (fun j => L ≤ d j ∧ d j ≤ R), z j‖ ≤ C := by … - def
OAI.Problem337.phaseGoodBlockline 73Source documentation
Good derivative indices in the integer cell labelled by
k.noncomputable def phaseGoodBlock (d : ℕ → ℝ) (N : ℕ) (β : ℝ) (k : ℤ) : Finset ℕ := by …
- lemma
OAI.Problem337.phaseGoodBlock_pairwise_disjointline 77 - theorem
OAI.Problem337.norm_sum_le_bad_card_add_good_blocksline 96Source documentation
Partition a sum into good monotone derivative blocks and exceptional indices. Each good integer cell pays just one cancellation bound.
theorem norm_sum_le_bad_card_add_good_blocks (d : ℕ → ℝ) (hd : Monotone d) (N : ℕ) (β : ℝ) (hβ : 0 < β) (K : Finset ℤ) (z : ℕ → ℂ) (C : ℝ) (hz : ∀ j < N, ‖z j‖ ≤ 1) (hcancel : ∀ k ∈ K, ∀ a b : ℕ, a ≤ b → b ≤ N → (∀ j ∈ Finset.Ico a b, (k : ℝ) + β ≤ d j ∧ d j ≤ (k : ℝ) + 1 - β) → ‖∑ j ∈ Finset.Ico a b, z j‖ ≤ C) : ‖∑ j ∈ Finset.range N, z j‖ ≤ ((Finset.range N \ K.biUnion (phaseGoodBlock d N β)).card : ℝ) + (K.card : ℝ) * C := by …Mentions: OAI.Problem337.phaseGoodBlock
- theorem
OAI.Problem337.floor_interval_card_leline 139Source documentation
The number of integer cells intersecting a real interval has the usual length-plus-two bound.
theorem floor_interval_card_le (L U : ℝ) (hLU : L ≤ U) : ((Finset.Icc ⌊L⌋ ⌊U⌋).card : ℝ) ≤ U - L + 2 := by … - theorem
OAI.Problem337.phase_bad_near_integerline 151Source documentation
Outside the good integer cells, an increment is close to an integer.
theorem phase_bad_near_integer (d : ℕ → ℝ) (N : ℕ) (β L U : ℝ) (hrange : ∀ j < N, L ≤ d j ∧ d j ≤ U) (j : ℕ) (hj : j ∈ Finset.range N \ (Finset.Icc ⌊L⌋ ⌊U⌋).biUnion (phaseGoodBlock d N β)) : ∃ k : ℤ, |d j - (k : ℝ)| < β := by …Mentions: OAI.Problem337.phaseGoodBlock
- def
OAI.Problem337.nearIntegerIndicesline 182 - theorem
OAI.Problem337.norm_sum_le_near_integer_boundline 188Source documentation
A second-derivative partition estimate, separating the packing estimate for bad points from the cancellation estimate on good intervals.
theorem norm_sum_le_near_integer_bound (d : ℕ → ℝ) (hd : Monotone d) (N : ℕ) (β L U : ℝ) (hβ : 0 < β) (hLU : L ≤ U) (hrange : ∀ j < N, L ≤ d j ∧ d j ≤ U) (z : ℕ → ℂ) (B C : ℝ) (hC : 0 ≤ C) (hz : ∀ j < N, ‖z j‖ ≤ 1) (hbad : ((nearIntegerIndices d N β).card : ℝ) ≤ B) (hcancel : ∀ k ∈ Finset.Icc ⌊L⌋ ⌊U⌋, ∀ a b : ℕ, a ≤ b → b ≤ N → (∀ j ∈ Finset.Ico a b, (k : ℝ) + β ≤ d j ∧ d j ≤ (k : ℝ) + 1 - β) → ‖∑ j ∈ Finset.Ico a b, z j‖ ≤ C) : ‖∑ j ∈ Finset.range N, z j‖ ≤ B + (U - L + 2) * C := by …Mentions: OAI.Problem337.nearIntegerIndices
- theorem
OAI.Problem337.norm_sum_le_near_integer_bound_localline 214Source documentation
Local monotonicity on the sampled range suffices for the partition bound; extend by a constant after the last sampled increment.
theorem norm_sum_le_near_integer_bound_local (d : ℕ → ℝ) (N : ℕ) (hd : MonotoneOn d (Set.Iio N)) (β L U : ℝ) (hβ : 0 < β) (hLU : L ≤ U) (hrange : ∀ j < N, L ≤ d j ∧ d j ≤ U) (z : ℕ → ℂ) (B C : ℝ) (hC : 0 ≤ C) (hz : ∀ j < N, ‖z j‖ ≤ 1) (hbad : ((nearIntegerIndices d N β).card : ℝ) ≤ B) (hcancel : ∀ k ∈ Finset.Icc ⌊L⌋ ⌊U⌋, ∀ a b : ℕ, a ≤ b → b ≤ N → (∀ j ∈ Finset.Ico a b, (k : ℝ) + β ≤ d j ∧ d j ≤ (k : ℝ) + 1 - β) → ‖∑ j ∈ Finset.Ico a b, z j‖ ≤ C) : ‖∑ j ∈ Finset.range N, z j‖ ≤ B + (U - L + 2) * C := by …Mentions: OAI.Problem337.nearIntegerIndices