Details

Time bar (total: 2.4s)

sample33.0ms

Algorithm
intervals
Results
15.0ms256×pre80true
5.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.0b

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite9.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:
8.0ms
(* a (+ (+ b c) d))

series27.0ms

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

simplify97.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0146114
1738100
24526100
35001100

prune46.0ms

Filtered
27 candidates to 17 candidates (63.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New23427
Fresh000
Picked011
Done000
Total23528

Merged error: 0b

Counts
28 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series61.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0213177
1995159
25002156

prune67.0ms

Filtered
43 candidates to 29 candidates (67.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New43043
Fresh033
Picked011
Done011
Total43548

Merged error: 0b

Counts
48 → 5

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 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))))

rewrite46.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:
8.0ms
(* a (+ (+ b c) d))
10.0ms
(sqrt (* a (+ (+ b c) d)))
6.0ms
(sqrt (* a (+ (+ b c) d)))
17.0ms
(* (sqrt (* a (+ (+ b c) d))) (sqrt (* a (+ (+ b c) d))))

series422.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(* a (+ (+ b c) d))
181.0ms
(sqrt (* a (+ (+ b c) d)))
183.0ms
(sqrt (* a (+ (+ b c) d)))
27.0ms
(* (sqrt (* a (+ (+ b c) d))) (sqrt (* a (+ (+ b c) d))))

simplify62.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0328694
11716621
25001599

prune185.0ms

Filtered
119 candidates to 68 candidates (57.1%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1190119
Fresh022
Picked011
Done022
Total1195124

Merged error: 0b

Counts
124 → 5

localize7.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.4b
(* (* a (sqrt (+ (+ b c) d))) (sqrt (+ (+ b c) d)))

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

series248.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(sqrt (+ (+ b c) d))
47.0ms
(sqrt (+ (+ b c) d))
78.0ms
(* a (sqrt (+ (+ b c) d)))
69.0ms
(* (* a (sqrt (+ (+ b c) d))) (sqrt (+ (+ b c) d)))

simplify44.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0350734
11442633
25001610

prune169.0ms

Filtered
103 candidates to 66 candidates (64.1%)
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1030103
Fresh011
Picked011
Done033
Total1035108

Merged error: 0b

Counts
108 → 5

regimes158.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

sample648.0ms

Algorithm
intervals
Results
279.0ms8000×pre80true
173.0ms8000×body80valid

Profiling

Loading profile data...