Details

Time bar (total: 4.8s)

analyze835.0ms (17.3%)

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
0%99.9%0.1%7
0%99.9%0.1%8
12.5%85.8%1.7%9
16.4%79.2%4.4%10
20.7%72.4%7%11
32.6%53.3%14.1%12
36%45.5%18.5%13
38.3%41.1%20.6%14
Compiler

Compiled 19 to 12 computations (36.8% saved)

sample1.3s (27.1%)

Results
904.0ms8256×body128valid
350.0ms3169×body128invalid
Compiler

Compiled 56 to 35 computations (37.5% saved)

simplify29.0ms (0.6%)

Algorithm
egg-herbie
Rules
801×div-sub_binary64
796×fma-def_binary64
540×times-frac_binary64
202×distribute-rgt-in_binary64
197×fma-neg_binary64
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
01220
12720
26720
313620
432020
574820
6189119
7440819
Stop Event
node limit
Counts
1 → 2

prune6.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 99 to 60 computations (39.4% saved)

localize8.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (+.f64 x z) y)
0.1b
(fma.f64 (/.f64 (+.f64 x z) y) (-.f64 z x) (neg.f64 y))

series29.0ms (0.6%)

Counts
2 → 72
Calls

2 calls:

21.0ms
(fma.f64 (/.f64 (+.f64 x z) y) (-.f64 z x) (neg.f64 y))
8.0ms
(/.f64 (+.f64 x z) y)

rewrite72.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
917×prod-diff_binary64
201×egg-rr
180×log1p-udef_binary64
109×add-sqr-sqrt_binary64
103×log1p-expm1-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0923
120621
2313521
Stop Event
node limit
Counts
2 → 201
Calls

2 calls:

67.0ms
(/.f64 (+.f64 x z) y)
67.0ms
(fma.f64 (/.f64 (+.f64 x z) y) (-.f64 z x) (neg.f64 y))

simplify42.0ms (0.9%)

Algorithm
egg-herbie
Rules
575×fma-def_binary64
450×fma-neg_binary64
447×cancel-sign-sub-inv_binary64
299×distribute-rgt-in_binary64
270×distribute-lft-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
023874
151793
293793
3203791
4564791
52006791
Stop Event
node limit
Counts
273 → 219

prune146.0ms (3%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2154219
Fresh101
Picked011
Done000
Total2165221
Error
0.0b
Counts
221 → 5
Alt Table
StatusErrorProgram
6.3b
(*.f64 -1/2 (fma.f64 (*.f64 (cbrt.f64 (/.f64 (+.f64 x z) y)) (cbrt.f64 (pow.f64 (/.f64 (+.f64 x z) y) 2))) (-.f64 z x) (neg.f64 y)))
0.1b
(*.f64 -1/2 (-.f64 (/.f64 (-.f64 z x) (/.f64 y (+.f64 z x))) y))
0.1b
(*.f64 -1/2 (fma.f64 (/.f64 (+.f64 x z) y) (-.f64 z x) (neg.f64 y)))
11.7b
(*.f64 -1/2 (-.f64 (/.f64 (pow.f64 z 2) y) (+.f64 y (/.f64 (pow.f64 x 2) y))))
44.8b
(*.f64 -1/2 (+.f64 (fma.f64 (cbrt.f64 (pow.f64 (/.f64 (+.f64 x z) y) 2)) (*.f64 (cbrt.f64 (/.f64 (+.f64 x z) y)) (-.f64 z x)) y) (fma.f64 -1 y y)))
Compiler

Compiled 6128 to 1918 computations (68.7% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series67.0ms (1.4%)

Counts
3 → 96
Calls

3 calls:

33.0ms
(-.f64 (/.f64 (-.f64 z x) (/.f64 y (+.f64 z x))) y)
20.0ms
(/.f64 (-.f64 z x) (/.f64 y (+.f64 z x)))
14.0ms
(/.f64 y (+.f64 z x))

rewrite85.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
515×fma-def_binary64
379×fma-neg_binary64
261×egg-rr
214×expm1-udef_binary64
214×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0936
122036
2371436
Stop Event
node limit
Counts
3 → 261
Calls

3 calls:

78.0ms
(-.f64 (/.f64 (-.f64 z x) (/.f64 y (+.f64 z x))) y)
78.0ms
(/.f64 y (+.f64 z x))
78.0ms
(/.f64 (-.f64 z x) (/.f64 y (+.f64 z x)))

simplify50.0ms (1%)

Algorithm
egg-herbie
Rules
753×cancel-sign-sub-inv_binary64
651×fma-def_binary64
391×fma-neg_binary64
189×distribute-rgt-neg-in_binary64
188×distribute-lft-neg-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0561606
11511525
24351453
319821397
Stop Event
node limit
Counts
357 → 292

prune256.0ms (5.3%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2902292
Fresh213
Picked011
Done011
Total2925297
Error
0.0b
Counts
297 → 5
Alt Table
StatusErrorProgram
44.8b
(*.f64 -1/2 (+.f64 (fma.f64 (cbrt.f64 (pow.f64 (/.f64 (+.f64 x z) y) 2)) (*.f64 (cbrt.f64 (/.f64 (+.f64 x z) y)) (-.f64 z x)) y) (fma.f64 -1 y y)))
34.4b
(*.f64 -1/2 (fma.f64 (/.f64 (sqrt.f64 (-.f64 z x)) y) (/.f64 (sqrt.f64 (-.f64 z x)) (/.f64 1 (+.f64 z x))) (neg.f64 y)))
0.1b
(*.f64 -1/2 (fma.f64 (/.f64 (+.f64 x z) y) (-.f64 z x) (neg.f64 y)))
6.8b
(*.f64 -1/2 (-.f64 (fma.f64 (/.f64 1 y) (/.f64 z (/.f64 1 (+.f64 z x))) (neg.f64 (*.f64 (/.f64 x y) (+.f64 z x)))) y))
0.1b
(*.f64 -1/2 (-.f64 (/.f64 (-.f64 z x) (/.f64 y (+.f64 z x))) y))
Compiler

Compiled 6680 to 2066 computations (69.1% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (+.f64 z x))
0.2b
(/.f64 z (/.f64 1 (+.f64 z x)))
4.3b
(*.f64 (/.f64 x y) (+.f64 z x))
6.8b
(fma.f64 (/.f64 1 y) (/.f64 z (/.f64 1 (+.f64 z x))) (neg.f64 (*.f64 (/.f64 x y) (+.f64 z x))))

series59.0ms (1.2%)

Counts
4 → 120
Calls

4 calls:

32.0ms
(fma.f64 (/.f64 1 y) (/.f64 z (/.f64 1 (+.f64 z x))) (neg.f64 (*.f64 (/.f64 x y) (+.f64 z x))))
15.0ms
(*.f64 (/.f64 x y) (+.f64 z x))
7.0ms
(/.f64 1 (+.f64 z x))
4.0ms
(/.f64 z (/.f64 1 (+.f64 z x)))

rewrite79.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
244×expm1-udef_binary64
244×log1p-udef_binary64
156×egg-rr
149×add-sqr-sqrt_binary64
140×log1p-expm1-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01355
129646
2447346
Stop Event
node limit
Counts
4 → 156
Calls

4 calls:

70.0ms
(/.f64 1 (+.f64 z x))
70.0ms
(/.f64 z (/.f64 1 (+.f64 z x)))
70.0ms
(*.f64 (/.f64 x y) (+.f64 z x))
70.0ms
(fma.f64 (/.f64 1 y) (/.f64 z (/.f64 1 (+.f64 z x))) (neg.f64 (*.f64 (/.f64 x y) (+.f64 z x))))

simplify48.0ms (1%)

Algorithm
egg-herbie
Rules
485×associate-/l*_binary64
415×associate-/r*_binary64
264×cancel-sign-sub-inv_binary64
256×associate-*l/_binary64
250×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0521638
11231584
23161488
311191344
Stop Event
node limit
Counts
276 → 191

prune166.0ms (3.4%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1910191
Fresh022
Picked011
Done022
Total1915196
Error
0.0b
Counts
196 → 5
Alt Table
StatusErrorProgram
44.8b
(*.f64 -1/2 (+.f64 (fma.f64 (cbrt.f64 (pow.f64 (/.f64 (+.f64 x z) y) 2)) (*.f64 (cbrt.f64 (/.f64 (+.f64 x z) y)) (-.f64 z x)) y) (fma.f64 -1 y y)))
34.4b
(*.f64 -1/2 (fma.f64 (/.f64 (sqrt.f64 (-.f64 z x)) y) (/.f64 (sqrt.f64 (-.f64 z x)) (/.f64 1 (+.f64 z x))) (neg.f64 y)))
0.1b
(*.f64 -1/2 (fma.f64 (/.f64 (+.f64 x z) y) (-.f64 z x) (neg.f64 y)))
6.8b
(*.f64 -1/2 (-.f64 (fma.f64 (/.f64 1 y) (/.f64 z (/.f64 1 (+.f64 z x))) (neg.f64 (*.f64 (/.f64 x y) (+.f64 z x)))) y))
0.1b
(*.f64 -1/2 (-.f64 (/.f64 (-.f64 z x) (/.f64 y (+.f64 z x))) y))
Compiler

Compiled 5362 to 2266 computations (57.7% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (+.f64 z x))
0.1b
(/.f64 (sqrt.f64 (-.f64 z x)) y)
0.2b
(/.f64 (sqrt.f64 (-.f64 z x)) (/.f64 1 (+.f64 z x)))
4.3b
(fma.f64 (/.f64 (sqrt.f64 (-.f64 z x)) y) (/.f64 (sqrt.f64 (-.f64 z x)) (/.f64 1 (+.f64 z x))) (neg.f64 y))

series154.0ms (3.2%)

Counts
3 → 48
Calls

3 calls:

108.0ms
(fma.f64 (/.f64 (sqrt.f64 (-.f64 z x)) y) (/.f64 (sqrt.f64 (-.f64 z x)) (/.f64 1 (+.f64 z x))) (neg.f64 y))
24.0ms
(/.f64 (sqrt.f64 (-.f64 z x)) y)
21.0ms
(/.f64 (sqrt.f64 (-.f64 z x)) (/.f64 1 (+.f64 z x)))

rewrite104.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
762×prod-diff_binary64
254×egg-rr
142×add-sqr-sqrt_binary64
134×log1p-expm1-u_binary64
134×expm1-log1p-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01353
128640
2404740
Stop Event
node limit
Counts
3 → 254
Calls

3 calls:

86.0ms
(/.f64 (sqrt.f64 (-.f64 z x)) y)
86.0ms
(/.f64 (sqrt.f64 (-.f64 z x)) (/.f64 1 (+.f64 z x)))
86.0ms
(fma.f64 (/.f64 (sqrt.f64 (-.f64 z x)) y) (/.f64 (sqrt.f64 (-.f64 z x)) (/.f64 1 (+.f64 z x))) (neg.f64 y))

simplify40.0ms (0.8%)

Algorithm
egg-herbie
Rules
399×times-frac_binary64
382×fma-def_binary64
325×associate-/l*_binary64
268×associate-*r*_binary64
248×associate-/r*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01191152
13651025
21227962
Stop Event
node limit
Counts
302 → 301

prune204.0ms (4.2%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New3400340
Fresh011
Picked011
Done033
Total3405345
Error
0.0b
Counts
345 → 5
Alt Table
StatusErrorProgram
44.8b
(*.f64 -1/2 (+.f64 (fma.f64 (cbrt.f64 (pow.f64 (/.f64 (+.f64 x z) y) 2)) (*.f64 (cbrt.f64 (/.f64 (+.f64 x z) y)) (-.f64 z x)) y) (fma.f64 -1 y y)))
34.4b
(*.f64 -1/2 (fma.f64 (/.f64 (sqrt.f64 (-.f64 z x)) y) (/.f64 (sqrt.f64 (-.f64 z x)) (/.f64 1 (+.f64 z x))) (neg.f64 y)))
0.1b
(*.f64 -1/2 (fma.f64 (/.f64 (+.f64 x z) y) (-.f64 z x) (neg.f64 y)))
6.8b
(*.f64 -1/2 (-.f64 (fma.f64 (/.f64 1 y) (/.f64 z (/.f64 1 (+.f64 z x))) (neg.f64 (*.f64 (/.f64 x y) (+.f64 z x)))) y))
0.1b
(*.f64 -1/2 (-.f64 (/.f64 (-.f64 z x) (/.f64 y (+.f64 z x))) y))
Compiler

Compiled 11019 to 3864 computations (64.9% saved)

regimes918.0ms (19%)

Accuracy

Total 0.1b remaining (71.1%)

Threshold costs 0.1b (71.1%)

Counts
154 → 1
Compiler

Compiled 20526 to 12795 computations (37.7% saved)

simplify4.0ms (0.1%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
01430
12528
23928
36328
48028
59128
69728
79928
Stop Event
saturated

end85.0ms (1.8%)

Compiler

Compiled 156 to 91 computations (41.7% saved)

Profiling

Loading profile data...