Details

Time bar (total: 2.2s)

analyze108.0ms (4.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)

sample788.0ms (35.8%)

Results
731.0ms8256×body128valid
7.0ms87×body128invalid
Compiler

Compiled 29 to 20 computations (31% saved)

simplify16.0ms (0.7%)

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

prune4.0ms (0.2%)

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

series6.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

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

simplify62.0ms (2.8%)

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

prune42.0ms (1.9%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New43851
Fresh000
Picked101
Done000
Total44852
Error
0.0b
Counts
52 → 8
Alt Table
StatusErrorProgram
8.9b
(*.f64 (*.f64 x (sqrt.f64 (-.f64 1 (*.f64 x y)))) (sqrt.f64 (-.f64 1 (*.f64 x y))))
33.0b
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (-.f64 1 (*.f64 x y))))
1.5b
(*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (-.f64 1 (*.f64 x y))))
7.3b
(/.f64 (*.f64 x (-.f64 (*.f64 1 1) (*.f64 (*.f64 x y) (*.f64 x y)))) (+.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))
39.5b
(cbrt.f64 (*.f64 (*.f64 (*.f64 x (-.f64 1 (*.f64 x y))) (*.f64 x (-.f64 1 (*.f64 x y)))) (*.f64 x (-.f64 1 (*.f64 x y)))))
9.3b
(-.f64 x (*.f64 y (pow.f64 x 2)))
Compiler

Compiled 966 to 455 computations (52.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)
53.0b
(fma.f64 (neg.f64 y) x (*.f64 y x))

series18.0ms (0.8%)

Counts
2 → 48
Calls

2 calls:

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

simplify92.0ms (4.2%)

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

prune75.0ms (3.4%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New57057
Fresh077
Picked011
Done000
Total57865
Error
0.0b
Counts
65 → 8
Alt Table
StatusErrorProgram
8.9b
(*.f64 (*.f64 x (sqrt.f64 (-.f64 1 (*.f64 x y)))) (sqrt.f64 (-.f64 1 (*.f64 x y))))
33.0b
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (-.f64 1 (*.f64 x y))))
1.5b
(*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (-.f64 1 (*.f64 x y))))
7.3b
(/.f64 (*.f64 x (-.f64 (*.f64 1 1) (*.f64 (*.f64 x y) (*.f64 x y)))) (+.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))
39.5b
(cbrt.f64 (*.f64 (*.f64 (*.f64 x (-.f64 1 (*.f64 x y))) (*.f64 x (-.f64 1 (*.f64 x y)))) (*.f64 x (-.f64 1 (*.f64 x y)))))
9.3b
(-.f64 x (*.f64 y (pow.f64 x 2)))
Compiler

Compiled 1562 to 596 computations (61.8% 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.2b
(*.f64 (neg.f64 (*.f64 x y)) x)

series17.0ms (0.8%)

Counts
2 → 48
Calls

2 calls:

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

rewrite11.0ms (0.5%)

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:

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

simplify93.0ms (4.2%)

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

prune65.0ms (3%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New69170
Fresh066
Picked011
Done011
Total69978
Error
0b
Counts
78 → 9
Alt Table
StatusErrorProgram
8.9b
(*.f64 (*.f64 x (sqrt.f64 (-.f64 1 (*.f64 x y)))) (sqrt.f64 (-.f64 1 (*.f64 x y))))
33.0b
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (-.f64 1 (*.f64 x y))))
1.5b
(*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (-.f64 1 (*.f64 x y))))
34.3b
(+.f64 (*.f64 1 x) (*.f64 (*.f64 y (neg.f64 (pow.f64 x 3/2))) (sqrt.f64 x)))
7.3b
(/.f64 (*.f64 x (-.f64 (*.f64 1 1) (*.f64 (*.f64 x y) (*.f64 x y)))) (+.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))
39.5b
(cbrt.f64 (*.f64 (*.f64 (*.f64 x (-.f64 1 (*.f64 x y))) (*.f64 x (-.f64 1 (*.f64 x y)))) (*.f64 x (-.f64 1 (*.f64 x y)))))
9.3b
(-.f64 x (*.f64 y (pow.f64 x 2)))
Compiler

Compiled 1325 to 550 computations (58.5% saved)

localize7.0ms (0.3%)

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)

series205.0ms (9.3%)

Counts
4 → 72
Calls

4 calls:

114.0ms
(*.f64 (cbrt.f64 x) (-.f64 1 (*.f64 x y)))
38.0ms
(cbrt.f64 x)
37.0ms
(*.f64 (cbrt.f64 x) (cbrt.f64 x))
16.0ms
(*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (-.f64 1 (*.f64 x y))))

rewrite33.0ms (1.5%)

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 (cbrt.f64 x) (-.f64 1 (*.f64 x y)))
8.0ms
(*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (-.f64 1 (*.f64 x y))))
4.0ms
(*.f64 (cbrt.f64 x) (cbrt.f64 x))
3.0ms
(cbrt.f64 x)

simplify149.0ms (6.8%)

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

prune104.0ms (4.7%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New2310231
Fresh066
Picked011
Done022
Total2319240
Error
0b
Counts
240 → 9
Alt Table
StatusErrorProgram
8.9b
(*.f64 (*.f64 x (sqrt.f64 (-.f64 1 (*.f64 x y)))) (sqrt.f64 (-.f64 1 (*.f64 x y))))
33.0b
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (-.f64 1 (*.f64 x y))))
1.5b
(*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (-.f64 1 (*.f64 x y))))
34.3b
(+.f64 (*.f64 1 x) (*.f64 (*.f64 y (neg.f64 (pow.f64 x 3/2))) (sqrt.f64 x)))
7.3b
(/.f64 (*.f64 x (-.f64 (*.f64 1 1) (*.f64 (*.f64 x y) (*.f64 x y)))) (+.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))
39.5b
(cbrt.f64 (*.f64 (*.f64 (*.f64 x (-.f64 1 (*.f64 x y))) (*.f64 x (-.f64 1 (*.f64 x y)))) (*.f64 x (-.f64 1 (*.f64 x y)))))
9.3b
(-.f64 x (*.f64 y (pow.f64 x 2)))
Compiler

Compiled 4768 to 1730 computations (63.7% saved)

regimes145.0ms (6.6%)

Accuracy

Total 0.1b remaining (85.3%)

Threshold costs 0.1b (85.3%)

Counts
39 → 1
Compiler

Compiled 1984 to 1282 computations (35.4% saved)

simplify3.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
12525
23425
33925
44125
54025

end128.0ms (5.8%)

Compiler

Compiled 188 to 112 computations (40.4% saved)

Profiling

Loading profile data...