Details

Time bar (total: 1.3s)

analyze140.0ms (11%)

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)

sample731.0ms (57.2%)

Results
695.0ms8256×body128valid
21.0ms258×body128invalid
Compiler

Compiled 24 to 16 computations (33.3% saved)

preprocess14.0ms (1.1%)

Algorithm
egg-herbie
Rules
30×fma-def_binary64
17×*-commutative_binary64
10×distribute-rgt-out_binary64
associate-*r*_binary64
associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01220
13820
27720
313020
413420
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 (+.f64 x y) (*.f64 2 x))
(*.f64 2 (+.f64 (*.f64 y y) (*.f64 y x)))
(*.f64 2 (*.f64 y (+.f64 y x)))
(*.f64 2 (*.f64 y (+.f64 x y)))
Compiler

Compiled 11 to 7 computations (36.4% saved)

simplify7.0ms (0.5%)

Algorithm
egg-herbie
Rules
17×fma-def_binary64
13×*-commutative_binary64
distribute-rgt-out_binary64
associate-*r*_binary64
associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
12010
24310
37410
47810
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)))

prune2.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (*.f64 x (+.f64 x y)))
0.0b
(*.f64 2 (+.f64 (*.f64 x x) (*.f64 x y)))
Compiler

Compiled 58 to 37 computations (36.2% saved)

localize7.0ms (0.5%)

Local error

Found 2 expressions with local error:

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

series6.0ms (0.5%)

Counts
2 → 48
Calls

12 calls:

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

rewrite49.0ms (3.8%)

Algorithm
batch-egg-rewrite
Rules
864×log1p-expm1-u_binary64
864×expm1-log1p-u_binary64
92×add-sqr-sqrt_binary64
89×*-un-lft-identity_binary64
89×pow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0817
117817
2244217
Stop Event
node limit
Counts
2 → 65
Calls
Call 1
Inputs
(*.f64 2 (+.f64 (*.f64 x x) (*.f64 x y)))
(+.f64 (*.f64 x x) (*.f64 x y))
Outputs
((#(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 (*.f64 2 (*.f64 x y)) (*.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 2 (*.f64 x x)) 1) (*.f64 (*.f64 2 (*.f64 x y)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (*.f64 2 x) (+.f64 x y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3) (pow.f64 (*.f64 2 (*.f64 x y)) 3)) (+.f64 (*.f64 (*.f64 2 (*.f64 x x)) (*.f64 2 (*.f64 x x))) (-.f64 (*.f64 (*.f64 2 (*.f64 x y)) (*.f64 2 (*.f64 x y))) (*.f64 (*.f64 2 (*.f64 x x)) (*.f64 2 (*.f64 x y))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 2 (*.f64 x x)) (*.f64 2 (*.f64 x x))) (*.f64 (*.f64 2 (*.f64 x y)) (*.f64 2 (*.f64 x y)))) (-.f64 (*.f64 2 (*.f64 x x)) (*.f64 2 (*.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 x 6) (pow.f64 (*.f64 x y) 3)) 2) (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 (*.f64 x y) 2)) (*.f64 (pow.f64 x 3) 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 (+.f64 (pow.f64 x 4) (pow.f64 (*.f64 x y) 2)) (*.f64 (pow.f64 x 3) 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 (*.f64 2 x) (+.f64 x y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (*.f64 2 x) (+.f64 x y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (*.f64 2 x) (+.f64 x y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (*.f64 2 x) (+.f64 x y))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 4 (pow.f64 (*.f64 x (+.f64 x y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (*.f64 2 x) (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (*.f64 2 x) (+.f64 x y)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (*.f64 2 x) (+.f64 x y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (*.f64 2 x) (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 2 x) (+.f64 x y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (*.f64 2 x) (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 (*.f64 x x) (*.f64 2 (*.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) 2 (*.f64 2 (*.f64 x y)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (*.f64 2 x) (+.f64 x y))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (+.f64 x y)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 x 4) (*.f64 x (-.f64 x y))) (/.f64 (pow.f64 (*.f64 x y) 2) (*.f64 x (-.f64 x y))))))) (#(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 (cbrt.f64 (*.f64 x x)) (*.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 (+.f64 (pow.f64 x 4) (pow.f64 (*.f64 x y) 2)) (*.f64 (pow.f64 x 3) 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 1 (/.f64 (-.f64 (+.f64 (pow.f64 x 4) (pow.f64 (*.f64 x y) 2)) (*.f64 (pow.f64 x 3) 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 (+.f64 (pow.f64 x 4) (pow.f64 (*.f64 x y) 2)) (*.f64 (pow.f64 x 3) y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (pow.f64 (*.f64 x y) 3)) (+.f64 (pow.f64 (*.f64 x y) 2) (-.f64 (pow.f64 x 4) (*.f64 (pow.f64 x 3) 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 (+.f64 (pow.f64 x 4) (pow.f64 (*.f64 x y) 2)) (*.f64 (pow.f64 x 3) 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 (*.f64 x y) 2) (pow.f64 x 4)) (-.f64 (*.f64 x y) (*.f64 x x)))))) (#(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 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 fma.f64 x x (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x y (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y x (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x y) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x y)) 2) (cbrt.f64 (*.f64 x y)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x y)) (sqrt.f64 (*.f64 x y)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (+.f64 x y))))))))

simplify90.0ms (7.1%)

Algorithm
egg-herbie
Rules
599×sqr-pow_binary64
386×cube-prod_binary64
344×fma-def_binary64
324×fabs-mul_binary64
274×pow-sqr_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
010408
125372
253372
3114372
4264372
5736372
61173372
71661372
81828372
91966372
102136372
112385372
122701372
133075372
143532372
154118372
164826372
Stop Event
node limit
Counts
113 → 75
Calls
Call 1
Inputs
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 y x)
(+.f64 (*.f64 y x) (pow.f64 x 2))
(+.f64 (*.f64 y x) (pow.f64 x 2))
(+.f64 (*.f64 y x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 y x) (pow.f64 x 2))
(+.f64 (*.f64 y x) (pow.f64 x 2))
(+.f64 (*.f64 y x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 y x) (pow.f64 x 2))
(+.f64 (*.f64 y x) (pow.f64 x 2))
(+.f64 (*.f64 y x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 y x) (pow.f64 x 2))
(+.f64 (*.f64 y x) (pow.f64 x 2))
(+.f64 (*.f64 y x) (pow.f64 x 2))
(*.f64 y x)
(+.f64 (*.f64 y x) (pow.f64 x 2))
(+.f64 (*.f64 y x) (pow.f64 x 2))
(+.f64 (*.f64 y x) (pow.f64 x 2))
(*.f64 y x)
(+.f64 (*.f64 y x) (pow.f64 x 2))
(+.f64 (*.f64 y x) (pow.f64 x 2))
(+.f64 (*.f64 y x) (pow.f64 x 2))
Outputs
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (fma.f64 y x (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (fma.f64 y x (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (fma.f64 y x (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 2 x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (fma.f64 y x (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (fma.f64 y x (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (fma.f64 y x (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 2 x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (fma.f64 y x (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (fma.f64 y x (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (fma.f64 y x (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 2 x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (fma.f64 y x (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (fma.f64 y x (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (fma.f64 y x (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (fma.f64 y x (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (fma.f64 y x (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (fma.f64 y x (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (fma.f64 y x (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (fma.f64 y x (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (fma.f64 y x (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 2 (+.f64 y x)))
(*.f64 y x)
(+.f64 (*.f64 y x) (pow.f64 x 2))
(fma.f64 y x (*.f64 x x))
(*.f64 x (+.f64 y x))
(+.f64 (*.f64 y x) (pow.f64 x 2))
(fma.f64 y x (*.f64 x x))
(*.f64 x (+.f64 y x))
(+.f64 (*.f64 y x) (pow.f64 x 2))
(fma.f64 y x (*.f64 x x))
(*.f64 x (+.f64 y x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 y x) (pow.f64 x 2))
(fma.f64 y x (*.f64 x x))
(*.f64 x (+.f64 y x))
(+.f64 (*.f64 y x) (pow.f64 x 2))
(fma.f64 y x (*.f64 x x))
(*.f64 x (+.f64 y x))
(+.f64 (*.f64 y x) (pow.f64 x 2))
(fma.f64 y x (*.f64 x x))
(*.f64 x (+.f64 y x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 y x) (pow.f64 x 2))
(fma.f64 y x (*.f64 x x))
(*.f64 x (+.f64 y x))
(+.f64 (*.f64 y x) (pow.f64 x 2))
(fma.f64 y x (*.f64 x x))
(*.f64 x (+.f64 y x))
(+.f64 (*.f64 y x) (pow.f64 x 2))
(fma.f64 y x (*.f64 x x))
(*.f64 x (+.f64 y x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 y x) (pow.f64 x 2))
(fma.f64 y x (*.f64 x x))
(*.f64 x (+.f64 y x))
(+.f64 (*.f64 y x) (pow.f64 x 2))
(fma.f64 y x (*.f64 x x))
(*.f64 x (+.f64 y x))
(+.f64 (*.f64 y x) (pow.f64 x 2))
(fma.f64 y x (*.f64 x x))
(*.f64 x (+.f64 y x))
(*.f64 y x)
(+.f64 (*.f64 y x) (pow.f64 x 2))
(fma.f64 y x (*.f64 x x))
(*.f64 x (+.f64 y x))
(+.f64 (*.f64 y x) (pow.f64 x 2))
(fma.f64 y x (*.f64 x x))
(*.f64 x (+.f64 y x))
(+.f64 (*.f64 y x) (pow.f64 x 2))
(fma.f64 y x (*.f64 x x))
(*.f64 x (+.f64 y x))
(*.f64 y x)
(+.f64 (*.f64 y x) (pow.f64 x 2))
(fma.f64 y x (*.f64 x x))
(*.f64 x (+.f64 y x))
(+.f64 (*.f64 y x) (pow.f64 x 2))
(fma.f64 y x (*.f64 x x))
(*.f64 x (+.f64 y x))
(+.f64 (*.f64 y x) (pow.f64 x 2))
(fma.f64 y x (*.f64 x x))
(*.f64 x (+.f64 y x))

prune37.0ms (2.9%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New74175
Fresh101
Picked011
Done000
Total75277
Error
0b
Counts
77 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (+.f64 (*.f64 x x) (*.f64 x y)))
0.0b
(*.f64 x (*.f64 2 (+.f64 y x)))
Compiler

Compiled 1034 to 540 computations (47.8% saved)

localize4.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

series4.0ms (0.3%)

Counts
1 → 24
Calls

6 calls:

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

rewrite37.0ms (2.9%)

Algorithm
batch-egg-rewrite
Rules
792×log1p-expm1-u_binary64
792×expm1-log1p-u_binary64
82×add-sqr-sqrt_binary64
79×*-un-lft-identity_binary64
79×pow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
115710
2218710
Stop Event
node limit
Counts
1 → 23
Calls
Call 1
Inputs
(*.f64 x (*.f64 2 (+.f64 y x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x 2) x) (*.f64 (*.f64 x 2) y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 2 y) x) (*.f64 (*.f64 x 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 x 2)) (*.f64 y (*.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 y (*.f64 x 2)) (*.f64 x (*.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 2 y)) (*.f64 x (*.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x 2) y) (*.f64 (*.f64 x 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 2 (*.f64 (+.f64 x y) x)))) 1)))) (#(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 y x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (*.f64 (+.f64 x y) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 2 (*.f64 (+.f64 x y) x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2 (*.f64 (+.f64 x y) x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 2 (*.f64 (+.f64 x y) x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 2 (*.f64 (+.f64 x y) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 2) (+.f64 x y)) x))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 2 (*.f64 (+.f64 x y) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 2 (*.f64 (+.f64 x y) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (*.f64 2 (+.f64 x y)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 2 (+.f64 x y)) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (*.f64 (+.f64 x y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 2 (*.f64 (+.f64 x y) x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (*.f64 (+.f64 x y) x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (*.f64 (+.f64 x y) x))))))))

simplify73.0ms (5.7%)

Algorithm
egg-herbie
Rules
599×sqr-pow_binary64
386×cube-prod_binary64
343×fma-def_binary64
324×fabs-mul_binary64
274×pow-sqr_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
09276
123222
250222
3108222
4257222
5745222
61187222
71675222
81842222
91978222
102151222
112398222
122716222
133090222
143549222
154129222
164839222
Stop Event
node limit
Counts
47 → 29
Calls
Call 1
Inputs
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (pow.f64 x 2))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (*.f64 y x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
Outputs
(*.f64 2 (*.f64 y x))
(*.f64 y (*.f64 x 2))
(*.f64 x (*.f64 2 y))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (+.f64 (*.f64 y x) (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 (+.f64 y x) 2))
(*.f64 (+.f64 y x) (*.f64 2 x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (+.f64 (*.f64 y x) (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 (+.f64 y x) 2))
(*.f64 (+.f64 y x) (*.f64 2 x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (+.f64 (*.f64 y x) (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 (+.f64 y x) 2))
(*.f64 (+.f64 y x) (*.f64 2 x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(*.f64 x (*.f64 2 x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (+.f64 (*.f64 y x) (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 (+.f64 y x) 2))
(*.f64 (+.f64 y x) (*.f64 2 x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (+.f64 (*.f64 y x) (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 (+.f64 y x) 2))
(*.f64 (+.f64 y x) (*.f64 2 x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (+.f64 (*.f64 y x) (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 (+.f64 y x) 2))
(*.f64 (+.f64 y x) (*.f64 2 x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(*.f64 x (*.f64 2 x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (+.f64 (*.f64 y x) (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 (+.f64 y x) 2))
(*.f64 (+.f64 y x) (*.f64 2 x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (+.f64 (*.f64 y x) (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 (+.f64 y x) 2))
(*.f64 (+.f64 y x) (*.f64 2 x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (+.f64 (*.f64 y x) (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 (+.f64 y x) 2))
(*.f64 (+.f64 y x) (*.f64 2 x))
(*.f64 2 (pow.f64 x 2))
(*.f64 2 (*.f64 x x))
(*.f64 x (*.f64 x 2))
(*.f64 x (*.f64 2 x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (+.f64 (*.f64 y x) (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 (+.f64 y x) 2))
(*.f64 (+.f64 y x) (*.f64 2 x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (+.f64 (*.f64 y x) (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 (+.f64 y x) 2))
(*.f64 (+.f64 y x) (*.f64 2 x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (+.f64 (*.f64 y x) (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 (+.f64 y x) 2))
(*.f64 (+.f64 y x) (*.f64 2 x))
(*.f64 2 (*.f64 y x))
(*.f64 y (*.f64 x 2))
(*.f64 x (*.f64 2 y))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (+.f64 (*.f64 y x) (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 (+.f64 y x) 2))
(*.f64 (+.f64 y x) (*.f64 2 x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (+.f64 (*.f64 y x) (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 (+.f64 y x) 2))
(*.f64 (+.f64 y x) (*.f64 2 x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (+.f64 (*.f64 y x) (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 (+.f64 y x) 2))
(*.f64 (+.f64 y x) (*.f64 2 x))
(*.f64 2 (*.f64 y x))
(*.f64 y (*.f64 x 2))
(*.f64 x (*.f64 2 y))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (+.f64 (*.f64 y x) (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 (+.f64 y x) 2))
(*.f64 (+.f64 y x) (*.f64 2 x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (+.f64 (*.f64 y x) (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 (+.f64 y x) 2))
(*.f64 (+.f64 y x) (*.f64 2 x))
(+.f64 (*.f64 2 (*.f64 y x)) (*.f64 2 (pow.f64 x 2)))
(*.f64 2 (+.f64 (*.f64 y x) (*.f64 x x)))
(*.f64 2 (*.f64 x (+.f64 y x)))
(*.f64 x (*.f64 (+.f64 y x) 2))
(*.f64 (+.f64 y x) (*.f64 2 x))

prune12.0ms (0.9%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New29029
Fresh000
Picked011
Done011
Total29231
Error
0b
Counts
31 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (+.f64 (*.f64 x x) (*.f64 x y)))
0.0b
(*.f64 x (*.f64 2 (+.f64 y x)))
Compiler

Compiled 314 to 184 computations (41.4% saved)

regimes29.0ms (2.3%)

Accuracy

Total 0.0b remaining (70.6%)

Threshold costs 0.0b (70.6%)

Counts
11 → 1
Compiler

Compiled 100 to 55 computations (45% saved)

simplify2.0ms (0.2%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
1911
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 2 (fma.f64 x x (*.f64 x y)))
Outputs
(*.f64 2 (fma.f64 x x (*.f64 x y)))

end34.0ms (2.7%)

Stop Event
done
Compiler

Compiled 40 to 25 computations (37.5% saved)

Profiling

Loading profile data...