Details

Time bar (total: 1.9s)

analyze252.0ms (13.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
37.5%50%12.6%6
43.7%40.6%15.7%7
56.2%23.4%20.4%8
57.8%21.1%21.2%9
64%12.5%23.5%10
64.8%10.7%24.5%11
67.9%6.4%25.7%12
68.3%5.4%26.3%13
69.9%3.3%26.9%14
Compiler

Compiled 12 to 8 computations (33.3% saved)

sample838.0ms (43.6%)

Results
748.0ms8256×body128valid
23.0ms166×body128invalid
Compiler

Compiled 35 to 23 computations (34.3% saved)

simplify28.0ms (1.5%)

Algorithm
egg-herbie
Rules
388×fma-def_binary64
286×fma-neg_binary64
71×distribute-rgt-in_binary64
70×associate-*l*_binary64
69×cancel-sign-sub-inv_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
11810
24010
38810
415410
521710
638610
751110
865710
972710
1077710
1172410

prune6.0ms (0.3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (*.f64 x (-.f64 x y)))
0.0b
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
Compiler

Compiled 58 to 37 computations (36.2% saved)

localize5.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
0.0b
(-.f64 (*.f64 x x) (*.f64 x y))

series13.0ms (0.7%)

Counts
2 → 48
Calls

2 calls:

8.0ms
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
5.0ms
(-.f64 (*.f64 x x) (*.f64 x y))

rewrite58.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
885×log1p-expm1-u_binary64
885×expm1-log1p-u_binary64
90×add-sqr-sqrt_binary64
85×add-log-exp_binary64
84×add-cube-cbrt_binary64
Counts
2 → 74
Calls

2 calls:

57.0ms
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
57.0ms
(-.f64 (*.f64 x x) (*.f64 x y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0817
117917
2223317
3532717
000
100

simplify139.0ms (7.2%)

Algorithm
egg-herbie
Rules
952×fma-neg_binary64
477×distribute-rgt-neg-in_binary64
415×neg-mul-1_binary64
398×associate-*l*_binary64
323×distribute-lft-neg-in_binary64
Counts
122 → 85
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
014486
141378
285378
3193378
4463378
51330378
62262378
73720378
84561378
94926378
104995378
114875378

prune50.0ms (2.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New83285
Fresh101
Picked011
Done000
Total84387
Error
0b
Counts
87 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 x (*.f64 2 (-.f64 x y)))
0.0b
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
0.3b
(*.f64 2 (fma.f64 x (-.f64 x y) (fma.f64 (neg.f64 y) x (*.f64 x y))))
Compiler

Compiled 1284 to 536 computations (58.3% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (*.f64 2 (-.f64 x y)))

series7.0ms (0.4%)

Counts
1 → 24
Calls

1 calls:

7.0ms
(*.f64 x (*.f64 2 (-.f64 x y)))

rewrite47.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
767×log1p-expm1-u_binary64
767×expm1-log1p-u_binary64
359×prod-diff_binary64
78×add-sqr-sqrt_binary64
73×add-log-exp_binary64
Counts
1 → 19
Calls

1 calls:

46.0ms
(*.f64 x (*.f64 2 (-.f64 x y)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
115310
2193010
3535610
000
100

simplify98.0ms (5.1%)

Algorithm
egg-herbie
Rules
675×fma-neg_binary64
534×fma-def_binary64
453×distribute-rgt-neg-in_binary64
382×neg-mul-1_binary64
377×neg-sub0_binary64
Counts
43 → 24
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
011276
131222
272222
3165222
4415222
51182222
62315222
73491222
84278222
94933222
104866222

prune13.0ms (0.7%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New24024
Fresh011
Picked011
Done011
Total24327
Error
0b
Counts
27 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 x (*.f64 2 (-.f64 x y)))
0.0b
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
0.3b
(*.f64 2 (fma.f64 x (-.f64 x y) (fma.f64 (neg.f64 y) x (*.f64 x y))))
Compiler

Compiled 299 to 181 computations (39.5% saved)

localize8.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 2 (fma.f64 x (-.f64 x y) (fma.f64 (neg.f64 y) x (*.f64 x y))))
0.0b
(fma.f64 x (-.f64 x y) (fma.f64 (neg.f64 y) x (*.f64 x y)))
52.0b
(fma.f64 (neg.f64 y) x (*.f64 x y))

series26.0ms (1.4%)

Counts
3 → 72
Calls

3 calls:

10.0ms
(*.f64 2 (fma.f64 x (-.f64 x y) (fma.f64 (neg.f64 y) x (*.f64 x y))))
9.0ms
(fma.f64 x (-.f64 x y) (fma.f64 (neg.f64 y) x (*.f64 x y)))
7.0ms
(fma.f64 (neg.f64 y) x (*.f64 x y))

rewrite64.0ms (3.3%)

Algorithm
batch-egg-rewrite
Rules
946×prod-diff_binary64
900×expm1-log1p-u_binary64
109×add-sqr-sqrt_binary64
103×log1p-expm1-u_binary64
100×add-cbrt-cube_binary64
Counts
3 → 61
Calls

3 calls:

63.0ms
(*.f64 2 (fma.f64 x (-.f64 x y) (fma.f64 (neg.f64 y) x (*.f64 x y))))
63.0ms
(fma.f64 x (-.f64 x y) (fma.f64 (neg.f64 y) x (*.f64 x y)))
63.0ms
(fma.f64 (neg.f64 y) x (*.f64 x y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01047
121438
2232638
3560238
000
100

simplify128.0ms (6.7%)

Algorithm
egg-herbie
Rules
952×fma-neg_binary64
477×distribute-rgt-neg-in_binary64
415×neg-mul-1_binary64
398×associate-*l*_binary64
323×distribute-lft-neg-in_binary64
Counts
133 → 74
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
015510
142402
285402
3193402
4463402
51330402
62262402
73720402
84561402
94926402
104995402
114875402

prune31.0ms (1.6%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New74074
Fresh000
Picked011
Done022
Total74377
Error
0b
Counts
77 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 x (*.f64 2 (-.f64 x y)))
0.0b
(*.f64 2 (-.f64 (*.f64 x x) (*.f64 x y)))
0.3b
(*.f64 2 (fma.f64 x (-.f64 x y) (fma.f64 (neg.f64 y) x (*.f64 x y))))
Compiler

Compiled 1160 to 402 computations (65.3% saved)

regimes56.0ms (2.9%)

Accuracy

Total 0.0b remaining (90.7%)

Threshold costs 0.0b (90.7%)

Counts
13 → 1
Compiler

Compiled 632 to 404 computations (36.1% saved)

simplify3.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11513
22513
33113
43513
53613
63613

end47.0ms (2.4%)

Compiler

Compiled 58 to 36 computations (37.9% saved)

Profiling

Loading profile data...