The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V34. The tactics of Mathlib

Mathlib.Tactic.Inclusion.Extension.IntervalInt.BinarySplit

7 declarations. Mathlib docs · Source

theorem Inclusion.IntervalInt.binarySplitMap.match_1.congr_eq_1 E1 #

∀ (motive : Inclusion.Interval ℤ → Sort u_1) (I : Inclusion.Interval ℤ)
  (h_1 : (l u : ℤ) → motive { lb := some l, ub := some u }) (h_2 : (x : Inclusion.Interval ℤ) → motive x) (l u : ℤ),
  I = { lb := some l, ub := some u } →
    (match I with
      | { lb := some l, ub := some u } => h_1 l u
      | x => h_2 x) ≍
      h_1 l u

theorem Inclusion.IntervalInt.binarySplitMap.match_4.congr_eq_2 E1 #

∀ {Iβ : Type u_2} (motive : ℕ → Inclusion.Interval ℤ → (Inclusion.Interval ℤ → Iβ) → Sort u_1) (x : ℕ)
  (x_1 : Inclusion.Interval ℤ) (x_2 : Inclusion.Interval ℤ → Iβ)
  (h_1 : (I : Inclusion.Interval ℤ) → (F : Inclusion.Interval ℤ → Iβ) → motive 0 I F)
  (h_2 : (n : ℕ) → (I : Inclusion.Interval ℤ) → (F : Inclusion.Interval ℤ → Iβ) → motive n.succ I F) (n : ℕ)
  (I : Inclusion.Interval ℤ) (F : Inclusion.Interval ℤ → Iβ),
  x = n.succ →
    x_1 = I →
      x_2 = F →
        (match x, x_1, x_2 with
          | 0, I, F => h_1 I F
          | n.succ, I, F => h_2 n I F) ≍
          h_2 n I F

theorem Inclusion.IntervalInt.binarySplitMap.match_1.congr_eq_2 E1 #

∀ (motive : Inclusion.Interval ℤ → Sort u_1) (I : Inclusion.Interval ℤ)
  (h_1 : (l u : ℤ) → motive { lb := some l, ub := some u }) (h_2 : (x : Inclusion.Interval ℤ) → motive x)
  (x : Inclusion.Interval ℤ),
  I = x →
    (∀ (l u : ℤ), x = { lb := some l, ub := some u } → False) →
      (match I with
        | { lb := some l, ub := some u } => h_1 l u
        | x => h_2 x) ≍
        h_2 x

theorem Inclusion.IntervalInt.binarySplitMap.match_4.congr_eq_1 E1 #

∀ {Iβ : Type u_2} (motive : ℕ → Inclusion.Interval ℤ → (Inclusion.Interval ℤ → Iβ) → Sort u_1) (x : ℕ)
  (x_1 : Inclusion.Interval ℤ) (x_2 : Inclusion.Interval ℤ → Iβ)
  (h_1 : (I : Inclusion.Interval ℤ) → (F : Inclusion.Interval ℤ → Iβ) → motive 0 I F)
  (h_2 : (n : ℕ) → (I : Inclusion.Interval ℤ) → (F : Inclusion.Interval ℤ → Iβ) → motive n.succ I F)
  (I : Inclusion.Interval ℤ) (F : Inclusion.Interval ℤ → Iβ),
  x = 0 →
    x_1 = I →
      x_2 = F →
        (match x, x_1, x_2 with
          | 0, I, F => h_1 I F
          | n.succ, I, F => h_2 n I F) ≍
          h_1 I F

def Inclusion.IntervalInt.binarySplitMap E1 #

{Iβ : Type u_1} →
  {β : Type u_2} →
    [inst : Inclusion.ToSet Iβ β] →
      [Inclusion.Coarsen Iβ β] → ℕ → Inclusion.Interval ℤ → (Inclusion.Interval ℤ → Iβ) → Iβ

Map F over the intervals produced by bisecting I to depth n, coarsening the results.

theorem Inclusion.IntervalInt.mem_binarySplitMap E0 #

∀ {Iβ : Type u_1} {β : Type u_2} [inst : Inclusion.ToSet Iβ β] [inst_1 : Inclusion.Coarsen Iβ β] (n : ℕ)
  {I : Inclusion.Interval ℤ} {F : Inclusion.Interval ℤ → Iβ} {y : β} {x : ℤ},
  x ∈ I → (∀ (J : Inclusion.Interval ℤ), x ∈ J → y ∈ F J) → y ∈ Inclusion.IntervalInt.binarySplitMap n I F

def Inclusion.IntervalInt.binarySplit E1 #

ℕ → Inclusion.Cover (Inclusion.Interval ℤ) ℤ

Cover an integer interval by repeatedly bisecting it to depth n.