Details

Time bar (total: 5.7s)

analyze2.0ms (0%)

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

Compiled 44 to 32 computations (27.3% saved)

sample1.1s (19.6%)

Symmetry

(sort a b c d)

Results
1.1s8256×body128valid
Compiler

Compiled 101 to 73 computations (27.7% saved)

simplify9.0ms (0.1%)

Algorithm
egg-herbie
Rules
114×fma-def_binary64
49×distribute-rgt-in_binary64
46×distribute-lft-in_binary64
40×associate-+l+_binary64
32×associate-+r+_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01013
11813
25213
312413
419313
524513
624713
723613

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 39 to 27 computations (30.8% saved)

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.4b
(+.f64 b (+.f64 c d))
2.9b
(+.f64 a (+.f64 b (+.f64 c d)))

series10.0ms (0.2%)

Counts
2 → 84
Calls

2 calls:

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

rewrite11.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity_binary64
16×add-log-exp_binary64
distribute-lft-out_binary64
sum-log_binary64
fma-def_binary64
Counts
2 → 42
Calls

2 calls:

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

simplify59.0ms (1%)

Algorithm
egg-herbie
Rules
791×associate--l+_binary64
721×distribute-rgt-in_binary64
666×distribute-lft-in_binary64
390×associate-*l*_binary64
261×fma-def_binary64
Counts
126 → 74
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0671070
11981049
26921049
334411049
452081049

prune45.0ms (0.8%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New66874
Fresh000
Picked101
Done000
Total67875
Error
0.8b
Counts
75 → 8
Alt Table
StatusErrorProgram
5.9b
(*.f64 (fma.f64 (*.f64 (cbrt.f64 a) (cbrt.f64 a)) (cbrt.f64 a) (+.f64 b (+.f64 c d))) 2)
2.9b
(*.f64 (+.f64 a (+.f64 (+.f64 b c) d)) 2)
2.7b
(*.f64 (+.f64 c (+.f64 a (+.f64 d b))) 2)
4.0b
(*.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 (+.f64 b (+.f64 c d)) (+.f64 b (+.f64 c d)))) (-.f64 a (+.f64 b (+.f64 c d)))) 2)
3.5b
(*.f64 (/.f64 (+.f64 (pow.f64 a 3) (pow.f64 (+.f64 c (+.f64 d b)) 3)) (fma.f64 (+.f64 c (+.f64 d b)) (-.f64 (+.f64 c (+.f64 d b)) a) (*.f64 a a))) 2)
3.9b
(*.f64 (/.f64 (+.f64 (pow.f64 a 3) (pow.f64 (+.f64 b (+.f64 c d)) 3)) (+.f64 (*.f64 a a) (-.f64 (*.f64 (+.f64 b (+.f64 c d)) (+.f64 b (+.f64 c d))) (*.f64 a (+.f64 b (+.f64 c d)))))) 2)
3.7b
(*.f64 (log.f64 (*.f64 (exp.f64 a) (*.f64 (exp.f64 b) (exp.f64 (+.f64 c d))))) 2)
1.7b
(*.f64 (log.f64 (*.f64 (exp.f64 a) (*.f64 (exp.f64 b) (*.f64 (exp.f64 c) (exp.f64 d))))) 2)
Compiler

Compiled 1349 to 571 computations (57.7% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(*.f64 (exp.f64 c) (exp.f64 d))
0.4b
(*.f64 (exp.f64 a) (*.f64 (exp.f64 b) (*.f64 (exp.f64 c) (exp.f64 d))))
0.4b
(*.f64 (exp.f64 b) (*.f64 (exp.f64 c) (exp.f64 d)))
1.0b
(log.f64 (*.f64 (exp.f64 a) (*.f64 (exp.f64 b) (*.f64 (exp.f64 c) (exp.f64 d)))))

series1.5s (26.9%)

Counts
4 → 136
Calls

4 calls:

1.5s
(log.f64 (*.f64 (exp.f64 a) (*.f64 (exp.f64 b) (*.f64 (exp.f64 c) (exp.f64 d)))))
33.0ms
(*.f64 (exp.f64 a) (*.f64 (exp.f64 b) (*.f64 (exp.f64 c) (exp.f64 d))))
16.0ms
(*.f64 (exp.f64 b) (*.f64 (exp.f64 c) (exp.f64 d)))
6.0ms
(*.f64 (exp.f64 c) (exp.f64 d))

rewrite33.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
30×pow1_binary64
21×*-un-lft-identity_binary64
20×add-cbrt-cube_binary64
16×prod-exp_binary64
16×pow-prod-down_binary64
Counts
4 → 85
Calls

4 calls:

10.0ms
(*.f64 (exp.f64 a) (*.f64 (exp.f64 b) (*.f64 (exp.f64 c) (exp.f64 d))))
8.0ms
(log.f64 (*.f64 (exp.f64 a) (*.f64 (exp.f64 b) (*.f64 (exp.f64 c) (exp.f64 d)))))
6.0ms
(*.f64 (exp.f64 b) (*.f64 (exp.f64 c) (exp.f64 d)))
5.0ms
(*.f64 (exp.f64 c) (exp.f64 d))

simplify114.0ms (2%)

Algorithm
egg-herbie
Rules
678×prod-exp_binary64
481×associate-*r*_binary64
386×distribute-rgt-out_binary64
366×associate-*l*_binary64
267×associate-+l+_binary64
Counts
221 → 201
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02453683
16932727
223592617
341482617
450372617

prune88.0ms (1.5%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1974201
Fresh527
Picked011
Done000
Total2027209
Error
0.0b
Counts
209 → 7
Alt Table
StatusErrorProgram
2.9b
(*.f64 (+.f64 a (+.f64 (+.f64 b c) d)) 2)
4.2b
(*.f64 (log.f64 (*.f64 (exp.f64 a) (*.f64 (exp.f64 b) (expm1.f64 (log1p.f64 (exp.f64 (+.f64 c d))))))) 2)
2.7b
(*.f64 (+.f64 c (+.f64 a (+.f64 d b))) 2)
0.2b
(*.f64 (+.f64 c (log.f64 (*.f64 (exp.f64 b) (*.f64 (exp.f64 d) (exp.f64 a))))) 2)
1.6b
(*.f64 (log.f64 (*.f64 (exp.f64 b) (*.f64 (exp.f64 d) (*.f64 (exp.f64 c) (exp.f64 a))))) 2)
0.2b
(*.f64 (+.f64 (log.f64 (*.f64 (exp.f64 c) (*.f64 (exp.f64 d) (exp.f64 a)))) b) 2)
1.7b
(*.f64 (log.f64 (*.f64 (exp.f64 a) (*.f64 (exp.f64 b) (*.f64 (exp.f64 c) (exp.f64 d))))) 2)
Compiler

Compiled 4191 to 1567 computations (62.6% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(log.f64 (*.f64 (exp.f64 b) (*.f64 (exp.f64 d) (exp.f64 a))))
0.0b
(+.f64 c (log.f64 (*.f64 (exp.f64 b) (*.f64 (exp.f64 d) (exp.f64 a)))))
0.3b
(*.f64 (exp.f64 d) (exp.f64 a))
0.4b
(*.f64 (exp.f64 b) (*.f64 (exp.f64 d) (exp.f64 a)))

series2.0s (35.3%)

Counts
4 → 53
Calls

4 calls:

1.0s
(+.f64 c (log.f64 (*.f64 (exp.f64 b) (*.f64 (exp.f64 d) (exp.f64 a)))))
953.0ms
(log.f64 (*.f64 (exp.f64 b) (*.f64 (exp.f64 d) (exp.f64 a))))
16.0ms
(*.f64 (exp.f64 b) (*.f64 (exp.f64 d) (exp.f64 a)))
6.0ms
(*.f64 (exp.f64 d) (exp.f64 a))

rewrite32.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
23×pow1_binary64
21×*-un-lft-identity_binary64
11×add-cbrt-cube_binary64
10×add-sqr-sqrt_binary64
10×pow-prod-down_binary64
Counts
4 → 80
Calls

4 calls:

9.0ms
(log.f64 (*.f64 (exp.f64 b) (*.f64 (exp.f64 d) (exp.f64 a))))
8.0ms
(+.f64 c (log.f64 (*.f64 (exp.f64 b) (*.f64 (exp.f64 d) (exp.f64 a)))))
8.0ms
(*.f64 (exp.f64 b) (*.f64 (exp.f64 d) (exp.f64 a)))
5.0ms
(*.f64 (exp.f64 d) (exp.f64 a))

simplify75.0ms (1.3%)

Algorithm
egg-herbie
Rules
890×fma-def_binary64
557×prod-exp_binary64
416×distribute-rgt-in_binary64
409×*-commutative_binary64
405×distribute-lft-in_binary64
Counts
133 → 171
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01701915
14701432
214161362
343941362
451261362

prune83.0ms (1.4%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1701171
Fresh325
Picked101
Done101
Total1753178
Error
0b
Counts
178 → 3
Alt Table
StatusErrorProgram
2.9b
(*.f64 (+.f64 a (+.f64 (+.f64 b c) d)) 2)
0.0b
(*.f64 (+.f64 c (+.f64 b (+.f64 d a))) 2)
0.2b
(*.f64 (+.f64 (log.f64 (*.f64 (exp.f64 c) (*.f64 (exp.f64 d) (exp.f64 a)))) b) 2)
Compiler

Compiled 3083 to 1165 computations (62.2% saved)

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series6.0ms (0.1%)

Counts
1 → 48
Calls

1 calls:

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

rewrite8.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64
10×add-log-exp_binary64
distribute-lft-out_binary64
sum-log_binary64
fma-def_binary64
Counts
1 → 22
Calls

1 calls:

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

simplify56.0ms (1%)

Algorithm
egg-herbie
Rules
540×distribute-rgt-in_binary64
529×associate--l+_binary64
517×associate--r+_binary64
516×distribute-lft-in_binary64
412×distribute-neg-in_binary64
Counts
70 → 41
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
049681
1128660
2470660
32504660
44595660
55020660

prune18.0ms (0.3%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New40141
Fresh202
Picked101
Done000
Total43144
Error
0b
Counts
44 → 1
Alt Table
StatusErrorProgram
0b
(*.f64 (+.f64 (+.f64 c b) (+.f64 d a)) 2)
Compiler

Compiled 555 to 199 computations (64.1% saved)

regimes305.0ms (5.3%)

Accuracy

Total 0b remaining (0%)

Threshold costs 0b (0%)

Counts
35 → 1
Compiler

Compiled 5804 to 3784 computations (34.8% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01013
11413
21413

end45.0ms (0.8%)

Remove

(sort a b c d)

Compiler

Compiled 65 to 45 computations (30.8% saved)

Profiling

Loading profile data...