Details

Time bar (total: 3.8s)

analyze33.0ms (0.9%)

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)

sample124.0ms (3.2%)

Algorithm
intervals
Results
12.0ms256×body128valid
6.0ms256×pre128true
0.0mspre128false
Compiler

Compiled 43 to 25 computations (41.9% saved)

simplify116.0ms (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.3b
Counts
3 → 1
Alt Table
StatusErrorProgram
14.3b
(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)))
13.9b
(/.f64 b (*.f64 a a))

series43.0ms (1.1%)

Counts
2 → 48
Calls

2 calls:

29.0ms
(/.f64 b (*.f64 a a))
13.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:

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

simplify87.0ms (2.3%)

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

prune40.0ms (1.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New50353
Fresh000
Picked101
Done000
Total51354
Error
0.0b
Counts
54 → 3
Alt Table
StatusErrorProgram
14.3b
(*.f64 (sqrt.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))) (sqrt.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))))
14.3b
(expm1.f64 (log1p.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))))
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))
Compiler

Compiled 946 to 469 computations (50.4% 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.1%)

Counts
2 → 48
Calls

2 calls:

29.0ms
(/.f64 (/.f64 b a) a)
13.0ms
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))

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

simplify140.0ms (3.7%)

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

prune108.0ms (2.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1442146
Fresh112
Picked011
Done000
Total1454149
Error
0b
Counts
149 → 4
Alt Table
StatusErrorProgram
0.0b
(log.f64 (exp.f64 (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)))))
14.3b
(*.f64 (sqrt.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))) (sqrt.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))))
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))
Compiler

Compiled 2779 to 1247 computations (55.1% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(exp.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1))))
0.0b
(log.f64 (exp.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.3b
(/.f64 (/.f64 b a) a)

series34.0ms (0.9%)

Counts
2 → 48
Calls

2 calls:

21.0ms
(exp.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1))))
14.0ms
(log.f64 (exp.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))))

rewrite8.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
20×exp-prod_binary64
14×sqrt-prod_binary64
11×add-sqr-sqrt_binary64
11×log-pow_binary64
*-un-lft-identity_binary64
Counts
2 → 44
Calls

2 calls:

3.0ms
(exp.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1))))
3.0ms
(log.f64 (exp.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))))

simplify149.0ms (3.9%)

Algorithm
egg-herbie
Rules
554×unswap-sqr_binary64
524×associate-/r/_binary64
500×fma-def_binary64
366×exp-sum_binary64
353×log-prod_binary64
Counts
92 → 76
Iterations

Useful iterations: 7 (0.0ms)

IterNodesCost
0711651
1811539
21081539
31511539
42651539
56021539
617501539
729261533
843921533
947841533
1049861533
1149161533

prune232.0ms (6.1%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2220222
Fresh022
Picked011
Done011
Total2224226
Error
0b
Counts
226 → 4
Alt Table
StatusErrorProgram
0.0b
(log.f64 (exp.f64 (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)))))
14.3b
(*.f64 (sqrt.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))) (sqrt.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))))
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))
Compiler

Compiled 4684 to 2388 computations (49% 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
(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)))
0.3b
(/.f64 (/.f64 b a) a)

series1.1s (29.9%)

Counts
2 → 48
Calls

2 calls:

1.1s
(log1p.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1))))
14.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)))))

simplify153.0ms (4%)

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

prune216.0ms (5.6%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1860186
Fresh011
Picked011
Done022
Total1864190
Error
0b
Counts
190 → 4
Alt Table
StatusErrorProgram
0.0b
(log.f64 (exp.f64 (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)))))
14.3b
(*.f64 (sqrt.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))) (sqrt.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))))
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))
Compiler

Compiled 3746 to 1902 computations (49.2% saved)

regimes131.0ms (3.4%)

Accuracy

Total 0.0b remaining (76.9%)

Threshold costs 0.0b (76.9%)

Counts
20 → 1
Compiler

Compiled 2520 to 1654 computations (34.4% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01119
11119

end0.0ms (0%)

Compiler

Compiled 14 to 10 computations (28.6% saved)

sample970.0ms (25.3%)

Algorithm
intervals
Results
375.0ms8000×body128valid
233.0ms8000×pre128true
8.0ms366×pre128false
Compiler

Compiled 107 to 70 computations (34.6% saved)

Profiling

Loading profile data...