Details

Time bar (total: 2.1s)

analyze82.0ms (3.9%)

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)

sample736.0ms (34.7%)

Results
684.0ms8256×body128valid
7.0ms95×body128invalid
Compiler

Compiled 29 to 20 computations (31% saved)

simplify18.0ms (0.8%)

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

prune2.0ms (0.1%)

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.2%)

Local error

Found 1 expressions with local error:

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

series8.0ms (0.4%)

Counts
1 → 24
Calls

1 calls:

8.0ms
(*.f64 x (-.f64 1 (*.f64 x y)))

rewrite6.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
prod-diff_binary64
distribute-lft-in_binary64
distribute-rgt-in_binary64
*-un-lft-identity_binary64
Counts
1 → 32
Calls

1 calls:

4.0ms
(*.f64 x (-.f64 1 (*.f64 x y)))

simplify57.0ms (2.7%)

Algorithm
egg-herbie
Rules
888×fma-def_binary64
584×unsub-neg_binary64
561×distribute-neg-out_binary64
311×associate-*l*_binary64
293×unswap-sqr_binary64
Counts
56 → 51
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
069723
1140663
2421626
31318606
42818606
55568606

prune100.0ms (4.7%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New46551
Fresh000
Picked101
Done000
Total47552
Error
0.0b
Counts
52 → 5
Alt Table
StatusErrorProgram
0.1b
(+.f64 (*.f64 1 x) (*.f64 (neg.f64 (*.f64 x y)) x))
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))
33.8b
(*.f64 (sqrt.f64 (*.f64 x (-.f64 1 (*.f64 x y)))) (sqrt.f64 (*.f64 x (-.f64 1 (*.f64 x y)))))
35.7b
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (-.f64 1 (*.f64 x y))))
1.3b
(*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (-.f64 1 (*.f64 x y))))
Compiler

Compiled 858 to 391 computations (54.4% saved)

localize6.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

series18.0ms (0.9%)

Counts
2 → 48
Calls

2 calls:

11.0ms
(*.f64 (neg.f64 (*.f64 x y)) x)
7.0ms
(+.f64 (*.f64 1 x) (*.f64 (neg.f64 (*.f64 x y)) x))

rewrite7.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
associate-*l*_binary64
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 40
Calls

2 calls:

3.0ms
(*.f64 (neg.f64 (*.f64 x y)) x)
3.0ms
(+.f64 (*.f64 1 x) (*.f64 (neg.f64 (*.f64 x y)) x))

simplify159.0ms (7.5%)

Algorithm
egg-herbie
Rules
786×unsub-neg_binary64
423×times-frac_binary64
380×neg-sub0_binary64
365×neg-mul-1_binary64
320×distribute-lft-neg-out_binary64
Counts
88 → 70
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
069933
1189909
2748899
32086893
43687893
54607893
65301893

prune53.0ms (2.5%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New69170
Fresh044
Picked011
Done000
Total69675
Error
0.0b
Counts
75 → 6
Alt Table
StatusErrorProgram
39.3b
(/.f64 (+.f64 (pow.f64 (*.f64 1 x) 3) (pow.f64 (*.f64 (neg.f64 (*.f64 x y)) x) 3)) (+.f64 (*.f64 (*.f64 1 x) (*.f64 1 x)) (-.f64 (*.f64 (*.f64 (neg.f64 (*.f64 x y)) x) (*.f64 (neg.f64 (*.f64 x y)) x)) (*.f64 (*.f64 1 x) (*.f64 (neg.f64 (*.f64 x y)) x)))))
0.1b
(+.f64 (*.f64 1 x) (*.f64 (neg.f64 (*.f64 x y)) x))
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))
33.8b
(*.f64 (sqrt.f64 (*.f64 x (-.f64 1 (*.f64 x y)))) (sqrt.f64 (*.f64 x (-.f64 1 (*.f64 x y)))))
35.7b
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (-.f64 1 (*.f64 x y))))
1.3b
(*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (-.f64 1 (*.f64 x y))))
Compiler

Compiled 1306 to 524 computations (59.9% saved)

localize10.0ms (0.5%)

Local error

Found 2 expressions with local error:

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

series15.0ms (0.7%)

Counts
2 → 48
Calls

2 calls:

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

rewrite4.0ms (0.2%)

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
2 → 30
Calls

2 calls:

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

simplify87.0ms (4.1%)

Algorithm
egg-herbie
Rules
818×fma-def_binary64
640×distribute-rgt-in_binary64
588×distribute-lft-in_binary64
390×distribute-neg-out_binary64
231×associate-*l*_binary64
Counts
78 → 57
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
055703
1103588
2289532
3919532
43223532
54764532
64997532
74847532

prune46.0ms (2.2%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New57057
Fresh044
Picked011
Done011
Total57663
Error
0.0b
Counts
63 → 6
Alt Table
StatusErrorProgram
39.3b
(/.f64 (+.f64 (pow.f64 (*.f64 1 x) 3) (pow.f64 (*.f64 (neg.f64 (*.f64 x y)) x) 3)) (+.f64 (*.f64 (*.f64 1 x) (*.f64 1 x)) (-.f64 (*.f64 (*.f64 (neg.f64 (*.f64 x y)) x) (*.f64 (neg.f64 (*.f64 x y)) x)) (*.f64 (*.f64 1 x) (*.f64 (neg.f64 (*.f64 x y)) x)))))
0.1b
(+.f64 (*.f64 1 x) (*.f64 (neg.f64 (*.f64 x y)) x))
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))
33.8b
(*.f64 (sqrt.f64 (*.f64 x (-.f64 1 (*.f64 x y)))) (sqrt.f64 (*.f64 x (-.f64 1 (*.f64 x y)))))
35.7b
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (-.f64 1 (*.f64 x y))))
1.3b
(*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (-.f64 1 (*.f64 x y))))
Compiler

Compiled 1540 to 572 computations (62.9% saved)

localize8.0ms (0.4%)

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.5b
(cbrt.f64 x)

series162.0ms (7.6%)

Counts
4 → 72
Calls

4 calls:

67.0ms
(*.f64 (cbrt.f64 x) (-.f64 1 (*.f64 x y)))
36.0ms
(*.f64 (cbrt.f64 x) (cbrt.f64 x))
35.0ms
(cbrt.f64 x)
23.0ms
(*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (-.f64 1 (*.f64 x y))))

rewrite29.0ms (1.4%)

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:

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

simplify139.0ms (6.6%)

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

prune100.0ms (4.7%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New2301231
Fresh123
Picked011
Done022
Total2316237
Error
0b
Counts
237 → 6
Alt Table
StatusErrorProgram
2.2b
(*.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 (cbrt.f64 x)) (cbrt.f64 (cbrt.f64 x))) (*.f64 (cbrt.f64 (cbrt.f64 x)) (cbrt.f64 (cbrt.f64 x)))) (*.f64 (cbrt.f64 (cbrt.f64 x)) (cbrt.f64 (cbrt.f64 x)))) (*.f64 (cbrt.f64 x) (-.f64 1 (*.f64 x y))))
0.1b
(+.f64 (*.f64 1 x) (*.f64 (neg.f64 (*.f64 x y)) x))
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))
33.8b
(*.f64 (sqrt.f64 (*.f64 x (-.f64 1 (*.f64 x y)))) (sqrt.f64 (*.f64 x (-.f64 1 (*.f64 x y)))))
35.7b
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (-.f64 1 (*.f64 x y))))
1.3b
(*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (-.f64 1 (*.f64 x y))))
Compiler

Compiled 4733 to 1699 computations (64.1% saved)

regimes186.0ms (8.8%)

Accuracy

Total 0.1b remaining (61.2%)

Threshold costs 0.1b (61.2%)

Counts
67 → 1
Compiler

Compiled 3308 to 2038 computations (38.4% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
distribute-rgt-neg-in_binary64
+-commutative_binary64
sub-neg_binary64
distribute-lft-neg-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
11810
23210
34410
44910
55110
64910

end76.0ms (3.6%)

Compiler

Compiled 133 to 71 computations (46.6% saved)

Profiling

Loading profile data...