Details

Time bar (total: 2.1s)

analyze34.0ms (1.6%)

Algorithm
search
Search
TrueOtherFalseIter
0%37.5%62.5%0
0%37.5%62.5%1
0%18.7%81.3%2
0%9.4%90.6%3
0%9.4%90.6%4
0%7%93%5
1.2%4.7%94.1%6
1.2%3.5%95.3%7
1.8%2.6%95.6%8
2%1.9%96%9
2.4%1.3%96.3%10
2.6%1%96.5%11
2.7%0.7%96.6%12
2.8%0.5%96.7%13
2.9%0.3%96.7%14
Compiler

Compiled 26 to 15 computations (42.3% saved)

sample1.1s (52.4%)

Results
974.0ms8256×body128valid
44.0ms383×body128invalid
Compiler

Compiled 67 to 38 computations (43.3% saved)

simplify46.0ms (2.2%)

Algorithm
egg-herbie
Rules
704×fma-def_binary64
643×fma-neg_binary64
603×associate-/r*_binary64
566×associate-*l*_binary64
362×distribute-rgt-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0920
12617
26915
319415
446415
5152115
6478115
7516015

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
15.6b
Counts
3 → 1
Alt Table
StatusErrorProgram
15.6b
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
Compiler

Compiled 49 to 29 computations (40.8% saved)

localize6.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 b (/.f64 b (*.f64 a a)) -1)
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
15.7b
(/.f64 b (*.f64 a a))

series62.0ms (3%)

Counts
3 → 72
Calls

3 calls:

27.0ms
(/.f64 b (*.f64 a a))
23.0ms
(fma.f64 b (/.f64 b (*.f64 a a)) -1)
12.0ms
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))

rewrite7.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
sqrt-prod_binary64
*-un-lft-identity_binary64
Counts
3 → 54
Calls

3 calls:

3.0ms
(/.f64 b (*.f64 a a))
1.0ms
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
0.0ms
(fma.f64 b (/.f64 b (*.f64 a a)) -1)

simplify76.0ms (3.7%)

Algorithm
egg-herbie
Rules
661×associate-/l*_binary64
603×fma-def_binary64
491×associate-*l*_binary64
486×associate-/l/_binary64
431×associate-/r*_binary64
Counts
126 → 70
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0901587
11431492
22931492
38661490
445081490
550631490

prune41.0ms (2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New69170
Fresh000
Picked101
Done000
Total70171
Error
0.0b
Counts
71 → 1
Alt Table
StatusErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))
Compiler

Compiled 1103 to 531 computations (51.9% saved)

localize6.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))
0.0b
(fma.f64 b (/.f64 (/.f64 b a) a) -1)
0.2b
(/.f64 (/.f64 b a) a)

series61.0ms (2.9%)

Counts
3 → 72
Calls

3 calls:

27.0ms
(/.f64 (/.f64 b a) a)
23.0ms
(fma.f64 b (/.f64 (/.f64 b a) a) -1)
12.0ms
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))

rewrite14.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
75×times-frac_binary64
51×add-sqr-sqrt_binary64
47×*-un-lft-identity_binary64
47×add-cube-cbrt_binary64
13×associate-/l*_binary64
Counts
3 → 103
Calls

3 calls:

6.0ms
(/.f64 (/.f64 b a) a)
1.0ms
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))
0.0ms
(fma.f64 b (/.f64 (/.f64 b a) a) -1)

simplify117.0ms (5.7%)

Algorithm
egg-herbie
Rules
599×fma-def_binary64
423×unswap-sqr_binary64
394×fma-neg_binary64
337×associate-/l/_binary64
324×times-frac_binary64
Counts
175 → 163
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01842634
13472461
26502389
316922365
426332345
546422345
649552345

prune86.0ms (4.2%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1621163
Fresh000
Picked011
Done000
Total1622164
Error
0b
Counts
164 → 2
Alt Table
StatusErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))
0.0b
(sqrt.f64 (fabs.f64 (log.f64 (exp.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))))
Compiler

Compiled 2911 to 1271 computations (56.3% saved)

localize9.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 b (/.f64 (/.f64 b a) a) -1)
0.0b
(exp.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1))
0.0b
(log.f64 (exp.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))
0.2b
(/.f64 (/.f64 b a) a)

series33.0ms (1.6%)

Counts
2 → 48
Calls

2 calls:

23.0ms
(log.f64 (exp.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))
10.0ms
(exp.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1))

rewrite4.0ms (0.2%)

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

2 calls:

2.0ms
(log.f64 (exp.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))
1.0ms
(exp.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1))

simplify49.0ms (2.4%)

Algorithm
egg-herbie
Rules
740×associate-*l*_binary64
523×associate-*l/_binary64
509×fma-def_binary64
408×associate-*r/_binary64
302×associate-/r/_binary64
Counts
80 → 70
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0741333
11261229
22921211
312011205
450221205

prune118.0ms (5.7%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1990199
Fresh000
Picked011
Done011
Total1992201
Error
0b
Counts
201 → 2
Alt Table
StatusErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))
0.0b
(sqrt.f64 (fabs.f64 (log.f64 (exp.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))))
Compiler

Compiled 3882 to 1955 computations (49.6% saved)

regimes165.0ms (8%)

Accuracy

Total 0.0b remaining (35.1%)

Threshold costs 0.0b (35.1%)

Counts
19 → 1
Compiler

Compiled 2280 to 1552 computations (31.9% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01119
11119

end46.0ms (2.2%)

Compiler

Compiled 54 to 38 computations (29.6% saved)

Profiling

Loading profile data...