Details

Time bar (total: 7.1s)

analyze1.8s (25.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
0%0%100%2
0%0%100%3
0%0%100%4
0%0%100%5
0%0%100%6
0%0%100%7
0%0%100%8
0%0%100%9
0%0%100%10
0%0%100%11
0%0%100%12
0%0%100%13
0%0%100%14
Compiler

Compiled 44 to 32 computations (27.3% saved)

sample1.2s (16.5%)

Symmetry

(sort a b c d)

Results
1.1s8256×body128valid
Compiler

Compiled 57 to 41 computations (28.1% saved)

simplify11.0ms (0.2%)

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.8b
Counts
2 → 1
Alt Table
StatusErrorProgram
3.8b
(*.f64 (+.f64 a (+.f64 b (+.f64 c d))) 2)
Compiler

Compiled 39 to 27 computations (30.8% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.5b
(+.f64 b (+.f64 c d))
2.8b
(+.f64 a (+.f64 b (+.f64 c d)))

series11.0ms (0.1%)

Counts
2 → 84
Calls

2 calls:

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

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

simplify57.0ms (0.8%)

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

prune50.0ms (0.7%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New641074
Fresh000
Picked101
Done000
Total651075
Error
0.7b
Counts
75 → 10
Alt Table
StatusErrorProgram
2.8b
(*.f64 (+.f64 a (+.f64 (+.f64 b c) d)) 2)
3.6b
(*.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 (+.f64 c (+.f64 d b)) (+.f64 c (+.f64 d b)))) (-.f64 a (+.f64 c (+.f64 d b)))) 2)
3.1b
(*.f64 (expm1.f64 (log1p.f64 (+.f64 c (+.f64 (+.f64 d b) a)))) 2)
3.9b
(*.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.6b
(*.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)
4.0b
(*.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)
2.9b
(*.f64 (*.f64 (*.f64 (cbrt.f64 (+.f64 c (+.f64 (+.f64 d b) a))) (cbrt.f64 (+.f64 c (+.f64 (+.f64 d b) a)))) (cbrt.f64 (+.f64 c (+.f64 (+.f64 d b) a)))) 2)
3.7b
(*.f64 (log.f64 (*.f64 (exp.f64 a) (*.f64 (exp.f64 b) (exp.f64 (+.f64 c d))))) 2)
1.5b
(*.f64 (log.f64 (*.f64 (exp.f64 a) (*.f64 (exp.f64 b) (*.f64 (exp.f64 c) (exp.f64 d))))) 2)
2.6b
(*.f64 (log1p.f64 (expm1.f64 (+.f64 c (+.f64 (+.f64 d b) a)))) 2)
Compiler

Compiled 1467 to 625 computations (57.4% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series1.7s (24.4%)

Counts
4 → 136
Calls

4 calls:

1.7s
(log.f64 (*.f64 (exp.f64 a) (*.f64 (exp.f64 b) (*.f64 (exp.f64 c) (exp.f64 d)))))
35.0ms
(*.f64 (exp.f64 a) (*.f64 (exp.f64 b) (*.f64 (exp.f64 c) (exp.f64 d))))
19.0ms
(*.f64 (exp.f64 b) (*.f64 (exp.f64 c) (exp.f64 d)))
7.0ms
(*.f64 (exp.f64 c) (exp.f64 d))

rewrite37.0ms (0.5%)

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:

12.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)))))
7.0ms
(*.f64 (exp.f64 b) (*.f64 (exp.f64 c) (exp.f64 d)))
5.0ms
(*.f64 (exp.f64 c) (exp.f64 d))

simplify112.0ms (1.6%)

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

prune81.0ms (1.1%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1992201
Fresh729
Picked101
Done000
Total2074211
Error
0b
Counts
211 → 4
Alt Table
StatusErrorProgram
2.8b
(*.f64 (+.f64 a (+.f64 (+.f64 b c) d)) 2)
0.1b
(*.f64 (+.f64 c (log.f64 (*.f64 (exp.f64 b) (*.f64 (exp.f64 d) (exp.f64 a))))) 2)
0.2b
(*.f64 (+.f64 (log.f64 (*.f64 (exp.f64 c) (*.f64 (exp.f64 d) (exp.f64 a)))) b) 2)
2.6b
(*.f64 (log1p.f64 (expm1.f64 (+.f64 c (+.f64 (+.f64 d b) a)))) 2)
Compiler

Compiled 4103 to 1499 computations (63.5% saved)

localize12.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series1.2s (16.6%)

Counts
3 → 41
Calls

3 calls:

1.1s
(+.f64 c (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)))
8.0ms
(*.f64 (exp.f64 d) (exp.f64 a))

rewrite27.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity_binary64
16×pow1_binary64
10×add-cbrt-cube_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
3 → 63
Calls

3 calls:

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

simplify79.0ms (1.1%)

Algorithm
egg-herbie
Rules
890×fma-def_binary64
591×prod-exp_binary64
416×distribute-rgt-in_binary64
410×*-commutative_binary64
405×distribute-lft-in_binary64
Counts
104 → 140
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01601606
14621237
214021167
343321167
451731167

prune77.0ms (1.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1391140
Fresh213
Picked101
Done000
Total1422144
Error
0b
Counts
144 → 2
Alt Table
StatusErrorProgram
0.2b
(*.f64 (+.f64 (log.f64 (*.f64 (exp.f64 c) (*.f64 (exp.f64 d) (exp.f64 a)))) b) 2)
0.0b
(*.f64 (+.f64 c (log.f64 (exp.f64 (+.f64 b (+.f64 d a))))) 2)
Compiler

Compiled 2618 to 1030 computations (60.7% saved)

localize9.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series15.0ms (0.2%)

Counts
2 → 84
Calls

2 calls:

9.0ms
(+.f64 c (log.f64 (exp.f64 (+.f64 b (+.f64 d a)))))
6.0ms
(exp.f64 (+.f64 b (+.f64 d a)))

rewrite17.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity_binary64
add-log-exp_binary64
exp-prod_binary64
distribute-lft-out_binary64
add-sqr-sqrt_binary64
Counts
2 → 40
Calls

2 calls:

8.0ms
(+.f64 c (log.f64 (exp.f64 (+.f64 b (+.f64 d a)))))
7.0ms
(exp.f64 (+.f64 b (+.f64 d a)))

simplify68.0ms (1%)

Algorithm
egg-herbie
Rules
557×distribute-rgt-in_binary64
549×fma-def_binary64
525×distribute-lft-in_binary64
388×associate-*l*_binary64
315×associate-*r*_binary64
Counts
124 → 92
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01081361
12751276
29901239
348431239
449841239

prune45.0ms (0.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New92092
Fresh011
Picked011
Done000
Total92294
Error
0b
Counts
94 → 2
Alt Table
StatusErrorProgram
0.2b
(*.f64 (+.f64 (log.f64 (*.f64 (exp.f64 c) (*.f64 (exp.f64 d) (exp.f64 a)))) b) 2)
0.0b
(*.f64 (+.f64 c (log.f64 (exp.f64 (+.f64 b (+.f64 d a))))) 2)
Compiler

Compiled 1589 to 604 computations (62% saved)

regimes403.0ms (5.7%)

Accuracy

Total 0.0b remaining (88.9%)

Threshold costs 0.0b (88.9%)

Counts
43 → 1
Compiler

Compiled 6790 to 4542 computations (33.1% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01217
11617
21617

end62.0ms (0.9%)

Remove

(sort a b c d)

Compiler

Compiled 92 to 68 computations (26.1% saved)

Profiling

Loading profile data...