Type synonyms ============= |backendall_full| Although Vehicle's builtin types are sufficient to write a wide range of specifications, specifications can often be made more readable by using the :code:`type` keyword to defining meaningful synonyms for those that are used repeatedly. For example, when defining a robustness specification for the MNIST dataset which contains 24x24 greyscale images, in order to avoid having to repeatedly write :code:`Tensor Real [24, 24]`, one could declare :code:`Image` as a synonym for it and use it as follows: .. code-block:: agda type Image = Tensor Real [24, 24] @network classify : Image -> Tensor Real [10] @dataset trainingDataset : List Image robustAround : Image -> Bool robustAround x = ...