Details

Time bar (total: 3.3s)

analyze9.0ms (0.3%)

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

Compiled 17 to 14 computations (17.6% saved)

sample1.7s (50.9%)

Results
508.0ms1378×body1024valid
489.0ms1623×body512valid
478.0ms4496×body128valid
145.0ms759×body256valid
Compiler

Compiled 50 to 41 computations (18% saved)

simplify73.0ms (2.2%)

Algorithm
egg-herbie
Rules
127×fma-neg_binary64
82×fma-def_binary64
41×cancel-sign-sub-inv_binary64
41×sub-neg_binary64
28×distribute-rgt-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01122
12222
23822
36122
410922
518622
624622
729622
834822
936822
1034422

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 63 to 51 computations (19% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series11.0ms (0.3%)

Counts
4 → 48
Calls

4 calls:

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

rewrite142.0ms (4.3%)

Algorithm
batch-egg-rewrite
Rules
166×egg-rr
Counts
4 → 166
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01149
127249
2385649
3491249
000
100

simplify82.0ms (2.5%)

Algorithm
egg-herbie
Rules
653×fma-neg_binary64
489×cancel-sign-sub-inv_binary64
328×sub-neg_binary64
312×times-frac_binary64
273×unsub-neg_binary64
Counts
214 → 219
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
078752
1246726
2697720
31844717
44130717
54617717
64921717

prune201.0ms (6.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2163219
Fresh000
Picked101
Done000
Total2173220
Error
0.3b
Counts
220 → 3
Alt Table
StatusErrorProgram
30.7b
(+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 7))) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 9))) (*.f64 2 (/.f64 1 (pow.f64 x 3))))))
29.2b
(/.f64 (+.f64 (*.f64 x (+.f64 1 x)) (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2)))) (*.f64 (-.f64 x 1) (*.f64 x (+.f64 1 x))))
9.1b
(-.f64 (+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 1 (+.f64 1 x))) (/.f64 2 x))
Compiler

Compiled 5140 to 4072 computations (20.8% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series9.0ms (0.3%)

Counts
3 → 36
Calls

3 calls:

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

rewrite85.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
133×egg-rr
Counts
3 → 133
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01145
127445
2388245
3492845
000
100

simplify61.0ms (1.8%)

Algorithm
egg-herbie
Rules
574×sub-neg_binary64
367×fma-def_binary64
314×associate-*l*_binary64
291×times-frac_binary64
264×distribute-lft-out_binary64
Counts
169 → 174
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
070595
1222581
2670569
31937568
44176568
55086568

prune178.0ms (5.4%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2121213
Fresh112
Picked011
Done000
Total2133216
Error
0.3b
Counts
216 → 3
Alt Table
StatusErrorProgram
30.7b
(+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 7))) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 9))) (*.f64 2 (/.f64 1 (pow.f64 x 3))))))
29.2b
(/.f64 (-.f64 (*.f64 (+.f64 (-.f64 x 1) (+.f64 1 x)) x) (*.f64 (fma.f64 x x -1) 2)) (*.f64 (fma.f64 x x -1) x))
9.1b
(-.f64 (+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 1 (+.f64 1 x))) (/.f64 2 x))
Compiler

Compiled 4917 to 3935 computations (20% saved)

localize14.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 (*.f64 (+.f64 (-.f64 x 1) (+.f64 1 x)) x) (*.f64 (fma.f64 x x -1) 2)) (*.f64 (fma.f64 x x -1) x))
0.0b
(*.f64 (fma.f64 x x -1) x)
3.2b
(+.f64 (-.f64 x 1) (+.f64 1 x))
21.4b
(-.f64 (*.f64 (+.f64 (-.f64 x 1) (+.f64 1 x)) x) (*.f64 (fma.f64 x x -1) 2))

series13.0ms (0.4%)

Counts
4 → 48
Calls

4 calls:

5.0ms
(/.f64 (-.f64 (*.f64 (+.f64 (-.f64 x 1) (+.f64 1 x)) x) (*.f64 (fma.f64 x x -1) 2)) (*.f64 (fma.f64 x x -1) x))
4.0ms
(-.f64 (*.f64 (+.f64 (-.f64 x 1) (+.f64 1 x)) x) (*.f64 (fma.f64 x x -1) 2))
3.0ms
(*.f64 (fma.f64 x x -1) x)
2.0ms
(+.f64 (-.f64 x 1) (+.f64 1 x))

rewrite106.0ms (3.2%)

Algorithm
batch-egg-rewrite
Rules
161×egg-rr
Counts
4 → 161
Calls

2 calls:

100.0ms
((-.f64 (*.f64 (+.f64 (-.f64 x 1) (+.f64 1 x)) x) (*.f64 (fma.f64 x x -1) 2)) (+.f64 (-.f64 x 1) (+.f64 1 x)) (*.f64 (fma.f64 x x -1) x) (/.f64 (-.f64 (*.f64 (+.f64 (-.f64 x 1) (+.f64 1 x)) x) (*.f64 (fma.f64 x x -1) 2)) (*.f64 (fma.f64 x x -1) x)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01474
133052
2467652
3505352
000
100

simplify111.0ms (3.4%)

Algorithm
egg-herbie
Rules
789×times-frac_binary64
600×fma-def_binary64
446×fma-neg_binary64
306×sub-neg_binary64
292×div-sub_binary64
Counts
209 → 181
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
044357
1132351
2373345
31020345
42561345
53552345
64727345
74840345
84998345
94884345

prune126.0ms (3.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1801181
Fresh011
Picked101
Done011
Total1813184
Error
0.3b
Counts
184 → 3
Alt Table
StatusErrorProgram
0.3b
(/.f64 2 (*.f64 (fma.f64 x x -1) x))
30.7b
(+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 7))) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 9))) (*.f64 2 (/.f64 1 (pow.f64 x 3))))))
9.1b
(-.f64 (+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 1 (+.f64 1 x))) (/.f64 2 x))
Compiler

Compiled 5320 to 3269 computations (38.6% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (fma.f64 x x -1) x)
0.3b
(/.f64 2 (*.f64 (fma.f64 x x -1) x))

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

3.0ms
(/.f64 2 (*.f64 (fma.f64 x x -1) x))

rewrite72.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
26×egg-rr
Counts
1 → 26
Calls

2 calls:

72.0ms
((/.f64 2 (*.f64 (fma.f64 x x -1) x)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
114411
2166411
3506711
000
100

simplify89.0ms (2.7%)

Algorithm
egg-herbie
Rules
789×times-frac_binary64
599×fma-def_binary64
469×sub-neg_binary64
448×fma-neg_binary64
282×associate-/r*_binary64
Counts
38 → 40
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
041223
1127217
2362211
31001211
42512211
53419211
64611211
74834211
85079211

prune56.0ms (1.7%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New57461
Fresh101
Picked101
Done101
Total60464
Error
0.0b
Counts
64 → 4
Alt Table
StatusErrorProgram
0.3b
(/.f64 2 (-.f64 (pow.f64 x 3) x))
21.4b
(pow.f64 (sqrt.f64 (/.f64 2 (*.f64 x (fma.f64 x x -1)))) 2)
0.1b
(*.f64 (/.f64 2 (fma.f64 x x -1)) (/.f64 1 x))
0.3b
(*.f64 (/.f64 1 (*.f64 x (fma.f64 x x -1))) 2)
Compiler

Compiled 798 to 598 computations (25.1% saved)

regimes94.0ms (2.8%)

Accuracy

Total 0.1b remaining (77.4%)

Threshold costs 0.1b (77.4%)

Counts
50 → 1
Compiler

Compiled 1534 to 1198 computations (21.9% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
11214
21114

end60.0ms (1.8%)

Compiler

Compiled 64 to 47 computations (26.6% saved)

Profiling

Loading profile data...