Agda-Pages Demo
Nat
Initializing search
    agda-pages-demo
    • Home
    • Demo
    • Library
    • Tags
    agda-pages-demo
    • Home
    • Demo
        • Sub
          • Base
        • LaTeX
        • Markdown
        • Metadata
        • hello-world-dep
        • hello-world-dep-lookup
        • Characters
        • LaTeX
        • Markdown
    • Library
          • Bool
          • Equality
          • List
          • Maybe
          • Nat
          • Sigma
          • Unit
        • Primitive
      • Algebra
        • Bundles
          • Raw
          • Base
          • Propositional
          • Setoid
          • LiftedChoice
            • Base
            • Max
            • MaxOp
            • Min
            • MinMaxOp
            • MinOp
        • Core
        • Definitions
          • RawMagma
          • Bundles
            • Raw
              • MaxOp
              • MinMaxOp
              • MinOp
            • BooleanAlgebra
            • DistributiveLattice
            • Lattice
            • Semilattice
          • Structures
        • Morphism
          • Definitions
          • Structures
          • CommutativeSemigroup
          • Semigroup
        • Structures
          • Biased
          • Propositional
        • UniquenessOfIdentityProofs
          • Base
          • ListAction
          • Properties
        • Empty
          • Polymorphic
        • Fin
          • Base
          • Patterns
          • Properties
        • Irrelevant
          • Base
          • Effectful
          • Extrema
            • Core
            • Propositional
              • Properties
                • Core
            • Setoid
              • Properties
          • Properties
                • Propositional
                • Setoid
              • Pointwise
                • Base
                • Properties
                • Propositional
                • Setoid
              • All
                • Properties
                  • Core
              • AllPairs
                • Core
              • Any
                • Properties
                • Setoid
          • Base
              • All
              • Any
        • Nat
          • Base
          • Divisibility
            • Core
          • DivMod
            • Core
          • GeneralisedArithmetic
          • Induction
          • Properties
          • Base
          • Algebra
          • Base
              • Propositional
              • Propositional
              • Setoid
          • Properties
                • NonDependent
              • All
          • Base
        • Sum
          • Algebra
          • Base
            • Propositional
            • Setoid
          • Properties
              • Pointwise
          • Base
          • Base
          • Polymorphic
            • Base
            • Properties
        • Vec
          • Base
            • Base
        • Applicative
        • Choice
        • Empty
        • Functor
        • Monad
        • Base
        • Bundles
        • Consequences
          • Propositional
          • Setoid
          • Composition
          • Identity
          • Symmetry
        • Core
        • Definitions
          • Bundles
              • Equality
          • Bundles
          • Core
          • Definitions
          • Nat
            • Bundles
            • Core
            • Definitions
            • Structures
          • Structures
          • Bijection
          • Inverse
            • HalfAdjointEquivalence
          • RightInverse
          • Surjection
          • Propositional
          • TypeIsomorphisms
        • Structures
      • Induction
        • WellFounded
      • Level
        • Binary
          • Bundles
            • Raw
          • Consequences
            • Composition
              • EqAndOrd
            • Intersection
              • Left
            • NonStrictToStrict
          • Core
          • Definitions
            • Heterogeneous
              • Bundles
                • Trivial
              • Core
              • Definitions
              • Structures
          • Lattice
            • Bundles
            • Definitions
            • Structures
            • Definitions
            • Structures
            • DecTotalOrder
            • Poset
            • Preorder
            • Setoid
            • TotalOrder
          • PropositionalEquality
            • Algebra
            • Core
            • Properties
              • Double
              • Single
              • Triple
            • Preorder
            • Setoid
            • Syntax
          • Structures
            • Biased
        • Nullary
          • Decidable
            • Core
          • Indexed
          • Irrelevant
          • Negation
            • Core
          • Recomputable
            • Core
          • Reflects
        • Unary
          • PredicateTransformer
          • Properties
    • Tags
    1. Home
    2. Library
    3. Function
    4. Metric
    5. Nat

    Nat

    ------------------------------------------------------------------------
    -- The Agda standard library
    --
    -- Metrics with ℕ as the codomain of the metric function
    ------------------------------------------------------------------------
    
    {-# OPTIONS --cubical-compatible --safe #-}
    
    module Function.Metric.Nat where
    
    open import Function.Metric.Nat.Core public
    open import Function.Metric.Nat.Definitions public
    open import Function.Metric.Nat.Structures public
    open import Function.Metric.Nat.Bundles public
    
    Made with MaterialX