public override object Theory(TheoryEqualityExplanation target, Tuple <InfoPanelContent, PrettyPrintFormat, bool, int> arg)
        {
            var content           = arg.Item1;
            var format            = arg.Item2;
            var shouldPrintSource = arg.Item3;
            var indent            = arg.Item4;

            var indentString = getIndentString(format, indent);

            if (shouldPrintSource)
            {
                content.Append(indentString);
                target.source.PrettyPrint(content, format, indent);
            }
            content.switchToDefaultFormat();
            if (target.TheoryName == "smt")
            {
                content.Append($"\n{indentString}= (smt choice)\n{indentString}");
            }
            else
            {
                content.Append($"\n{indentString}= ({target.TheoryName} theory)\n{indentString}");
            }
            target.target.PrettyPrint(content, format, indent);

            return(null);
        }
Exemplo n.º 2
0
 public override object Theory(TheoryEqualityExplanation target, Action <Term> arg)
 {
     arg(target.source);
     arg(target.target);
     return(null);
 }