Details

Time bar (total: 2.5s)

analyze4.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
50%12.5%37.5%5
50%6.2%43.8%6
50%3.1%46.9%7
50%1.6%48.5%8
50%0.8%49.2%9
50%0.4%49.6%10
50.2%0.2%49.6%11
50.2%0.1%49.7%12
50.2%0%49.8%13
50.2%0%49.8%14
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample1.0s (41.5%)

Results
953.0ms8256×body128valid
Compiler

Compiled 26 to 20 computations (23.1% saved)

simplify44.0ms (1.8%)

Algorithm
egg-herbie
Rules
668×div-sub_binary64
499×fma-def_binary64
417×times-frac_binary64
411×associate-/l*_binary64
366×associate-/r*_binary64
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0711
1199
2459
3897
41917
54387
612947
736357
853177

prune2.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.1b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.1b
(exp.f64 (fma.f64 x x -1))
Compiler

Compiled 25 to 17 computations (32% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(exp.f64 (fma.f64 x x -1))

series2.0ms (0.1%)

Counts
1 → 4
Calls

1 calls:

2.0ms
(exp.f64 (fma.f64 x x -1))

rewrite75.0ms (3.1%)

Algorithm
batch-egg-rewrite
Rules
646×log1p-udef_binary64
361×log1p-expm1-u_binary64
361×expm1-log1p-u_binary64
327×add-log-exp_binary64
317×pow1_binary64
Counts
1 → 50
Calls

1 calls:

74.0ms
(exp.f64 (fma.f64 x x -1))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
1907
29467
347007
457377
000
100

simplify69.0ms (2.8%)

Algorithm
egg-herbie
Rules
724×distribute-lft-out_binary64
546×associate-+l+_binary64
480×*-commutative_binary64
472×distribute-rgt-in_binary64
380×fma-def_binary64
Counts
54 → 57
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02281
15579
213063
338356
4130156
5211956
6259856
7290656
8388856
9506656

prune39.0ms (1.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New55257
Fresh000
Picked011
Done000
Total55358
Error
0.0b
Counts
58 → 3
Alt Table
StatusErrorProgram
0.1b
(pow.f64 (E.f64) (fma.f64 x x -1))
0.0b
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
0.1b
(exp.f64 (fma.f64 x x -1))
Compiler

Compiled 768 to 563 computations (26.7% saved)

localize7.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (exp.f64 x) x)
0.0b
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))

series7.0ms (0.3%)

Counts
2 → 24
Calls

2 calls:

5.0ms
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
2.0ms
(pow.f64 (exp.f64 x) x)

rewrite48.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
528×log1p-expm1-u_binary64
528×expm1-log1p-u_binary64
435×unpow-prod-down_binary64
285×log-prod_binary64
163×pow2_binary64
Counts
2 → 66
Calls

2 calls:

46.0ms
(pow.f64 (exp.f64 x) x)
46.0ms
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0717
113015
2140213
3521113
000
100

simplify89.0ms (3.6%)

Algorithm
egg-herbie
Rules
543×*-commutative_binary64
512×fma-def_binary64
458×distribute-rgt-out_binary64
437×associate-*l*_binary64
364×distribute-rgt-in_binary64
Counts
90 → 82
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
032244
184216
2195200
3523195
41633195
52742195
63413195
74885195
84995195
94908195

prune103.0ms (4.2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New81182
Fresh011
Picked011
Done011
Total81485
Error
0.0b
Counts
85 → 4
Alt Table
StatusErrorProgram
0.1b
(*.f64 (exp.f64 -1) (*.f64 (pow.f64 (*.f64 (exp.f64 x) (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (/.f64 x 2)) (pow.f64 (cbrt.f64 (exp.f64 x)) (/.f64 x 2))))
0.1b
(pow.f64 (E.f64) (fma.f64 x x -1))
0.0b
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
0.1b
(exp.f64 (fma.f64 x x -1))
Compiler

Compiled 1222 to 767 computations (37.2% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(pow.f64 (E.f64) (fma.f64 x x -1))

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

3.0ms
(pow.f64 (E.f64) (fma.f64 x x -1))

rewrite71.0ms (2.9%)

Algorithm
batch-egg-rewrite
Rules
867×log1p-udef_binary64
467×log1p-expm1-u_binary64
467×expm1-log1p-u_binary64
383×unpow-prod-down_binary64
223×log-prod_binary64
Counts
1 → 40
Calls

1 calls:

70.0ms
(pow.f64 (E.f64) (fma.f64 x x -1))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
11197
212117
348327
462667
000
100

simplify64.0ms (2.6%)

Algorithm
egg-herbie
Rules
726×distribute-lft-out_binary64
490×*-commutative_binary64
385×fma-def_binary64
355×distribute-rgt-out_binary64
350×associate-*l*_binary64
Counts
52 → 47
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
024137
158135
2139119
3406112
41369112
52333112
63367112
74551112
84913112

prune38.0ms (1.6%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New47047
Fresh011
Picked011
Done022
Total47451
Error
0.0b
Counts
51 → 4
Alt Table
StatusErrorProgram
0.1b
(*.f64 (exp.f64 -1) (*.f64 (pow.f64 (*.f64 (exp.f64 x) (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (/.f64 x 2)) (pow.f64 (cbrt.f64 (exp.f64 x)) (/.f64 x 2))))
0.1b
(pow.f64 (E.f64) (fma.f64 x x -1))
0.0b
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
0.1b
(exp.f64 (fma.f64 x x -1))
Compiler

Compiled 705 to 525 computations (25.5% saved)

localize15.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (cbrt.f64 (exp.f64 x)) 2)
0.0b
(*.f64 (exp.f64 -1) (*.f64 (pow.f64 (*.f64 (exp.f64 x) (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (/.f64 x 2)) (pow.f64 (cbrt.f64 (exp.f64 x)) (/.f64 x 2))))
0.0b
(cbrt.f64 (exp.f64 x))
0.0b
(*.f64 (pow.f64 (*.f64 (exp.f64 x) (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (/.f64 x 2)) (pow.f64 (cbrt.f64 (exp.f64 x)) (/.f64 x 2)))

series297.0ms (12.1%)

Counts
4 → 48
Calls

4 calls:

135.0ms
(pow.f64 (cbrt.f64 (exp.f64 x)) 2)
132.0ms
(cbrt.f64 (exp.f64 x))
20.0ms
(*.f64 (exp.f64 -1) (*.f64 (pow.f64 (*.f64 (exp.f64 x) (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (/.f64 x 2)) (pow.f64 (cbrt.f64 (exp.f64 x)) (/.f64 x 2))))
10.0ms
(*.f64 (pow.f64 (*.f64 (exp.f64 x) (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (/.f64 x 2)) (pow.f64 (cbrt.f64 (exp.f64 x)) (/.f64 x 2)))

rewrite73.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
666×log-prod_binary64
235×log-pow_binary64
226×expm1-udef_binary64
226×log1p-udef_binary64
136×add-sqr-sqrt_binary64
Counts
4 → 89
Calls

4 calls:

71.0ms
(pow.f64 (cbrt.f64 (exp.f64 x)) 2)
71.0ms
(*.f64 (exp.f64 -1) (*.f64 (pow.f64 (*.f64 (exp.f64 x) (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (/.f64 x 2)) (pow.f64 (cbrt.f64 (exp.f64 x)) (/.f64 x 2))))
71.0ms
(cbrt.f64 (exp.f64 x))
71.0ms
(*.f64 (pow.f64 (*.f64 (exp.f64 x) (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (/.f64 x 2)) (pow.f64 (cbrt.f64 (exp.f64 x)) (/.f64 x 2)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01470
128840
2313435
3526635
000
100

simplify70.0ms (2.9%)

Algorithm
egg-herbie
Rules
589×distribute-rgt-out_binary64
379×*-commutative_binary64
339×associate-/l*_binary64
308×fma-def_binary64
253×associate-+l+_binary64
Counts
137 → 121
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
074898
1199626
2480492
31440421
42905373
54800373
64931373

prune153.0ms (6.2%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1540154
Fresh000
Picked011
Done033
Total1544158
Error
0.0b
Counts
158 → 4
Alt Table
StatusErrorProgram
0.1b
(*.f64 (exp.f64 -1) (*.f64 (pow.f64 (*.f64 (exp.f64 x) (pow.f64 (cbrt.f64 (exp.f64 x)) 2)) (/.f64 x 2)) (pow.f64 (cbrt.f64 (exp.f64 x)) (/.f64 x 2))))
0.1b
(pow.f64 (E.f64) (fma.f64 x x -1))
0.0b
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
0.1b
(exp.f64 (fma.f64 x x -1))
Compiler

Compiled 3470 to 2229 computations (35.8% saved)

regimes83.0ms (3.4%)

Accuracy

Total 0.0b remaining (71.5%)

Threshold costs 0.0b (71.5%)

Counts
17 → 1
Compiler

Compiled 1228 to 966 computations (21.3% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
11117
21117

end67.0ms (2.7%)

Compiler

Compiled 69 to 51 computations (26.1% saved)

Profiling

Loading profile data...