Details

Time bar (total: 2.8s)

analyze34.0ms (1.2%)

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

Results
941.0ms8256×body128valid
53.0ms421×body128invalid
Compiler

Compiled 67 to 38 computations (43.3% saved)

simplify47.0ms (1.7%)

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
13.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
13.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.2%)

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

series69.0ms (2.5%)

Counts
3 → 72
Calls

3 calls:

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

rewrite132.0ms (4.8%)

Algorithm
batch-egg-rewrite
Rules
177×egg-rr
Counts
3 → 177
Calls

2 calls:

128.0ms
((/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a)) (sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a)))) (-.f64 (*.f64 a a) (*.f64 b b)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0946
121238
2270338
3470738
4464137
5515237
000
100

simplify63.0ms (2.3%)

Algorithm
egg-herbie
Rules
735×associate-/r*_binary64
707×associate-/l/_binary64
519×associate-/r/_binary64
498×fma-def_binary64
444×fma-neg_binary64
Counts
249 → 189
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
016963
137891
284843
3258843
41055843
54523843
65163843

prune107.0ms (3.8%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1863189
Fresh000
Picked101
Done000
Total1873190
Error
0.0b
Counts
190 → 3
Alt Table
StatusErrorProgram
13.8b
(exp.f64 (*.f64 (log1p.f64 (neg.f64 (/.f64 (*.f64 b b) (*.f64 a a)))) 1/2))
0.0b
(sqrt.f64 (fabs.f64 (*.f64 (/.f64 (+.f64 a b) a) (/.f64 (-.f64 a b) a))))
0.8b
(sqrt.f64 (fabs.f64 1))
Compiler

Compiled 3691 to 1355 computations (63.3% saved)

localize8.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series50.0ms (1.8%)

Counts
4 → 96
Calls

4 calls:

25.0ms
(*.f64 (/.f64 (+.f64 a b) a) (/.f64 (-.f64 a b) a))
15.0ms
(sqrt.f64 (fabs.f64 (*.f64 (/.f64 (+.f64 a b) a) (/.f64 (-.f64 a b) a))))
5.0ms
(/.f64 (-.f64 a b) a)
5.0ms
(/.f64 (+.f64 a b) a)

rewrite80.0ms (2.9%)

Algorithm
batch-egg-rewrite
Rules
158×egg-rr
Counts
4 → 158
Calls

2 calls:

77.0ms
((*.f64 (/.f64 (+.f64 a b) a) (/.f64 (-.f64 a b) a)) (/.f64 (-.f64 a b) a) (/.f64 (+.f64 a b) a) (sqrt.f64 (fabs.f64 (*.f64 (/.f64 (+.f64 a b) a) (/.f64 (-.f64 a b) a)))))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01050
123645
2331145
3505645
000
100

simplify58.0ms (2.1%)

Algorithm
egg-herbie
Rules
468×cancel-sign-sub-inv_binary64
378×div-sub_binary64
321×fma-neg_binary64
291×fma-def_binary64
261×fabs-div_binary64
Counts
254 → 170
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0271041
1741041
21991041
36391041
427811041
551831041

prune87.0ms (3.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1691170
Fresh112
Picked101
Done000
Total1712173
Error
0b
Counts
173 → 2
Alt Table
StatusErrorProgram
13.8b
(exp.f64 (*.f64 (log1p.f64 (neg.f64 (/.f64 (*.f64 b b) (*.f64 a a)))) 1/2))
0.0b
(sqrt.f64 (fabs.f64 (/.f64 (+.f64 a b) (/.f64 a (/.f64 (-.f64 a b) a)))))
Compiler

Compiled 2819 to 913 computations (67.6% saved)

localize9.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series51.0ms (1.8%)

Counts
3 → 72
Calls

3 calls:

23.0ms
(/.f64 (+.f64 a b) (/.f64 a (/.f64 (-.f64 a b) a)))
18.0ms
(sqrt.f64 (fabs.f64 (/.f64 (+.f64 a b) (/.f64 a (/.f64 (-.f64 a b) a)))))
10.0ms
(/.f64 a (/.f64 (-.f64 a b) a))

rewrite75.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
131×egg-rr
Counts
3 → 131
Calls

2 calls:

72.0ms
((/.f64 (+.f64 a b) (/.f64 a (/.f64 (-.f64 a b) a))) (/.f64 a (/.f64 (-.f64 a b) a)) (sqrt.f64 (fabs.f64 (/.f64 (+.f64 a b) (/.f64 a (/.f64 (-.f64 a b) a))))))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01046
124044
2345244
3501744
000
100

simplify95.0ms (3.4%)

Algorithm
egg-herbie
Rules
719×fma-def_binary64
620×associate-/l*_binary64
280×fma-neg_binary64
259×cancel-sign-sub-inv_binary64
199×associate-/r/_binary64
Counts
203 → 154
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0501206
11421206
24261152
314831122
447031122
549471122
649941122
749601122

prune97.0ms (3.5%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1960196
Fresh011
Picked011
Done000
Total1962198
Error
0b
Counts
198 → 2
Alt Table
StatusErrorProgram
13.8b
(exp.f64 (*.f64 (log1p.f64 (neg.f64 (/.f64 (*.f64 b b) (*.f64 a a)))) 1/2))
0.0b
(sqrt.f64 (fabs.f64 (/.f64 (+.f64 a b) (/.f64 a (/.f64 (-.f64 a b) a)))))
Compiler

Compiled 3605 to 1178 computations (67.3% saved)

localize8.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(log1p.f64 (neg.f64 (/.f64 (*.f64 b b) (*.f64 a a))))
32.5b
(/.f64 (*.f64 b b) (*.f64 a a))

series64.0ms (2.3%)

Counts
2 → 48
Calls

2 calls:

34.0ms
(log1p.f64 (neg.f64 (/.f64 (*.f64 b b) (*.f64 a a))))
30.0ms
(/.f64 (*.f64 b b) (*.f64 a a))

rewrite49.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
65×egg-rr
Counts
2 → 65
Calls

2 calls:

48.0ms
((/.f64 (*.f64 b b) (*.f64 a a)) (log1p.f64 (neg.f64 (/.f64 (*.f64 b b) (*.f64 a a)))))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0824
117116
2193416
3525216
000
100

simplify67.0ms (2.4%)

Algorithm
egg-herbie
Rules
682×fma-neg_binary64
373×neg-mul-1_binary64
343×sub-neg_binary64
233×fma-def_binary64
221×distribute-rgt-neg-in_binary64
Counts
113 → 95
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0801093
12401065
27051027
327601027
44745982
55173982

prune76.0ms (2.7%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New95095
Fresh000
Picked011
Done011
Total95297
Error
0b
Counts
97 → 2
Alt Table
StatusErrorProgram
13.8b
(exp.f64 (*.f64 (log1p.f64 (neg.f64 (/.f64 (*.f64 b b) (*.f64 a a)))) 1/2))
0.0b
(sqrt.f64 (fabs.f64 (/.f64 (+.f64 a b) (/.f64 a (/.f64 (-.f64 a b) a)))))
Compiler

Compiled 1725 to 1212 computations (29.7% saved)

regimes336.0ms (12.1%)

Accuracy

Total -0.0b remaining (-610.5%)

Threshold costs -0.0b (-610.5%)

Counts
49 → 1
Compiler

Compiled 5240 to 3932 computations (25% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
distribute-neg-in_binary64
+-commutative_binary64
+-lft-identity_binary64
neg-sub0_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01316
12016
22216
32116

end45.0ms (1.6%)

Compiler

Compiled 53 to 39 computations (26.4% saved)

Profiling

Loading profile data...