Details

Time bar (total: 5.0s)

analyze858.0ms (17%)

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.4s (27.2%)

Results
945.0ms8256×body128valid
342.0ms2997×body128invalid
Compiler

Compiled 56 to 35 computations (37.5% saved)

simplify79.0ms (1.6%)

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
14.7b
Counts
3 → 2
Alt Table
StatusErrorProgram
14.7b
(*.f64 -1/2 (-.f64 (/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y) y))
29.5b
(/.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.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y) y)
0.4b
(-.f64 (*.f64 z z) (*.f64 x x))
14.8b
(/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y)

series56.0ms (1.1%)

Counts
3 → 96
Calls

3 calls:

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

rewrite28.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:

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

simplify130.0ms (2.6%)

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

prune126.0ms (2.5%)

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
0.1b
(*.f64 -1/2 (fma.f64 (/.f64 (+.f64 z x) 1) (/.f64 (-.f64 z x) y) (neg.f64 y)))
0.1b
(*.f64 -1/2 (-.f64 (/.f64 (+.f64 z x) (/.f64 y (-.f64 z x))) y))
14.7b
(*.f64 -1/2 (fma.f64 (-.f64 (*.f64 z z) (*.f64 x x)) (/.f64 1 y) (neg.f64 y)))
0.6b
(*.f64 -1/2 (fma.f64 (/.f64 (+.f64 z x) (*.f64 (cbrt.f64 y) (cbrt.f64 y))) (/.f64 (-.f64 z x) (cbrt.f64 y)) (neg.f64 y)))
32.2b
(*.f64 -1/2 (-.f64 (*.f64 (/.f64 (+.f64 z x) (sqrt.f64 y)) (/.f64 (-.f64 z x) (sqrt.f64 y))) y))
Compiler

Compiled 5241 to 1306 computations (75.1% saved)

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series29.0ms (0.6%)

Counts
2 → 64
Calls

2 calls:

20.0ms
(fma.f64 (/.f64 (+.f64 z x) 1) (/.f64 (-.f64 z x) y) (neg.f64 y))
9.0ms
(/.f64 (-.f64 z x) y)

rewrite8.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity_binary64
20×add-sqr-sqrt_binary64
15×times-frac_binary64
12×add-cube-cbrt_binary64
associate-/l*_binary64
Counts
2 → 50
Calls

2 calls:

4.0ms
(/.f64 (-.f64 z x) y)
0.0ms
(fma.f64 (/.f64 (+.f64 z x) 1) (/.f64 (-.f64 z x) y) (neg.f64 y))

simplify85.0ms (1.7%)

Algorithm
egg-herbie
Rules
776×times-frac_binary64
583×fma-def_binary64
471×fma-neg_binary64
222×div-sub_binary64
217×associate-/l/_binary64
Counts
114 → 79
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01061574
12301428
25191428
315711426
443221426
549951426

prune56.0ms (1.1%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New77279
Fresh224
Picked011
Done000
Total79584
Error
0.0b
Counts
84 → 5
Alt Table
StatusErrorProgram
0.1b
(*.f64 -1/2 (fma.f64 (/.f64 (+.f64 z x) 1) (/.f64 (-.f64 z x) y) (neg.f64 y)))
0.1b
(*.f64 -1/2 (-.f64 (/.f64 (+.f64 z x) (/.f64 y (-.f64 z x))) y))
14.7b
(*.f64 -1/2 (fma.f64 (-.f64 (*.f64 z z) (*.f64 x x)) (/.f64 1 y) (neg.f64 y)))
32.2b
(*.f64 -1/2 (fma.f64 (/.f64 (+.f64 z x) 1) (/.f64 (/.f64 (-.f64 z x) (sqrt.f64 y)) (sqrt.f64 y)) (neg.f64 y)))
0.1b
(*.f64 -1/2 (fma.f64 (/.f64 (+.f64 z x) 1) (*.f64 (-.f64 z x) (/.f64 1 y)) (neg.f64 y)))
Compiler

Compiled 1718 to 690 computations (59.8% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series61.0ms (1.2%)

Counts
3 → 96
Calls

3 calls:

25.0ms
(-.f64 (/.f64 (+.f64 z x) (/.f64 y (-.f64 z x))) y)
22.0ms
(/.f64 (+.f64 z x) (/.f64 y (-.f64 z x)))
14.0ms
(/.f64 y (-.f64 z x))

rewrite144.0ms (2.9%)

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)))
7.0ms
(/.f64 y (-.f64 z x))

simplify422.0ms (8.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

prune391.0ms (7.7%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New5592561
Fresh123
Picked011
Done011
Total5606566
Error
0b
Counts
566 → 6
Alt Table
StatusErrorProgram
0.1b
(*.f64 -1/2 (fma.f64 (/.f64 (+.f64 z x) 1) (/.f64 (-.f64 z x) y) (neg.f64 y)))
0.1b
(*.f64 -1/2 (-.f64 (/.f64 (+.f64 z x) (/.f64 y (-.f64 z x))) y))
14.7b
(*.f64 -1/2 (fma.f64 (-.f64 (*.f64 z z) (*.f64 x x)) (/.f64 1 y) (neg.f64 y)))
32.4b
(*.f64 -1/2 (fma.f64 (/.f64 1 (sqrt.f64 (/.f64 y (-.f64 z x)))) (/.f64 (+.f64 z x) (sqrt.f64 (/.f64 y (-.f64 z x)))) (neg.f64 y)))
0.1b
(*.f64 -1/2 (fma.f64 (/.f64 (+.f64 z x) 1) (*.f64 (-.f64 z x) (/.f64 1 y)) (neg.f64 y)))
0.2b
(*.f64 -1/2 (-.f64 (/.f64 (+.f64 z x) (*.f64 y (/.f64 1 (-.f64 z x)))) y))
Compiler

Compiled 18102 to 4029 computations (77.7% saved)

localize10.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 (/.f64 (+.f64 z x) 1) (*.f64 (-.f64 z x) (/.f64 1 y)) (neg.f64 y))
0.3b
(*.f64 (-.f64 z x) (/.f64 1 y))

series29.0ms (0.6%)

Counts
2 → 72
Calls

2 calls:

19.0ms
(fma.f64 (/.f64 (+.f64 z x) 1) (*.f64 (-.f64 z x) (/.f64 1 y)) (neg.f64 y))
9.0ms
(*.f64 (-.f64 z x) (/.f64 1 y))

rewrite10.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt_binary64
13×associate-*r*_binary64
13×*-un-lft-identity_binary64
11×times-frac_binary64
11×add-exp-log_binary64
Counts
2 → 54
Calls

2 calls:

7.0ms
(*.f64 (-.f64 z x) (/.f64 1 y))
0.0ms
(fma.f64 (/.f64 (+.f64 z x) 1) (*.f64 (-.f64 z x) (/.f64 1 y)) (neg.f64 y))

simplify81.0ms (1.6%)

Algorithm
egg-herbie
Rules
449×fma-neg_binary64
302×distribute-rgt-neg-out_binary64
297×distribute-lft-neg-out_binary64
282×exp-prod_binary64
268×associate-*l*_binary64
Counts
126 → 103
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01151584
12471404
27121404
323161402
444321402
549921402

prune121.0ms (2.4%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1030103
Fresh033
Picked011
Done022
Total1036109
Error
0b
Counts
109 → 6
Alt Table
StatusErrorProgram
0.1b
(*.f64 -1/2 (fma.f64 (/.f64 (+.f64 z x) 1) (/.f64 (-.f64 z x) y) (neg.f64 y)))
0.1b
(*.f64 -1/2 (-.f64 (/.f64 (+.f64 z x) (/.f64 y (-.f64 z x))) y))
14.7b
(*.f64 -1/2 (fma.f64 (-.f64 (*.f64 z z) (*.f64 x x)) (/.f64 1 y) (neg.f64 y)))
32.4b
(*.f64 -1/2 (fma.f64 (/.f64 1 (sqrt.f64 (/.f64 y (-.f64 z x)))) (/.f64 (+.f64 z x) (sqrt.f64 (/.f64 y (-.f64 z x)))) (neg.f64 y)))
0.1b
(*.f64 -1/2 (fma.f64 (/.f64 (+.f64 z x) 1) (*.f64 (-.f64 z x) (/.f64 1 y)) (neg.f64 y)))
0.2b
(*.f64 -1/2 (-.f64 (/.f64 (+.f64 z x) (*.f64 y (/.f64 1 (-.f64 z x)))) y))
Compiler

Compiled 2304 to 1059 computations (54% saved)

regimes822.0ms (16.3%)

Accuracy

Total 0.1b remaining (84.2%)

Threshold costs 0.1b (84.2%)

Counts
91 → 1
Compiler

Compiled 11961 to 7340 computations (38.6% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01119
11919
22419
32719
42819
52819

end98.0ms (1.9%)

Compiler

Compiled 148 to 94 computations (36.5% saved)

Profiling

Loading profile data...