Details

Time bar (total: 5.4s)

analyze721.0ms (13.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
0%99.9%0.1%5
0%99.9%0.1%6
12.5%87.4%0.1%7
25%74.9%0.1%8
31.2%64%4.8%9
31.2%42.1%26.7%10
35.9%37.1%27.1%11
38.2%32.2%29.6%12
47.8%21.6%30.6%13
50.2%19%30.8%14
Compiler

Compiled 19 to 9 computations (52.6% saved)

sample1.9s (35.1%)

Symmetry

(sort x y)

Results
1.5s8256×body128valid
301.0ms493×body128invalid
Compiler

Compiled 56 to 26 computations (53.6% saved)

simplify15.0ms (0.3%)

Algorithm
egg-herbie
Rules
32×fma-def_binary64
*-commutative_binary64
associate-+l+_binary64
associate-*r*_binary64
+-commutative_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0920
11715
23411
35411
46811
57211
67011

prune7.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.1b
(fma.f64 z (*.f64 z 3) (*.f64 x y))
0.1b
(+.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z)) (*.f64 z z))
Compiler

Compiled 84 to 41 computations (51.2% saved)

localize12.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z))
0.0b
(+.f64 (*.f64 x y) (*.f64 z z))
0.1b
(+.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z)) (*.f64 z z))

series61.0ms (1.1%)

Counts
3 → 108
Calls

3 calls:

23.0ms
(+.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z)) (*.f64 z z))
21.0ms
(+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z))
16.0ms
(+.f64 (*.f64 x y) (*.f64 z z))

rewrite123.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
853×fma-def_binary64
351×fma-neg_binary64
237×egg-rr
197×expm1-udef_binary64
197×log1p-udef_binary64
Counts
3 → 237
Calls

3 calls:

113.0ms
(+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z))
113.0ms
(+.f64 (*.f64 x y) (*.f64 z z))
113.0ms
(+.f64 (+.f64 (+.f64 (*.f64 x y) (*.f64 z z)) (*.f64 z z)) (*.f64 z z))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0942
121034
2294734
3497534
000
100

simplify304.0ms (5.6%)

Algorithm
egg-herbie
Rules
1104×sqr-pow_binary64
661×fabs-mul_binary64
628×pow-sqr_binary64
611×cube-prod_binary64
310×cube-mult_binary64
Counts
345 → 250
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
013942
127942
249942
380942
4154942
5367942
6484942
7724942
8759942
9869942
10987942
111152942
121312942
131539942
141872942
152266942
162824942
173508942
183733942
193998942
204090942
214124942
224145942
234828942

prune250.0ms (4.6%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2482250
Fresh011
Picked101
Done000
Total2493252
Error
0b
Counts
252 → 3
Alt Table
StatusErrorProgram
1.2b
(pow.f64 (cbrt.f64 (fma.f64 x y (fma.f64 z z (*.f64 (*.f64 z z) 2)))) 3)
0.1b
(fma.f64 z (*.f64 z 3) (*.f64 x y))
0.0b
(fma.f64 z z (fma.f64 x y (*.f64 (*.f64 z z) 2)))
Compiler

Compiled 4972 to 1707 computations (65.7% saved)

localize14.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (*.f64 z z) 2)
0.0b
(fma.f64 z z (fma.f64 x y (*.f64 (*.f64 z z) 2)))

series30.0ms (0.6%)

Counts
2 → 48
Calls

2 calls:

26.0ms
(fma.f64 z z (fma.f64 x y (*.f64 (*.f64 z z) 2)))
4.0ms
(*.f64 (*.f64 z z) 2)

rewrite84.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
749×log1p-expm1-u_binary64
749×expm1-log1p-u_binary64
263×prod-diff_binary64
89×add-sqr-sqrt_binary64
83×add-log-exp_binary64
Counts
2 → 36
Calls

2 calls:

83.0ms
(*.f64 (*.f64 z z) 2)
83.0ms
(fma.f64 z z (fma.f64 x y (*.f64 (*.f64 z z) 2)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0922
118022
2196822
3508722
000
100

simplify206.0ms (3.8%)

Algorithm
egg-herbie
Rules
1104×sqr-pow_binary64
661×fabs-mul_binary64
628×pow-sqr_binary64
611×cube-prod_binary64
310×cube-mult_binary64
Counts
84 → 43
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011429
121429
238429
367429
4137429
5344429
6449429
7686429
8711429
9821429
10939429
111106429
121270429
131498429
141832429
152227429
162785429
173469429
183694429
193959429
204051429
214085429
224106429
234789429

prune63.0ms (1.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New42143
Fresh112
Picked011
Done000
Total43346
Error
0b
Counts
46 → 3
Alt Table
StatusErrorProgram
0.3b
(fma.f64 z z (fma.f64 x y (pow.f64 (*.f64 z (sqrt.f64 2)) 2)))
0.1b
(fma.f64 z (*.f64 z 3) (*.f64 x y))
0.0b
(fma.f64 z z (fma.f64 x y (*.f64 (*.f64 z z) 2)))
Compiler

Compiled 689 to 349 computations (49.3% saved)

localize10.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 z (*.f64 z 3) (*.f64 x y))

series139.0ms (2.6%)

Counts
1 → 36
Calls

1 calls:

139.0ms
(fma.f64 z (*.f64 z 3) (*.f64 x y))

rewrite180.0ms (3.3%)

Algorithm
batch-egg-rewrite
Rules
678×log1p-expm1-u_binary64
678×expm1-log1p-u_binary64
191×prod-diff_binary64
144×expm1-udef_binary64
144×log1p-udef_binary64
Counts
1 → 23
Calls

1 calls:

179.0ms
(fma.f64 z (*.f64 z 3) (*.f64 x y))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
115911
2178511
3497511
000
100

simplify224.0ms (4.2%)

Algorithm
egg-herbie
Rules
1108×sqr-pow_binary64
573×fabs-mul_binary64
560×cube-prod_binary64
536×pow-sqr_binary64
454×associate-*l*_binary64
Counts
59 → 28
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
010345
119345
232345
353345
4101345
5238345
6718345
71143345
81145345
91293345
101463345
111645345
121868345
132153345
142572345
153137345
163823345
174041345
184285345
194367345
204400345
214421345
224990345

prune31.0ms (0.6%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New28028
Fresh011
Picked011
Done011
Total28331
Error
0b
Counts
31 → 3
Alt Table
StatusErrorProgram
0.3b
(fma.f64 z z (fma.f64 x y (pow.f64 (*.f64 z (sqrt.f64 2)) 2)))
0.1b
(fma.f64 z (*.f64 z 3) (*.f64 x y))
0.0b
(fma.f64 z z (fma.f64 x y (*.f64 (*.f64 z z) 2)))
Compiler

Compiled 408 to 226 computations (44.6% saved)

localize14.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 z z (fma.f64 x y (pow.f64 (*.f64 z (sqrt.f64 2)) 2)))
0.4b
(pow.f64 (*.f64 z (sqrt.f64 2)) 2)
0.5b
(*.f64 z (sqrt.f64 2))

series106.0ms (2%)

Counts
3 → 60
Calls

3 calls:

57.0ms
(*.f64 z (sqrt.f64 2))
40.0ms
(fma.f64 z z (fma.f64 x y (pow.f64 (*.f64 z (sqrt.f64 2)) 2)))
9.0ms
(pow.f64 (*.f64 z (sqrt.f64 2)) 2)

rewrite84.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
813×log1p-expm1-u_binary64
813×expm1-log1p-u_binary64
224×prod-diff_binary64
96×add-sqr-sqrt_binary64
90×add-log-exp_binary64
Counts
3 → 65
Calls

3 calls:

81.0ms
(fma.f64 z z (fma.f64 x y (pow.f64 (*.f64 z (sqrt.f64 2)) 2)))
81.0ms
(pow.f64 (*.f64 z (sqrt.f64 2)) 2)
81.0ms
(*.f64 z (sqrt.f64 2))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01032
120328
2213228
3538228
000
100

simplify274.0ms (5.1%)

Algorithm
egg-herbie
Rules
790×fabs-mul_binary64
763×sqr-pow_binary64
742×cube-prod_binary64
617×unswap-sqr_binary64
466×fma-def_binary64
Counts
125 → 73
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
016809
135501
275501
3164501
4431501
5706501
61229501
71275501
81400501
91530501
101688501
111849501
122055501
132290501
142718501
153244501
163945501
174220501
184533501
194781501
204863501

prune93.0ms (1.7%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New73073
Fresh000
Picked011
Done022
Total73376
Error
0b
Counts
76 → 3
Alt Table
StatusErrorProgram
0.3b
(fma.f64 z z (fma.f64 x y (pow.f64 (*.f64 z (sqrt.f64 2)) 2)))
0.1b
(fma.f64 z (*.f64 z 3) (*.f64 x y))
0.0b
(fma.f64 z z (fma.f64 x y (*.f64 (*.f64 z z) 2)))
Compiler

Compiled 1168 to 648 computations (44.5% saved)

regimes328.0ms (6.1%)

Accuracy

Total 0.0b remaining (74.9%)

Threshold costs 0.0b (74.9%)

Counts
26 → 1
Compiler

Compiled 2384 to 1515 computations (36.5% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0915
11015
21015

end119.0ms (2.2%)

Remove

(sort x y)

Compiler

Compiled 96 to 57 computations (40.6% saved)

Profiling

Loading profile data...