Details

Time bar (total: 2.1s)

analyze36.0ms (1.7%)

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.2%)

Results
958.0ms8256×body128valid
50.0ms371×body128invalid
Compiler

Compiled 67 to 38 computations (43.3% saved)

simplify47.0ms (2.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
14.2b
Counts
3 → 1
Alt Table
StatusErrorProgram
14.2b
(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.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)))
14.4b
(/.f64 b (*.f64 a a))

series57.0ms (2.8%)

Counts
3 → 72
Calls

3 calls:

24.0ms
(/.f64 b (*.f64 a a))
23.0ms
(fma.f64 b (/.f64 b (*.f64 a a)) -1)
11.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)

simplify72.0ms (3.5%)

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

prune36.0ms (1.8%)

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.3b
(/.f64 (/.f64 b a) a)

series57.0ms (2.8%)

Counts
3 → 72
Calls

3 calls:

22.0ms
(/.f64 (/.f64 b a) a)
19.0ms
(fma.f64 b (/.f64 (/.f64 b a) a) -1)
14.0ms
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))

rewrite12.0ms (0.6%)

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:

4.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)

simplify123.0ms (6%)

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

prune122.0ms (5.9%)

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 (log1p.f64 (expm1.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))))
Compiler

Compiled 2911 to 1271 computations (56.3% saved)

localize10.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
(sqrt.f64 (fabs.f64 (log1p.f64 (expm1.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))))
0.0b
(log1p.f64 (expm1.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))
0.3b
(/.f64 (/.f64 b a) a)

series32.0ms (1.5%)

Counts
2 → 48
Calls

2 calls:

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

rewrite3.0ms (0.2%)

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

2 calls:

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

simplify86.0ms (4.2%)

Algorithm
egg-herbie
Rules
549×distribute-rgt-in_binary64
538×distribute-lft-in_binary64
528×fma-def_binary64
348×fma-neg_binary64
266×associate-/l/_binary64
Counts
80 → 58
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0551196
1711110
21021110
32511110
412381110
548711110
651201110

prune114.0ms (5.6%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1870187
Fresh000
Picked011
Done011
Total1872189
Error
0b
Counts
189 → 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 (log1p.f64 (expm1.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))))
Compiler

Compiled 3591 to 1777 computations (50.5% saved)

regimes79.0ms (3.8%)

Accuracy

Total 0.0b remaining (35.3%)

Threshold costs 0.0b (35.3%)

Counts
8 → 1
Compiler

Compiled 1032 to 693 computations (32.8% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0915
1915

end68.0ms (3.3%)

Compiler

Compiled 50 to 34 computations (32% saved)

Profiling

Loading profile data...