Details

Time bar (total: 2.0s)

analyze156.0ms (7.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
25%62.4%12.6%6
37.5%50%12.6%7
46.8%37.5%15.7%8
53.1%30.4%16.5%9
58.5%20.7%20.8%10
62%16.2%21.8%11
65%10.8%24.2%12
66.8%8.3%24.8%13
68.3%5.5%26.1%14
Compiler

Compiled 12 to 8 computations (33.3% saved)

sample1.1s (55.6%)

Results
1.1s8256×body128valid
21.0ms232×body128invalid

preprocess38.0ms (1.9%)

Algorithm
egg-herbie
Rules
513×fma-def_binary64
355×fma-neg_binary64
110×distribute-rgt-in_binary64
92×cancel-sign-sub-inv_binary64
84×unsub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01220
13320
27120
316120
430720
551920
699920
7143820
8189220
9204220
10204420
11204420
022
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
Call 2
Inputs
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
(*.f64 2 (-.f64 (*.f64 y y) (*.f64 y x)))
Outputs
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
(*.f64 2 (*.f64 x (-.f64 x y)))
(*.f64 (*.f64 2 x) (-.f64 x y))
(*.f64 x (*.f64 2 (-.f64 x y)))
(*.f64 (*.f64 x -2) (-.f64 y x))
(*.f64 2 (-.f64 (*.f64 y y) (*.f64 y x)))
(*.f64 2 (*.f64 y (-.f64 y x)))
(*.f64 (*.f64 2 y) (-.f64 y x))
(*.f64 y (*.f64 2 (-.f64 y x)))
Compiler

Compiled 11 to 7 computations (36.4% saved)

simplify23.0ms (1.1%)

Algorithm
egg-herbie
Rules
382×fma-def_binary64
286×fma-neg_binary64
71×associate-*l*_binary64
71×distribute-rgt-in_binary64
66×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
11810
24310
310210
420710
529410
650210
787110
8125110
9144810
10149810
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
Outputs
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
(*.f64 2 (*.f64 x (-.f64 x y)))
(*.f64 x (*.f64 (-.f64 x y) 2))
(*.f64 (-.f64 x y) (*.f64 2 x))
(*.f64 (*.f64 x -2) (-.f64 y x))

eval1.0ms (0%)

Compiler

Compiled 18 to 11 computations (38.9% saved)

prune2.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
0.0b
(*.f64 (*.f64 x -2) (-.f64 y x))
Compiler

Compiled 40 to 26 computations (35% saved)

localize5.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

series6.0ms (0.3%)

Counts
2 → 48
Calls

12 calls:

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

rewrite54.0ms (2.8%)

Algorithm
batch-egg-rewrite
Rules
885×log1p-expm1-u_binary64
885×expm1-log1p-u_binary64
93×add-sqr-sqrt_binary64
90×*-un-lft-identity_binary64
90×pow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0817
118317
2247317
Stop Event
node limit
Counts
2 → 74
Calls
Call 1
Inputs
(-.f64 (*.f64 x x) (*.f64 x y))
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 y (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 (*.f64 y (neg.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (+.f64 (*.f64 y (neg.f64 x)) (fma.f64 (neg.f64 y) x (*.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (-.f64 x y)) (fma.f64 (neg.f64 y) x (*.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (-.f64 x y)) (fma.f64 (neg.f64 x) y (*.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (-.f64 x y)) (fma.f64 (*.f64 y (neg.f64 x)) 1 (*.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (-.f64 x y)) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 x y))) (pow.f64 (cbrt.f64 (*.f64 x y)) 2) (*.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (-.f64 x y)) (fma.f64 (neg.f64 (sqrt.f64 (*.f64 x y))) (sqrt.f64 (*.f64 x y)) (*.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (-.f64 x y)) (*.f64 (fma.f64 (neg.f64 y) x (*.f64 x y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (-.f64 x y)) (+.f64 (fma.f64 (neg.f64 y) x (*.f64 x y)) (fma.f64 (neg.f64 y) x (*.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (neg.f64 y) x (*.f64 x y)) (*.f64 x (-.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 y (neg.f64 x)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (-.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (-.f64 x y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (-.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (-.f64 x y))) (pow.f64 (cbrt.f64 (*.f64 x (-.f64 x y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (-.f64 x y))) 2) (cbrt.f64 (*.f64 x (-.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (-.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (-.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (-.f64 x y))) (sqrt.f64 (*.f64 x (-.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 6) (pow.f64 (*.f64 x y) 3)) (/.f64 1 (+.f64 (pow.f64 x 4) (*.f64 (*.f64 x y) (*.f64 x (+.f64 x y))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x y) 2)) (/.f64 1 (*.f64 x (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 x y) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x (sqrt.f64 (*.f64 x y))) (-.f64 x (sqrt.f64 (*.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (*.f64 (*.f64 x y) (*.f64 x (+.f64 x y)))) (-.f64 (pow.f64 x 6) (pow.f64 (*.f64 x y) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 x (+.f64 x y)) (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 6) (pow.f64 (*.f64 x y) 3)) (+.f64 (pow.f64 x 4) (*.f64 (*.f64 x y) (*.f64 x (+.f64 x y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x y) 2)) (*.f64 x (+.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 6) (pow.f64 (*.f64 x y) 3))) (neg.f64 (+.f64 (pow.f64 x 4) (*.f64 (*.f64 x y) (*.f64 x (+.f64 x y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x y) 2))) (neg.f64 (*.f64 x (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (pow.f64 (*.f64 y (neg.f64 x)) 3)) (+.f64 (pow.f64 x 4) (-.f64 (*.f64 (*.f64 y (neg.f64 x)) (*.f64 y (neg.f64 x))) (*.f64 (*.f64 x x) (*.f64 y (neg.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (-.f64 x y)) 3) (pow.f64 (fma.f64 (neg.f64 y) x (*.f64 x y)) 3)) (+.f64 (pow.f64 (*.f64 x (-.f64 x y)) 2) (-.f64 (*.f64 (fma.f64 (neg.f64 y) x (*.f64 x y)) (fma.f64 (neg.f64 y) x (*.f64 x y))) (*.f64 (*.f64 x (-.f64 x y)) (fma.f64 (neg.f64 y) x (*.f64 x y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (*.f64 (*.f64 y (neg.f64 x)) (*.f64 y (neg.f64 x)))) (-.f64 (*.f64 x x) (*.f64 y (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x (-.f64 x y)) 2) (*.f64 (fma.f64 (neg.f64 y) x (*.f64 x y)) (fma.f64 (neg.f64 y) x (*.f64 x y)))) (-.f64 (*.f64 x (-.f64 x y)) (fma.f64 (neg.f64 y) x (*.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (-.f64 x y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (-.f64 x y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (-.f64 x y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (-.f64 x y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (-.f64 x y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (-.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (-.f64 x y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (-.f64 x y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x (*.f64 y (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (-.f64 x y) (fma.f64 (neg.f64 y) x (*.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) (*.f64 y (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x (-.f64 x y)) (fma.f64 (neg.f64 y) x (*.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x (-.f64 x y))) 2) (cbrt.f64 (*.f64 x (-.f64 x y))) (fma.f64 (neg.f64 y) x (*.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) (*.f64 y (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x (-.f64 x y))) (sqrt.f64 (*.f64 x (-.f64 x y))) (fma.f64 (neg.f64 y) x (*.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (-.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (-.f64 x y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (-.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (-.f64 x y))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 (-.f64 x y) 2)) (*.f64 (fma.f64 (neg.f64 y) x (*.f64 x y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 (-.f64 x y) 2)) (*.f64 2 (fma.f64 (neg.f64 y) x (*.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) 2) (*.f64 (*.f64 y (neg.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 2 (*.f64 x x)) (*.f64 2 (*.f64 y (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (*.f64 (-.f64 x y) 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (pow.f64 x 6) (pow.f64 (*.f64 x y) 3)) 2) (+.f64 (pow.f64 x 4) (*.f64 (*.f64 x y) (*.f64 x (+.f64 x y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x y) 2)) 2) (*.f64 x (+.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (-.f64 (pow.f64 x 6) (pow.f64 (*.f64 x y) 3))) (+.f64 (pow.f64 x 4) (*.f64 (*.f64 x y) (*.f64 x (+.f64 x y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x y) 2))) (*.f64 x (+.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 (-.f64 x y) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (*.f64 (-.f64 x y) 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 (-.f64 x y) 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (*.f64 (-.f64 x y) 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 (*.f64 x (-.f64 x y)) 2) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 x) (-.f64 x y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (*.f64 (-.f64 x y) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (*.f64 (-.f64 x y) 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 (-.f64 x y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (*.f64 (-.f64 x y) 2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 (-.f64 x y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 (-.f64 x y) 2))))))))

simplify85.0ms (4.3%)

Algorithm
egg-herbie
Rules
821×fma-neg_binary64
337×fma-def_binary64
252×associate-*l*_binary64
244×cancel-sign-sub-inv_binary64
242×unswap-sqr_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
013540
130486
274432
3159396
4400396
51209396
62375396
73841396
Stop Event
node limit
Counts
122 → 85
Calls
Call 1
Inputs
(*.f64 -1 (*.f64 y x))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(pow.f64 x 2)
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(*.f64 -1 (*.f64 y x))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(*.f64 -1 (*.f64 y x))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(*.f64 -2 (*.f64 y x))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(*.f64 -2 (*.f64 y x))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(*.f64 -2 (*.f64 y x))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
Outputs
(*.f64 -1 (*.f64 y x))
(neg.f64 (*.f64 y x))
(*.f64 y (neg.f64 x))
(*.f64 x (neg.f64 y))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x))
(*.f64 x (+.f64 x (neg.f64 y)))
(*.f64 x (-.f64 x y))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x))
(*.f64 x (+.f64 x (neg.f64 y)))
(*.f64 x (-.f64 x y))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x))
(*.f64 x (+.f64 x (neg.f64 y)))
(*.f64 x (-.f64 x y))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x))
(*.f64 x (+.f64 x (neg.f64 y)))
(*.f64 x (-.f64 x y))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x))
(*.f64 x (+.f64 x (neg.f64 y)))
(*.f64 x (-.f64 x y))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x))
(*.f64 x (+.f64 x (neg.f64 y)))
(*.f64 x (-.f64 x y))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x))
(*.f64 x (+.f64 x (neg.f64 y)))
(*.f64 x (-.f64 x y))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x))
(*.f64 x (+.f64 x (neg.f64 y)))
(*.f64 x (-.f64 x y))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x))
(*.f64 x (+.f64 x (neg.f64 y)))
(*.f64 x (-.f64 x y))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x))
(*.f64 x (+.f64 x (neg.f64 y)))
(*.f64 x (-.f64 x y))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x))
(*.f64 x (+.f64 x (neg.f64 y)))
(*.f64 x (-.f64 x y))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x))
(*.f64 x (+.f64 x (neg.f64 y)))
(*.f64 x (-.f64 x y))
(*.f64 -1 (*.f64 y x))
(neg.f64 (*.f64 y x))
(*.f64 y (neg.f64 x))
(*.f64 x (neg.f64 y))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x))
(*.f64 x (+.f64 x (neg.f64 y)))
(*.f64 x (-.f64 x y))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x))
(*.f64 x (+.f64 x (neg.f64 y)))
(*.f64 x (-.f64 x y))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x))
(*.f64 x (+.f64 x (neg.f64 y)))
(*.f64 x (-.f64 x y))
(*.f64 -1 (*.f64 y x))
(neg.f64 (*.f64 y x))
(*.f64 y (neg.f64 x))
(*.f64 x (neg.f64 y))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x))
(*.f64 x (+.f64 x (neg.f64 y)))
(*.f64 x (-.f64 x y))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x))
(*.f64 x (+.f64 x (neg.f64 y)))
(*.f64 x (-.f64 x y))
(+.f64 (pow.f64 x 2) (*.f64 -1 (*.f64 y x)))
(+.f64 (neg.f64 (*.f64 y x)) (*.f64 x x))
(*.f64 x (+.f64 x (neg.f64 y)))
(*.f64 x (-.f64 x y))
(*.f64 -2 (*.f64 y x))
(*.f64 (*.f64 -2 y) x)
(*.f64 y (*.f64 x -2))
(*.f64 x (*.f64 y -2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 (*.f64 -2 y) x))
(fma.f64 2 (*.f64 x x) (*.f64 y (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 y -2) (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 y -2)))
(*.f64 x (fma.f64 y -2 (*.f64 x 2)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 (*.f64 -2 y) x))
(fma.f64 2 (*.f64 x x) (*.f64 y (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 y -2) (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 y -2)))
(*.f64 x (fma.f64 y -2 (*.f64 x 2)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 (*.f64 -2 y) x))
(fma.f64 2 (*.f64 x x) (*.f64 y (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 y -2) (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 y -2)))
(*.f64 x (fma.f64 y -2 (*.f64 x 2)))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 (*.f64 -2 y) x))
(fma.f64 2 (*.f64 x x) (*.f64 y (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 y -2) (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 y -2)))
(*.f64 x (fma.f64 y -2 (*.f64 x 2)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 (*.f64 -2 y) x))
(fma.f64 2 (*.f64 x x) (*.f64 y (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 y -2) (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 y -2)))
(*.f64 x (fma.f64 y -2 (*.f64 x 2)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 (*.f64 -2 y) x))
(fma.f64 2 (*.f64 x x) (*.f64 y (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 y -2) (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 y -2)))
(*.f64 x (fma.f64 y -2 (*.f64 x 2)))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 (*.f64 -2 y) x))
(fma.f64 2 (*.f64 x x) (*.f64 y (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 y -2) (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 y -2)))
(*.f64 x (fma.f64 y -2 (*.f64 x 2)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 (*.f64 -2 y) x))
(fma.f64 2 (*.f64 x x) (*.f64 y (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 y -2) (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 y -2)))
(*.f64 x (fma.f64 y -2 (*.f64 x 2)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 (*.f64 -2 y) x))
(fma.f64 2 (*.f64 x x) (*.f64 y (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 y -2) (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 y -2)))
(*.f64 x (fma.f64 y -2 (*.f64 x 2)))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 (*.f64 -2 y) x))
(fma.f64 2 (*.f64 x x) (*.f64 y (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 y -2) (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 y -2)))
(*.f64 x (fma.f64 y -2 (*.f64 x 2)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 (*.f64 -2 y) x))
(fma.f64 2 (*.f64 x x) (*.f64 y (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 y -2) (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 y -2)))
(*.f64 x (fma.f64 y -2 (*.f64 x 2)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 (*.f64 -2 y) x))
(fma.f64 2 (*.f64 x x) (*.f64 y (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 y -2) (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 y -2)))
(*.f64 x (fma.f64 y -2 (*.f64 x 2)))
(*.f64 -2 (*.f64 y x))
(*.f64 (*.f64 -2 y) x)
(*.f64 y (*.f64 x -2))
(*.f64 x (*.f64 y -2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 (*.f64 -2 y) x))
(fma.f64 2 (*.f64 x x) (*.f64 y (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 y -2) (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 y -2)))
(*.f64 x (fma.f64 y -2 (*.f64 x 2)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 (*.f64 -2 y) x))
(fma.f64 2 (*.f64 x x) (*.f64 y (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 y -2) (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 y -2)))
(*.f64 x (fma.f64 y -2 (*.f64 x 2)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 (*.f64 -2 y) x))
(fma.f64 2 (*.f64 x x) (*.f64 y (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 y -2) (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 y -2)))
(*.f64 x (fma.f64 y -2 (*.f64 x 2)))
(*.f64 -2 (*.f64 y x))
(*.f64 (*.f64 -2 y) x)
(*.f64 y (*.f64 x -2))
(*.f64 x (*.f64 y -2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 (*.f64 -2 y) x))
(fma.f64 2 (*.f64 x x) (*.f64 y (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 y -2) (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 y -2)))
(*.f64 x (fma.f64 y -2 (*.f64 x 2)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 (*.f64 -2 y) x))
(fma.f64 2 (*.f64 x x) (*.f64 y (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 y -2) (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 y -2)))
(*.f64 x (fma.f64 y -2 (*.f64 x 2)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 (*.f64 -2 y) x))
(fma.f64 2 (*.f64 x x) (*.f64 y (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 y -2) (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 y -2)))
(*.f64 x (fma.f64 y -2 (*.f64 x 2)))

eval21.0ms (1%)

Compiler

Compiled 1226 to 505 computations (58.8% saved)

prune158.0ms (8%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New84185
Fresh011
Picked101
Done000
Total85287
Error
0b
Counts
87 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(*.f64 (*.f64 x -2) (-.f64 y x))
0.0b
(*.f64 2 (fma.f64 x x (*.f64 y (neg.f64 x))))
Compiler

Compiled 40 to 26 computations (35% saved)

localize7.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 2 (fma.f64 x x (*.f64 y (neg.f64 x))))

series4.0ms (0.2%)

Counts
1 → 24
Calls

6 calls:

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

rewrite55.0ms (2.8%)

Algorithm
batch-egg-rewrite
Rules
672×pow1_binary64
618×add-log-exp_binary64
617×log1p-expm1-u_binary64
617×expm1-log1p-u_binary64
82×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0813
116411
2198911
Stop Event
node limit
Counts
1 → 14
Calls
Call 1
Inputs
(*.f64 2 (fma.f64 x x (*.f64 y (neg.f64 x))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) 2) (*.f64 (*.f64 x y) 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 2 (*.f64 x x)) (*.f64 2 (*.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 2 (fma.f64 x x (*.f64 x y))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (fma.f64 x x (*.f64 x y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 2 (fma.f64 x x (*.f64 x y))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2 (fma.f64 x x (*.f64 x y)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 2 (fma.f64 x x (*.f64 x y)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 4 (pow.f64 (fma.f64 x x (*.f64 x y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 2) (fma.f64 x x (*.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 2 (fma.f64 x x (*.f64 x y))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 2 (fma.f64 x x (*.f64 x y))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (fma.f64 x x (*.f64 x y)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (fma.f64 x x (*.f64 x y)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (fma.f64 x x (*.f64 x y)))))))))

simplify72.0ms (3.6%)

Algorithm
egg-herbie
Rules
775×sqr-pow_binary64
398×fabs-mul_binary64
386×cube-prod_binary64
381×pow-sqr_binary64
242×unswap-sqr_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
010294
122294
244276
394240
4228240
5643240
6977240
71416240
81520240
91655240
101824240
112067240
122382240
132752240
143206240
153781240
164491240
Stop Event
node limit
Counts
38 → 20
Calls
Call 1
Inputs
(*.f64 -2 (*.f64 y x))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(*.f64 -2 (*.f64 y x))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(*.f64 -2 (*.f64 y x))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
Outputs
(*.f64 -2 (*.f64 y x))
(*.f64 y (*.f64 x -2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(*.f64 -2 (*.f64 y x))
(*.f64 y (*.f64 x -2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(*.f64 -2 (*.f64 y x))
(*.f64 y (*.f64 x -2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))

eval5.0ms (0.3%)

Compiler

Compiled 193 to 98 computations (49.2% saved)

prune10.0ms (0.5%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New20020
Fresh011
Picked011
Done000
Total20222
Error
0b
Counts
22 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(*.f64 (*.f64 x -2) (-.f64 y x))
0.0b
(*.f64 2 (fma.f64 x x (*.f64 y (neg.f64 x))))
Compiler

Compiled 29 to 19 computations (34.5% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series6.0ms (0.3%)

Counts
1 → 24
Calls

6 calls:

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

rewrite37.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
831×pow1_binary64
774×log1p-expm1-u_binary64
774×expm1-log1p-u_binary64
80×add-sqr-sqrt_binary64
77×*-un-lft-identity_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
115310
2204610
Stop Event
node limit
Counts
1 → 21
Calls
Call 1
Inputs
(*.f64 (*.f64 x -2) (-.f64 y x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 y (*.f64 x -2)) (*.f64 (neg.f64 x) (*.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x -2) y) (*.f64 (*.f64 x -2) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (*.f64 -2 (-.f64 y x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (pow.f64 y 3) (pow.f64 x 3)) (*.f64 x -2)) (fma.f64 y y (*.f64 x (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (*.f64 y y) (*.f64 x x)) (*.f64 x -2)) (+.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 x -2) (-.f64 (pow.f64 y 3) (pow.f64 x 3))) (fma.f64 y y (*.f64 x (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 x -2) (-.f64 (*.f64 y y) (*.f64 x x))) (+.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 -2 (-.f64 y x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (*.f64 -2 (-.f64 y x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 -2 (-.f64 y x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (*.f64 -2 (-.f64 y x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (*.f64 -2 (-.f64 y x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (-.f64 y x)) (*.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (*.f64 -2 (-.f64 y x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (*.f64 -2 (-.f64 y x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x -2) 3) (pow.f64 (-.f64 y x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (-.f64 y x) 3) (pow.f64 (*.f64 x -2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 -2 (-.f64 y x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (*.f64 -2 (-.f64 y x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 -2 (-.f64 y x)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 -2 (-.f64 y x)))))))))

simplify71.0ms (3.6%)

Algorithm
egg-herbie
Rules
775×sqr-pow_binary64
398×fabs-mul_binary64
386×cube-prod_binary64
381×pow-sqr_binary64
242×unswap-sqr_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
010294
122294
244276
394240
4228240
5643240
6977240
71416240
81520240
91655240
101824240
112067240
122382240
132752240
143206240
153781240
164491240
Stop Event
node limit
Counts
45 → 27
Calls
Call 1
Inputs
(*.f64 -2 (*.f64 y x))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(*.f64 -2 (*.f64 y x))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(*.f64 -2 (*.f64 y x))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
Outputs
(*.f64 -2 (*.f64 y x))
(*.f64 y (*.f64 x -2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(*.f64 -2 (*.f64 y x))
(*.f64 y (*.f64 x -2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(*.f64 -2 (*.f64 y x))
(*.f64 y (*.f64 x -2))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 -2 (*.f64 y x)))
(fma.f64 2 (*.f64 x x) (*.f64 -2 (*.f64 y x)))
(fma.f64 -2 (*.f64 y x) (*.f64 x (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 -2 y) (*.f64 x 2)))
(*.f64 x (fma.f64 -2 y (*.f64 x 2)))
(*.f64 x (fma.f64 x 2 (*.f64 -2 y)))

eval8.0ms (0.4%)

Compiler

Compiled 288 to 168 computations (41.7% saved)

prune16.0ms (0.8%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New27027
Fresh000
Picked011
Done011
Total27229
Error
0b
Counts
29 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(*.f64 (*.f64 x -2) (-.f64 y x))
0.0b
(*.f64 2 (fma.f64 x x (*.f64 y (neg.f64 x))))
Compiler

Compiled 20 to 13 computations (35% saved)

regimes16.0ms (0.8%)

Accuracy

Total -0.0b remaining (-300%)

Threshold costs -0.0b (-300%)

Counts
3 → 1
Calls
Call 1
Inputs
(*.f64 2 (fma.f64 x x (*.f64 y (neg.f64 x))))
(*.f64 (*.f64 x -2) (-.f64 y x))
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
Outputs
(*.f64 2 (fma.f64 x x (*.f64 y (neg.f64 x))))
Results
TimeErrorSegmentsBranch
4.0ms0.0b1x
4.0ms0.0b1y
3.0ms0.0b1(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
3.0ms0.0b1(-.f64 (*.f64 x x) (*.f64 x y))
Compiler

Compiled 53 to 32 computations (39.6% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11613
22413
33013
43313
53413
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 2 (fma.f64 x x (*.f64 y (neg.f64 x))))
Outputs
(*.f64 2 (fma.f64 x x (*.f64 y (neg.f64 x))))

end14.0ms (0.7%)

Stop Event
done
Compiler

Compiled 22 to 14 computations (36.4% saved)

Profiling

Loading profile data...