Details

Time bar (total: 9.0s)

analyze906.0ms (10%)

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 (16.1%)

Results
1.0s8256×body128valid
363.0ms3022×body128invalid
Compiler

Compiled 56 to 35 computations (37.5% saved)

simplify76.0ms (0.8%)

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

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 99 to 58 computations (41.4% saved)

localize9.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)
0.9b
(-.f64 (*.f64 z z) (*.f64 x x))
14.1b
(/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y)

series61.0ms (0.7%)

Counts
3 → 96
Calls

3 calls:

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

rewrite29.0ms (0.3%)

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:

9.0ms
(-.f64 (/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y) y)
4.0ms
(/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y)
3.0ms
(-.f64 (*.f64 z z) (*.f64 x x))

simplify152.0ms (1.7%)

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

prune159.0ms (1.8%)

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
14.1b
(*.f64 -1/2 (+.f64 (/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y) (neg.f64 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))
14.2b
(*.f64 -1/2 (fma.f64 (-.f64 (*.f64 z z) (*.f64 x x)) (/.f64 1 y) (neg.f64 y)))
12.3b
(*.f64 -1/2 (neg.f64 (fma.f64 x (/.f64 x y) y)))
Compiler

Compiled 5209 to 1290 computations (75.2% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series64.0ms (0.7%)

Counts
3 → 100
Calls

3 calls:

28.0ms
(-.f64 (*.f64 (+.f64 x z) (/.f64 (-.f64 z x) y)) y)
24.0ms
(*.f64 (+.f64 x z) (/.f64 (-.f64 z x) y))
12.0ms
(/.f64 (-.f64 z x) y)

rewrite29.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt_binary64
41×*-un-lft-identity_binary64
31×times-frac_binary64
25×add-cube-cbrt_binary64
19×associate-*r*_binary64
Counts
3 → 105
Calls

3 calls:

9.0ms
(*.f64 (+.f64 x z) (/.f64 (-.f64 z x) y))
7.0ms
(-.f64 (*.f64 (+.f64 x z) (/.f64 (-.f64 z x) y)) y)
6.0ms
(/.f64 (-.f64 z x) y)

simplify104.0ms (1.1%)

Algorithm
egg-herbie
Rules
682×associate-/l*_binary64
645×fma-def_binary64
220×fma-neg_binary64
213×associate-/l/_binary64
160×associate-*l*_binary64
Counts
205 → 164
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01912969
14602808
220802785
347572785
449732785

prune110.0ms (1.2%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1622164
Fresh134
Picked011
Done000
Total1636169
Error
0b
Counts
169 → 6
Alt Table
StatusErrorProgram
12.3b
(*.f64 -1/2 (neg.f64 (fma.f64 x (/.f64 x y) y)))
0.6b
(*.f64 -1/2 (-.f64 (*.f64 (+.f64 x z) (/.f64 (/.f64 (-.f64 z x) (*.f64 (cbrt.f64 y) (cbrt.f64 y))) (cbrt.f64 y))) y))
0.1b
(*.f64 -1/2 (-.f64 (/.f64 (+.f64 z x) (/.f64 y (-.f64 z x))) y))
33.9b
(*.f64 -1/2 (-.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 (+.f64 x z) (+.f64 x z)) (+.f64 x z)) (*.f64 (*.f64 (/.f64 (-.f64 z x) y) (/.f64 (-.f64 z x) y)) (/.f64 (-.f64 z x) y)))) y))
0.1b
(*.f64 -1/2 (-.f64 (*.f64 (+.f64 x z) (/.f64 (-.f64 z x) y)) y))
14.2b
(*.f64 -1/2 (fma.f64 (-.f64 (*.f64 z z) (*.f64 x x)) (/.f64 1 y) (neg.f64 y)))
Compiler

Compiled 3608 to 1127 computations (68.8% 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.3b
(/.f64 (+.f64 z x) (/.f64 y (-.f64 z x)))

series72.0ms (0.8%)

Counts
3 → 96
Calls

3 calls:

28.0ms
(-.f64 (/.f64 (+.f64 z x) (/.f64 y (-.f64 z x))) y)
25.0ms
(/.f64 (+.f64 z x) (/.f64 y (-.f64 z x)))
19.0ms
(/.f64 y (-.f64 z x))

rewrite149.0ms (1.7%)

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:

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

simplify433.0ms (4.8%)

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

prune354.0ms (3.9%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New5601561
Fresh134
Picked011
Done011
Total5616567
Error
0b
Counts
567 → 6
Alt Table
StatusErrorProgram
0.1b
(*.f64 -1/2 (-.f64 (*.f64 (+.f64 x z) (/.f64 (-.f64 z x) y)) y))
0.2b
(*.f64 -1/2 (-.f64 (/.f64 1 (/.f64 (/.f64 y (-.f64 z x)) (+.f64 z x))) y))
0.1b
(*.f64 -1/2 (-.f64 (/.f64 (+.f64 z x) (/.f64 y (-.f64 z x))) y))
33.9b
(*.f64 -1/2 (-.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 (+.f64 x z) (+.f64 x z)) (+.f64 x z)) (*.f64 (*.f64 (/.f64 (-.f64 z x) y) (/.f64 (-.f64 z x) y)) (/.f64 (-.f64 z x) y)))) y))
14.2b
(*.f64 -1/2 (fma.f64 (-.f64 (*.f64 z z) (*.f64 x x)) (/.f64 1 y) (neg.f64 y)))
12.3b
(*.f64 -1/2 (neg.f64 (fma.f64 x (/.f64 x y) y)))
Compiler

Compiled 18106 to 4017 computations (77.8% saved)

localize17.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series109.0ms (1.2%)

Counts
3 → 108
Calls

3 calls:

53.0ms
(/.f64 (/.f64 y (-.f64 z x)) (+.f64 z x))
30.0ms
(-.f64 (/.f64 1 (/.f64 (/.f64 y (-.f64 z x)) (+.f64 z x))) y)
26.0ms
(/.f64 1 (/.f64 (/.f64 y (-.f64 z x)) (+.f64 z x)))

rewrite840.0ms (9.3%)

Algorithm
rewrite-expression-head
Rules
3825×times-frac_binary64
2865×*-un-lft-identity_binary64
2166×add-sqr-sqrt_binary64
1729×add-cube-cbrt_binary64
825×prod-diff_binary64
Counts
3 → 1643
Calls

3 calls:

93.0ms
(-.f64 (/.f64 1 (/.f64 (/.f64 y (-.f64 z x)) (+.f64 z x))) y)
18.0ms
(/.f64 1 (/.f64 (/.f64 y (-.f64 z x)) (+.f64 z x)))
11.0ms
(/.f64 (/.f64 y (-.f64 z x)) (+.f64 z x))

simplify1.3s (14.7%)

Algorithm
egg-herbie
Rules
358×associate-/r/_binary64
303×associate-/l*_binary64
294×associate-/l/_binary64
289×fma-neg_binary64
261×times-frac_binary64
Counts
1751 → 1405
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
062258456
1115351671
2472451671
3497451671

prune1.3s (14.1%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New146001460
Fresh033
Picked011
Done022
Total146061466
Error
0b
Counts
1466 → 6
Alt Table
StatusErrorProgram
0.1b
(*.f64 -1/2 (-.f64 (*.f64 (+.f64 x z) (/.f64 (-.f64 z x) y)) y))
0.2b
(*.f64 -1/2 (-.f64 (/.f64 1 (/.f64 (/.f64 y (-.f64 z x)) (+.f64 z x))) y))
0.1b
(*.f64 -1/2 (-.f64 (/.f64 (+.f64 z x) (/.f64 y (-.f64 z x))) y))
33.9b
(*.f64 -1/2 (-.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 (+.f64 x z) (+.f64 x z)) (+.f64 x z)) (*.f64 (*.f64 (/.f64 (-.f64 z x) y) (/.f64 (-.f64 z x) y)) (/.f64 (-.f64 z x) y)))) y))
14.2b
(*.f64 -1/2 (fma.f64 (-.f64 (*.f64 z z) (*.f64 x x)) (/.f64 1 y) (neg.f64 y)))
12.3b
(*.f64 -1/2 (neg.f64 (fma.f64 x (/.f64 x y) y)))
Compiler

Compiled 56600 to 16976 computations (70% saved)

regimes1.2s (13.1%)

Accuracy

Total 0.1b remaining (64.2%)

Threshold costs 0.1b (64.2%)

Counts
159 → 1
Compiler

Compiled 24256 to 15004 computations (38.1% saved)

simplify3.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
11819
22619
33019
43219
53219

end96.0ms (1.1%)

Compiler

Compiled 149 to 87 computations (41.6% saved)

Profiling

Loading profile data...