Details

Time bar (total: 2.5s)

sample27.0ms

Algorithm
intervals
Results
9.0ms256×pre80true
6.0ms256×body80valid

simplify9.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.1b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

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

series44.0ms

Counts
2 → 6
Calls
2 calls:
14.0ms
(+ (+ b c) d)
29.0ms
(* a (+ (+ b c) d))

simplify29.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0177179
1861160
25001160

prune67.0ms

Filtered
45 candidates to 28 candidates (62.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New41445
Fresh000
Picked101
Done000
Total42446

Merged error: 0.0b

Counts
46 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.0ms

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

series60.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(* a (+ b c))
35.0ms
(+ (* a (+ b c)) (* a d))

simplify35.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0213177
1995159
25002156

prune62.0ms

Filtered
43 candidates to 30 candidates (69.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New43043
Fresh033
Picked011
Done000
Total43447

Merged error: 0.0b

Counts
47 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.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))
11.0ms
(* a (sqrt (+ (+ b c) d)))
16.0ms
(* (* a (sqrt (+ (+ b c) d))) (sqrt (+ (+ b c) d)))

series231.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0350732
11442633
25001610

prune161.0ms

Filtered
103 candidates to 67 candidates (65.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1021103
Fresh022
Picked011
Done011
Total1025107

Merged error: 0b

Counts
107 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ (+ b c) d))
0.3b
(* (sqrt a) (sqrt (+ (+ b c) d)))
0.3b
(* (sqrt a) (sqrt (+ (+ b c) d)))
0.5b
(* (* (sqrt a) (sqrt (+ (+ b c) d))) (* (sqrt a) (sqrt (+ (+ b c) d))))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
68×pow1
41×pow-prod-down
30×add-sqr-sqrt
29×sqrt-prod
28×*-un-lft-identity
21×sqrt-pow1 pow1/2
20×add-exp-log add-cbrt-cube
18×sqrt-div associate-*r/
17×associate-*r*
13×add-cube-cbrt associate-*l*
10×prod-exp cbrt-unprod
flip3-+ flip-+ distribute-lft-out
pow-prod-up unswap-sqr
sqrt-unprod
pow-sqr
frac-times add-log-exp
*-commutative
pow-plus associate-*l/
pow2 rem-sqrt-square swap-sqr rem-square-sqrt
Counts
4 → 137
Calls
4 calls:
5.0ms
(sqrt (+ (+ b c) d))
10.0ms
(* (sqrt a) (sqrt (+ (+ b c) d)))
10.0ms
(* (sqrt a) (sqrt (+ (+ b c) d)))
19.0ms
(* (* (sqrt a) (sqrt (+ (+ b c) d))) (* (sqrt a) (sqrt (+ (+ b c) d))))

series436.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(sqrt (+ (+ b c) d))
169.0ms
(* (sqrt a) (sqrt (+ (+ b c) d)))
168.0ms
(* (sqrt a) (sqrt (+ (+ b c) d)))
52.0ms
(* (* (sqrt a) (sqrt (+ (+ b c) d))) (* (sqrt a) (sqrt (+ (+ b c) d))))

simplify61.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04241035
11864877
25001859

prune223.0ms

Filtered
149 candidates to 83 candidates (55.7%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1490149
Fresh022
Picked011
Done022
Total1495154

Merged error: 0b

Counts
154 → 5

regimes152.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
0124
1124

end0.0ms

sample673.0ms

Algorithm
intervals
Results
292.0ms8000×pre80true
181.0ms8000×body80valid