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

bitsToTick

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)

  59def bitsToTick (b : Fin 2 × Fin 2 × Fin 2) : TickIndex :=

proof body

Definition body.

  60  ⟨b.1.val + 2 * b.2.1.val + 4 * b.2.2.val, by
  61    have h1 : b.1.val < 2 := b.1.isLt
  62    have h2 : b.2.1.val < 2 := b.2.1.isLt
  63    have h3 : b.2.2.val < 2 := b.2.2.isLt
  64    omega⟩
  65
  66/-- **THEOREM**: Bit decomposition is bijective. -/

used by (1)

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

depends on (5)

Lean names referenced from this declaration's body.