I am attempting to adapt the code for \reallywidehat from a 2016 post, What does \stackMath do?, into my fairly large project as I transition typesetting from LaTeX to LuaLaTeX.
Typesetting the following MWE with LuaLaTeX:
\PassOptionsToPackage{table,xcdraw,svgnames,x11names}{xcolor}
\documentclass[12pt]{book}
\usepackage{scalerel}
\usepackage{stackengine}
\begin{document}
% From: What does \stackMath do?
% https://tex.stackexchange.com/questions/337988/what-does-stackmath-do
\newcommand\reallywidetilde[1]{\ThisStyle{%
\setbox0=\hbox{$\SavedStyle#1$}%
\stackengine{-.1\LMpt}{$\SavedStyle#1$}{%
\stretchto{\scaleto{\SavedStyle\mkern.2mu\AC}{.5150\wd0}}{.6\ht0}%
}{O}{c}{F}{T}{S}%
}}
\reallywidetilde{Hypothesis}
\end{document}
Results in the following error:
reallywidetilde.tex:18: Undefined control sequence.
<argument> \SavedStyle \mkern .2mu\AC
Note: The MWE in the post at What does \stackMath do? runs w/o error, and creates a PDF file with the following image:
for the following code:
\reallywidetilde{A}
\test{abcdefghijklm}
\test{abcdefghijk}
\reallywidehat{abcde}
Any thoughts on what might be causing the Undefined control sequence. <argument> \SavedStyle \mkern .2mu\AC error in the above MWE emphasized textwould be greatly appreciated!
Thanks for reading.

\usepackage{wasysym}to define\AC– David Carlisle May 29 '23 at 11:07\usepackage{wasysym}... could be a simple fix! If so, I'll let you know tomorrow ... Then, if you'd like, and can post ananswer, I can give you credit. Thanks again! P.S. ... That was FAST! – RosesBouquet May 29 '23 at 11:33