Details

Time bar (total: 1.9s)

analyze139.0ms (7.4%)

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
25%74.9%0.1%6
56.2%43.7%0.1%7
56.2%43.7%0.1%8
76.5%23.4%0.1%9
76.5%23.4%0.1%10
87.8%12.1%0.1%11
87.8%12.1%0.1%12
93.8%6.1%0.1%13
93.8%6.1%0.1%14
Compiler

Compiled 12 to 8 computations (33.3% saved)

sample849.0ms (45%)

Symmetry

(sort x y)

Results
819.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 35 to 23 computations (34.3% saved)

simplify13.0ms (0.7%)

Algorithm
egg-herbie
Rules
13×associate-/r*_binary64
*-commutative_binary64
associate-/l/_binary64
associate-*r*_binary64
associate-*l*_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11513
22813
33913
43713
53713

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
11.9b
Counts
3 → 1
Alt Table
StatusErrorProgram
11.9b
(/.f64 (+.f64 x y) (*.f64 (*.f64 x 2) y))
Compiler

Compiled 42 to 25 computations (40.5% saved)

localize5.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
11.5b
(/.f64 (+.f64 x y) (*.f64 (*.f64 x 2) y))

series8.0ms (0.4%)

Counts
1 → 24
Calls

1 calls:

8.0ms
(/.f64 (+.f64 x y) (*.f64 (*.f64 x 2) y))

rewrite7.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
10×add-cbrt-cube_binary64
10×add-exp-log_binary64
*-un-lft-identity_binary64
associate-/l*_binary64
times-frac_binary64
Counts
1 → 29
Calls

1 calls:

6.0ms
(/.f64 (+.f64 x y) (*.f64 (*.f64 x 2) y))

simplify51.0ms (2.7%)

Algorithm
egg-herbie
Rules
701×fma-def_binary64
664×times-frac_binary64
522×associate-/r*_binary64
519×associate-*l*_binary64
500×distribute-rgt-in_binary64
Counts
53 → 45
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
080767
1222654
2839654
33818653
45409653

prune23.0ms (1.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New42345
Fresh000
Picked101
Done000
Total43346
Error
0b
Counts
46 → 3
Alt Table
StatusErrorProgram
9.1b
(/.f64 (/.f64 (+.f64 x y) (*.f64 x 2)) y)
11.8b
(*.f64 (+.f64 x y) (/.f64 (/.f64 1/2 x) y))
0.0b
(+.f64 (/.f64 1/2 x) (/.f64 1/2 y))
Compiler

Compiled 752 to 370 computations (50.8% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series9.0ms (0.5%)

Counts
1 → 24
Calls

1 calls:

9.0ms
(+.f64 (/.f64 1/2 x) (/.f64 1/2 y))

rewrite11.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity_binary64
15×times-frac_binary64
13×fma-def_binary64
10×add-sqr-sqrt_binary64
10×add-cube-cbrt_binary64
Counts
1 → 32
Calls

1 calls:

10.0ms
(+.f64 (/.f64 1/2 x) (/.f64 1/2 y))

simplify127.0ms (6.7%)

Algorithm
egg-herbie
Rules
539×distribute-rgt-out_binary64
539×times-frac_binary64
394×associate-/l/_binary64
321×fma-neg_binary64
298×distribute-rgt-in_binary64
Counts
56 → 40
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
049504
1127473
2402472
31379472
42965472
54451472
64835472
75030472

prune26.0ms (1.4%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New40040
Fresh022
Picked011
Done000
Total40343
Error
0b
Counts
43 → 3
Alt Table
StatusErrorProgram
9.1b
(/.f64 (/.f64 (+.f64 x y) (*.f64 x 2)) y)
11.8b
(*.f64 (+.f64 x y) (/.f64 (/.f64 1/2 x) y))
0.0b
(+.f64 (/.f64 1/2 x) (/.f64 1/2 y))
Compiler

Compiled 588 to 430 computations (26.9% saved)

localize7.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (+.f64 x y) (*.f64 x 2))
8.6b
(/.f64 (/.f64 (+.f64 x y) (*.f64 x 2)) y)

series14.0ms (0.7%)

Counts
2 → 48
Calls

2 calls:

8.0ms
(/.f64 (/.f64 (+.f64 x y) (*.f64 x 2)) y)
6.0ms
(/.f64 (+.f64 x y) (*.f64 x 2))

rewrite21.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
44×times-frac_binary64
33×*-un-lft-identity_binary64
21×add-sqr-sqrt_binary64
21×add-cube-cbrt_binary64
16×add-cbrt-cube_binary64
Counts
2 → 81
Calls

2 calls:

11.0ms
(/.f64 (/.f64 (+.f64 x y) (*.f64 x 2)) y)
5.0ms
(/.f64 (+.f64 x y) (*.f64 x 2))

simplify108.0ms (5.7%)

Algorithm
egg-herbie
Rules
664×fma-def_binary64
564×times-frac_binary64
469×associate-/l*_binary64
442×associate-/l/_binary64
402×associate-/r*_binary64
Counts
129 → 102
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01431982
13481799
210331798
340781798
446731798
555501798

prune44.0ms (2.3%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1020102
Fresh011
Picked011
Done011
Total1023105
Error
0b
Counts
105 → 3
Alt Table
StatusErrorProgram
9.1b
(/.f64 (/.f64 (+.f64 x y) (*.f64 x 2)) y)
11.8b
(*.f64 (+.f64 x y) (/.f64 (/.f64 1/2 x) y))
0.0b
(+.f64 (/.f64 1/2 x) (/.f64 1/2 y))
Compiler

Compiled 1668 to 770 computations (53.8% saved)

localize6.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(/.f64 (/.f64 1/2 x) y)
11.4b
(*.f64 (+.f64 x y) (/.f64 (/.f64 1/2 x) y))

series18.0ms (1%)

Counts
2 → 48
Calls

2 calls:

10.0ms
(*.f64 (+.f64 x y) (/.f64 (/.f64 1/2 x) y))
8.0ms
(/.f64 (/.f64 1/2 x) y)

rewrite31.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
144×times-frac_binary64
89×add-sqr-sqrt_binary64
82×*-un-lft-identity_binary64
80×add-cube-cbrt_binary64
43×associate-*r*_binary64
Counts
2 → 144
Calls

2 calls:

14.0ms
(*.f64 (+.f64 x y) (/.f64 (/.f64 1/2 x) y))
4.0ms
(/.f64 (/.f64 1/2 x) y)

simplify161.0ms (8.5%)

Algorithm
egg-herbie
Rules
634×fma-def_binary64
562×associate-/r*_binary64
328×associate-/r/_binary64
168×sub-neg_binary64
159×associate-*l*_binary64
Counts
192 → 215
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02373039
15822868
223032868
337162868
443942867
548332867
650082867

prune93.0ms (4.9%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2150215
Fresh000
Picked011
Done022
Total2153218
Error
0b
Counts
218 → 3
Alt Table
StatusErrorProgram
9.1b
(/.f64 (/.f64 (+.f64 x y) (*.f64 x 2)) y)
11.8b
(*.f64 (+.f64 x y) (/.f64 (/.f64 1/2 x) y))
0.0b
(+.f64 (/.f64 1/2 x) (/.f64 1/2 y))
Compiler

Compiled 3910 to 1948 computations (50.2% saved)

regimes42.0ms (2.2%)

Accuracy

Total 0.0b remaining (66.8%)

Threshold costs 0.0b (66.8%)

Counts
11 → 1
Compiler

Compiled 456 to 309 computations (32.2% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
1810
2810

end62.0ms (3.3%)

Remove

(sort x y)

Compiler

Compiled 67 to 49 computations (26.9% saved)

Profiling

Loading profile data...