Details

Time bar (total: 2.1s)

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

sample1.1s (51%)

Results
971.0ms8256×body128valid
44.0ms391×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

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
15.5b
Counts
3 → 1
Alt Table
StatusErrorProgram
15.5b
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
Compiler

Compiled 49 to 29 computations (40.8% saved)

localize6.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)))
15.5b
(/.f64 b (*.f64 a a))

series52.0ms (2.5%)

Counts
3 → 72
Calls

3 calls:

23.0ms
(/.f64 b (*.f64 a a))
19.0ms
(fma.f64 b (/.f64 b (*.f64 a a)) -1)
10.0ms
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))

rewrite50.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
772×log1p-expm1-u_binary64
772×expm1-log1p-u_binary64
142×log1p-udef_binary64
90×add-sqr-sqrt_binary64
89×egg-rr
Counts
3 → 89
Calls

3 calls:

48.0ms
(fma.f64 b (/.f64 b (*.f64 a a)) -1)
48.0ms
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
48.0ms
(/.f64 b (*.f64 a a))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0933
118231
2198931
3497531
000
100

simplify74.0ms (3.5%)

Algorithm
egg-herbie
Rules
688×fma-def_binary64
616×times-frac_binary64
499×distribute-rgt-neg-in_binary64
469×distribute-lft-neg-in_binary64
394×distribute-neg-frac_binary64
Counts
161 → 98
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
014795
127759
240759
397759
4362759
52239759
64082759
74974759
84944759

prune51.0ms (2.4%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New95398
Fresh000
Picked101
Done000
Total96399
Error
0.0b
Counts
99 → 3
Alt Table
StatusErrorProgram
15.5b
(sqrt.f64 (fabs.f64 (log1p.f64 (expm1.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))))
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (pow.f64 (/.f64 (sqrt.f64 b) a) 2) -1)))
1.4b
(sqrt.f64 (fabs.f64 -1))
Compiler

Compiled 1514 to 778 computations (48.6% saved)

localize9.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 b (pow.f64 (/.f64 (sqrt.f64 b) a) 2) -1)
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (pow.f64 (/.f64 (sqrt.f64 b) a) 2) -1)))
0.2b
(/.f64 (sqrt.f64 b) a)
0.6b
(pow.f64 (/.f64 (sqrt.f64 b) a) 2)

series52.0ms (2.5%)

Counts
4 → 61
Calls

4 calls:

17.0ms
(fma.f64 b (pow.f64 (/.f64 (sqrt.f64 b) a) 2) -1)
14.0ms
(pow.f64 (/.f64 (sqrt.f64 b) a) 2)
11.0ms
(sqrt.f64 (fabs.f64 (fma.f64 b (pow.f64 (/.f64 (sqrt.f64 b) a) 2) -1)))
10.0ms
(/.f64 (sqrt.f64 b) a)

rewrite56.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
855×log1p-expm1-u_binary64
855×expm1-log1p-u_binary64
127×egg-rr
104×add-sqr-sqrt_binary64
98×add-cbrt-cube_binary64
Counts
4 → 127
Calls

4 calls:

54.0ms
(fma.f64 b (pow.f64 (/.f64 (sqrt.f64 b) a) 2) -1)
54.0ms
(sqrt.f64 (fabs.f64 (fma.f64 b (pow.f64 (/.f64 (sqrt.f64 b) a) 2) -1)))
54.0ms
(/.f64 (sqrt.f64 b) a)
53.0ms
(pow.f64 (/.f64 (sqrt.f64 b) a) 2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01145
122137
2221737
3518437
000
100

simplify64.0ms (3%)

Algorithm
egg-herbie
Rules
576×distribute-rgt-neg-in_binary64
537×associate-/r*_binary64
509×distribute-lft-neg-in_binary64
464×fma-def_binary64
436×associate-/l/_binary64
Counts
188 → 136
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
018802
137694
272628
3210628
4985628
52578628
64381628
74949628

prune75.0ms (3.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1360136
Fresh022
Picked011
Done000
Total1363139
Error
0.0b
Counts
139 → 3
Alt Table
StatusErrorProgram
15.5b
(sqrt.f64 (fabs.f64 (log1p.f64 (expm1.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))))
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (pow.f64 (/.f64 (sqrt.f64 b) a) 2) -1)))
1.4b
(sqrt.f64 (fabs.f64 -1))
Compiler

Compiled 2132 to 1090 computations (48.9% saved)

localize2.0ms (0.1%)

prune3.0ms (0.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done011
Total033
Error
0.0b
Counts
3 → 3
Alt Table
StatusErrorProgram
15.5b
(sqrt.f64 (fabs.f64 (log1p.f64 (expm1.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))))
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (pow.f64 (/.f64 (sqrt.f64 b) a) 2) -1)))
1.4b
(sqrt.f64 (fabs.f64 -1))
Compiler

Compiled 46 to 35 computations (23.9% saved)

localize10.0ms (0.5%)

Local error

Found 4 expressions with local error:

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

series29.0ms (1.4%)

Counts
2 → 48
Calls

2 calls:

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

rewrite47.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
847×expm1-log1p-u_binary64
846×log1p-expm1-u_binary64
98×add-sqr-sqrt_binary64
91×add-cbrt-cube_binary64
91×add-log-exp_binary64
Counts
2 → 54
Calls

2 calls:

46.0ms
(sqrt.f64 (fabs.f64 (log1p.f64 (expm1.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))))
46.0ms
(log1p.f64 (expm1.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01126
120124
2217824
3523324
000
100

simplify69.0ms (3.3%)

Algorithm
egg-herbie
Rules
688×fma-def_binary64
616×times-frac_binary64
499×distribute-rgt-neg-in_binary64
469×distribute-lft-neg-in_binary64
394×distribute-neg-frac_binary64
Counts
102 → 60
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
014627
127591
240591
397591
4362591
52238591
64082591
74974591
84944591

prune68.0ms (3.2%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1330133
Fresh000
Picked011
Done022
Total1333136
Error
0.0b
Counts
136 → 3
Alt Table
StatusErrorProgram
15.5b
(sqrt.f64 (fabs.f64 (log1p.f64 (expm1.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))))
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (pow.f64 (/.f64 (sqrt.f64 b) a) 2) -1)))
1.4b
(sqrt.f64 (fabs.f64 -1))
Compiler

Compiled 2213 to 1175 computations (46.9% saved)

regimes96.0ms (4.6%)

Accuracy

Total 0.0b remaining (29.8%)

Threshold costs 0.0b (29.8%)

Counts
12 → 1
Compiler

Compiled 1849 to 1081 computations (41.5% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01117
11117

end139.0ms (6.6%)

Compiler

Compiled 58 to 45 computations (22.4% saved)

Profiling

Loading profile data...