Details

Time bar (total: 2.1s)

sample21.0ms

Algorithm
intervals
Results
6.0ms256×pre80true
5.0ms256×body80valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0183
1413
2763
31033
41033

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite38.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 expm1-log1p-u distribute-lft-in flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ log1p-expm1-u add-log-exp unswap-sqr
Counts
1 → 26
Calls
1 calls:
37.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
29 → 29
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0151122
1779108
24782108
35001108

prune59.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
2 → 20
Calls
2 calls:
0.0ms
(fma a b (* a c))
0.0ms
(fma d a (fma a b (* a c)))

series67.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
04398
114986
279086
3500186

prune77.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

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

rewrite195.0ms

Algorithm
rewrite-expression-head
Rules
68×pow1
41×pow-prod-down
32×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
expm1-log1p-u frac-times log1p-expm1-u add-log-exp
*-commutative
pow-plus associate-*l/
pow2 rem-sqrt-square swap-sqr rem-square-sqrt hypot-def
Counts
4 → 146
Calls
4 calls:
20.0ms
(sqrt (+ (+ b c) d))
39.0ms
(* (sqrt a) (sqrt (+ (+ b c) d)))
41.0ms
(* (sqrt a) (sqrt (+ (+ b c) d)))
89.0ms
(* (* (sqrt a) (sqrt (+ (+ b c) d))) (* (sqrt a) (sqrt (+ (+ b c) d))))

series435.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(sqrt (+ (+ b c) d))
167.0ms
(* (sqrt a) (sqrt (+ (+ b c) d)))
167.0ms
(* (sqrt a) (sqrt (+ (+ b c) d)))
50.0ms
(* (* (sqrt a) (sqrt (+ (+ b c) d))) (* (sqrt a) (sqrt (+ (+ b c) d))))

simplify62.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04451091
11942925
25003893

prune280.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes147.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
0123
1123

end0.0ms

sample528.0ms

Algorithm
intervals
Results
184.0ms8000×pre80true
152.0ms8000×body80valid