Documentation

Mathlib.Order.Interval.Set.InitialSeg

Intervals as initial segments #

We show that Iic and Iio are respectively initial and principal segments, and that any principal segment f is order isomorphic to Iio f.top.

def Set.initialSegIic {α : Type u_1} [Preorder α] (j : α) :
InitialSeg (fun (x1 x2 : (Iic j)) => x1 < x2) fun (x1 x2 : α) => x1 < x2

Iic j is an initial segment.

Equations
Instances For
    @[simp]
    theorem Set.initialSegIic_toFun {α : Type u_1} [Preorder α] (j : α) (j✝ : (Iic j)) :
    (initialSegIic j) j✝ = j✝
    def Set.principalSegIio {α : Type u_1} [Preorder α] (j : α) :
    PrincipalSeg (fun (x1 x2 : (Iio j)) => x1 < x2) fun (x1 x2 : α) => x1 < x2

    Iio j is a principal segment.

    Equations
    Instances For
      @[simp]
      theorem Set.principalSegIio_toFun {α : Type u_1} [Preorder α] (j : α) (j✝ : (Iio j)) :
      (principalSegIio j).toFun j✝ = j✝
      @[simp]
      theorem Set.principalSegIio_top {α : Type u_1} [Preorder α] (j : α) :
      @[simp]
      theorem Set.principalSegIio_apply {α : Type u_1} [Preorder α] {j : α} (k : (Iio j)) :
      @[deprecated Set.principalSegIio_apply (since := "2026-04-12")]
      theorem Set.principalSegIio_toRelEmbedding {α : Type u_1} [Preorder α] {j : α} (k : (Iio j)) :

      Alias of Set.principalSegIio_apply.

      def Set.initialSegIicIicOfLE {α : Type u_1} [Preorder α] {i j : α} (h : i j) :
      InitialSeg (fun (x1 x2 : (Iic i)) => x1 < x2) fun (x1 x2 : (Iic j)) => x1 < x2

      If i ≤ j, then Iic i is an initial segment of Iic j.

      Equations
      Instances For
        @[simp]
        theorem Set.initialSegIicIicOfLE_toFun_coe {α : Type u_1} [Preorder α] {i j : α} (h : i j) (k : (Iic i)) :
        ((initialSegIicIicOfLE h) k) = k
        def Set.principalSegIioIicOfLE {α : Type u_1} [Preorder α] {i j : α} (h : i j) :
        PrincipalSeg (fun (x1 x2 : (Iio i)) => x1 < x2) fun (x1 x2 : (Iic j)) => x1 < x2

        If i ≤ j, then Iio i is a principal segment of Iic j.

        Equations
        Instances For
          @[simp]
          theorem Set.principalSegIioIicOfLE_top {α : Type u_1} [Preorder α] {i j : α} (h : i j) :
          @[simp]
          theorem Set.principalSegIioIicOfLE_apply {α : Type u_1} [Preorder α] {i j : α} (h : i j) (k : (Iio i)) :
          @[deprecated Set.principalSegIioIicOfLE_apply (since := "2026-04-12")]
          theorem Set.principalSegIioIicOfLE_toRelEmbedding {α : Type u_1} [Preorder α] {i j : α} (h : i j) (k : (Iio i)) :

          Alias of Set.principalSegIioIicOfLE_apply.

          noncomputable def PrincipalSeg.orderIsoIio {α : Type u_1} {β : Type u_2} [PartialOrder α] [PartialOrder β] (f : PrincipalSeg (fun (x1 x2 : α) => x1 < x2) fun (x1 x2 : β) => x1 < x2) :
          α ≃o (Set.Iio f.top)

          If f : α <i β is a principal segment, this is the induced order isomorphism α ≃o Iio f.top.

          Equations
          Instances For
            @[simp]
            theorem PrincipalSeg.orderIsoIio_apply_coe {α : Type u_1} {β : Type u_2} [PartialOrder α] [PartialOrder β] (f : PrincipalSeg (fun (x1 x2 : α) => x1 < x2) fun (x1 x2 : β) => x1 < x2) (a✝ : α) :
            (f.orderIsoIio a✝) = f.toRelEmbedding a✝