diff --git a/.github/workflows/Harnesses.yml b/.github/workflows/Harnesses.yml index 24018ad7f..ca8b7e2e3 100644 --- a/.github/workflows/Harnesses.yml +++ b/.github/workflows/Harnesses.yml @@ -45,6 +45,8 @@ jobs: dotnet build -c Release Sources/Tests/Harnesses/PropCheck dotnet build -c Release Sources/Tests/Harnesses/SimpSweep dotnet build -c Release Sources/Tests/Harnesses/RuleCheck + dotnet build -c Release Sources/Tests/Harnesses/CanonCheck + dotnet build -c Release Sources/Tests/Harnesses/Confluence # One step each, every one run whatever the one before did, so a red run names the harness. - name: BoundCheck @@ -70,6 +72,15 @@ jobs: if: success() || failure() run: dotnet Sources/Tests/Harnesses/RuleCheck/bin/Release/net10.0/rulecheck.dll + # These two report findings by design and fail when their committed list of them changes. + - name: CanonCheck + if: success() || failure() + run: dotnet Sources/Tests/Harnesses/CanonCheck/bin/Release/net10.0/canoncheck.dll + + - name: Confluence + if: success() || failure() + run: dotnet Sources/Tests/Harnesses/Confluence/bin/Release/net10.0/confluence.dll + - name: Reports if: always() uses: actions/upload-artifact@v6 diff --git a/AGENTS.md b/AGENTS.md index 046a98a03..62bd0e982 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -237,7 +237,7 @@ from. A change of *form* is therefore not a failure and only a change of *value* lets the corpus stay useful while printed output moves. **It is a gate and not a harness.** It is small and takes about a second, because everything in the -suite is paid for on every commit. The harnesses in `work/` are where a measurement generates its own +suite is paid for on every commit. The harnesses in `Sources/Tests/Harnesses` are where a measurement generates its own inputs, takes minutes, and gets read by a person; the two are not substitutes, and a finding from a harness that is worth keeping belongs in the corpus as a new problem. @@ -858,7 +858,7 @@ whatever else it delivered: 3. **Correctness coverage grows with the surface.** Each new layer adds ways to be wrong that the one below could not express. -So the release checklist is: the suite and the harnesses in `work/` green, a `BREAKING-CHANGES.md` +So the release checklist is: the suite and the harnesses in `Sources/Tests/Harnesses` green, a `BREAKING-CHANGES.md` entry for every changed answer measured on real builds, **a performance column measured against the previous one on the same machine**, a version number that does not contradict #746, **the integration work of [#718](https://github.com/asc-community/AngouriMath/issues/718) properly done diff --git a/CLAUDE.md b/CLAUDE.md index 328b72d6f..db737ffb5 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -19,10 +19,11 @@ nothing else is read: [`Contributing/SimplificationContract.md`](Sources/AngouriMath/Docs/Contributing/SimplificationContract.md). A rule states the assumptions under which it holds, or it is asserting there are none. -Seven measurement harnesses live in `Sources/Tests/Harnesses` and run in CI on every change to the +Nine measurement harnesses live in `Sources/Tests/Harnesses` and run in CI on every change to the library: the boundary checker, root completeness, the self-verifying solver corpus, the property -checker, the simplification sweep, the rule-set checker, and a crash harness that survives a stack -overflow. Each fails on a defect; its README says which. The rest are still in the analysis workspace +checker, the simplification sweep, the rule-set checker, a crash harness that survives a stack +overflow, the canonical-form checker and the arm-order checker. Each fails on a defect, or the last +two on a change to the findings they list; the README says which. The rest are still in the analysis workspace one directory up (`work/`), among them a checker for the documentation's code samples. Run them before claiming anything is fixed. diff --git a/Sources/AngouriMath/Core/Transformations/Transformation.Catalogue.cs b/Sources/AngouriMath/Core/Transformations/Transformation.Catalogue.cs index f0857ec8f..9fe022b27 100644 --- a/Sources/AngouriMath/Core/Transformations/Transformation.Catalogue.cs +++ b/Sources/AngouriMath/Core/Transformations/Transformation.Catalogue.cs @@ -301,9 +301,10 @@ private static class PolynomialFactorizationHolder /// /// /// Measured over 834 generated expressions and 2738 ordered pairs by - /// work/canoncheck: idempotent, and independent of the order the operands - /// were written in, where ordering without the leading normalisation fails 21 of - /// the first and alone fails 2024 of the second. + /// Sources/Tests/Harnesses/CanonCheck: idempotent, and independent of the order + /// the operands were written in, where ordering without the leading normalisation + /// fails 18 of the first and alone fails 2024 of the + /// second. Its canoncheck-baseline.tsv lists every one. /// /// /// What it is not. It is not a canonical form for the language — no such thing diff --git a/Sources/AngouriMath/Docs/Contributing/CanonicalForm.md b/Sources/AngouriMath/Docs/Contributing/CanonicalForm.md index 8f967cdd2..13ceb68df 100644 --- a/Sources/AngouriMath/Docs/Contributing/CanonicalForm.md +++ b/Sources/AngouriMath/Docs/Contributing/CanonicalForm.md @@ -3,7 +3,7 @@ [#746](https://github.com/asc-community/AngouriMath/issues/746) tier 1 asks for two things this file is: a written specification of what canonical means for each node class, and **a stated distinction between canonical and "simplest"**. Its item 65 says to take a position, write it down, -and let the engine be checked against it. The checking is `work/canoncheck`, and every number below +and let the engine be checked against it. The checking is `Sources/Tests/Harnesses/CanonCheck`, and every number below came out of it rather than out of an argument. Read [SimplificationContract.md](SimplificationContract.md) first if you are changing a rewrite. @@ -60,7 +60,7 @@ Three properties, each of which a canonical form must have and none of which nee - **order independence** — the operands of a commutative operator may be written either way round; - **agreement** — two writings of one expression reach the same form. -`work/canoncheck` measures all three against each candidate, comparing **entities and not printed +`Sources/Tests/Harnesses/CanonCheck` measures all three against each candidate, comparing **entities and not printed strings**. The figures below are on `master` with the two defects of the following subsection fixed — [#929](https://github.com/asc-community/AngouriMath/issues/929) and [#930](https://github.com/asc-community/AngouriMath/issues/930), each landing separately. Without @@ -269,12 +269,17 @@ The one thing it *is* required to be is sound, which is [SimplificationContract. ## 7. How this is checked -`work/canoncheck`. It builds expressions by growing a small grammar, then checks idempotence and -order independence generatively and a listed set of agreements by hand. It runs all three over each -of the three candidate forms — `InnerSimplified`, `CanonicalOrderExact` followed by -`InnerSimplified`, and `Simplify` — because the interesting facts are the differences between the -columns rather than any one number. The listed pairs are each a claim this file makes or disclaims, -so a disagreement there is a decision to take rather than necessarily a defect. +`Sources/Tests/Harnesses/CanonCheck`. It builds expressions by growing a small grammar, then +checks idempotence and order independence generatively and a listed set of agreements by hand. It +runs all three over each candidate form, because the interesting facts are the differences between +the columns rather than any one number. The candidates are `InnerSimplified`, `CanonicalOrderExact` +followed by `InnerSimplified`, the same sort after the normalisation, and `Simplify`. The listed +pairs are each a claim this file makes or disclaims, so a disagreement there is a decision to take +rather than necessarily a defect. + +CI runs it on every change to the library. Its findings are listed in `canoncheck-baseline.tsv` +beside it, and the run fails when that list changes, so a change to what is canonical is recorded +in the commit that makes it. It compares entities. Nothing in it reads a printed form, which is deliberate: the associativity finding in §3 is invisible to a string comparison and is the single most likely thing to be got diff --git a/Sources/AngouriMath/Functions/Simplification/Patterns/Patterns.Power.cs b/Sources/AngouriMath/Functions/Simplification/Patterns/Patterns.Power.cs index 5244a6e37..cbe7cd717 100644 --- a/Sources/AngouriMath/Functions/Simplification/Patterns/Patterns.Power.cs +++ b/Sources/AngouriMath/Functions/Simplification/Patterns/Patterns.Power.cs @@ -250,7 +250,7 @@ when TreeAnalyzer.TryPerfectPower(literal, out var root, out var exponent) // below is guarded for: the principal argument does not negate with its logarithm. // At b = -0.63, ln(1/b) is 0.462 + pi*i and -ln(b) is 0.462 - pi*i. These three were // applied unconditionally while their neighbours ten lines down carried a guard, and - // `work/rulecheck` reports them once its corpus is wide enough to build the shape. + // `Sources/Tests/Harnesses/RuleCheck` reports them once its corpus is wide enough to build the shape. // // The condition is the same one, and is asked through the same helper: ln(1/b) is // ln(1) - ln(b), so a reciprocal is the difference case with a numerator of 1. Both diff --git a/Sources/Tests/Harnesses/CanonCheck/CanonCheck.csproj b/Sources/Tests/Harnesses/CanonCheck/CanonCheck.csproj new file mode 100644 index 000000000..ec369f5d2 --- /dev/null +++ b/Sources/Tests/Harnesses/CanonCheck/CanonCheck.csproj @@ -0,0 +1,28 @@ + + + + + + Exe + net10.0 + disable + preview + canoncheck + CanonCheck + true + false + + + + + + + + + + diff --git a/Sources/Tests/Harnesses/CanonCheck/Program.cs b/Sources/Tests/Harnesses/CanonCheck/Program.cs new file mode 100644 index 000000000..00f5d8c53 --- /dev/null +++ b/Sources/Tests/Harnesses/CanonCheck/Program.cs @@ -0,0 +1,367 @@ +// +// Copyright (c) 2019-2026 Angouri. +// AngouriMath is licensed under MIT. +// Details: https://github.com/asc-community/AngouriMath/blob/master/LICENSE.md. +// Website: https://am.angouri.org. +// + +// canoncheck -- does the library have a canonical form, and is InnerSimplified it? +// +// Three properties, none of which needs an oracle and all of which a canonical form has to +// have. A form that fails any of them is a normalisation, not a canonicalisation, and the +// difference decides what a rule may assume about the shape it is handed. +// +// idempotence canonicalising twice is canonicalising once +// order independence a commutative operator's operands may be written either way round +// agreement two writings of the same expression reach the same form +// +// Written for https://github.com/asc-community/AngouriMath/issues/746 tier 1, which asks for +// a written specification of what canonical means per node class and a stated distinction +// between canonical and "simplest". +// +// InnerSimplified is a normalisation and fails order independence by design, so the findings +// are not defects as such. The run fails when their list changes: canoncheck-baseline.tsv +// beside this file is the list, and Harness.Baseline says how it is kept. + +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using AngouriMath; +using AngouriMath.Core.Transformations; +using AngouriMath.Extensions; + +static class CanonCheck +{ + static readonly TimeSpan PerCase = TimeSpan.FromSeconds(5); + + sealed record Finding(string Stage, string Property, string Left, string Right, string LeftForm, string RightForm) + { + /// The finding's line in the baseline: the case, written out in full. + public string Key { get; init; } + } + + static readonly List Findings = new(); + + /// The baseline lines of the cases a timeout kept from being measured. + static readonly HashSet Unmeasured = new(StringComparer.Ordinal); + + static int timedOut, unparsed; + + static string Key(string stage, string property, string left, string right) + => string.Join("\t", stage, property, Harness.Baseline.Field(left), Harness.Baseline.Field(right)); + + /// + /// The two candidates for "the form an expression is in". InnerSimplified is the + /// normalisation every node runs on construction; Simplify is the search over + /// rewrites that returns the best candidate by the complexity criteria. Whether either is + /// canonical is the question, and they have to be measured separately to answer it. + /// + sealed record Stage(string Name, Func Apply, int Stride) + { + public int Idempotence, Order, Agreement; + } + + static readonly Stage Canonicalising = + new("InnerSimplified", e => e.InnerSimplified, 23); + + static readonly Stage Simplifying = + new("Simplify", e => e.Simplify(), 149); + + /// + /// The sort the library already has, applied on its own. CanonicalOrderExact groups + /// by the whole subtree, which is the granularity a canonical form wants -- the other two + /// levels deliberately treat x and 2 * x as the same operand for collecting + /// like terms, which is a different job. Measured separately because whether the order is + /// total is a question about the sort, not about the pipeline that happens to run it. + /// + static readonly Stage Ordering = + new("CanonicalOrderExact", + e => RewriteRules.CanonicalOrderExact.ApplyOnce(e).InnerSimplified, 23); + + /// + /// The same sort, run on an already-normalised tree. The order key depends on a node's + /// class, and the normalisation changes classes — 1 * 2 ^ (-1) is a product when the + /// sort reads it and the number 1/2 immediately afterwards — so sorting first sorts + /// a shape that is about to stop existing, and the next pass orders it differently. + /// + static readonly Stage NormaliseThenOrder = + new("Normalise+Order", + e => RewriteRules.CanonicalOrderExact.ApplyOnce(e.InnerSimplified).InnerSimplified, 23); + + /// + /// Settings are [ThreadStatic] and a stack overflow in a rewrite would take the run with + /// it, so every case runs on a pool thread with a cap. + /// + static T WithTimeout(Func f) where T : class + { + try + { + var task = Task.Run(f); + if (task.Wait(PerCase)) return task.Result; + timedOut++; + return null; + } + catch { return null; } + } + + static Entity Form(Stage stage, Entity e) => WithTimeout(() => stage.Apply(e)); + + static string Show(Entity e) => e is null ? "" : Truncate(e.Stringize()); + + static string Truncate(string s, int at = 58) => s.Length <= at ? s : s.Substring(0, at - 3) + "..."; + + // ------------------------------------------------------------------------------------- + // The properties. + // ------------------------------------------------------------------------------------- + + /// Canonicalising a canonical form leaves it alone. + static void Idempotence(Stage stage, Entity expr) + { + var key = Key(stage.Name, "idempotence", expr.Stringize(), "(applied twice)"); + var before = timedOut; + var once = Form(stage, expr); + var twice = once is null ? null : Form(stage, once); + if (twice is null) + { + if (timedOut != before) Unmeasured.Add(key); + return; + } + stage.Idempotence++; + if (!once.Equals(twice)) + Findings.Add(new Finding(stage.Name, "idempotence", Show(expr), "(applied twice)", Show(once), Show(twice)) { Key = key }); + } + + /// + /// A commutative operator's operands may be written either way round, so the two writings + /// have to reach the same form. Sums and products only -- the library's other commutative + /// nodes are the connectives and the set operations, checked in the listed pairs below. + /// + static void OrderIndependence(Stage stage, Entity left, Entity right) + { + foreach (var (a, b) in new[] + { + ((Entity)(left + right), (Entity)(right + left)), + ((Entity)(left * right), (Entity)(right * left)) + }) + { + var key = Key(stage.Name, "order", a.Stringize(), b.Stringize()); + var before = timedOut; + var formA = Form(stage, a); + var formB = Form(stage, b); + if (formA is null || formB is null) + { + if (timedOut != before) Unmeasured.Add(key); + continue; + } + stage.Order++; + if (!formA.Equals(formB)) + Findings.Add(new Finding(stage.Name, "order", Show(a), Show(b), Show(formA), Show(formB)) { Key = key }); + } + } + + /// Two writings of the same expression reach the same form. + static void Agreement(Stage stage, string left, string right) + { + Entity a, b; + try { a = left.ToEntity(); b = right.ToEntity(); } + catch { unparsed++; return; } + var key = Key(stage.Name, "agreement", left, right); + var before = timedOut; + var formA = Form(stage, a); + var formB = Form(stage, b); + if (formA is null || formB is null) + { + if (timedOut != before) Unmeasured.Add(key); + return; + } + stage.Agreement++; + if (!formA.Equals(formB)) + Findings.Add(new Finding(stage.Name, "agreement", left, right, Show(formA), Show(formB)) { Key = key }); + } + + // ------------------------------------------------------------------------------------- + // Material. + // ------------------------------------------------------------------------------------- + + static readonly string[] Leaves = { "x", "y", "2", "-1", "1/2", "0", "1", "a" }; + + static readonly string[] Unary = + { + "-({0})", "sqrt({0})", "abs({0})", "ln({0})", "e ^ ({0})", + "sin({0})", "cos({0})", "sgn({0})", "1 / ({0})", "({0}) ^ 2", "({0}) ^ (-1)", + }; + + static readonly string[] Binary = + { + "({0}) + ({1})", "({0}) - ({1})", "({0}) * ({1})", "({0}) / ({1})", "({0}) ^ ({1})", + }; + + static List Grow(List below, bool binary) + { + var grown = new List(); + foreach (var shape in Unary) + foreach (var inner in below) + grown.Add(string.Format(shape, inner)); + if (binary) + foreach (var shape in Binary) + foreach (var l in below) + foreach (var r in below) + grown.Add(string.Format(shape, l, r)); + return grown; + } + + /// + /// Pairs that denote the same expression however they are written. Each one is a claim + /// the specification will have to make or disclaim, so a disagreement here is a decision + /// to take rather than necessarily a defect. + /// + static readonly (string Left, string Right, string What)[] Pairs = + { + ("x - y", "x + (-1) * y", "a difference is a sum of a negation"), + ("x - y", "x + (-y)", "a difference is a sum of a negation"), + ("x / y", "x * y ^ (-1)", "a quotient is a product of a reciprocal"), + ("sqrt(x)", "x ^ (1/2)", "a square root is a half power"), + ("x ^ 2", "x * x", "a square is a product"), + ("x * x * x", "x ^ 3", "repeated factors gather"), + ("x + x", "2 * x", "repeated terms gather"), + ("(x ^ 2) ^ 3", "x ^ 6", "a power of a power multiplies"), + ("2 * 3 * x", "6 * x", "numeric factors fold"), + ("x + 2 + 3", "x + 5", "numeric terms fold"), + ("4 / 2", "2", "a rational folds to lowest terms"), + ("x * 1", "x", "one is dropped from a product"), + ("x + 0", "x", "zero is dropped from a sum"), + ("x ^ 1", "x", "a first power is the base"), + ("x * 0", "0", "a product with zero vanishes"), + ("(x + y) + a", "x + (y + a)", "a sum reassociates"), + ("(x * y) * a", "x * (y * a)", "a product reassociates"), + ("x + y", "y + x", "a sum commutes"), + ("x * y", "y * x", "a product commutes"), + ("-(x + y)", "-x - y", "negation distributes over a sum"), + ("1 / (1 / x)", "x", "a reciprocal is an involution"), + ("e ^ ln(x)", "x", "exp and ln cancel on the principal branch"), + ("x and y", "y and x", "conjunction commutes"), + ("x or y", "y or x", "disjunction commutes"), + ("{ 1, 2 }", "{ 2, 1 }", "a finite set is unordered"), + ("{ 1, 2, 1 }", "{ 1, 2 }", "a finite set has no repeats"), + ("abs(-x)", "abs(x)", "absolute value is even"), + ("sin(-x)", "-sin(x)", "sine is odd"), + ("cos(-x)", "cos(x)", "cosine is even"), + ("x ^ 0", "1", "a zeroth power is one"), + }; + + static int Main() + { + var level1 = new List(Leaves); + var level2 = Grow(level1, binary: true); + var level3 = Grow(level2.Where((_, i) => i % 11 == 0).ToList(), binary: false); + var all = level1.Concat(level2).Concat(level3).ToList(); + Console.WriteLine($"{all.Count} expressions"); + + var parsed = new List(); + foreach (var source in all) + { + try { parsed.Add(source.ToEntity()); } + catch { unparsed++; } + } + + foreach (var stage in new[] { Canonicalising, Ordering, NormaliseThenOrder, Simplifying }) + { + // Simplify is a search and costs orders of magnitude more than the normalisation, + // so it runs over a sample. The sample is taken by stride rather than at random, + // so a finding can be found again. + var subjects = stage.Stride == 23 + ? parsed + : parsed.Where((_, i) => i % 7 == 0).ToList(); + Console.WriteLine($"{stage.Name}: {subjects.Count} for idempotence"); + var done = 0; + foreach (var expr in subjects) + { + Idempotence(stage, expr); + if (++done % 500 == 0) Console.WriteLine($" {stage.Name} idempotence {done}/{subjects.Count}"); + } + + var operands = parsed.Where((_, i) => i % stage.Stride == 0).ToList(); + Console.WriteLine($"{stage.Name}: {operands.Count} operands -> {operands.Count * operands.Count} ordered pairs"); + done = 0; + foreach (var left in operands) + { + foreach (var right in operands) + OrderIndependence(stage, left, right); + if (++done % 10 == 0) Console.WriteLine($" {stage.Name} order {done}/{operands.Count}"); + } + + foreach (var (left, right, _) in Pairs) + Agreement(stage, left, right); + } + + Report(); + return Harness.Baseline.Check( + "canoncheck-baseline.tsv", + "canoncheck: stage, property, and the case that fails it -- the expression, or the two writings.", + Findings.Select(f => f.Key), + Unmeasured.Contains); + } + + static void Report() + { + int Count(string stage, string property) + => Findings.Count(f => f.Stage == stage && f.Property == property); + + var text = new StringBuilder(); + text.AppendLine("# canoncheck"); + text.AppendLine(); + text.AppendLine($"Measured against `{Harness.Measured.Commit()}`."); + text.AppendLine(); + text.AppendLine("Generated by `Sources/Tests/Harnesses/CanonCheck`. Three properties a canonical form has to have,"); + text.AppendLine("measured against both of the library's candidates for \"the form an expression is"); + text.AppendLine("in\". None of them needs an oracle: idempotence and order independence are"); + text.AppendLine("properties of the form itself, and the listed pairs are writings of one expression."); + text.AppendLine(); + text.AppendLine("Forms are compared as **entities**, not as printed strings. Two trees that print"); + text.AppendLine("the same can differ, and one of the findings below is exactly that."); + text.AppendLine(); + text.AppendLine("Every finding is listed in `canoncheck-baseline.tsv` beside the harness, and the run"); + text.AppendLine("fails when that list changes."); + text.AppendLine(); + text.AppendLine("| property | InnerSimplified | + CanonicalOrderExact | normalise, then order | Simplify |"); + text.AppendLine("|---|---|---|---|---|"); + foreach (var (label, key, canonical, simplest) in new[] + { + ("idempotence", "idempotence", Canonicalising.Idempotence, Simplifying.Idempotence), + ("order independence", "order", Canonicalising.Order, Simplifying.Order), + ("listed agreements", "agreement", Canonicalising.Agreement, Simplifying.Agreement) + }) + text.AppendLine($"| {label} | {Count("InnerSimplified", key)} failed of {canonical} " + + $"| {Count("CanonicalOrderExact", key)} failed " + + $"| {Count("Normalise+Order", key)} failed " + + $"| {Count("Simplify", key)} failed of {simplest} |"); + text.AppendLine(); + text.AppendLine($"Timed out at {PerCase.TotalSeconds:0}s: {timedOut}; did not parse: {unparsed}."); + text.AppendLine(); + + foreach (var group in Findings.GroupBy(f => (f.Stage, f.Property))) + { + text.AppendLine($"## {group.Key.Stage} -- {group.Key.Property}"); + text.AppendLine(); + text.AppendLine("| left | right | left form | right form |"); + text.AppendLine("|---|---|---|---|"); + foreach (var finding in group.Take(40)) + text.AppendLine($"| `{finding.Left}` | `{finding.Right}` | `{finding.LeftForm}` | `{finding.RightForm}` |"); + if (group.Count() > 40) + text.AppendLine($"| ... | {group.Count() - 40} more | | |"); + text.AppendLine(); + } + + var path = Harness.Reports.PathFor("canoncheck.md"); + File.WriteAllText(path, text.ToString()); + Console.WriteLine(); + foreach (var stage in new[] { Canonicalising, Ordering, NormaliseThenOrder, Simplifying }) + Console.WriteLine($"canoncheck {stage.Name}: idempotence {Count(stage.Name, "idempotence")}/{stage.Idempotence} failed; " + + $"order {Count(stage.Name, "order")}/{stage.Order} failed; " + + $"agreement {Count(stage.Name, "agreement")}/{stage.Agreement} disagreed"); + Console.WriteLine($"Wrote {path}"); + } +} diff --git a/Sources/Tests/Harnesses/CanonCheck/canoncheck-baseline.tsv b/Sources/Tests/Harnesses/CanonCheck/canoncheck-baseline.tsv new file mode 100644 index 000000000..4ce12fc10 --- /dev/null +++ b/Sources/Tests/Harnesses/CanonCheck/canoncheck-baseline.tsv @@ -0,0 +1,2094 @@ +# canoncheck: stage, property, and the case that fails it -- the expression, or the two writings. +# One line per finding, tab separated, sorted. Generated by the harness, not edited by hand: +# to update it, run the harness with HARNESS_UPDATE_BASELINE=1 and commit it with the change that moved it. +CanonicalOrderExact agreement (x ^ 2) ^ 3 x ^ 6 +CanonicalOrderExact agreement -(x + y) -x - y +CanonicalOrderExact agreement 1 / (1 / x) x +CanonicalOrderExact agreement abs(-x) abs(x) +CanonicalOrderExact agreement cos(-x) cos(x) +CanonicalOrderExact agreement e ^ ln(x) x +CanonicalOrderExact agreement sin(-x) -sin(x) +CanonicalOrderExact agreement x * x * x x ^ 3 +CanonicalOrderExact agreement x + x 2 * x +CanonicalOrderExact agreement x ^ 0 1 +CanonicalOrderExact idempotence (-x) ^ (-1) (applied twice) +CanonicalOrderExact idempotence (0 ^ y) ^ 2 (applied twice) +CanonicalOrderExact idempotence (1/2 / a) ^ (-1) (applied twice) +CanonicalOrderExact idempotence (2 / y) ^ (-1) (applied twice) +CanonicalOrderExact idempotence (a * (-1)) ^ (-1) (applied twice) +CanonicalOrderExact idempotence (x * 1/2) ^ (-1) (applied twice) +CanonicalOrderExact idempotence (y * a) ^ (-1) (applied twice) +CanonicalOrderExact idempotence -0 ^ y (applied twice) +CanonicalOrderExact idempotence 0 ^ a (applied twice) +CanonicalOrderExact idempotence 0 ^ x (applied twice) +CanonicalOrderExact idempotence 0 ^ y (applied twice) +CanonicalOrderExact idempotence abs(0 ^ y) (applied twice) +CanonicalOrderExact idempotence cos(0 ^ y) (applied twice) +CanonicalOrderExact idempotence e ^ 0 ^ y (applied twice) +CanonicalOrderExact idempotence ln(0 ^ y) (applied twice) +CanonicalOrderExact idempotence sgn(0 ^ y) (applied twice) +CanonicalOrderExact idempotence sin(0 ^ y) (applied twice) +CanonicalOrderExact idempotence sqrt(0 ^ y) (applied twice) +InnerSimplified agreement (x * y) * a x * (y * a) +InnerSimplified agreement (x + y) + a x + (y + a) +InnerSimplified agreement (x ^ 2) ^ 3 x ^ 6 +InnerSimplified agreement -(x + y) -x - y +InnerSimplified agreement 1 / (1 / x) x +InnerSimplified agreement abs(-x) abs(x) +InnerSimplified agreement cos(-x) cos(x) +InnerSimplified agreement e ^ ln(x) x +InnerSimplified agreement sin(-x) -sin(x) +InnerSimplified agreement x * x * x x ^ 3 +InnerSimplified agreement x * y y * x +InnerSimplified agreement x + 2 + 3 x + 5 +InnerSimplified agreement x + x 2 * x +InnerSimplified agreement x + y y + x +InnerSimplified agreement x - y x + (-1) * y +InnerSimplified agreement x - y x + (-y) +InnerSimplified agreement x / y x * y ^ (-1) +InnerSimplified agreement x ^ 0 1 +InnerSimplified agreement x and y y and x +InnerSimplified agreement x or y y or x +InnerSimplified order (-1 - x) * (0 + 2) (0 + 2) * (-1 - x) +InnerSimplified order (-1 - x) * (0 - a) (0 - a) * (-1 - x) +InnerSimplified order (-1 - x) * (1 * x) ^ 2 (1 * x) ^ 2 * (-1 - x) +InnerSimplified order (-1 - x) * (1/2) ^ (-1) (1/2) ^ (-1) * (-1 - x) +InnerSimplified order (-1 - x) * (1/2) ^ a (1/2) ^ a * (-1 - x) +InnerSimplified order (-1 - x) * (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 * (-1 - x) +InnerSimplified order (-1 - x) * (x - y) (x - y) * (-1 - x) +InnerSimplified order (-1 - x) * (y + -1) ^ (-1) (y + -1) ^ (-1) * (-1 - x) +InnerSimplified order (-1 - x) * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * (-1 - x) +InnerSimplified order (-1 - x) * -y * a -y * a * (-1 - x) +InnerSimplified order (-1 - x) * 1 * 1/2 1 * 1/2 * (-1 - x) +InnerSimplified order (-1 - x) * 1 / (-1 - x) 1 / (-1 - x) * (-1 - x) +InnerSimplified order (-1 - x) * 1/2 / 2 1/2 / 2 * (-1 - x) +InnerSimplified order (-1 - x) * 2 ^ x 2 ^ x * (-1 - x) +InnerSimplified order (-1 - x) * a / y a / y * (-1 - x) +InnerSimplified order (-1 - x) * a ^ 1 a ^ 1 * (-1 - x) +InnerSimplified order (-1 - x) * abs(a ^ a) abs(a ^ a) * (-1 - x) +InnerSimplified order (-1 - x) * abs(x - 2) abs(x - 2) * (-1 - x) +InnerSimplified order (-1 - x) * cos(-x) cos(-x) * (-1 - x) +InnerSimplified order (-1 - x) * e ^ 1 e ^ 1 * (-1 - x) +InnerSimplified order (-1 - x) * ln(-2) ln(-2) * (-1 - x) +InnerSimplified order (-1 - x) * sgn(x + x) sgn(x + x) * (-1 - x) +InnerSimplified order (-1 - x) * sin(y - 0) sin(y - 0) * (-1 - x) +InnerSimplified order (-1 - x) * sqrt(1/2 / a) sqrt(1/2 / a) * (-1 - x) +InnerSimplified order (-1 - x) * sqrt(1/2) sqrt(1/2) * (-1 - x) +InnerSimplified order (-1 - x) * sqrt(a) sqrt(a) * (-1 - x) +InnerSimplified order (-1 - x) * sqrt(e) sqrt(e) * (-1 - x) +InnerSimplified order (-1 - x) * x x * (-1 - x) +InnerSimplified order (-1 - x) * x * 1 x * 1 * (-1 - x) +InnerSimplified order (-1 - x) * y / (-1) y / (-1) * (-1 - x) +InnerSimplified order (0 + 2) * (-1 - x) (-1 - x) * (0 + 2) +InnerSimplified order (0 + 2) * (0 - a) (0 - a) * (0 + 2) +InnerSimplified order (0 + 2) * (1 * x) ^ 2 (1 * x) ^ 2 * (0 + 2) +InnerSimplified order (0 + 2) * (1/2) ^ a (1/2) ^ a * (0 + 2) +InnerSimplified order (0 + 2) * (x - y) (x - y) * (0 + 2) +InnerSimplified order (0 + 2) * (y + -1) ^ (-1) (y + -1) ^ (-1) * (0 + 2) +InnerSimplified order (0 + 2) * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * (0 + 2) +InnerSimplified order (0 + 2) * -y * a -y * a * (0 + 2) +InnerSimplified order (0 + 2) * 1 / (-1 - x) 1 / (-1 - x) * (0 + 2) +InnerSimplified order (0 + 2) * 2 ^ x 2 ^ x * (0 + 2) +InnerSimplified order (0 + 2) * a / y a / y * (0 + 2) +InnerSimplified order (0 + 2) * a ^ 1 a ^ 1 * (0 + 2) +InnerSimplified order (0 + 2) * abs(a ^ a) abs(a ^ a) * (0 + 2) +InnerSimplified order (0 + 2) * abs(x - 2) abs(x - 2) * (0 + 2) +InnerSimplified order (0 + 2) * cos(-x) cos(-x) * (0 + 2) +InnerSimplified order (0 + 2) * e ^ 1 e ^ 1 * (0 + 2) +InnerSimplified order (0 + 2) * ln(-2) ln(-2) * (0 + 2) +InnerSimplified order (0 + 2) * sgn(x + x) sgn(x + x) * (0 + 2) +InnerSimplified order (0 + 2) * sin(y - 0) sin(y - 0) * (0 + 2) +InnerSimplified order (0 + 2) * sqrt(1/2 / a) sqrt(1/2 / a) * (0 + 2) +InnerSimplified order (0 + 2) * sqrt(1/2) sqrt(1/2) * (0 + 2) +InnerSimplified order (0 + 2) * sqrt(a) sqrt(a) * (0 + 2) +InnerSimplified order (0 + 2) * sqrt(e) sqrt(e) * (0 + 2) +InnerSimplified order (0 + 2) * x x * (0 + 2) +InnerSimplified order (0 + 2) * x * 1 x * 1 * (0 + 2) +InnerSimplified order (0 + 2) * y / (-1) y / (-1) * (0 + 2) +InnerSimplified order (0 - a) * (-1 - x) (-1 - x) * (0 - a) +InnerSimplified order (0 - a) * (0 + 2) (0 + 2) * (0 - a) +InnerSimplified order (0 - a) * (1 * x) ^ 2 (1 * x) ^ 2 * (0 - a) +InnerSimplified order (0 - a) * (1/2) ^ (-1) (1/2) ^ (-1) * (0 - a) +InnerSimplified order (0 - a) * (1/2) ^ a (1/2) ^ a * (0 - a) +InnerSimplified order (0 - a) * (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 * (0 - a) +InnerSimplified order (0 - a) * (x - y) (x - y) * (0 - a) +InnerSimplified order (0 - a) * (y + -1) ^ (-1) (y + -1) ^ (-1) * (0 - a) +InnerSimplified order (0 - a) * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * (0 - a) +InnerSimplified order (0 - a) * -y * a -y * a * (0 - a) +InnerSimplified order (0 - a) * 1 * 1/2 1 * 1/2 * (0 - a) +InnerSimplified order (0 - a) * 1 / (-1 - x) 1 / (-1 - x) * (0 - a) +InnerSimplified order (0 - a) * 1/2 / 2 1/2 / 2 * (0 - a) +InnerSimplified order (0 - a) * 2 ^ x 2 ^ x * (0 - a) +InnerSimplified order (0 - a) * a / y a / y * (0 - a) +InnerSimplified order (0 - a) * a ^ 1 a ^ 1 * (0 - a) +InnerSimplified order (0 - a) * abs(a ^ a) abs(a ^ a) * (0 - a) +InnerSimplified order (0 - a) * abs(x - 2) abs(x - 2) * (0 - a) +InnerSimplified order (0 - a) * cos(-x) cos(-x) * (0 - a) +InnerSimplified order (0 - a) * e ^ 1 e ^ 1 * (0 - a) +InnerSimplified order (0 - a) * ln(-2) ln(-2) * (0 - a) +InnerSimplified order (0 - a) * sgn(x + x) sgn(x + x) * (0 - a) +InnerSimplified order (0 - a) * sin(y - 0) sin(y - 0) * (0 - a) +InnerSimplified order (0 - a) * sqrt(1/2 / a) sqrt(1/2 / a) * (0 - a) +InnerSimplified order (0 - a) * sqrt(1/2) sqrt(1/2) * (0 - a) +InnerSimplified order (0 - a) * sqrt(a) sqrt(a) * (0 - a) +InnerSimplified order (0 - a) * sqrt(e) sqrt(e) * (0 - a) +InnerSimplified order (0 - a) * x x * (0 - a) +InnerSimplified order (0 - a) * x * 1 x * 1 * (0 - a) +InnerSimplified order (0 - a) * y / (-1) y / (-1) * (0 - a) +InnerSimplified order (1 * x) ^ 2 * (-1 - x) (-1 - x) * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * (0 + 2) (0 + 2) * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * (0 - a) (0 - a) * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * (1/2) ^ (-1) (1/2) ^ (-1) * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * (1/2) ^ a (1/2) ^ a * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * (x - y) (x - y) * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * (y + -1) ^ (-1) (y + -1) ^ (-1) * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * -y * a -y * a * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * 1 * 1/2 1 * 1/2 * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * 1 / (-1 - x) 1 / (-1 - x) * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * 1/2 / 2 1/2 / 2 * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * 2 ^ x 2 ^ x * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * a / y a / y * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * a ^ 1 a ^ 1 * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * abs(a ^ a) abs(a ^ a) * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * abs(x - 2) abs(x - 2) * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * cos(-x) cos(-x) * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * e ^ 1 e ^ 1 * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * ln(-2) ln(-2) * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * sgn(x + x) sgn(x + x) * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * sin(y - 0) sin(y - 0) * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * sqrt(1/2 / a) sqrt(1/2 / a) * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * sqrt(1/2) sqrt(1/2) * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * sqrt(a) sqrt(a) * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * sqrt(e) sqrt(e) * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * x x * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * x * 1 x * 1 * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 * y / (-1) y / (-1) * (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + (1/2) ^ (-1) (1/2) ^ (-1) + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + (1/2) ^ a (1/2) ^ a + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + (y + -1) ^ (-1) (y + -1) ^ (-1) + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + -1 - x -1 - x + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + -y * a -y * a + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + 0 + 2 0 + 2 + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + 0 - a 0 - a + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + 1 * 1/2 1 * 1/2 + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + 1 / (-1 - x) 1 / (-1 - x) + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + 1/2 / 2 1/2 / 2 + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + 2 + -1 2 + -1 + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + 2 ^ x 2 ^ x + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + a / y a / y + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + a ^ 1 a ^ 1 + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + abs(a ^ a) abs(a ^ a) + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + abs(x - 2) abs(x - 2) + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + cos(-x) cos(-x) + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + cos(1/2 * 0) cos(1/2 * 0) + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + e ^ 0 ^ 2 e ^ 0 ^ 2 + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + e ^ 1 e ^ 1 + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + ln(-2) ln(-2) + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + sgn(a / 0) sgn(a / 0) + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + sgn(x + x) sgn(x + x) + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + sin(y - 0) sin(y - 0) + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + sqrt(1/2 / a) sqrt(1/2 / a) + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + sqrt(1/2) sqrt(1/2) + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + sqrt(a) sqrt(a) + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + sqrt(e) sqrt(e) + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + x x + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + x * 1 x * 1 + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + x - y x - y + (1 * x) ^ 2 +InnerSimplified order (1 * x) ^ 2 + y / (-1) y / (-1) + (1 * x) ^ 2 +InnerSimplified order (1/2) ^ (-1) * (-1 - x) (-1 - x) * (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) * (0 - a) (0 - a) * (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) * (1 * x) ^ 2 (1 * x) ^ 2 * (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) * (1/2) ^ a (1/2) ^ a * (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) * (x - y) (x - y) * (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) * (y + -1) ^ (-1) (y + -1) ^ (-1) * (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) * -y * a -y * a * (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) * 1 / (-1 - x) 1 / (-1 - x) * (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) * 2 ^ x 2 ^ x * (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) * a / y a / y * (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) * a ^ 1 a ^ 1 * (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) * abs(a ^ a) abs(a ^ a) * (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) * abs(x - 2) abs(x - 2) * (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) * cos(-x) cos(-x) * (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) * e ^ 1 e ^ 1 * (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) * ln(-2) ln(-2) * (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) * sgn(x + x) sgn(x + x) * (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) * sin(y - 0) sin(y - 0) * (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) * sqrt(1/2 / a) sqrt(1/2 / a) * (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) * sqrt(1/2) sqrt(1/2) * (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) * sqrt(a) sqrt(a) * (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) * sqrt(e) sqrt(e) * (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) * x x * (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) * x * 1 x * 1 * (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) * y / (-1) y / (-1) * (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) + (1 * x) ^ 2 (1 * x) ^ 2 + (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) + (1/2) ^ a (1/2) ^ a + (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) + (y + -1) ^ (-1) (y + -1) ^ (-1) + (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) + -1 - x -1 - x + (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) + -y * a -y * a + (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) + 0 - a 0 - a + (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) + 1 / (-1 - x) 1 / (-1 - x) + (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) + 2 ^ x 2 ^ x + (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) + a / y a / y + (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) + a ^ 1 a ^ 1 + (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) + abs(a ^ a) abs(a ^ a) + (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) + abs(x - 2) abs(x - 2) + (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) + cos(-x) cos(-x) + (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) + e ^ 1 e ^ 1 + (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) + ln(-2) ln(-2) + (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) + sgn(x + x) sgn(x + x) + (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) + sin(y - 0) sin(y - 0) + (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) + sqrt(1/2 / a) sqrt(1/2 / a) + (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) + sqrt(1/2) sqrt(1/2) + (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) + sqrt(a) sqrt(a) + (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) + sqrt(e) sqrt(e) + (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) + x x + (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) + x * 1 x * 1 + (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) + x - y x - y + (1/2) ^ (-1) +InnerSimplified order (1/2) ^ (-1) + y / (-1) y / (-1) + (1/2) ^ (-1) +InnerSimplified order (1/2) ^ a * (-1 - x) (-1 - x) * (1/2) ^ a +InnerSimplified order (1/2) ^ a * (0 + 2) (0 + 2) * (1/2) ^ a +InnerSimplified order (1/2) ^ a * (0 - a) (0 - a) * (1/2) ^ a +InnerSimplified order (1/2) ^ a * (1 * x) ^ 2 (1 * x) ^ 2 * (1/2) ^ a +InnerSimplified order (1/2) ^ a * (1/2) ^ (-1) (1/2) ^ (-1) * (1/2) ^ a +InnerSimplified order (1/2) ^ a * (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 * (1/2) ^ a +InnerSimplified order (1/2) ^ a * (x - y) (x - y) * (1/2) ^ a +InnerSimplified order (1/2) ^ a * (y + -1) ^ (-1) (y + -1) ^ (-1) * (1/2) ^ a +InnerSimplified order (1/2) ^ a * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * (1/2) ^ a +InnerSimplified order (1/2) ^ a * -y * a -y * a * (1/2) ^ a +InnerSimplified order (1/2) ^ a * 1 * 1/2 1 * 1/2 * (1/2) ^ a +InnerSimplified order (1/2) ^ a * 1 / (-1 - x) 1 / (-1 - x) * (1/2) ^ a +InnerSimplified order (1/2) ^ a * 1/2 / 2 1/2 / 2 * (1/2) ^ a +InnerSimplified order (1/2) ^ a * 2 ^ x 2 ^ x * (1/2) ^ a +InnerSimplified order (1/2) ^ a * a / y a / y * (1/2) ^ a +InnerSimplified order (1/2) ^ a * a ^ 1 a ^ 1 * (1/2) ^ a +InnerSimplified order (1/2) ^ a * abs(a ^ a) abs(a ^ a) * (1/2) ^ a +InnerSimplified order (1/2) ^ a * abs(x - 2) abs(x - 2) * (1/2) ^ a +InnerSimplified order (1/2) ^ a * cos(-x) cos(-x) * (1/2) ^ a +InnerSimplified order (1/2) ^ a * e ^ 1 e ^ 1 * (1/2) ^ a +InnerSimplified order (1/2) ^ a * ln(-2) ln(-2) * (1/2) ^ a +InnerSimplified order (1/2) ^ a * sgn(x + x) sgn(x + x) * (1/2) ^ a +InnerSimplified order (1/2) ^ a * sin(y - 0) sin(y - 0) * (1/2) ^ a +InnerSimplified order (1/2) ^ a * sqrt(1/2 / a) sqrt(1/2 / a) * (1/2) ^ a +InnerSimplified order (1/2) ^ a * sqrt(1/2) sqrt(1/2) * (1/2) ^ a +InnerSimplified order (1/2) ^ a * sqrt(a) sqrt(a) * (1/2) ^ a +InnerSimplified order (1/2) ^ a * sqrt(e) sqrt(e) * (1/2) ^ a +InnerSimplified order (1/2) ^ a * x x * (1/2) ^ a +InnerSimplified order (1/2) ^ a * x * 1 x * 1 * (1/2) ^ a +InnerSimplified order (1/2) ^ a * y / (-1) y / (-1) * (1/2) ^ a +InnerSimplified order (1/2) ^ a + (1 * x) ^ 2 (1 * x) ^ 2 + (1/2) ^ a +InnerSimplified order (1/2) ^ a + (1/2) ^ (-1) (1/2) ^ (-1) + (1/2) ^ a +InnerSimplified order (1/2) ^ a + (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 + (1/2) ^ a +InnerSimplified order (1/2) ^ a + (y + -1) ^ (-1) (y + -1) ^ (-1) + (1/2) ^ a +InnerSimplified order (1/2) ^ a + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + (1/2) ^ a +InnerSimplified order (1/2) ^ a + -1 - x -1 - x + (1/2) ^ a +InnerSimplified order (1/2) ^ a + -y * a -y * a + (1/2) ^ a +InnerSimplified order (1/2) ^ a + 0 + 2 0 + 2 + (1/2) ^ a +InnerSimplified order (1/2) ^ a + 0 - a 0 - a + (1/2) ^ a +InnerSimplified order (1/2) ^ a + 1 * 1/2 1 * 1/2 + (1/2) ^ a +InnerSimplified order (1/2) ^ a + 1 / (-1 - x) 1 / (-1 - x) + (1/2) ^ a +InnerSimplified order (1/2) ^ a + 1/2 / 2 1/2 / 2 + (1/2) ^ a +InnerSimplified order (1/2) ^ a + 2 + -1 2 + -1 + (1/2) ^ a +InnerSimplified order (1/2) ^ a + 2 ^ x 2 ^ x + (1/2) ^ a +InnerSimplified order (1/2) ^ a + a / y a / y + (1/2) ^ a +InnerSimplified order (1/2) ^ a + a ^ 1 a ^ 1 + (1/2) ^ a +InnerSimplified order (1/2) ^ a + abs(a ^ a) abs(a ^ a) + (1/2) ^ a +InnerSimplified order (1/2) ^ a + abs(x - 2) abs(x - 2) + (1/2) ^ a +InnerSimplified order (1/2) ^ a + cos(-x) cos(-x) + (1/2) ^ a +InnerSimplified order (1/2) ^ a + cos(1/2 * 0) cos(1/2 * 0) + (1/2) ^ a +InnerSimplified order (1/2) ^ a + e ^ 0 ^ 2 e ^ 0 ^ 2 + (1/2) ^ a +InnerSimplified order (1/2) ^ a + e ^ 1 e ^ 1 + (1/2) ^ a +InnerSimplified order (1/2) ^ a + ln(-2) ln(-2) + (1/2) ^ a +InnerSimplified order (1/2) ^ a + sgn(a / 0) sgn(a / 0) + (1/2) ^ a +InnerSimplified order (1/2) ^ a + sgn(x + x) sgn(x + x) + (1/2) ^ a +InnerSimplified order (1/2) ^ a + sin(y - 0) sin(y - 0) + (1/2) ^ a +InnerSimplified order (1/2) ^ a + sqrt(1/2 / a) sqrt(1/2 / a) + (1/2) ^ a +InnerSimplified order (1/2) ^ a + sqrt(1/2) sqrt(1/2) + (1/2) ^ a +InnerSimplified order (1/2) ^ a + sqrt(a) sqrt(a) + (1/2) ^ a +InnerSimplified order (1/2) ^ a + sqrt(e) sqrt(e) + (1/2) ^ a +InnerSimplified order (1/2) ^ a + x x + (1/2) ^ a +InnerSimplified order (1/2) ^ a + x * 1 x * 1 + (1/2) ^ a +InnerSimplified order (1/2) ^ a + x - y x - y + (1/2) ^ a +InnerSimplified order (1/2) ^ a + y / (-1) y / (-1) + (1/2) ^ a +InnerSimplified order (sqrt(-1)) ^ 2 * (-1 - x) (-1 - x) * (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 * (0 - a) (0 - a) * (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 * (1 * x) ^ 2 (1 * x) ^ 2 * (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 * (1/2) ^ a (1/2) ^ a * (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 * (x - y) (x - y) * (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 * (y + -1) ^ (-1) (y + -1) ^ (-1) * (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 * -y * a -y * a * (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 * 1 / (-1 - x) 1 / (-1 - x) * (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 * 2 ^ x 2 ^ x * (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 * a / y a / y * (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 * a ^ 1 a ^ 1 * (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 * abs(a ^ a) abs(a ^ a) * (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 * abs(x - 2) abs(x - 2) * (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 * cos(-x) cos(-x) * (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 * e ^ 1 e ^ 1 * (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 * ln(-2) ln(-2) * (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 * sgn(x + x) sgn(x + x) * (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 * sin(y - 0) sin(y - 0) * (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 * sqrt(1/2 / a) sqrt(1/2 / a) * (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 * sqrt(1/2) sqrt(1/2) * (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 * sqrt(a) sqrt(a) * (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 * sqrt(e) sqrt(e) * (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 * x x * (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 * x * 1 x * 1 * (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 * y / (-1) y / (-1) * (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 + (1 * x) ^ 2 (1 * x) ^ 2 + (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 + (1/2) ^ a (1/2) ^ a + (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 + (y + -1) ^ (-1) (y + -1) ^ (-1) + (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 + -1 - x -1 - x + (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 + -y * a -y * a + (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 + 0 - a 0 - a + (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 + 1 / (-1 - x) 1 / (-1 - x) + (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 + 2 ^ x 2 ^ x + (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 + a / y a / y + (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 + a ^ 1 a ^ 1 + (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 + abs(a ^ a) abs(a ^ a) + (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 + abs(x - 2) abs(x - 2) + (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 + cos(-x) cos(-x) + (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 + e ^ 1 e ^ 1 + (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 + ln(-2) ln(-2) + (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 + sgn(x + x) sgn(x + x) + (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 + sin(y - 0) sin(y - 0) + (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 + sqrt(1/2 / a) sqrt(1/2 / a) + (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 + sqrt(1/2) sqrt(1/2) + (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 + sqrt(a) sqrt(a) + (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 + sqrt(e) sqrt(e) + (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 + x x + (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 + x * 1 x * 1 + (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 + x - y x - y + (sqrt(-1)) ^ 2 +InnerSimplified order (sqrt(-1)) ^ 2 + y / (-1) y / (-1) + (sqrt(-1)) ^ 2 +InnerSimplified order (x - y) * (-1 - x) (-1 - x) * (x - y) +InnerSimplified order (x - y) * (0 + 2) (0 + 2) * (x - y) +InnerSimplified order (x - y) * (0 - a) (0 - a) * (x - y) +InnerSimplified order (x - y) * (1 * x) ^ 2 (1 * x) ^ 2 * (x - y) +InnerSimplified order (x - y) * (1/2) ^ (-1) (1/2) ^ (-1) * (x - y) +InnerSimplified order (x - y) * (1/2) ^ a (1/2) ^ a * (x - y) +InnerSimplified order (x - y) * (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 * (x - y) +InnerSimplified order (x - y) * (y + -1) ^ (-1) (y + -1) ^ (-1) * (x - y) +InnerSimplified order (x - y) * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * (x - y) +InnerSimplified order (x - y) * -y * a -y * a * (x - y) +InnerSimplified order (x - y) * 1 * 1/2 1 * 1/2 * (x - y) +InnerSimplified order (x - y) * 1 / (-1 - x) 1 / (-1 - x) * (x - y) +InnerSimplified order (x - y) * 1/2 / 2 1/2 / 2 * (x - y) +InnerSimplified order (x - y) * 2 ^ x 2 ^ x * (x - y) +InnerSimplified order (x - y) * a / y a / y * (x - y) +InnerSimplified order (x - y) * a ^ 1 a ^ 1 * (x - y) +InnerSimplified order (x - y) * abs(a ^ a) abs(a ^ a) * (x - y) +InnerSimplified order (x - y) * abs(x - 2) abs(x - 2) * (x - y) +InnerSimplified order (x - y) * cos(-x) cos(-x) * (x - y) +InnerSimplified order (x - y) * e ^ 1 e ^ 1 * (x - y) +InnerSimplified order (x - y) * ln(-2) ln(-2) * (x - y) +InnerSimplified order (x - y) * sgn(x + x) sgn(x + x) * (x - y) +InnerSimplified order (x - y) * sin(y - 0) sin(y - 0) * (x - y) +InnerSimplified order (x - y) * sqrt(1/2 / a) sqrt(1/2 / a) * (x - y) +InnerSimplified order (x - y) * sqrt(1/2) sqrt(1/2) * (x - y) +InnerSimplified order (x - y) * sqrt(a) sqrt(a) * (x - y) +InnerSimplified order (x - y) * sqrt(e) sqrt(e) * (x - y) +InnerSimplified order (x - y) * x x * (x - y) +InnerSimplified order (x - y) * x * 1 x * 1 * (x - y) +InnerSimplified order (x - y) * y / (-1) y / (-1) * (x - y) +InnerSimplified order (y + -1) ^ (-1) * (-1 - x) (-1 - x) * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * (0 + 2) (0 + 2) * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * (0 - a) (0 - a) * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * (1 * x) ^ 2 (1 * x) ^ 2 * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * (1/2) ^ (-1) (1/2) ^ (-1) * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * (1/2) ^ a (1/2) ^ a * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * (x - y) (x - y) * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * -y * a -y * a * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * 1 * 1/2 1 * 1/2 * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * 1 / (-1 - x) 1 / (-1 - x) * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * 1/2 / 2 1/2 / 2 * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * 2 ^ x 2 ^ x * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * a / y a / y * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * a ^ 1 a ^ 1 * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * abs(a ^ a) abs(a ^ a) * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * abs(x - 2) abs(x - 2) * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * cos(-x) cos(-x) * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * e ^ 1 e ^ 1 * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * ln(-2) ln(-2) * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * sgn(x + x) sgn(x + x) * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * sin(y - 0) sin(y - 0) * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * sqrt(1/2 / a) sqrt(1/2 / a) * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * sqrt(1/2) sqrt(1/2) * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * sqrt(a) sqrt(a) * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * sqrt(e) sqrt(e) * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * x x * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * x * 1 x * 1 * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) * y / (-1) y / (-1) * (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + (1 * x) ^ 2 (1 * x) ^ 2 + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + (1/2) ^ (-1) (1/2) ^ (-1) + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + (1/2) ^ a (1/2) ^ a + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + -1 - x -1 - x + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + -y * a -y * a + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + 0 + 2 0 + 2 + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + 0 - a 0 - a + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + 1 * 1/2 1 * 1/2 + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + 1 / (-1 - x) 1 / (-1 - x) + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + 1/2 / 2 1/2 / 2 + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + 2 + -1 2 + -1 + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + 2 ^ x 2 ^ x + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + a / y a / y + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + a ^ 1 a ^ 1 + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + abs(a ^ a) abs(a ^ a) + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + abs(x - 2) abs(x - 2) + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + cos(-x) cos(-x) + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + cos(1/2 * 0) cos(1/2 * 0) + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + e ^ 0 ^ 2 e ^ 0 ^ 2 + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + e ^ 1 e ^ 1 + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + ln(-2) ln(-2) + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + sgn(a / 0) sgn(a / 0) + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + sgn(x + x) sgn(x + x) + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + sin(y - 0) sin(y - 0) + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + sqrt(1/2 / a) sqrt(1/2 / a) + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + sqrt(1/2) sqrt(1/2) + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + sqrt(a) sqrt(a) + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + sqrt(e) sqrt(e) + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + x x + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + x * 1 x * 1 + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + x - y x - y + (y + -1) ^ (-1) +InnerSimplified order (y + -1) ^ (-1) + y / (-1) y / (-1) + (y + -1) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * (-1 - x) (-1 - x) * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * (0 + 2) (0 + 2) * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * (0 - a) (0 - a) * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * (1 * x) ^ 2 (1 * x) ^ 2 * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * (1/2) ^ (-1) (1/2) ^ (-1) * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * (1/2) ^ a (1/2) ^ a * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * (x - y) (x - y) * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * (y + -1) ^ (-1) (y + -1) ^ (-1) * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * -y * a -y * a * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * 1 * 1/2 1 * 1/2 * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * 1 / (-1 - x) 1 / (-1 - x) * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * 1/2 / 2 1/2 / 2 * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * 2 ^ x 2 ^ x * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * a / y a / y * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * a ^ 1 a ^ 1 * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * abs(a ^ a) abs(a ^ a) * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * abs(x - 2) abs(x - 2) * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * cos(-x) cos(-x) * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * e ^ 1 e ^ 1 * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * ln(-2) ln(-2) * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * sgn(x + x) sgn(x + x) * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * sin(y - 0) sin(y - 0) * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * sqrt(1/2 / a) sqrt(1/2 / a) * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * sqrt(1/2) sqrt(1/2) * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * sqrt(a) sqrt(a) * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * sqrt(e) sqrt(e) * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * x x * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * x * 1 x * 1 * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) * y / (-1) y / (-1) * (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + (1 * x) ^ 2 (1 * x) ^ 2 + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + (1/2) ^ (-1) (1/2) ^ (-1) + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + (1/2) ^ a (1/2) ^ a + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + (y + -1) ^ (-1) (y + -1) ^ (-1) + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + -1 - x -1 - x + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + -y * a -y * a + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + 0 + 2 0 + 2 + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + 0 - a 0 - a + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + 1 * 1/2 1 * 1/2 + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + 1 / (-1 - x) 1 / (-1 - x) + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + 1/2 / 2 1/2 / 2 + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + 2 + -1 2 + -1 + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + 2 ^ x 2 ^ x + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + a / y a / y + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + a ^ 1 a ^ 1 + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + abs(a ^ a) abs(a ^ a) + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + abs(x - 2) abs(x - 2) + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + cos(-x) cos(-x) + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + cos(1/2 * 0) cos(1/2 * 0) + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + e ^ 0 ^ 2 e ^ 0 ^ 2 + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + e ^ 1 e ^ 1 + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + ln(-2) ln(-2) + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + sgn(a / 0) sgn(a / 0) + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + sgn(x + x) sgn(x + x) + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + sin(y - 0) sin(y - 0) + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + sqrt(1/2 / a) sqrt(1/2 / a) + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + sqrt(1/2) sqrt(1/2) + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + sqrt(a) sqrt(a) + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + sqrt(e) sqrt(e) + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + x x + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + x * 1 x * 1 + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + x - y x - y + (y ^ x) ^ (-1) +InnerSimplified order (y ^ x) ^ (-1) + y / (-1) y / (-1) + (y ^ x) ^ (-1) +InnerSimplified order -1 - x + (1 * x) ^ 2 (1 * x) ^ 2 + -1 - x +InnerSimplified order -1 - x + (1/2) ^ (-1) (1/2) ^ (-1) + -1 - x +InnerSimplified order -1 - x + (1/2) ^ a (1/2) ^ a + -1 - x +InnerSimplified order -1 - x + (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 + -1 - x +InnerSimplified order -1 - x + (y + -1) ^ (-1) (y + -1) ^ (-1) + -1 - x +InnerSimplified order -1 - x + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + -1 - x +InnerSimplified order -1 - x + -y * a -y * a + -1 - x +InnerSimplified order -1 - x + 0 + 2 0 + 2 + -1 - x +InnerSimplified order -1 - x + 0 - a 0 - a + -1 - x +InnerSimplified order -1 - x + 1 * 1/2 1 * 1/2 + -1 - x +InnerSimplified order -1 - x + 1 / (-1 - x) 1 / (-1 - x) + -1 - x +InnerSimplified order -1 - x + 1/2 / 2 1/2 / 2 + -1 - x +InnerSimplified order -1 - x + 2 + -1 2 + -1 + -1 - x +InnerSimplified order -1 - x + 2 ^ x 2 ^ x + -1 - x +InnerSimplified order -1 - x + a / y a / y + -1 - x +InnerSimplified order -1 - x + a ^ 1 a ^ 1 + -1 - x +InnerSimplified order -1 - x + abs(a ^ a) abs(a ^ a) + -1 - x +InnerSimplified order -1 - x + abs(x - 2) abs(x - 2) + -1 - x +InnerSimplified order -1 - x + cos(-x) cos(-x) + -1 - x +InnerSimplified order -1 - x + cos(1/2 * 0) cos(1/2 * 0) + -1 - x +InnerSimplified order -1 - x + e ^ 0 ^ 2 e ^ 0 ^ 2 + -1 - x +InnerSimplified order -1 - x + e ^ 1 e ^ 1 + -1 - x +InnerSimplified order -1 - x + ln(-2) ln(-2) + -1 - x +InnerSimplified order -1 - x + sgn(a / 0) sgn(a / 0) + -1 - x +InnerSimplified order -1 - x + sgn(x + x) sgn(x + x) + -1 - x +InnerSimplified order -1 - x + sin(y - 0) sin(y - 0) + -1 - x +InnerSimplified order -1 - x + sqrt(1/2 / a) sqrt(1/2 / a) + -1 - x +InnerSimplified order -1 - x + sqrt(1/2) sqrt(1/2) + -1 - x +InnerSimplified order -1 - x + sqrt(a) sqrt(a) + -1 - x +InnerSimplified order -1 - x + sqrt(e) sqrt(e) + -1 - x +InnerSimplified order -1 - x + x x + -1 - x +InnerSimplified order -1 - x + x * 1 x * 1 + -1 - x +InnerSimplified order -1 - x + x - y x - y + -1 - x +InnerSimplified order -1 - x + y / (-1) y / (-1) + -1 - x +InnerSimplified order -y * a * (-1 - x) (-1 - x) * -y * a +InnerSimplified order -y * a * (0 + 2) (0 + 2) * -y * a +InnerSimplified order -y * a * (0 - a) (0 - a) * -y * a +InnerSimplified order -y * a * (1 * x) ^ 2 (1 * x) ^ 2 * -y * a +InnerSimplified order -y * a * (1/2) ^ (-1) (1/2) ^ (-1) * -y * a +InnerSimplified order -y * a * (1/2) ^ a (1/2) ^ a * -y * a +InnerSimplified order -y * a * (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 * -y * a +InnerSimplified order -y * a * (x - y) (x - y) * -y * a +InnerSimplified order -y * a * (y + -1) ^ (-1) (y + -1) ^ (-1) * -y * a +InnerSimplified order -y * a * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * -y * a +InnerSimplified order -y * a * 1 * 1/2 1 * 1/2 * -y * a +InnerSimplified order -y * a * 1 / (-1 - x) 1 / (-1 - x) * -y * a +InnerSimplified order -y * a * 1/2 / 2 1/2 / 2 * -y * a +InnerSimplified order -y * a * 2 ^ x 2 ^ x * -y * a +InnerSimplified order -y * a * a / y a / y * -y * a +InnerSimplified order -y * a * a ^ 1 a ^ 1 * -y * a +InnerSimplified order -y * a * abs(a ^ a) abs(a ^ a) * -y * a +InnerSimplified order -y * a * abs(x - 2) abs(x - 2) * -y * a +InnerSimplified order -y * a * cos(-x) cos(-x) * -y * a +InnerSimplified order -y * a * e ^ 1 e ^ 1 * -y * a +InnerSimplified order -y * a * ln(-2) ln(-2) * -y * a +InnerSimplified order -y * a * sgn(x + x) sgn(x + x) * -y * a +InnerSimplified order -y * a * sin(y - 0) sin(y - 0) * -y * a +InnerSimplified order -y * a * sqrt(1/2 / a) sqrt(1/2 / a) * -y * a +InnerSimplified order -y * a * sqrt(1/2) sqrt(1/2) * -y * a +InnerSimplified order -y * a * sqrt(a) sqrt(a) * -y * a +InnerSimplified order -y * a * sqrt(e) sqrt(e) * -y * a +InnerSimplified order -y * a * x x * -y * a +InnerSimplified order -y * a * x * 1 x * 1 * -y * a +InnerSimplified order -y * a * y / (-1) y / (-1) * -y * a +InnerSimplified order -y * a + (1 * x) ^ 2 (1 * x) ^ 2 + -y * a +InnerSimplified order -y * a + (1/2) ^ (-1) (1/2) ^ (-1) + -y * a +InnerSimplified order -y * a + (1/2) ^ a (1/2) ^ a + -y * a +InnerSimplified order -y * a + (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 + -y * a +InnerSimplified order -y * a + (y + -1) ^ (-1) (y + -1) ^ (-1) + -y * a +InnerSimplified order -y * a + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + -y * a +InnerSimplified order -y * a + -1 - x -1 - x + -y * a +InnerSimplified order -y * a + 0 + 2 0 + 2 + -y * a +InnerSimplified order -y * a + 0 - a 0 - a + -y * a +InnerSimplified order -y * a + 1 * 1/2 1 * 1/2 + -y * a +InnerSimplified order -y * a + 1 / (-1 - x) 1 / (-1 - x) + -y * a +InnerSimplified order -y * a + 1/2 / 2 1/2 / 2 + -y * a +InnerSimplified order -y * a + 2 + -1 2 + -1 + -y * a +InnerSimplified order -y * a + 2 ^ x 2 ^ x + -y * a +InnerSimplified order -y * a + a / y a / y + -y * a +InnerSimplified order -y * a + a ^ 1 a ^ 1 + -y * a +InnerSimplified order -y * a + abs(a ^ a) abs(a ^ a) + -y * a +InnerSimplified order -y * a + abs(x - 2) abs(x - 2) + -y * a +InnerSimplified order -y * a + cos(-x) cos(-x) + -y * a +InnerSimplified order -y * a + cos(1/2 * 0) cos(1/2 * 0) + -y * a +InnerSimplified order -y * a + e ^ 0 ^ 2 e ^ 0 ^ 2 + -y * a +InnerSimplified order -y * a + e ^ 1 e ^ 1 + -y * a +InnerSimplified order -y * a + ln(-2) ln(-2) + -y * a +InnerSimplified order -y * a + sgn(a / 0) sgn(a / 0) + -y * a +InnerSimplified order -y * a + sgn(x + x) sgn(x + x) + -y * a +InnerSimplified order -y * a + sin(y - 0) sin(y - 0) + -y * a +InnerSimplified order -y * a + sqrt(1/2 / a) sqrt(1/2 / a) + -y * a +InnerSimplified order -y * a + sqrt(1/2) sqrt(1/2) + -y * a +InnerSimplified order -y * a + sqrt(a) sqrt(a) + -y * a +InnerSimplified order -y * a + sqrt(e) sqrt(e) + -y * a +InnerSimplified order -y * a + x x + -y * a +InnerSimplified order -y * a + x * 1 x * 1 + -y * a +InnerSimplified order -y * a + x - y x - y + -y * a +InnerSimplified order -y * a + y / (-1) y / (-1) + -y * a +InnerSimplified order 0 + 2 + (1 * x) ^ 2 (1 * x) ^ 2 + 0 + 2 +InnerSimplified order 0 + 2 + (1/2) ^ a (1/2) ^ a + 0 + 2 +InnerSimplified order 0 + 2 + (y + -1) ^ (-1) (y + -1) ^ (-1) + 0 + 2 +InnerSimplified order 0 + 2 + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + 0 + 2 +InnerSimplified order 0 + 2 + -1 - x -1 - x + 0 + 2 +InnerSimplified order 0 + 2 + -y * a -y * a + 0 + 2 +InnerSimplified order 0 + 2 + 0 - a 0 - a + 0 + 2 +InnerSimplified order 0 + 2 + 1 / (-1 - x) 1 / (-1 - x) + 0 + 2 +InnerSimplified order 0 + 2 + 2 ^ x 2 ^ x + 0 + 2 +InnerSimplified order 0 + 2 + a / y a / y + 0 + 2 +InnerSimplified order 0 + 2 + a ^ 1 a ^ 1 + 0 + 2 +InnerSimplified order 0 + 2 + abs(a ^ a) abs(a ^ a) + 0 + 2 +InnerSimplified order 0 + 2 + abs(x - 2) abs(x - 2) + 0 + 2 +InnerSimplified order 0 + 2 + cos(-x) cos(-x) + 0 + 2 +InnerSimplified order 0 + 2 + e ^ 1 e ^ 1 + 0 + 2 +InnerSimplified order 0 + 2 + ln(-2) ln(-2) + 0 + 2 +InnerSimplified order 0 + 2 + sgn(x + x) sgn(x + x) + 0 + 2 +InnerSimplified order 0 + 2 + sin(y - 0) sin(y - 0) + 0 + 2 +InnerSimplified order 0 + 2 + sqrt(1/2 / a) sqrt(1/2 / a) + 0 + 2 +InnerSimplified order 0 + 2 + sqrt(1/2) sqrt(1/2) + 0 + 2 +InnerSimplified order 0 + 2 + sqrt(a) sqrt(a) + 0 + 2 +InnerSimplified order 0 + 2 + sqrt(e) sqrt(e) + 0 + 2 +InnerSimplified order 0 + 2 + x x + 0 + 2 +InnerSimplified order 0 + 2 + x * 1 x * 1 + 0 + 2 +InnerSimplified order 0 + 2 + x - y x - y + 0 + 2 +InnerSimplified order 0 + 2 + y / (-1) y / (-1) + 0 + 2 +InnerSimplified order 0 - a + (1 * x) ^ 2 (1 * x) ^ 2 + 0 - a +InnerSimplified order 0 - a + (1/2) ^ (-1) (1/2) ^ (-1) + 0 - a +InnerSimplified order 0 - a + (1/2) ^ a (1/2) ^ a + 0 - a +InnerSimplified order 0 - a + (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 + 0 - a +InnerSimplified order 0 - a + (y + -1) ^ (-1) (y + -1) ^ (-1) + 0 - a +InnerSimplified order 0 - a + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + 0 - a +InnerSimplified order 0 - a + -1 - x -1 - x + 0 - a +InnerSimplified order 0 - a + -y * a -y * a + 0 - a +InnerSimplified order 0 - a + 0 + 2 0 + 2 + 0 - a +InnerSimplified order 0 - a + 1 * 1/2 1 * 1/2 + 0 - a +InnerSimplified order 0 - a + 1 / (-1 - x) 1 / (-1 - x) + 0 - a +InnerSimplified order 0 - a + 1/2 / 2 1/2 / 2 + 0 - a +InnerSimplified order 0 - a + 2 + -1 2 + -1 + 0 - a +InnerSimplified order 0 - a + 2 ^ x 2 ^ x + 0 - a +InnerSimplified order 0 - a + a / y a / y + 0 - a +InnerSimplified order 0 - a + a ^ 1 a ^ 1 + 0 - a +InnerSimplified order 0 - a + abs(a ^ a) abs(a ^ a) + 0 - a +InnerSimplified order 0 - a + abs(x - 2) abs(x - 2) + 0 - a +InnerSimplified order 0 - a + cos(-x) cos(-x) + 0 - a +InnerSimplified order 0 - a + cos(1/2 * 0) cos(1/2 * 0) + 0 - a +InnerSimplified order 0 - a + e ^ 0 ^ 2 e ^ 0 ^ 2 + 0 - a +InnerSimplified order 0 - a + e ^ 1 e ^ 1 + 0 - a +InnerSimplified order 0 - a + ln(-2) ln(-2) + 0 - a +InnerSimplified order 0 - a + sgn(a / 0) sgn(a / 0) + 0 - a +InnerSimplified order 0 - a + sgn(x + x) sgn(x + x) + 0 - a +InnerSimplified order 0 - a + sin(y - 0) sin(y - 0) + 0 - a +InnerSimplified order 0 - a + sqrt(1/2 / a) sqrt(1/2 / a) + 0 - a +InnerSimplified order 0 - a + sqrt(1/2) sqrt(1/2) + 0 - a +InnerSimplified order 0 - a + sqrt(a) sqrt(a) + 0 - a +InnerSimplified order 0 - a + sqrt(e) sqrt(e) + 0 - a +InnerSimplified order 0 - a + x x + 0 - a +InnerSimplified order 0 - a + x * 1 x * 1 + 0 - a +InnerSimplified order 0 - a + x - y x - y + 0 - a +InnerSimplified order 0 - a + y / (-1) y / (-1) + 0 - a +InnerSimplified order 1 * 1/2 * (-1 - x) (-1 - x) * 1 * 1/2 +InnerSimplified order 1 * 1/2 * (0 - a) (0 - a) * 1 * 1/2 +InnerSimplified order 1 * 1/2 * (1 * x) ^ 2 (1 * x) ^ 2 * 1 * 1/2 +InnerSimplified order 1 * 1/2 * (1/2) ^ a (1/2) ^ a * 1 * 1/2 +InnerSimplified order 1 * 1/2 * (x - y) (x - y) * 1 * 1/2 +InnerSimplified order 1 * 1/2 * (y + -1) ^ (-1) (y + -1) ^ (-1) * 1 * 1/2 +InnerSimplified order 1 * 1/2 * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * 1 * 1/2 +InnerSimplified order 1 * 1/2 * -y * a -y * a * 1 * 1/2 +InnerSimplified order 1 * 1/2 * 1 / (-1 - x) 1 / (-1 - x) * 1 * 1/2 +InnerSimplified order 1 * 1/2 * 2 ^ x 2 ^ x * 1 * 1/2 +InnerSimplified order 1 * 1/2 * a / y a / y * 1 * 1/2 +InnerSimplified order 1 * 1/2 * a ^ 1 a ^ 1 * 1 * 1/2 +InnerSimplified order 1 * 1/2 * abs(a ^ a) abs(a ^ a) * 1 * 1/2 +InnerSimplified order 1 * 1/2 * abs(x - 2) abs(x - 2) * 1 * 1/2 +InnerSimplified order 1 * 1/2 * cos(-x) cos(-x) * 1 * 1/2 +InnerSimplified order 1 * 1/2 * e ^ 1 e ^ 1 * 1 * 1/2 +InnerSimplified order 1 * 1/2 * ln(-2) ln(-2) * 1 * 1/2 +InnerSimplified order 1 * 1/2 * sgn(x + x) sgn(x + x) * 1 * 1/2 +InnerSimplified order 1 * 1/2 * sin(y - 0) sin(y - 0) * 1 * 1/2 +InnerSimplified order 1 * 1/2 * sqrt(1/2 / a) sqrt(1/2 / a) * 1 * 1/2 +InnerSimplified order 1 * 1/2 * sqrt(1/2) sqrt(1/2) * 1 * 1/2 +InnerSimplified order 1 * 1/2 * sqrt(a) sqrt(a) * 1 * 1/2 +InnerSimplified order 1 * 1/2 * sqrt(e) sqrt(e) * 1 * 1/2 +InnerSimplified order 1 * 1/2 * x x * 1 * 1/2 +InnerSimplified order 1 * 1/2 * x * 1 x * 1 * 1 * 1/2 +InnerSimplified order 1 * 1/2 * y / (-1) y / (-1) * 1 * 1/2 +InnerSimplified order 1 * 1/2 + (1 * x) ^ 2 (1 * x) ^ 2 + 1 * 1/2 +InnerSimplified order 1 * 1/2 + (1/2) ^ a (1/2) ^ a + 1 * 1/2 +InnerSimplified order 1 * 1/2 + (y + -1) ^ (-1) (y + -1) ^ (-1) + 1 * 1/2 +InnerSimplified order 1 * 1/2 + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + 1 * 1/2 +InnerSimplified order 1 * 1/2 + -1 - x -1 - x + 1 * 1/2 +InnerSimplified order 1 * 1/2 + -y * a -y * a + 1 * 1/2 +InnerSimplified order 1 * 1/2 + 0 - a 0 - a + 1 * 1/2 +InnerSimplified order 1 * 1/2 + 1 / (-1 - x) 1 / (-1 - x) + 1 * 1/2 +InnerSimplified order 1 * 1/2 + 2 ^ x 2 ^ x + 1 * 1/2 +InnerSimplified order 1 * 1/2 + a / y a / y + 1 * 1/2 +InnerSimplified order 1 * 1/2 + a ^ 1 a ^ 1 + 1 * 1/2 +InnerSimplified order 1 * 1/2 + abs(a ^ a) abs(a ^ a) + 1 * 1/2 +InnerSimplified order 1 * 1/2 + abs(x - 2) abs(x - 2) + 1 * 1/2 +InnerSimplified order 1 * 1/2 + cos(-x) cos(-x) + 1 * 1/2 +InnerSimplified order 1 * 1/2 + e ^ 1 e ^ 1 + 1 * 1/2 +InnerSimplified order 1 * 1/2 + ln(-2) ln(-2) + 1 * 1/2 +InnerSimplified order 1 * 1/2 + sgn(x + x) sgn(x + x) + 1 * 1/2 +InnerSimplified order 1 * 1/2 + sin(y - 0) sin(y - 0) + 1 * 1/2 +InnerSimplified order 1 * 1/2 + sqrt(1/2 / a) sqrt(1/2 / a) + 1 * 1/2 +InnerSimplified order 1 * 1/2 + sqrt(1/2) sqrt(1/2) + 1 * 1/2 +InnerSimplified order 1 * 1/2 + sqrt(a) sqrt(a) + 1 * 1/2 +InnerSimplified order 1 * 1/2 + sqrt(e) sqrt(e) + 1 * 1/2 +InnerSimplified order 1 * 1/2 + x x + 1 * 1/2 +InnerSimplified order 1 * 1/2 + x * 1 x * 1 + 1 * 1/2 +InnerSimplified order 1 * 1/2 + x - y x - y + 1 * 1/2 +InnerSimplified order 1 * 1/2 + y / (-1) y / (-1) + 1 * 1/2 +InnerSimplified order 1 / (-1 - x) * (-1 - x) (-1 - x) * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * (0 + 2) (0 + 2) * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * (0 - a) (0 - a) * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * (1 * x) ^ 2 (1 * x) ^ 2 * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * (1/2) ^ (-1) (1/2) ^ (-1) * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * (1/2) ^ a (1/2) ^ a * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * (x - y) (x - y) * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * (y + -1) ^ (-1) (y + -1) ^ (-1) * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * -y * a -y * a * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * 1 * 1/2 1 * 1/2 * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * 1/2 / 2 1/2 / 2 * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * 2 ^ x 2 ^ x * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * a / y a / y * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * a ^ 1 a ^ 1 * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * abs(a ^ a) abs(a ^ a) * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * abs(x - 2) abs(x - 2) * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * cos(-x) cos(-x) * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * e ^ 1 e ^ 1 * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * ln(-2) ln(-2) * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * sgn(x + x) sgn(x + x) * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * sin(y - 0) sin(y - 0) * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * sqrt(1/2 / a) sqrt(1/2 / a) * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * sqrt(1/2) sqrt(1/2) * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * sqrt(a) sqrt(a) * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * sqrt(e) sqrt(e) * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * x x * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * x * 1 x * 1 * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) * y / (-1) y / (-1) * 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + (1 * x) ^ 2 (1 * x) ^ 2 + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + (1/2) ^ (-1) (1/2) ^ (-1) + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + (1/2) ^ a (1/2) ^ a + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + (y + -1) ^ (-1) (y + -1) ^ (-1) + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + -1 - x -1 - x + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + -y * a -y * a + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + 0 + 2 0 + 2 + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + 0 - a 0 - a + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + 1 * 1/2 1 * 1/2 + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + 1/2 / 2 1/2 / 2 + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + 2 + -1 2 + -1 + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + 2 ^ x 2 ^ x + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + a / y a / y + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + a ^ 1 a ^ 1 + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + abs(a ^ a) abs(a ^ a) + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + abs(x - 2) abs(x - 2) + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + cos(-x) cos(-x) + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + cos(1/2 * 0) cos(1/2 * 0) + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + e ^ 0 ^ 2 e ^ 0 ^ 2 + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + e ^ 1 e ^ 1 + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + ln(-2) ln(-2) + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + sgn(a / 0) sgn(a / 0) + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + sgn(x + x) sgn(x + x) + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + sin(y - 0) sin(y - 0) + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + sqrt(1/2 / a) sqrt(1/2 / a) + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + sqrt(1/2) sqrt(1/2) + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + sqrt(a) sqrt(a) + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + sqrt(e) sqrt(e) + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + x x + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + x * 1 x * 1 + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + x - y x - y + 1 / (-1 - x) +InnerSimplified order 1 / (-1 - x) + y / (-1) y / (-1) + 1 / (-1 - x) +InnerSimplified order 1/2 / 2 * (-1 - x) (-1 - x) * 1/2 / 2 +InnerSimplified order 1/2 / 2 * (0 - a) (0 - a) * 1/2 / 2 +InnerSimplified order 1/2 / 2 * (1 * x) ^ 2 (1 * x) ^ 2 * 1/2 / 2 +InnerSimplified order 1/2 / 2 * (1/2) ^ a (1/2) ^ a * 1/2 / 2 +InnerSimplified order 1/2 / 2 * (x - y) (x - y) * 1/2 / 2 +InnerSimplified order 1/2 / 2 * (y + -1) ^ (-1) (y + -1) ^ (-1) * 1/2 / 2 +InnerSimplified order 1/2 / 2 * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * 1/2 / 2 +InnerSimplified order 1/2 / 2 * -y * a -y * a * 1/2 / 2 +InnerSimplified order 1/2 / 2 * 1 / (-1 - x) 1 / (-1 - x) * 1/2 / 2 +InnerSimplified order 1/2 / 2 * 2 ^ x 2 ^ x * 1/2 / 2 +InnerSimplified order 1/2 / 2 * a / y a / y * 1/2 / 2 +InnerSimplified order 1/2 / 2 * a ^ 1 a ^ 1 * 1/2 / 2 +InnerSimplified order 1/2 / 2 * abs(a ^ a) abs(a ^ a) * 1/2 / 2 +InnerSimplified order 1/2 / 2 * abs(x - 2) abs(x - 2) * 1/2 / 2 +InnerSimplified order 1/2 / 2 * cos(-x) cos(-x) * 1/2 / 2 +InnerSimplified order 1/2 / 2 * e ^ 1 e ^ 1 * 1/2 / 2 +InnerSimplified order 1/2 / 2 * ln(-2) ln(-2) * 1/2 / 2 +InnerSimplified order 1/2 / 2 * sgn(x + x) sgn(x + x) * 1/2 / 2 +InnerSimplified order 1/2 / 2 * sin(y - 0) sin(y - 0) * 1/2 / 2 +InnerSimplified order 1/2 / 2 * sqrt(1/2 / a) sqrt(1/2 / a) * 1/2 / 2 +InnerSimplified order 1/2 / 2 * sqrt(1/2) sqrt(1/2) * 1/2 / 2 +InnerSimplified order 1/2 / 2 * sqrt(a) sqrt(a) * 1/2 / 2 +InnerSimplified order 1/2 / 2 * sqrt(e) sqrt(e) * 1/2 / 2 +InnerSimplified order 1/2 / 2 * x x * 1/2 / 2 +InnerSimplified order 1/2 / 2 * x * 1 x * 1 * 1/2 / 2 +InnerSimplified order 1/2 / 2 * y / (-1) y / (-1) * 1/2 / 2 +InnerSimplified order 1/2 / 2 + (1 * x) ^ 2 (1 * x) ^ 2 + 1/2 / 2 +InnerSimplified order 1/2 / 2 + (1/2) ^ a (1/2) ^ a + 1/2 / 2 +InnerSimplified order 1/2 / 2 + (y + -1) ^ (-1) (y + -1) ^ (-1) + 1/2 / 2 +InnerSimplified order 1/2 / 2 + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + 1/2 / 2 +InnerSimplified order 1/2 / 2 + -1 - x -1 - x + 1/2 / 2 +InnerSimplified order 1/2 / 2 + -y * a -y * a + 1/2 / 2 +InnerSimplified order 1/2 / 2 + 0 - a 0 - a + 1/2 / 2 +InnerSimplified order 1/2 / 2 + 1 / (-1 - x) 1 / (-1 - x) + 1/2 / 2 +InnerSimplified order 1/2 / 2 + 2 ^ x 2 ^ x + 1/2 / 2 +InnerSimplified order 1/2 / 2 + a / y a / y + 1/2 / 2 +InnerSimplified order 1/2 / 2 + a ^ 1 a ^ 1 + 1/2 / 2 +InnerSimplified order 1/2 / 2 + abs(a ^ a) abs(a ^ a) + 1/2 / 2 +InnerSimplified order 1/2 / 2 + abs(x - 2) abs(x - 2) + 1/2 / 2 +InnerSimplified order 1/2 / 2 + cos(-x) cos(-x) + 1/2 / 2 +InnerSimplified order 1/2 / 2 + e ^ 1 e ^ 1 + 1/2 / 2 +InnerSimplified order 1/2 / 2 + ln(-2) ln(-2) + 1/2 / 2 +InnerSimplified order 1/2 / 2 + sgn(x + x) sgn(x + x) + 1/2 / 2 +InnerSimplified order 1/2 / 2 + sin(y - 0) sin(y - 0) + 1/2 / 2 +InnerSimplified order 1/2 / 2 + sqrt(1/2 / a) sqrt(1/2 / a) + 1/2 / 2 +InnerSimplified order 1/2 / 2 + sqrt(1/2) sqrt(1/2) + 1/2 / 2 +InnerSimplified order 1/2 / 2 + sqrt(a) sqrt(a) + 1/2 / 2 +InnerSimplified order 1/2 / 2 + sqrt(e) sqrt(e) + 1/2 / 2 +InnerSimplified order 1/2 / 2 + x x + 1/2 / 2 +InnerSimplified order 1/2 / 2 + x * 1 x * 1 + 1/2 / 2 +InnerSimplified order 1/2 / 2 + x - y x - y + 1/2 / 2 +InnerSimplified order 1/2 / 2 + y / (-1) y / (-1) + 1/2 / 2 +InnerSimplified order 2 + -1 + (1 * x) ^ 2 (1 * x) ^ 2 + 2 + -1 +InnerSimplified order 2 + -1 + (1/2) ^ a (1/2) ^ a + 2 + -1 +InnerSimplified order 2 + -1 + (y + -1) ^ (-1) (y + -1) ^ (-1) + 2 + -1 +InnerSimplified order 2 + -1 + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + 2 + -1 +InnerSimplified order 2 + -1 + -1 - x -1 - x + 2 + -1 +InnerSimplified order 2 + -1 + -y * a -y * a + 2 + -1 +InnerSimplified order 2 + -1 + 0 - a 0 - a + 2 + -1 +InnerSimplified order 2 + -1 + 1 / (-1 - x) 1 / (-1 - x) + 2 + -1 +InnerSimplified order 2 + -1 + 2 ^ x 2 ^ x + 2 + -1 +InnerSimplified order 2 + -1 + a / y a / y + 2 + -1 +InnerSimplified order 2 + -1 + a ^ 1 a ^ 1 + 2 + -1 +InnerSimplified order 2 + -1 + abs(a ^ a) abs(a ^ a) + 2 + -1 +InnerSimplified order 2 + -1 + abs(x - 2) abs(x - 2) + 2 + -1 +InnerSimplified order 2 + -1 + cos(-x) cos(-x) + 2 + -1 +InnerSimplified order 2 + -1 + e ^ 1 e ^ 1 + 2 + -1 +InnerSimplified order 2 + -1 + ln(-2) ln(-2) + 2 + -1 +InnerSimplified order 2 + -1 + sgn(x + x) sgn(x + x) + 2 + -1 +InnerSimplified order 2 + -1 + sin(y - 0) sin(y - 0) + 2 + -1 +InnerSimplified order 2 + -1 + sqrt(1/2 / a) sqrt(1/2 / a) + 2 + -1 +InnerSimplified order 2 + -1 + sqrt(1/2) sqrt(1/2) + 2 + -1 +InnerSimplified order 2 + -1 + sqrt(a) sqrt(a) + 2 + -1 +InnerSimplified order 2 + -1 + sqrt(e) sqrt(e) + 2 + -1 +InnerSimplified order 2 + -1 + x x + 2 + -1 +InnerSimplified order 2 + -1 + x * 1 x * 1 + 2 + -1 +InnerSimplified order 2 + -1 + x - y x - y + 2 + -1 +InnerSimplified order 2 + -1 + y / (-1) y / (-1) + 2 + -1 +InnerSimplified order 2 ^ x * (-1 - x) (-1 - x) * 2 ^ x +InnerSimplified order 2 ^ x * (0 + 2) (0 + 2) * 2 ^ x +InnerSimplified order 2 ^ x * (0 - a) (0 - a) * 2 ^ x +InnerSimplified order 2 ^ x * (1 * x) ^ 2 (1 * x) ^ 2 * 2 ^ x +InnerSimplified order 2 ^ x * (1/2) ^ (-1) (1/2) ^ (-1) * 2 ^ x +InnerSimplified order 2 ^ x * (1/2) ^ a (1/2) ^ a * 2 ^ x +InnerSimplified order 2 ^ x * (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 * 2 ^ x +InnerSimplified order 2 ^ x * (x - y) (x - y) * 2 ^ x +InnerSimplified order 2 ^ x * (y + -1) ^ (-1) (y + -1) ^ (-1) * 2 ^ x +InnerSimplified order 2 ^ x * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * 2 ^ x +InnerSimplified order 2 ^ x * -y * a -y * a * 2 ^ x +InnerSimplified order 2 ^ x * 1 * 1/2 1 * 1/2 * 2 ^ x +InnerSimplified order 2 ^ x * 1 / (-1 - x) 1 / (-1 - x) * 2 ^ x +InnerSimplified order 2 ^ x * 1/2 / 2 1/2 / 2 * 2 ^ x +InnerSimplified order 2 ^ x * a / y a / y * 2 ^ x +InnerSimplified order 2 ^ x * a ^ 1 a ^ 1 * 2 ^ x +InnerSimplified order 2 ^ x * abs(a ^ a) abs(a ^ a) * 2 ^ x +InnerSimplified order 2 ^ x * abs(x - 2) abs(x - 2) * 2 ^ x +InnerSimplified order 2 ^ x * cos(-x) cos(-x) * 2 ^ x +InnerSimplified order 2 ^ x * e ^ 1 e ^ 1 * 2 ^ x +InnerSimplified order 2 ^ x * ln(-2) ln(-2) * 2 ^ x +InnerSimplified order 2 ^ x * sgn(x + x) sgn(x + x) * 2 ^ x +InnerSimplified order 2 ^ x * sin(y - 0) sin(y - 0) * 2 ^ x +InnerSimplified order 2 ^ x * sqrt(1/2 / a) sqrt(1/2 / a) * 2 ^ x +InnerSimplified order 2 ^ x * sqrt(1/2) sqrt(1/2) * 2 ^ x +InnerSimplified order 2 ^ x * sqrt(a) sqrt(a) * 2 ^ x +InnerSimplified order 2 ^ x * sqrt(e) sqrt(e) * 2 ^ x +InnerSimplified order 2 ^ x * x x * 2 ^ x +InnerSimplified order 2 ^ x * x * 1 x * 1 * 2 ^ x +InnerSimplified order 2 ^ x * y / (-1) y / (-1) * 2 ^ x +InnerSimplified order 2 ^ x + (1 * x) ^ 2 (1 * x) ^ 2 + 2 ^ x +InnerSimplified order 2 ^ x + (1/2) ^ (-1) (1/2) ^ (-1) + 2 ^ x +InnerSimplified order 2 ^ x + (1/2) ^ a (1/2) ^ a + 2 ^ x +InnerSimplified order 2 ^ x + (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 + 2 ^ x +InnerSimplified order 2 ^ x + (y + -1) ^ (-1) (y + -1) ^ (-1) + 2 ^ x +InnerSimplified order 2 ^ x + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + 2 ^ x +InnerSimplified order 2 ^ x + -1 - x -1 - x + 2 ^ x +InnerSimplified order 2 ^ x + -y * a -y * a + 2 ^ x +InnerSimplified order 2 ^ x + 0 + 2 0 + 2 + 2 ^ x +InnerSimplified order 2 ^ x + 0 - a 0 - a + 2 ^ x +InnerSimplified order 2 ^ x + 1 * 1/2 1 * 1/2 + 2 ^ x +InnerSimplified order 2 ^ x + 1 / (-1 - x) 1 / (-1 - x) + 2 ^ x +InnerSimplified order 2 ^ x + 1/2 / 2 1/2 / 2 + 2 ^ x +InnerSimplified order 2 ^ x + 2 + -1 2 + -1 + 2 ^ x +InnerSimplified order 2 ^ x + a / y a / y + 2 ^ x +InnerSimplified order 2 ^ x + a ^ 1 a ^ 1 + 2 ^ x +InnerSimplified order 2 ^ x + abs(a ^ a) abs(a ^ a) + 2 ^ x +InnerSimplified order 2 ^ x + abs(x - 2) abs(x - 2) + 2 ^ x +InnerSimplified order 2 ^ x + cos(-x) cos(-x) + 2 ^ x +InnerSimplified order 2 ^ x + cos(1/2 * 0) cos(1/2 * 0) + 2 ^ x +InnerSimplified order 2 ^ x + e ^ 0 ^ 2 e ^ 0 ^ 2 + 2 ^ x +InnerSimplified order 2 ^ x + e ^ 1 e ^ 1 + 2 ^ x +InnerSimplified order 2 ^ x + ln(-2) ln(-2) + 2 ^ x +InnerSimplified order 2 ^ x + sgn(a / 0) sgn(a / 0) + 2 ^ x +InnerSimplified order 2 ^ x + sgn(x + x) sgn(x + x) + 2 ^ x +InnerSimplified order 2 ^ x + sin(y - 0) sin(y - 0) + 2 ^ x +InnerSimplified order 2 ^ x + sqrt(1/2 / a) sqrt(1/2 / a) + 2 ^ x +InnerSimplified order 2 ^ x + sqrt(1/2) sqrt(1/2) + 2 ^ x +InnerSimplified order 2 ^ x + sqrt(a) sqrt(a) + 2 ^ x +InnerSimplified order 2 ^ x + sqrt(e) sqrt(e) + 2 ^ x +InnerSimplified order 2 ^ x + x x + 2 ^ x +InnerSimplified order 2 ^ x + x * 1 x * 1 + 2 ^ x +InnerSimplified order 2 ^ x + x - y x - y + 2 ^ x +InnerSimplified order 2 ^ x + y / (-1) y / (-1) + 2 ^ x +InnerSimplified order a / y * (-1 - x) (-1 - x) * a / y +InnerSimplified order a / y * (0 + 2) (0 + 2) * a / y +InnerSimplified order a / y * (0 - a) (0 - a) * a / y +InnerSimplified order a / y * (1 * x) ^ 2 (1 * x) ^ 2 * a / y +InnerSimplified order a / y * (1/2) ^ (-1) (1/2) ^ (-1) * a / y +InnerSimplified order a / y * (1/2) ^ a (1/2) ^ a * a / y +InnerSimplified order a / y * (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 * a / y +InnerSimplified order a / y * (x - y) (x - y) * a / y +InnerSimplified order a / y * (y + -1) ^ (-1) (y + -1) ^ (-1) * a / y +InnerSimplified order a / y * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * a / y +InnerSimplified order a / y * -y * a -y * a * a / y +InnerSimplified order a / y * 1 * 1/2 1 * 1/2 * a / y +InnerSimplified order a / y * 1 / (-1 - x) 1 / (-1 - x) * a / y +InnerSimplified order a / y * 1/2 / 2 1/2 / 2 * a / y +InnerSimplified order a / y * 2 ^ x 2 ^ x * a / y +InnerSimplified order a / y * a ^ 1 a ^ 1 * a / y +InnerSimplified order a / y * abs(a ^ a) abs(a ^ a) * a / y +InnerSimplified order a / y * abs(x - 2) abs(x - 2) * a / y +InnerSimplified order a / y * cos(-x) cos(-x) * a / y +InnerSimplified order a / y * e ^ 1 e ^ 1 * a / y +InnerSimplified order a / y * ln(-2) ln(-2) * a / y +InnerSimplified order a / y * sgn(x + x) sgn(x + x) * a / y +InnerSimplified order a / y * sin(y - 0) sin(y - 0) * a / y +InnerSimplified order a / y * sqrt(1/2 / a) sqrt(1/2 / a) * a / y +InnerSimplified order a / y * sqrt(1/2) sqrt(1/2) * a / y +InnerSimplified order a / y * sqrt(a) sqrt(a) * a / y +InnerSimplified order a / y * sqrt(e) sqrt(e) * a / y +InnerSimplified order a / y * x x * a / y +InnerSimplified order a / y * x * 1 x * 1 * a / y +InnerSimplified order a / y * y / (-1) y / (-1) * a / y +InnerSimplified order a / y + (1 * x) ^ 2 (1 * x) ^ 2 + a / y +InnerSimplified order a / y + (1/2) ^ (-1) (1/2) ^ (-1) + a / y +InnerSimplified order a / y + (1/2) ^ a (1/2) ^ a + a / y +InnerSimplified order a / y + (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 + a / y +InnerSimplified order a / y + (y + -1) ^ (-1) (y + -1) ^ (-1) + a / y +InnerSimplified order a / y + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + a / y +InnerSimplified order a / y + -1 - x -1 - x + a / y +InnerSimplified order a / y + -y * a -y * a + a / y +InnerSimplified order a / y + 0 + 2 0 + 2 + a / y +InnerSimplified order a / y + 0 - a 0 - a + a / y +InnerSimplified order a / y + 1 * 1/2 1 * 1/2 + a / y +InnerSimplified order a / y + 1 / (-1 - x) 1 / (-1 - x) + a / y +InnerSimplified order a / y + 1/2 / 2 1/2 / 2 + a / y +InnerSimplified order a / y + 2 + -1 2 + -1 + a / y +InnerSimplified order a / y + 2 ^ x 2 ^ x + a / y +InnerSimplified order a / y + a ^ 1 a ^ 1 + a / y +InnerSimplified order a / y + abs(a ^ a) abs(a ^ a) + a / y +InnerSimplified order a / y + abs(x - 2) abs(x - 2) + a / y +InnerSimplified order a / y + cos(-x) cos(-x) + a / y +InnerSimplified order a / y + cos(1/2 * 0) cos(1/2 * 0) + a / y +InnerSimplified order a / y + e ^ 0 ^ 2 e ^ 0 ^ 2 + a / y +InnerSimplified order a / y + e ^ 1 e ^ 1 + a / y +InnerSimplified order a / y + ln(-2) ln(-2) + a / y +InnerSimplified order a / y + sgn(a / 0) sgn(a / 0) + a / y +InnerSimplified order a / y + sgn(x + x) sgn(x + x) + a / y +InnerSimplified order a / y + sin(y - 0) sin(y - 0) + a / y +InnerSimplified order a / y + sqrt(1/2 / a) sqrt(1/2 / a) + a / y +InnerSimplified order a / y + sqrt(1/2) sqrt(1/2) + a / y +InnerSimplified order a / y + sqrt(a) sqrt(a) + a / y +InnerSimplified order a / y + sqrt(e) sqrt(e) + a / y +InnerSimplified order a / y + x x + a / y +InnerSimplified order a / y + x * 1 x * 1 + a / y +InnerSimplified order a / y + x - y x - y + a / y +InnerSimplified order a / y + y / (-1) y / (-1) + a / y +InnerSimplified order a ^ 1 * (-1 - x) (-1 - x) * a ^ 1 +InnerSimplified order a ^ 1 * (0 + 2) (0 + 2) * a ^ 1 +InnerSimplified order a ^ 1 * (0 - a) (0 - a) * a ^ 1 +InnerSimplified order a ^ 1 * (1 * x) ^ 2 (1 * x) ^ 2 * a ^ 1 +InnerSimplified order a ^ 1 * (1/2) ^ (-1) (1/2) ^ (-1) * a ^ 1 +InnerSimplified order a ^ 1 * (1/2) ^ a (1/2) ^ a * a ^ 1 +InnerSimplified order a ^ 1 * (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 * a ^ 1 +InnerSimplified order a ^ 1 * (x - y) (x - y) * a ^ 1 +InnerSimplified order a ^ 1 * (y + -1) ^ (-1) (y + -1) ^ (-1) * a ^ 1 +InnerSimplified order a ^ 1 * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * a ^ 1 +InnerSimplified order a ^ 1 * -y * a -y * a * a ^ 1 +InnerSimplified order a ^ 1 * 1 * 1/2 1 * 1/2 * a ^ 1 +InnerSimplified order a ^ 1 * 1 / (-1 - x) 1 / (-1 - x) * a ^ 1 +InnerSimplified order a ^ 1 * 1/2 / 2 1/2 / 2 * a ^ 1 +InnerSimplified order a ^ 1 * 2 ^ x 2 ^ x * a ^ 1 +InnerSimplified order a ^ 1 * a / y a / y * a ^ 1 +InnerSimplified order a ^ 1 * abs(a ^ a) abs(a ^ a) * a ^ 1 +InnerSimplified order a ^ 1 * abs(x - 2) abs(x - 2) * a ^ 1 +InnerSimplified order a ^ 1 * cos(-x) cos(-x) * a ^ 1 +InnerSimplified order a ^ 1 * e ^ 1 e ^ 1 * a ^ 1 +InnerSimplified order a ^ 1 * ln(-2) ln(-2) * a ^ 1 +InnerSimplified order a ^ 1 * sgn(x + x) sgn(x + x) * a ^ 1 +InnerSimplified order a ^ 1 * sin(y - 0) sin(y - 0) * a ^ 1 +InnerSimplified order a ^ 1 * sqrt(1/2 / a) sqrt(1/2 / a) * a ^ 1 +InnerSimplified order a ^ 1 * sqrt(1/2) sqrt(1/2) * a ^ 1 +InnerSimplified order a ^ 1 * sqrt(a) sqrt(a) * a ^ 1 +InnerSimplified order a ^ 1 * sqrt(e) sqrt(e) * a ^ 1 +InnerSimplified order a ^ 1 * x x * a ^ 1 +InnerSimplified order a ^ 1 * x * 1 x * 1 * a ^ 1 +InnerSimplified order a ^ 1 * y / (-1) y / (-1) * a ^ 1 +InnerSimplified order a ^ 1 + (1 * x) ^ 2 (1 * x) ^ 2 + a ^ 1 +InnerSimplified order a ^ 1 + (1/2) ^ (-1) (1/2) ^ (-1) + a ^ 1 +InnerSimplified order a ^ 1 + (1/2) ^ a (1/2) ^ a + a ^ 1 +InnerSimplified order a ^ 1 + (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 + a ^ 1 +InnerSimplified order a ^ 1 + (y + -1) ^ (-1) (y + -1) ^ (-1) + a ^ 1 +InnerSimplified order a ^ 1 + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + a ^ 1 +InnerSimplified order a ^ 1 + -1 - x -1 - x + a ^ 1 +InnerSimplified order a ^ 1 + -y * a -y * a + a ^ 1 +InnerSimplified order a ^ 1 + 0 + 2 0 + 2 + a ^ 1 +InnerSimplified order a ^ 1 + 0 - a 0 - a + a ^ 1 +InnerSimplified order a ^ 1 + 1 * 1/2 1 * 1/2 + a ^ 1 +InnerSimplified order a ^ 1 + 1 / (-1 - x) 1 / (-1 - x) + a ^ 1 +InnerSimplified order a ^ 1 + 1/2 / 2 1/2 / 2 + a ^ 1 +InnerSimplified order a ^ 1 + 2 + -1 2 + -1 + a ^ 1 +InnerSimplified order a ^ 1 + 2 ^ x 2 ^ x + a ^ 1 +InnerSimplified order a ^ 1 + a / y a / y + a ^ 1 +InnerSimplified order a ^ 1 + abs(a ^ a) abs(a ^ a) + a ^ 1 +InnerSimplified order a ^ 1 + abs(x - 2) abs(x - 2) + a ^ 1 +InnerSimplified order a ^ 1 + cos(-x) cos(-x) + a ^ 1 +InnerSimplified order a ^ 1 + cos(1/2 * 0) cos(1/2 * 0) + a ^ 1 +InnerSimplified order a ^ 1 + e ^ 0 ^ 2 e ^ 0 ^ 2 + a ^ 1 +InnerSimplified order a ^ 1 + e ^ 1 e ^ 1 + a ^ 1 +InnerSimplified order a ^ 1 + ln(-2) ln(-2) + a ^ 1 +InnerSimplified order a ^ 1 + sgn(a / 0) sgn(a / 0) + a ^ 1 +InnerSimplified order a ^ 1 + sgn(x + x) sgn(x + x) + a ^ 1 +InnerSimplified order a ^ 1 + sin(y - 0) sin(y - 0) + a ^ 1 +InnerSimplified order a ^ 1 + sqrt(1/2 / a) sqrt(1/2 / a) + a ^ 1 +InnerSimplified order a ^ 1 + sqrt(1/2) sqrt(1/2) + a ^ 1 +InnerSimplified order a ^ 1 + sqrt(a) sqrt(a) + a ^ 1 +InnerSimplified order a ^ 1 + sqrt(e) sqrt(e) + a ^ 1 +InnerSimplified order a ^ 1 + x x + a ^ 1 +InnerSimplified order a ^ 1 + x * 1 x * 1 + a ^ 1 +InnerSimplified order a ^ 1 + x - y x - y + a ^ 1 +InnerSimplified order a ^ 1 + y / (-1) y / (-1) + a ^ 1 +InnerSimplified order abs(a ^ a) * (-1 - x) (-1 - x) * abs(a ^ a) +InnerSimplified order abs(a ^ a) * (0 + 2) (0 + 2) * abs(a ^ a) +InnerSimplified order abs(a ^ a) * (0 - a) (0 - a) * abs(a ^ a) +InnerSimplified order abs(a ^ a) * (1 * x) ^ 2 (1 * x) ^ 2 * abs(a ^ a) +InnerSimplified order abs(a ^ a) * (1/2) ^ (-1) (1/2) ^ (-1) * abs(a ^ a) +InnerSimplified order abs(a ^ a) * (1/2) ^ a (1/2) ^ a * abs(a ^ a) +InnerSimplified order abs(a ^ a) * (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 * abs(a ^ a) +InnerSimplified order abs(a ^ a) * (x - y) (x - y) * abs(a ^ a) +InnerSimplified order abs(a ^ a) * (y + -1) ^ (-1) (y + -1) ^ (-1) * abs(a ^ a) +InnerSimplified order abs(a ^ a) * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * abs(a ^ a) +InnerSimplified order abs(a ^ a) * -y * a -y * a * abs(a ^ a) +InnerSimplified order abs(a ^ a) * 1 * 1/2 1 * 1/2 * abs(a ^ a) +InnerSimplified order abs(a ^ a) * 1 / (-1 - x) 1 / (-1 - x) * abs(a ^ a) +InnerSimplified order abs(a ^ a) * 1/2 / 2 1/2 / 2 * abs(a ^ a) +InnerSimplified order abs(a ^ a) * 2 ^ x 2 ^ x * abs(a ^ a) +InnerSimplified order abs(a ^ a) * a / y a / y * abs(a ^ a) +InnerSimplified order abs(a ^ a) * a ^ 1 a ^ 1 * abs(a ^ a) +InnerSimplified order abs(a ^ a) * abs(x - 2) abs(x - 2) * abs(a ^ a) +InnerSimplified order abs(a ^ a) * cos(-x) cos(-x) * abs(a ^ a) +InnerSimplified order abs(a ^ a) * e ^ 1 e ^ 1 * abs(a ^ a) +InnerSimplified order abs(a ^ a) * ln(-2) ln(-2) * abs(a ^ a) +InnerSimplified order abs(a ^ a) * sgn(x + x) sgn(x + x) * abs(a ^ a) +InnerSimplified order abs(a ^ a) * sin(y - 0) sin(y - 0) * abs(a ^ a) +InnerSimplified order abs(a ^ a) * sqrt(1/2 / a) sqrt(1/2 / a) * abs(a ^ a) +InnerSimplified order abs(a ^ a) * sqrt(1/2) sqrt(1/2) * abs(a ^ a) +InnerSimplified order abs(a ^ a) * sqrt(a) sqrt(a) * abs(a ^ a) +InnerSimplified order abs(a ^ a) * sqrt(e) sqrt(e) * abs(a ^ a) +InnerSimplified order abs(a ^ a) * x x * abs(a ^ a) +InnerSimplified order abs(a ^ a) * x * 1 x * 1 * abs(a ^ a) +InnerSimplified order abs(a ^ a) * y / (-1) y / (-1) * abs(a ^ a) +InnerSimplified order abs(a ^ a) + (1 * x) ^ 2 (1 * x) ^ 2 + abs(a ^ a) +InnerSimplified order abs(a ^ a) + (1/2) ^ (-1) (1/2) ^ (-1) + abs(a ^ a) +InnerSimplified order abs(a ^ a) + (1/2) ^ a (1/2) ^ a + abs(a ^ a) +InnerSimplified order abs(a ^ a) + (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 + abs(a ^ a) +InnerSimplified order abs(a ^ a) + (y + -1) ^ (-1) (y + -1) ^ (-1) + abs(a ^ a) +InnerSimplified order abs(a ^ a) + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + abs(a ^ a) +InnerSimplified order abs(a ^ a) + -1 - x -1 - x + abs(a ^ a) +InnerSimplified order abs(a ^ a) + -y * a -y * a + abs(a ^ a) +InnerSimplified order abs(a ^ a) + 0 + 2 0 + 2 + abs(a ^ a) +InnerSimplified order abs(a ^ a) + 0 - a 0 - a + abs(a ^ a) +InnerSimplified order abs(a ^ a) + 1 * 1/2 1 * 1/2 + abs(a ^ a) +InnerSimplified order abs(a ^ a) + 1 / (-1 - x) 1 / (-1 - x) + abs(a ^ a) +InnerSimplified order abs(a ^ a) + 1/2 / 2 1/2 / 2 + abs(a ^ a) +InnerSimplified order abs(a ^ a) + 2 + -1 2 + -1 + abs(a ^ a) +InnerSimplified order abs(a ^ a) + 2 ^ x 2 ^ x + abs(a ^ a) +InnerSimplified order abs(a ^ a) + a / y a / y + abs(a ^ a) +InnerSimplified order abs(a ^ a) + a ^ 1 a ^ 1 + abs(a ^ a) +InnerSimplified order abs(a ^ a) + abs(x - 2) abs(x - 2) + abs(a ^ a) +InnerSimplified order abs(a ^ a) + cos(-x) cos(-x) + abs(a ^ a) +InnerSimplified order abs(a ^ a) + cos(1/2 * 0) cos(1/2 * 0) + abs(a ^ a) +InnerSimplified order abs(a ^ a) + e ^ 0 ^ 2 e ^ 0 ^ 2 + abs(a ^ a) +InnerSimplified order abs(a ^ a) + e ^ 1 e ^ 1 + abs(a ^ a) +InnerSimplified order abs(a ^ a) + ln(-2) ln(-2) + abs(a ^ a) +InnerSimplified order abs(a ^ a) + sgn(a / 0) sgn(a / 0) + abs(a ^ a) +InnerSimplified order abs(a ^ a) + sgn(x + x) sgn(x + x) + abs(a ^ a) +InnerSimplified order abs(a ^ a) + sin(y - 0) sin(y - 0) + abs(a ^ a) +InnerSimplified order abs(a ^ a) + sqrt(1/2 / a) sqrt(1/2 / a) + abs(a ^ a) +InnerSimplified order abs(a ^ a) + sqrt(1/2) sqrt(1/2) + abs(a ^ a) +InnerSimplified order abs(a ^ a) + sqrt(a) sqrt(a) + abs(a ^ a) +InnerSimplified order abs(a ^ a) + sqrt(e) sqrt(e) + abs(a ^ a) +InnerSimplified order abs(a ^ a) + x x + abs(a ^ a) +InnerSimplified order abs(a ^ a) + x * 1 x * 1 + abs(a ^ a) +InnerSimplified order abs(a ^ a) + x - y x - y + abs(a ^ a) +InnerSimplified order abs(a ^ a) + y / (-1) y / (-1) + abs(a ^ a) +InnerSimplified order abs(x - 2) * (-1 - x) (-1 - x) * abs(x - 2) +InnerSimplified order abs(x - 2) * (0 + 2) (0 + 2) * abs(x - 2) +InnerSimplified order abs(x - 2) * (0 - a) (0 - a) * abs(x - 2) +InnerSimplified order abs(x - 2) * (1 * x) ^ 2 (1 * x) ^ 2 * abs(x - 2) +InnerSimplified order abs(x - 2) * (1/2) ^ (-1) (1/2) ^ (-1) * abs(x - 2) +InnerSimplified order abs(x - 2) * (1/2) ^ a (1/2) ^ a * abs(x - 2) +InnerSimplified order abs(x - 2) * (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 * abs(x - 2) +InnerSimplified order abs(x - 2) * (x - y) (x - y) * abs(x - 2) +InnerSimplified order abs(x - 2) * (y + -1) ^ (-1) (y + -1) ^ (-1) * abs(x - 2) +InnerSimplified order abs(x - 2) * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * abs(x - 2) +InnerSimplified order abs(x - 2) * -y * a -y * a * abs(x - 2) +InnerSimplified order abs(x - 2) * 1 * 1/2 1 * 1/2 * abs(x - 2) +InnerSimplified order abs(x - 2) * 1 / (-1 - x) 1 / (-1 - x) * abs(x - 2) +InnerSimplified order abs(x - 2) * 1/2 / 2 1/2 / 2 * abs(x - 2) +InnerSimplified order abs(x - 2) * 2 ^ x 2 ^ x * abs(x - 2) +InnerSimplified order abs(x - 2) * a / y a / y * abs(x - 2) +InnerSimplified order abs(x - 2) * a ^ 1 a ^ 1 * abs(x - 2) +InnerSimplified order abs(x - 2) * abs(a ^ a) abs(a ^ a) * abs(x - 2) +InnerSimplified order abs(x - 2) * cos(-x) cos(-x) * abs(x - 2) +InnerSimplified order abs(x - 2) * e ^ 1 e ^ 1 * abs(x - 2) +InnerSimplified order abs(x - 2) * ln(-2) ln(-2) * abs(x - 2) +InnerSimplified order abs(x - 2) * sgn(x + x) sgn(x + x) * abs(x - 2) +InnerSimplified order abs(x - 2) * sin(y - 0) sin(y - 0) * abs(x - 2) +InnerSimplified order abs(x - 2) * sqrt(1/2 / a) sqrt(1/2 / a) * abs(x - 2) +InnerSimplified order abs(x - 2) * sqrt(1/2) sqrt(1/2) * abs(x - 2) +InnerSimplified order abs(x - 2) * sqrt(a) sqrt(a) * abs(x - 2) +InnerSimplified order abs(x - 2) * sqrt(e) sqrt(e) * abs(x - 2) +InnerSimplified order abs(x - 2) * x x * abs(x - 2) +InnerSimplified order abs(x - 2) * x * 1 x * 1 * abs(x - 2) +InnerSimplified order abs(x - 2) * y / (-1) y / (-1) * abs(x - 2) +InnerSimplified order abs(x - 2) + (1 * x) ^ 2 (1 * x) ^ 2 + abs(x - 2) +InnerSimplified order abs(x - 2) + (1/2) ^ (-1) (1/2) ^ (-1) + abs(x - 2) +InnerSimplified order abs(x - 2) + (1/2) ^ a (1/2) ^ a + abs(x - 2) +InnerSimplified order abs(x - 2) + (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 + abs(x - 2) +InnerSimplified order abs(x - 2) + (y + -1) ^ (-1) (y + -1) ^ (-1) + abs(x - 2) +InnerSimplified order abs(x - 2) + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + abs(x - 2) +InnerSimplified order abs(x - 2) + -1 - x -1 - x + abs(x - 2) +InnerSimplified order abs(x - 2) + -y * a -y * a + abs(x - 2) +InnerSimplified order abs(x - 2) + 0 + 2 0 + 2 + abs(x - 2) +InnerSimplified order abs(x - 2) + 0 - a 0 - a + abs(x - 2) +InnerSimplified order abs(x - 2) + 1 * 1/2 1 * 1/2 + abs(x - 2) +InnerSimplified order abs(x - 2) + 1 / (-1 - x) 1 / (-1 - x) + abs(x - 2) +InnerSimplified order abs(x - 2) + 1/2 / 2 1/2 / 2 + abs(x - 2) +InnerSimplified order abs(x - 2) + 2 + -1 2 + -1 + abs(x - 2) +InnerSimplified order abs(x - 2) + 2 ^ x 2 ^ x + abs(x - 2) +InnerSimplified order abs(x - 2) + a / y a / y + abs(x - 2) +InnerSimplified order abs(x - 2) + a ^ 1 a ^ 1 + abs(x - 2) +InnerSimplified order abs(x - 2) + abs(a ^ a) abs(a ^ a) + abs(x - 2) +InnerSimplified order abs(x - 2) + cos(-x) cos(-x) + abs(x - 2) +InnerSimplified order abs(x - 2) + cos(1/2 * 0) cos(1/2 * 0) + abs(x - 2) +InnerSimplified order abs(x - 2) + e ^ 0 ^ 2 e ^ 0 ^ 2 + abs(x - 2) +InnerSimplified order abs(x - 2) + e ^ 1 e ^ 1 + abs(x - 2) +InnerSimplified order abs(x - 2) + ln(-2) ln(-2) + abs(x - 2) +InnerSimplified order abs(x - 2) + sgn(a / 0) sgn(a / 0) + abs(x - 2) +InnerSimplified order abs(x - 2) + sgn(x + x) sgn(x + x) + abs(x - 2) +InnerSimplified order abs(x - 2) + sin(y - 0) sin(y - 0) + abs(x - 2) +InnerSimplified order abs(x - 2) + sqrt(1/2 / a) sqrt(1/2 / a) + abs(x - 2) +InnerSimplified order abs(x - 2) + sqrt(1/2) sqrt(1/2) + abs(x - 2) +InnerSimplified order abs(x - 2) + sqrt(a) sqrt(a) + abs(x - 2) +InnerSimplified order abs(x - 2) + sqrt(e) sqrt(e) + abs(x - 2) +InnerSimplified order abs(x - 2) + x x + abs(x - 2) +InnerSimplified order abs(x - 2) + x * 1 x * 1 + abs(x - 2) +InnerSimplified order abs(x - 2) + x - y x - y + abs(x - 2) +InnerSimplified order abs(x - 2) + y / (-1) y / (-1) + abs(x - 2) +InnerSimplified order cos(-x) * (-1 - x) (-1 - x) * cos(-x) +InnerSimplified order cos(-x) * (0 + 2) (0 + 2) * cos(-x) +InnerSimplified order cos(-x) * (0 - a) (0 - a) * cos(-x) +InnerSimplified order cos(-x) * (1 * x) ^ 2 (1 * x) ^ 2 * cos(-x) +InnerSimplified order cos(-x) * (1/2) ^ (-1) (1/2) ^ (-1) * cos(-x) +InnerSimplified order cos(-x) * (1/2) ^ a (1/2) ^ a * cos(-x) +InnerSimplified order cos(-x) * (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 * cos(-x) +InnerSimplified order cos(-x) * (x - y) (x - y) * cos(-x) +InnerSimplified order cos(-x) * (y + -1) ^ (-1) (y + -1) ^ (-1) * cos(-x) +InnerSimplified order cos(-x) * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * cos(-x) +InnerSimplified order cos(-x) * -y * a -y * a * cos(-x) +InnerSimplified order cos(-x) * 1 * 1/2 1 * 1/2 * cos(-x) +InnerSimplified order cos(-x) * 1 / (-1 - x) 1 / (-1 - x) * cos(-x) +InnerSimplified order cos(-x) * 1/2 / 2 1/2 / 2 * cos(-x) +InnerSimplified order cos(-x) * 2 ^ x 2 ^ x * cos(-x) +InnerSimplified order cos(-x) * a / y a / y * cos(-x) +InnerSimplified order cos(-x) * a ^ 1 a ^ 1 * cos(-x) +InnerSimplified order cos(-x) * abs(a ^ a) abs(a ^ a) * cos(-x) +InnerSimplified order cos(-x) * abs(x - 2) abs(x - 2) * cos(-x) +InnerSimplified order cos(-x) * e ^ 1 e ^ 1 * cos(-x) +InnerSimplified order cos(-x) * ln(-2) ln(-2) * cos(-x) +InnerSimplified order cos(-x) * sgn(x + x) sgn(x + x) * cos(-x) +InnerSimplified order cos(-x) * sin(y - 0) sin(y - 0) * cos(-x) +InnerSimplified order cos(-x) * sqrt(1/2 / a) sqrt(1/2 / a) * cos(-x) +InnerSimplified order cos(-x) * sqrt(1/2) sqrt(1/2) * cos(-x) +InnerSimplified order cos(-x) * sqrt(a) sqrt(a) * cos(-x) +InnerSimplified order cos(-x) * sqrt(e) sqrt(e) * cos(-x) +InnerSimplified order cos(-x) * x x * cos(-x) +InnerSimplified order cos(-x) * x * 1 x * 1 * cos(-x) +InnerSimplified order cos(-x) * y / (-1) y / (-1) * cos(-x) +InnerSimplified order cos(-x) + (1 * x) ^ 2 (1 * x) ^ 2 + cos(-x) +InnerSimplified order cos(-x) + (1/2) ^ (-1) (1/2) ^ (-1) + cos(-x) +InnerSimplified order cos(-x) + (1/2) ^ a (1/2) ^ a + cos(-x) +InnerSimplified order cos(-x) + (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 + cos(-x) +InnerSimplified order cos(-x) + (y + -1) ^ (-1) (y + -1) ^ (-1) + cos(-x) +InnerSimplified order cos(-x) + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + cos(-x) +InnerSimplified order cos(-x) + -1 - x -1 - x + cos(-x) +InnerSimplified order cos(-x) + -y * a -y * a + cos(-x) +InnerSimplified order cos(-x) + 0 + 2 0 + 2 + cos(-x) +InnerSimplified order cos(-x) + 0 - a 0 - a + cos(-x) +InnerSimplified order cos(-x) + 1 * 1/2 1 * 1/2 + cos(-x) +InnerSimplified order cos(-x) + 1 / (-1 - x) 1 / (-1 - x) + cos(-x) +InnerSimplified order cos(-x) + 1/2 / 2 1/2 / 2 + cos(-x) +InnerSimplified order cos(-x) + 2 + -1 2 + -1 + cos(-x) +InnerSimplified order cos(-x) + 2 ^ x 2 ^ x + cos(-x) +InnerSimplified order cos(-x) + a / y a / y + cos(-x) +InnerSimplified order cos(-x) + a ^ 1 a ^ 1 + cos(-x) +InnerSimplified order cos(-x) + abs(a ^ a) abs(a ^ a) + cos(-x) +InnerSimplified order cos(-x) + abs(x - 2) abs(x - 2) + cos(-x) +InnerSimplified order cos(-x) + cos(1/2 * 0) cos(1/2 * 0) + cos(-x) +InnerSimplified order cos(-x) + e ^ 0 ^ 2 e ^ 0 ^ 2 + cos(-x) +InnerSimplified order cos(-x) + e ^ 1 e ^ 1 + cos(-x) +InnerSimplified order cos(-x) + ln(-2) ln(-2) + cos(-x) +InnerSimplified order cos(-x) + sgn(a / 0) sgn(a / 0) + cos(-x) +InnerSimplified order cos(-x) + sgn(x + x) sgn(x + x) + cos(-x) +InnerSimplified order cos(-x) + sin(y - 0) sin(y - 0) + cos(-x) +InnerSimplified order cos(-x) + sqrt(1/2 / a) sqrt(1/2 / a) + cos(-x) +InnerSimplified order cos(-x) + sqrt(1/2) sqrt(1/2) + cos(-x) +InnerSimplified order cos(-x) + sqrt(a) sqrt(a) + cos(-x) +InnerSimplified order cos(-x) + sqrt(e) sqrt(e) + cos(-x) +InnerSimplified order cos(-x) + x x + cos(-x) +InnerSimplified order cos(-x) + x * 1 x * 1 + cos(-x) +InnerSimplified order cos(-x) + x - y x - y + cos(-x) +InnerSimplified order cos(-x) + y / (-1) y / (-1) + cos(-x) +InnerSimplified order cos(1/2 * 0) + (1 * x) ^ 2 (1 * x) ^ 2 + cos(1/2 * 0) +InnerSimplified order cos(1/2 * 0) + (1/2) ^ a (1/2) ^ a + cos(1/2 * 0) +InnerSimplified order cos(1/2 * 0) + (y + -1) ^ (-1) (y + -1) ^ (-1) + cos(1/2 * 0) +InnerSimplified order cos(1/2 * 0) + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + cos(1/2 * 0) +InnerSimplified order cos(1/2 * 0) + -1 - x -1 - x + cos(1/2 * 0) +InnerSimplified order cos(1/2 * 0) + -y * a -y * a + cos(1/2 * 0) +InnerSimplified order cos(1/2 * 0) + 0 - a 0 - a + cos(1/2 * 0) +InnerSimplified order cos(1/2 * 0) + 1 / (-1 - x) 1 / (-1 - x) + cos(1/2 * 0) +InnerSimplified order cos(1/2 * 0) + 2 ^ x 2 ^ x + cos(1/2 * 0) +InnerSimplified order cos(1/2 * 0) + a / y a / y + cos(1/2 * 0) +InnerSimplified order cos(1/2 * 0) + a ^ 1 a ^ 1 + cos(1/2 * 0) +InnerSimplified order cos(1/2 * 0) + abs(a ^ a) abs(a ^ a) + cos(1/2 * 0) +InnerSimplified order cos(1/2 * 0) + abs(x - 2) abs(x - 2) + cos(1/2 * 0) +InnerSimplified order cos(1/2 * 0) + cos(-x) cos(-x) + cos(1/2 * 0) +InnerSimplified order cos(1/2 * 0) + e ^ 1 e ^ 1 + cos(1/2 * 0) +InnerSimplified order cos(1/2 * 0) + ln(-2) ln(-2) + cos(1/2 * 0) +InnerSimplified order cos(1/2 * 0) + sgn(x + x) sgn(x + x) + cos(1/2 * 0) +InnerSimplified order cos(1/2 * 0) + sin(y - 0) sin(y - 0) + cos(1/2 * 0) +InnerSimplified order cos(1/2 * 0) + sqrt(1/2 / a) sqrt(1/2 / a) + cos(1/2 * 0) +InnerSimplified order cos(1/2 * 0) + sqrt(1/2) sqrt(1/2) + cos(1/2 * 0) +InnerSimplified order cos(1/2 * 0) + sqrt(a) sqrt(a) + cos(1/2 * 0) +InnerSimplified order cos(1/2 * 0) + sqrt(e) sqrt(e) + cos(1/2 * 0) +InnerSimplified order cos(1/2 * 0) + x x + cos(1/2 * 0) +InnerSimplified order cos(1/2 * 0) + x * 1 x * 1 + cos(1/2 * 0) +InnerSimplified order cos(1/2 * 0) + x - y x - y + cos(1/2 * 0) +InnerSimplified order cos(1/2 * 0) + y / (-1) y / (-1) + cos(1/2 * 0) +InnerSimplified order e ^ 0 ^ 2 + (1 * x) ^ 2 (1 * x) ^ 2 + e ^ 0 ^ 2 +InnerSimplified order e ^ 0 ^ 2 + (1/2) ^ a (1/2) ^ a + e ^ 0 ^ 2 +InnerSimplified order e ^ 0 ^ 2 + (y + -1) ^ (-1) (y + -1) ^ (-1) + e ^ 0 ^ 2 +InnerSimplified order e ^ 0 ^ 2 + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + e ^ 0 ^ 2 +InnerSimplified order e ^ 0 ^ 2 + -1 - x -1 - x + e ^ 0 ^ 2 +InnerSimplified order e ^ 0 ^ 2 + -y * a -y * a + e ^ 0 ^ 2 +InnerSimplified order e ^ 0 ^ 2 + 0 - a 0 - a + e ^ 0 ^ 2 +InnerSimplified order e ^ 0 ^ 2 + 1 / (-1 - x) 1 / (-1 - x) + e ^ 0 ^ 2 +InnerSimplified order e ^ 0 ^ 2 + 2 ^ x 2 ^ x + e ^ 0 ^ 2 +InnerSimplified order e ^ 0 ^ 2 + a / y a / y + e ^ 0 ^ 2 +InnerSimplified order e ^ 0 ^ 2 + a ^ 1 a ^ 1 + e ^ 0 ^ 2 +InnerSimplified order e ^ 0 ^ 2 + abs(a ^ a) abs(a ^ a) + e ^ 0 ^ 2 +InnerSimplified order e ^ 0 ^ 2 + abs(x - 2) abs(x - 2) + e ^ 0 ^ 2 +InnerSimplified order e ^ 0 ^ 2 + cos(-x) cos(-x) + e ^ 0 ^ 2 +InnerSimplified order e ^ 0 ^ 2 + e ^ 1 e ^ 1 + e ^ 0 ^ 2 +InnerSimplified order e ^ 0 ^ 2 + ln(-2) ln(-2) + e ^ 0 ^ 2 +InnerSimplified order e ^ 0 ^ 2 + sgn(x + x) sgn(x + x) + e ^ 0 ^ 2 +InnerSimplified order e ^ 0 ^ 2 + sin(y - 0) sin(y - 0) + e ^ 0 ^ 2 +InnerSimplified order e ^ 0 ^ 2 + sqrt(1/2 / a) sqrt(1/2 / a) + e ^ 0 ^ 2 +InnerSimplified order e ^ 0 ^ 2 + sqrt(1/2) sqrt(1/2) + e ^ 0 ^ 2 +InnerSimplified order e ^ 0 ^ 2 + sqrt(a) sqrt(a) + e ^ 0 ^ 2 +InnerSimplified order e ^ 0 ^ 2 + sqrt(e) sqrt(e) + e ^ 0 ^ 2 +InnerSimplified order e ^ 0 ^ 2 + x x + e ^ 0 ^ 2 +InnerSimplified order e ^ 0 ^ 2 + x * 1 x * 1 + e ^ 0 ^ 2 +InnerSimplified order e ^ 0 ^ 2 + x - y x - y + e ^ 0 ^ 2 +InnerSimplified order e ^ 0 ^ 2 + y / (-1) y / (-1) + e ^ 0 ^ 2 +InnerSimplified order e ^ 1 * (-1 - x) (-1 - x) * e ^ 1 +InnerSimplified order e ^ 1 * (0 + 2) (0 + 2) * e ^ 1 +InnerSimplified order e ^ 1 * (0 - a) (0 - a) * e ^ 1 +InnerSimplified order e ^ 1 * (1 * x) ^ 2 (1 * x) ^ 2 * e ^ 1 +InnerSimplified order e ^ 1 * (1/2) ^ (-1) (1/2) ^ (-1) * e ^ 1 +InnerSimplified order e ^ 1 * (1/2) ^ a (1/2) ^ a * e ^ 1 +InnerSimplified order e ^ 1 * (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 * e ^ 1 +InnerSimplified order e ^ 1 * (x - y) (x - y) * e ^ 1 +InnerSimplified order e ^ 1 * (y + -1) ^ (-1) (y + -1) ^ (-1) * e ^ 1 +InnerSimplified order e ^ 1 * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * e ^ 1 +InnerSimplified order e ^ 1 * -y * a -y * a * e ^ 1 +InnerSimplified order e ^ 1 * 1 * 1/2 1 * 1/2 * e ^ 1 +InnerSimplified order e ^ 1 * 1 / (-1 - x) 1 / (-1 - x) * e ^ 1 +InnerSimplified order e ^ 1 * 1/2 / 2 1/2 / 2 * e ^ 1 +InnerSimplified order e ^ 1 * 2 ^ x 2 ^ x * e ^ 1 +InnerSimplified order e ^ 1 * a / y a / y * e ^ 1 +InnerSimplified order e ^ 1 * a ^ 1 a ^ 1 * e ^ 1 +InnerSimplified order e ^ 1 * abs(a ^ a) abs(a ^ a) * e ^ 1 +InnerSimplified order e ^ 1 * abs(x - 2) abs(x - 2) * e ^ 1 +InnerSimplified order e ^ 1 * cos(-x) cos(-x) * e ^ 1 +InnerSimplified order e ^ 1 * ln(-2) ln(-2) * e ^ 1 +InnerSimplified order e ^ 1 * sgn(x + x) sgn(x + x) * e ^ 1 +InnerSimplified order e ^ 1 * sin(y - 0) sin(y - 0) * e ^ 1 +InnerSimplified order e ^ 1 * sqrt(1/2 / a) sqrt(1/2 / a) * e ^ 1 +InnerSimplified order e ^ 1 * sqrt(1/2) sqrt(1/2) * e ^ 1 +InnerSimplified order e ^ 1 * sqrt(a) sqrt(a) * e ^ 1 +InnerSimplified order e ^ 1 * sqrt(e) sqrt(e) * e ^ 1 +InnerSimplified order e ^ 1 * x x * e ^ 1 +InnerSimplified order e ^ 1 * x * 1 x * 1 * e ^ 1 +InnerSimplified order e ^ 1 * y / (-1) y / (-1) * e ^ 1 +InnerSimplified order e ^ 1 + (1 * x) ^ 2 (1 * x) ^ 2 + e ^ 1 +InnerSimplified order e ^ 1 + (1/2) ^ (-1) (1/2) ^ (-1) + e ^ 1 +InnerSimplified order e ^ 1 + (1/2) ^ a (1/2) ^ a + e ^ 1 +InnerSimplified order e ^ 1 + (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 + e ^ 1 +InnerSimplified order e ^ 1 + (y + -1) ^ (-1) (y + -1) ^ (-1) + e ^ 1 +InnerSimplified order e ^ 1 + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + e ^ 1 +InnerSimplified order e ^ 1 + -1 - x -1 - x + e ^ 1 +InnerSimplified order e ^ 1 + -y * a -y * a + e ^ 1 +InnerSimplified order e ^ 1 + 0 + 2 0 + 2 + e ^ 1 +InnerSimplified order e ^ 1 + 0 - a 0 - a + e ^ 1 +InnerSimplified order e ^ 1 + 1 * 1/2 1 * 1/2 + e ^ 1 +InnerSimplified order e ^ 1 + 1 / (-1 - x) 1 / (-1 - x) + e ^ 1 +InnerSimplified order e ^ 1 + 1/2 / 2 1/2 / 2 + e ^ 1 +InnerSimplified order e ^ 1 + 2 + -1 2 + -1 + e ^ 1 +InnerSimplified order e ^ 1 + 2 ^ x 2 ^ x + e ^ 1 +InnerSimplified order e ^ 1 + a / y a / y + e ^ 1 +InnerSimplified order e ^ 1 + a ^ 1 a ^ 1 + e ^ 1 +InnerSimplified order e ^ 1 + abs(a ^ a) abs(a ^ a) + e ^ 1 +InnerSimplified order e ^ 1 + abs(x - 2) abs(x - 2) + e ^ 1 +InnerSimplified order e ^ 1 + cos(-x) cos(-x) + e ^ 1 +InnerSimplified order e ^ 1 + cos(1/2 * 0) cos(1/2 * 0) + e ^ 1 +InnerSimplified order e ^ 1 + e ^ 0 ^ 2 e ^ 0 ^ 2 + e ^ 1 +InnerSimplified order e ^ 1 + ln(-2) ln(-2) + e ^ 1 +InnerSimplified order e ^ 1 + sgn(a / 0) sgn(a / 0) + e ^ 1 +InnerSimplified order e ^ 1 + sgn(x + x) sgn(x + x) + e ^ 1 +InnerSimplified order e ^ 1 + sin(y - 0) sin(y - 0) + e ^ 1 +InnerSimplified order e ^ 1 + sqrt(1/2 / a) sqrt(1/2 / a) + e ^ 1 +InnerSimplified order e ^ 1 + sqrt(1/2) sqrt(1/2) + e ^ 1 +InnerSimplified order e ^ 1 + sqrt(a) sqrt(a) + e ^ 1 +InnerSimplified order e ^ 1 + sqrt(e) sqrt(e) + e ^ 1 +InnerSimplified order e ^ 1 + x x + e ^ 1 +InnerSimplified order e ^ 1 + x * 1 x * 1 + e ^ 1 +InnerSimplified order e ^ 1 + x - y x - y + e ^ 1 +InnerSimplified order e ^ 1 + y / (-1) y / (-1) + e ^ 1 +InnerSimplified order ln(-2) * (-1 - x) (-1 - x) * ln(-2) +InnerSimplified order ln(-2) * (0 + 2) (0 + 2) * ln(-2) +InnerSimplified order ln(-2) * (0 - a) (0 - a) * ln(-2) +InnerSimplified order ln(-2) * (1 * x) ^ 2 (1 * x) ^ 2 * ln(-2) +InnerSimplified order ln(-2) * (1/2) ^ (-1) (1/2) ^ (-1) * ln(-2) +InnerSimplified order ln(-2) * (1/2) ^ a (1/2) ^ a * ln(-2) +InnerSimplified order ln(-2) * (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 * ln(-2) +InnerSimplified order ln(-2) * (x - y) (x - y) * ln(-2) +InnerSimplified order ln(-2) * (y + -1) ^ (-1) (y + -1) ^ (-1) * ln(-2) +InnerSimplified order ln(-2) * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * ln(-2) +InnerSimplified order ln(-2) * -y * a -y * a * ln(-2) +InnerSimplified order ln(-2) * 1 * 1/2 1 * 1/2 * ln(-2) +InnerSimplified order ln(-2) * 1 / (-1 - x) 1 / (-1 - x) * ln(-2) +InnerSimplified order ln(-2) * 1/2 / 2 1/2 / 2 * ln(-2) +InnerSimplified order ln(-2) * 2 ^ x 2 ^ x * ln(-2) +InnerSimplified order ln(-2) * a / y a / y * ln(-2) +InnerSimplified order ln(-2) * a ^ 1 a ^ 1 * ln(-2) +InnerSimplified order ln(-2) * abs(a ^ a) abs(a ^ a) * ln(-2) +InnerSimplified order ln(-2) * abs(x - 2) abs(x - 2) * ln(-2) +InnerSimplified order ln(-2) * cos(-x) cos(-x) * ln(-2) +InnerSimplified order ln(-2) * e ^ 1 e ^ 1 * ln(-2) +InnerSimplified order ln(-2) * sgn(x + x) sgn(x + x) * ln(-2) +InnerSimplified order ln(-2) * sin(y - 0) sin(y - 0) * ln(-2) +InnerSimplified order ln(-2) * sqrt(1/2 / a) sqrt(1/2 / a) * ln(-2) +InnerSimplified order ln(-2) * sqrt(1/2) sqrt(1/2) * ln(-2) +InnerSimplified order ln(-2) * sqrt(a) sqrt(a) * ln(-2) +InnerSimplified order ln(-2) * sqrt(e) sqrt(e) * ln(-2) +InnerSimplified order ln(-2) * x x * ln(-2) +InnerSimplified order ln(-2) * x * 1 x * 1 * ln(-2) +InnerSimplified order ln(-2) * y / (-1) y / (-1) * ln(-2) +InnerSimplified order ln(-2) + (1 * x) ^ 2 (1 * x) ^ 2 + ln(-2) +InnerSimplified order ln(-2) + (1/2) ^ (-1) (1/2) ^ (-1) + ln(-2) +InnerSimplified order ln(-2) + (1/2) ^ a (1/2) ^ a + ln(-2) +InnerSimplified order ln(-2) + (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 + ln(-2) +InnerSimplified order ln(-2) + (y + -1) ^ (-1) (y + -1) ^ (-1) + ln(-2) +InnerSimplified order ln(-2) + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + ln(-2) +InnerSimplified order ln(-2) + -1 - x -1 - x + ln(-2) +InnerSimplified order ln(-2) + -y * a -y * a + ln(-2) +InnerSimplified order ln(-2) + 0 + 2 0 + 2 + ln(-2) +InnerSimplified order ln(-2) + 0 - a 0 - a + ln(-2) +InnerSimplified order ln(-2) + 1 * 1/2 1 * 1/2 + ln(-2) +InnerSimplified order ln(-2) + 1 / (-1 - x) 1 / (-1 - x) + ln(-2) +InnerSimplified order ln(-2) + 1/2 / 2 1/2 / 2 + ln(-2) +InnerSimplified order ln(-2) + 2 + -1 2 + -1 + ln(-2) +InnerSimplified order ln(-2) + 2 ^ x 2 ^ x + ln(-2) +InnerSimplified order ln(-2) + a / y a / y + ln(-2) +InnerSimplified order ln(-2) + a ^ 1 a ^ 1 + ln(-2) +InnerSimplified order ln(-2) + abs(a ^ a) abs(a ^ a) + ln(-2) +InnerSimplified order ln(-2) + abs(x - 2) abs(x - 2) + ln(-2) +InnerSimplified order ln(-2) + cos(-x) cos(-x) + ln(-2) +InnerSimplified order ln(-2) + cos(1/2 * 0) cos(1/2 * 0) + ln(-2) +InnerSimplified order ln(-2) + e ^ 0 ^ 2 e ^ 0 ^ 2 + ln(-2) +InnerSimplified order ln(-2) + e ^ 1 e ^ 1 + ln(-2) +InnerSimplified order ln(-2) + sgn(a / 0) sgn(a / 0) + ln(-2) +InnerSimplified order ln(-2) + sgn(x + x) sgn(x + x) + ln(-2) +InnerSimplified order ln(-2) + sin(y - 0) sin(y - 0) + ln(-2) +InnerSimplified order ln(-2) + sqrt(1/2 / a) sqrt(1/2 / a) + ln(-2) +InnerSimplified order ln(-2) + sqrt(1/2) sqrt(1/2) + ln(-2) +InnerSimplified order ln(-2) + sqrt(a) sqrt(a) + ln(-2) +InnerSimplified order ln(-2) + sqrt(e) sqrt(e) + ln(-2) +InnerSimplified order ln(-2) + x x + ln(-2) +InnerSimplified order ln(-2) + x * 1 x * 1 + ln(-2) +InnerSimplified order ln(-2) + x - y x - y + ln(-2) +InnerSimplified order ln(-2) + y / (-1) y / (-1) + ln(-2) +InnerSimplified order sgn(a / 0) + (1 * x) ^ 2 (1 * x) ^ 2 + sgn(a / 0) +InnerSimplified order sgn(a / 0) + (1/2) ^ a (1/2) ^ a + sgn(a / 0) +InnerSimplified order sgn(a / 0) + (y + -1) ^ (-1) (y + -1) ^ (-1) + sgn(a / 0) +InnerSimplified order sgn(a / 0) + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + sgn(a / 0) +InnerSimplified order sgn(a / 0) + -1 - x -1 - x + sgn(a / 0) +InnerSimplified order sgn(a / 0) + -y * a -y * a + sgn(a / 0) +InnerSimplified order sgn(a / 0) + 0 - a 0 - a + sgn(a / 0) +InnerSimplified order sgn(a / 0) + 1 / (-1 - x) 1 / (-1 - x) + sgn(a / 0) +InnerSimplified order sgn(a / 0) + 2 ^ x 2 ^ x + sgn(a / 0) +InnerSimplified order sgn(a / 0) + a / y a / y + sgn(a / 0) +InnerSimplified order sgn(a / 0) + a ^ 1 a ^ 1 + sgn(a / 0) +InnerSimplified order sgn(a / 0) + abs(a ^ a) abs(a ^ a) + sgn(a / 0) +InnerSimplified order sgn(a / 0) + abs(x - 2) abs(x - 2) + sgn(a / 0) +InnerSimplified order sgn(a / 0) + cos(-x) cos(-x) + sgn(a / 0) +InnerSimplified order sgn(a / 0) + e ^ 1 e ^ 1 + sgn(a / 0) +InnerSimplified order sgn(a / 0) + ln(-2) ln(-2) + sgn(a / 0) +InnerSimplified order sgn(a / 0) + sgn(x + x) sgn(x + x) + sgn(a / 0) +InnerSimplified order sgn(a / 0) + sin(y - 0) sin(y - 0) + sgn(a / 0) +InnerSimplified order sgn(a / 0) + sqrt(1/2 / a) sqrt(1/2 / a) + sgn(a / 0) +InnerSimplified order sgn(a / 0) + sqrt(1/2) sqrt(1/2) + sgn(a / 0) +InnerSimplified order sgn(a / 0) + sqrt(a) sqrt(a) + sgn(a / 0) +InnerSimplified order sgn(a / 0) + sqrt(e) sqrt(e) + sgn(a / 0) +InnerSimplified order sgn(a / 0) + x x + sgn(a / 0) +InnerSimplified order sgn(a / 0) + x * 1 x * 1 + sgn(a / 0) +InnerSimplified order sgn(a / 0) + x - y x - y + sgn(a / 0) +InnerSimplified order sgn(a / 0) + y / (-1) y / (-1) + sgn(a / 0) +InnerSimplified order sgn(x + x) * (-1 - x) (-1 - x) * sgn(x + x) +InnerSimplified order sgn(x + x) * (0 + 2) (0 + 2) * sgn(x + x) +InnerSimplified order sgn(x + x) * (0 - a) (0 - a) * sgn(x + x) +InnerSimplified order sgn(x + x) * (1 * x) ^ 2 (1 * x) ^ 2 * sgn(x + x) +InnerSimplified order sgn(x + x) * (1/2) ^ (-1) (1/2) ^ (-1) * sgn(x + x) +InnerSimplified order sgn(x + x) * (1/2) ^ a (1/2) ^ a * sgn(x + x) +InnerSimplified order sgn(x + x) * (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 * sgn(x + x) +InnerSimplified order sgn(x + x) * (x - y) (x - y) * sgn(x + x) +InnerSimplified order sgn(x + x) * (y + -1) ^ (-1) (y + -1) ^ (-1) * sgn(x + x) +InnerSimplified order sgn(x + x) * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * sgn(x + x) +InnerSimplified order sgn(x + x) * -y * a -y * a * sgn(x + x) +InnerSimplified order sgn(x + x) * 1 * 1/2 1 * 1/2 * sgn(x + x) +InnerSimplified order sgn(x + x) * 1 / (-1 - x) 1 / (-1 - x) * sgn(x + x) +InnerSimplified order sgn(x + x) * 1/2 / 2 1/2 / 2 * sgn(x + x) +InnerSimplified order sgn(x + x) * 2 ^ x 2 ^ x * sgn(x + x) +InnerSimplified order sgn(x + x) * a / y a / y * sgn(x + x) +InnerSimplified order sgn(x + x) * a ^ 1 a ^ 1 * sgn(x + x) +InnerSimplified order sgn(x + x) * abs(a ^ a) abs(a ^ a) * sgn(x + x) +InnerSimplified order sgn(x + x) * abs(x - 2) abs(x - 2) * sgn(x + x) +InnerSimplified order sgn(x + x) * cos(-x) cos(-x) * sgn(x + x) +InnerSimplified order sgn(x + x) * e ^ 1 e ^ 1 * sgn(x + x) +InnerSimplified order sgn(x + x) * ln(-2) ln(-2) * sgn(x + x) +InnerSimplified order sgn(x + x) * sin(y - 0) sin(y - 0) * sgn(x + x) +InnerSimplified order sgn(x + x) * sqrt(1/2 / a) sqrt(1/2 / a) * sgn(x + x) +InnerSimplified order sgn(x + x) * sqrt(1/2) sqrt(1/2) * sgn(x + x) +InnerSimplified order sgn(x + x) * sqrt(a) sqrt(a) * sgn(x + x) +InnerSimplified order sgn(x + x) * sqrt(e) sqrt(e) * sgn(x + x) +InnerSimplified order sgn(x + x) * x x * sgn(x + x) +InnerSimplified order sgn(x + x) * x * 1 x * 1 * sgn(x + x) +InnerSimplified order sgn(x + x) * y / (-1) y / (-1) * sgn(x + x) +InnerSimplified order sgn(x + x) + (1 * x) ^ 2 (1 * x) ^ 2 + sgn(x + x) +InnerSimplified order sgn(x + x) + (1/2) ^ (-1) (1/2) ^ (-1) + sgn(x + x) +InnerSimplified order sgn(x + x) + (1/2) ^ a (1/2) ^ a + sgn(x + x) +InnerSimplified order sgn(x + x) + (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 + sgn(x + x) +InnerSimplified order sgn(x + x) + (y + -1) ^ (-1) (y + -1) ^ (-1) + sgn(x + x) +InnerSimplified order sgn(x + x) + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + sgn(x + x) +InnerSimplified order sgn(x + x) + -1 - x -1 - x + sgn(x + x) +InnerSimplified order sgn(x + x) + -y * a -y * a + sgn(x + x) +InnerSimplified order sgn(x + x) + 0 + 2 0 + 2 + sgn(x + x) +InnerSimplified order sgn(x + x) + 0 - a 0 - a + sgn(x + x) +InnerSimplified order sgn(x + x) + 1 * 1/2 1 * 1/2 + sgn(x + x) +InnerSimplified order sgn(x + x) + 1 / (-1 - x) 1 / (-1 - x) + sgn(x + x) +InnerSimplified order sgn(x + x) + 1/2 / 2 1/2 / 2 + sgn(x + x) +InnerSimplified order sgn(x + x) + 2 + -1 2 + -1 + sgn(x + x) +InnerSimplified order sgn(x + x) + 2 ^ x 2 ^ x + sgn(x + x) +InnerSimplified order sgn(x + x) + a / y a / y + sgn(x + x) +InnerSimplified order sgn(x + x) + a ^ 1 a ^ 1 + sgn(x + x) +InnerSimplified order sgn(x + x) + abs(a ^ a) abs(a ^ a) + sgn(x + x) +InnerSimplified order sgn(x + x) + abs(x - 2) abs(x - 2) + sgn(x + x) +InnerSimplified order sgn(x + x) + cos(-x) cos(-x) + sgn(x + x) +InnerSimplified order sgn(x + x) + cos(1/2 * 0) cos(1/2 * 0) + sgn(x + x) +InnerSimplified order sgn(x + x) + e ^ 0 ^ 2 e ^ 0 ^ 2 + sgn(x + x) +InnerSimplified order sgn(x + x) + e ^ 1 e ^ 1 + sgn(x + x) +InnerSimplified order sgn(x + x) + ln(-2) ln(-2) + sgn(x + x) +InnerSimplified order sgn(x + x) + sgn(a / 0) sgn(a / 0) + sgn(x + x) +InnerSimplified order sgn(x + x) + sin(y - 0) sin(y - 0) + sgn(x + x) +InnerSimplified order sgn(x + x) + sqrt(1/2 / a) sqrt(1/2 / a) + sgn(x + x) +InnerSimplified order sgn(x + x) + sqrt(1/2) sqrt(1/2) + sgn(x + x) +InnerSimplified order sgn(x + x) + sqrt(a) sqrt(a) + sgn(x + x) +InnerSimplified order sgn(x + x) + sqrt(e) sqrt(e) + sgn(x + x) +InnerSimplified order sgn(x + x) + x x + sgn(x + x) +InnerSimplified order sgn(x + x) + x * 1 x * 1 + sgn(x + x) +InnerSimplified order sgn(x + x) + x - y x - y + sgn(x + x) +InnerSimplified order sgn(x + x) + y / (-1) y / (-1) + sgn(x + x) +InnerSimplified order sin(y - 0) * (-1 - x) (-1 - x) * sin(y - 0) +InnerSimplified order sin(y - 0) * (0 + 2) (0 + 2) * sin(y - 0) +InnerSimplified order sin(y - 0) * (0 - a) (0 - a) * sin(y - 0) +InnerSimplified order sin(y - 0) * (1 * x) ^ 2 (1 * x) ^ 2 * sin(y - 0) +InnerSimplified order sin(y - 0) * (1/2) ^ (-1) (1/2) ^ (-1) * sin(y - 0) +InnerSimplified order sin(y - 0) * (1/2) ^ a (1/2) ^ a * sin(y - 0) +InnerSimplified order sin(y - 0) * (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 * sin(y - 0) +InnerSimplified order sin(y - 0) * (x - y) (x - y) * sin(y - 0) +InnerSimplified order sin(y - 0) * (y + -1) ^ (-1) (y + -1) ^ (-1) * sin(y - 0) +InnerSimplified order sin(y - 0) * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * sin(y - 0) +InnerSimplified order sin(y - 0) * -y * a -y * a * sin(y - 0) +InnerSimplified order sin(y - 0) * 1 * 1/2 1 * 1/2 * sin(y - 0) +InnerSimplified order sin(y - 0) * 1 / (-1 - x) 1 / (-1 - x) * sin(y - 0) +InnerSimplified order sin(y - 0) * 1/2 / 2 1/2 / 2 * sin(y - 0) +InnerSimplified order sin(y - 0) * 2 ^ x 2 ^ x * sin(y - 0) +InnerSimplified order sin(y - 0) * a / y a / y * sin(y - 0) +InnerSimplified order sin(y - 0) * a ^ 1 a ^ 1 * sin(y - 0) +InnerSimplified order sin(y - 0) * abs(a ^ a) abs(a ^ a) * sin(y - 0) +InnerSimplified order sin(y - 0) * abs(x - 2) abs(x - 2) * sin(y - 0) +InnerSimplified order sin(y - 0) * cos(-x) cos(-x) * sin(y - 0) +InnerSimplified order sin(y - 0) * e ^ 1 e ^ 1 * sin(y - 0) +InnerSimplified order sin(y - 0) * ln(-2) ln(-2) * sin(y - 0) +InnerSimplified order sin(y - 0) * sgn(x + x) sgn(x + x) * sin(y - 0) +InnerSimplified order sin(y - 0) * sqrt(1/2 / a) sqrt(1/2 / a) * sin(y - 0) +InnerSimplified order sin(y - 0) * sqrt(1/2) sqrt(1/2) * sin(y - 0) +InnerSimplified order sin(y - 0) * sqrt(a) sqrt(a) * sin(y - 0) +InnerSimplified order sin(y - 0) * sqrt(e) sqrt(e) * sin(y - 0) +InnerSimplified order sin(y - 0) * x x * sin(y - 0) +InnerSimplified order sin(y - 0) * x * 1 x * 1 * sin(y - 0) +InnerSimplified order sin(y - 0) * y / (-1) y / (-1) * sin(y - 0) +InnerSimplified order sin(y - 0) + (1 * x) ^ 2 (1 * x) ^ 2 + sin(y - 0) +InnerSimplified order sin(y - 0) + (1/2) ^ (-1) (1/2) ^ (-1) + sin(y - 0) +InnerSimplified order sin(y - 0) + (1/2) ^ a (1/2) ^ a + sin(y - 0) +InnerSimplified order sin(y - 0) + (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 + sin(y - 0) +InnerSimplified order sin(y - 0) + (y + -1) ^ (-1) (y + -1) ^ (-1) + sin(y - 0) +InnerSimplified order sin(y - 0) + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + sin(y - 0) +InnerSimplified order sin(y - 0) + -1 - x -1 - x + sin(y - 0) +InnerSimplified order sin(y - 0) + -y * a -y * a + sin(y - 0) +InnerSimplified order sin(y - 0) + 0 + 2 0 + 2 + sin(y - 0) +InnerSimplified order sin(y - 0) + 0 - a 0 - a + sin(y - 0) +InnerSimplified order sin(y - 0) + 1 * 1/2 1 * 1/2 + sin(y - 0) +InnerSimplified order sin(y - 0) + 1 / (-1 - x) 1 / (-1 - x) + sin(y - 0) +InnerSimplified order sin(y - 0) + 1/2 / 2 1/2 / 2 + sin(y - 0) +InnerSimplified order sin(y - 0) + 2 + -1 2 + -1 + sin(y - 0) +InnerSimplified order sin(y - 0) + 2 ^ x 2 ^ x + sin(y - 0) +InnerSimplified order sin(y - 0) + a / y a / y + sin(y - 0) +InnerSimplified order sin(y - 0) + a ^ 1 a ^ 1 + sin(y - 0) +InnerSimplified order sin(y - 0) + abs(a ^ a) abs(a ^ a) + sin(y - 0) +InnerSimplified order sin(y - 0) + abs(x - 2) abs(x - 2) + sin(y - 0) +InnerSimplified order sin(y - 0) + cos(-x) cos(-x) + sin(y - 0) +InnerSimplified order sin(y - 0) + cos(1/2 * 0) cos(1/2 * 0) + sin(y - 0) +InnerSimplified order sin(y - 0) + e ^ 0 ^ 2 e ^ 0 ^ 2 + sin(y - 0) +InnerSimplified order sin(y - 0) + e ^ 1 e ^ 1 + sin(y - 0) +InnerSimplified order sin(y - 0) + ln(-2) ln(-2) + sin(y - 0) +InnerSimplified order sin(y - 0) + sgn(a / 0) sgn(a / 0) + sin(y - 0) +InnerSimplified order sin(y - 0) + sgn(x + x) sgn(x + x) + sin(y - 0) +InnerSimplified order sin(y - 0) + sqrt(1/2 / a) sqrt(1/2 / a) + sin(y - 0) +InnerSimplified order sin(y - 0) + sqrt(1/2) sqrt(1/2) + sin(y - 0) +InnerSimplified order sin(y - 0) + sqrt(a) sqrt(a) + sin(y - 0) +InnerSimplified order sin(y - 0) + sqrt(e) sqrt(e) + sin(y - 0) +InnerSimplified order sin(y - 0) + x x + sin(y - 0) +InnerSimplified order sin(y - 0) + x * 1 x * 1 + sin(y - 0) +InnerSimplified order sin(y - 0) + x - y x - y + sin(y - 0) +InnerSimplified order sin(y - 0) + y / (-1) y / (-1) + sin(y - 0) +InnerSimplified order sqrt(1/2 / a) * (-1 - x) (-1 - x) * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * (0 + 2) (0 + 2) * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * (0 - a) (0 - a) * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * (1 * x) ^ 2 (1 * x) ^ 2 * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * (1/2) ^ (-1) (1/2) ^ (-1) * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * (1/2) ^ a (1/2) ^ a * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * (x - y) (x - y) * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * (y + -1) ^ (-1) (y + -1) ^ (-1) * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * -y * a -y * a * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * 1 * 1/2 1 * 1/2 * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * 1 / (-1 - x) 1 / (-1 - x) * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * 1/2 / 2 1/2 / 2 * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * 2 ^ x 2 ^ x * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * a / y a / y * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * a ^ 1 a ^ 1 * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * abs(a ^ a) abs(a ^ a) * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * abs(x - 2) abs(x - 2) * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * cos(-x) cos(-x) * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * e ^ 1 e ^ 1 * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * ln(-2) ln(-2) * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * sgn(x + x) sgn(x + x) * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * sin(y - 0) sin(y - 0) * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * sqrt(1/2) sqrt(1/2) * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * sqrt(a) sqrt(a) * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * sqrt(e) sqrt(e) * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * x x * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * x * 1 x * 1 * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) * y / (-1) y / (-1) * sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + (1 * x) ^ 2 (1 * x) ^ 2 + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + (1/2) ^ (-1) (1/2) ^ (-1) + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + (1/2) ^ a (1/2) ^ a + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + (y + -1) ^ (-1) (y + -1) ^ (-1) + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + -1 - x -1 - x + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + -y * a -y * a + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + 0 + 2 0 + 2 + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + 0 - a 0 - a + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + 1 * 1/2 1 * 1/2 + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + 1 / (-1 - x) 1 / (-1 - x) + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + 1/2 / 2 1/2 / 2 + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + 2 + -1 2 + -1 + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + 2 ^ x 2 ^ x + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + a / y a / y + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + a ^ 1 a ^ 1 + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + abs(a ^ a) abs(a ^ a) + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + abs(x - 2) abs(x - 2) + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + cos(-x) cos(-x) + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + cos(1/2 * 0) cos(1/2 * 0) + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + e ^ 0 ^ 2 e ^ 0 ^ 2 + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + e ^ 1 e ^ 1 + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + ln(-2) ln(-2) + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + sgn(a / 0) sgn(a / 0) + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + sgn(x + x) sgn(x + x) + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + sin(y - 0) sin(y - 0) + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + sqrt(1/2) sqrt(1/2) + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + sqrt(a) sqrt(a) + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + sqrt(e) sqrt(e) + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + x x + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + x * 1 x * 1 + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + x - y x - y + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2 / a) + y / (-1) y / (-1) + sqrt(1/2 / a) +InnerSimplified order sqrt(1/2) * (-1 - x) (-1 - x) * sqrt(1/2) +InnerSimplified order sqrt(1/2) * (0 + 2) (0 + 2) * sqrt(1/2) +InnerSimplified order sqrt(1/2) * (0 - a) (0 - a) * sqrt(1/2) +InnerSimplified order sqrt(1/2) * (1 * x) ^ 2 (1 * x) ^ 2 * sqrt(1/2) +InnerSimplified order sqrt(1/2) * (1/2) ^ (-1) (1/2) ^ (-1) * sqrt(1/2) +InnerSimplified order sqrt(1/2) * (1/2) ^ a (1/2) ^ a * sqrt(1/2) +InnerSimplified order sqrt(1/2) * (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 * sqrt(1/2) +InnerSimplified order sqrt(1/2) * (x - y) (x - y) * sqrt(1/2) +InnerSimplified order sqrt(1/2) * (y + -1) ^ (-1) (y + -1) ^ (-1) * sqrt(1/2) +InnerSimplified order sqrt(1/2) * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * sqrt(1/2) +InnerSimplified order sqrt(1/2) * -y * a -y * a * sqrt(1/2) +InnerSimplified order sqrt(1/2) * 1 * 1/2 1 * 1/2 * sqrt(1/2) +InnerSimplified order sqrt(1/2) * 1 / (-1 - x) 1 / (-1 - x) * sqrt(1/2) +InnerSimplified order sqrt(1/2) * 1/2 / 2 1/2 / 2 * sqrt(1/2) +InnerSimplified order sqrt(1/2) * 2 ^ x 2 ^ x * sqrt(1/2) +InnerSimplified order sqrt(1/2) * a / y a / y * sqrt(1/2) +InnerSimplified order sqrt(1/2) * a ^ 1 a ^ 1 * sqrt(1/2) +InnerSimplified order sqrt(1/2) * abs(a ^ a) abs(a ^ a) * sqrt(1/2) +InnerSimplified order sqrt(1/2) * abs(x - 2) abs(x - 2) * sqrt(1/2) +InnerSimplified order sqrt(1/2) * cos(-x) cos(-x) * sqrt(1/2) +InnerSimplified order sqrt(1/2) * e ^ 1 e ^ 1 * sqrt(1/2) +InnerSimplified order sqrt(1/2) * ln(-2) ln(-2) * sqrt(1/2) +InnerSimplified order sqrt(1/2) * sgn(x + x) sgn(x + x) * sqrt(1/2) +InnerSimplified order sqrt(1/2) * sin(y - 0) sin(y - 0) * sqrt(1/2) +InnerSimplified order sqrt(1/2) * sqrt(1/2 / a) sqrt(1/2 / a) * sqrt(1/2) +InnerSimplified order sqrt(1/2) * sqrt(a) sqrt(a) * sqrt(1/2) +InnerSimplified order sqrt(1/2) * sqrt(e) sqrt(e) * sqrt(1/2) +InnerSimplified order sqrt(1/2) * x x * sqrt(1/2) +InnerSimplified order sqrt(1/2) * x * 1 x * 1 * sqrt(1/2) +InnerSimplified order sqrt(1/2) * y / (-1) y / (-1) * sqrt(1/2) +InnerSimplified order sqrt(1/2) + (1 * x) ^ 2 (1 * x) ^ 2 + sqrt(1/2) +InnerSimplified order sqrt(1/2) + (1/2) ^ (-1) (1/2) ^ (-1) + sqrt(1/2) +InnerSimplified order sqrt(1/2) + (1/2) ^ a (1/2) ^ a + sqrt(1/2) +InnerSimplified order sqrt(1/2) + (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 + sqrt(1/2) +InnerSimplified order sqrt(1/2) + (y + -1) ^ (-1) (y + -1) ^ (-1) + sqrt(1/2) +InnerSimplified order sqrt(1/2) + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + sqrt(1/2) +InnerSimplified order sqrt(1/2) + -1 - x -1 - x + sqrt(1/2) +InnerSimplified order sqrt(1/2) + -y * a -y * a + sqrt(1/2) +InnerSimplified order sqrt(1/2) + 0 + 2 0 + 2 + sqrt(1/2) +InnerSimplified order sqrt(1/2) + 0 - a 0 - a + sqrt(1/2) +InnerSimplified order sqrt(1/2) + 1 * 1/2 1 * 1/2 + sqrt(1/2) +InnerSimplified order sqrt(1/2) + 1 / (-1 - x) 1 / (-1 - x) + sqrt(1/2) +InnerSimplified order sqrt(1/2) + 1/2 / 2 1/2 / 2 + sqrt(1/2) +InnerSimplified order sqrt(1/2) + 2 + -1 2 + -1 + sqrt(1/2) +InnerSimplified order sqrt(1/2) + 2 ^ x 2 ^ x + sqrt(1/2) +InnerSimplified order sqrt(1/2) + a / y a / y + sqrt(1/2) +InnerSimplified order sqrt(1/2) + a ^ 1 a ^ 1 + sqrt(1/2) +InnerSimplified order sqrt(1/2) + abs(a ^ a) abs(a ^ a) + sqrt(1/2) +InnerSimplified order sqrt(1/2) + abs(x - 2) abs(x - 2) + sqrt(1/2) +InnerSimplified order sqrt(1/2) + cos(-x) cos(-x) + sqrt(1/2) +InnerSimplified order sqrt(1/2) + cos(1/2 * 0) cos(1/2 * 0) + sqrt(1/2) +InnerSimplified order sqrt(1/2) + e ^ 0 ^ 2 e ^ 0 ^ 2 + sqrt(1/2) +InnerSimplified order sqrt(1/2) + e ^ 1 e ^ 1 + sqrt(1/2) +InnerSimplified order sqrt(1/2) + ln(-2) ln(-2) + sqrt(1/2) +InnerSimplified order sqrt(1/2) + sgn(a / 0) sgn(a / 0) + sqrt(1/2) +InnerSimplified order sqrt(1/2) + sgn(x + x) sgn(x + x) + sqrt(1/2) +InnerSimplified order sqrt(1/2) + sin(y - 0) sin(y - 0) + sqrt(1/2) +InnerSimplified order sqrt(1/2) + sqrt(1/2 / a) sqrt(1/2 / a) + sqrt(1/2) +InnerSimplified order sqrt(1/2) + sqrt(a) sqrt(a) + sqrt(1/2) +InnerSimplified order sqrt(1/2) + sqrt(e) sqrt(e) + sqrt(1/2) +InnerSimplified order sqrt(1/2) + x x + sqrt(1/2) +InnerSimplified order sqrt(1/2) + x * 1 x * 1 + sqrt(1/2) +InnerSimplified order sqrt(1/2) + x - y x - y + sqrt(1/2) +InnerSimplified order sqrt(1/2) + y / (-1) y / (-1) + sqrt(1/2) +InnerSimplified order sqrt(a) * (-1 - x) (-1 - x) * sqrt(a) +InnerSimplified order sqrt(a) * (0 + 2) (0 + 2) * sqrt(a) +InnerSimplified order sqrt(a) * (0 - a) (0 - a) * sqrt(a) +InnerSimplified order sqrt(a) * (1 * x) ^ 2 (1 * x) ^ 2 * sqrt(a) +InnerSimplified order sqrt(a) * (1/2) ^ (-1) (1/2) ^ (-1) * sqrt(a) +InnerSimplified order sqrt(a) * (1/2) ^ a (1/2) ^ a * sqrt(a) +InnerSimplified order sqrt(a) * (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 * sqrt(a) +InnerSimplified order sqrt(a) * (x - y) (x - y) * sqrt(a) +InnerSimplified order sqrt(a) * (y + -1) ^ (-1) (y + -1) ^ (-1) * sqrt(a) +InnerSimplified order sqrt(a) * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * sqrt(a) +InnerSimplified order sqrt(a) * -y * a -y * a * sqrt(a) +InnerSimplified order sqrt(a) * 1 * 1/2 1 * 1/2 * sqrt(a) +InnerSimplified order sqrt(a) * 1 / (-1 - x) 1 / (-1 - x) * sqrt(a) +InnerSimplified order sqrt(a) * 1/2 / 2 1/2 / 2 * sqrt(a) +InnerSimplified order sqrt(a) * 2 ^ x 2 ^ x * sqrt(a) +InnerSimplified order sqrt(a) * a / y a / y * sqrt(a) +InnerSimplified order sqrt(a) * a ^ 1 a ^ 1 * sqrt(a) +InnerSimplified order sqrt(a) * abs(a ^ a) abs(a ^ a) * sqrt(a) +InnerSimplified order sqrt(a) * abs(x - 2) abs(x - 2) * sqrt(a) +InnerSimplified order sqrt(a) * cos(-x) cos(-x) * sqrt(a) +InnerSimplified order sqrt(a) * e ^ 1 e ^ 1 * sqrt(a) +InnerSimplified order sqrt(a) * ln(-2) ln(-2) * sqrt(a) +InnerSimplified order sqrt(a) * sgn(x + x) sgn(x + x) * sqrt(a) +InnerSimplified order sqrt(a) * sin(y - 0) sin(y - 0) * sqrt(a) +InnerSimplified order sqrt(a) * sqrt(1/2 / a) sqrt(1/2 / a) * sqrt(a) +InnerSimplified order sqrt(a) * sqrt(1/2) sqrt(1/2) * sqrt(a) +InnerSimplified order sqrt(a) * sqrt(e) sqrt(e) * sqrt(a) +InnerSimplified order sqrt(a) * x x * sqrt(a) +InnerSimplified order sqrt(a) * x * 1 x * 1 * sqrt(a) +InnerSimplified order sqrt(a) * y / (-1) y / (-1) * sqrt(a) +InnerSimplified order sqrt(a) + (1 * x) ^ 2 (1 * x) ^ 2 + sqrt(a) +InnerSimplified order sqrt(a) + (1/2) ^ (-1) (1/2) ^ (-1) + sqrt(a) +InnerSimplified order sqrt(a) + (1/2) ^ a (1/2) ^ a + sqrt(a) +InnerSimplified order sqrt(a) + (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 + sqrt(a) +InnerSimplified order sqrt(a) + (y + -1) ^ (-1) (y + -1) ^ (-1) + sqrt(a) +InnerSimplified order sqrt(a) + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + sqrt(a) +InnerSimplified order sqrt(a) + -1 - x -1 - x + sqrt(a) +InnerSimplified order sqrt(a) + -y * a -y * a + sqrt(a) +InnerSimplified order sqrt(a) + 0 + 2 0 + 2 + sqrt(a) +InnerSimplified order sqrt(a) + 0 - a 0 - a + sqrt(a) +InnerSimplified order sqrt(a) + 1 * 1/2 1 * 1/2 + sqrt(a) +InnerSimplified order sqrt(a) + 1 / (-1 - x) 1 / (-1 - x) + sqrt(a) +InnerSimplified order sqrt(a) + 1/2 / 2 1/2 / 2 + sqrt(a) +InnerSimplified order sqrt(a) + 2 + -1 2 + -1 + sqrt(a) +InnerSimplified order sqrt(a) + 2 ^ x 2 ^ x + sqrt(a) +InnerSimplified order sqrt(a) + a / y a / y + sqrt(a) +InnerSimplified order sqrt(a) + a ^ 1 a ^ 1 + sqrt(a) +InnerSimplified order sqrt(a) + abs(a ^ a) abs(a ^ a) + sqrt(a) +InnerSimplified order sqrt(a) + abs(x - 2) abs(x - 2) + sqrt(a) +InnerSimplified order sqrt(a) + cos(-x) cos(-x) + sqrt(a) +InnerSimplified order sqrt(a) + cos(1/2 * 0) cos(1/2 * 0) + sqrt(a) +InnerSimplified order sqrt(a) + e ^ 0 ^ 2 e ^ 0 ^ 2 + sqrt(a) +InnerSimplified order sqrt(a) + e ^ 1 e ^ 1 + sqrt(a) +InnerSimplified order sqrt(a) + ln(-2) ln(-2) + sqrt(a) +InnerSimplified order sqrt(a) + sgn(a / 0) sgn(a / 0) + sqrt(a) +InnerSimplified order sqrt(a) + sgn(x + x) sgn(x + x) + sqrt(a) +InnerSimplified order sqrt(a) + sin(y - 0) sin(y - 0) + sqrt(a) +InnerSimplified order sqrt(a) + sqrt(1/2 / a) sqrt(1/2 / a) + sqrt(a) +InnerSimplified order sqrt(a) + sqrt(1/2) sqrt(1/2) + sqrt(a) +InnerSimplified order sqrt(a) + sqrt(e) sqrt(e) + sqrt(a) +InnerSimplified order sqrt(a) + x x + sqrt(a) +InnerSimplified order sqrt(a) + x * 1 x * 1 + sqrt(a) +InnerSimplified order sqrt(a) + x - y x - y + sqrt(a) +InnerSimplified order sqrt(a) + y / (-1) y / (-1) + sqrt(a) +InnerSimplified order sqrt(e) * (-1 - x) (-1 - x) * sqrt(e) +InnerSimplified order sqrt(e) * (0 + 2) (0 + 2) * sqrt(e) +InnerSimplified order sqrt(e) * (0 - a) (0 - a) * sqrt(e) +InnerSimplified order sqrt(e) * (1 * x) ^ 2 (1 * x) ^ 2 * sqrt(e) +InnerSimplified order sqrt(e) * (1/2) ^ (-1) (1/2) ^ (-1) * sqrt(e) +InnerSimplified order sqrt(e) * (1/2) ^ a (1/2) ^ a * sqrt(e) +InnerSimplified order sqrt(e) * (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 * sqrt(e) +InnerSimplified order sqrt(e) * (x - y) (x - y) * sqrt(e) +InnerSimplified order sqrt(e) * (y + -1) ^ (-1) (y + -1) ^ (-1) * sqrt(e) +InnerSimplified order sqrt(e) * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * sqrt(e) +InnerSimplified order sqrt(e) * -y * a -y * a * sqrt(e) +InnerSimplified order sqrt(e) * 1 * 1/2 1 * 1/2 * sqrt(e) +InnerSimplified order sqrt(e) * 1 / (-1 - x) 1 / (-1 - x) * sqrt(e) +InnerSimplified order sqrt(e) * 1/2 / 2 1/2 / 2 * sqrt(e) +InnerSimplified order sqrt(e) * 2 ^ x 2 ^ x * sqrt(e) +InnerSimplified order sqrt(e) * a / y a / y * sqrt(e) +InnerSimplified order sqrt(e) * a ^ 1 a ^ 1 * sqrt(e) +InnerSimplified order sqrt(e) * abs(a ^ a) abs(a ^ a) * sqrt(e) +InnerSimplified order sqrt(e) * abs(x - 2) abs(x - 2) * sqrt(e) +InnerSimplified order sqrt(e) * cos(-x) cos(-x) * sqrt(e) +InnerSimplified order sqrt(e) * e ^ 1 e ^ 1 * sqrt(e) +InnerSimplified order sqrt(e) * ln(-2) ln(-2) * sqrt(e) +InnerSimplified order sqrt(e) * sgn(x + x) sgn(x + x) * sqrt(e) +InnerSimplified order sqrt(e) * sin(y - 0) sin(y - 0) * sqrt(e) +InnerSimplified order sqrt(e) * sqrt(1/2 / a) sqrt(1/2 / a) * sqrt(e) +InnerSimplified order sqrt(e) * sqrt(1/2) sqrt(1/2) * sqrt(e) +InnerSimplified order sqrt(e) * sqrt(a) sqrt(a) * sqrt(e) +InnerSimplified order sqrt(e) * x x * sqrt(e) +InnerSimplified order sqrt(e) * x * 1 x * 1 * sqrt(e) +InnerSimplified order sqrt(e) * y / (-1) y / (-1) * sqrt(e) +InnerSimplified order sqrt(e) + (1 * x) ^ 2 (1 * x) ^ 2 + sqrt(e) +InnerSimplified order sqrt(e) + (1/2) ^ (-1) (1/2) ^ (-1) + sqrt(e) +InnerSimplified order sqrt(e) + (1/2) ^ a (1/2) ^ a + sqrt(e) +InnerSimplified order sqrt(e) + (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 + sqrt(e) +InnerSimplified order sqrt(e) + (y + -1) ^ (-1) (y + -1) ^ (-1) + sqrt(e) +InnerSimplified order sqrt(e) + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + sqrt(e) +InnerSimplified order sqrt(e) + -1 - x -1 - x + sqrt(e) +InnerSimplified order sqrt(e) + -y * a -y * a + sqrt(e) +InnerSimplified order sqrt(e) + 0 + 2 0 + 2 + sqrt(e) +InnerSimplified order sqrt(e) + 0 - a 0 - a + sqrt(e) +InnerSimplified order sqrt(e) + 1 * 1/2 1 * 1/2 + sqrt(e) +InnerSimplified order sqrt(e) + 1 / (-1 - x) 1 / (-1 - x) + sqrt(e) +InnerSimplified order sqrt(e) + 1/2 / 2 1/2 / 2 + sqrt(e) +InnerSimplified order sqrt(e) + 2 + -1 2 + -1 + sqrt(e) +InnerSimplified order sqrt(e) + 2 ^ x 2 ^ x + sqrt(e) +InnerSimplified order sqrt(e) + a / y a / y + sqrt(e) +InnerSimplified order sqrt(e) + a ^ 1 a ^ 1 + sqrt(e) +InnerSimplified order sqrt(e) + abs(a ^ a) abs(a ^ a) + sqrt(e) +InnerSimplified order sqrt(e) + abs(x - 2) abs(x - 2) + sqrt(e) +InnerSimplified order sqrt(e) + cos(-x) cos(-x) + sqrt(e) +InnerSimplified order sqrt(e) + cos(1/2 * 0) cos(1/2 * 0) + sqrt(e) +InnerSimplified order sqrt(e) + e ^ 0 ^ 2 e ^ 0 ^ 2 + sqrt(e) +InnerSimplified order sqrt(e) + e ^ 1 e ^ 1 + sqrt(e) +InnerSimplified order sqrt(e) + ln(-2) ln(-2) + sqrt(e) +InnerSimplified order sqrt(e) + sgn(a / 0) sgn(a / 0) + sqrt(e) +InnerSimplified order sqrt(e) + sgn(x + x) sgn(x + x) + sqrt(e) +InnerSimplified order sqrt(e) + sin(y - 0) sin(y - 0) + sqrt(e) +InnerSimplified order sqrt(e) + sqrt(1/2 / a) sqrt(1/2 / a) + sqrt(e) +InnerSimplified order sqrt(e) + sqrt(1/2) sqrt(1/2) + sqrt(e) +InnerSimplified order sqrt(e) + sqrt(a) sqrt(a) + sqrt(e) +InnerSimplified order sqrt(e) + x x + sqrt(e) +InnerSimplified order sqrt(e) + x * 1 x * 1 + sqrt(e) +InnerSimplified order sqrt(e) + x - y x - y + sqrt(e) +InnerSimplified order sqrt(e) + y / (-1) y / (-1) + sqrt(e) +InnerSimplified order x * (-1 - x) (-1 - x) * x +InnerSimplified order x * (0 + 2) (0 + 2) * x +InnerSimplified order x * (0 - a) (0 - a) * x +InnerSimplified order x * (1 * x) ^ 2 (1 * x) ^ 2 * x +InnerSimplified order x * (1/2) ^ (-1) (1/2) ^ (-1) * x +InnerSimplified order x * (1/2) ^ a (1/2) ^ a * x +InnerSimplified order x * (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 * x +InnerSimplified order x * (x - y) (x - y) * x +InnerSimplified order x * (y + -1) ^ (-1) (y + -1) ^ (-1) * x +InnerSimplified order x * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * x +InnerSimplified order x * -y * a -y * a * x +InnerSimplified order x * 1 * (-1 - x) (-1 - x) * x * 1 +InnerSimplified order x * 1 * (0 + 2) (0 + 2) * x * 1 +InnerSimplified order x * 1 * (0 - a) (0 - a) * x * 1 +InnerSimplified order x * 1 * (1 * x) ^ 2 (1 * x) ^ 2 * x * 1 +InnerSimplified order x * 1 * (1/2) ^ (-1) (1/2) ^ (-1) * x * 1 +InnerSimplified order x * 1 * (1/2) ^ a (1/2) ^ a * x * 1 +InnerSimplified order x * 1 * (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 * x * 1 +InnerSimplified order x * 1 * (x - y) (x - y) * x * 1 +InnerSimplified order x * 1 * (y + -1) ^ (-1) (y + -1) ^ (-1) * x * 1 +InnerSimplified order x * 1 * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * x * 1 +InnerSimplified order x * 1 * -y * a -y * a * x * 1 +InnerSimplified order x * 1 * 1 * 1/2 1 * 1/2 * x * 1 +InnerSimplified order x * 1 * 1 / (-1 - x) 1 / (-1 - x) * x * 1 +InnerSimplified order x * 1 * 1/2 1 * 1/2 * x +InnerSimplified order x * 1 * 1/2 / 2 1/2 / 2 * x * 1 +InnerSimplified order x * 1 * 2 ^ x 2 ^ x * x * 1 +InnerSimplified order x * 1 * a / y a / y * x * 1 +InnerSimplified order x * 1 * a ^ 1 a ^ 1 * x * 1 +InnerSimplified order x * 1 * abs(a ^ a) abs(a ^ a) * x * 1 +InnerSimplified order x * 1 * abs(x - 2) abs(x - 2) * x * 1 +InnerSimplified order x * 1 * cos(-x) cos(-x) * x * 1 +InnerSimplified order x * 1 * e ^ 1 e ^ 1 * x * 1 +InnerSimplified order x * 1 * ln(-2) ln(-2) * x * 1 +InnerSimplified order x * 1 * sgn(x + x) sgn(x + x) * x * 1 +InnerSimplified order x * 1 * sin(y - 0) sin(y - 0) * x * 1 +InnerSimplified order x * 1 * sqrt(1/2 / a) sqrt(1/2 / a) * x * 1 +InnerSimplified order x * 1 * sqrt(1/2) sqrt(1/2) * x * 1 +InnerSimplified order x * 1 * sqrt(a) sqrt(a) * x * 1 +InnerSimplified order x * 1 * sqrt(e) sqrt(e) * x * 1 +InnerSimplified order x * 1 * y / (-1) y / (-1) * x * 1 +InnerSimplified order x * 1 + (1 * x) ^ 2 (1 * x) ^ 2 + x * 1 +InnerSimplified order x * 1 + (1/2) ^ (-1) (1/2) ^ (-1) + x * 1 +InnerSimplified order x * 1 + (1/2) ^ a (1/2) ^ a + x * 1 +InnerSimplified order x * 1 + (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 + x * 1 +InnerSimplified order x * 1 + (y + -1) ^ (-1) (y + -1) ^ (-1) + x * 1 +InnerSimplified order x * 1 + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + x * 1 +InnerSimplified order x * 1 + -1 - x -1 - x + x * 1 +InnerSimplified order x * 1 + -y * a -y * a + x * 1 +InnerSimplified order x * 1 + 0 + 2 0 + 2 + x * 1 +InnerSimplified order x * 1 + 0 - a 0 - a + x * 1 +InnerSimplified order x * 1 + 1 * 1/2 1 * 1/2 + x * 1 +InnerSimplified order x * 1 + 1 / (-1 - x) 1 / (-1 - x) + x * 1 +InnerSimplified order x * 1 + 1/2 / 2 1/2 / 2 + x * 1 +InnerSimplified order x * 1 + 2 + -1 2 + -1 + x * 1 +InnerSimplified order x * 1 + 2 ^ x 2 ^ x + x * 1 +InnerSimplified order x * 1 + a / y a / y + x * 1 +InnerSimplified order x * 1 + a ^ 1 a ^ 1 + x * 1 +InnerSimplified order x * 1 + abs(a ^ a) abs(a ^ a) + x * 1 +InnerSimplified order x * 1 + abs(x - 2) abs(x - 2) + x * 1 +InnerSimplified order x * 1 + cos(-x) cos(-x) + x * 1 +InnerSimplified order x * 1 + cos(1/2 * 0) cos(1/2 * 0) + x * 1 +InnerSimplified order x * 1 + e ^ 0 ^ 2 e ^ 0 ^ 2 + x * 1 +InnerSimplified order x * 1 + e ^ 1 e ^ 1 + x * 1 +InnerSimplified order x * 1 + ln(-2) ln(-2) + x * 1 +InnerSimplified order x * 1 + sgn(a / 0) sgn(a / 0) + x * 1 +InnerSimplified order x * 1 + sgn(x + x) sgn(x + x) + x * 1 +InnerSimplified order x * 1 + sin(y - 0) sin(y - 0) + x * 1 +InnerSimplified order x * 1 + sqrt(1/2 / a) sqrt(1/2 / a) + x * 1 +InnerSimplified order x * 1 + sqrt(1/2) sqrt(1/2) + x * 1 +InnerSimplified order x * 1 + sqrt(a) sqrt(a) + x * 1 +InnerSimplified order x * 1 + sqrt(e) sqrt(e) + x * 1 +InnerSimplified order x * 1 + x - y x - y + x * 1 +InnerSimplified order x * 1 + y / (-1) y / (-1) + x * 1 +InnerSimplified order x * 1 / (-1 - x) 1 / (-1 - x) * x +InnerSimplified order x * 1/2 / 2 1/2 / 2 * x +InnerSimplified order x * 2 ^ x 2 ^ x * x +InnerSimplified order x * a / y a / y * x +InnerSimplified order x * a ^ 1 a ^ 1 * x +InnerSimplified order x * abs(a ^ a) abs(a ^ a) * x +InnerSimplified order x * abs(x - 2) abs(x - 2) * x +InnerSimplified order x * cos(-x) cos(-x) * x +InnerSimplified order x * e ^ 1 e ^ 1 * x +InnerSimplified order x * ln(-2) ln(-2) * x +InnerSimplified order x * sgn(x + x) sgn(x + x) * x +InnerSimplified order x * sin(y - 0) sin(y - 0) * x +InnerSimplified order x * sqrt(1/2 / a) sqrt(1/2 / a) * x +InnerSimplified order x * sqrt(1/2) sqrt(1/2) * x +InnerSimplified order x * sqrt(a) sqrt(a) * x +InnerSimplified order x * sqrt(e) sqrt(e) * x +InnerSimplified order x * y / (-1) y / (-1) * x +InnerSimplified order x + (1 * x) ^ 2 (1 * x) ^ 2 + x +InnerSimplified order x + (1/2) ^ (-1) (1/2) ^ (-1) + x +InnerSimplified order x + (1/2) ^ a (1/2) ^ a + x +InnerSimplified order x + (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 + x +InnerSimplified order x + (y + -1) ^ (-1) (y + -1) ^ (-1) + x +InnerSimplified order x + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + x +InnerSimplified order x + -1 - x -1 - x + x +InnerSimplified order x + -y * a -y * a + x +InnerSimplified order x + 0 + 2 0 + 2 + x +InnerSimplified order x + 0 - a 0 - a + x +InnerSimplified order x + 1 * 1/2 1 * 1/2 + x +InnerSimplified order x + 1 / (-1 - x) 1 / (-1 - x) + x +InnerSimplified order x + 1/2 / 2 1/2 / 2 + x +InnerSimplified order x + 2 + -1 2 + -1 + x +InnerSimplified order x + 2 ^ x 2 ^ x + x +InnerSimplified order x + a / y a / y + x +InnerSimplified order x + a ^ 1 a ^ 1 + x +InnerSimplified order x + abs(a ^ a) abs(a ^ a) + x +InnerSimplified order x + abs(x - 2) abs(x - 2) + x +InnerSimplified order x + cos(-x) cos(-x) + x +InnerSimplified order x + cos(1/2 * 0) cos(1/2 * 0) + x +InnerSimplified order x + e ^ 0 ^ 2 e ^ 0 ^ 2 + x +InnerSimplified order x + e ^ 1 e ^ 1 + x +InnerSimplified order x + ln(-2) ln(-2) + x +InnerSimplified order x + sgn(a / 0) sgn(a / 0) + x +InnerSimplified order x + sgn(x + x) sgn(x + x) + x +InnerSimplified order x + sin(y - 0) sin(y - 0) + x +InnerSimplified order x + sqrt(1/2 / a) sqrt(1/2 / a) + x +InnerSimplified order x + sqrt(1/2) sqrt(1/2) + x +InnerSimplified order x + sqrt(a) sqrt(a) + x +InnerSimplified order x + sqrt(e) sqrt(e) + x +InnerSimplified order x + x - y x - y + x +InnerSimplified order x + y / (-1) y / (-1) + x +InnerSimplified order x - y + (1 * x) ^ 2 (1 * x) ^ 2 + x - y +InnerSimplified order x - y + (1/2) ^ (-1) (1/2) ^ (-1) + x - y +InnerSimplified order x - y + (1/2) ^ a (1/2) ^ a + x - y +InnerSimplified order x - y + (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 + x - y +InnerSimplified order x - y + (y + -1) ^ (-1) (y + -1) ^ (-1) + x - y +InnerSimplified order x - y + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + x - y +InnerSimplified order x - y + -1 - x -1 - x + x - y +InnerSimplified order x - y + -y * a -y * a + x - y +InnerSimplified order x - y + 0 + 2 0 + 2 + x - y +InnerSimplified order x - y + 0 - a 0 - a + x - y +InnerSimplified order x - y + 1 * 1/2 1 * 1/2 + x - y +InnerSimplified order x - y + 1 / (-1 - x) 1 / (-1 - x) + x - y +InnerSimplified order x - y + 1/2 / 2 1/2 / 2 + x - y +InnerSimplified order x - y + 2 + -1 2 + -1 + x - y +InnerSimplified order x - y + 2 ^ x 2 ^ x + x - y +InnerSimplified order x - y + a / y a / y + x - y +InnerSimplified order x - y + a ^ 1 a ^ 1 + x - y +InnerSimplified order x - y + abs(a ^ a) abs(a ^ a) + x - y +InnerSimplified order x - y + abs(x - 2) abs(x - 2) + x - y +InnerSimplified order x - y + cos(-x) cos(-x) + x - y +InnerSimplified order x - y + cos(1/2 * 0) cos(1/2 * 0) + x - y +InnerSimplified order x - y + e ^ 0 ^ 2 e ^ 0 ^ 2 + x - y +InnerSimplified order x - y + e ^ 1 e ^ 1 + x - y +InnerSimplified order x - y + ln(-2) ln(-2) + x - y +InnerSimplified order x - y + sgn(a / 0) sgn(a / 0) + x - y +InnerSimplified order x - y + sgn(x + x) sgn(x + x) + x - y +InnerSimplified order x - y + sin(y - 0) sin(y - 0) + x - y +InnerSimplified order x - y + sqrt(1/2 / a) sqrt(1/2 / a) + x - y +InnerSimplified order x - y + sqrt(1/2) sqrt(1/2) + x - y +InnerSimplified order x - y + sqrt(a) sqrt(a) + x - y +InnerSimplified order x - y + sqrt(e) sqrt(e) + x - y +InnerSimplified order x - y + x x + x - y +InnerSimplified order x - y + x * 1 x * 1 + x - y +InnerSimplified order x - y + y / (-1) y / (-1) + x - y +InnerSimplified order y / (-1) * (-1 - x) (-1 - x) * y / (-1) +InnerSimplified order y / (-1) * (0 + 2) (0 + 2) * y / (-1) +InnerSimplified order y / (-1) * (0 - a) (0 - a) * y / (-1) +InnerSimplified order y / (-1) * (1 * x) ^ 2 (1 * x) ^ 2 * y / (-1) +InnerSimplified order y / (-1) * (1/2) ^ (-1) (1/2) ^ (-1) * y / (-1) +InnerSimplified order y / (-1) * (1/2) ^ a (1/2) ^ a * y / (-1) +InnerSimplified order y / (-1) * (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 * y / (-1) +InnerSimplified order y / (-1) * (x - y) (x - y) * y / (-1) +InnerSimplified order y / (-1) * (y + -1) ^ (-1) (y + -1) ^ (-1) * y / (-1) +InnerSimplified order y / (-1) * (y ^ x) ^ (-1) (y ^ x) ^ (-1) * y / (-1) +InnerSimplified order y / (-1) * -y * a -y * a * y / (-1) +InnerSimplified order y / (-1) * 1 * 1/2 1 * 1/2 * y / (-1) +InnerSimplified order y / (-1) * 1 / (-1 - x) 1 / (-1 - x) * y / (-1) +InnerSimplified order y / (-1) * 1/2 / 2 1/2 / 2 * y / (-1) +InnerSimplified order y / (-1) * 2 ^ x 2 ^ x * y / (-1) +InnerSimplified order y / (-1) * a / y a / y * y / (-1) +InnerSimplified order y / (-1) * a ^ 1 a ^ 1 * y / (-1) +InnerSimplified order y / (-1) * abs(a ^ a) abs(a ^ a) * y / (-1) +InnerSimplified order y / (-1) * abs(x - 2) abs(x - 2) * y / (-1) +InnerSimplified order y / (-1) * cos(-x) cos(-x) * y / (-1) +InnerSimplified order y / (-1) * e ^ 1 e ^ 1 * y / (-1) +InnerSimplified order y / (-1) * ln(-2) ln(-2) * y / (-1) +InnerSimplified order y / (-1) * sgn(x + x) sgn(x + x) * y / (-1) +InnerSimplified order y / (-1) * sin(y - 0) sin(y - 0) * y / (-1) +InnerSimplified order y / (-1) * sqrt(1/2 / a) sqrt(1/2 / a) * y / (-1) +InnerSimplified order y / (-1) * sqrt(1/2) sqrt(1/2) * y / (-1) +InnerSimplified order y / (-1) * sqrt(a) sqrt(a) * y / (-1) +InnerSimplified order y / (-1) * sqrt(e) sqrt(e) * y / (-1) +InnerSimplified order y / (-1) * x x * y / (-1) +InnerSimplified order y / (-1) * x * 1 x * 1 * y / (-1) +InnerSimplified order y / (-1) + (1 * x) ^ 2 (1 * x) ^ 2 + y / (-1) +InnerSimplified order y / (-1) + (1/2) ^ (-1) (1/2) ^ (-1) + y / (-1) +InnerSimplified order y / (-1) + (1/2) ^ a (1/2) ^ a + y / (-1) +InnerSimplified order y / (-1) + (sqrt(-1)) ^ 2 (sqrt(-1)) ^ 2 + y / (-1) +InnerSimplified order y / (-1) + (y + -1) ^ (-1) (y + -1) ^ (-1) + y / (-1) +InnerSimplified order y / (-1) + (y ^ x) ^ (-1) (y ^ x) ^ (-1) + y / (-1) +InnerSimplified order y / (-1) + -1 - x -1 - x + y / (-1) +InnerSimplified order y / (-1) + -y * a -y * a + y / (-1) +InnerSimplified order y / (-1) + 0 + 2 0 + 2 + y / (-1) +InnerSimplified order y / (-1) + 0 - a 0 - a + y / (-1) +InnerSimplified order y / (-1) + 1 * 1/2 1 * 1/2 + y / (-1) +InnerSimplified order y / (-1) + 1 / (-1 - x) 1 / (-1 - x) + y / (-1) +InnerSimplified order y / (-1) + 1/2 / 2 1/2 / 2 + y / (-1) +InnerSimplified order y / (-1) + 2 + -1 2 + -1 + y / (-1) +InnerSimplified order y / (-1) + 2 ^ x 2 ^ x + y / (-1) +InnerSimplified order y / (-1) + a / y a / y + y / (-1) +InnerSimplified order y / (-1) + a ^ 1 a ^ 1 + y / (-1) +InnerSimplified order y / (-1) + abs(a ^ a) abs(a ^ a) + y / (-1) +InnerSimplified order y / (-1) + abs(x - 2) abs(x - 2) + y / (-1) +InnerSimplified order y / (-1) + cos(-x) cos(-x) + y / (-1) +InnerSimplified order y / (-1) + cos(1/2 * 0) cos(1/2 * 0) + y / (-1) +InnerSimplified order y / (-1) + e ^ 0 ^ 2 e ^ 0 ^ 2 + y / (-1) +InnerSimplified order y / (-1) + e ^ 1 e ^ 1 + y / (-1) +InnerSimplified order y / (-1) + ln(-2) ln(-2) + y / (-1) +InnerSimplified order y / (-1) + sgn(a / 0) sgn(a / 0) + y / (-1) +InnerSimplified order y / (-1) + sgn(x + x) sgn(x + x) + y / (-1) +InnerSimplified order y / (-1) + sin(y - 0) sin(y - 0) + y / (-1) +InnerSimplified order y / (-1) + sqrt(1/2 / a) sqrt(1/2 / a) + y / (-1) +InnerSimplified order y / (-1) + sqrt(1/2) sqrt(1/2) + y / (-1) +InnerSimplified order y / (-1) + sqrt(a) sqrt(a) + y / (-1) +InnerSimplified order y / (-1) + sqrt(e) sqrt(e) + y / (-1) +InnerSimplified order y / (-1) + x x + y / (-1) +InnerSimplified order y / (-1) + x * 1 x * 1 + y / (-1) +InnerSimplified order y / (-1) + x - y x - y + y / (-1) +Normalise+Order agreement (x ^ 2) ^ 3 x ^ 6 +Normalise+Order agreement -(x + y) -x - y +Normalise+Order agreement 1 / (1 / x) x +Normalise+Order agreement abs(-x) abs(x) +Normalise+Order agreement cos(-x) cos(x) +Normalise+Order agreement e ^ ln(x) x +Normalise+Order agreement sin(-x) -sin(x) +Normalise+Order agreement x * x * x x ^ 3 +Normalise+Order agreement x + x 2 * x +Normalise+Order agreement x ^ 0 1 +Simplify agreement -(x + y) -x - y +Simplify agreement sin(-x) -sin(x) +Simplify agreement x ^ 0 1 +Simplify order 1 + 0 + y / 2 y / 2 + 1 + 0 +Simplify order e ^ ((-1) / (1/2)) + y / 2 y / 2 + e ^ ((-1) / (1/2)) +Simplify order x + y / 2 y / 2 + x +Simplify order y / 2 + 1 + 0 1 + 0 + y / 2 +Simplify order y / 2 + e ^ ((-1) / (1/2)) e ^ ((-1) / (1/2)) + y / 2 +Simplify order y / 2 + x x + y / 2 diff --git a/Sources/Tests/Harnesses/Confluence/Confluence.csproj b/Sources/Tests/Harnesses/Confluence/Confluence.csproj new file mode 100644 index 000000000..61749f939 --- /dev/null +++ b/Sources/Tests/Harnesses/Confluence/Confluence.csproj @@ -0,0 +1,27 @@ + + + + + + Exe + net10.0 + disable + preview + confluence + Confluence + true + false + + + + + + + + + + diff --git a/Sources/Tests/Harnesses/Confluence/Program.cs b/Sources/Tests/Harnesses/Confluence/Program.cs new file mode 100644 index 000000000..a13b3c975 --- /dev/null +++ b/Sources/Tests/Harnesses/Confluence/Program.cs @@ -0,0 +1,289 @@ +// +// Copyright (c) 2019-2026 Angouri. +// AngouriMath is licensed under MIT. +// Details: https://github.com/asc-community/AngouriMath/blob/master/LICENSE.md. +// Website: https://am.angouri.org. +// + +// confluence -- where two arms of one rule set both fire at a node, do they agree? +// +// #746 tier 2 asks for "rule priorities and conflict resolution, with confluence and +// termination checked by tooling rather than asserted by authors". `rulecheck` answers the +// termination half and answers conflict at *set* grain: whether applying A then B lands where +// B then A does. This answers it at *rule* grain, which only became askable once the registry +// carried individual arms (#825). +// +// A switch takes the first arm that matches. Where a second arm would also have fired and +// would have produced something else, the order of the arms is load-bearing -- a decision +// somebody made, usually without saying so, and one that a future edit can silently reverse +// by inserting an arm above it. Where every overlapping pair agrees, the order is free and the +// set is locally confluent on what was sampled. +// +// What this cannot say: nothing here is a proof. It samples generated expressions, and a pair +// that never overlapped on the sample is reported as untested rather than as confluent. + +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using AngouriMath; +using AngouriMath.Core.Transformations; +using AngouriMath.Extensions; + +static class Confluence +{ + static readonly TimeSpan PerCase = TimeSpan.FromSeconds(5); + + /// The sets in which a timeout kept a pair of arms from being compared. + static readonly HashSet TimedOutIn = new(StringComparer.Ordinal); + + static T WithTimeout(Func f, string set) where T : class + { + try + { + var task = Task.Run(f); + if (task.Wait(PerCase)) return task.Result; + TimedOutIn.Add(set); + return null; + } + catch { return null; } + } + + static string Truncate(string s, int at = 46) => s.Length <= at ? s : s.Substring(0, at - 3) + "..."; + + static string Show(Entity e) => e is null ? "" : Truncate(e.Stringize()); + + sealed class Overlap + { + public int Nodes; // nodes where both arms fired + public int Disagreed; + public (string Node, string First, string Second) Example; + } + + sealed class SetResult + { + public int NodesSeen, NodesWithOneArm, NodesWithSeveral, DisagreeingNodes; + public readonly Dictionary<(int, int), Overlap> Overlaps = new(); + } + + /// + /// The arms that change this node, in the order the switch tries them. An arm that matches + /// and hands the node back has not fired -- the factorial arms do that on purpose -- so a + /// returned value equal to the node is not an overlap. + /// + static List FiringAt(RewriteRuleSet set, Entity node) + { + var firing = new List(); + for (var i = 0; i < set.Rules.Count; i++) + { + Entity applied; + try { applied = set.Rules[i].TryApply(node); } + catch { continue; } + if (applied is not null && !applied.Equals(node)) + firing.Add(i); + } + return firing; + } + + static void Check(RewriteRuleSet set, Entity expr, SetResult result) + { + foreach (var node in expr.Nodes) + { + result.NodesSeen++; + var firing = FiringAt(set, node); + if (firing.Count == 0) + continue; + if (firing.Count == 1) { result.NodesWithOneArm++; continue; } + result.NodesWithSeveral++; + + // Compared after normalisation, so that two arms writing the same answer two ways + // -- which the sorts do constantly -- are not called a conflict. + var settled = new Dictionary(); + foreach (var i in firing) + { + var applied = WithTimeout(() => set.Rules[i].TryApply(node).InnerSimplified, set.Name); + if (applied is not null) + settled[i] = applied; + } + + var disagreed = false; + foreach (var i in settled.Keys) + foreach (var j in settled.Keys) + { + if (i >= j) continue; + var key = (i, j); + if (!result.Overlaps.TryGetValue(key, out var overlap)) + result.Overlaps[key] = overlap = new Overlap(); + overlap.Nodes++; + if (settled[i].Equals(settled[j])) + continue; + overlap.Disagreed++; + disagreed = true; + if (overlap.Example.Node is null) + overlap.Example = (Show(node), Show(settled[i]), Show(settled[j])); + } + if (disagreed) + result.DisagreeingNodes++; + } + } + + static readonly string[] Leaves = { "x", "y", "2", "-1", "1/2", "0", "1", "3" }; + + static readonly string[] Unary = + { + "-({0})", "sqrt({0})", "abs({0})", "ln({0})", "e ^ ({0})", + "sin({0})", "cos({0})", "tan({0})", "sgn({0})", "1 / ({0})", + "({0}) ^ 2", "({0}) ^ (-1)", "({0}) ^ (1/2)", "({0})!", + }; + + static readonly string[] Binary = + { + "({0}) + ({1})", "({0}) - ({1})", "({0}) * ({1})", "({0}) / ({1})", "({0}) ^ ({1})", + }; + + static List Grow(List below, bool binary) + { + var grown = new List(); + foreach (var shape in Unary) + foreach (var inner in below) + grown.Add(string.Format(shape, inner)); + if (binary) + foreach (var shape in Binary) + foreach (var l in below) + foreach (var r in below) + grown.Add(string.Format(shape, l, r)); + return grown; + } + + static int Main() + { + var sets = RewriteRules.All.Where(set => set.Rules.Count > 0) + .OrderBy(set => set.Name, StringComparer.Ordinal).ToList(); + Console.WriteLine($"{sets.Count} addressable sets, {sets.Sum(s => s.Rules.Count)} rules"); + + var level1 = new List(Leaves); + var level2 = Grow(level1, binary: true); + var level3 = Grow(level2.Where((_, i) => i % 11 == 0).ToList(), binary: false); + var parsed = new List(); + foreach (var source in level1.Concat(level2).Concat(level3)) + { + try { parsed.Add(source.ToEntity()); } + catch { } + } + Console.WriteLine($"{parsed.Count} expressions"); + + var results = new Dictionary(); + var done = 0; + foreach (var set in sets) + { + var result = new SetResult(); + foreach (var expr in parsed) + Check(set, expr, result); + results[set.Name] = result; + Console.WriteLine($" {++done}/{sets.Count} {set.Name}: " + + $"{result.NodesWithSeveral} nodes with several arms, {result.DisagreeingNodes} disagreeing"); + } + + Report(sets, results); + + // An arm's name is its pattern, which survives an arm being inserted above it; its index + // does not. + var conflicts = sets.SelectMany(set => results[set.Name].Overlaps + .Where(pair => pair.Value.Disagreed > 0) + .Select(pair => string.Join("\t", set.Name, + Harness.Baseline.Field(set.Rules[pair.Key.Item1].Name), + Harness.Baseline.Field(set.Rules[pair.Key.Item2].Name)))); + return Harness.Baseline.Check( + "confluence-baseline.tsv", + "confluence: a rule set, and two of its arms that both fire at some node and disagree, the earlier first.", + conflicts, + line => TimedOutIn.Contains(line.Split('\t')[0])); + } + + static void Report(List sets, Dictionary results) + { + var text = new StringBuilder(); + text.AppendLine("# confluence"); + text.AppendLine(); + text.AppendLine("Generated by `Sources/Tests/Harnesses/Confluence`. Where two arms of one rewrite rule set both fire at"); + text.AppendLine("a node, do they agree? A `switch` takes the first arm that matches, so a disagreement"); + text.AppendLine("means the **order of the arms is load-bearing** — and nothing in the source says so."); + text.AppendLine(); + text.AppendLine("[#746](https://github.com/asc-community/AngouriMath/issues/746) tier 2 asks for"); + text.AppendLine("confluence *checked by tooling rather than asserted by authors*. `rulecheck` answers"); + text.AppendLine("that at set grain — whether A then B lands where B then A does. This answers it at"); + text.AppendLine("rule grain, which only became askable once the registry carried individual arms."); + text.AppendLine(); + text.AppendLine("**This is a sample, not a proof.** A pair of arms that never overlapped on the"); + text.AppendLine("generated input says nothing either way, and is not counted as agreeing."); + text.AppendLine(); + text.AppendLine("Every conflicting pair is listed in `confluence-baseline.tsv` beside the harness, and the"); + text.AppendLine("run fails when that list changes."); + text.AppendLine(); + text.AppendLine($"Measured against `{Harness.Measured.Commit()}`."); + text.AppendLine(); + + var totalSeveral = results.Values.Sum(r => r.NodesWithSeveral); + var totalDisagree = results.Values.Sum(r => r.DisagreeingNodes); + var overlappingPairs = results.Values.Sum(r => r.Overlaps.Count); + var conflictingPairs = results.Values.Sum(r => r.Overlaps.Values.Count(o => o.Disagreed > 0)); + + text.AppendLine("## Overall"); + text.AppendLine(); + text.AppendLine($"- **{sets.Count}** addressable sets, **{sets.Sum(s => s.Rules.Count)}** rules"); + text.AppendLine($"- **{totalSeveral}** nodes where more than one arm of a set fired"); + text.AppendLine($"- **{totalDisagree}** of those where the arms did not agree"); + text.AppendLine($"- **{overlappingPairs}** pairs of arms observed overlapping, **{conflictingPairs}** of them conflicting"); + text.AppendLine(); + + text.AppendLine("## By set"); + text.AppendLine(); + text.AppendLine("| set | rules | nodes with >1 arm | disagreeing | conflicting pairs |"); + text.AppendLine("|---|--:|--:|--:|--:|"); + foreach (var set in sets) + { + var r = results[set.Name]; + text.AppendLine($"| `{set.Name}` | {set.Rules.Count} | {r.NodesWithSeveral} | {r.DisagreeingNodes} " + + $"| {r.Overlaps.Values.Count(o => o.Disagreed > 0)} |"); + } + text.AppendLine(); + + text.AppendLine("## Where the order is load-bearing"); + text.AppendLine(); + var any = false; + foreach (var set in sets) + { + var conflicts = results[set.Name].Overlaps + .Where(pair => pair.Value.Disagreed > 0) + .OrderByDescending(pair => pair.Value.Disagreed).ToList(); + if (conflicts.Count == 0) + continue; + any = true; + text.AppendLine($"### `{set.Name}`"); + text.AppendLine(); + text.AppendLine("| earlier arm | later arm | nodes | disagreeing | example |"); + text.AppendLine("|---|---|--:|--:|---|"); + foreach (var (key, overlap) in conflicts.Take(12)) + { + var (i, j) = key; + text.AppendLine($"| `[{i}] {Truncate(set.Rules[i].PatternSource, 40)}` " + + $"| `[{j}] {Truncate(set.Rules[j].PatternSource, 40)}` " + + $"| {overlap.Nodes} | {overlap.Disagreed} " + + $"| `{overlap.Example.Node}` -> `{overlap.Example.First}` vs `{overlap.Example.Second}` |"); + } + if (conflicts.Count > 12) + text.AppendLine($"| … | {conflicts.Count - 12} more pairs | | | |"); + text.AppendLine(); + } + if (!any) + text.AppendLine("No pair of arms disagreed on the sampled input."); + + var path = Harness.Reports.PathFor("confluence.md"); + File.WriteAllText(path, text.ToString()); + Console.WriteLine($"wrote {path}"); + Console.WriteLine($"OVERALL {totalSeveral} nodes with several arms, {totalDisagree} disagreeing; " + + $"{conflictingPairs} of {overlappingPairs} overlapping arm pairs conflict"); + } +} diff --git a/Sources/Tests/Harnesses/Confluence/confluence-baseline.tsv b/Sources/Tests/Harnesses/Confluence/confluence-baseline.tsv new file mode 100644 index 000000000..952b14cf7 --- /dev/null +++ b/Sources/Tests/Harnesses/Confluence/confluence-baseline.tsv @@ -0,0 +1,6 @@ +# confluence: a rule set, and two of its arms that both fire at some node and disagree, the earlier first. +# One line per finding, tab separated, sorted. Generated by the harness, not edited by hand: +# to update it, run the harness with HARNESS_UPDATE_BASELINE=1 and commit it with the change that moved it. +Common a-variable-times-a-number-puts-the-number-first a-reciprocal-rational-factor-is-a-division +Power a-numeric-factor-comes-out-of-a-power-of-a-product a-reciprocal-power-is-a-quotient +Power a-power-of-a-power-multiplies-the-exponents a-reciprocal-power-is-a-quotient diff --git a/Sources/Tests/Harnesses/README.md b/Sources/Tests/Harnesses/README.md index f71dab1c3..7b28169c3 100644 --- a/Sources/Tests/Harnesses/README.md +++ b/Sources/Tests/Harnesses/README.md @@ -2,8 +2,8 @@ Console programs that measure the library against properties a unit test cannot list case by case: each generates its inputs, runs them, verifies every answer it gets, and writes a report. -Each exits non-zero when it finds a defect, and `.github/workflows/Harnesses.yml` runs them on -every change to the library. +Each exits non-zero when it finds a defect, or when a list of findings it keeps changes, and +`.github/workflows/Harnesses.yml` runs them on every change to the library. | harness | asks | fails on | |---|---|---| @@ -14,13 +14,22 @@ every change to the library. | `RuleCheck` | does a rewrite rule set do what it **declares**: terminate alone and composed with the normalisation, and keep the value where it claims `Equivalence` | a set that does not settle, a `Sound` declaration a value falsifies | | `CrashCheck` | does anything take the process down: every case in a child process of its own, so a stack overflow is a result rather than the end of the run | a crash, an exception that is not the library declining | | `PropCheck` | does each transformation satisfy a property it must: `Simplify`, `Expand` and `Factorize` keep the value, `Differentiate` agrees with a difference quotient, `Integrate` differentiates back | any property that does not hold | +| `CanonCheck` | is there a **canonical form**: idempotence, order independence over commutative operators, and agreement between writings, for `InnerSimplified` and `Simplify` alike | a change to its findings, listed in `canoncheck-baseline.tsv` | +| `Confluence` | where two arms of one rule set both fire at a node, do they agree, or is the order of the arms load-bearing | a change to its conflicting pairs, listed in `confluence-baseline.tsv` | A timeout fails none of them: a shared runner is slower than the machine a budget was set on. +`CanonCheck` and `Confluence` report findings by design. `InnerSimplified` is a normalisation, and +does not reorder operands. Some rule sets depend on the order of their arms. So each commits its +list of findings beside it, and the run fails when the list changes in either direction: a finding +that appears, or one that goes away. To record an intended change, run the harness with +`HARNESS_UPDATE_BASELINE=1` and commit the list with the change. A finding whose case timed out +counts as unmeasured, not gone. + Run one by hand with `dotnet run -c Release --project Sources/Tests/Harnesses/BoundCheck`. Its report goes to this folder, where it is ignored by git, or to the directory `HARNESS_REPORTS` names. A report says which commit it measured: a report records a build, not a branch. -More harnesses exist, and come here as each gains a criterion that fails on a defect and not on a -known finding or on the machine: +More harnesses exist. Each comes here once it gains a criterion that fails on a defect, or on a +change to the findings it lists, and never on the machine: [#1256](https://github.com/asc-community/AngouriMath/issues/1256) lists them. diff --git a/Sources/Tests/Harnesses/Shared/Baseline.cs b/Sources/Tests/Harnesses/Shared/Baseline.cs new file mode 100644 index 000000000..f016b7cee --- /dev/null +++ b/Sources/Tests/Harnesses/Shared/Baseline.cs @@ -0,0 +1,112 @@ +// +// Copyright (c) 2019-2026 Angouri. +// AngouriMath is licensed under MIT. +// Details: https://github.com/asc-community/AngouriMath/blob/master/LICENSE.md. +// Website: https://am.angouri.org. +// + +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; + +namespace Harness +{ + /// + /// The findings a harness reports by design, committed beside it, so that a run fails when + /// the list changes rather than whenever it is not empty. + /// + /// + /// A count that moves is not a finding, and a list that changes is. The shape is the one + /// Sources/Tests/UnitTests/Corpus/corpus-baseline.tsv uses: a committed record, an + /// environment variable that regenerates it, and a failure that spells out both directions. + /// A finding that goes away fails the run as well as one that appears, as a prompt to record + /// the change with the commit that made it. + /// https://github.com/asc-community/AngouriMath/issues/1256 + /// + static class Baseline + { + /// Set to rewrite the committed list from this run instead of comparing with it. + internal const string UpdateVariable = "HARNESS_UPDATE_BASELINE"; + + /// How many lines of each direction a failing run prints. + private const int Shown = 40; + + /// + /// Compares this run's findings with the committed list and returns the exit code: 0 when + /// they are the same, 1 when a finding appeared or one went away. + /// + /// The list's file name, in the harness's own project directory. + /// What one line of the list is, for the file's header. + /// One line per finding, its fields separated by tabs. + /// + /// Whether a committed finding that this run did not report went unmeasured, because its + /// case timed out, rather than went away. Such a finding is reported and fails nothing, + /// since a shared runner is slower than the machine a budget was set on. + /// + internal static int Check(string file, string what, IEnumerable findings, Func unmeasured) + { + var path = Path.Combine(ProjectDirectory(), file); + var found = new SortedSet(findings, StringComparer.Ordinal); + + if (!string.IsNullOrEmpty(Environment.GetEnvironmentVariable(UpdateVariable))) + { + File.WriteAllText(path, string.Join("\n", Header(what).Concat(found)) + "\n"); + Console.WriteLine($"Rewrote {path} with {found.Count} findings."); + return 0; + } + if (!File.Exists(path)) + { + Console.WriteLine($"{path} does not exist. Run with {UpdateVariable}=1 to write it."); + return 1; + } + + var recorded = new SortedSet( + File.ReadAllLines(path).Where(line => line.Length > 0 && !line.StartsWith("#", StringComparison.Ordinal)), + StringComparer.Ordinal); + var appeared = found.Where(line => !recorded.Contains(line)).ToList(); + var missing = recorded.Where(line => !found.Contains(line)).ToList(); + var gone = missing.Where(line => !unmeasured(line)).ToList(); + + if (missing.Count > gone.Count) + Console.WriteLine($"{missing.Count - gone.Count} findings in {file} went unmeasured: their cases timed out."); + if (appeared.Count == 0 && gone.Count == 0) + { + Console.WriteLine($"The findings match {file}: {found.Count}."); + return 0; + } + + Console.WriteLine($"The findings differ from {file}: {appeared.Count} appeared, {gone.Count} went away."); + Print("appeared", appeared); + Print("went away", gone); + Console.WriteLine($"If the change is intended, record it: run this with {UpdateVariable}=1 and commit {file} with it."); + return 1; + } + + private static void Print(string label, List lines) + { + foreach (var line in lines.Take(Shown)) + Console.WriteLine($" {label,-9} {line}"); + if (lines.Count > Shown) + Console.WriteLine($" {label,-9} ... and {lines.Count - Shown} more"); + } + + private static IEnumerable Header(string what) + { + yield return $"# {what}"; + yield return "# One line per finding, tab separated, sorted. Generated by the harness, not edited by hand:"; + yield return $"# to update it, run the harness with {UpdateVariable}=1 and commit it with the change that moved it."; + } + + /// + /// The harness's own project directory, from the assembly rather than the working + /// directory, which need not be anywhere near it. + /// + private static string ProjectDirectory() + => Directory.GetParent(AppContext.BaseDirectory).Parent.Parent.Parent.FullName; + + /// One field of a line: a tab or a line break inside it would split the line. + internal static string Field(string text) + => text.Replace('\t', ' ').Replace('\r', ' ').Replace('\n', ' '); + } +} diff --git a/Sources/Tests/UnitTests/Common/PowerOfPowerBranchTest.cs b/Sources/Tests/UnitTests/Common/PowerOfPowerBranchTest.cs index 73035bc51..9d1d879c8 100644 --- a/Sources/Tests/UnitTests/Common/PowerOfPowerBranchTest.cs +++ b/Sources/Tests/UnitTests/Common/PowerOfPowerBranchTest.cs @@ -92,7 +92,7 @@ public void APositiveBaseKeepsItsValue(string expr) => /// /// The property that found all of this, stated over the shapes it found them in: /// wherever the expression and its simplification are both real, they are the same - /// number. work/simpsweep asks it of ten thousand generated expressions and + /// number. Sources/Tests/Harnesses/SimpSweep asks it of ten thousand generated expressions and /// went from 30 disagreements to 0 with these two rules narrowed. /// [Fact] diff --git a/Sources/Tests/UnitTests/Core/Transformations/MatchedRulesAgreeWithTheSwitchTest.cs b/Sources/Tests/UnitTests/Core/Transformations/MatchedRulesAgreeWithTheSwitchTest.cs index fe6ddb8ff..3e92a7756 100644 --- a/Sources/Tests/UnitTests/Core/Transformations/MatchedRulesAgreeWithTheSwitchTest.cs +++ b/Sources/Tests/UnitTests/Core/Transformations/MatchedRulesAgreeWithTheSwitchTest.cs @@ -283,7 +283,7 @@ public void FactorizeFactorialMultiplicationsAsDataMatchesTheSwitch() /// /// The alternation case. The switch arm is x is Sumf or Minusf, which - /// Node<T> cannot say — and which the work-list in work/rulecheck + /// Node<T> cannot say — and which the work-list in Sources/Tests/Harnesses/RuleCheck /// recorded as needing an addition to the matcher. A typed hole with a predicate says it, /// and agreement over the corpus is what turns that from an argument into a fact. ///