Details

Time bar (total: 4.7s)

analyze4.0ms (0.1%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
50%50%50%0%0%0%0%3
66.7%50%25%0%25%0%0%4
80%50%12.5%0%37.5%0%0%5
88.9%50%6.2%0%43.7%0%0%6
94.1%50%3.1%0%46.9%0%0%7
97%50%1.6%0%48.4%0%0%8
98.5%50%0.8%0%49.2%0%0%9
99.2%50.4%0.4%0%49.2%0%0%10
99.6%50.4%0.2%0%49.4%0%0%11
99.8%50.4%0.1%0%49.5%0%0%12
Compiler

Compiled 10 to 8 computations (20% saved)

sample3.4s (72.1%)

Results
2.2s4066×body1024valid
691.0ms2043×body512valid
256.0ms412×body2048valid
248.0ms1735×body256valid
1.0ms11×body256infinite
Bogosity

preprocess71.0ms (1.5%)

Algorithm
egg-herbie
Rules
618×fma-neg_binary64
579×fma-def_binary64
523×cancel-sign-sub-inv_binary64
509×associate-/l*_binary64
425×times-frac_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11913
23413
35813
412013
526013
671513
7215513
8500312
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
Outputs
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
(*.f64 -1/2 (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(*.f64 (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) -1/2)
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))
Compiler

Compiled 10 to 8 computations (20% saved)

simplify51.0ms (1.1%)

Algorithm
egg-herbie
Rules
618×fma-neg_binary64
579×fma-def_binary64
523×cancel-sign-sub-inv_binary64
509×associate-/l*_binary64
425×times-frac_binary64
Iterations

Useful iterations: 8 (0.0ms)

IterNodesCost
0813
11913
23413
35813
412013
526013
671513
7215513
8500312
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
Outputs
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
(*.f64 -1/2 (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
(*.f64 (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) -1/2)
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))

eval1.0ms (0%)

Compiler

Compiled 17 to 11 computations (35.3% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
58.6b
Counts
3 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
58.6b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
Compiler

Compiled 9 to 7 computations (22.2% saved)

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(exp.f64 (neg.f64 x))
3.9b
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Compiler

Compiled 24 to 8 computations (66.7% saved)

series2.0ms (0.1%)

Counts
2 → 16
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@0
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
0.0ms
x
@-inf
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
0.0ms
x
@inf
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
0.0ms
x
@0
(exp.f64 (neg.f64 x))
0.0ms
x
@inf
(exp.f64 (neg.f64 x))

rewrite183.0ms (3.9%)

Algorithm
egg-rewrite-iter-limit
egg-rewrite
batch-egg-rewrite
Rules
277×pow1_binary64
269×add-sqr-sqrt_binary64
263×*-un-lft-identity_binary64
256×add-log-exp_binary64
255×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0611
113011
2218811
066
11306
221886
066
045
1795
29675
045
Stop Event
iter limit
node limit
iter limit
unsound
unsound
Counts
2 → 22
Calls
Call 1
Inputs
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(exp.f64 (neg.f64 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 x) (neg.f64 (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 2 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 2 (sinh.f64 x))) (cbrt.f64 (*.f64 2 (sinh.f64 x)))) (cbrt.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 2 (sinh.f64 x))) (sqrt.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (sinh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (+.f64 (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x))) (*.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x)))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (sinh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (sinh.f64 x))))))))
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (exp.f64 (neg.f64 x))) (cbrt.f64 (exp.f64 (neg.f64 x)))) (cbrt.f64 (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (neg.f64 x))) (sqrt.f64 (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (neg.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x))) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (neg.f64 x))))))))

simplify70.0ms (1.5%)

Algorithm
egg-herbie
Rules
928×fma-def_binary64
559×cancel-sign-sub-inv_binary64
541×fma-neg_binary64
451×unswap-sqr_binary64
335×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
037158
196156
2229152
3675148
41786147
53888147
67287147
Stop Event
node limit
Counts
38 → 40
Calls
Call 1
Inputs
(*.f64 2 x)
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3)))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 1/60 (pow.f64 x 5))))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 1/2520 (pow.f64 x 7)) (*.f64 1/60 (pow.f64 x 5)))))
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
1
(+.f64 1 (*.f64 -1 x))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x)))
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))))
(exp.f64 (*.f64 -1 x))
(exp.f64 (*.f64 -1 x))
(exp.f64 (*.f64 -1 x))
(exp.f64 (*.f64 -1 x))
Outputs
(*.f64 2 x)
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3)))
(fma.f64 2 x (*.f64 1/3 (pow.f64 x 3)))
(fma.f64 1/3 (pow.f64 x 3) (*.f64 2 x))
(*.f64 x (fma.f64 1/3 (*.f64 x x) 2))
(*.f64 x (fma.f64 x (*.f64 x 1/3) 2))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 1/60 (pow.f64 x 5))))
(fma.f64 2 x (fma.f64 1/3 (pow.f64 x 3) (*.f64 1/60 (pow.f64 x 5))))
(fma.f64 1/3 (pow.f64 x 3) (fma.f64 1/60 (pow.f64 x 5) (*.f64 2 x)))
(fma.f64 x (fma.f64 1/3 (*.f64 x x) 2) (*.f64 1/60 (pow.f64 x 5)))
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 1/2520 (pow.f64 x 7)) (*.f64 1/60 (pow.f64 x 5)))))
(fma.f64 2 x (fma.f64 1/3 (pow.f64 x 3) (fma.f64 1/2520 (pow.f64 x 7) (*.f64 1/60 (pow.f64 x 5)))))
(fma.f64 2 x (fma.f64 1/3 (pow.f64 x 3) (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7)))))
(fma.f64 1/3 (pow.f64 x 3) (fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/2520 (pow.f64 x 7) (*.f64 2 x))))
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x)))
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
1
(+.f64 1 (*.f64 -1 x))
(+.f64 (neg.f64 x) 1)
(-.f64 1 x)
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x)))
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (neg.f64 x)))
(+.f64 1 (-.f64 (*.f64 1/2 (*.f64 x x)) x))
(-.f64 (fma.f64 x (*.f64 x 1/2) 1) x)
(fma.f64 x (fma.f64 x 1/2 -1) 1)
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1 x))))
(fma.f64 -1/6 (pow.f64 x 3) (+.f64 1 (fma.f64 1/2 (*.f64 x x) (neg.f64 x))))
(+.f64 (-.f64 (*.f64 1/2 (*.f64 x x)) x) (fma.f64 (pow.f64 x 3) -1/6 1))
(-.f64 (fma.f64 (pow.f64 x 3) -1/6 (fma.f64 x (*.f64 x 1/2) 1)) x)
(fma.f64 x (fma.f64 x 1/2 -1) (fma.f64 (pow.f64 x 3) -1/6 1))
(-.f64 (fma.f64 (*.f64 x x) (fma.f64 x -1/6 1/2) 1) x)
(exp.f64 (*.f64 -1 x))
(exp.f64 (neg.f64 x))
(exp.f64 (*.f64 -1 x))
(exp.f64 (neg.f64 x))
(exp.f64 (*.f64 -1 x))
(exp.f64 (neg.f64 x))
(exp.f64 (*.f64 -1 x))
(exp.f64 (neg.f64 x))

eval10.0ms (0.2%)

Compiler

Compiled 502 to 305 computations (39.2% saved)

prune6.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New37340
Fresh000
Picked101
Done000
Total38341
Error
0b
Counts
41 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.6b
(/.f64 (*.f64 x (fma.f64 x (*.f64 x 1/3) 2)) 2)
0.9b
(/.f64 (*.f64 2 x) 2)
0.0b
(/.f64 (*.f64 2 (sinh.f64 x)) 2)
Compiler

Compiled 24 to 19 computations (20.8% saved)

localize6.0ms (0.1%)

Compiler

Compiled 11 to 8 computations (27.3% saved)

localize7.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(sinh.f64 x)
Compiler

Compiled 15 to 9 computations (40% saved)

series3.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(sinh.f64 x)
1.0ms
x
@-inf
(sinh.f64 x)
1.0ms
x
@0
(sinh.f64 x)

rewrite58.0ms (1.2%)

Algorithm
egg-rewrite-iter-limit
batch-egg-rewrite
Rules
318×pow1_binary64
311×add-sqr-sqrt_binary64
302×*-un-lft-identity_binary64
297×add-log-exp_binary64
296×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
1633
27853
033
Stop Event
iter limit
node limit
Counts
1 → 10
Calls
Call 1
Inputs
(sinh.f64 x)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sinh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (sinh.f64 x)) (cbrt.f64 (sinh.f64 x))) (cbrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sinh.f64 x)) (sqrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sinh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (sinh.f64 x) (sinh.f64 x)) (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sinh.f64 x)))))))

simplify81.0ms (1.7%)

Algorithm
egg-herbie
Rules
878×fma-def_binary64
626×distribute-rgt-neg-in_binary64
624×unswap-sqr_binary64
560×distribute-lft-neg-in_binary64
308×associate-*l*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
025150
167150
2151142
3370142
4684142
51506142
62337142
73591142
84578142
97248142
Stop Event
node limit
Counts
22 → 19
Calls
Call 1
Inputs
x
(+.f64 (*.f64 1/6 (pow.f64 x 3)) x)
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
Outputs
x
(+.f64 (*.f64 1/6 (pow.f64 x 3)) x)
(fma.f64 1/6 (pow.f64 x 3) x)
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) x))
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x)))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) (fma.f64 1/120 (pow.f64 x 5) x)))
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) (fma.f64 1/5040 (pow.f64 x 7) x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))))
(*.f64 1/2 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x)))

localize14.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (fma.f64 x (*.f64 x 1/3) 2))
0.3b
(*.f64 x 1/3)
Compiler

Compiled 31 to 21 computations (32.3% saved)

series4.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(*.f64 x 1/3)
1.0ms
x
@inf
(*.f64 x (fma.f64 x (*.f64 x 1/3) 2))
1.0ms
x
@-inf
(*.f64 x (fma.f64 x (*.f64 x 1/3) 2))
1.0ms
x
@0
(*.f64 x (fma.f64 x (*.f64 x 1/3) 2))
1.0ms
x
@0
(*.f64 x 1/3)

rewrite56.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
641×pow1_binary64
593×add-log-exp_binary64
593×log1p-expm1-u_binary64
593×expm1-log1p-u_binary64
582×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0715
114215
2158815
Stop Event
node limit
Counts
2 → 24
Calls
Call 1
Inputs
(*.f64 x 1/3)
(*.f64 x (fma.f64 x (*.f64 x 1/3) 2))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x 1/3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x 1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x 1/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/9 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x 1/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x 1/3)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (*.f64 x 1/3)) x) (*.f64 2 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 x (*.f64 x 1/3))) (*.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (fma.f64 x (*.f64 x 1/3) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (fma.f64 x (*.f64 x 1/3) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 x (*.f64 x 1/3) 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x (*.f64 x 1/3) 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x (*.f64 x 1/3) 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (fma.f64 x (*.f64 x 1/3) 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (fma.f64 x (*.f64 x 1/3) 2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (fma.f64 x (*.f64 x 1/3) 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (fma.f64 x (*.f64 x 1/3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (fma.f64 x (*.f64 x 1/3) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (fma.f64 x (*.f64 x 1/3) 2))))))))

simplify167.0ms (3.6%)

Algorithm
egg-herbie
Rules
1274×sqr-pow_binary64
666×pow-sqr_binary64
529×cube-prod_binary64
466×fabs-mul_binary64
444×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
010165
122165
240165
379165
4147165
5372165
61236165
71944165
82031165
92164165
102322165
112563165
122885165
133308165
143811165
154411165
165129165
175450165
185734165
195954165
206132165
216212165
227152165
Stop Event
node limit
Counts
48 → 30
Calls
Call 1
Inputs
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 2 x)
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3)))
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3)))
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3)))
(*.f64 1/3 (pow.f64 x 3))
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3)))
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3)))
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3)))
(*.f64 1/3 (pow.f64 x 3))
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3)))
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3)))
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3)))
Outputs
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 1/3 x)
(*.f64 2 x)
(*.f64 x 2)
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3)))
(fma.f64 2 x (*.f64 1/3 (pow.f64 x 3)))
(fma.f64 1/3 (pow.f64 x 3) (*.f64 x 2))
(*.f64 x (fma.f64 1/3 (*.f64 x x) 2))
(*.f64 x (fma.f64 x (*.f64 1/3 x) 2))
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3)))
(fma.f64 2 x (*.f64 1/3 (pow.f64 x 3)))
(fma.f64 1/3 (pow.f64 x 3) (*.f64 x 2))
(*.f64 x (fma.f64 1/3 (*.f64 x x) 2))
(*.f64 x (fma.f64 x (*.f64 1/3 x) 2))
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3)))
(fma.f64 2 x (*.f64 1/3 (pow.f64 x 3)))
(fma.f64 1/3 (pow.f64 x 3) (*.f64 x 2))
(*.f64 x (fma.f64 1/3 (*.f64 x x) 2))
(*.f64 x (fma.f64 x (*.f64 1/3 x) 2))
(*.f64 1/3 (pow.f64 x 3))
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3)))
(fma.f64 2 x (*.f64 1/3 (pow.f64 x 3)))
(fma.f64 1/3 (pow.f64 x 3) (*.f64 x 2))
(*.f64 x (fma.f64 1/3 (*.f64 x x) 2))
(*.f64 x (fma.f64 x (*.f64 1/3 x) 2))
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3)))
(fma.f64 2 x (*.f64 1/3 (pow.f64 x 3)))
(fma.f64 1/3 (pow.f64 x 3) (*.f64 x 2))
(*.f64 x (fma.f64 1/3 (*.f64 x x) 2))
(*.f64 x (fma.f64 x (*.f64 1/3 x) 2))
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3)))
(fma.f64 2 x (*.f64 1/3 (pow.f64 x 3)))
(fma.f64 1/3 (pow.f64 x 3) (*.f64 x 2))
(*.f64 x (fma.f64 1/3 (*.f64 x x) 2))
(*.f64 x (fma.f64 x (*.f64 1/3 x) 2))
(*.f64 1/3 (pow.f64 x 3))
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3)))
(fma.f64 2 x (*.f64 1/3 (pow.f64 x 3)))
(fma.f64 1/3 (pow.f64 x 3) (*.f64 x 2))
(*.f64 x (fma.f64 1/3 (*.f64 x x) 2))
(*.f64 x (fma.f64 x (*.f64 1/3 x) 2))
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3)))
(fma.f64 2 x (*.f64 1/3 (pow.f64 x 3)))
(fma.f64 1/3 (pow.f64 x 3) (*.f64 x 2))
(*.f64 x (fma.f64 1/3 (*.f64 x x) 2))
(*.f64 x (fma.f64 x (*.f64 1/3 x) 2))
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3)))
(fma.f64 2 x (*.f64 1/3 (pow.f64 x 3)))
(fma.f64 1/3 (pow.f64 x 3) (*.f64 x 2))
(*.f64 x (fma.f64 1/3 (*.f64 x x) 2))
(*.f64 x (fma.f64 x (*.f64 1/3 x) 2))

eval41.0ms (0.9%)

Compiler

Compiled 580 to 435 computations (25% saved)

prune19.0ms (0.4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New48149
Fresh000
Picked101
Done022
Total49352
Error
0b
Counts
52 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.9b
(/.f64 (*.f64 2 x) 2)
0.0b
(/.f64 (*.f64 2 (sinh.f64 x)) 2)
0.6b
(/.f64 (+.f64 (*.f64 (*.f64 x (*.f64 x 1/3)) x) (*.f64 2 x)) 2)
Compiler

Compiled 27 to 21 computations (22.2% saved)

localize39.0ms (0.8%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (*.f64 x (*.f64 x 1/3)) x)
0.1b
(*.f64 x (*.f64 x 1/3))
0.3b
(*.f64 x 1/3)
Compiler

Compiled 46 to 30 computations (34.8% saved)

series5.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@0
(*.f64 x (*.f64 x 1/3))
1.0ms
x
@0
(*.f64 (*.f64 x (*.f64 x 1/3)) x)
1.0ms
x
@inf
(*.f64 x (*.f64 x 1/3))
1.0ms
x
@-inf
(*.f64 (*.f64 x (*.f64 x 1/3)) x)
1.0ms
x
@inf
(*.f64 (*.f64 x (*.f64 x 1/3)) x)

rewrite88.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
548×pow1_binary64
526×add-sqr-sqrt_binary64
505×add-log-exp_binary64
505×log1p-expm1-u_binary64
505×expm1-log1p-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0617
112214
2140014
Stop Event
node limit
Counts
2 → 22
Calls
Call 1
Inputs
(*.f64 x (*.f64 x 1/3))
(*.f64 (*.f64 x (*.f64 x 1/3)) x)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (*.f64 x 1/3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 x 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (*.f64 x 1/3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 x 1/3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 1/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (*.f64 x 1/3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (*.f64 x 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (*.f64 x 1/3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 x 1/3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 x 1/3))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (pow.f64 x 3) 1/3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 3) 1/3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (pow.f64 x 3) 1/3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 3) 1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (pow.f64 x 3) 1/3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (pow.f64 x 3) 1/3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (pow.f64 x 3) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (pow.f64 x 3) 1/3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 x 3) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 x 3) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 x 3) 1/3)))))))

simplify186.0ms (4%)

Algorithm
egg-herbie
Rules
1208×sqr-pow_binary64
564×cube-prod_binary64
537×fabs-mul_binary64
536×unswap-sqr_binary64
502×pow-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
09168
123168
248168
3105168
4296168
51235168
62405168
72571168
82821168
93108168
103487168
113993168
124591168
135301168
145768168
156093168
166367168
176537168
186631168
197308168
Stop Event
node limit
Counts
46 → 25
Calls
Call 1
Inputs
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (pow.f64 x 3))
(*.f64 1/3 (pow.f64 x 3))
(*.f64 1/3 (pow.f64 x 3))
(*.f64 1/3 (pow.f64 x 3))
(*.f64 1/3 (pow.f64 x 3))
(*.f64 1/3 (pow.f64 x 3))
(*.f64 1/3 (pow.f64 x 3))
(*.f64 1/3 (pow.f64 x 3))
(*.f64 1/3 (pow.f64 x 3))
(*.f64 1/3 (pow.f64 x 3))
(*.f64 1/3 (pow.f64 x 3))
(*.f64 1/3 (pow.f64 x 3))
Outputs
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 1/3 (pow.f64 x 2))
(*.f64 1/3 (*.f64 x x))
(*.f64 1/3 (pow.f64 x 3))
(*.f64 1/3 (pow.f64 x 3))
(*.f64 1/3 (pow.f64 x 3))
(*.f64 1/3 (pow.f64 x 3))
(*.f64 1/3 (pow.f64 x 3))
(*.f64 1/3 (pow.f64 x 3))
(*.f64 1/3 (pow.f64 x 3))
(*.f64 1/3 (pow.f64 x 3))
(*.f64 1/3 (pow.f64 x 3))
(*.f64 1/3 (pow.f64 x 3))
(*.f64 1/3 (pow.f64 x 3))
(*.f64 1/3 (pow.f64 x 3))

eval25.0ms (0.5%)

Compiler

Compiled 546 to 422 computations (22.7% saved)

prune13.0ms (0.3%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New37037
Fresh000
Picked011
Done022
Total37340
Error
0b
Counts
40 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.9b
(/.f64 (*.f64 2 x) 2)
0.0b
(/.f64 (*.f64 2 (sinh.f64 x)) 2)
0.6b
(/.f64 (+.f64 (*.f64 (*.f64 x (*.f64 x 1/3)) x) (*.f64 2 x)) 2)
Compiler

Compiled 27 to 21 computations (22.2% saved)

regimes23.0ms (0.5%)

Counts
5 → 1
Calls
Call 1
Inputs
(/.f64 (*.f64 2 x) 2)
(/.f64 (+.f64 (*.f64 (*.f64 x (*.f64 x 1/3)) x) (*.f64 2 x)) 2)
(/.f64 (*.f64 2 (sinh.f64 x)) 2)
(/.f64 (*.f64 x (fma.f64 x (*.f64 x 1/3) 2)) 2)
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
Outputs
(/.f64 (*.f64 2 (sinh.f64 x)) 2)
Calls

3 calls:

10.0ms
x
6.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
4.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2)
0.0b1(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
Compiler

Compiled 61 to 45 computations (26.2% saved)

regimes10.0ms (0.2%)

Accuracy

Total -0.3b remaining (-46.2%)

Threshold costs -0.3b (-46.2%)

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

1 calls:

8.0ms
x
Results
ErrorSegmentsBranch
0.6b1x
Compiler

Compiled 21 to 15 computations (28.6% saved)

simplify7.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01435
12035
Stop Event
done
saturated
Calls
Call 1
Inputs
(/.f64 (*.f64 2 (sinh.f64 x)) 2)
(/.f64 (+.f64 (*.f64 (*.f64 x (*.f64 x 1/3)) x) (*.f64 2 x)) 2)
(/.f64 (*.f64 2 x) 2)
Outputs
(/.f64 (*.f64 2 (sinh.f64 x)) 2)
(/.f64 (+.f64 (*.f64 (*.f64 x (*.f64 x 1/3)) x) (*.f64 2 x)) 2)
(/.f64 (+.f64 (*.f64 x (*.f64 x (*.f64 x 1/3))) (*.f64 2 x)) 2)
(/.f64 (*.f64 2 x) 2)
Compiler

Compiled 27 to 21 computations (22.2% saved)

soundness0.0ms (0%)

end54.0ms (1.1%)

Compiler

Compiled 25 to 19 computations (24% saved)

Profiling

Loading profile data...