Details

Time bar (total: 1.9s)

sample21.0ms

Algorithm
intervals
Results
6.0ms256×pre80true
4.0ms256×body80valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0183
1393
2653
3703
4703

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

series41.0ms

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

simplify30.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0177179
1861160
25001160

prune78.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

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

series26.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0148116
1719100
23894100
35001100

prune46.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.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-+r+ 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:
4.0ms
(+ (* a b) (* a (+ c d)))
6.0ms
(* a (+ c d))

series60.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0214178
1982158
25002156

prune83.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

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

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

series403.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* a (+ b (+ c d)))
171.0ms
(sqrt (* a (+ b (+ c d))))
177.0ms
(sqrt (* a (+ b (+ c d))))
30.0ms
(* (sqrt (* a (+ b (+ c d)))) (sqrt (* a (+ b (+ c d)))))

simplify68.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
0332697
11683620
25001598

prune212.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

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

sample535.0ms

Algorithm
intervals
Results
182.0ms8000×pre80true
159.0ms8000×body80valid