AFTD Auto-Formalizing Theoretical Domains

Cslib.URM.straight_line_IsStandardForm

theoremverifiedformalizationimported Lean

Straight-line programs are in standard form.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
theorem Cslib.URM.straight_line_IsStandardForm {p : Program} (hsl : p.IsStraightLine) :
    p.IsStandardForm
Formalizes
CSLib, `Cslib.URM.straight_line_IsStandardForm`
Lean proof
By Jesse Alama, from github.com/leanprover/cslib at 3951377e5a3f (Copyright (c) 2026 Jesse Alama. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.33.0.
Verified
08 Oct 2026
Axioms
propext
Built on 14

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true in/-- Straight-line programs are in standard form. -/theorem Cslib.URM.straight_line_IsStandardForm {p : Program} (hsl : p.IsStraightLine) :    p.IsStandardForm := by  intro instr hinstr  exact Instr.jumpsBoundedBy_of_nonJump (hsl instr hinstr) p.length
See it in the graphDiscuss this resultChallenge it