Details

Time bar (total: 2.6s)

sample21.0ms

Algorithm
intervals
Results
6.0ms256×pre80true
5.0ms256×body80valid

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

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
17×*-un-lft-identity
add-sqr-sqrt distribute-lft-out add-log-exp
add-cube-cbrt associate-*r*
pow1 add-exp-log fma-def add-cbrt-cube
associate-*l* sum-log
expm1-log1p-u flip3-+ associate-*r/ flip-+ log1p-expm1-u
+-commutative distribute-rgt-in associate-+l+ distribute-lft-in pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 47
Calls
2 calls:
6.0ms
(+ (+ b c) d)
11.0ms
(* a (+ (+ b c) d))

series40.0ms

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

simplify28.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0186193
1908173
25001173

prune98.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

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

rewrite2.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:
1.0ms
(fma a b (* a c))
1.0ms
(fma d a (fma a b (* a c)))

series68.0ms

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

simplify28.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04398
114986
279086
3500186

prune64.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
12×*-un-lft-identity
pow1 add-cube-cbrt sqrt-prod
add-exp-log add-cbrt-cube
expm1-log1p-u sqrt-div log1p-expm1-u add-log-exp
associate-*r* associate-*l* fma-udef
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+ hypot-def distribute-lft-out
distribute-rgt-in distribute-lft-in pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 70
Calls
4 calls:
3.0ms
(sqrt (+ b c))
3.0ms
(sqrt (+ b c))
3.0ms
(* a (fma (sqrt (+ b c)) (sqrt (+ b c)) d))
1.0ms
(fma (sqrt (+ b c)) (sqrt (+ b c)) d)

series293.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(sqrt (+ b c))
37.0ms
(sqrt (+ b c))
110.0ms
(* a (fma (sqrt (+ b c)) (sqrt (+ b c)) d))
112.0ms
(fma (sqrt (+ b c)) (sqrt (+ b c)) d)

simplify90.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 3 (85.0ms)

IterNodesCost
0237478
1877382
24265367
35001365

prune201.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.1b
(sqrt (sqrt (+ b c)))
0.1b
(sqrt (sqrt (+ b c)))
0.4b
(fma (* (sqrt (sqrt (+ b c))) (sqrt (sqrt (+ b c)))) (sqrt (+ b c)) d)
0.5b
(* (sqrt (sqrt (+ b c))) (sqrt (sqrt (+ b c))))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
106×sqrt-prod
54×add-sqr-sqrt
40×sqrt-pow1
38×*-un-lft-identity
32×sqrt-div
31×pow1
20×add-cube-cbrt pow1/2
18×swap-sqr
10×associate-*r* associate-*l*
pow-prod-up unswap-sqr
flip3-+ flip-+ distribute-lft-out
add-exp-log add-cbrt-cube
pow-prod-down pow-sqr
expm1-log1p-u frac-times rem-sqrt-square log1p-expm1-u add-log-exp
associate-*r/ associate-*l/
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod fma-udef
Counts
4 → 148
Calls
4 calls:
4.0ms
(sqrt (sqrt (+ b c)))
4.0ms
(sqrt (sqrt (+ b c)))
1.0ms
(fma (* (sqrt (sqrt (+ b c))) (sqrt (sqrt (+ b c)))) (sqrt (+ b c)) d)
18.0ms
(* (sqrt (sqrt (+ b c))) (sqrt (sqrt (+ b c))))

series527.0ms

Counts
4 → 12
Calls
4 calls:
182.0ms
(sqrt (sqrt (+ b c)))
193.0ms
(sqrt (sqrt (+ b c)))
116.0ms
(fma (* (sqrt (sqrt (+ b c))) (sqrt (sqrt (+ b c)))) (sqrt (+ b c)) d)
35.0ms
(* (sqrt (sqrt (+ b c))) (sqrt (sqrt (+ b c))))

simplify51.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0380963
11589836
25001820

prune299.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes133.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
083
183

end0.0ms

sample520.0ms

Algorithm
intervals
Results
188.0ms8000×pre80true
147.0ms8000×body80valid