Details

Time bar (total: 2.6s)

analyze74.0ms (2.8%)

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
Compiler

Compiled 12 to 8 computations (33.3% saved)

sample1.2s (47.3%)

Results
1.2s8256×body256valid
54.0ms455×body256invalid

preprocess18.0ms (0.7%)

Algorithm
egg-herbie
Rules
30×fma-def_binary64
19×*-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 2 (+.f64 (*.f64 y y) (*.f64 y x)))
(*.f64 2 (*.f64 y (+.f64 y x)))
(*.f64 2 (*.f64 y (+.f64 x y)))
Compiler

Compiled 13 to 9 computations (30.8% saved)

simplify7.0ms (0.3%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
12010
24310
37610
48010
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)))

eval1.0ms (0%)

Compiler

Compiled 18 to 11 computations (38.9% saved)

prune1.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 x (+.f64 x y)))
0.0b
(*.f64 2 (+.f64 (*.f64 x x) (*.f64 x y)))
Compiler

Compiled 20 to 13 computations (35% saved)

localize7.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

Compiled 20 to 7 computations (65% saved)

series6.0ms (0.2%)

Counts
1 → 24
Calls

6 calls:

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

rewrite55.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
644×pow1_binary64
601×add-log-exp_binary64
601×log1p-expm1-u_binary64
601×expm1-log1p-u_binary64
587×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify182.0ms (7%)

Algorithm
egg-herbie
Rules
1082×sqr-pow_binary64
560×cube-prod_binary64
555×fabs-mul_binary64
523×pow-sqr_binary64
481×fma-def_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
07168
115150
229150
351150
4110150
5303150
61037150
72189150
82536150
92728150
102938150
113246150
123657150
134138150
144712150
155406150
166250150
176647150
186935150
197211150
207283150
217319150
Stop Event
node limit
Counts
47 → 28
Calls
Call 1
Inputs
(*.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 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))

localize9.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

Compiled 27 to 8 computations (70.4% saved)

series3.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite58.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
715×pow1_binary64
667×add-log-exp_binary64
667×log1p-expm1-u_binary64
667×expm1-log1p-u_binary64
651×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
11327
218607
Stop Event
node limit
Counts
1 → 39
Calls
Call 1
Inputs
(+.f64 (*.f64 x x) (*.f64 x y))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.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 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.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 (sqrt.f64 x) (*.f64 (sqrt.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 (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 (pow.f64 x 4) (-.f64 (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 (pow.f64 x 4) (-.f64 (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 (pow.f64 x 4) (-.f64 (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 cbrt.f64 (pow.f64 (*.f64 x (+.f64 x y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 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 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 (cbrt.f64 (pow.f64 x 4)) (pow.f64 (cbrt.f64 x) 2) (*.f64 x y))))) (#(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 (sqrt.f64 (*.f64 x y)) (sqrt.f64 (*.f64 x y)) (*.f64 x x))))))

simplify176.0ms (6.7%)

Algorithm
egg-herbie
Rules
1082×sqr-pow_binary64
560×cube-prod_binary64
555×fabs-mul_binary64
523×pow-sqr_binary64
481×fma-def_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
07168
115150
229150
351150
4110150
5303150
61037150
72189150
82536150
92728150
102938150
113246150
123657150
134138150
144712150
155406150
166250150
176647150
186935150
197211150
207283150
217319150
Stop Event
node limit
Counts
63 → 44
Calls
Call 1
Inputs
(*.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 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))

eval19.0ms (0.7%)

Compiler

Compiled 923 to 436 computations (52.8% saved)

prune14.0ms (0.5%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New69372
Fresh000
Picked011
Done011
Total69574
Error
0b
Counts
74 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(*.f64 2 (fma.f64 x x (*.f64 x y)))
24.2b
(*.f64 2 (*.f64 y x))
32.8b
(*.f64 2 (*.f64 x x))
0.0b
(*.f64 2 (*.f64 x (+.f64 x y)))
0.0b
(*.f64 2 (+.f64 (*.f64 x x) (*.f64 x y)))
Compiler

Compiled 44 to 29 computations (34.1% saved)

localize5.0ms (0.2%)

Compiler

Compiled 12 to 6 computations (50% saved)

localize5.0ms (0.2%)

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)

series4.0ms (0.2%)

Counts
1 → 0
Calls

6 calls:

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

rewrite55.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
554×pow1_binary64
509×add-log-exp_binary64
509×log1p-expm1-u_binary64
509×expm1-log1p-u_binary64
499×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify7.0ms (0.3%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
11 → 11
Calls
Call 1
Inputs
Outputs

localize14.0ms (0.5%)

Local error

Found 1 expressions with local error:

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

Compiled 22 to 7 computations (68.2% saved)

series2.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite46.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
470×pow1_binary64
448×add-sqr-sqrt_binary64
443×*-un-lft-identity_binary64
430×add-log-exp_binary64
430×log1p-expm1-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
058
1987
211657
Stop Event
node limit
Counts
1 → 22
Calls
Call 1
Inputs
(fma.f64 x x (*.f64 x y))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x y) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) 1) (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (+.f64 x y))) 1)))) (#(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 (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 (*.f64 x x) 3) (pow.f64 (*.f64 x y) 3)) (+.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 (*.f64 x x) (*.f64 x y)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (pow.f64 (*.f64 x y) 2)) (-.f64 (*.f64 x 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 (exp.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 expm1.f64 (log1p.f64 (*.f64 x (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (+.f64 x y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (+.f64 x y))))))))

simplify180.0ms (6.9%)

Algorithm
egg-herbie
Rules
1082×sqr-pow_binary64
560×cube-prod_binary64
555×fabs-mul_binary64
523×pow-sqr_binary64
481×fma-def_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
07168
115150
229150
351150
4110150
5303150
61037150
72189150
82536150
92728150
102938150
113246150
123657150
134138150
144712150
155406150
166250150
176647150
186935150
197211150
207283150
217319150
Stop Event
node limit
Counts
46 → 27
Calls
Call 1
Inputs
(*.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 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))

eval7.0ms (0.3%)

Compiler

Compiled 386 to 183 computations (52.6% saved)

prune59.0ms (2.3%)

Pruning

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New38038
Fresh000
Picked011
Done044
Total38543
Error
0b
Counts
43 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(*.f64 2 (fma.f64 x x (*.f64 x y)))
24.2b
(*.f64 2 (*.f64 y x))
32.8b
(*.f64 2 (*.f64 x x))
0.0b
(*.f64 2 (*.f64 x (+.f64 x y)))
0.0b
(*.f64 2 (+.f64 (*.f64 x x) (*.f64 x y)))
Compiler

Compiled 44 to 29 computations (34.1% saved)

regimes145.0ms (5.6%)

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

4 calls:

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

Compiled 62 to 35 computations (43.5% saved)

regimes19.0ms (0.7%)

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

4 calls:

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

Compiled 54 to 32 computations (40.7% saved)

regimes45.0ms (1.7%)

Accuracy

Total -50.5b remaining (-962.5%)

Threshold costs -50.5b (-962.5%)

Counts
2 → 3
Calls
Call 1
Inputs
(*.f64 2 (*.f64 y x))
(*.f64 2 (*.f64 x x))
Outputs
(*.f64 2 (*.f64 y x))
(*.f64 2 (*.f64 x x))
(*.f64 2 (*.f64 y x))
Calls

2 calls:

35.0ms
x
9.0ms
y
Results
ErrorSegmentsBranch
14.4b3x
5.3b3y
Compiler

Compiled 18 to 12 computations (33.3% saved)

bsearch69.0ms (2.6%)

Algorithm
binary-search
Steps
TimeLeftRight
52.0ms
3.2432932898030587e-46
1.6356912813024357e-45
16.0ms
-4.931444894199347e-45
-1.2443640751915052e-45
Compiler

Compiled 16 to 11 computations (31.3% saved)

simplify6.0ms (0.2%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02161
12861
Stop Event
done
saturated
Calls
Call 1
Inputs
(*.f64 2 (fma.f64 x x (*.f64 x y)))
(*.f64 2 (*.f64 x (+.f64 x y)))
(if (<=.f64 y -3962263206827841/803469022129495137770981046170581301261101496891396417650688) (*.f64 2 (*.f64 y x)) (if (<=.f64 y 4169417100859547/12855504354071922204335696738729300820177623950262342682411008) (*.f64 2 (*.f64 x x)) (*.f64 2 (*.f64 y x))))
(*.f64 2 (*.f64 y x))
Outputs
(*.f64 2 (fma.f64 x x (*.f64 x y)))
(*.f64 2 (*.f64 x (+.f64 x y)))
(if (<=.f64 y -3962263206827841/803469022129495137770981046170581301261101496891396417650688) (*.f64 2 (*.f64 y x)) (if (<=.f64 y 4169417100859547/12855504354071922204335696738729300820177623950262342682411008) (*.f64 2 (*.f64 x x)) (*.f64 2 (*.f64 y x))))
(if (<=.f64 y -3962263206827841/803469022129495137770981046170581301261101496891396417650688) (*.f64 2 (*.f64 x y)) (if (<=.f64 y 4169417100859547/12855504354071922204335696738729300820177623950262342682411008) (*.f64 2 (*.f64 x x)) (*.f64 2 (*.f64 x y))))
(*.f64 2 (*.f64 y x))
(*.f64 2 (*.f64 x y))
Compiler

Compiled 51 to 33 computations (35.3% saved)

soundness0.0ms (0%)

end80.0ms (3.1%)

Compiler

Compiled 45 to 25 computations (44.4% saved)

Profiling

Loading profile data...