Details

Time bar (total: 2.2s)

analyze5.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
62.5%37.5%0%4
81.2%18.7%0%5
90.6%9.4%0%6
95.3%4.7%0%7
97.6%2.3%0%8
98.8%1.2%0%9
99.4%0.6%0%10
99.7%0.3%0%11
99.8%0.1%0%12
99.9%0.1%0%13
99.9%0%0%14
Compiler

Compiled 11 to 9 computations (18.2% saved)

sample1.1s (50%)

Results
409.0ms2057×body512valid
379.0ms4722×body128valid
148.0ms1051×body256valid
117.0ms426×body1024valid
0.0msbody128invalid
Compiler

Compiled 32 to 26 computations (18.8% saved)

simplify9.0ms (0.4%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
15×cancel-sign-sub-inv_binary64
12×sub-neg_binary64
10×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
11213
21813
32613
43613
55413
69113
712413
816713
920313
1022913
1123113
Stop Event
saturated
Counts
1 → 2

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 39 to 31 computations (20.5% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series4.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

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

rewrite76.0ms (3.5%)

Algorithm
batch-egg-rewrite
Rules
896×expm1-log1p-u_binary64
733×prod-diff_binary64
135×egg-rr
85×add-sqr-sqrt_binary64
83×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0720
116920
2254120
Stop Event
node limit
Counts
2 → 135
Calls

2 calls:

73.0ms
(/.f64 1 (+.f64 x 1))
73.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))

simplify28.0ms (1.3%)

Algorithm
egg-herbie
Rules
625×fma-neg_binary64
435×cancel-sign-sub-inv_binary64
333×sub-neg_binary64
221×associate-/l/_binary64
206×unswap-sqr_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
037372
199366
2241366
3645364
42099363
Stop Event
node limit
Counts
159 → 163

prune123.0ms (5.6%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1594163
Fresh000
Picked101
Done000
Total1604164
Error
0.4b
Counts
164 → 4
Alt Table
StatusErrorProgram
13.9b
(/.f64 (/.f64 (-.f64 x (+.f64 1 x)) (+.f64 1 x)) x)
13.9b
(/.f64 (-.f64 x (+.f64 1 x)) (*.f64 x (+.f64 1 x)))
33.2b
(-.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
14.8b
(-.f64 (pow.f64 (+.f64 1 x) -1) (/.f64 1 x))
Compiler

Compiled 3439 to 2591 computations (24.7% saved)

localize5.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series5.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

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

rewrite59.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
623×prod-diff_binary64
327×fma-def_binary64
197×egg-rr
189×fma-neg_binary64
154×log1p-udef_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0736
117030
2276630
Stop Event
node limit
Counts
3 → 197
Calls

3 calls:

56.0ms
(/.f64 (-.f64 x (+.f64 1 x)) (+.f64 1 x))
56.0ms
(/.f64 (/.f64 (-.f64 x (+.f64 1 x)) (+.f64 1 x)) x)
56.0ms
(-.f64 x (+.f64 1 x))

simplify47.0ms (2.1%)

Algorithm
egg-herbie
Rules
630×fma-def_binary64
525×fma-neg_binary64
350×cancel-sign-sub-inv_binary64
312×sub-neg_binary64
266×times-frac_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
037384
1100378
2246378
3653375
42095375
Stop Event
node limit
Counts
233 → 225

prune149.0ms (6.8%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2241225
Fresh033
Picked101
Done000
Total2254229
Error
0.0b
Counts
229 → 4
Alt Table
StatusErrorProgram
0.1b
(/.f64 (/.f64 -1 (+.f64 1 x)) x)
13.9b
(/.f64 (-.f64 x (+.f64 1 x)) (*.f64 x (+.f64 1 x)))
33.2b
(-.f64 (/.f64 1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 4)) (/.f64 1 (pow.f64 x 2))))
14.8b
(-.f64 (pow.f64 (+.f64 1 x) -1) (/.f64 1 x))
Compiler

Compiled 4412 to 3095 computations (29.9% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series5.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

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

rewrite39.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
761×log1p-expm1-u_binary64
761×expm1-log1p-u_binary64
105×prod-diff_binary64
73×add-sqr-sqrt_binary64
69×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0717
115217
2206617
Stop Event
node limit
Counts
2 → 63
Calls

2 calls:

38.0ms
(/.f64 -1 (+.f64 1 x))
38.0ms
(/.f64 (/.f64 -1 (+.f64 1 x)) x)

simplify30.0ms (1.4%)

Algorithm
egg-herbie
Rules
630×fma-def_binary64
525×fma-neg_binary64
350×cancel-sign-sub-inv_binary64
312×sub-neg_binary64
266×times-frac_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
037372
1100366
2246366
3653363
42095363
Stop Event
node limit
Counts
87 → 91

prune55.0ms (2.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New88391
Fresh303
Picked011
Done000
Total91495
Error
0b
Counts
95 → 4
Alt Table
StatusErrorProgram
0.1b
(/.f64 (/.f64 -1 (+.f64 1 x)) x)
0.4b
(*.f64 -1 (/.f64 1 (+.f64 x (*.f64 x x))))
21.3b
(/.f64 (*.f64 (/.f64 -1 (+.f64 1 (pow.f64 x 3))) (-.f64 (+.f64 1 (*.f64 x x)) x)) x)
0.4b
(/.f64 (*.f64 (/.f64 -1 (cbrt.f64 (+.f64 1 x))) (pow.f64 (/.f64 -1 (cbrt.f64 (+.f64 1 x))) 2)) x)
Compiler

Compiled 1164 to 812 computations (30.2% saved)

localize7.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 -1 (cbrt.f64 (+.f64 1 x)))
0.2b
(*.f64 (/.f64 -1 (cbrt.f64 (+.f64 1 x))) (pow.f64 (/.f64 -1 (cbrt.f64 (+.f64 1 x))) 2))
0.2b
(pow.f64 (/.f64 -1 (cbrt.f64 (+.f64 1 x))) 2)
0.2b
(cbrt.f64 (+.f64 1 x))

series18.0ms (0.8%)

Counts
4 → 24
Calls

4 calls:

6.0ms
(pow.f64 (/.f64 -1 (cbrt.f64 (+.f64 1 x))) 2)
6.0ms
(/.f64 -1 (cbrt.f64 (+.f64 1 x)))
3.0ms
(cbrt.f64 (+.f64 1 x))
2.0ms
(*.f64 (/.f64 -1 (cbrt.f64 (+.f64 1 x))) (pow.f64 (/.f64 -1 (cbrt.f64 (+.f64 1 x))) 2))

rewrite49.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
805×log1p-expm1-u_binary64
805×expm1-log1p-u_binary64
106×egg-rr
90×add-sqr-sqrt_binary64
90×prod-diff_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01050
120739
2228339
Stop Event
node limit
Counts
4 → 106
Calls

4 calls:

47.0ms
(/.f64 -1 (cbrt.f64 (+.f64 1 x)))
47.0ms
(*.f64 (/.f64 -1 (cbrt.f64 (+.f64 1 x))) (pow.f64 (/.f64 -1 (cbrt.f64 (+.f64 1 x))) 2))
47.0ms
(pow.f64 (/.f64 -1 (cbrt.f64 (+.f64 1 x))) 2)
47.0ms
(cbrt.f64 (+.f64 1 x))

simplify32.0ms (1.5%)

Algorithm
egg-herbie
Rules
696×fma-def_binary64
376×sub-neg_binary64
332×fma-neg_binary64
312×associate-*l*_binary64
292×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
056308
1151294
2425282
31388261
44490261
Stop Event
node limit
Counts
130 → 139

prune165.0ms (7.5%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2010201
Fresh022
Picked011
Done011
Total2014205
Error
0b
Counts
205 → 4
Alt Table
StatusErrorProgram
0.1b
(/.f64 (/.f64 -1 (+.f64 1 x)) x)
0.4b
(*.f64 -1 (/.f64 1 (+.f64 x (*.f64 x x))))
21.3b
(/.f64 (*.f64 (/.f64 -1 (+.f64 1 (pow.f64 x 3))) (-.f64 (+.f64 1 (*.f64 x x)) x)) x)
0.4b
(/.f64 (*.f64 (/.f64 -1 (cbrt.f64 (+.f64 1 x))) (pow.f64 (/.f64 -1 (cbrt.f64 (+.f64 1 x))) 2)) x)
Compiler

Compiled 4056 to 3342 computations (17.6% saved)

regimes115.0ms (5.3%)

Accuracy

Total 0.1b remaining (74.7%)

Threshold costs 0.1b (74.7%)

Counts
67 → 1
Compiler

Compiled 1916 to 1514 computations (21% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
11010
Stop Event
saturated

end58.0ms (2.6%)

Compiler

Compiled 70 to 53 computations (24.3% saved)

Profiling

Loading profile data...