Details

Time bar (total: 2.8s)

analyze2.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
Compiler

Compiled 42 to 30 computations (28.6% saved)

sample1.2s (41%)

Symmetry

(sort b c d)

Results
1.1s8256×body128valid
Compiler

Compiled 95 to 67 computations (29.5% saved)

simplify7.0ms (0.2%)

Algorithm
egg-herbie
Rules
28×fma-def_binary64
10×distribute-lft-in_binary64
10×distribute-rgt-in_binary64
*-commutative_binary64
associate-+r+_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
11910
23910
36010
47010
56710

prune1.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.0b
(*.f64 a (+.f64 (+.f64 b c) d))
Compiler

Compiled 33 to 21 computations (36.4% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 a (+.f64 (+.f64 b c) d))

series15.0ms (0.5%)

Counts
1 → 48
Calls

1 calls:

15.0ms
(*.f64 a (+.f64 (+.f64 b c) d))

rewrite8.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
associate-*r*_binary64
add-sqr-sqrt_binary64
distribute-lft-out_binary64
associate-*l*_binary64
Counts
1 → 26
Calls

1 calls:

6.0ms
(*.f64 a (+.f64 (+.f64 b c) d))

simplify91.0ms (3.2%)

Algorithm
egg-herbie
Rules
755×fma-neg_binary64
558×distribute-rgt-in_binary64
556×distribute-lft-in_binary64
324×associate-*l*_binary64
318×unswap-sqr_binary64
Counts
74 → 49
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
062792
1170750
2596750
32225750
42696750
53308750
64843750
75406750

prune28.0ms (1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New46349
Fresh000
Picked011
Done000
Total46450
Error
0.0b
Counts
50 → 4
Alt Table
StatusErrorProgram
8.0b
(/.f64 (*.f64 a (-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d))) (-.f64 (+.f64 b c) d))
0.0b
(+.f64 (*.f64 (+.f64 b c) a) (*.f64 d a))
4.4b
(*.f64 a d)
0.0b
(*.f64 a (+.f64 (+.f64 b c) d))
Compiler

Compiled 716 to 192 computations (73.2% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 (+.f64 b c) a) (*.f64 d a))
0.1b
(*.f64 (+.f64 b c) a)

series17.0ms (0.6%)

Counts
2 → 84
Calls

2 calls:

11.0ms
(+.f64 (*.f64 (+.f64 b c) a) (*.f64 d a))
6.0ms
(*.f64 (+.f64 b c) a)

rewrite13.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
associate-*l*_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 38
Calls

2 calls:

8.0ms
(+.f64 (*.f64 (+.f64 b c) a) (*.f64 d a))
4.0ms
(*.f64 (+.f64 b c) a)

simplify98.0ms (3.4%)

Algorithm
egg-herbie
Rules
477×associate-*l*_binary64
445×distribute-rgt-in_binary64
425×distribute-lft-in_binary64
384×associate-*r*_binary64
375×fma-def_binary64
Counts
122 → 73
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0801223
12321120
27861117
329041116
439871116
549811116
649631116

prune51.0ms (1.8%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New73073
Fresh022
Picked011
Done011
Total73477
Error
0.0b
Counts
77 → 4
Alt Table
StatusErrorProgram
8.0b
(/.f64 (*.f64 a (-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d))) (-.f64 (+.f64 b c) d))
0.0b
(+.f64 (*.f64 (+.f64 b c) a) (*.f64 d a))
4.4b
(*.f64 a d)
0.0b
(*.f64 a (+.f64 (+.f64 b c) d))
Compiler

Compiled 1137 to 299 computations (73.7% saved)

localize2.0ms (0.1%)

prune2.0ms (0.1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done022
Total044
Error
0.0b
Counts
4 → 4
Alt Table
StatusErrorProgram
8.0b
(/.f64 (*.f64 a (-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d))) (-.f64 (+.f64 b c) d))
0.0b
(+.f64 (*.f64 (+.f64 b c) a) (*.f64 d a))
4.4b
(*.f64 a d)
0.0b
(*.f64 a (+.f64 (+.f64 b c) d))
Compiler

Compiled 77 to 42 computations (45.5% saved)

localize11.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d))
0.0b
(*.f64 (+.f64 b c) (+.f64 b c))
0.5b
(*.f64 a (-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d)))
7.5b
(/.f64 (*.f64 a (-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d))) (-.f64 (+.f64 b c) d))

series177.0ms (6.3%)

Counts
4 → 156
Calls

4 calls:

99.0ms
(/.f64 (*.f64 a (-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d))) (-.f64 (+.f64 b c) d))
53.0ms
(*.f64 a (-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d)))
20.0ms
(-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d))
5.0ms
(*.f64 (+.f64 b c) (+.f64 b c))

rewrite52.0ms (1.8%)

Algorithm
rewrite-expression-head
Rules
36×*-un-lft-identity_binary64
20×add-sqr-sqrt_binary64
13×add-cbrt-cube_binary64
13×add-exp-log_binary64
13×pow1_binary64
Counts
4 → 127
Calls

4 calls:

16.0ms
(-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d))
13.0ms
(/.f64 (*.f64 a (-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d))) (-.f64 (+.f64 b c) d))
9.0ms
(*.f64 a (-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d)))
6.0ms
(*.f64 (+.f64 b c) (+.f64 b c))

simplify144.0ms (5.1%)

Algorithm
egg-herbie
Rules
391×times-frac_binary64
358×associate-*r*_binary64
348×associate-/l*_binary64
346×associate-*l*_binary64
238×fma-neg_binary64
Counts
283 → 271
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
04017049
111836362
249056362
350866362

prune160.0ms (5.7%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New2710271
Fresh000
Picked011
Done033
Total2714275
Error
0.0b
Counts
275 → 4
Alt Table
StatusErrorProgram
8.0b
(/.f64 (*.f64 a (-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d))) (-.f64 (+.f64 b c) d))
0.0b
(+.f64 (*.f64 (+.f64 b c) a) (*.f64 d a))
4.4b
(*.f64 a d)
0.0b
(*.f64 a (+.f64 (+.f64 b c) d))
Compiler

Compiled 8617 to 2462 computations (71.4% saved)

regimes232.0ms (8.2%)

Accuracy

Total 0.0b remaining (74%)

Threshold costs 0.0b (74%)

Counts
33 → 1
Compiler

Compiled 3872 to 2462 computations (36.4% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0913
11313
21313

end543.0ms (19.2%)

Compiler

Compiled 106 to 63 computations (40.6% saved)

Profiling

Loading profile data...