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

opcode_soundness_report

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)

  24def opcode_soundness_report (src : String) : String :=

proof body

Definition body.

  25  let cert := OpcodeSoundnessCert.fromSource src
  26  if cert.ok then "OK: Opcode set sound (parser accepted only LNAL opcodes)"
  27  else s!"FAIL: {String.intercalate "; " cert.errors}"
  28

depends on (3)

Lean names referenced from this declaration's body.