Documentation

Projects.Util.Quotient

class EquivalenceC {α : Sort u_1} (r : α → α → Prop) extends Equivalence r :
  • refl (x : α) : r x x
  • symm {x y : α} : r x y → r y x
  • trans {x y z : α} : r x y → r y z → r x z
Instances
    theorem Quot.lift_mk_of {α : Type u_1} {r : α → α → Prop} {f : α → Prop} {a : α} (h₁ : ∀ (a b : α), r a b → f a = f b) (h₂ : (∀ (a₁ a₂ : α), r a₁ a₂ → f a₁ = f a₂) → f a) :
    lift f h₁ (mk r a)
    theorem liftWith_aux₁ {α : Type u_1} {β : Type u_2} {f : α → β} {s : Setoid α} {x y : α} (h : x ≈ y) :
    (fun (x_1 : ∀ (a b : α), s ⟦x⟧.out a → s ⟦x⟧.out b → f a = f b) => f x) ≍ fun (x : ∀ (a b : α), s ⟦y⟧.out a → s ⟦y⟧.out b → f a = f b) => f y
    def Quotient.liftWith {α : Type u_1} {β : Type u_2} {s : Setoid α} (q : Quotient s) (f : α → β) (h : ∀ (x y : α), s q.out x → s q.out y → f x = f y) :
    β
    Equations
    Instances For
      theorem Quotient.apply_of {α : Type u_1} [s : Setoid α] {p : α → Prop} {q : Quotient s} {h : ∀ (a b : α), a ≈ b → p a = p b} :
      @[simp]
      theorem Quotient.mk_out_eq {α : Type u_1} {s : Setoid α} {q : Quotient s} :
      theorem Quotient.eq_mk_out {α : Type u_1} {s : Setoid α} {q : Quotient s} :
      theorem Quotient.mk_eq_mk {α : Type u_1} {s : Setoid α} {x y : α} :
      ⟦x⟧ = ⟦y⟧ ↔ s x y
      theorem Quot.mk_eq_mk {α : Type u_1} {r : α → α → Prop} [hr : EquivalenceC r] {x y : α} :
      mk r x = mk r y ↔ r x y
      theorem Quot.mk_out_equiv {α : Type u_1} {r : α → α → Prop} [hr : EquivalenceC r] {x : α} :
      r (mk r x).out x
      @[simp]
      theorem Quot.mk_out_equiv' {α : Type u_1} {s : Setoid α} {x : α} :
      s (mk (⇑s) x).out x
      theorem Quot.equiv_mk_out {α : Type u_1} {r : α → α → Prop} [hr : EquivalenceC r] {x : α} :
      r x (mk r x).out
      @[simp]
      theorem Quot.equiv_mk_out' {α : Type u_1} {s : Setoid α} {x : α} :
      s x (mk (⇑s) x).out
      theorem quot_aux₁ {α : Type u_1} {r : α → α → Prop} [hr : EquivalenceC r] {β : α → Type u_4} {f : (i : α) → β i} (h : ∀ (x y : α), r x y → f x ≍ f y) (x : α) :
      β x = β (Quot.mk r x).out
      theorem quot_aux₂ {α : Type u_1} {r : α → α → Prop} [hr : EquivalenceC r] {β : α → Type u_4} {f : (i : α) → β i} (h : ∀ (x y : α), r x y → f x ≍ f y) (a b : α) (p : r a b) :
      ⋯ ▸ (fun (x : α) => cast ⋯ (f x)) a = (fun (x : α) => cast ⋯ (f x)) b
      theorem Quot.rec_eq_apply_out {α : Type u_1} {r : α → α → Prop} [hr : EquivalenceC r] {β : α → Type u_4} {q : Quot r} {f : (i : α) → β i} (h : ∀ (x y : α), r x y → f x ≍ f y) :
      Quot.rec (fun (x : α) => cast ⋯ (f x)) ⋯ q = f q.out
      theorem Quot.ndrec_eq_apply_out {α : Type u_1} {β : Type u_2} {r : α → α → Prop} [hr : EquivalenceC r] {q : Quot r} {f : α → β} {h : ∀ (a b : α) (p : r a b), ⋯ ▸ f a = f b} :
      Quot.rec f h q = f q.out
      instance instEquivalenceCR {α : Type u_1} {s : Setoid α} :
      theorem Quotient.rec_eq_apply_out {α : Type u_1} {β : α → Type u_4} {s : Setoid α} {q : Quotient s} {f : (i : α) → β i} (h : ∀ (x y : α), s x y → f x ≍ f y) :
      Quotient.rec (fun (x : α) => cast ⋯ (f x)) ⋯ q = f q.out
      theorem Quotient.ndrec_eq_apply_out {α : Type u_1} {β : Type u_2} {s : Setoid α} {q : Quotient s} {f : α → β} {h : ∀ (a b : α) (p : a ≈ b), ⋯ ▸ f a = f b} :
      Quotient.rec f h q = f q.out
      theorem Quot.mk_out_equiv_iff {α : Type u_1} {r : α → α → Prop} [hr : EquivalenceC r] {x y : α} :
      r (mk r x).out y ↔ r x y
      theorem Quot.equiv_mk_out_iff {α : Type u_1} {r : α → α → Prop} [hr : EquivalenceC r] {x y : α} :
      r x (mk r y).out ↔ r x y
      @[simp]
      theorem Quot.mk_out_equiv_iff' {α : Type u_1} {s : Setoid α} {x y : α} :
      s (mk (⇑s) x).out y ↔ s x y
      @[simp]
      theorem Quot.equiv_mk_out_iff' {α : Type u_1} {s : Setoid α} {x y : α} :
      s x (mk (⇑s) y).out ↔ s x y
      theorem Equivalence.comm! {α : Type u_1} {r : α → α → Prop} (hr : Equivalence r) :
      r = fun (x y : α) => r y x
      theorem EquivalenceC.comm! {α : Type u_1} {r : α → α → Prop} [hr : EquivalenceC r] :
      r = fun (x y : α) => r y x
      theorem Setoid.comm! {α : Type u_1} (s : Setoid α) :
      ⇑s = fun (x y : α) => s y x
      def liftWith_aux₂ {α : Type u_1} {β : Type u_2} {s : Setoid α} (q : Quotient s) (f : α → β) (h : ∀ (x y : α), s x q.out → s y q.out → f x = f y) :
      β
      Equations
      Instances For
        @[simp]
        theorem liftWith_aux₃ {α : Type u_1} {β : Type u_2} {s : Setoid α} {q : Quotient s} {f : α → β} {h : ∀ (x y : α), s x q.out → s y q.out → f x = f y} :
        @[simp]
        theorem Quotient.liftWith_eq {α : Type u_1} {β : Type u_2} {s : Setoid α} {q : Quotient s} {f : α → β} {h : ∀ (x y : α), s q.out x → s q.out y → f x = f y} :
        q.liftWith f h = f q.out
        theorem Quotient.lift_eq {α : Type u_1} {β : Type u_2} {s : Setoid α} {q : Quotient s} {f : α → β} {h : ∀ (x y : α), s x y → f x = f y} :
        Quotient.lift f h q = f q.out
        @[simp]
        theorem Quotient.out_equiv {α : Type u_1} {s : Setoid α} {x : α} :
        @[simp]
        theorem Quotient.equiv_out {α : Type u_1} {s : Setoid α} {x : α} :
        theorem Quotient.apply_lift {α : Type u_1} {β : Type u_2} {γ : Type u_3} {s : Setoid α} {q : Quotient s} {f : β → γ} {g : α → β} {h₁ : ∀ (a b : α), a ≈ b → g a = g b} (h₂ : ∀ (a b : α), a ≈ b → f (g a) = f (g b)) :
        f (Quotient.lift g h₁ q) = Quotient.lift (f ∘ g) h₂ q
        @[simp]
        theorem Quot.eq_iff_equiv {α : Type u_1} {r : α → α → Prop} [hr : EquivalenceC r] {x y : α} :
        mk r x = mk r y ↔ r x y
        theorem Quot.lift_eq_apply_out {α : Type u_1} {β : Type u_2} {r : α → α → Prop} [hr : EquivalenceC r] {q : Quot r} {f : α → β} {h : ∀ (a b : α), r a b → f a = f b} :
        lift f h q = f q.out