Details

Time bar (total: 2.1s)

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

Results
981.0ms8256×body128valid
53.0ms426×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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
14.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
14.8b
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))
Compiler

Compiled 55 to 29 computations (47.3% saved)

localize7.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 a a) (*.f64 b b))
0.0b
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))
14.3b
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))

series55.0ms (2.6%)

Counts
3 → 72
Calls

3 calls:

26.0ms
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))
22.0ms
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))
7.0ms
(-.f64 (*.f64 a a) (*.f64 b b))

rewrite17.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt_binary64
13×sqrt-prod_binary64
11×times-frac_binary64
10×fabs-mul_binary64
*-un-lft-identity_binary64
Counts
3 → 75
Calls

3 calls:

6.0ms
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))
5.0ms
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))
3.0ms
(-.f64 (*.f64 a a) (*.f64 b b))

simplify107.0ms (5.1%)

Algorithm
egg-herbie
Rules
653×times-frac_binary64
330×associate-*l*_binary64
306×associate-/l*_binary64
296×fma-neg_binary64
282×associate-*r*_binary64
Counts
147 → 125
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01342391
12852222
28792113
338712101
448882101
549812101

prune71.0ms (3.4%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1232125
Fresh000
Picked101
Done000
Total1242126
Error
0b
Counts
126 → 2
Alt Table
StatusErrorProgram
14.8b
(sqrt.f64 (fabs.f64 (expm1.f64 (log1p.f64 (-.f64 1 (/.f64 (*.f64 b b) (*.f64 a a)))))))
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
Compiler

Compiled 2456 to 688 computations (72% saved)

localize6.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

series20.0ms (0.9%)

Counts
2 → 24
Calls

2 calls:

10.0ms
(fma.f64 (/.f64 b a) (/.f64 b a) -1)
9.0ms
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))

rewrite3.0ms (0.1%)

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

2 calls:

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

simplify45.0ms (2.1%)

Algorithm
egg-herbie
Rules
670×associate-/r*_binary64
575×associate-/r/_binary64
575×fma-def_binary64
395×associate-/l/_binary64
213×unswap-sqr_binary64
Counts
55 → 55
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
048830
168744
2100744
3269744
41431744
55301744

prune37.0ms (1.7%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New55055
Fresh011
Picked011
Done000
Total55257
Error
0b
Counts
57 → 2
Alt Table
StatusErrorProgram
14.8b
(sqrt.f64 (fabs.f64 (expm1.f64 (log1p.f64 (-.f64 1 (/.f64 (*.f64 b b) (*.f64 a a)))))))
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
Compiler

Compiled 951 to 469 computations (50.7% saved)

localize13.0ms (0.6%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (expm1.f64 (log1p.f64 (-.f64 1 (/.f64 (*.f64 b b) (*.f64 a a)))))))
0.0b
(expm1.f64 (log1p.f64 (-.f64 1 (/.f64 (*.f64 b b) (*.f64 a a)))))
31.2b
(/.f64 (*.f64 b b) (*.f64 a a))

series72.0ms (3.5%)

Counts
3 → 72
Calls

3 calls:

31.0ms
(/.f64 (*.f64 b b) (*.f64 a a))
23.0ms
(expm1.f64 (log1p.f64 (-.f64 1 (/.f64 (*.f64 b b) (*.f64 a a)))))
18.0ms
(sqrt.f64 (fabs.f64 (expm1.f64 (log1p.f64 (-.f64 1 (/.f64 (*.f64 b b) (*.f64 a a)))))))

rewrite11.0ms (0.5%)

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

3 calls:

5.0ms
(/.f64 (*.f64 b b) (*.f64 a a))
3.0ms
(sqrt.f64 (fabs.f64 (expm1.f64 (log1p.f64 (-.f64 1 (/.f64 (*.f64 b b) (*.f64 a a)))))))
0.0ms
(expm1.f64 (log1p.f64 (-.f64 1 (/.f64 (*.f64 b b) (*.f64 a a)))))

simplify101.0ms (4.8%)

Algorithm
egg-herbie
Rules
541×times-frac_binary64
347×*-commutative_binary64
346×unswap-sqr_binary64
338×associate-/l*_binary64
220×associate-*l/_binary64
Counts
127 → 92
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
0931958
11711685
25161660
320641637
434281637
547571393
649191393

prune115.0ms (5.5%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New92092
Fresh000
Picked011
Done011
Total92294
Error
0b
Counts
94 → 2
Alt Table
StatusErrorProgram
14.8b
(sqrt.f64 (fabs.f64 (expm1.f64 (log1p.f64 (-.f64 1 (/.f64 (*.f64 b b) (*.f64 a a)))))))
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
Compiler

Compiled 1680 to 950 computations (43.5% saved)

regimes180.0ms (8.6%)

Accuracy

Total 0.0b remaining (51.1%)

Threshold costs 0.0b (51.1%)

Counts
26 → 1
Compiler

Compiled 2864 to 2014 computations (29.7% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01218
11618
22018
32218
42318
52218

end51.0ms (2.4%)

Compiler

Compiled 53 to 40 computations (24.5% saved)

Profiling

Loading profile data...