Details

Time bar (total: 2.9s)

analyze4.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0%14
Compiler

Compiled 13 to 11 computations (15.4% saved)

sample1.2s (42.5%)

Results
465.0ms2112×body512valid
415.0ms4640×body128valid
178.0ms1086×body256valid
127.0ms418×body1024valid
Compiler

Compiled 38 to 32 computations (15.8% saved)

simplify13.0ms (0.4%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
14×cancel-sign-sub-inv_binary64
13×sub-neg_binary64
10×distribute-rgt-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
11616
22116
32916
43716
55516
68016
79716
811416
912416
1012816
1113016
1211616

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
15.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
15.8b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
Compiler

Compiled 47 to 39 computations (17% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (+.f64 x 1))
0.0b
(/.f64 1 (-.f64 x 1))
2.5b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))

series8.0ms (0.3%)

Counts
3 → 36
Calls

3 calls:

4.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
2.0ms
(/.f64 1 (-.f64 x 1))
2.0ms
(/.f64 1 (+.f64 x 1))

rewrite116.0ms (4%)

Algorithm
batch-egg-rewrite
Rules
867×prod-diff_binary64
441×fma-def_binary64
272×fma-neg_binary64
197×egg-rr
162×expm1-udef_binary64
Counts
3 → 197
Calls

3 calls:

111.0ms
(/.f64 1 (+.f64 x 1))
111.0ms
(/.f64 1 (-.f64 x 1))
111.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0830
119230
2253730
3491030
4493830
000
100

simplify65.0ms (2.3%)

Algorithm
egg-herbie
Rules
748×unswap-sqr_binary64
435×associate-*l*_binary64
355×fma-neg_binary64
344×associate-/r*_binary64
301×associate-*r*_binary64
Counts
233 → 238
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
065575
1197543
2573540
31610537
44128537
55539537

prune225.0ms (7.8%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2353238
Fresh000
Picked101
Done000
Total2363239
Error
0.2b
Counts
239 → 3
Alt Table
StatusErrorProgram
26.8b
(-.f64 (pow.f64 (pow.f64 (+.f64 1 x) -1/2) 2) (/.f64 1 (-.f64 x 1)))
31.8b
(-.f64 (/.f64 -2 (*.f64 x x)) (/.f64 2 (pow.f64 x 4)))
15.2b
(/.f64 (/.f64 (-.f64 (-.f64 x 1) (+.f64 1 x)) (+.f64 1 x)) (-.f64 x 1))
Compiler

Compiled 6069 to 4943 computations (18.6% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 (-.f64 x 1) (+.f64 1 x)) (+.f64 1 x))
0.0b
(/.f64 (/.f64 (-.f64 (-.f64 x 1) (+.f64 1 x)) (+.f64 1 x)) (-.f64 x 1))
1.9b
(-.f64 (-.f64 x 1) (+.f64 1 x))

series7.0ms (0.3%)

Counts
3 → 36
Calls

3 calls:

3.0ms
(/.f64 (/.f64 (-.f64 (-.f64 x 1) (+.f64 1 x)) (+.f64 1 x)) (-.f64 x 1))
3.0ms
(/.f64 (-.f64 (-.f64 x 1) (+.f64 1 x)) (+.f64 1 x))
1.0ms
(-.f64 (-.f64 x 1) (+.f64 1 x))

rewrite104.0ms (3.6%)

Algorithm
batch-egg-rewrite
Rules
915×prod-diff_binary64
244×egg-rr
177×log1p-udef_binary64
102×add-sqr-sqrt_binary64
100×log1p-expm1-u_binary64
Counts
3 → 244
Calls

3 calls:

98.0ms
(/.f64 (-.f64 (-.f64 x 1) (+.f64 1 x)) (+.f64 1 x))
98.0ms
(/.f64 (/.f64 (-.f64 (-.f64 x 1) (+.f64 1 x)) (+.f64 1 x)) (-.f64 x 1))
98.0ms
(-.f64 (-.f64 x 1) (+.f64 1 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0848
120134
2314134
3518734
000
100

simplify87.0ms (3%)

Algorithm
egg-herbie
Rules
453×times-frac_binary64
453×fma-neg_binary64
428×div-sub_binary64
355×unswap-sqr_binary64
339×associate-/r*_binary64
Counts
280 → 273
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
055421
1178401
2514392
31549387
44295387
54931387
65471387

prune198.0ms (6.9%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2721273
Fresh022
Picked101
Done000
Total2733276
Error
0.0b
Counts
276 → 3
Alt Table
StatusErrorProgram
26.8b
(-.f64 (pow.f64 (pow.f64 (+.f64 1 x) -1/2) 2) (/.f64 1 (-.f64 x 1)))
31.8b
(-.f64 (/.f64 -2 (*.f64 x x)) (/.f64 2 (pow.f64 x 4)))
0.1b
(/.f64 (/.f64 -2 (+.f64 1 x)) (-.f64 x 1))
Compiler

Compiled 7643 to 5432 computations (28.9% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 -2 (+.f64 1 x))
0.1b
(/.f64 (/.f64 -2 (+.f64 1 x)) (-.f64 x 1))

series6.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

4.0ms
(/.f64 (/.f64 -2 (+.f64 1 x)) (-.f64 x 1))
3.0ms
(/.f64 -2 (+.f64 1 x))

rewrite93.0ms (3.2%)

Algorithm
batch-egg-rewrite
Rules
421×log-prod_binary64
385×prod-diff_binary64
207×fma-def_binary64
195×log-div_binary64
158×expm1-udef_binary64
Counts
2 → 70
Calls

2 calls:

92.0ms
(/.f64 -2 (+.f64 1 x))
92.0ms
(/.f64 (/.f64 -2 (+.f64 1 x)) (-.f64 x 1))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0820
118715
2248015
3496115
4536315
000
100

simplify75.0ms (2.6%)

Algorithm
egg-herbie
Rules
453×times-frac_binary64
453×fma-neg_binary64
428×div-sub_binary64
355×unswap-sqr_binary64
339×associate-/r*_binary64
Counts
94 → 99
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
055409
1178389
2514380
31549375
44295375
54931375
65471375

prune79.0ms (2.8%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New92799
Fresh202
Picked011
Done000
Total948102
Error
0b
Counts
102 → 8
Alt Table
StatusErrorProgram
0.2b
(+.f64 0 (/.f64 -2 (fma.f64 x x -1)))
12.8b
(cbrt.f64 (pow.f64 (/.f64 -2 (fma.f64 x x -1)) 3))
1.5b
(pow.f64 (cbrt.f64 (/.f64 -2 (fma.f64 x x -1))) 3)
23.3b
(*.f64 (/.f64 (/.f64 -2 (+.f64 1 x)) (+.f64 (pow.f64 x 3) -1)) (fma.f64 x x (+.f64 1 x)))
49.8b
(*.f64 (/.f64 (sqrt.f64 (/.f64 -2 (+.f64 1 x))) 1) (/.f64 (sqrt.f64 (/.f64 -2 (+.f64 1 x))) (-.f64 x 1)))
1.3b
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 -2 (+.f64 1 x))) 2) (pow.f64 (cbrt.f64 (-.f64 x 1)) 2)) (cbrt.f64 (/.f64 -2 (fma.f64 x x -1))))
0.4b
(*.f64 (/.f64 -2 (pow.f64 (cbrt.f64 (-.f64 x 1)) 2)) (/.f64 (/.f64 1 (+.f64 1 x)) (cbrt.f64 (-.f64 x 1))))
0.1b
(/.f64 (/.f64 -2 (+.f64 1 x)) (-.f64 x 1))
Compiler

Compiled 1623 to 1301 computations (19.8% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series5.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

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

rewrite75.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
502×log1p-expm1-u_binary64
502×expm1-log1p-u_binary64
260×unpow-prod-down_binary64
229×log-prod_binary64
145×pow2_binary64
Counts
1 → 38
Calls

1 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
068
11228
213208
349418
450558
000
100

simplify65.0ms (2.3%)

Algorithm
egg-herbie
Rules
675×fma-def_binary64
414×unswap-sqr_binary64
344×distribute-neg-frac_binary64
327×div-sub_binary64
243×associate-*l*_binary64
Counts
50 → 53
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
038227
1116209
2328206
3957203
42990200
54474200
64946200

prune55.0ms (1.9%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New53053
Fresh066
Picked011
Done011
Total53861
Error
0b
Counts
61 → 8
Alt Table
StatusErrorProgram
0.2b
(+.f64 0 (/.f64 -2 (fma.f64 x x -1)))
12.8b
(cbrt.f64 (pow.f64 (/.f64 -2 (fma.f64 x x -1)) 3))
1.5b
(pow.f64 (cbrt.f64 (/.f64 -2 (fma.f64 x x -1))) 3)
23.3b
(*.f64 (/.f64 (/.f64 -2 (+.f64 1 x)) (+.f64 (pow.f64 x 3) -1)) (fma.f64 x x (+.f64 1 x)))
49.8b
(*.f64 (/.f64 (sqrt.f64 (/.f64 -2 (+.f64 1 x))) 1) (/.f64 (sqrt.f64 (/.f64 -2 (+.f64 1 x))) (-.f64 x 1)))
1.3b
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (/.f64 -2 (+.f64 1 x))) 2) (pow.f64 (cbrt.f64 (-.f64 x 1)) 2)) (cbrt.f64 (/.f64 -2 (fma.f64 x x -1))))
0.4b
(*.f64 (/.f64 -2 (pow.f64 (cbrt.f64 (-.f64 x 1)) 2)) (/.f64 (/.f64 1 (+.f64 1 x)) (cbrt.f64 (-.f64 x 1))))
0.1b
(/.f64 (/.f64 -2 (+.f64 1 x)) (-.f64 x 1))
Compiler

Compiled 912 to 743 computations (18.5% saved)

regimes234.0ms (8.2%)

Accuracy

Total 0.1b remaining (87.4%)

Threshold costs 0.1b (87.4%)

Counts
133 → 1
Compiler

Compiled 4370 to 3602 computations (17.6% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11413
21513
31313

end108.0ms (3.8%)

Compiler

Compiled 142 to 115 computations (19% saved)

Profiling

Loading profile data...