Details

Time bar (total: 3.1s)

analyze395.0ms (12.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%75%0%3
25%50%25%4
25%37.5%37.5%5
25%31.2%43.8%6
25%28.1%46.9%7
25%26.5%48.5%8
25%25.8%49.2%9
25%25.4%49.6%10
25%25.2%49.8%11
25%25.1%49.9%12
25%25%50%13
25%25%50%14
Compiler

Compiled 11 to 8 computations (27.3% saved)

sample1.9s (60.5%)

Results
868.0ms8256×body128valid
812.0ms8253×body128invalid
Compiler

Compiled 32 to 23 computations (28.1% saved)

simplify151.0ms (4.9%)

Algorithm
egg-herbie
Rules
871×fma-neg_binary64
804×unsub-neg_binary64
461×distribute-neg-in_binary64
434×sub-neg_binary64
338×distribute-rgt-out_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0812
11812
22212
33712
46412
511312
624712
750012
8156012
9251312
10321812
11360212
12380312
13397412
14407512
15439212
16483612
17489812
18490112

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
29.3b
Counts
3 → 1
Alt Table
StatusErrorProgram
29.3b
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))
Compiler

Compiled 36 to 24 computations (33.3% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))
27.3b
(sqrt.f64 (fma.f64 x x -1))

series11.0ms (0.4%)

Counts
2 → 24
Calls

2 calls:

6.0ms
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))
5.0ms
(sqrt.f64 (fma.f64 x x -1))

rewrite5.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
log-prod_binary64
add-cube-cbrt_binary64
pow1_binary64
Counts
2 → 32
Calls

2 calls:

3.0ms
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))
1.0ms
(sqrt.f64 (fma.f64 x x -1))

simplify69.0ms (2.2%)

Algorithm
egg-herbie
Rules
549×fma-neg_binary64
294×associate-/l/_binary64
291×sub-neg_binary64
254×distribute-neg-frac_binary64
221×fma-def_binary64
Counts
56 → 79
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0136988
1330928
2885889
33023888
44940888
54940888

prune48.0ms (1.6%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New77279
Fresh000
Picked101
Done000
Total78280
Error
0b
Counts
80 → 2
Alt Table
StatusErrorProgram
0.5b
(log.f64 (+.f64 x x))
29.3b
(log.f64 (+.f64 x (*.f64 (fabs.f64 (cbrt.f64 (fma.f64 x x -1))) (sqrt.f64 (cbrt.f64 (fma.f64 x x -1))))))
Compiler

Compiled 1319 to 989 computations (25% saved)

localize4.0ms (0.1%)

prune2.0ms (0.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done000
Total022
Error
0b
Counts
2 → 2
Alt Table
StatusErrorProgram
0.5b
(log.f64 (+.f64 x x))
29.3b
(log.f64 (+.f64 x (*.f64 (fabs.f64 (cbrt.f64 (fma.f64 x x -1))) (sqrt.f64 (cbrt.f64 (fma.f64 x x -1))))))
Compiler

Compiled 39 to 27 computations (30.8% saved)

localize9.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(log.f64 (+.f64 x (*.f64 (fabs.f64 (cbrt.f64 (fma.f64 x x -1))) (sqrt.f64 (cbrt.f64 (fma.f64 x x -1))))))
0.1b
(sqrt.f64 (cbrt.f64 (fma.f64 x x -1)))
0.3b
(*.f64 (fabs.f64 (cbrt.f64 (fma.f64 x x -1))) (sqrt.f64 (cbrt.f64 (fma.f64 x x -1))))
28.2b
(cbrt.f64 (fma.f64 x x -1))

series49.0ms (1.6%)

Counts
4 → 48
Calls

4 calls:

18.0ms
(log.f64 (+.f64 x (*.f64 (fabs.f64 (cbrt.f64 (fma.f64 x x -1))) (sqrt.f64 (cbrt.f64 (fma.f64 x x -1))))))
16.0ms
(*.f64 (fabs.f64 (cbrt.f64 (fma.f64 x x -1))) (sqrt.f64 (cbrt.f64 (fma.f64 x x -1))))
8.0ms
(cbrt.f64 (fma.f64 x x -1))
7.0ms
(sqrt.f64 (cbrt.f64 (fma.f64 x x -1)))

rewrite19.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt_binary64
26×cbrt-prod_binary64
22×sqrt-prod_binary64
15×unswap-sqr_binary64
14×*-un-lft-identity_binary64
Counts
4 → 100
Calls

4 calls:

7.0ms
(*.f64 (fabs.f64 (cbrt.f64 (fma.f64 x x -1))) (sqrt.f64 (cbrt.f64 (fma.f64 x x -1))))
2.0ms
(log.f64 (+.f64 x (*.f64 (fabs.f64 (cbrt.f64 (fma.f64 x x -1))) (sqrt.f64 (cbrt.f64 (fma.f64 x x -1))))))
1.0ms
(cbrt.f64 (fma.f64 x x -1))
1.0ms
(sqrt.f64 (cbrt.f64 (fma.f64 x x -1)))

simplify122.0ms (3.9%)

Algorithm
egg-herbie
Rules
884×times-frac_binary64
597×fma-neg_binary64
318×sub-neg_binary64
268×associate-*r*_binary64
253×unswap-sqr_binary64
Counts
148 → 230
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03184156
18313520
226593219
343083141
450763141

prune194.0ms (6.3%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New2620262
Fresh000
Picked011
Done011
Total2622264
Error
0b
Counts
264 → 2
Alt Table
StatusErrorProgram
0.5b
(log.f64 (+.f64 x x))
29.3b
(log.f64 (+.f64 x (*.f64 (fabs.f64 (cbrt.f64 (fma.f64 x x -1))) (sqrt.f64 (cbrt.f64 (fma.f64 x x -1))))))
Compiler

Compiled 6915 to 5137 computations (25.7% saved)

regimes90.0ms (2.9%)

Accuracy

Total 0.5b remaining (91.9%)

Threshold costs 0.5b (91.9%)

Counts
31 → 1
Compiler

Compiled 1158 to 832 computations (28.2% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
046
146

end39.0ms (1.3%)

Compiler

Compiled 32 to 21 computations (34.4% saved)

Profiling

Loading profile data...