HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Modulefin-0.3.2Haskell2010

Data.Type.Nat.LE.ReflStep

  • 1 type
  • 14 values
  • Packagefin-0.3.2
  • Exports15
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceReflStep.hs

Relation

3 declarations
datadata LEProof (n :: Nat) (m :: Nat) where
#

An evidence of n \le m. refl+step definition.

Constructors

Instances7Category, Eq, Ord, Show, Absurd, Boring, …

Decidability

1 declaration

Lemmas

0 declarations

Constructor like

Partial order

valueleAsym :: LEProof n m -> LEProof m n -> n :~: m
#

\forall n\, m : \mathbb{N}, n \le m \to m \le n \to n \equiv m

Total order

valueleSwap' :: LEProof n m -> LEProof ('S m) n -> void
#

\forall n\, m : \mathbb{N}, n \le m \to \neg (1 + m \le n)

More