Details

Time bar (total: 1.6s)

analyze2.0ms (0.2%)

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

Compiled 42 to 30 computations (28.6% saved)

sample1.1s (72.2%)

Symmetry

(sort b c d)

Results
1.1s8256×body128valid
Compiler

Compiled 95 to 67 computations (29.5% saved)

simplify7.0ms (0.4%)

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.3%)

Local error

Found 1 expressions with local error:

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

series9.0ms (0.6%)

Counts
1 → 48
Calls

1 calls:

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

rewrite9.0ms (0.6%)

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:

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

simplify83.0ms (5.3%)

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

prune23.0ms (1.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New48149
Fresh000
Picked011
Done000
Total48250
Error
0b
Counts
50 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (*.f64 (+.f64 b c) a) (*.f64 d a))
0.0b
(*.f64 a (+.f64 (+.f64 b c) d))
Compiler

Compiled 656 to 160 computations (75.6% saved)

localize6.0ms (0.4%)

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)

series22.0ms (1.4%)

Counts
2 → 84
Calls

2 calls:

12.0ms
(+.f64 (*.f64 (+.f64 b c) a) (*.f64 d a))
9.0ms
(*.f64 (+.f64 b c) a)

rewrite13.0ms (0.8%)

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:

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

simplify93.0ms (5.9%)

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

prune37.0ms (2.3%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New73073
Fresh000
Picked011
Done011
Total73275
Error
0b
Counts
75 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (*.f64 (+.f64 b c) a) (*.f64 d a))
0.0b
(*.f64 a (+.f64 (+.f64 b c) d))
Compiler

Compiled 1077 to 267 computations (75.2% saved)

regimes79.0ms (5%)

Accuracy

Total 0.0b remaining (17.5%)

Threshold costs 0.0b (17.5%)

Counts
10 → 1
Compiler

Compiled 843 to 544 computations (35.5% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
11011
21011

end50.0ms (3.1%)

Remove

(sort b c d)

Compiler

Compiled 72 to 43 computations (40.3% saved)

Profiling

Loading profile data...