pith. machine review for the scientific record. sign in
def definition def or abbrev

binaryReflectedGray

show as:
view Lean formalization →

No prose has been written for this declaration yet. The Lean source and graph data below render without it.

generate prose now

formal statement (Lean)

  34def binaryReflectedGray (d : ℕ) (i : Fin (2^d)) : Pattern d :=

proof body

Definition body.

  35  fun j => (natToGray i.val).testBit j.val
  36
  37/-- Inverse Gray code: converts Gray code back to binary -/

used by (4)

From the project-wide theorem graph. These declarations reference this one in their body.

depends on (6)

Lean names referenced from this declaration's body.