law show_reads

bend-osdev-word64@0.1.1.0 · LAWS_text.bend:7

import bend-osdev-word64@0.1.1.0/LAWS_text.bend as LAWSText
import Base
import bend-osdev-word64@0.1.1.0/word64.bend as W

7# Decimal text: the digits of W64.show(a), read back one by one (Base's
8# Nat.read.go, the reader without Nat.read's 2^48 gate), are the value.
9law show_reads:
10  for +a: W.W64
11  {Nat.read.go(W.W64.show(a), 0n) == Some{W.W64.to_nat(a)} : Maybe<&2, Nat>}

Uses (8)

Used by (0)

No other definition uses this definition.