Details

Time bar (total: 8.0s)

analyze3.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
99.8%0%0.2%1
Compiler

Compiled 20 to 12 computations (40% saved)

sample1.8s (22.1%)

Symmetry

(sort d2 d4)

Results
1.3s8256×body128valid
Compiler

Compiled 59 to 35 computations (40.7% saved)

simplify155.0ms (1.9%)

Algorithm
egg-herbie
Rules
1400×fma-neg_binary64
654×fma-def_binary64
233×sub-neg_binary64
210×unsub-neg_binary64
158×cancel-sign-sub-inv_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01219
13214
29413
326313
465513
5155613
6169113
7150013
8150013
9273913
10270713
11270713
12263213

prune7.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))
5.0b
(-.f64 (+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1)) (*.f64 d1 d1))
Compiler

Compiled 92 to 53 computations (42.4% saved)

localize13.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))

series29.0ms (0.4%)

Counts
1 → 48
Calls

1 calls:

29.0ms
(*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))

rewrite16.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity_binary64
associate-*r*_binary64
add-sqr-sqrt_binary64
distribute-lft-out--_binary64
distribute-lft-out_binary64
Counts
1 → 27
Calls

1 calls:

13.0ms
(*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))

simplify151.0ms (1.9%)

Algorithm
egg-herbie
Rules
617×distribute-rgt-in_binary64
603×distribute-lft-in_binary64
446×fma-neg_binary64
407×associate-*l*_binary64
313×associate-*r*_binary64
Counts
75 → 55
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0711262
11951056
2718940
33249940
44599940
54980940

prune63.0ms (0.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New54155
Fresh011
Picked011
Done000
Total54357
Error
0b
Counts
57 → 3
Alt Table
StatusErrorProgram
1.0b
(*.f64 (*.f64 (cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))) (cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))))) (cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))))
0.0b
(*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))
5.0b
(-.f64 (+.f64 (-.f64 (*.f64 d1 d2) (*.f64 d1 d3)) (*.f64 d4 d1)) (*.f64 d1 d1))
Compiler

Compiled 925 to 211 computations (77.2% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))
0.2b
(*.f64 (*.f64 (cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))) (cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))))) (cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))))
0.4b
(*.f64 (cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))) (cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))))
17.6b
(cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))))

series1.5s (18.9%)

Counts
3 → 144
Calls

3 calls:

1.0s
(*.f64 (cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))) (cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))))
436.0ms
(cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))))
46.0ms
(*.f64 (*.f64 (cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))) (cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))))) (cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))))

rewrite152.0ms (1.9%)

Algorithm
rewrite-expression-head
Rules
78×associate-*r/_binary64
68×cbrt-div_binary64
34×flip-+_binary64
34×flip3-+_binary64
32×frac-times_binary64
Counts
3 → 115
Calls

3 calls:

19.0ms
(*.f64 (*.f64 (cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))) (cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))))) (cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))))
15.0ms
(cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))))
12.0ms
(*.f64 (cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))) (cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))))

simplify624.0ms (7.8%)

Algorithm
egg-herbie
Rules
551×fma-def_binary64
393×associate-*r*_binary64
287×associate-*r/_binary64
287×associate-/l*_binary64
112×associate-*l*_binary64
Counts
259 → 351
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0228428139
1519328139

prune2.4s (30.7%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New7311732
Fresh101
Picked011
Done011
Total7323735
Error
0b
Counts
735 → 3
Alt Table
StatusErrorProgram
1.0b
(*.f64 (*.f64 (cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))) (cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))))) (cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))))
0.0b
(*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))
5.0b
(-.f64 (fma.f64 d2 d1 (*.f64 d1 d4)) (+.f64 (*.f64 d1 d1) (*.f64 d1 d3)))
Compiler

Compiled 76195 to 37408 computations (50.9% saved)

localize16.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.3b
(fma.f64 d2 d1 (*.f64 d1 d4))
1.7b
(+.f64 (*.f64 d1 d1) (*.f64 d1 d3))
3.2b
(-.f64 (fma.f64 d2 d1 (*.f64 d1 d4)) (+.f64 (*.f64 d1 d1) (*.f64 d1 d3)))

series47.0ms (0.6%)

Counts
3 → 108
Calls

3 calls:

30.0ms
(-.f64 (fma.f64 d2 d1 (*.f64 d1 d4)) (+.f64 (*.f64 d1 d1) (*.f64 d1 d3)))
10.0ms
(fma.f64 d2 d1 (*.f64 d1 d4))
6.0ms
(+.f64 (*.f64 d1 d1) (*.f64 d1 d3))

rewrite13.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity_binary64
14×add-sqr-sqrt_binary64
12×prod-diff_binary64
12×add-cube-cbrt_binary64
10×add-log-exp_binary64
Counts
3 → 62
Calls

3 calls:

6.0ms
(-.f64 (fma.f64 d2 d1 (*.f64 d1 d4)) (+.f64 (*.f64 d1 d1) (*.f64 d1 d3)))
3.0ms
(+.f64 (*.f64 d1 d1) (*.f64 d1 d3))
0.0ms
(fma.f64 d2 d1 (*.f64 d1 d4))

simplify154.0ms (1.9%)

Algorithm
egg-herbie
Rules
802×fma-def_binary64
680×fma-neg_binary64
409×distribute-rgt-in_binary64
374×distribute-lft-in_binary64
171×cancel-sign-sub-inv_binary64
Counts
170 → 119
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01192334
12811960
210701783
345991783
450731783

prune123.0ms (1.5%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1190119
Fresh000
Picked011
Done022
Total1193122
Error
0b
Counts
122 → 3
Alt Table
StatusErrorProgram
1.0b
(*.f64 (*.f64 (cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))) (cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1))))) (cbrt.f64 (*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))))
0.0b
(*.f64 d1 (+.f64 d4 (-.f64 (-.f64 d2 d3) d1)))
5.0b
(-.f64 (fma.f64 d2 d1 (*.f64 d1 d4)) (+.f64 (*.f64 d1 d1) (*.f64 d1 d3)))
Compiler

Compiled 2733 to 412 computations (84.9% saved)

regimes577.0ms (7.2%)

Accuracy

Total 0.0b remaining (79.9%)

Threshold costs 0.0b (79.9%)

Counts
67 → 1
Compiler

Compiled 6863 to 3609 computations (47.4% saved)

simplify5.0ms (0.1%)

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
0913
11513
22313
32713
42913
52913

end102.0ms (1.3%)

Remove

(sort d2 d4)

Compiler

Compiled 119 to 61 computations (48.7% saved)

Profiling

Loading profile data...