Details

Time bar (total: 1.9s)

sample22.0ms

Algorithm
intervals
Results
6.0ms256×pre80true
5.0ms256×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0183
1413
2763
31033
41033

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

0.0b
(* a (+ (+ b c) d))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-sqr-sqrt associate-*r*
pow1 add-exp-log add-cube-cbrt associate-*l* add-cbrt-cube distribute-lft-out
associate-*r/
distribute-rgt-in expm1-log1p-u distribute-lft-in flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ log1p-expm1-u add-log-exp unswap-sqr
Counts
1 → 26
Calls
1 calls:
8.0ms
(* a (+ (+ b c) d))

series29.0ms

Counts
1 → 3
Calls
1 calls:
29.0ms
(* a (+ (+ b c) d))

simplify95.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0151122
1779108
24782108
35001108

prune51.0ms

Filtered
29 candidates to 22 candidates (75.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New26329
Fresh000
Picked011
Done000
Total26430

Merged error: 0b

Counts
30 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma d a (fma a b (* a c)))
0.0b
(fma a b (* a c))

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
2 → 20
Calls
2 calls:
1.0ms
(fma d a (fma a b (* a c)))
1.0ms
(fma a b (* a c))

series64.0ms

Counts
2 → 6
Calls
2 calls:
31.0ms
(fma d a (fma a b (* a c)))
33.0ms
(fma a b (* a c))

simplify28.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04398
114986
279086
3500186

prune49.0ms

Filtered
26 candidates to 21 candidates (80.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New26026
Fresh022
Picked011
Done011
Total26430

Merged error: 0b

Counts
30 → 4

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ (+ b c) d))
0.0b
(sqrt (+ (+ b c) d))
0.2b
(* a (sqrt (+ (+ b c) d)))
0.4b
(* (* a (sqrt (+ (+ b c) d))) (sqrt (+ (+ b c) d)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
31×*-un-lft-identity
21×add-sqr-sqrt sqrt-prod
18×sqrt-div
16×associate-*r*
13×pow1
12×distribute-lft-out
11×add-exp-log add-cube-cbrt add-cbrt-cube
10×associate-*r/
flip3-+ flip-+
expm1-log1p-u frac-times associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 associate-*l/ *-commutative hypot-def unswap-sqr
Counts
4 → 101
Calls
4 calls:
6.0ms
(sqrt (+ (+ b c) d))
5.0ms
(sqrt (+ (+ b c) d))
9.0ms
(* a (sqrt (+ (+ b c) d)))
17.0ms
(* (* a (sqrt (+ (+ b c) d))) (sqrt (+ (+ b c) d)))

series233.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(sqrt (+ (+ b c) d))
46.0ms
(sqrt (+ (+ b c) d))
73.0ms
(* a (sqrt (+ (+ b c) d)))
65.0ms
(* (* a (sqrt (+ (+ b c) d))) (sqrt (+ (+ b c) d)))

simplify44.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0369775
11502669
25002642

prune191.0ms

Filtered
113 candidates to 76 candidates (67.3%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1130113
Fresh011
Picked011
Done022
Total1134117

Merged error: 0b

Counts
117 → 4

localize8.0ms

Local error

Found 2 expressions with local error:

0.3b
(* (sqrt a) (+ (+ b c) d))
0.4b
(* (sqrt a) (* (sqrt a) (+ (+ b c) d)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity associate-*l*
11×add-sqr-sqrt
pow1 add-exp-log add-cbrt-cube
add-cube-cbrt sqrt-prod
associate-*r/ associate-*r*
distribute-rgt-in distribute-lft-in
pow-prod-down prod-exp cbrt-unprod
distribute-lft-out
expm1-log1p-u flip3-+ *-commutative flip-+ log1p-expm1-u add-log-exp unswap-sqr
Counts
2 → 59
Calls
2 calls:
9.0ms
(* (sqrt a) (+ (+ b c) d))
11.0ms
(* (sqrt a) (* (sqrt a) (+ (+ b c) d)))

series146.0ms

Counts
2 → 6
Calls
2 calls:
92.0ms
(* (sqrt a) (+ (+ b c) d))
54.0ms
(* (sqrt a) (* (sqrt a) (+ (+ b c) d)))

simplify40.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0266376
11338319
25002313

prune93.0ms

Filtered
65 candidates to 43 candidates (66.2%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New65065
Fresh000
Picked011
Done033
Total65469

Merged error: 0b

Counts
69 → 4

regimes160.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083
183

end0.0ms

sample530.0ms

Algorithm
intervals
Results
182.0ms8000×pre80true
152.0ms8000×body80valid

Profiling

Loading profile data...