Details

Time bar (total: 5.9s)

analyze958.0ms (16.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.5s (26.2%)

Results
1.1s8256×body128valid
367.0ms2946×body128invalid
Compiler

Compiled 56 to 35 computations (37.5% saved)

simplify78.0ms (1.3%)

Algorithm
egg-herbie
Rules
802×fma-def_binary64
795×div-sub_binary64
536×times-frac_binary64
518×neg-mul-1_binary64
376×distribute-frac-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
01220
12720
26520
312620
427820
560220
6131719
7285319
8444619
9474319
10499119

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 99 to 58 computations (41.4% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y) y)
2.4b
(-.f64 (*.f64 z z) (*.f64 x x))
14.3b
(/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y)

series63.0ms (1.1%)

Counts
3 → 96
Calls

3 calls:

28.0ms
(-.f64 (/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y) y)
28.0ms
(/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y)
7.0ms
(-.f64 (*.f64 z z) (*.f64 x x))

rewrite37.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
66×add-sqr-sqrt_binary64
63×*-un-lft-identity_binary64
61×times-frac_binary64
61×add-cube-cbrt_binary64
49×prod-diff_binary64
Counts
3 → 137
Calls

3 calls:

13.0ms
(-.f64 (/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y) y)
5.0ms
(/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y)
3.0ms
(-.f64 (*.f64 z z) (*.f64 x x))

simplify129.0ms (2.2%)

Algorithm
egg-herbie
Rules
695×fma-def_binary64
355×distribute-rgt-in_binary64
349×distribute-lft-in_binary64
265×fma-neg_binary64
183×exp-prod_binary64
Counts
233 → 196
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01954494
13954071
215463650
343923650
449703650

prune133.0ms (2.3%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1915196
Fresh101
Picked101
Done000
Total1935198
Error
0.0b
Counts
198 → 5
Alt Table
StatusErrorProgram
13.9b
(*.f64 -1/2 (-.f64 (/.f64 (fma.f64 z z (neg.f64 (*.f64 x x))) y) y))
0.1b
(*.f64 -1/2 (-.f64 (*.f64 (+.f64 x z) (/.f64 (-.f64 z x) y)) y))
0.1b
(*.f64 -1/2 (-.f64 (/.f64 (+.f64 z x) (/.f64 y (-.f64 z x))) y))
13.9b
(*.f64 -1/2 (-.f64 (/.f64 1 (/.f64 y (-.f64 (*.f64 z z) (*.f64 x x)))) y))
14.2b
(*.f64 -1/2 (fma.f64 (/.f64 1 (*.f64 (cbrt.f64 y) (cbrt.f64 y))) (/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) (cbrt.f64 y)) (neg.f64 y)))
Compiler

Compiled 5233 to 1302 computations (75.1% saved)

localize8.0ms (0.1%)

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

series66.0ms (1.1%)

Counts
3 → 96
Calls

3 calls:

27.0ms
(-.f64 (/.f64 (+.f64 z x) (/.f64 y (-.f64 z x))) y)
23.0ms
(/.f64 (+.f64 z x) (/.f64 y (-.f64 z x)))
16.0ms
(/.f64 y (-.f64 z x))

rewrite151.0ms (2.6%)

Algorithm
rewrite-expression-head
Rules
753×times-frac_binary64
750×*-un-lft-identity_binary64
545×add-sqr-sqrt_binary64
402×add-cube-cbrt_binary64
267×prod-diff_binary64
Counts
3 → 543
Calls

3 calls:

32.0ms
(-.f64 (/.f64 (+.f64 z x) (/.f64 y (-.f64 z x))) y)
8.0ms
(/.f64 (+.f64 z x) (/.f64 y (-.f64 z x)))
5.0ms
(/.f64 y (-.f64 z x))

simplify438.0ms (7.4%)

Algorithm
egg-herbie
Rules
361×fma-neg_binary64
213×associate-*l/_binary64
202×associate-/l*_binary64
199×associate-/r/_binary64
183×*-commutative_binary64
Counts
639 → 561
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
048017494
188116388
2392215169
3459315169
4493915169

prune343.0ms (5.8%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New5583561
Fresh314
Picked011
Done000
Total5615566
Error
0b
Counts
566 → 5
Alt Table
StatusErrorProgram
0.1b
(*.f64 -1/2 (-.f64 (/.f64 (+.f64 z x) (/.f64 y (-.f64 z x))) y))
0.1b
(*.f64 -1/2 (-.f64 (*.f64 (/.f64 (+.f64 z x) y) (-.f64 z x)) y))
13.9b
(*.f64 -1/2 (-.f64 (/.f64 1 (/.f64 y (-.f64 (*.f64 z z) (*.f64 x x)))) y))
13.9b
(*.f64 -1/2 (-.f64 (*.f64 (/.f64 1 y) (/.f64 (+.f64 z x) (/.f64 1 (-.f64 z x)))) y))
0.7b
(*.f64 -1/2 (-.f64 (/.f64 (+.f64 z x) (*.f64 (/.f64 (*.f64 (cbrt.f64 y) (cbrt.f64 y)) (*.f64 (cbrt.f64 (-.f64 z x)) (cbrt.f64 (-.f64 z x)))) (/.f64 (cbrt.f64 y) (cbrt.f64 (-.f64 z x))))) y))
Compiler

Compiled 18096 to 4017 computations (77.8% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series58.0ms (1%)

Counts
3 → 96
Calls

3 calls:

27.0ms
(-.f64 (*.f64 (/.f64 (+.f64 z x) y) (-.f64 z x)) y)
22.0ms
(*.f64 (/.f64 (+.f64 z x) y) (-.f64 z x))
9.0ms
(/.f64 (+.f64 z x) y)

rewrite38.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
67×*-un-lft-identity_binary64
58×add-sqr-sqrt_binary64
51×add-cube-cbrt_binary64
39×prod-diff_binary64
26×associate--l+_binary64
Counts
3 → 150
Calls

3 calls:

11.0ms
(*.f64 (/.f64 (+.f64 z x) y) (-.f64 z x))
10.0ms
(-.f64 (*.f64 (/.f64 (+.f64 z x) y) (-.f64 z x)) y)
4.0ms
(/.f64 (+.f64 z x) y)

simplify141.0ms (2.4%)

Algorithm
egg-herbie
Rules
677×distribute-rgt-in_binary64
543×fma-neg_binary64
214×associate-*l*_binary64
195×times-frac_binary64
190×associate-*r*_binary64
Counts
246 → 248
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02533984
15263750
223223623
347823623
449393623

prune185.0ms (3.1%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2462248
Fresh213
Picked011
Done011
Total2485253
Error
0b
Counts
253 → 5
Alt Table
StatusErrorProgram
0.1b
(*.f64 -1/2 (-.f64 (/.f64 (+.f64 z x) (/.f64 y (-.f64 z x))) y))
0.1b
(*.f64 -1/2 (-.f64 (*.f64 (/.f64 (+.f64 z x) y) (-.f64 z x)) y))
13.9b
(*.f64 -1/2 (-.f64 (*.f64 (/.f64 1 y) (/.f64 (+.f64 z x) (/.f64 1 (-.f64 z x)))) y))
0.1b
(*.f64 -1/2 (-.f64 (*.f64 (/.f64 1 (/.f64 y (+.f64 z x))) (-.f64 z x)) y))
0.5b
(*.f64 -1/2 (-.f64 (*.f64 (*.f64 (cbrt.f64 (/.f64 (+.f64 z x) y)) (cbrt.f64 (/.f64 (+.f64 z x) y))) (*.f64 (cbrt.f64 (/.f64 (+.f64 z x) y)) (-.f64 z x))) y))
Compiler

Compiled 6157 to 1745 computations (71.7% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series81.0ms (1.4%)

Counts
4 → 132
Calls

4 calls:

29.0ms
(-.f64 (*.f64 (/.f64 1 (/.f64 y (+.f64 z x))) (-.f64 z x)) y)
24.0ms
(*.f64 (/.f64 1 (/.f64 y (+.f64 z x))) (-.f64 z x))
19.0ms
(/.f64 y (+.f64 z x))
9.0ms
(/.f64 1 (/.f64 y (+.f64 z x)))

rewrite76.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
210×times-frac_binary64
192×*-un-lft-identity_binary64
154×add-sqr-sqrt_binary64
138×add-cube-cbrt_binary64
59×associate-*l*_binary64
Counts
4 → 300
Calls

4 calls:

18.0ms
(*.f64 (/.f64 1 (/.f64 y (+.f64 z x))) (-.f64 z x))
16.0ms
(-.f64 (*.f64 (/.f64 1 (/.f64 y (+.f64 z x))) (-.f64 z x)) y)
7.0ms
(/.f64 1 (/.f64 y (+.f64 z x)))
4.0ms
(/.f64 y (+.f64 z x))

simplify231.0ms (3.9%)

Algorithm
egg-herbie
Rules
515×fma-neg_binary64
301×associate-*l*_binary64
266×associate-*r*_binary64
239×exp-prod_binary64
224×cancel-sign-sub-inv_binary64
Counts
432 → 443
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03387096
16936545
231166215
345366215
449076215

prune358.0ms (6.1%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New4430443
Fresh022
Picked011
Done022
Total4435448
Error
0b
Counts
448 → 5
Alt Table
StatusErrorProgram
0.1b
(*.f64 -1/2 (-.f64 (/.f64 (+.f64 z x) (/.f64 y (-.f64 z x))) y))
0.1b
(*.f64 -1/2 (-.f64 (*.f64 (/.f64 (+.f64 z x) y) (-.f64 z x)) y))
13.9b
(*.f64 -1/2 (-.f64 (*.f64 (/.f64 1 y) (/.f64 (+.f64 z x) (/.f64 1 (-.f64 z x)))) y))
0.1b
(*.f64 -1/2 (-.f64 (*.f64 (/.f64 1 (/.f64 y (+.f64 z x))) (-.f64 z x)) y))
0.5b
(*.f64 -1/2 (-.f64 (*.f64 (*.f64 (cbrt.f64 (/.f64 (+.f64 z x) y)) (cbrt.f64 (/.f64 (+.f64 z x) y))) (*.f64 (cbrt.f64 (/.f64 (+.f64 z x) y)) (-.f64 z x))) y))
Compiler

Compiled 11646 to 4418 computations (62.1% saved)

regimes666.0ms (11.3%)

Accuracy

Total 0.1b remaining (61.4%)

Threshold costs 0.1b (61.4%)

Counts
101 → 1
Compiler

Compiled 15035 to 8633 computations (42.6% saved)

simplify3.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01119
11719
22519
32919
43119
53119

end72.0ms (1.2%)

Compiler

Compiled 133 to 79 computations (40.6% saved)

Profiling

Loading profile data...