{α β σ : Type} →
  (motive : Lean.ScopedEnvExtension.StateStack α β σ → Sort u_1) →
    (s : Lean.ScopedEnvExtension.StateStack α β σ) →
      ((stateStack : List (Lean.ScopedEnvExtension.State σ)) →
          (scopedEntries : Lean.ScopedEnvExtension.ScopedEntries β) →
            (newEntries : List (Lean.ScopedEnvExtension.Entry α)) →
              motive { stateStack := stateStack, scopedEntries := scopedEntries, newEntries := newEntries }) →
        motive s