Details

Time bar (total: 2.3s)

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

sample895.0ms (39.7%)

Results
836.0ms8256×body128valid
7.0ms87×body128invalid
Compiler

Compiled 29 to 20 computations (31% saved)

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

series5.0ms (0.2%)

Counts
1 → 24
Calls

1 calls:

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

rewrite6.0ms (0.2%)

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

simplify74.0ms (3.3%)

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

prune45.0ms (2%)

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

Compiled 966 to 455 computations (52.9% saved)

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

series15.0ms (0.7%)

Counts
2 → 48
Calls

2 calls:

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

rewrite6.0ms (0.3%)

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:

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

simplify90.0ms (4%)

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

prune58.0ms (2.6%)

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

series15.0ms (0.7%)

Counts
2 → 48
Calls

2 calls:

9.0ms
(*.f64 (neg.f64 (*.f64 x y)) x)
6.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))

simplify90.0ms (4%)

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

prune56.0ms (2.5%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New69170
Fresh066
Picked011
Done011
Total69978
Error
0b
Counts
78 → 9
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))
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)))
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)))
Compiler

Compiled 1325 to 550 computations (58.5% saved)

localize18.0ms (0.8%)

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)

series245.0ms (10.9%)

Counts
4 → 72
Calls

4 calls:

102.0ms
(*.f64 (cbrt.f64 x) (-.f64 1 (*.f64 x y)))
94.0ms
(cbrt.f64 x)
33.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))))

rewrite28.0ms (1.3%)

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)

simplify141.0ms (6.3%)

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 → 189
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01682627
13482399
213562255
333512139
442022031
547372031
645982031

prune98.0ms (4.3%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New2250225
Fresh066
Picked011
Done022
Total2259234
Error
0b
Counts
234 → 9
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))
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)))
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)))
Compiler

Compiled 4663 to 1669 computations (64.2% saved)

regimes115.0ms (5.1%)

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

end114.0ms (5%)

Compiler

Compiled 188 to 112 computations (40.4% saved)

Profiling

Loading profile data...