Details

Time bar (total: 2.1s)

analyze3.0ms

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

sample25.0ms

Algorithm
intervals
Results
9.0ms256×pre80true
6.0ms256×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0427
1427

prune6.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.1b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

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

series12.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
04996340
14996340

prune58.0ms

Filtered
31 candidates to 45 candidates (-45.2%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New40545
Fresh000
Picked011
Done000
Total40646

Merged error: 0b

Counts
46 → 6

localize8.0ms

Local error

Found 4 expressions with local error:

0.1b
(* a (+ b (+ c d)))
0.1b
(sqrt (* a (+ b (+ c d))))
0.1b
(sqrt (* a (+ b (+ c d))))
0.5b
(* (sqrt (* a (+ b (+ c d)))) (sqrt (* a (+ b (+ c d)))))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
61×pow1
32×sqrt-pow1
23×pow-prod-down
20×associate-*r/
16×sqrt-div
15×*-un-lft-identity
14×add-sqr-sqrt
12×pow1/2
10×add-cube-cbrt pow-prod-up
flip3-+ associate-*r* flip-+
add-exp-log add-cbrt-cube
associate-*l*
sqrt-prod pow-sqr
frac-times swap-sqr add-log-exp
distribute-lft-out
associate-*l/ prod-exp *-commutative cbrt-unprod unswap-sqr
pow2 distribute-rgt-in distribute-lft-in pow-plus sqrt-unprod rem-square-sqrt
Counts
4 → 107
Calls
4 calls:
7.0ms
(* a (+ b (+ c d)))
6.0ms
(sqrt (* a (+ b (+ c d))))
6.0ms
(sqrt (* a (+ b (+ c d))))
15.0ms
(* (sqrt (* a (+ b (+ c d)))) (sqrt (* a (+ b (+ c d)))))

series133.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(* a (+ b (+ c d)))
58.0ms
(sqrt (* a (+ b (+ c d))))
56.0ms
(sqrt (* a (+ b (+ c d))))
11.0ms
(* (sqrt (* a (+ b (+ c d)))) (sqrt (* a (+ b (+ c d)))))

simplify27.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 0 (17.0ms)

IterNodesCost
050391233

prune103.0ms

Filtered
71 candidates to 119 candidates (-67.6%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1190119
Fresh044
Picked011
Done011
Total1196125

Merged error: 0b

Counts
125 → 6

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
12×add-sqr-sqrt
11×associate-*l*
10×pow1 add-exp-log add-cbrt-cube
add-cube-cbrt add-log-exp
associate-*r* sqrt-prod
distribute-lft-out
pow-prod-down associate-*l/ prod-exp cbrt-unprod
flip3-+ sum-log flip-+
associate-*r/ *-commutative unswap-sqr
+-commutative associate-+r+
Counts
3 → 64
Calls
3 calls:
5.0ms
(+ b (+ c d))
8.0ms
(* (+ b (+ c d)) (sqrt a))
10.0ms
(* (sqrt a) (* (+ b (+ c d)) (sqrt a)))

series38.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(+ b (+ c d))
17.0ms
(* (+ b (+ c d)) (sqrt a))
17.0ms
(* (sqrt a) (* (+ b (+ c d)) (sqrt a)))

simplify42.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
04974627
14974627

prune64.0ms

Filtered
50 candidates to 73 candidates (-46.0%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New73073
Fresh033
Picked011
Done022
Total73679

Merged error: 0b

Counts
79 → 6

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

rewrite48.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)))
9.0ms
(* (sqrt a) (sqrt (+ b (+ c d))))
9.0ms
(* (sqrt a) (sqrt (+ b (+ c d))))
17.0ms
(* (* (sqrt a) (sqrt (+ b (+ c d)))) (* (sqrt a) (sqrt (+ b (+ c d)))))

series113.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(sqrt (+ b (+ c d)))
46.0ms
(* (sqrt a) (sqrt (+ b (+ c d))))
44.0ms
(* (sqrt a) (sqrt (+ b (+ c d))))
14.0ms
(* (* (sqrt a) (sqrt (+ b (+ c d)))) (* (sqrt a) (sqrt (+ b (+ c d)))))

simplify40.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
049961511
149961511

prune91.0ms

Filtered
82 candidates to 149 candidates (-81.7%)
Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New1490149
Fresh022
Picked011
Done033
Total1496155

Merged error: 0b

Counts
155 → 6

regimes439.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
0107
1107

end0.0ms

sample678.0ms

Algorithm
intervals
Results
301.0ms8000×pre80true
192.0ms8000×body80valid

Profiling

Loading profile data...