Details

Time bar (total: 6.7s)

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

Results
685.0ms2038×body1024valid
445.0ms4417×body128valid
272.0ms1081×body512valid
98.0ms528×body256valid
76.0ms192×body2048valid
Compiler

Compiled 44 to 32 computations (27.3% saved)

simplify88.0ms (1.3%)

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)

localize7.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)))

series9.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

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

rewrite240.0ms (3.6%)

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:

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

simplify795.0ms (11.9%)

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

prune654.0ms (9.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)))
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)))))
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))))
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)))

series15.0ms (0.2%)

Counts
2 → 16
Calls

2 calls:

12.0ms
(sqrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))
4.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)))))

rewrite220.0ms (3.3%)

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:

73.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)))))
58.0ms
(sqrt.f64 (-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1))))

simplify235.0ms (3.5%)

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

prune1.8s (27.6%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New131721319
Fresh213
Picked101
Done000
Total132031323
Error
0b
Counts
1323 → 3
Alt Table
StatusErrorProgram
25.9b
(/.f64 (-.f64 (fma.f64 x (+.f64 (-.f64 x 1) (-.f64 -1 x)) -1) x) (*.f64 (+.f64 1 x) (-.f64 x 1)))
30.9b
(+.f64 1 (fma.f64 3 (+.f64 x (pow.f64 x 3)) (*.f64 x x)))
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)

localize10.0ms (0.1%)

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)))

series10.0ms (0.1%)

Counts
4 → 48
Calls

4 calls:

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

rewrite49.0ms (0.7%)

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:

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

simplify126.0ms (1.9%)

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

prune234.0ms (3.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2970297
Fresh022
Picked011
Done000
Total2973300
Error
0b
Counts
300 → 3
Alt Table
StatusErrorProgram
25.9b
(/.f64 (-.f64 (fma.f64 x (+.f64 (-.f64 x 1) (-.f64 -1 x)) -1) x) (*.f64 (+.f64 1 x) (-.f64 x 1)))
30.9b
(+.f64 1 (fma.f64 3 (+.f64 x (pow.f64 x 3)) (*.f64 x x)))
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)

localize7.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))

series4.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

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

rewrite1.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:

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

simplify80.0ms (1.2%)

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

prune20.0ms (0.3%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New26026
Fresh011
Picked011
Done011
Total26329
Error
0b
Counts
29 → 3
Alt Table
StatusErrorProgram
25.9b
(/.f64 (-.f64 (fma.f64 x (+.f64 (-.f64 x 1) (-.f64 -1 x)) -1) x) (*.f64 (+.f64 1 x) (-.f64 x 1)))
30.9b
(+.f64 1 (fma.f64 3 (+.f64 x (pow.f64 x 3)) (*.f64 x x)))
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)

regimes229.0ms (3.4%)

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)

bsearch8.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.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
03280
14580
26180
38080
49380
59880
610180
710280
89980

end87.0ms (1.3%)

Compiler

Compiled 167 to 122 computations (26.9% saved)

Profiling

Loading profile data...