Details

Time bar (total: 1.9s)

analyze34.0ms (1.8%)

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

Results
1.1s8256×body128valid
49.0ms392×body128invalid
Compiler

Compiled 67 to 38 computations (43.3% saved)

simplify53.0ms (2.8%)

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

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 49 to 29 computations (40.8% saved)

localize8.0ms (0.4%)

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

series36.0ms (1.9%)

Counts
2 → 48
Calls

2 calls:

24.0ms
(/.f64 b (*.f64 a a))
12.0ms
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))

rewrite45.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
84×add-cbrt-cube_binary64
Counts
2 → 59
Calls

2 calls:

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

Useful iterations: 1 (0.0ms)

IterNodesCost
0922
118220
2198920
3497520

simplify110.0ms (5.8%)

Algorithm
egg-herbie
Rules
1214×fma-def_binary64
706×associate-/r/_binary64
598×div-sub_binary64
525×fma-neg_binary64
434×unswap-sqr_binary64
Counts
107 → 62
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
010528
117528
229528
354528
4120528
5336528
61160528
71957528
82364528
92778528
103554528
114092528
124278528
134997528

prune29.0ms (1.5%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New61162
Fresh000
Picked101
Done000
Total62163
Error
0.0b
Counts
63 → 1
Alt Table
StatusErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (pow.f64 (/.f64 (sqrt.f64 b) a) 2) -1)))
Compiler

Compiled 874 to 461 computations (47.3% saved)

localize7.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
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.5b
(pow.f64 (/.f64 (sqrt.f64 b) a) 2)

series40.0ms (2.1%)

Counts
3 → 48
Calls

3 calls:

17.0ms
(pow.f64 (/.f64 (sqrt.f64 b) a) 2)
13.0ms
(sqrt.f64 (fabs.f64 (fma.f64 b (pow.f64 (/.f64 (sqrt.f64 b) a) 2) -1)))
9.0ms
(/.f64 (sqrt.f64 b) a)

rewrite51.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
855×log1p-expm1-u_binary64
855×expm1-log1p-u_binary64
104×add-sqr-sqrt_binary64
98×add-cbrt-cube_binary64
98×add-log-exp_binary64
Counts
3 → 97
Calls

3 calls:

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

Useful iterations: 1 (0.0ms)

IterNodesCost
01132
122126
2221726
3518426

simplify92.0ms (4.9%)

Algorithm
egg-herbie
Rules
618×unswap-sqr_binary64
568×fma-def_binary64
412×associate-/l*_binary64
361×fma-neg_binary64
317×*-commutative_binary64
Counts
145 → 100
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
015672
129564
257516
3170516
4700516
51694516
62108516
72766516
83807516
94825516
104942516

prune66.0ms (3.5%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New1000100
Fresh000
Picked011
Done000
Total1001101
Error
0.0b
Counts
101 → 1
Alt Table
StatusErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (pow.f64 (/.f64 (sqrt.f64 b) a) 2) -1)))
Compiler

Compiled 1492 to 773 computations (48.2% saved)

regimes55.0ms (2.9%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

Counts
7 → 1
Compiler

Compiled 811 to 525 computations (35.3% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01117
11117

end42.0ms (2.2%)

Compiler

Compiled 39 to 30 computations (23.1% saved)

Profiling

Loading profile data...