Details

Time bar (total: 3.2s)

analyze82.0ms (2.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
37.5%50%12.6%6
50%37.5%12.6%7
56.2%25%18.8%8
62.4%18.7%18.8%9
65.6%12.5%22%10
68.7%9.4%22%11
70.2%6.2%23.5%12
71.8%4.7%23.5%13
72.6%3.1%24.3%14
Compiler

Compiled 10 to 7 computations (30% saved)

sample960.0ms (29.7%)

Results
909.0ms8256×body128valid
7.0ms92×body128invalid
Compiler

Compiled 29 to 20 computations (31% saved)

simplify18.0ms (0.5%)

Algorithm
egg-herbie
Rules
265×fma-def_binary64
84×fma-neg_binary64
35×distribute-rgt-in_binary64
26×unsub-neg_binary64
25×sub-neg_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
11610
23110
36310
413410
518310
623610
732810
836010
935910
1038910
1134610

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.1b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.1b
(*.f64 x (-.f64 1 (*.f64 x y)))
Compiler

Compiled 27 to 18 computations (33.3% saved)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 1 (*.f64 x y))
0.1b
(*.f64 x (-.f64 1 (*.f64 x y)))

series9.0ms (0.3%)

Counts
2 → 48
Calls

2 calls:

6.0ms
(*.f64 x (-.f64 1 (*.f64 x y)))
3.0ms
(-.f64 1 (*.f64 x y))

rewrite9.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt_binary64
prod-diff_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
distribute-lft-in_binary64
Counts
2 → 52
Calls

2 calls:

5.0ms
(*.f64 x (-.f64 1 (*.f64 x y)))
2.0ms
(-.f64 1 (*.f64 x y))

simplify87.0ms (2.7%)

Algorithm
egg-herbie
Rules
1016×fma-def_binary64
587×unsub-neg_binary64
328×associate-*l*_binary64
293×unswap-sqr_binary64
278×*-commutative_binary64
Counts
100 → 81
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0811128
11621037
2490982
31467953
43061953
54899953
64821953

prune73.0ms (2.2%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New73881
Fresh000
Picked101
Done000
Total74882
Error
0b
Counts
82 → 8
Alt Table
StatusErrorProgram
14.3b
(*.f64 x (/.f64 (-.f64 1 (*.f64 y (*.f64 y (*.f64 x x)))) (fma.f64 x y 1)))
37.0b
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 (-.f64 1 (*.f64 x y)))) (*.f64 (sqrt.f64 x) (sqrt.f64 (-.f64 1 (*.f64 x y)))))
0.5b
(*.f64 x (*.f64 (*.f64 (cbrt.f64 (-.f64 1 (*.f64 x y))) (cbrt.f64 (-.f64 1 (*.f64 x y)))) (cbrt.f64 (-.f64 1 (*.f64 x y)))))
42.5b
(cbrt.f64 (pow.f64 (-.f64 x (*.f64 y (*.f64 x x))) 3))
1.4b
(*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (-.f64 1 (*.f64 x y))))
7.1b
(/.f64 (*.f64 x (-.f64 (*.f64 1 1) (*.f64 (*.f64 x y) (*.f64 x y)))) (+.f64 1 (*.f64 x y)))
0.1b
(+.f64 (*.f64 (fma.f64 1 1 (neg.f64 (*.f64 y x))) x) (*.f64 (fma.f64 (neg.f64 y) x (*.f64 y x)) x))
7.6b
(*.f64 x (cbrt.f64 (pow.f64 (-.f64 1 (*.f64 x y)) 3)))
Compiler

Compiled 1355 to 650 computations (52% saved)

localize12.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1 1 (neg.f64 (*.f64 y x)))
0.1b
(*.f64 (fma.f64 1 1 (neg.f64 (*.f64 y x))) x)
51.4b
(fma.f64 (neg.f64 y) x (*.f64 y x))

series19.0ms (0.6%)

Counts
3 → 72
Calls

3 calls:

7.0ms
(fma.f64 (neg.f64 y) x (*.f64 y x))
6.0ms
(*.f64 (fma.f64 1 1 (neg.f64 (*.f64 y x))) x)
6.0ms
(fma.f64 1 1 (neg.f64 (*.f64 y x)))

rewrite4.0ms (0.1%)

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

3 calls:

2.0ms
(*.f64 (fma.f64 1 1 (neg.f64 (*.f64 y x))) x)
0.0ms
(fma.f64 (neg.f64 y) x (*.f64 y x))
0.0ms
(fma.f64 1 1 (neg.f64 (*.f64 y x)))

simplify95.0ms (3%)

Algorithm
egg-herbie
Rules
820×fma-def_binary64
640×distribute-rgt-in_binary64
588×distribute-lft-in_binary64
390×distribute-neg-out_binary64
241×associate-*l*_binary64
Counts
112 → 80
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
062907
1108825
2295777
3922777
43226777
54767777
64999777
74815777

prune75.0ms (2.3%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New80080
Fresh077
Picked011
Done000
Total80888
Error
0b
Counts
88 → 8
Alt Table
StatusErrorProgram
14.3b
(*.f64 x (/.f64 (-.f64 1 (*.f64 y (*.f64 y (*.f64 x x)))) (fma.f64 x y 1)))
37.0b
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 (-.f64 1 (*.f64 x y)))) (*.f64 (sqrt.f64 x) (sqrt.f64 (-.f64 1 (*.f64 x y)))))
0.5b
(*.f64 x (*.f64 (*.f64 (cbrt.f64 (-.f64 1 (*.f64 x y))) (cbrt.f64 (-.f64 1 (*.f64 x y)))) (cbrt.f64 (-.f64 1 (*.f64 x y)))))
42.5b
(cbrt.f64 (pow.f64 (-.f64 x (*.f64 y (*.f64 x x))) 3))
1.4b
(*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (-.f64 1 (*.f64 x y))))
7.1b
(/.f64 (*.f64 x (-.f64 (*.f64 1 1) (*.f64 (*.f64 x y) (*.f64 x y)))) (+.f64 1 (*.f64 x y)))
0.1b
(+.f64 (*.f64 (fma.f64 1 1 (neg.f64 (*.f64 y x))) x) (*.f64 (fma.f64 (neg.f64 y) x (*.f64 y x)) x))
7.6b
(*.f64 x (cbrt.f64 (pow.f64 (-.f64 1 (*.f64 x y)) 3)))
Compiler

Compiled 2081 to 773 computations (62.9% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 x (*.f64 (*.f64 (cbrt.f64 (-.f64 1 (*.f64 x y))) (cbrt.f64 (-.f64 1 (*.f64 x y)))) (cbrt.f64 (-.f64 1 (*.f64 x y)))))
0.1b
(*.f64 (*.f64 (cbrt.f64 (-.f64 1 (*.f64 x y))) (cbrt.f64 (-.f64 1 (*.f64 x y)))) (cbrt.f64 (-.f64 1 (*.f64 x y))))
0.2b
(cbrt.f64 (-.f64 1 (*.f64 x y)))
0.2b
(*.f64 (cbrt.f64 (-.f64 1 (*.f64 x y))) (cbrt.f64 (-.f64 1 (*.f64 x y))))

series50.0ms (1.6%)

Counts
4 → 96
Calls

4 calls:

23.0ms
(*.f64 (cbrt.f64 (-.f64 1 (*.f64 x y))) (cbrt.f64 (-.f64 1 (*.f64 x y))))
17.0ms
(cbrt.f64 (-.f64 1 (*.f64 x y)))
6.0ms
(*.f64 x (*.f64 (*.f64 (cbrt.f64 (-.f64 1 (*.f64 x y))) (cbrt.f64 (-.f64 1 (*.f64 x y)))) (cbrt.f64 (-.f64 1 (*.f64 x y)))))
4.0ms
(*.f64 (*.f64 (cbrt.f64 (-.f64 1 (*.f64 x y))) (cbrt.f64 (-.f64 1 (*.f64 x y)))) (cbrt.f64 (-.f64 1 (*.f64 x y))))

rewrite59.0ms (1.8%)

Algorithm
rewrite-expression-head
Rules
122×cbrt-div_binary64
61×flip--_binary64
61×flip3--_binary64
60×frac-times_binary64
44×associate-*r/_binary64
Counts
4 → 178
Calls

4 calls:

14.0ms
(*.f64 x (*.f64 (*.f64 (cbrt.f64 (-.f64 1 (*.f64 x y))) (cbrt.f64 (-.f64 1 (*.f64 x y)))) (cbrt.f64 (-.f64 1 (*.f64 x y)))))
12.0ms
(*.f64 (*.f64 (cbrt.f64 (-.f64 1 (*.f64 x y))) (cbrt.f64 (-.f64 1 (*.f64 x y)))) (cbrt.f64 (-.f64 1 (*.f64 x y))))
7.0ms
(*.f64 (cbrt.f64 (-.f64 1 (*.f64 x y))) (cbrt.f64 (-.f64 1 (*.f64 x y))))
2.0ms
(cbrt.f64 (-.f64 1 (*.f64 x y)))

simplify163.0ms (5%)

Algorithm
egg-herbie
Rules
727×cancel-sign-sub-inv_binary64
288×associate-/r*_binary64
280×distribute-neg-frac_binary64
275×associate-*r*_binary64
254×associate-*l*_binary64
Counts
274 → 340
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03487780
18607171
230096801
352056801

prune512.0ms (15.9%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New4700470
Fresh066
Picked011
Done011
Total4708478
Error
0b
Counts
478 → 8
Alt Table
StatusErrorProgram
14.3b
(*.f64 x (/.f64 (-.f64 1 (*.f64 y (*.f64 y (*.f64 x x)))) (fma.f64 x y 1)))
37.0b
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 (-.f64 1 (*.f64 x y)))) (*.f64 (sqrt.f64 x) (sqrt.f64 (-.f64 1 (*.f64 x y)))))
0.5b
(*.f64 x (*.f64 (*.f64 (cbrt.f64 (-.f64 1 (*.f64 x y))) (cbrt.f64 (-.f64 1 (*.f64 x y)))) (cbrt.f64 (-.f64 1 (*.f64 x y)))))
42.5b
(cbrt.f64 (pow.f64 (-.f64 x (*.f64 y (*.f64 x x))) 3))
1.4b
(*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (-.f64 1 (*.f64 x y))))
7.1b
(/.f64 (*.f64 x (-.f64 (*.f64 1 1) (*.f64 (*.f64 x y) (*.f64 x y)))) (+.f64 1 (*.f64 x y)))
0.1b
(+.f64 (*.f64 (fma.f64 1 1 (neg.f64 (*.f64 y x))) x) (*.f64 (fma.f64 (neg.f64 y) x (*.f64 y x)) x))
7.6b
(*.f64 x (cbrt.f64 (pow.f64 (-.f64 1 (*.f64 x y)) 3)))
Compiler

Compiled 18752 to 10630 computations (43.3% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (cbrt.f64 x) (-.f64 1 (*.f64 x y)))
0.3b
(*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (-.f64 1 (*.f64 x y))))
0.5b
(*.f64 (cbrt.f64 x) (cbrt.f64 x))
0.6b
(cbrt.f64 x)

series148.0ms (4.6%)

Counts
4 → 72
Calls

4 calls:

63.0ms
(*.f64 (cbrt.f64 x) (-.f64 1 (*.f64 x y)))
35.0ms
(*.f64 (cbrt.f64 x) (cbrt.f64 x))
33.0ms
(cbrt.f64 x)
16.0ms
(*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (-.f64 1 (*.f64 x y))))

rewrite28.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt_binary64
25×distribute-lft-in_binary64
25×distribute-rgt-in_binary64
25×pow1_binary64
23×cbrt-prod_binary64
Counts
4 → 137
Calls

4 calls:

9.0ms
(*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (-.f64 1 (*.f64 x y))))
5.0ms
(*.f64 (cbrt.f64 x) (-.f64 1 (*.f64 x y)))
4.0ms
(*.f64 (cbrt.f64 x) (cbrt.f64 x))
1.0ms
(cbrt.f64 x)

simplify137.0ms (4.2%)

Algorithm
egg-herbie
Rules
500×exp-prod_binary64
419×fma-neg_binary64
398×fma-def_binary64
345×associate-*l*_binary64
291×distribute-rgt-in_binary64
Counts
209 → 195
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01682627
13482339
213562193
333512063
442021965
547371965
645981965

prune105.0ms (3.3%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New2310231
Fresh055
Picked011
Done022
Total2318239
Error
0b
Counts
239 → 8
Alt Table
StatusErrorProgram
14.3b
(*.f64 x (/.f64 (-.f64 1 (*.f64 y (*.f64 y (*.f64 x x)))) (fma.f64 x y 1)))
37.0b
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 (-.f64 1 (*.f64 x y)))) (*.f64 (sqrt.f64 x) (sqrt.f64 (-.f64 1 (*.f64 x y)))))
0.5b
(*.f64 x (*.f64 (*.f64 (cbrt.f64 (-.f64 1 (*.f64 x y))) (cbrt.f64 (-.f64 1 (*.f64 x y)))) (cbrt.f64 (-.f64 1 (*.f64 x y)))))
42.5b
(cbrt.f64 (pow.f64 (-.f64 x (*.f64 y (*.f64 x x))) 3))
1.4b
(*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (-.f64 1 (*.f64 x y))))
7.1b
(/.f64 (*.f64 x (-.f64 (*.f64 1 1) (*.f64 (*.f64 x y) (*.f64 x y)))) (+.f64 1 (*.f64 x y)))
0.1b
(+.f64 (*.f64 (fma.f64 1 1 (neg.f64 (*.f64 y x))) x) (*.f64 (fma.f64 (neg.f64 y) x (*.f64 y x)) x))
7.6b
(*.f64 x (cbrt.f64 (pow.f64 (-.f64 1 (*.f64 x y)) 3)))
Compiler

Compiled 4763 to 1727 computations (63.7% saved)

regimes364.0ms (11.3%)

Accuracy

Total 0.1b remaining (65.6%)

Threshold costs 0.1b (65.6%)

Counts
130 → 1
Compiler

Compiled 6100 to 3973 computations (34.9% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01225
12825
23625
34025
44125
54025

end197.0ms (6.1%)

Compiler

Compiled 183 to 109 computations (40.4% saved)

Profiling

Loading profile data...