open import 1Lab.Path
open import 1Lab.Type

module 1Lab.Rewrite where

data _≡rw_ {} {A : Type } (x : A) : A  SSet  where
  idrw : x ≡rw x

{-# BUILTIN REWRITE _≡rw_ #-}

postulate
  make-rewrite :  {} {A : Type } {x y : A}  Path A x y  x ≡rw y