Details

Time bar (total: 4.8s)

analyze11.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%75%0%3
62.5%25%12.5%4
68.7%12.5%18.8%5
71.8%6.2%21.9%6
73.4%3.1%23.5%7
74.2%1.6%24.3%8
74.6%0.8%24.6%9
75%0.4%24.6%10
75.1%0.2%24.7%11
75.1%0.1%24.8%12
75.1%0%24.8%13
75.2%0%24.8%14
Compiler

Compiled 7 to 6 computations (14.3% saved)

sample52.0ms (1.1%)

Algorithm
intervals
Results
25.0ms82×body1024valid
5.0ms33×body512valid
5.0ms108×body128valid
4.0ms11×body2048valid
2.0ms22×body256valid
Compiler

Compiled 13 to 12 computations (7.7% saved)

simplify145.0ms (3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (17.0ms)

IterNodesCost
01689
11689

prune4.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
38.3b
Counts
2 → 1
Compiler

Compiled 12 to 10 computations (16.7% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

4.7b
(-.f64 (exp.f64 x) 1)
0.0b
(/.f64 (-.f64 (exp.f64 x) 1) x)
0.0b
(/.f64 (-.f64 (exp.f64 x) 1) x)
4.7b
(-.f64 (exp.f64 x) 1)

rewrite34.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt_binary64_2146
30×*-un-lft-identity_binary64_2124
21×times-frac_binary64_2130
15×add-cube-cbrt_binary64_2159
10×difference-of-squares_binary64_2093
associate-/l*_binary64_2069
distribute-lft-out--_binary64_2076 difference-of-sqr-1_binary64_2094
add-log-exp_binary64_2163 add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160
cancel-sign-sub-inv_binary64_2090 associate-/r*_binary64_2068
flip--_binary64_2099 flip3--_binary64_2128 pow1_binary64_2185 associate-/l/_binary64_2071
clear-num_binary64_2123 cbrt-undiv_binary64_2158 diff-log_binary64_2216 sub-neg_binary64_2117 div-sub_binary64_2129 div-inv_binary64_2121 div-exp_binary64_2175 frac-2neg_binary64_2135
Counts
2 → 64
Calls

4 calls:

15.0ms
(/.f64 (-.f64 (exp.f64 x) 1) x)
10.0ms
(-.f64 (exp.f64 x) 1)
0.0ms
(/.f64 (-.f64 (exp.f64 x) 1) x)
0.0ms
(-.f64 (exp.f64 x) 1)

series65.0ms (1.4%)

Counts
2 → 12
Calls

2 calls:

36.0ms
(/.f64 (-.f64 (exp.f64 x) 1) x)
29.0ms
(-.f64 (exp.f64 x) 1)
Compiler

Compiled 134 to 114 computations (14.9% saved)

simplify97.0ms (2%)

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (82.0ms)

IterNodesCost
049611076
149611076

prune112.0ms (2.3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New73376
Fresh000
Picked101
Done000
Total74377
Error
0.0b
Counts
77 → 3
Compiler

Compiled 942 to 520 computations (44.8% saved)

localize10.0ms (0.2%)

Local error

Found 8 expressions with local error:

0.0b
(*.f64 x (+.f64 1/2 (*.f64 x (+.f64 1/6 (*.f64 x 1/24)))))
0.0b
(+.f64 1/6 (*.f64 x 1/24))
0.0b
(+.f64 1 (*.f64 x (+.f64 1/2 (*.f64 x (+.f64 1/6 (*.f64 x 1/24))))))
0.0b
(+.f64 1/2 (*.f64 x (+.f64 1/6 (*.f64 x 1/24))))
0.0b
(+.f64 1/6 (*.f64 x 1/24))
0.0b
(*.f64 x (+.f64 1/2 (*.f64 x (+.f64 1/6 (*.f64 x 1/24)))))
0.3b
(*.f64 x (+.f64 1/6 (*.f64 x 1/24)))
0.4b
(*.f64 x 1/24)

rewrite25.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt_binary64_2146
10×pow1_binary64_2185 add-cube-cbrt_binary64_2159 add-exp-log_binary64_2162 *-un-lft-identity_binary64_2124 add-cbrt-cube_binary64_2160
associate-*l*_binary64_2065 associate-*r*_binary64_2064
add-log-exp_binary64_2163
associate-*r/_binary64_2066
pow-prod-down_binary64_2195 unswap-sqr_binary64_2092 *-commutative_binary64_2055 prod-exp_binary64_2173 flip3-+_binary64_2127 flip-+_binary64_2098 cbrt-unprod_binary64_2157
distribute-rgt-in_binary64_2074 distribute-lft-in_binary64_2073
sum-log_binary64_2215 +-commutative_binary64_2054
Counts
4 → 73
Calls

8 calls:

6.0ms
(*.f64 x 1/24)
6.0ms
(*.f64 x (+.f64 1/6 (*.f64 x 1/24)))
5.0ms
(*.f64 x (+.f64 1/2 (*.f64 x (+.f64 1/6 (*.f64 x 1/24)))))
3.0ms
(+.f64 1/6 (*.f64 x 1/24))
0.0ms
(+.f64 1/2 (*.f64 x (+.f64 1/6 (*.f64 x 1/24))))

series217.0ms (4.5%)

Counts
4 → 24
Calls

4 calls:

112.0ms
(*.f64 x (+.f64 1/2 (*.f64 x (+.f64 1/6 (*.f64 x 1/24)))))
55.0ms
(*.f64 x (+.f64 1/6 (*.f64 x 1/24)))
28.0ms
(+.f64 1/6 (*.f64 x 1/24))
21.0ms
(*.f64 x 1/24)
Compiler

Compiled 466 to 407 computations (12.7% saved)

simplify119.0ms (2.5%)

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (98.0ms)

IterNodesCost
048841141
148841141

prune130.0ms (2.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New97097
Fresh022
Picked011
Done000
Total973100
Error
0.0b
Counts
100 → 3
Compiler

Compiled 1678 to 1298 computations (22.6% saved)

localize8.0ms (0.2%)

Local error

Found 8 expressions with local error:

4.7b
(log.f64 (exp.f64 (-.f64 (exp.f64 x) 1)))
4.7b
(-.f64 (exp.f64 x) 1)
0.0b
(/.f64 (log.f64 (exp.f64 (-.f64 (exp.f64 x) 1))) x)
0.0b
(exp.f64 (-.f64 (exp.f64 x) 1))
0.0b
(/.f64 (log.f64 (exp.f64 (-.f64 (exp.f64 x) 1))) x)
0.0b
(exp.f64 (-.f64 (exp.f64 x) 1))
4.7b
(-.f64 (exp.f64 x) 1)
4.7b
(log.f64 (exp.f64 (-.f64 (exp.f64 x) 1)))

rewrite40.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt_binary64_2146
51×*-un-lft-identity_binary64_2124
42×exp-prod_binary64_2176
40×log-pow_binary64_2213
33×times-frac_binary64_2130
30×add-cube-cbrt_binary64_2159
14×difference-of-squares_binary64_2093
11×associate-/l*_binary64_2069
cancel-sign-sub-inv_binary64_2090 pow1_binary64_2185 add-log-exp_binary64_2163
exp-sum_binary64_2170
distribute-lft-out--_binary64_2076 log-prod_binary64_2210 difference-of-sqr-1_binary64_2094
add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160
exp-diff_binary64_2172 associate-/r*_binary64_2068 sub-neg_binary64_2117
diff-log_binary64_2216 rem-exp-log_binary64_2164 log-div_binary64_2211
flip--_binary64_2099 clear-num_binary64_2123 flip3--_binary64_2128 cbrt-undiv_binary64_2158 rem-log-exp_binary64_2165 div-sub_binary64_2129 div-inv_binary64_2121 div-exp_binary64_2175 frac-2neg_binary64_2135
Counts
4 → 123
Calls

8 calls:

9.0ms
(/.f64 (log.f64 (exp.f64 (-.f64 (exp.f64 x) 1))) x)
8.0ms
(log.f64 (exp.f64 (-.f64 (exp.f64 x) 1)))
8.0ms
(exp.f64 (-.f64 (exp.f64 x) 1))
6.0ms
(-.f64 (exp.f64 x) 1)
0.0ms
(exp.f64 (-.f64 (exp.f64 x) 1))

series295.0ms (6.1%)

Counts
4 → 24
Calls

4 calls:

144.0ms
(/.f64 (log.f64 (exp.f64 (-.f64 (exp.f64 x) 1))) x)
95.0ms
(log.f64 (exp.f64 (-.f64 (exp.f64 x) 1)))
31.0ms
(exp.f64 (-.f64 (exp.f64 x) 1))
24.0ms
(-.f64 (exp.f64 x) 1)
Compiler

Compiled 302 to 258 computations (14.6% saved)

simplify112.0ms (2.3%)

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 0 (75.0ms)

IterNodesCost
060741862

prune112.0ms (2.3%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1470147
Fresh011
Picked011
Done011
Total1473150
Error
0.0b
Counts
150 → 3
Compiler

Compiled 1786 to 1033 computations (42.2% saved)

localize25.0ms (0.5%)

Local error

Found 8 expressions with local error:

0.1b
(cbrt.f64 (-.f64 (exp.f64 x) 1))
0.1b
(cbrt.f64 (-.f64 (exp.f64 x) 1))
0.1b
(cbrt.f64 (-.f64 (exp.f64 x) 1))
0.0b
(*.f64 (cbrt.f64 (-.f64 (exp.f64 x) 1)) (cbrt.f64 (-.f64 (exp.f64 x) 1)))
0.6b
(cbrt.f64 x)
4.7b
(-.f64 (exp.f64 x) 1)
4.7b
(-.f64 (exp.f64 x) 1)
4.7b
(-.f64 (exp.f64 x) 1)

rewrite22.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt_binary64_2146
17×*-un-lft-identity_binary64_2124
10×add-log-exp_binary64_2163
cancel-sign-sub-inv_binary64_2090
add-cube-cbrt_binary64_2159
difference-of-squares_binary64_2093
pow1_binary64_2185 add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160
flip--_binary64_2099 flip3--_binary64_2128 distribute-lft-out--_binary64_2076 diff-log_binary64_2216 cbrt-prod_binary64_2155 sub-neg_binary64_2117 difference-of-sqr-1_binary64_2094
pow1/3_binary64_2206
Counts
4 → 65
Calls

8 calls:

6.0ms
(-.f64 (exp.f64 x) 1)
4.0ms
(-.f64 (exp.f64 x) 1)
4.0ms
(-.f64 (exp.f64 x) 1)
1.0ms
(cbrt.f64 x)
0.0ms
(*.f64 (cbrt.f64 (-.f64 (exp.f64 x) 1)) (cbrt.f64 (-.f64 (exp.f64 x) 1)))

series179.0ms (3.7%)

Counts
4 → 21
Calls

4 calls:

109.0ms
(cbrt.f64 x)
27.0ms
(-.f64 (exp.f64 x) 1)
22.0ms
(-.f64 (exp.f64 x) 1)
21.0ms
(-.f64 (exp.f64 x) 1)
Compiler

Compiled 868 to 595 computations (31.5% saved)

simplify92.0ms (1.9%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
04883777
14883777

prune153.0ms (3.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New85186
Fresh000
Picked101
Done022
Total86389
Error
0.0b
Counts
89 → 3
Compiler

Compiled 2556 to 1337 computations (47.7% saved)

simplify9.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0128445
1128445

regimes55.0ms (1.2%)

Accuracy

Total 0.2b remaining (90.1%)

Threshold costs 0.2b (90.1%)

Compiler

Compiled 287 to 215 computations (25.1% saved)

bsearch25.0ms (0.5%)

Steps
ItersRangePoint
9
-2.392391663077377
-1.4530188996588901e-07
-0.0014603342715462273
Compiler

Compiled 1 to 1 computations (0% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03346
13346

end0.0ms (0%)

sample2.6s (55.1%)

Algorithm
intervals
Results
492.0ms2665×body1024valid
142.0ms1301×body512valid
92.0ms3067×body128valid
65.0ms291×body2048valid
46.0ms676×body256valid
Compiler

Compiled 944 to 705 computations (25.3% saved)

Pareto

-0.20611285286978465

Profiling

Loading profile data...