Details

Time bar (total: 2.0s)

analyze52.0ms (2.6%)

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
0%99.9%0.1%5
50%50%0.1%6
68.7%31.2%0.1%7
81.2%18.7%0.1%8
89%10.9%0.1%9
92.1%7.8%0.1%10
95.6%4.3%0.1%11
96.4%3.5%0.1%12
98%1.9%0.1%13
98.2%1.7%0.1%14
Compiler

Compiled 12 to 8 computations (33.3% saved)

sample1.0s (50.9%)

Results
833.0ms8256×body128valid
Compiler

Compiled 35 to 23 computations (34.3% saved)

simplify133.0ms (6.8%)

Algorithm
egg-herbie
Rules
878×div-sub_binary64
546×times-frac_binary64
500×sub-neg_binary64
408×fma-def_binary64
395×neg-sub0_binary64
Counts
1 → 2
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
0813
11613
24013
38113
415313
524813
643511
7107711
8302911
9355811
10395911
11415811
12437711
13455211
14508311

prune6.0ms (0.3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.3b
Counts
3 → 2
Alt Table
StatusErrorProgram
9.2b
(/.f64 x (fma.f64 1/2 (/.f64 x y) -1/2))
17.1b
(/.f64 (*.f64 (*.f64 x 2) y) (-.f64 x y))
Compiler

Compiled 61 to 40 computations (34.4% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
9.2b
(/.f64 x (fma.f64 1/2 (/.f64 x y) -1/2))

series9.0ms (0.5%)

Counts
1 → 24
Calls

1 calls:

9.0ms
(/.f64 x (fma.f64 1/2 (/.f64 x y) -1/2))

rewrite47.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
809×log1p-expm1-u_binary64
809×expm1-log1p-u_binary64
84×add-sqr-sqrt_binary64
80×add-log-exp_binary64
79×add-exp-log_binary64
Counts
1 → 34
Calls

1 calls:

46.0ms
(/.f64 x (fma.f64 1/2 (/.f64 x y) -1/2))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
117111
2207711
3498811
000
100

simplify51.0ms (2.6%)

Algorithm
egg-herbie
Rules
594×associate-/r*_binary64
411×fma-neg_binary64
367×cancel-sign-sub-inv_binary64
294×associate-/l/_binary64
286×associate-/r/_binary64
Counts
58 → 48
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
040510
1132492
2447444
31765432
45073432

prune35.0ms (1.8%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New44448
Fresh101
Picked101
Done000
Total46450
Error
0b
Counts
50 → 4
Alt Table
StatusErrorProgram
9.3b
(pow.f64 (/.f64 (fma.f64 1/2 (/.f64 x y) -1/2) x) -1)
9.2b
(*.f64 x (/.f64 1 (fma.f64 1/2 (/.f64 x y) -1/2)))
34.8b
(*.f64 2 (+.f64 y (*.f64 (/.f64 y x) (+.f64 y (/.f64 (*.f64 y y) x)))))
34.3b
(*.f64 -2 (+.f64 x (*.f64 (/.f64 x y) (+.f64 x (/.f64 (*.f64 x x) y)))))
Compiler

Compiled 812 to 499 computations (38.5% saved)

localize6.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(/.f64 1 (fma.f64 1/2 (/.f64 x y) -1/2))
8.9b
(*.f64 x (/.f64 1 (fma.f64 1/2 (/.f64 x y) -1/2)))

series23.0ms (1.1%)

Counts
2 → 48
Calls

2 calls:

13.0ms
(/.f64 1 (fma.f64 1/2 (/.f64 x y) -1/2))
10.0ms
(*.f64 x (/.f64 1 (fma.f64 1/2 (/.f64 x y) -1/2)))

rewrite57.0ms (2.9%)

Algorithm
batch-egg-rewrite
Rules
895×log1p-expm1-u_binary64
895×expm1-log1p-u_binary64
99×add-sqr-sqrt_binary64
93×add-log-exp_binary64
92×add-cbrt-cube_binary64
Counts
2 → 49
Calls

2 calls:

55.0ms
(/.f64 1 (fma.f64 1/2 (/.f64 x y) -1/2))
55.0ms
(*.f64 x (/.f64 1 (fma.f64 1/2 (/.f64 x y) -1/2)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01022
120822
2233222
3549422
000
100

simplify75.0ms (3.8%)

Algorithm
egg-herbie
Rules
654×fma-neg_binary64
416×fma-def_binary64
284×times-frac_binary64
241×distribute-rgt-neg-in_binary64
240×distribute-lft-neg-in_binary64
Counts
97 → 77
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0691038
1226999
2772876
32993831
44780831
55025831

prune48.0ms (2.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New77077
Fresh033
Picked011
Done000
Total77481
Error
0b
Counts
81 → 4
Alt Table
StatusErrorProgram
9.3b
(pow.f64 (/.f64 (fma.f64 1/2 (/.f64 x y) -1/2) x) -1)
9.2b
(*.f64 x (/.f64 1 (fma.f64 1/2 (/.f64 x y) -1/2)))
34.8b
(*.f64 2 (+.f64 y (*.f64 (/.f64 y x) (+.f64 y (/.f64 (*.f64 y y) x)))))
34.3b
(*.f64 -2 (+.f64 x (*.f64 (/.f64 x y) (+.f64 x (/.f64 (*.f64 x x) y)))))
Compiler

Compiled 1217 to 777 computations (36.2% saved)

localize6.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(pow.f64 (/.f64 (fma.f64 1/2 (/.f64 x y) -1/2) x) -1)
9.2b
(/.f64 (fma.f64 1/2 (/.f64 x y) -1/2) x)

series17.0ms (0.9%)

Counts
2 → 48
Calls

2 calls:

9.0ms
(pow.f64 (/.f64 (fma.f64 1/2 (/.f64 x y) -1/2) x) -1)
8.0ms
(/.f64 (fma.f64 1/2 (/.f64 x y) -1/2) x)

rewrite94.0ms (4.8%)

Algorithm
batch-egg-rewrite
Rules
460×log-prod_binary64
358×prod-diff_binary64
257×pow2_binary64
179×pow1/3_binary64
176×expm1-udef_binary64
Counts
2 → 84
Calls

2 calls:

93.0ms
(pow.f64 (/.f64 (fma.f64 1/2 (/.f64 x y) -1/2) x) -1)
93.0ms
(/.f64 (fma.f64 1/2 (/.f64 x y) -1/2) x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01025
121222
2244522
3495722
4561122
000
100

simplify45.0ms (2.3%)

Algorithm
egg-herbie
Rules
610×associate-/r*_binary64
415×fma-neg_binary64
371×cancel-sign-sub-inv_binary64
294×associate-/l/_binary64
286×associate-/r/_binary64
Counts
132 → 104
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
050714
1154696
2478648
31824636
45164636

prune67.0ms (3.4%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1031104
Fresh112
Picked011
Done011
Total1044108
Error
0b
Counts
108 → 4
Alt Table
StatusErrorProgram
34.3b
(*.f64 -2 (+.f64 x (*.f64 (/.f64 x y) (+.f64 x (/.f64 (*.f64 x x) y)))))
32.6b
(*.f64 y 2)
9.3b
(pow.f64 (/.f64 (fma.f64 1/2 (/.f64 x y) -1/2) x) -1)
9.2b
(*.f64 x (/.f64 1 (fma.f64 1/2 (/.f64 x y) -1/2)))
Compiler

Compiled 1646 to 1046 computations (36.5% saved)

localize2.0ms (0.1%)

prune4.0ms (0.2%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done022
Total044
Error
0b
Counts
4 → 4
Alt Table
StatusErrorProgram
34.3b
(*.f64 -2 (+.f64 x (*.f64 (/.f64 x y) (+.f64 x (/.f64 (*.f64 x x) y)))))
32.6b
(*.f64 y 2)
9.3b
(pow.f64 (/.f64 (fma.f64 1/2 (/.f64 x y) -1/2) x) -1)
9.2b
(*.f64 x (/.f64 1 (fma.f64 1/2 (/.f64 x y) -1/2)))
Compiler

Compiled 46 to 32 computations (30.4% saved)

regimes115.0ms (5.8%)

Accuracy

Total 0.2b remaining (95.4%)

Threshold costs 0.2b (95.4%)

Counts
39 → 1
Compiler

Compiled 1456 to 1057 computations (27.4% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01013
11113
21113

end70.0ms (3.5%)

Compiler

Compiled 68 to 50 computations (26.5% saved)

Profiling

Loading profile data...