HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

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