Details

Time bar (total: 9.1s)

analyze204.0ms (2.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
49.9%49.9%0.1%3
49.9%49.9%0.1%4
49.9%49.9%0.1%5
74.9%25%0.1%6
74.9%25%0.1%7
74.9%25%0.1%8
87.4%12.5%0.1%9
87.4%12.5%0.1%10
87.4%12.5%0.1%11
93.6%6.2%0.1%12
93.6%6.2%0.1%13
93.6%6.2%0.1%14
Compiler

Compiled 19 to 12 computations (36.8% saved)

sample1.3s (14.7%)

Results
1.2s8256×body128valid
Compiler

Compiled 56 to 35 computations (37.5% saved)

simplify89.0ms (1%)

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

prune6.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
8.2b
Counts
3 → 1
Alt Table
StatusErrorProgram
8.2b
(*.f64 -1/2 (-.f64 (/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y) y))
Compiler

Compiled 63 to 36 computations (42.9% saved)

localize17.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.2b
(*.f64 -1/2 (-.f64 (/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y) y))
3.7b
(-.f64 (*.f64 z z) (*.f64 x x))
5.5b
(/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y)

series126.0ms (1.4%)

Counts
3 → 96
Calls

3 calls:

80.0ms
(*.f64 -1/2 (-.f64 (/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y) y))
34.0ms
(/.f64 (-.f64 (*.f64 z z) (*.f64 x x)) y)
11.0ms
(-.f64 (*.f64 z z) (*.f64 x x))

rewrite95.0ms (1%)

Algorithm
rewrite-expression-head
Rules
103×add-sqr-sqrt_binary64
98×*-un-lft-identity_binary64
97×prod-diff_binary64
96×add-cube-cbrt_binary64
85×times-frac_binary64
Counts
3 → 182
Calls

3 calls:

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

simplify308.0ms (3.4%)

Algorithm
egg-herbie
Rules
749×fma-def_binary64
460×distribute-rgt-in_binary64
438×distribute-lft-in_binary64
185×fma-neg_binary64
147×cancel-sign-sub-inv_binary64
Counts
278 → 252
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03276753
15126204
218615381
349515381

prune318.0ms (3.5%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2484252
Fresh000
Picked101
Done000
Total2494253
Error
0.2b
Counts
253 → 4
Alt Table
StatusErrorProgram
8.2b
(*.f64 -1/2 (-.f64 (/.f64 1 (/.f64 y (-.f64 (*.f64 z z) (*.f64 x x)))) y))
0.3b
(*.f64 -1/2 (-.f64 (*.f64 (+.f64 x z) (/.f64 (-.f64 z x) y)) y))
1.0b
(*.f64 (*.f64 (cbrt.f64 (*.f64 -1/2 (fma.f64 (+.f64 x z) (/.f64 (-.f64 z x) y) (neg.f64 y)))) (cbrt.f64 (*.f64 -1/2 (fma.f64 (+.f64 x z) (/.f64 (-.f64 z x) y) (neg.f64 y))))) (cbrt.f64 (*.f64 -1/2 (fma.f64 (+.f64 x z) (/.f64 (-.f64 z x) y) (neg.f64 y)))))
0.3b
(*.f64 -1/2 (-.f64 (/.f64 (+.f64 z x) (/.f64 y (-.f64 z x))) y))
Compiler

Compiled 7553 to 1914 computations (74.7% saved)

localize20.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series115.0ms (1.3%)

Counts
3 → 100
Calls

3 calls:

57.0ms
(*.f64 -1/2 (-.f64 (*.f64 (+.f64 x z) (/.f64 (-.f64 z x) y)) y))
36.0ms
(*.f64 (+.f64 x z) (/.f64 (-.f64 z x) y))
22.0ms
(/.f64 (-.f64 z x) y)

rewrite70.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt_binary64
45×*-un-lft-identity_binary64
31×times-frac_binary64
29×add-cube-cbrt_binary64
22×associate-*r*_binary64
Counts
3 → 121
Calls

3 calls:

23.0ms
(*.f64 -1/2 (-.f64 (*.f64 (+.f64 x z) (/.f64 (-.f64 z x) y)) y))
21.0ms
(*.f64 (+.f64 x z) (/.f64 (-.f64 z x) y))
10.0ms
(/.f64 (-.f64 z x) y)

simplify244.0ms (2.7%)

Algorithm
egg-herbie
Rules
675×fma-def_binary64
494×fma-neg_binary64
218×associate-/l/_binary64
187×associate-*l*_binary64
163×associate-/r*_binary64
Counts
221 → 193
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02403618
15423365
223553300
345873300
449003300

prune237.0ms (2.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1912193
Fresh213
Picked011
Done000
Total1934197
Error
0.2b
Counts
197 → 4
Alt Table
StatusErrorProgram
0.6b
(*.f64 -1/2 (-.f64 (*.f64 (+.f64 x z) (/.f64 (*.f64 (cbrt.f64 (-.f64 z x)) (cbrt.f64 (-.f64 z x))) (/.f64 y (cbrt.f64 (-.f64 z x))))) y))
31.3b
(*.f64 -1/2 (-.f64 (*.f64 (sqrt.f64 (+.f64 x z)) (*.f64 (sqrt.f64 (+.f64 x z)) (/.f64 (-.f64 z x) y))) y))
0.3b
(*.f64 -1/2 (-.f64 (*.f64 (+.f64 x z) (/.f64 (-.f64 z x) y)) y))
0.3b
(*.f64 -1/2 (-.f64 (/.f64 (+.f64 z x) (/.f64 y (-.f64 z x))) y))
Compiler

Compiled 4175 to 1274 computations (69.5% saved)

localize16.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series157.0ms (1.7%)

Counts
3 → 96
Calls

3 calls:

75.0ms
(*.f64 -1/2 (-.f64 (/.f64 (+.f64 z x) (/.f64 y (-.f64 z x))) y))
45.0ms
(/.f64 (+.f64 z x) (/.f64 y (-.f64 z x)))
36.0ms
(/.f64 y (-.f64 z x))

rewrite465.0ms (5.1%)

Algorithm
rewrite-expression-head
Rules
1090×*-un-lft-identity_binary64
1041×times-frac_binary64
803×add-sqr-sqrt_binary64
610×add-cube-cbrt_binary64
534×prod-diff_binary64
Counts
3 → 735
Calls

3 calls:

89.0ms
(*.f64 -1/2 (-.f64 (/.f64 (+.f64 z x) (/.f64 y (-.f64 z x))) y))
23.0ms
(/.f64 (+.f64 z x) (/.f64 y (-.f64 z x)))
8.0ms
(/.f64 y (-.f64 z x))

simplify1.3s (13.8%)

Algorithm
egg-herbie
Rules
400×*-commutative_binary64
294×fma-neg_binary64
219×associate-*l/_binary64
206×associate-/l*_binary64
204×associate-/r/_binary64
Counts
831 → 708
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
085332384
1108330805
2449730805
3497830805

prune774.0ms (8.5%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New7080708
Fresh022
Picked011
Done011
Total7084712
Error
0.2b
Counts
712 → 4
Alt Table
StatusErrorProgram
0.6b
(*.f64 -1/2 (-.f64 (*.f64 (+.f64 x z) (/.f64 (*.f64 (cbrt.f64 (-.f64 z x)) (cbrt.f64 (-.f64 z x))) (/.f64 y (cbrt.f64 (-.f64 z x))))) y))
31.3b
(*.f64 -1/2 (-.f64 (*.f64 (sqrt.f64 (+.f64 x z)) (*.f64 (sqrt.f64 (+.f64 x z)) (/.f64 (-.f64 z x) y))) y))
0.3b
(*.f64 -1/2 (-.f64 (*.f64 (+.f64 x z) (/.f64 (-.f64 z x) y)) y))
0.3b
(*.f64 -1/2 (-.f64 (/.f64 (+.f64 z x) (/.f64 y (-.f64 z x))) y))
Compiler

Compiled 26053 to 6163 computations (76.3% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series779.0ms (8.5%)

Counts
4 → 120
Calls

4 calls:

628.0ms
(/.f64 y (cbrt.f64 (-.f64 z x)))
64.0ms
(*.f64 (cbrt.f64 (-.f64 z x)) (cbrt.f64 (-.f64 z x)))
45.0ms
(cbrt.f64 (-.f64 z x))
41.0ms
(/.f64 (*.f64 (cbrt.f64 (-.f64 z x)) (cbrt.f64 (-.f64 z x))) (/.f64 y (cbrt.f64 (-.f64 z x))))

rewrite107.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
102×times-frac_binary64
98×add-sqr-sqrt_binary64
96×*-un-lft-identity_binary64
83×cbrt-prod_binary64
60×add-cube-cbrt_binary64
Counts
4 → 216
Calls

4 calls:

28.0ms
(/.f64 (*.f64 (cbrt.f64 (-.f64 z x)) (cbrt.f64 (-.f64 z x))) (/.f64 y (cbrt.f64 (-.f64 z x))))
21.0ms
(*.f64 (cbrt.f64 (-.f64 z x)) (cbrt.f64 (-.f64 z x)))
10.0ms
(/.f64 y (cbrt.f64 (-.f64 z x)))
4.0ms
(cbrt.f64 (-.f64 z x))

simplify381.0ms (4.2%)

Algorithm
egg-herbie
Rules
369×associate-*r*_binary64
316×associate-/l*_binary64
290×associate-*l*_binary64
267×*-commutative_binary64
189×fma-def_binary64
Counts
336 → 387
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
04898415
112667648
246517328
349617328

prune1.2s (12.6%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New4910491
Fresh011
Picked011
Done022
Total4914495
Error
0.2b
Counts
495 → 4
Alt Table
StatusErrorProgram
0.6b
(*.f64 -1/2 (-.f64 (*.f64 (+.f64 x z) (/.f64 (*.f64 (cbrt.f64 (-.f64 z x)) (cbrt.f64 (-.f64 z x))) (/.f64 y (cbrt.f64 (-.f64 z x))))) y))
31.3b
(*.f64 -1/2 (-.f64 (*.f64 (sqrt.f64 (+.f64 x z)) (*.f64 (sqrt.f64 (+.f64 x z)) (/.f64 (-.f64 z x) y))) y))
0.3b
(*.f64 -1/2 (-.f64 (*.f64 (+.f64 x z) (/.f64 (-.f64 z x) y)) y))
0.3b
(*.f64 -1/2 (-.f64 (/.f64 (+.f64 z x) (/.f64 y (-.f64 z x))) y))
Compiler

Compiled 18136 to 6885 computations (62% saved)

regimes724.0ms (7.9%)

Accuracy

Total 0.0b remaining (59.2%)

Threshold costs 0.0b (59.2%)

Counts
63 → 1
Compiler

Compiled 8676 to 4951 computations (42.9% saved)

simplify5.0ms (0.1%)

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

end103.0ms (1.1%)

Compiler

Compiled 113 to 65 computations (42.5% saved)

Profiling

Loading profile data...