Details

Time bar (total: 6.9s)

analyze25.0ms (0.4%)

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

Compiled 30 to 22 computations (26.7% saved)

sample47.0ms (0.7%)

Algorithm
intervals
Results
13.0ms256×pre128true
9.0ms256×body128valid
Compiler

Compiled 47 to 35 computations (25.5% saved)

simplify12.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.4b
(+.f64 b (+.f64 c d))
2.9b
(+.f64 a (+.f64 b (+.f64 c d)))

rewrite14.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)))
6.0ms
(+.f64 b (+.f64 c d))

series22.0ms (0.3%)

Counts
2 → 84
Calls

2 calls:

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

simplify73.0ms (1.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 → 194
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0671070
11981049
26921049
334411049
452081049

prune56.0ms (0.8%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New18410194
Fresh000
Picked101
Done000
Total18510195
Error
0.7b
Counts
195 → 10
Alt Table
StatusErrorProgram
2.9b
(*.f64 (+.f64 a (+.f64 (+.f64 b 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)
3.0b
(*.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)
2.9b
(*.f64 (expm1.f64 (log1p.f64 (+.f64 c (+.f64 (+.f64 d b) a)))) 2)
3.7b
(*.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)
4.1b
(*.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)
Compiler

Compiled 1484 to 633 computations (57.3% saved)

localize15.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)))
0.8b
(log.f64 (*.f64 (exp.f64 a) (*.f64 (exp.f64 b) (*.f64 (exp.f64 c) (exp.f64 d)))))

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

14.0ms
(*.f64 (exp.f64 a) (*.f64 (exp.f64 b) (*.f64 (exp.f64 c) (exp.f64 d))))
9.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))

series2.0s (28.6%)

Counts
4 → 136
Calls

4 calls:

1.9s
(log.f64 (*.f64 (exp.f64 a) (*.f64 (exp.f64 b) (*.f64 (exp.f64 c) (exp.f64 d)))))
73.0ms
(*.f64 (exp.f64 a) (*.f64 (exp.f64 b) (*.f64 (exp.f64 c) (exp.f64 d))))
34.0ms
(*.f64 (exp.f64 b) (*.f64 (exp.f64 c) (exp.f64 d)))
12.0ms
(*.f64 (exp.f64 c) (exp.f64 d))

simplify135.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 → 420
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02453683
16932727
223592617
341482617
450372617

prune80.0ms (1.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New4182420
Fresh819
Picked101
Done000
Total4273430
Error
0b
Counts
430 → 3
Alt Table
StatusErrorProgram
0.1b
(*.f64 (+.f64 c (log.f64 (*.f64 (exp.f64 b) (*.f64 (exp.f64 d) (exp.f64 a))))) 2)
0.1b
(*.f64 (+.f64 (log.f64 (*.f64 (exp.f64 c) (*.f64 (exp.f64 d) (exp.f64 a)))) b) 2)
2.9b
(*.f64 (+.f64 a (+.f64 (+.f64 b c) d)) 2)
Compiler

Compiled 3961 to 1456 computations (63.2% saved)

localize18.0ms (0.3%)

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.4b
(*.f64 (exp.f64 d) (exp.f64 a))
0.4b
(*.f64 (exp.f64 b) (*.f64 (exp.f64 d) (exp.f64 a)))

rewrite48.0ms (0.7%)

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:

15.0ms
(+.f64 c (log.f64 (*.f64 (exp.f64 b) (*.f64 (exp.f64 d) (exp.f64 a)))))
14.0ms
(log.f64 (*.f64 (exp.f64 b) (*.f64 (exp.f64 d) (exp.f64 a))))
7.0ms
(*.f64 (exp.f64 b) (*.f64 (exp.f64 d) (exp.f64 a)))
5.0ms
(*.f64 (exp.f64 d) (exp.f64 a))

series2.6s (37.2%)

Counts
4 → 53
Calls

4 calls:

1.3s
(+.f64 c (log.f64 (*.f64 (exp.f64 b) (*.f64 (exp.f64 d) (exp.f64 a)))))
1.2s
(log.f64 (*.f64 (exp.f64 b) (*.f64 (exp.f64 d) (exp.f64 a))))
35.0ms
(*.f64 (exp.f64 b) (*.f64 (exp.f64 d) (exp.f64 a)))
11.0ms
(*.f64 (exp.f64 d) (exp.f64 a))

simplify89.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 → 242
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01701915
14701432
214161362
343941362
451261362

prune125.0ms (1.8%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New2411242
Fresh112
Picked101
Done000
Total2432245
Error
0b
Counts
245 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 (+.f64 c (+.f64 b (+.f64 d a))) 2)
0.1b
(*.f64 (+.f64 (log.f64 (*.f64 (exp.f64 c) (*.f64 (exp.f64 d) (exp.f64 a)))) b) 2)
Compiler

Compiled 2890 to 1105 computations (61.8% saved)

localize8.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

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

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

series15.0ms (0.2%)

Counts
1 → 48
Calls

1 calls:

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

simplify68.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 → 123
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
049681
1128660
2470660
32504660
44595660
55020660

prune19.0ms (0.3%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1221123
Fresh101
Picked101
Done000
Total1241125
Error
0b
Counts
125 → 1
Alt Table
StatusErrorProgram
0b
(*.f64 (+.f64 (+.f64 c b) (+.f64 d a)) 2)
Compiler

Compiled 555 to 199 computations (64.1% saved)

regimes456.0ms (6.6%)

Accuracy

Total 0b remaining (0%)

Threshold costs 0b (0%)

Compiler

Compiled 6804 to 4516 computations (33.6% saved)

simplify4.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01013
11413
21413

end13.0ms (0.2%)

Remove

(sort a b c d)

Compiler

Compiled 39 to 27 computations (30.8% saved)

sample974.0ms (14.1%)

Algorithm
intervals
Results
328.0ms8000×pre128true
293.0ms8000×body128valid
Compiler

Compiled 60 to 44 computations (26.7% saved)

Profiling

Loading profile data...