Details

Time bar (total: 2.5s)

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

Symmetry

(sort b c d)

Results
1.2s8256×body128valid
Compiler

Compiled 95 to 67 computations (29.5% saved)

simplify7.0ms (0.3%)

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

series14.0ms (0.6%)

Counts
1 → 48
Calls

1 calls:

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

simplify86.0ms (3.4%)

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

prune27.0ms (1.1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New47249
Fresh000
Picked011
Done000
Total47350
Error
0b
Counts
50 → 3
Alt Table
StatusErrorProgram
7.4b
(/.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))
0.0b
(*.f64 a (+.f64 (+.f64 b c) d))
Compiler

Compiled 702 to 182 computations (74.1% saved)

localize9.0ms (0.4%)

Local error

Found 2 expressions with local error:

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

series19.0ms (0.7%)

Counts
2 → 84
Calls

2 calls:

12.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:

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

simplify92.0ms (3.7%)

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

prune69.0ms (2.7%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New73073
Fresh011
Picked011
Done011
Total73376
Error
0b
Counts
76 → 3
Alt Table
StatusErrorProgram
7.4b
(/.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))
0.0b
(*.f64 a (+.f64 (+.f64 b c) d))
Compiler

Compiled 1123 to 289 computations (74.3% saved)

localize12.0ms (0.5%)

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.6b
(*.f64 a (-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d)))
6.8b
(/.f64 (*.f64 a (-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d))) (-.f64 (+.f64 b c) d))

series226.0ms (9%)

Counts
4 → 156
Calls

4 calls:

107.0ms
(/.f64 (*.f64 a (-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d))) (-.f64 (+.f64 b c) d))
63.0ms
(*.f64 a (-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d)))
49.0ms
(-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d))
6.0ms
(*.f64 (+.f64 b c) (+.f64 b c))

rewrite50.0ms (2%)

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:

14.0ms
(/.f64 (*.f64 a (-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d))) (-.f64 (+.f64 b c) d))
13.0ms
(*.f64 a (-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d)))
7.0ms
(-.f64 (*.f64 (+.f64 b c) (+.f64 b c)) (*.f64 d d))
7.0ms
(*.f64 (+.f64 b c) (+.f64 b c))

simplify158.0ms (6.3%)

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

prune168.0ms (6.7%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2710271
Fresh000
Picked011
Done022
Total2713274
Error
0b
Counts
274 → 3
Alt Table
StatusErrorProgram
7.4b
(/.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))
0.0b
(*.f64 a (+.f64 (+.f64 b c) d))
Compiler

Compiled 8610 to 2457 computations (71.5% saved)

regimes265.0ms (10.6%)

Accuracy

Total 0.0b remaining (60.2%)

Threshold costs 0.0b (60.2%)

Counts
35 → 1
Compiler

Compiled 4301 to 2584 computations (39.9% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0913
11313
21313

end67.0ms (2.7%)

Remove

(sort b c d)

Compiler

Compiled 99 to 58 computations (41.4% saved)

Profiling

Loading profile data...