Details

Time bar (total: 5.5s)

analyze1.2s (22.6%)

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

Results
979.0ms8256×body128valid
352.0ms3053×body128invalid
Compiler

Compiled 56 to 35 computations (37.5% saved)

simplify74.0ms (1.4%)

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

prune3.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 99 to 58 computations (41.4% saved)

localize7.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.7b
(-.f64 (*.f64 z z) (*.f64 x x))
9.7b
(/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y)

series69.0ms (1.3%)

Counts
3 → 96
Calls

3 calls:

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

rewrite30.0ms (0.5%)

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)
2.0ms
(-.f64 (*.f64 z z) (*.f64 x x))

simplify124.0ms (2.3%)

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

prune124.0ms (2.3%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1924196
Fresh011
Picked101
Done000
Total1935198
Error
0.0b
Counts
198 → 5
Alt Table
StatusErrorProgram
0.6b
(*.f64 -1/2 (-.f64 (*.f64 (/.f64 (+.f64 z x) (*.f64 (cbrt.f64 y) (cbrt.f64 y))) (/.f64 (-.f64 z x) (cbrt.f64 y))) y))
0.1b
(*.f64 -1/2 (-.f64 (*.f64 (+.f64 x z) (/.f64 (-.f64 z x) y)) y))
24.3b
(/.f64 (-.f64 (+.f64 (*.f64 x x) (*.f64 y y)) (*.f64 z z)) (*.f64 y 2))
0.1b
(*.f64 -1/2 (-.f64 (/.f64 (+.f64 z x) (/.f64 y (-.f64 z x))) y))
9.8b
(*.f64 -1/2 (-.f64 (*.f64 (-.f64 (*.f64 z z) (*.f64 x x)) (/.f64 1 y)) y))
Compiler

Compiled 5233 to 1300 computations (75.2% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series72.0ms (1.3%)

Counts
3 → 100
Calls

3 calls:

30.0ms
(*.f64 (+.f64 x z) (/.f64 (-.f64 z x) y))
27.0ms
(-.f64 (*.f64 (+.f64 x z) (/.f64 (-.f64 z x) y)) y)
15.0ms
(/.f64 (-.f64 z x) y)

rewrite32.0ms (0.6%)

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:

13.0ms
(-.f64 (*.f64 (+.f64 x z) (/.f64 (-.f64 z x) y)) y)
8.0ms
(*.f64 (+.f64 x z) (/.f64 (-.f64 z x) y))
4.0ms
(/.f64 (-.f64 z x) y)

simplify107.0ms (2%)

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

prune111.0ms (2%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1640164
Fresh044
Picked011
Done000
Total1645169
Error
0.0b
Counts
169 → 5
Alt Table
StatusErrorProgram
0.6b
(*.f64 -1/2 (-.f64 (*.f64 (/.f64 (+.f64 z x) (*.f64 (cbrt.f64 y) (cbrt.f64 y))) (/.f64 (-.f64 z x) (cbrt.f64 y))) y))
0.1b
(*.f64 -1/2 (-.f64 (*.f64 (+.f64 x z) (/.f64 (-.f64 z x) y)) y))
24.3b
(/.f64 (-.f64 (+.f64 (*.f64 x x) (*.f64 y y)) (*.f64 z z)) (*.f64 y 2))
0.1b
(*.f64 -1/2 (-.f64 (/.f64 (+.f64 z x) (/.f64 y (-.f64 z x))) y))
9.8b
(*.f64 -1/2 (-.f64 (*.f64 (-.f64 (*.f64 z z) (*.f64 x x)) (/.f64 1 y)) y))
Compiler

Compiled 3546 to 1103 computations (68.9% saved)

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

series69.0ms (1.3%)

Counts
3 → 96
Calls

3 calls:

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

rewrite146.0ms (2.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)))
3.0ms
(/.f64 y (-.f64 z x))

simplify418.0ms (7.6%)

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

prune328.0ms (6%)

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 (-.f64 (*.f64 (+.f64 x z) (/.f64 (-.f64 z x) y)) y))
24.3b
(/.f64 (-.f64 (+.f64 (*.f64 x x) (*.f64 y y)) (*.f64 z z)) (*.f64 y 2))
0.7b
(*.f64 -1/2 (+.f64 (fma.f64 (/.f64 (*.f64 (cbrt.f64 (-.f64 z x)) (cbrt.f64 (-.f64 z x))) (*.f64 (cbrt.f64 y) (cbrt.f64 y))) (/.f64 (+.f64 x z) (/.f64 (cbrt.f64 y) (cbrt.f64 (-.f64 z x)))) (neg.f64 y)) 0))
13.0b
(*.f64 -1/2 (-.f64 (/.f64 (+.f64 z x) (cbrt.f64 (pow.f64 (/.f64 y (-.f64 z x)) 3))) y))
0.1b
(*.f64 -1/2 (-.f64 (/.f64 (+.f64 z x) (/.f64 y (-.f64 z x))) y))
9.8b
(*.f64 -1/2 (-.f64 (*.f64 (-.f64 (*.f64 z z) (*.f64 x x)) (/.f64 1 y)) y))
Compiler

Compiled 18118 to 4031 computations (77.8% saved)

localize17.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(*.f64 (cbrt.f64 y) (cbrt.f64 y))
0.5b
(*.f64 (cbrt.f64 (-.f64 z x)) (cbrt.f64 (-.f64 z x)))
0.6b
(cbrt.f64 (-.f64 z x))
0.6b
(cbrt.f64 y)

series141.0ms (2.6%)

Counts
4 → 72
Calls

4 calls:

38.0ms
(*.f64 (cbrt.f64 y) (cbrt.f64 y))
37.0ms
(*.f64 (cbrt.f64 (-.f64 z x)) (cbrt.f64 (-.f64 z x)))
36.0ms
(cbrt.f64 y)
30.0ms
(cbrt.f64 (-.f64 z x))

rewrite28.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
52×cbrt-prod_binary64
48×add-sqr-sqrt_binary64
38×*-un-lft-identity_binary64
22×add-cube-cbrt_binary64
18×pow1_binary64
Counts
4 → 130
Calls

4 calls:

10.0ms
(*.f64 (cbrt.f64 y) (cbrt.f64 y))
9.0ms
(*.f64 (cbrt.f64 (-.f64 z x)) (cbrt.f64 (-.f64 z x)))
2.0ms
(cbrt.f64 (-.f64 z x))
1.0ms
(cbrt.f64 y)

simplify144.0ms (2.6%)

Algorithm
egg-herbie
Rules
687×fma-def_binary64
574×cancel-sign-sub-inv_binary64
314×unswap-sqr_binary64
273×associate-*r*_binary64
214×fma-neg_binary64
Counts
202 → 225
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02813700
17053504
223123344
347773307
449843307
549433307

prune343.0ms (6.2%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New3650365
Fresh033
Picked011
Done022
Total3656371
Error
0b
Counts
371 → 6
Alt Table
StatusErrorProgram
0.1b
(*.f64 -1/2 (-.f64 (*.f64 (+.f64 x z) (/.f64 (-.f64 z x) y)) y))
24.3b
(/.f64 (-.f64 (+.f64 (*.f64 x x) (*.f64 y y)) (*.f64 z z)) (*.f64 y 2))
0.7b
(*.f64 -1/2 (+.f64 (fma.f64 (/.f64 (*.f64 (cbrt.f64 (-.f64 z x)) (cbrt.f64 (-.f64 z x))) (*.f64 (cbrt.f64 y) (cbrt.f64 y))) (/.f64 (+.f64 x z) (/.f64 (cbrt.f64 y) (cbrt.f64 (-.f64 z x)))) (neg.f64 y)) 0))
13.0b
(*.f64 -1/2 (-.f64 (/.f64 (+.f64 z x) (cbrt.f64 (pow.f64 (/.f64 y (-.f64 z x)) 3))) y))
0.1b
(*.f64 -1/2 (-.f64 (/.f64 (+.f64 z x) (/.f64 y (-.f64 z x))) y))
9.8b
(*.f64 -1/2 (-.f64 (*.f64 (-.f64 (*.f64 z z) (*.f64 x x)) (/.f64 1 y)) y))
Compiler

Compiled 16266 to 5585 computations (65.7% saved)

regimes329.0ms (6%)

Accuracy

Total 0.1b remaining (78.2%)

Threshold costs 0.1b (78.2%)

Counts
53 → 1
Compiler

Compiled 7582 to 4533 computations (40.2% 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

end84.0ms (1.5%)

Compiler

Compiled 155 to 94 computations (39.4% saved)

Profiling

Loading profile data...