All proofs
Project-declaredLean 4.33.0-rc1 · mathlib@169c26b52a38

Standard trans step

Cslib.LambdaCalculus.LocallyNameless.Untyped.Term.Standard.trans_step

Plain-language statement

A standard reduction followed by a full β-step is a standard reduction.

Exact Lean statement

lemma Standard.trans_step (h1 : M ⭢ₛ P) (h2 : P ⭢βᶠ N) : M ⭢ₛ N

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma Standard.trans_step (h1 : M ⭢ₛ P) (h2 : P ⭢βᶠ N) : M ⭢ₛ N := by  induction h1 generalizing N  case fvar => contradiction  case rdx lc_L lc_M cbn _ ih => exact .rdx lc_L lc_M cbn (ih h2)  case abs p_body ih =>    cases h2    · grind    · apply abs <| free_union [fv] Var      grind  case app L' _ M _ std_L std_M ih_L ih_M =>    cases h2    case appL step_M => exact .app std_L (ih_M step_M)    case appR step_L _ => exact .app (ih_L step_L) std_M    case base h_beta =>      cases h_beta      have L, cbn_L1, std_abs := abs_inv std_L _ rfl      have std_subst := std_abs.abs_subst std_M std_M.lc_l std_M.lc_r      have s1 : L'.app M ↠ₙ L.abs.app M := CBN.steps_app_l_cong cbn_L1 std_M.lc_l      have s2 : L.abs.app M ⭢ₙ L ^ M := .base (.beta (CBN.steps_lc_r std_L.lc_l cbn_L1) std_M.lc_l)      exact Standard.cbn_trans (.trans s1 (.single s2)) std_subst
Project
Lean Computer Science Library
License
Apache-2.0
Commit
f36649cff2c9
Source
Cslib/Languages/LambdaCalculus/LocallyNameless/Untyped/StandardReduction.lean:170-189

Reuse this declaration

Bring the exact result into your workflow

The import identifies the source module. Your project still needs the pinned package dependency shown on this page.

What this badge means

This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.

Continue in this project

Related declarations

Project-declaredLean 4.33.0-rc1

Unique minimal

Cslib.Automata.DA.FinAcc.unique_minimal

Plain-language statement

The minimal DFA M accepting the language l is unique up to unique isomorphism.

computer sciencecomputabilityprogram semantics

Source project: Lean Computer Science Library

Person-level attribution pending.

View proof record
Project-declaredLean 4.33.0-rc1

Buchi Family cover

Cslib.Automata.NA.Buchi.buchiFamily_cover

Project documentation

na.buchiFamily is a cover if na has only finitely many states. This theorem uses the Ramsey theorem for infinite graphs and does not depend on any details of na.BuchiCongruence other than that it is of finite index.

computer sciencecomputabilityprogram semantics

Source project: Lean Computer Science Library

Person-level attribution pending.

View proof record