Documentation

DY.EquationalTheory.Concat

class DY.Concat.CanConcat (Bytes : Type u) :
  • concat : BytesBytesBytes
  • split : BytesNatOption (Bytes × Bytes)
Instances
    structure DY.Concat.Concat.SubF (Bytes : Type) :
    • lhs : Bytes
    • rhs : Bytes
    Instances For
      @[instance_reducible]
      Equations
      • One or more equations did not get rendered due to their size.
      @[instance_reducible]
      Equations
      • One or more equations did not get rendered due to their size.
      @[instance_reducible]
      Equations
      • One or more equations did not get rendered due to their size.
      @[instance_reducible]
      Equations
      • One or more equations did not get rendered due to their size.
      @[instance_reducible]
      Equations
      • One or more equations did not get rendered due to their size.
      Equations
      • { lhs := lhs, rhs := rhs }.length rec_2 = rec_2 lhs + rec_2 rhs
      Instances For
        @[reducible, inline]
        Equations
        Instances For
          @[instance_reducible]
          Equations
          • One or more equations did not get rendered due to their size.
          theorem DY.Concat.concat_split [BytesFunctor] [BytesFunctor.Has SubF] [BytesLength] (buf : Bytes) (i : Nat) (lhs rhs : Bytes) :
          split buf i = some (lhs, rhs)concat lhs rhs = buf
          @[simp]
          theorem DY.Concat.length_split [BytesFunctor] [BytesFunctor.Has SubF] [BytesLength] [BytesLength.Has SubF.length] (buf : Bytes) (i : Nat) (lhs rhs : Bytes) :
          split buf i = some (lhs, rhs)lhs.length = i i + rhs.length = buf.length
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                Equations
                • One or more equations did not get rendered due to their size.
                Instances For