Details

Time bar (total: 3.5s)

analyze33.0ms (1%)

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.0s (29%)

Results
908.0ms8256×body128valid
45.0ms390×body128invalid
Compiler

Compiled 67 to 38 computations (43.3% saved)

simplify46.0ms (1.3%)

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
13.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
13.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
Compiler

Compiled 49 to 29 computations (40.8% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series38.0ms (1.1%)

Counts
2 → 48
Calls

2 calls:

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

rewrite7.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt_binary64
sqrt-prod_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
*-un-lft-identity_binary64
Counts
2 → 44
Calls

2 calls:

4.0ms
(/.f64 b (*.f64 a a))
2.0ms
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))

simplify85.0ms (2.4%)

Algorithm
egg-herbie
Rules
553×div-sub_binary64
385×associate-/l*_binary64
361×associate-/l/_binary64
322×*-commutative_binary64
270×fma-def_binary64
Counts
92 → 53
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0801190
11311118
22581118
36231118
419391118
525271118
642671118
752001118

prune32.0ms (0.9%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 868 to 419 computations (51.7% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series42.0ms (1.2%)

Counts
2 → 48
Calls

2 calls:

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

rewrite11.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
75×times-frac_binary64
50×add-sqr-sqrt_binary64
46×*-un-lft-identity_binary64
46×add-cube-cbrt_binary64
13×associate-/l*_binary64
Counts
2 → 93
Calls

2 calls:

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

simplify141.0ms (4%)

Algorithm
egg-herbie
Rules
360×distribute-rgt-in_binary64
345×fma-neg_binary64
327×associate-/l/_binary64
305×distribute-lft-in_binary64
298×fma-def_binary64
Counts
141 → 146
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
01742231
13332103
26052031
313722007
417072002
525631952
644181922
749871922
848491922

prune75.0ms (2.2%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1451146
Fresh000
Picked011
Done000
Total1452147
Error
0b
Counts
147 → 2
Alt Table
StatusErrorProgram
0.0b
(expm1.f64 (log1p.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))))
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))
Compiler

Compiled 2701 to 1197 computations (55.7% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(log1p.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1))))
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))
0.0b
(expm1.f64 (log1p.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))))
0.3b
(/.f64 (/.f64 b a) a)

series1.2s (32.9%)

Counts
2 → 48
Calls

2 calls:

1.1s
(log1p.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1))))
12.0ms
(expm1.f64 (log1p.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))))

rewrite2.0ms (0%)

Algorithm
rewrite-expression-head
Rules
expm1-log1p-u_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 22
Calls

2 calls:

0.0ms
(log1p.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1))))
0.0ms
(expm1.f64 (log1p.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))))

simplify149.0ms (4.3%)

Algorithm
egg-herbie
Rules
1128×fma-def_binary64
971×div-sub_binary64
494×associate-/r/_binary64
458×unswap-sqr_binary64
376×fma-neg_binary64
Counts
70 → 40
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0381234
1441165
2591165
3901165
41711165
54291165
613811165
721971165
825171165
929511165
1037981165
1141531165
1248341165
1359441165

prune483.0ms (13.8%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1860186
Fresh000
Picked011
Done011
Total1862188
Error
0b
Counts
188 → 2
Alt Table
StatusErrorProgram
0.0b
(expm1.f64 (log1p.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))))
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))
Compiler

Compiled 3707 to 1877 computations (49.4% saved)

regimes91.0ms (2.6%)

Accuracy

Total 0.0b remaining (51.5%)

Threshold costs 0.0b (51.5%)

Counts
13 → 1
Compiler

Compiled 1555 to 1025 computations (34.1% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01022
11022

end68.0ms (1.9%)

Compiler

Compiled 58 to 36 computations (37.9% saved)

Profiling

Loading profile data...