← Back

Modules

Leios

  • Abstract
  • Base
  • Blocks
  • ChannelCat
  • Config
  • FFD
  • KeyRegistration
  • Linear
  • Linear.Trace.Verifier
  • Linear.Trace.Verifier.Test
  • NetworkShim
  • Prelude
  • Protocol
  • SpecStructure
  • Voting
  • VRF

Network

  • BasicBroadcast
  • DelayedDiffuse
  • Leios
1234567891011121314151617181920
------------------------------------------------------------------------
-- The Agda standard library
--
-- Core metric definitions
------------------------------------------------------------------------
 
{-# OPTIONS --cubical-compatible --safe #-}
 
module Function.Metric.Core where
 
open import Level using (Level)
private
variable
a i : Level
 
------------------------------------------------------------------------
-- Distance functions
 
DistanceFunction : Set a → Set i → Set _
DistanceFunction A I = A → A → I