OAI/NumberTheory/EgyptianFractions/MonotoneBlocks.lean

GitHub source file

11 declarations, 0 contain sorry, 0 declared as axioms

  1. theorem OAI.Problem337.monotone_filter_range_eq_Ico line 10

    Source 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
    …
  2. theorem OAI.Problem337.antitone_filter_range_eq_Ico line 40

    Source 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
    …
  3. theorem OAI.Problem337.norm_sum_monotone_block_le line 57

    Source 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
    …
  4. def OAI.Problem337.phaseGoodBlock line 73

    Source documentation

    Good derivative indices in the integer cell labelled by k.

    noncomputable def phaseGoodBlock (d : ℕ → ℝ) (N : ℕ) (β : ℝ) (k : ℤ) : Finset ℕ := by
    …
  5. lemma OAI.Problem337.phaseGoodBlock_pairwise_disjoint line 77
  6. theorem OAI.Problem337.norm_sum_le_bad_card_add_good_blocks line 96

    Source 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

  7. theorem OAI.Problem337.floor_interval_card_le line 139

    Source 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
    …
  8. theorem OAI.Problem337.phase_bad_near_integer line 151

    Source 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

  9. def OAI.Problem337.nearIntegerIndices line 182
  10. theorem OAI.Problem337.norm_sum_le_near_integer_bound line 188

    Source 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

  11. theorem OAI.Problem337.norm_sum_le_near_integer_bound_local line 214

    Source 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