Details

Time bar (total: 1.1s)

analyze41.0ms (3.7%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
0%0%99.9%0.1%0%0%0%2
0%0%99.9%0.1%0%0%0%3
0%0%99.9%0.1%0%0%0%4
25%25%74.9%0.1%0%0%0%5
30.8%25%56.2%0.1%18.7%0%0%6
38.1%25%40.6%0.1%34.3%0%0%7
50%31.2%31.2%0.1%37.5%0%0%8
64.9%39%21.1%0.1%39.8%0%0%9
72.8%42.9%16%0.1%41%0%0%10
81.5%47.2%10.7%0.1%42%0%0%11
85.9%49.4%8.1%0.1%42.4%0%0%12
Compiler

Compiled 10 to 5 computations (50% saved)

sample673.0ms (61%)

Results
648.0ms8256×body256valid
14.0ms177×body256infinite
Bogosity

preprocess8.0ms (0.7%)

Algorithm
egg-herbie
Rules
swap-x-y
rational_best-simplify-22
rational_best-simplify-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0838
11038
022
122
Stop Event
unsound
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
0
Call 2
Inputs
(*.f64 (+.f64 x y) (+.f64 x y))
(*.f64 (+.f64 y x) (+.f64 y x))
Outputs
(*.f64 (+.f64 x y) (+.f64 x y))
(*.f64 (+.f64 y x) (+.f64 y x))
(*.f64 (+.f64 x y) (+.f64 x y))
Symmetry

(sort x y)

Compiler

Compiled 11 to 6 computations (45.5% saved)

simplify9.0ms (0.9%)

Algorithm
egg-herbie
Rules
rational_best-simplify-22
rational_best-simplify-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0619
1919
Stop Event
saturated
Counts
1 → 1
Calls
Call 1
Inputs
(*.f64 (+.f64 x y) (+.f64 x y))
Outputs
(*.f64 (+.f64 x y) (+.f64 x y))

eval0.0ms (0%)

Compiler

Compiled 9 to 4 computations (55.6% saved)

prune1.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(*.f64 (+.f64 x y) (+.f64 x y))
Compiler

Compiled 9 to 4 computations (55.6% saved)

localize7.0ms (0.7%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (+.f64 x y) (+.f64 x y))
Compiler

Compiled 14 to 4 computations (71.4% saved)

series1.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
0.0ms
x
@-inf
(*.f64 (+.f64 x y) (+.f64 x y))
0.0ms
x
@0
(*.f64 (+.f64 x y) (+.f64 x y))
0.0ms
x
@inf
(*.f64 (+.f64 x y) (+.f64 x y))
0.0ms
y
@-inf
(*.f64 (+.f64 x y) (+.f64 x y))
0.0ms
y
@inf
(*.f64 (+.f64 x y) (+.f64 x y))

rewrite16.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
28×rational_best-simplify-2
24×rational_best-4
24×rational_best-2
24×rational_best-3
24×rational_best-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0619
14119
27219
38119
48719
510519
611719
713119
814619
Stop Event
saturated
Counts
1 → 10
Calls
Call 1
Inputs
(*.f64 (+.f64 x y) (+.f64 x y))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 x y) (+.f64 x y)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (+.f64 x y) (+.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 (+.f64 x y) (+.f64 x y)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (*.f64 (+.f64 x y) (neg.f64 (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 x y) (+.f64 x y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 x y) (neg.f64 (+.f64 x y))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (+.f64 x y) (+.f64 x y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 (+.f64 x y) (neg.f64 (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 (+.f64 x y) (+.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 (+.f64 x y) (neg.f64 (+.f64 x y))))))))

simplify25.0ms (2.3%)

Algorithm
egg-herbie
Rules
32×rational_best-simplify-2
32×rational_best-simplify-1
14×rational_best-simplify-47
12×rational_best-simplify-44
rational_best-simplify-49
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
031826
150826
271826
399826
4116826
5120826
6124826
7128826
Stop Event
saturated
Counts
34 → 19
Calls
Call 1
Inputs
(pow.f64 y 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 y 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 y 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 (+.f64 x y) (+.f64 x y)) 0)
(+.f64 0 (*.f64 (+.f64 x y) (+.f64 x y)))
(-.f64 (*.f64 (+.f64 x y) (+.f64 x y)) 0)
(-.f64 0 (*.f64 (+.f64 x y) (neg.f64 (+.f64 x y))))
(/.f64 (*.f64 (+.f64 x y) (+.f64 x y)) 1)
(/.f64 (*.f64 (+.f64 x y) (neg.f64 (+.f64 x y))) -1)
(pow.f64 (*.f64 (+.f64 x y) (+.f64 x y)) 1)
(neg.f64 (*.f64 (+.f64 x y) (neg.f64 (+.f64 x y))))
(fabs.f64 (*.f64 (+.f64 x y) (+.f64 x y)))
(fabs.f64 (*.f64 (+.f64 x y) (neg.f64 (+.f64 x y))))
Outputs
(pow.f64 y 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 y (*.f64 2 x)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 y 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 y (*.f64 2 x)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 y 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 y (*.f64 2 x)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 (+.f64 x y) (+.f64 x y)) 0)
(*.f64 (+.f64 y x) (+.f64 y x))
(+.f64 0 (*.f64 (+.f64 x y) (+.f64 x y)))
(*.f64 (+.f64 y x) (+.f64 y x))
(-.f64 (*.f64 (+.f64 x y) (+.f64 x y)) 0)
(*.f64 (+.f64 y x) (+.f64 y x))
(-.f64 0 (*.f64 (+.f64 x y) (neg.f64 (+.f64 x y))))
(*.f64 (+.f64 y x) (+.f64 y x))
(/.f64 (*.f64 (+.f64 x y) (+.f64 x y)) 1)
(*.f64 (+.f64 y x) (+.f64 y x))
(/.f64 (*.f64 (+.f64 x y) (neg.f64 (+.f64 x y))) -1)
(*.f64 (+.f64 y x) (+.f64 y x))
(pow.f64 (*.f64 (+.f64 x y) (+.f64 x y)) 1)
(*.f64 (+.f64 y x) (+.f64 y x))
(neg.f64 (*.f64 (+.f64 x y) (neg.f64 (+.f64 x y))))
(*.f64 (+.f64 y x) (+.f64 y x))
(fabs.f64 (*.f64 (+.f64 x y) (+.f64 x y)))
(*.f64 (+.f64 y x) (+.f64 y x))
(fabs.f64 (*.f64 (+.f64 x y) (neg.f64 (+.f64 x y))))
(*.f64 (+.f64 y x) (+.f64 y x))

eval7.0ms (0.6%)

Compiler

Compiled 168 to 69 computations (58.9% saved)

prune4.0ms (0.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New16319
Fresh000
Picked011
Done000
Total16420
Error
0.0b
Counts
20 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
28.7b
(+.f64 (pow.f64 y 2) (*.f64 y (*.f64 2 x)))
26.0b
(+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2))
0.0b
(+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
0.0b
(*.f64 (+.f64 x y) (+.f64 x y))
Compiler

Compiled 46 to 31 computations (32.6% saved)

localize19.0ms (1.7%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
0.0b
(+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
Compiler

Compiled 39 to 26 computations (33.3% saved)

series4.0ms (0.4%)

Counts
2 → 30
Calls

12 calls:

TimeVariablePointExpression
1.0ms
x
@0
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
0.0ms
y
@-inf
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
0.0ms
y
@0
(+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
0.0ms
y
@-inf
(+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
0.0ms
x
@0
(+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))

rewrite14.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
40×rational_best-simplify-2
36×rational_best-simplify-1
28×rational_best-4
28×rational_best-2
28×rational_best-3
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01156
17656
212656
314456
414756
Stop Event
saturated
Counts
2 → 10
Calls
Call 1
Inputs
(+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (pow.f64 y 2) (pow.f64 x 2))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) 1)))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (pow.f64 y 2) (pow.f64 x 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 y 2) (pow.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (pow.f64 y 2) (pow.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 y 2) (pow.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (pow.f64 y 2) (pow.f64 x 2)) 1)))))

simplify36.0ms (3.3%)

Algorithm
egg-herbie
Rules
18×rational_best-simplify-2
14×rational_best-simplify-1
rational_best-simplify-44
rational_best-simplify-43
rational_best-simplify-5
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
028958
140958
249958
352958
Stop Event
saturated
Counts
40 → 19
Calls
Call 1
Inputs
(pow.f64 x 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 y 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 y 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 y 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(pow.f64 x 2)
(pow.f64 y 2)
(pow.f64 y 2)
(pow.f64 y 2)
(pow.f64 x 2)
(pow.f64 x 2)
(-.f64 (+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) 0)
(*.f64 (+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) 1)
(*.f64 1 (+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2))))
(/.f64 (+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) 1)
(pow.f64 (+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) 1)
(-.f64 (+.f64 (pow.f64 y 2) (pow.f64 x 2)) 0)
(*.f64 (+.f64 (pow.f64 y 2) (pow.f64 x 2)) 1)
(*.f64 1 (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(/.f64 (+.f64 (pow.f64 y 2) (pow.f64 x 2)) 1)
(pow.f64 (+.f64 (pow.f64 y 2) (pow.f64 x 2)) 1)
Outputs
(pow.f64 x 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (*.f64 2 (*.f64 x y)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 x y)) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 x y)) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(pow.f64 y 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (*.f64 2 (*.f64 x y)) (pow.f64 y 2))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 x y)) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 x y)) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(pow.f64 y 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (*.f64 2 (*.f64 x y)) (pow.f64 y 2))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 x y)) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 x y)) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(pow.f64 y 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (*.f64 2 (*.f64 x y)) (pow.f64 y 2))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 x y)) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 x y)) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (*.f64 2 (*.f64 x y)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 x y)) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 x y)) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (*.f64 2 (*.f64 x y)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 x y)) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 x y)) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(pow.f64 x 2)
(pow.f64 y 2)
(pow.f64 y 2)
(pow.f64 y 2)
(pow.f64 x 2)
(pow.f64 x 2)
(-.f64 (+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) 0)
(+.f64 (*.f64 2 (*.f64 x y)) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(*.f64 (+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) 1)
(+.f64 (*.f64 2 (*.f64 x y)) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(*.f64 1 (+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2))))
(+.f64 (*.f64 2 (*.f64 x y)) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(/.f64 (+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) 1)
(+.f64 (*.f64 2 (*.f64 x y)) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(pow.f64 (+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2))) 1)
(+.f64 (*.f64 2 (*.f64 x y)) (+.f64 (pow.f64 x 2) (pow.f64 y 2)))
(-.f64 (+.f64 (pow.f64 y 2) (pow.f64 x 2)) 0)
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(*.f64 (+.f64 (pow.f64 y 2) (pow.f64 x 2)) 1)
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(*.f64 1 (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(/.f64 (+.f64 (pow.f64 y 2) (pow.f64 x 2)) 1)
(+.f64 (pow.f64 x 2) (pow.f64 y 2))
(pow.f64 (+.f64 (pow.f64 y 2) (pow.f64 x 2)) 1)
(+.f64 (pow.f64 x 2) (pow.f64 y 2))

localize13.0ms (1.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2))
Compiler

Compiled 25 to 16 computations (36% saved)

series1.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
0.0ms
y
@0
(+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2))
0.0ms
y
@inf
(+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2))
0.0ms
x
@0
(+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2))
0.0ms
x
@inf
(+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2))
0.0ms
y
@-inf
(+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2))

rewrite14.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
32×rational_best-simplify-2
22×rational_best-simplify-1
20×rational_best-4
20×rational_best-2
20×rational_best-3
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0925
16125
29725
310625
410825
Stop Event
saturated
Counts
1 → 5
Calls
Call 1
Inputs
(+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2)) 1)))))

simplify16.0ms (1.4%)

Algorithm
egg-herbie
Rules
14×rational_best-simplify-2
rational_best-simplify-44
rational_best-simplify-1
rational_best-simplify-5
rational_best-simplify-4
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
019635
125635
232635
333635
Stop Event
saturated
Counts
29 → 12
Calls
Call 1
Inputs
(pow.f64 x 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(-.f64 (+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2)) 0)
(*.f64 (+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2)) 1)
(*.f64 1 (+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2)))
(/.f64 (+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2)) 1)
(pow.f64 (+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2)) 1)
Outputs
(pow.f64 x 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (*.f64 2 (*.f64 x y)))
(+.f64 (pow.f64 x 2) (*.f64 x (*.f64 2 y)))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (*.f64 2 (*.f64 x y)))
(+.f64 (pow.f64 x 2) (*.f64 x (*.f64 2 y)))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (*.f64 2 (*.f64 x y)))
(+.f64 (pow.f64 x 2) (*.f64 x (*.f64 2 y)))
(*.f64 2 (*.f64 y x))
(*.f64 2 (*.f64 x y))
(*.f64 x (*.f64 2 y))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (*.f64 2 (*.f64 x y)))
(+.f64 (pow.f64 x 2) (*.f64 x (*.f64 2 y)))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (*.f64 2 (*.f64 x y)))
(+.f64 (pow.f64 x 2) (*.f64 x (*.f64 2 y)))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (*.f64 2 (*.f64 x y)))
(+.f64 (pow.f64 x 2) (*.f64 x (*.f64 2 y)))
(*.f64 2 (*.f64 y x))
(*.f64 2 (*.f64 x y))
(*.f64 x (*.f64 2 y))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (*.f64 2 (*.f64 x y)))
(+.f64 (pow.f64 x 2) (*.f64 x (*.f64 2 y)))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (*.f64 2 (*.f64 x y)))
(+.f64 (pow.f64 x 2) (*.f64 x (*.f64 2 y)))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (*.f64 2 (*.f64 x y)))
(+.f64 (pow.f64 x 2) (*.f64 x (*.f64 2 y)))
(*.f64 2 (*.f64 y x))
(*.f64 2 (*.f64 x y))
(*.f64 x (*.f64 2 y))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (*.f64 2 (*.f64 x y)))
(+.f64 (pow.f64 x 2) (*.f64 x (*.f64 2 y)))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (*.f64 2 (*.f64 x y)))
(+.f64 (pow.f64 x 2) (*.f64 x (*.f64 2 y)))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (*.f64 2 (*.f64 x y)))
(+.f64 (pow.f64 x 2) (*.f64 x (*.f64 2 y)))
(pow.f64 x 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (*.f64 2 (*.f64 x y)))
(+.f64 (pow.f64 x 2) (*.f64 x (*.f64 2 y)))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (*.f64 2 (*.f64 x y)))
(+.f64 (pow.f64 x 2) (*.f64 x (*.f64 2 y)))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (*.f64 2 (*.f64 x y)))
(+.f64 (pow.f64 x 2) (*.f64 x (*.f64 2 y)))
(pow.f64 x 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (*.f64 2 (*.f64 x y)))
(+.f64 (pow.f64 x 2) (*.f64 x (*.f64 2 y)))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (*.f64 2 (*.f64 x y)))
(+.f64 (pow.f64 x 2) (*.f64 x (*.f64 2 y)))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (*.f64 2 (*.f64 x y)))
(+.f64 (pow.f64 x 2) (*.f64 x (*.f64 2 y)))
(-.f64 (+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2)) 0)
(+.f64 (pow.f64 x 2) (*.f64 2 (*.f64 x y)))
(+.f64 (pow.f64 x 2) (*.f64 x (*.f64 2 y)))
(*.f64 (+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2)) 1)
(+.f64 (pow.f64 x 2) (*.f64 2 (*.f64 x y)))
(+.f64 (pow.f64 x 2) (*.f64 x (*.f64 2 y)))
(*.f64 1 (+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2)))
(+.f64 (pow.f64 x 2) (*.f64 2 (*.f64 x y)))
(+.f64 (pow.f64 x 2) (*.f64 x (*.f64 2 y)))
(/.f64 (+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2)) 1)
(+.f64 (pow.f64 x 2) (*.f64 2 (*.f64 x y)))
(+.f64 (pow.f64 x 2) (*.f64 x (*.f64 2 y)))
(pow.f64 (+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2)) 1)
(+.f64 (pow.f64 x 2) (*.f64 2 (*.f64 x y)))
(+.f64 (pow.f64 x 2) (*.f64 x (*.f64 2 y)))

localize10.0ms (0.9%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (pow.f64 y 2) (*.f64 y (*.f64 2 x)))
Compiler

Compiled 25 to 16 computations (36% saved)

series1.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
0.0ms
y
@0
(+.f64 (pow.f64 y 2) (*.f64 y (*.f64 2 x)))
0.0ms
x
@inf
(+.f64 (pow.f64 y 2) (*.f64 y (*.f64 2 x)))
0.0ms
y
@-inf
(+.f64 (pow.f64 y 2) (*.f64 y (*.f64 2 x)))
0.0ms
y
@inf
(+.f64 (pow.f64 y 2) (*.f64 y (*.f64 2 x)))
0.0ms
x
@-inf
(+.f64 (pow.f64 y 2) (*.f64 y (*.f64 2 x)))

rewrite22.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
32×rational_best-simplify-2
22×rational_best-simplify-1
20×rational_best-4
20×rational_best-2
20×rational_best-3
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0925
16125
29725
310625
410825
Stop Event
saturated
Counts
1 → 5
Calls
Call 1
Inputs
(+.f64 (pow.f64 y 2) (*.f64 y (*.f64 2 x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (pow.f64 y 2) (*.f64 x (*.f64 y 2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 y 2) (*.f64 x (*.f64 y 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (pow.f64 y 2) (*.f64 x (*.f64 y 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 y 2) (*.f64 x (*.f64 y 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (pow.f64 y 2) (*.f64 x (*.f64 y 2))) 1)))))

simplify20.0ms (1.8%)

Algorithm
egg-herbie
Rules
14×rational_best-simplify-2
rational_best-simplify-44
rational_best-simplify-1
rational_best-simplify-5
rational_best-simplify-4
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
019635
129635
233635
Stop Event
saturated
Counts
29 → 9
Calls
Call 1
Inputs
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(pow.f64 y 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(pow.f64 y 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(pow.f64 y 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(-.f64 (+.f64 (pow.f64 y 2) (*.f64 x (*.f64 y 2))) 0)
(*.f64 (+.f64 (pow.f64 y 2) (*.f64 x (*.f64 y 2))) 1)
(*.f64 1 (+.f64 (pow.f64 y 2) (*.f64 x (*.f64 y 2))))
(/.f64 (+.f64 (pow.f64 y 2) (*.f64 x (*.f64 y 2))) 1)
(pow.f64 (+.f64 (pow.f64 y 2) (*.f64 x (*.f64 y 2))) 1)
Outputs
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 (*.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 (*.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 (*.f64 y x)))
(pow.f64 y 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 (*.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 (*.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 (*.f64 y x)))
(pow.f64 y 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 (*.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 (*.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 (*.f64 y x)))
(pow.f64 y 2)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 (*.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 (*.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 (*.f64 y x)))
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 (*.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 (*.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 (*.f64 y x)))
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 (*.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 (*.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 (*.f64 y x)))
(-.f64 (+.f64 (pow.f64 y 2) (*.f64 x (*.f64 y 2))) 0)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 (*.f64 y x)))
(*.f64 (+.f64 (pow.f64 y 2) (*.f64 x (*.f64 y 2))) 1)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 (*.f64 y x)))
(*.f64 1 (+.f64 (pow.f64 y 2) (*.f64 x (*.f64 y 2))))
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 (*.f64 y x)))
(/.f64 (+.f64 (pow.f64 y 2) (*.f64 x (*.f64 y 2))) 1)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 (*.f64 y x)))
(pow.f64 (+.f64 (pow.f64 y 2) (*.f64 x (*.f64 y 2))) 1)
(+.f64 (*.f64 2 (*.f64 y x)) (pow.f64 y 2))
(+.f64 (pow.f64 y 2) (*.f64 2 (*.f64 y x)))

eval8.0ms (0.8%)

Compiler

Compiled 414 to 282 computations (31.9% saved)

prune7.0ms (0.6%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New39140
Fresh000
Picked011
Done033
Total39544
Error
0.0b
Counts
44 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
28.7b
(+.f64 (pow.f64 y 2) (*.f64 y (*.f64 2 x)))
26.0b
(+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2))
0.0b
(+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
0.0b
(*.f64 (+.f64 x y) (+.f64 x y))
54.3b
(*.f64 2 (*.f64 y x))
Compiler

Compiled 53 to 36 computations (32.1% saved)

localize4.0ms (0.4%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 2 (*.f64 y x))
Compiler

Compiled 13 to 6 computations (53.8% saved)

series1.0ms (0.1%)

Counts
1 → 0
Calls

6 calls:

TimeVariablePointExpression
0.0ms
y
@0
(*.f64 2 (*.f64 y x))
0.0ms
x
@inf
(*.f64 2 (*.f64 y x))
0.0ms
x
@0
(*.f64 2 (*.f64 y x))
0.0ms
y
@inf
(*.f64 2 (*.f64 y x))
0.0ms
x
@-inf
(*.f64 2 (*.f64 y x))

rewrite13.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
28×rational_best-simplify-2
16×rational_best-4
16×rational_best-2
16×rational_best-3
16×rational_best-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
14813
27913
38913
49113
Stop Event
saturated
Counts
1 → 5
Calls
Call 1
Inputs
(*.f64 2 (*.f64 y x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 2 (*.f64 y x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 2 (*.f64 y x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 2 (*.f64 y x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 y x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (*.f64 y x)) 1)))))

simplify17.0ms (1.6%)

Algorithm
egg-herbie
Rules
24×rational_best-simplify-2
12×rational_best-simplify-47
12×rational_best-simplify-6
rational_best-simplify-44
rational_best-simplify-4
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01465
11965
23065
33965
44465
54565
Stop Event
saturated
Counts
5 → 6
Calls
Call 1
Inputs
(+.f64 (*.f64 2 (*.f64 y x)) 0)
(+.f64 0 (*.f64 2 (*.f64 y x)))
(-.f64 (*.f64 2 (*.f64 y x)) 0)
(/.f64 (*.f64 2 (*.f64 y x)) 1)
(pow.f64 (*.f64 2 (*.f64 y x)) 1)
Outputs
(+.f64 (*.f64 2 (*.f64 y x)) 0)
(*.f64 2 (*.f64 y x))
(+.f64 0 (*.f64 2 (*.f64 y x)))
(*.f64 2 (*.f64 y x))
(-.f64 (*.f64 2 (*.f64 y x)) 0)
(*.f64 2 (*.f64 y x))
(/.f64 (*.f64 2 (*.f64 y x)) 1)
(*.f64 2 (*.f64 y x))
(pow.f64 (*.f64 2 (*.f64 y x)) 1)
(*.f64 2 (*.f64 y x))

eval1.0ms (0.1%)

Compiler

Compiled 42 to 25 computations (40.5% saved)

prune3.0ms (0.3%)

Pruning

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New606
Fresh000
Picked011
Done044
Total6511
Error
0.0b
Counts
11 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
28.7b
(+.f64 (pow.f64 y 2) (*.f64 y (*.f64 2 x)))
26.0b
(+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2))
0.0b
(+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
0.0b
(*.f64 (+.f64 x y) (+.f64 x y))
54.3b
(*.f64 2 (*.f64 y x))
Compiler

Compiled 53 to 36 computations (32.1% saved)

regimes23.0ms (2.1%)

Counts
5 → 1
Calls
Call 1
Inputs
(*.f64 2 (*.f64 y x))
(*.f64 (+.f64 x y) (+.f64 x y))
(+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (*.f64 y (*.f64 2 x)))
(+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
Outputs
(+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
Calls

4 calls:

9.0ms
(*.f64 (+.f64 x y) (+.f64 x y))
4.0ms
(+.f64 x y)
4.0ms
y
4.0ms
x
Results
ErrorSegmentsBranch
0.0b1x
0.0b1y
0.0b1(*.f64 (+.f64 x y) (+.f64 x y))
0.0b1(+.f64 x y)
Compiler

Compiled 65 to 39 computations (40% saved)

regimes16.0ms (1.5%)

Accuracy

Total -54.3b remaining (-198599%)

Threshold costs -54.3b (-198599%)

Counts
4 → 1
Calls
Call 1
Inputs
(*.f64 2 (*.f64 y x))
(*.f64 (+.f64 x y) (+.f64 x y))
(+.f64 (*.f64 y (*.f64 2 x)) (pow.f64 x 2))
(+.f64 (pow.f64 y 2) (*.f64 y (*.f64 2 x)))
Outputs
(*.f64 (+.f64 x y) (+.f64 x y))
Calls

4 calls:

4.0ms
x
4.0ms
(+.f64 x y)
4.0ms
y
3.0ms
(*.f64 (+.f64 x y) (+.f64 x y))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1y
0.0b1(*.f64 (+.f64 x y) (+.f64 x y))
0.0b1(+.f64 x y)
Compiler

Compiled 52 to 30 computations (42.3% saved)

simplify2.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01569
Stop Event
done
saturated
Calls
Call 1
Inputs
(+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(*.f64 (+.f64 x y) (+.f64 x y))
(*.f64 2 (*.f64 y x))
Outputs
(+.f64 (*.f64 y (*.f64 2 x)) (+.f64 (pow.f64 y 2) (pow.f64 x 2)))
(*.f64 (+.f64 x y) (+.f64 x y))
(*.f64 2 (*.f64 y x))
Compiler

Compiled 31 to 20 computations (35.5% saved)

soundness17.0ms (1.6%)

Algorithm
egg-herbie
Rules
32×rational_best-simplify-2
32×rational_best-simplify-1
14×rational_best-simplify-47
12×rational_best-simplify-44
rational_best-simplify-49
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
031826
150826
271826
399826
4116826
5120826
6124826
7128826
Stop Event
saturated
Compiler

Compiled 28 to 20 computations (28.6% saved)

end25.0ms (2.2%)

Remove

(sort x y)

Compiler

Compiled 57 to 38 computations (33.3% saved)

Profiling

Loading profile data...