Details

Time bar (total: 3.0s)

sample27.0ms

Algorithm
intervals
Results
9.0ms256×pre80true
5.0ms256×body80valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0183
1393
2653
3703
4703

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

rewrite13.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 distribute-lft-in flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ add-log-exp unswap-sqr
Counts
1 → 24
Calls
1 calls:
12.0ms
(* a (+ (+ b c) d))

series26.0ms

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

simplify96.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0146114
1738100
24526100
35001100

prune43.0ms

Filtered
27 candidates to 17 candidates (63.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New24327
Fresh000
Picked011
Done000
Total24428

Merged error: 0b

Counts
28 → 4

localize7.0ms

Local error

Found 2 expressions with local error:

0.3b
(* (sqrt a) (+ (+ b c) d))
0.3b
(* (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
flip3-+ *-commutative flip-+ add-log-exp unswap-sqr
Counts
2 → 55
Calls
2 calls:
9.0ms
(* (sqrt a) (+ (+ b c) d))
11.0ms
(* (sqrt a) (* (sqrt a) (+ (+ b c) d)))

series147.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0257353
11271295
25003295

prune85.0ms

Filtered
61 candidates to 38 candidates (62.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New61061
Fresh022
Picked011
Done011
Total61465

Merged error: 0b

Counts
65 → 4

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

rewrite41.0ms

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

series241.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(sqrt (+ (+ b c) d))
51.0ms
(sqrt (+ (+ b c) d))
72.0ms
(* a (sqrt (+ (+ b c) d)))
66.0ms
(* (* a (sqrt (+ (+ b c) d))) (sqrt (+ (+ b c) d)))

simplify47.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0350732
11442633
25001610

prune164.0ms

Filtered
103 candidates to 66 candidates (64.1%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1030103
Fresh011
Picked011
Done022
Total1034107

Merged error: 0b

Counts
107 → 4

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ b c) d)
0.0b
(* (+ b c) (+ b c))
0.6b
(* a (+ (pow (+ b c) 3) (pow d 3)))
15.3b
(/ (* a (+ (pow (+ b c) 3) (pow d 3))) (+ (* (+ b c) (+ b c)) (- (* d d) (* (+ b c) d))))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity
22×flip3-+ flip-+
20×add-sqr-sqrt associate-*r* distribute-lft-out
18×associate-/r/
16×frac-add
15×pow1 add-exp-log add-cbrt-cube
14×add-cube-cbrt
12×frac-times
11×associate-*l*
10×associate-*r/
unpow-prod-down flip3-- cube-prod associate-*l/ flip--
swap-sqr
prod-exp cbrt-unprod add-log-exp
times-frac pow-prod-down associate-/r* *-commutative unswap-sqr
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp associate-/l/
pow2 frac-2neg pow-plus clear-num pow-sqr sum-cubes pow-prod-up div-inv associate-/l*
Counts
4 → 134
Calls
4 calls:
6.0ms
(* (+ b c) d)
8.0ms
(* (+ b c) (+ b c))
19.0ms
(* a (+ (pow (+ b c) 3) (pow d 3)))
29.0ms
(/ (* a (+ (pow (+ b c) 3) (pow d 3))) (+ (* (+ b c) (+ b c)) (- (* d d) (* (+ b c) d))))

series579.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (+ b c) d)
14.0ms
(* (+ b c) (+ b c))
323.0ms
(* a (+ (pow (+ b c) 3) (pow d 3)))
221.0ms
(/ (* a (+ (pow (+ b c) 3) (pow d 3))) (+ (* (+ b c) (+ b c)) (- (* d d) (* (+ b c) d))))

simplify142.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
08581553
149741416
250011416

prune332.0ms

Filtered
146 candidates to 91 candidates (62.3%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1460146
Fresh000
Picked011
Done033
Total1464150

Merged error: 0b

Counts
150 → 4

regimes137.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
0103
1103

end0.0ms

sample668.0ms

Algorithm
intervals
Results
295.0ms8000×pre80true
173.0ms8000×body80valid

Profiling

Loading profile data...