def fits0

bend-collections-laws-math@1.0.0.0 · proofs/math/random/pcg/xor.bend:71

import bend-collections-laws-math@1.0.0.0/proofs/math/random/pcg/xor.bend as Xor
import Base
import bend-collections-laws-math@1.0.0.0/spec/lib/common.bend as C
import bend-collections-laws-math@1.0.0.0/proofs/lib/logic.bend as L

71def fits0(+a: Nat, +h: {C.fits(0n, a) == True{} : Bool}) -> {a == 0n : Nat}:
72  match a:
73    case 0n:
74      {==}
75    case 1n+q:
76      Empty.absurd({1n+q == 0n : Nat}, L.false_true(h))

Uses (5)

Used by (1)