Details

Time bar (total: 4.8s)

analyze28.0ms (0.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)

sample891.0ms (18.6%)

Results
787.0ms8256×body128valid
39.0ms414×body128invalid
Compiler

Compiled 67 to 38 computations (43.3% saved)

simplify46.0ms (1%)

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

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
15.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
15.5b
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))
15.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
Compiler

Compiled 79 to 45 computations (43% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series42.0ms (0.9%)

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

rewrite8.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))
1.0ms
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))

simplify85.0ms (1.8%)

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 (0.8%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New51253
Fresh101
Picked101
Done000
Total53255
Error
0.0b
Counts
55 → 2
Alt Table
StatusErrorProgram
15.0b
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))) (cbrt.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1))))) (cbrt.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 942 to 461 computations (51.1% saved)

localize7.0ms (0.1%)

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)

series43.0ms (0.9%)

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

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

simplify144.0ms (3%)

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

prune130.0ms (2.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1451146
Fresh011
Picked011
Done000
Total1453148
Error
0b
Counts
148 → 3
Alt Table
StatusErrorProgram
15.0b
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))) (cbrt.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1))))) (cbrt.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)))
0.0b
(expm1.f64 (log1p.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))))
Compiler

Compiled 2775 to 1239 computations (55.4% saved)

localize12.0ms (0.2%)

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

series13.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

13.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
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 11
Calls

1 calls:

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

simplify134.0ms (2.8%)

Algorithm
egg-herbie
Rules
1120×fma-def_binary64
494×associate-/r/_binary64
446×unswap-sqr_binary64
376×fma-neg_binary64
374×div-sub_binary64
Counts
35 → 21
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
027583
131552
247552
376552
4155552
5407552
61342552
72141552
82450552
92868552
103692552
114203552
124876552
134988552
144790552

prune140.0ms (2.9%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1670167
Fresh011
Picked011
Done011
Total1673170
Error
0b
Counts
170 → 3
Alt Table
StatusErrorProgram
15.0b
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))) (cbrt.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1))))) (cbrt.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)))
0.0b
(expm1.f64 (log1p.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))))
Compiler

Compiled 3421 to 1718 computations (49.8% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series2.2s (45.4%)

Counts
2 → 48
Calls

2 calls:

1.2s
(cbrt.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1))))
1.0s
(*.f64 (cbrt.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))) (cbrt.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))))

rewrite28.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
94×cbrt-prod_binary64
80×add-sqr-sqrt_binary64
67×sqrt-prod_binary64
25×unswap-sqr_binary64
25×fabs-mul_binary64
Counts
2 → 106
Calls

2 calls:

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

simplify212.0ms (4.4%)

Algorithm
egg-herbie
Rules
548×log-prod_binary64
540×associate-/l/_binary64
444×associate-/l*_binary64
287×associate-/r/_binary64
285×*-commutative_binary64
Counts
154 → 129
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
01085031
11444971
23234517
35954457
410463995
518263995
643993985
749323985
849213985

prune359.0ms (7.5%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New3480348
Fresh000
Picked011
Done022
Total3483351
Error
0b
Counts
351 → 3
Alt Table
StatusErrorProgram
15.0b
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))) (cbrt.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1))))) (cbrt.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)))
0.0b
(expm1.f64 (log1p.f64 (sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 (/.f64 b a) a) -1)))))
Compiler

Compiled 15122 to 7573 computations (49.9% saved)

regimes151.0ms (3.2%)

Accuracy

Total 0.0b remaining (45.6%)

Threshold costs 0.0b (45.6%)

Counts
21 → 1
Compiler

Compiled 3317 to 2175 computations (34.4% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0915
1915

end66.0ms (1.4%)

Compiler

Compiled 87 to 55 computations (36.8% saved)

Profiling

Loading profile data...