Details

Time bar (total: 3.0s)

analyze82.0ms (2.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
25%74.9%0.1%3
37.5%62.4%0.1%4
56.2%43.7%0.1%5
65.6%34.3%0.1%6
76.5%23.4%0.1%7
82%18%0.1%8
87.8%12.1%0.1%9
90.7%9.2%0.1%10
93.8%6.1%0.1%11
95.3%4.6%0.1%12
96.8%3.1%0.1%13
97.6%2.3%0.1%14
Compiler

Compiled 12 to 8 computations (33.3% saved)

sample1.1s (36.9%)

Symmetry

(sort x y)

Results
1.0s8256×body128valid
Compiler

Compiled 35 to 23 computations (34.3% saved)

simplify13.0ms (0.4%)

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

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 42 to 25 computations (40.5% saved)

localize10.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

series14.0ms (0.5%)

Counts
1 → 24
Calls

1 calls:

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

rewrite14.0ms (0.5%)

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:

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

simplify91.0ms (3.1%)

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

prune45.0ms (1.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New43245
Fresh000
Picked011
Done000
Total43346
Error
0.0b
Counts
46 → 3
Alt Table
StatusErrorProgram
0.0b
(+.f64 (/.f64 1/2 x) (/.f64 1/2 y))
14.1b
(/.f64 (+.f64 x y) (*.f64 (*.f64 x 2) y))
6.0b
(*.f64 (/.f64 1/2 x) (/.f64 (+.f64 x y) y))
Compiler

Compiled 741 to 363 computations (51% saved)

localize9.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

series12.0ms (0.4%)

Counts
1 → 24
Calls

1 calls:

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

rewrite29.0ms (1%)

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:

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

simplify147.0ms (4.9%)

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

prune46.0ms (1.6%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New39140
Fresh011
Picked011
Done011
Total39443
Error
0b
Counts
43 → 4
Alt Table
StatusErrorProgram
0.0b
(+.f64 (/.f64 1/2 x) (/.f64 1/2 y))
0.8b
(*.f64 (/.f64 (sqrt.f64 1/2) 1) (+.f64 (/.f64 (sqrt.f64 1/2) x) (/.f64 (sqrt.f64 1/2) y)))
14.1b
(/.f64 (+.f64 x y) (*.f64 (*.f64 x 2) y))
6.0b
(*.f64 (/.f64 1/2 x) (/.f64 (+.f64 x y) y))
Compiler

Compiled 609 to 451 computations (25.9% saved)

localize16.0ms (0.5%)

Local error

Found 4 expressions with local error:

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

series62.0ms (2.1%)

Counts
4 → 48
Calls

4 calls:

31.0ms
(*.f64 (/.f64 (sqrt.f64 1/2) 1) (+.f64 (/.f64 (sqrt.f64 1/2) x) (/.f64 (sqrt.f64 1/2) y)))
18.0ms
(+.f64 (/.f64 (sqrt.f64 1/2) x) (/.f64 (sqrt.f64 1/2) y))
7.0ms
(/.f64 (sqrt.f64 1/2) x)
6.0ms
(/.f64 (sqrt.f64 1/2) y)

rewrite99.0ms (3.3%)

Algorithm
rewrite-expression-head
Rules
108×times-frac_binary64
107×*-un-lft-identity_binary64
89×add-sqr-sqrt_binary64
69×add-cube-cbrt_binary64
60×sqrt-prod_binary64
Counts
4 → 193
Calls

4 calls:

39.0ms
(*.f64 (/.f64 (sqrt.f64 1/2) 1) (+.f64 (/.f64 (sqrt.f64 1/2) x) (/.f64 (sqrt.f64 1/2) y)))
22.0ms
(+.f64 (/.f64 (sqrt.f64 1/2) x) (/.f64 (sqrt.f64 1/2) y))
3.0ms
(/.f64 (sqrt.f64 1/2) y)
3.0ms
(/.f64 (sqrt.f64 1/2) x)

simplify297.0ms (10%)

Algorithm
egg-herbie
Rules
479×fma-neg_binary64
438×associate-/l*_binary64
274×associate-*l/_binary64
246×times-frac_binary64
244×distribute-rgt-in_binary64
Counts
241 → 233
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01993190
14133081
211803051
332433028
443143028
548153028
649373028

prune429.0ms (14.4%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2330233
Fresh011
Picked011
Done022
Total2334237
Error
0b
Counts
237 → 4
Alt Table
StatusErrorProgram
0.0b
(+.f64 (/.f64 1/2 x) (/.f64 1/2 y))
0.8b
(*.f64 (/.f64 (sqrt.f64 1/2) 1) (+.f64 (/.f64 (sqrt.f64 1/2) x) (/.f64 (sqrt.f64 1/2) y)))
14.1b
(/.f64 (+.f64 x y) (*.f64 (*.f64 x 2) y))
6.0b
(*.f64 (/.f64 1/2 x) (/.f64 (+.f64 x y) y))
Compiler

Compiled 4997 to 4216 computations (15.6% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series55.0ms (1.9%)

Counts
2 → 48
Calls

2 calls:

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

rewrite26.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity_binary64
38×add-sqr-sqrt_binary64
37×times-frac_binary64
26×add-cube-cbrt_binary64
16×associate-*r*_binary64
Counts
2 → 90
Calls

2 calls:

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

simplify133.0ms (4.5%)

Algorithm
egg-herbie
Rules
924×distribute-rgt-in_binary64
670×associate-*l/_binary64
489×associate-/l*_binary64
464×fma-def_binary64
303×*-commutative_binary64
Counts
138 → 123
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01431865
13851697
213681651
338891651
457621651

prune116.0ms (3.9%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1230123
Fresh000
Picked011
Done033
Total1234127
Error
0b
Counts
127 → 4
Alt Table
StatusErrorProgram
0.0b
(+.f64 (/.f64 1/2 x) (/.f64 1/2 y))
0.8b
(*.f64 (/.f64 (sqrt.f64 1/2) 1) (+.f64 (/.f64 (sqrt.f64 1/2) x) (/.f64 (sqrt.f64 1/2) y)))
14.1b
(/.f64 (+.f64 x y) (*.f64 (*.f64 x 2) y))
6.0b
(*.f64 (/.f64 1/2 x) (/.f64 (+.f64 x y) y))
Compiler

Compiled 2037 to 875 computations (57% saved)

regimes47.0ms (1.6%)

Accuracy

Total 0.0b remaining (73.2%)

Threshold costs 0.0b (73.2%)

Counts
15 → 1
Compiler

Compiled 556 to 397 computations (28.6% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
1810
2810

end74.0ms (2.5%)

Remove

(sort x y)

Compiler

Compiled 83 to 63 computations (24.1% saved)

Profiling

Loading profile data...