Details

Time bar (total: 2.3s)

analyze50.0ms (2.2%)

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.1s (48.9%)

Results
942.0ms8256×body128valid
Compiler

Compiled 35 to 23 computations (34.3% saved)

simplify135.0ms (6%)

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

prune4.0ms (0.2%)

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
6.6b
(/.f64 x (fma.f64 1/2 (/.f64 x y) -1/2))
17.7b
(/.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 2 expressions with local error:

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

series16.0ms (0.7%)

Counts
2 → 48
Calls

2 calls:

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

rewrite57.0ms (2.5%)

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
2 → 56
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
117119
2207719
3498819
000
100

simplify154.0ms (6.8%)

Algorithm
egg-herbie
Rules
600×associate-/r*_binary64
416×fma-neg_binary64
367×cancel-sign-sub-inv_binary64
294×associate-/l/_binary64
288×associate-/r/_binary64
Counts
104 → 74
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
045678
1143660
2460612
31791600
45112600

prune43.0ms (1.9%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New70474
Fresh101
Picked011
Done000
Total71576
Error
0b
Counts
76 → 5
Alt Table
StatusErrorProgram
6.8b
(pow.f64 (/.f64 (fma.f64 1/2 (/.f64 x y) -1/2) x) -1)
6.6b
(/.f64 x (fma.f64 1/2 (/.f64 x y) -1/2))
31.1b
(/.f64 x (log.f64 (+.f64 1 (expm1.f64 (fma.f64 1/2 (/.f64 x y) -1/2)))))
37.9b
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 1 (fma.f64 1/2 (/.f64 x y) -1/2))))
30.7b
(*.f64 2 y)
Compiler

Compiled 1121 to 696 computations (37.9% saved)

localize6.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

series22.0ms (1%)

Counts
2 → 48
Calls

2 calls:

12.0ms
(pow.f64 (/.f64 (fma.f64 1/2 (/.f64 x y) -1/2) x) -1)
10.0ms
(/.f64 (fma.f64 1/2 (/.f64 x y) -1/2) x)

rewrite85.0ms (3.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 → 83
Calls

2 calls:

83.0ms
(pow.f64 (/.f64 (fma.f64 1/2 (/.f64 x y) -1/2) x) -1)
83.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

simplify44.0ms (2%)

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
131 → 103
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
050714
1154696
2478648
31824636
45164636

prune87.0ms (3.9%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1291130
Fresh123
Picked101
Done011
Total1314135
Error
0b
Counts
135 → 4
Alt Table
StatusErrorProgram
6.6b
(/.f64 x (fma.f64 1/2 (/.f64 x y) -1/2))
37.9b
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 1 (fma.f64 1/2 (/.f64 x y) -1/2))))
30.7b
(*.f64 2 y)
0.2b
(pow.f64 (+.f64 (/.f64 -1/2 x) (/.f64 1/2 y)) -1)
Compiler

Compiled 2025 to 1303 computations (35.7% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (/.f64 -1/2 x) (/.f64 1/2 y))
0.2b
(pow.f64 (+.f64 (/.f64 -1/2 x) (/.f64 1/2 y)) -1)

series18.0ms (0.8%)

Counts
2 → 48
Calls

2 calls:

11.0ms
(pow.f64 (+.f64 (/.f64 -1/2 x) (/.f64 1/2 y)) -1)
7.0ms
(+.f64 (/.f64 -1/2 x) (/.f64 1/2 y))

rewrite202.0ms (9%)

Algorithm
batch-egg-rewrite
Rules
894×prod-diff_binary64
195×expm1-udef_binary64
195×log1p-udef_binary64
111×add-sqr-sqrt_binary64
108×log1p-expm1-u_binary64
Counts
2 → 82
Calls

2 calls:

200.0ms
(+.f64 (/.f64 -1/2 x) (/.f64 1/2 y))
200.0ms
(pow.f64 (+.f64 (/.f64 -1/2 x) (/.f64 1/2 y)) -1)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01023
122823
2286923
3500023
4512823
000
100

simplify42.0ms (1.9%)

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
130 → 100
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
050714
1154696
2478648
31824636
45164636

prune55.0ms (2.4%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1000100
Fresh022
Picked011
Done011
Total1004104
Error
0b
Counts
104 → 4
Alt Table
StatusErrorProgram
6.6b
(/.f64 x (fma.f64 1/2 (/.f64 x y) -1/2))
37.9b
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 1 (fma.f64 1/2 (/.f64 x y) -1/2))))
30.7b
(*.f64 2 y)
0.2b
(pow.f64 (+.f64 (/.f64 -1/2 x) (/.f64 1/2 y)) -1)
Compiler

Compiled 1657 to 1189 computations (28.2% saved)

localize2.0ms (0.1%)

prune2.0ms (0.1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done022
Total044
Error
0b
Counts
4 → 4
Alt Table
StatusErrorProgram
6.6b
(/.f64 x (fma.f64 1/2 (/.f64 x y) -1/2))
37.9b
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 1 (fma.f64 1/2 (/.f64 x y) -1/2))))
30.7b
(*.f64 2 y)
0.2b
(pow.f64 (+.f64 (/.f64 -1/2 x) (/.f64 1/2 y)) -1)
Compiler

Compiled 42 to 31 computations (26.2% saved)

regimes50.0ms (2.2%)

Accuracy

Total 0.2b remaining (96.6%)

Threshold costs 0.2b (96.6%)

Counts
16 → 1
Compiler

Compiled 538 to 391 computations (27.3% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01013
11113
21113

end64.0ms (2.8%)

Compiler

Compiled 64 to 49 computations (23.4% saved)

Profiling

Loading profile data...