Details

Time bar (total: 3.6s)

analyze40.0ms (1.1%)

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
25%74.9%0.1%4
37.5%62.4%0.1%5
62.4%37.5%0.1%6
87.4%12.5%0.1%7
87.4%12.5%0.1%8
93.7%6.2%0.1%9
93.7%6.2%0.1%10
96.8%3.1%0.1%11
96.8%3.1%0.1%12
98.3%1.6%0.1%13
98.3%1.6%0.1%14
Compiler

Compiled 10 to 6 computations (40% saved)

sample806.0ms (22.4%)

Results
714.0ms8256×body128valid
Compiler

Compiled 29 to 17 computations (41.4% saved)

simplify68.0ms (1.9%)

Algorithm
egg-herbie
Rules
516×fma-neg_binary64
439×fma-def_binary64
382×times-frac_binary64
357×div-sub_binary64
168×associate-/l*_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
1910
21410
32110
42810
55110
67410
710410
815410
931910
1047910
1180610
12105010
13121610
14131610
15133010
16135010
17135010
18125010

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 27 to 15 computations (44.4% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (+.f64 x y) (-.f64 x y))

series8.0ms (0.2%)

Counts
1 → 24
Calls

1 calls:

8.0ms
(/.f64 (+.f64 x y) (-.f64 x y))

rewrite8.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity_binary64
22×add-sqr-sqrt_binary64
20×times-frac_binary64
12×add-cube-cbrt_binary64
distribute-lft-out_binary64
Counts
1 → 47
Calls

1 calls:

5.0ms
(/.f64 (+.f64 x y) (-.f64 x y))

simplify81.0ms (2.3%)

Algorithm
egg-herbie
Rules
910×fma-neg_binary64
434×cancel-sign-sub-inv_binary64
387×distribute-rgt-in_binary64
223×fma-def_binary64
161×associate-/l*_binary64
Counts
71 → 57
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01091282
12801222
27851160
325161148
445661139
551721139

prune35.0ms (1%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New52557
Fresh000
Picked101
Done000
Total53558
Error
0b
Counts
58 → 5
Alt Table
StatusErrorProgram
33.2b
(fma.f64 (/.f64 x y) (-.f64 -2 (*.f64 2 (/.f64 x y))) -1)
0.2b
(*.f64 (+.f64 x y) (/.f64 1 (-.f64 x y)))
0.0b
(/.f64 1 (/.f64 (-.f64 x y) (+.f64 x y)))
34.5b
(*.f64 (sqrt.f64 (+.f64 x y)) (/.f64 (sqrt.f64 (+.f64 x y)) (-.f64 x y)))
30.7b
(fma.f64 2 (*.f64 (+.f64 (/.f64 y x) 1) (/.f64 y x)) (fma.f64 2 (pow.f64 (/.f64 y x) 3) 1))
Compiler

Compiled 997 to 351 computations (64.8% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (/.f64 (-.f64 x y) (+.f64 x y)))
0.0b
(/.f64 (-.f64 x y) (+.f64 x y))

series19.0ms (0.5%)

Counts
2 → 48
Calls

2 calls:

11.0ms
(/.f64 (-.f64 x y) (+.f64 x y))
8.0ms
(/.f64 1 (/.f64 (-.f64 x y) (+.f64 x y)))

rewrite35.0ms (1%)

Algorithm
rewrite-expression-head
Rules
178×times-frac_binary64
174×*-un-lft-identity_binary64
122×add-sqr-sqrt_binary64
80×add-cube-cbrt_binary64
30×associate-/r*_binary64
Counts
2 → 178
Calls

2 calls:

11.0ms
(/.f64 1 (/.f64 (-.f64 x y) (+.f64 x y)))
6.0ms
(/.f64 (-.f64 x y) (+.f64 x y))

simplify155.0ms (4.3%)

Algorithm
egg-herbie
Rules
637×fma-neg_binary64
368×fma-def_binary64
310×times-frac_binary64
267×distribute-rgt-in_binary64
239×associate-/l*_binary64
Counts
226 → 204
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01744590
14414267
213154104
342864086
449764086
549614086

prune120.0ms (3.3%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2013204
Fresh314
Picked101
Done000
Total2054209
Error
0b
Counts
209 → 4
Alt Table
StatusErrorProgram
34.5b
(/.f64 1 (/.f64 (/.f64 (-.f64 x y) (sqrt.f64 (+.f64 x y))) (sqrt.f64 (+.f64 x y))))
0.0b
(/.f64 1 (-.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 x y))))
0.0b
(/.f64 (/.f64 1 (-.f64 x y)) (/.f64 1 (+.f64 x y)))
30.7b
(fma.f64 2 (*.f64 (+.f64 (/.f64 y x) 1) (/.f64 y x)) (fma.f64 2 (pow.f64 (/.f64 y x) 3) 1))
Compiler

Compiled 4069 to 1318 computations (67.6% saved)

localize6.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (-.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 x y))))
0.0b
(/.f64 y (+.f64 x y))
0.0b
(/.f64 x (+.f64 x y))
0.0b
(-.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 x y)))

series47.0ms (1.3%)

Counts
4 → 96
Calls

4 calls:

16.0ms
(/.f64 1 (-.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 x y))))
15.0ms
(-.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 x y)))
8.0ms
(/.f64 y (+.f64 x y))
8.0ms
(/.f64 x (+.f64 x y))

rewrite145.0ms (4%)

Algorithm
rewrite-expression-head
Rules
722×*-un-lft-identity_binary64
611×times-frac_binary64
418×add-sqr-sqrt_binary64
358×add-cube-cbrt_binary64
324×prod-diff_binary64
Counts
4 → 552
Calls

4 calls:

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

simplify453.0ms (12.6%)

Algorithm
egg-herbie
Rules
643×fma-neg_binary64
261×distribute-rgt-in_binary64
248×unsub-neg_binary64
243×sub-neg_binary64
210×fma-udef_binary64
Counts
648 → 577
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
051928160
1119118347
2283013892
3471613879
4480913879

prune342.0ms (9.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New5761577
Fresh123
Picked011
Done000
Total5774581
Error
0b
Counts
581 → 4
Alt Table
StatusErrorProgram
34.5b
(/.f64 1 (/.f64 (/.f64 (-.f64 x y) (sqrt.f64 (+.f64 x y))) (sqrt.f64 (+.f64 x y))))
0.0b
(/.f64 1 (-.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 x y))))
0.0b
(cbrt.f64 (/.f64 1 (pow.f64 (/.f64 (-.f64 x y) (+.f64 x y)) 3)))
30.7b
(fma.f64 2 (*.f64 (+.f64 (/.f64 y x) 1) (/.f64 y x)) (fma.f64 2 (pow.f64 (/.f64 y x) 3) 1))
Compiler

Compiled 22763 to 5133 computations (77.5% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (/.f64 (-.f64 x y) (+.f64 x y)) 3)
0.0b
(/.f64 (-.f64 x y) (+.f64 x y))
0.0b
(/.f64 1 (pow.f64 (/.f64 (-.f64 x y) (+.f64 x y)) 3))
0.0b
(cbrt.f64 (/.f64 1 (pow.f64 (/.f64 (-.f64 x y) (+.f64 x y)) 3)))

series44.0ms (1.2%)

Counts
3 → 72
Calls

3 calls:

15.0ms
(cbrt.f64 (/.f64 1 (pow.f64 (/.f64 (-.f64 x y) (+.f64 x y)) 3)))
15.0ms
(pow.f64 (/.f64 (-.f64 x y) (+.f64 x y)) 3)
14.0ms
(/.f64 1 (pow.f64 (/.f64 (-.f64 x y) (+.f64 x y)) 3))

rewrite122.0ms (3.4%)

Algorithm
rewrite-expression-head
Rules
668×times-frac_binary64
577×*-un-lft-identity_binary64
417×add-sqr-sqrt_binary64
289×add-cube-cbrt_binary64
208×cube-prod_binary64
Counts
3 → 527
Calls

3 calls:

16.0ms
(/.f64 1 (pow.f64 (/.f64 (-.f64 x y) (+.f64 x y)) 3))
16.0ms
(cbrt.f64 (/.f64 1 (pow.f64 (/.f64 (-.f64 x y) (+.f64 x y)) 3)))
7.0ms
(pow.f64 (/.f64 (-.f64 x y) (+.f64 x y)) 3)

simplify366.0ms (10.2%)

Algorithm
egg-herbie
Rules
586×fma-def_binary64
360×unswap-sqr_binary64
273×log-prod_binary64
164×associate-/r*_binary64
155×log-div_binary64
Counts
599 → 358
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
030417314
179015414
2262914893
3450614893
4510614893

prune353.0ms (9.8%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New4160416
Fresh022
Picked011
Done011
Total4164420
Error
0b
Counts
420 → 4
Alt Table
StatusErrorProgram
34.5b
(/.f64 1 (/.f64 (/.f64 (-.f64 x y) (sqrt.f64 (+.f64 x y))) (sqrt.f64 (+.f64 x y))))
0.0b
(/.f64 1 (-.f64 (/.f64 x (+.f64 x y)) (/.f64 y (+.f64 x y))))
0.0b
(cbrt.f64 (/.f64 1 (pow.f64 (/.f64 (-.f64 x y) (+.f64 x y)) 3)))
30.7b
(fma.f64 2 (*.f64 (+.f64 (/.f64 y x) 1) (/.f64 y x)) (fma.f64 2 (pow.f64 (/.f64 y x) 3) 1))
Compiler

Compiled 10023 to 4563 computations (54.5% saved)

regimes252.0ms (7%)

Accuracy

Total 0.0b remaining (62.8%)

Threshold costs 0.0b (62.8%)

Counts
103 → 1
Compiler

Compiled 4126 to 2832 computations (31.4% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0919
11419
22019
32419
42719
52819
62719

end66.0ms (1.8%)

Compiler

Compiled 97 to 56 computations (42.3% saved)

Profiling

Loading profile data...