Details

Time bar (total: 2.6s)

analyze140.0ms (5.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)

sample774.0ms (29.7%)

Symmetry

(sort x y)

Results
740.0ms8256×body128valid
Compiler

Compiled 35 to 23 computations (34.3% saved)

simplify7.0ms (0.3%)

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
13.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
13.0b
(/.f64 (+.f64 x y) (*.f64 (*.f64 x 2) y))
Compiler

Compiled 42 to 25 computations (40.5% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series9.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

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

rewrite7.0ms (0.3%)

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

simplify49.0ms (1.9%)

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

prune27.0ms (1%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New41445
Fresh000
Picked011
Done000
Total41546
Error
0.0b
Counts
46 → 5
Alt Table
StatusErrorProgram
0.0b
(+.f64 (/.f64 1/2 x) (/.f64 1/2 y))
35.8b
(*.f64 (/.f64 (sqrt.f64 (+.f64 x y)) (*.f64 x 2)) (/.f64 (sqrt.f64 (+.f64 x y)) y))
11.2b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (+.f64 x y)) (cbrt.f64 (+.f64 x y))) (*.f64 x 2)) (/.f64 (cbrt.f64 (+.f64 x y)) y))
38.7b
(*.f64 (sqrt.f64 (/.f64 (+.f64 x y) (*.f64 (*.f64 x 2) y))) (sqrt.f64 (/.f64 (+.f64 x y) (*.f64 (*.f64 x 2) y))))
13.0b
(/.f64 (+.f64 x y) (*.f64 (*.f64 x 2) y))
Compiler

Compiled 843 to 415 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.3%)

Counts
1 → 24
Calls

1 calls:

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

rewrite10.0ms (0.4%)

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:

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

simplify89.0ms (3.4%)

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

prune29.0ms (1.1%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New38240
Fresh213
Picked011
Done011
Total40545
Error
0.0b
Counts
45 → 5
Alt Table
StatusErrorProgram
0.0b
(+.f64 (/.f64 1/2 x) (/.f64 1/2 y))
0.9b
(*.f64 (/.f64 (sqrt.f64 1/2) 1) (+.f64 (/.f64 (sqrt.f64 1/2) x) (/.f64 (sqrt.f64 1/2) y)))
0.7b
(fma.f64 (*.f64 (cbrt.f64 (/.f64 1/2 x)) (cbrt.f64 (/.f64 1/2 x))) (cbrt.f64 (/.f64 1/2 x)) (/.f64 1/2 y))
11.2b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (+.f64 x y)) (cbrt.f64 (+.f64 x y))) (*.f64 x 2)) (/.f64 (cbrt.f64 (+.f64 x y)) y))
13.0b
(/.f64 (+.f64 x y) (*.f64 (*.f64 x 2) y))
Compiler

Compiled 669 to 487 computations (27.2% saved)

localize7.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.2b
(fma.f64 (*.f64 (cbrt.f64 (/.f64 1/2 x)) (cbrt.f64 (/.f64 1/2 x))) (cbrt.f64 (/.f64 1/2 x)) (/.f64 1/2 y))
0.5b
(*.f64 (cbrt.f64 (/.f64 1/2 x)) (cbrt.f64 (/.f64 1/2 x)))
0.6b
(cbrt.f64 (/.f64 1/2 x))

series312.0ms (12%)

Counts
3 → 48
Calls

3 calls:

225.0ms
(fma.f64 (*.f64 (cbrt.f64 (/.f64 1/2 x)) (cbrt.f64 (/.f64 1/2 x))) (cbrt.f64 (/.f64 1/2 x)) (/.f64 1/2 y))
49.0ms
(*.f64 (cbrt.f64 (/.f64 1/2 x)) (cbrt.f64 (/.f64 1/2 x)))
38.0ms
(cbrt.f64 (/.f64 1/2 x))

rewrite21.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
77×cbrt-prod_binary64
66×add-sqr-sqrt_binary64
51×times-frac_binary64
42×*-un-lft-identity_binary64
42×add-cube-cbrt_binary64
Counts
3 → 114
Calls

3 calls:

11.0ms
(*.f64 (cbrt.f64 (/.f64 1/2 x)) (cbrt.f64 (/.f64 1/2 x)))
2.0ms
(cbrt.f64 (/.f64 1/2 x))
0.0ms
(fma.f64 (*.f64 (cbrt.f64 (/.f64 1/2 x)) (cbrt.f64 (/.f64 1/2 x))) (cbrt.f64 (/.f64 1/2 x)) (/.f64 1/2 y))

simplify285.0ms (10.9%)

Algorithm
egg-herbie
Rules
473×associate-/l*_binary64
395×associate-*l*_binary64
374×associate-/r*_binary64
329×associate-*r*_binary64
248×unswap-sqr_binary64
Counts
162 → 171
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01592596
12412559
26742489
317952469
444962289
546502289
648032289
749982289
849102289

prune187.0ms (7.2%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New2370237
Fresh022
Picked011
Done022
Total2375242
Error
0.0b
Counts
242 → 5
Alt Table
StatusErrorProgram
0.0b
(+.f64 (/.f64 1/2 x) (/.f64 1/2 y))
0.9b
(*.f64 (/.f64 (sqrt.f64 1/2) 1) (+.f64 (/.f64 (sqrt.f64 1/2) x) (/.f64 (sqrt.f64 1/2) y)))
0.7b
(fma.f64 (*.f64 (cbrt.f64 (/.f64 1/2 x)) (cbrt.f64 (/.f64 1/2 x))) (cbrt.f64 (/.f64 1/2 x)) (/.f64 1/2 y))
11.2b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (+.f64 x y)) (cbrt.f64 (+.f64 x y))) (*.f64 x 2)) (/.f64 (cbrt.f64 (+.f64 x y)) y))
13.0b
(/.f64 (+.f64 x y) (*.f64 (*.f64 x 2) y))
Compiler

Compiled 5732 to 4399 computations (23.3% saved)

localize22.0ms (0.8%)

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) y)
0.4b
(/.f64 (sqrt.f64 1/2) x)
0.5b
(*.f64 (/.f64 (sqrt.f64 1/2) 1) (+.f64 (/.f64 (sqrt.f64 1/2) x) (/.f64 (sqrt.f64 1/2) y)))

series31.0ms (1.2%)

Counts
4 → 48
Calls

4 calls:

15.0ms
(*.f64 (/.f64 (sqrt.f64 1/2) 1) (+.f64 (/.f64 (sqrt.f64 1/2) x) (/.f64 (sqrt.f64 1/2) y)))
9.0ms
(+.f64 (/.f64 (sqrt.f64 1/2) x) (/.f64 (sqrt.f64 1/2) y))
4.0ms
(/.f64 (sqrt.f64 1/2) x)
3.0ms
(/.f64 (sqrt.f64 1/2) y)

rewrite64.0ms (2.5%)

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:

26.0ms
(*.f64 (/.f64 (sqrt.f64 1/2) 1) (+.f64 (/.f64 (sqrt.f64 1/2) x) (/.f64 (sqrt.f64 1/2) y)))
19.0ms
(+.f64 (/.f64 (sqrt.f64 1/2) x) (/.f64 (sqrt.f64 1/2) y))
3.0ms
(/.f64 (sqrt.f64 1/2) x)
3.0ms
(/.f64 (sqrt.f64 1/2) y)

simplify169.0ms (6.5%)

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

Useful iterations: 3 (0.0ms)

IterNodesCost
01993190
14133081
211803051
332433028
443143028
548153028
649373028

prune143.0ms (5.5%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2281229
Fresh011
Picked101
Done123
Total2304234
Error
0b
Counts
234 → 4
Alt Table
StatusErrorProgram
0.0b
(+.f64 (/.f64 1/2 x) (/.f64 1/2 y))
0.7b
(fma.f64 (*.f64 (cbrt.f64 (/.f64 1/2 x)) (cbrt.f64 (/.f64 1/2 x))) (cbrt.f64 (/.f64 1/2 x)) (/.f64 1/2 y))
1.3b
(*.f64 (/.f64 (sqrt.f64 1/2) 1) (*.f64 (*.f64 (cbrt.f64 (+.f64 (/.f64 (sqrt.f64 1/2) x) (/.f64 (sqrt.f64 1/2) y))) (cbrt.f64 (+.f64 (/.f64 (sqrt.f64 1/2) x) (/.f64 (sqrt.f64 1/2) y)))) (cbrt.f64 (+.f64 (/.f64 (sqrt.f64 1/2) x) (/.f64 (sqrt.f64 1/2) y)))))
11.2b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (+.f64 x y)) (cbrt.f64 (+.f64 x y))) (*.f64 x 2)) (/.f64 (cbrt.f64 (+.f64 x y)) y))
Compiler

Compiled 4940 to 4159 computations (15.8% saved)

regimes117.0ms (4.5%)

Accuracy

Total 0.0b remaining (42.6%)

Threshold costs 0.0b (42.6%)

Counts
39 → 1
Compiler

Compiled 2076 to 1602 computations (22.8% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
1810
2810

end81.0ms (3.1%)

Remove

(sort x y)

Compiler

Compiled 125 to 93 computations (25.6% saved)

Profiling

Loading profile data...