| 1 |
------------------------------------------------------------------------ |
| 2 |
-- The Agda standard library |
| 3 |
-- |
| 4 |
-- Core metric definitions |
| 5 |
------------------------------------------------------------------------ |
| 6 |
|
| 7 |
{-# OPTIONS --cubical-compatible --safe #-} |
| 8 |
|
| 9 |
module Function.Metric.Core where |
| 10 |
|
| 11 |
open import Level using (Level) |
| 12 |
private |
| 13 |
variable |
| 14 |
a i : Level |
| 15 |
|
| 16 |
------------------------------------------------------------------------ |
| 17 |
-- Distance functions |
| 18 |
|
| 19 |
DistanceFunction : Set a → Set i → Set _ |
| 20 |
DistanceFunction A I = A → A → I |