Details

Time bar (total: 10.0s)

analyze5.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%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 15 to 11 computations (26.7% saved)

sample1.8s (18.1%)

Results
706.0ms2038×body1024valid
486.0ms4417×body128valid
286.0ms1081×body512valid
100.0ms528×body256valid
83.0ms192×body2048valid
Compiler

Compiled 44 to 32 computations (27.3% saved)

simplify88.0ms (0.9%)

Algorithm
egg-herbie
Rules
859×fma-neg_binary64
770×fma-def_binary64
322×div-sub_binary64
178×associate-/l*_binary64
150×sub-neg_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
11619
22219
33419
45719
59119
617819
727719
864319
978819
10102419
11126519
12124219
13124819
14124619
15124819
16125019
17126019
18126019
19117119

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
28.3b
Counts
2 → 1
Alt Table
StatusErrorProgram
28.3b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
Compiler

Compiled 42 to 30 computations (28.6% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series6.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

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

rewrite236.0ms (2.4%)

Algorithm
rewrite-expression-head
Rules
1304×*-un-lft-identity_binary64
1000×times-frac_binary64
859×add-sqr-sqrt_binary64
612×prod-diff_binary64
523×add-cube-cbrt_binary64
Counts
2 → 748
Calls

2 calls:

46.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
7.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))

simplify819.0ms (8.2%)

Algorithm
egg-herbie
Rules
552×fma-neg_binary64
418×distribute-rgt-in_binary64
361×unsub-neg_binary64
255×fma-udef_binary64
202×associate-+r-_binary64
Counts
772 → 551
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
052154026
1123430580
2284822272
3449522270
4471822270

prune777.0ms (7.8%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New5474551
Fresh000
Picked101
Done000
Total5484552
Error
0.0b
Counts
552 → 4
Alt Table
StatusErrorProgram
33.0b
(-.f64 (-.f64 (/.f64 -3 x) (+.f64 (/.f64 1 (*.f64 x x)) (/.f64 3 (pow.f64 x 3)))) (/.f64 1 (pow.f64 x 4)))
30.9b
(+.f64 1 (fma.f64 3 (+.f64 x (pow.f64 x 3)) (*.f64 x x)))
45.0b
(+.f64 (fma.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 x 1)) (neg.f64 (*.f64 (/.f64 1 (-.f64 x 1)) (+.f64 x 1)))) (fma.f64 (neg.f64 (/.f64 1 (-.f64 x 1))) (+.f64 x 1) (*.f64 (/.f64 1 (-.f64 x 1)) (+.f64 x 1))))
28.9b
(*.f64 (sqrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))) (sqrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))
Compiler

Compiled 29160 to 21556 computations (26.1% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series13.0ms (0.1%)

Counts
2 → 16
Calls

2 calls:

10.0ms
(sqrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))
3.0ms
(*.f64 (sqrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))) (sqrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))

rewrite344.0ms (3.5%)

Algorithm
rewrite-expression-head
Rules
863×*-un-lft-identity_binary64
324×times-frac_binary64
235×distribute-lft-out--_binary64
202×sqrt-prod_binary64
152×distribute-lft-out_binary64
Counts
2 → 196
Calls

2 calls:

110.0ms
(sqrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))
77.0ms
(*.f64 (sqrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))) (sqrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))))

simplify443.0ms (4.4%)

Algorithm
egg-herbie
Rules
543×distribute-rgt-in_binary64
532×fma-neg_binary64
297×associate-*l*_binary64
273×associate-*r*_binary64
246×fma-def_binary64
Counts
212 → 173
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01776292
13515987
29905837
327585696
449735688
551745688

prune3.7s (37.3%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New131721319
Fresh213
Picked101
Done000
Total132031323
Error
0b
Counts
1323 → 3
Alt Table
StatusErrorProgram
30.9b
(+.f64 1 (fma.f64 3 (+.f64 x (pow.f64 x 3)) (*.f64 x x)))
25.9b
(/.f64 (-.f64 (fma.f64 x (+.f64 (-.f64 x 1) (-.f64 -1 x)) -1) x) (*.f64 (+.f64 1 x) (-.f64 x 1)))
33.0b
(+.f64 (fma.f64 (/.f64 1 (*.f64 x x)) (-.f64 -1 (/.f64 3 x)) (/.f64 -3 x)) (/.f64 -1 (pow.f64 x 4)))
Compiler

Compiled 84539 to 62680 computations (25.9% saved)

localize22.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (+.f64 1 x) (-.f64 x 1))
0.0b
(-.f64 (fma.f64 x (+.f64 (-.f64 x 1) (-.f64 -1 x)) -1) x)
1.7b
(+.f64 (-.f64 x 1) (-.f64 -1 x))
13.8b
(/.f64 (-.f64 (fma.f64 x (+.f64 (-.f64 x 1) (-.f64 -1 x)) -1) x) (*.f64 (+.f64 1 x) (-.f64 x 1)))

series16.0ms (0.2%)

Counts
4 → 48
Calls

4 calls:

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

rewrite96.0ms (1%)

Algorithm
rewrite-expression-head
Rules
71×*-un-lft-identity_binary64
61×add-sqr-sqrt_binary64
45×prod-diff_binary64
45×add-cube-cbrt_binary64
18×add-log-exp_binary64
Counts
4 → 187
Calls

4 calls:

23.0ms
(/.f64 (-.f64 (fma.f64 x (+.f64 (-.f64 x 1) (-.f64 -1 x)) -1) x) (*.f64 (+.f64 1 x) (-.f64 x 1)))
22.0ms
(+.f64 (-.f64 x 1) (-.f64 -1 x))
18.0ms
(*.f64 (+.f64 1 x) (-.f64 x 1))
7.0ms
(-.f64 (fma.f64 x (+.f64 (-.f64 x 1) (-.f64 -1 x)) -1) x)

simplify209.0ms (2.1%)

Algorithm
egg-herbie
Rules
759×fma-neg_binary64
299×distribute-rgt-in_binary64
280×cancel-sign-sub-inv_binary64
277×distribute-lft-in_binary64
184×associate-*l*_binary64
Counts
235 → 297
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02903681
17012973
230522946
346652943
449672943

prune577.0ms (5.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2970297
Fresh022
Picked011
Done000
Total2973300
Error
0b
Counts
300 → 3
Alt Table
StatusErrorProgram
30.9b
(+.f64 1 (fma.f64 3 (+.f64 x (pow.f64 x 3)) (*.f64 x x)))
25.9b
(/.f64 (-.f64 (fma.f64 x (+.f64 (-.f64 x 1) (-.f64 -1 x)) -1) x) (*.f64 (+.f64 1 x) (-.f64 x 1)))
33.0b
(+.f64 (fma.f64 (/.f64 1 (*.f64 x x)) (-.f64 -1 (/.f64 3 x)) (/.f64 -3 x)) (/.f64 -1 (pow.f64 x 4)))
Compiler

Compiled 9228 to 6373 computations (30.9% saved)

localize13.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
6.1b
(fma.f64 3 (+.f64 x (pow.f64 x 3)) (*.f64 x x))

series6.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

6.0ms
(fma.f64 3 (+.f64 x (pow.f64 x 3)) (*.f64 x x))

rewrite2.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 10
Calls

1 calls:

1.0ms
(fma.f64 3 (+.f64 x (pow.f64 x 3)) (*.f64 x x))

simplify163.0ms (1.6%)

Algorithm
egg-herbie
Rules
906×distribute-rgt-in_binary64
886×distribute-lft-in_binary64
524×fma-def_binary64
431×*-commutative_binary64
292×associate-+r+_binary64
Counts
22 → 26
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
027340
148304
2142304
3614304
43296304
53922304
64952304
74998304
84801304

prune24.0ms (0.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New26026
Fresh011
Picked011
Done011
Total26329
Error
0b
Counts
29 → 3
Alt Table
StatusErrorProgram
30.9b
(+.f64 1 (fma.f64 3 (+.f64 x (pow.f64 x 3)) (*.f64 x x)))
25.9b
(/.f64 (-.f64 (fma.f64 x (+.f64 (-.f64 x 1) (-.f64 -1 x)) -1) x) (*.f64 (+.f64 1 x) (-.f64 x 1)))
33.0b
(+.f64 (fma.f64 (/.f64 1 (*.f64 x x)) (-.f64 -1 (/.f64 3 x)) (/.f64 -3 x)) (/.f64 -1 (pow.f64 x 4)))
Compiler

Compiled 474 to 334 computations (29.5% saved)

regimes387.0ms (3.9%)

Accuracy

Total 0.0b remaining (56.6%)

Threshold costs 0.0b (56.6%)

Counts
61 → 3
Compiler

Compiled 2697 to 1983 computations (26.5% saved)

bsearch12.0ms (0.1%)

Steps
ItersRangePoint
2
1327.2471198748406
55628.15765906012
22073.547601646904
1
-7.1546292106118625e+22
-214747898527.92075
-124526734327407820.0
Compiler

Compiled 2 to 1 computations (50% saved)

simplify5.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02962
14362
25562
36862
47462
57662
67362

end162.0ms (1.6%)

Compiler

Compiled 141 to 106 computations (24.8% saved)

Profiling

Loading profile data...