Details

Time bar (total: 2.6s)

sample25.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
6.0ms256×pre80true

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0183
1413
2763
31033
41033

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
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))

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

series40.0ms

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

simplify32.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0186193
1908173
25001173

prune110.0ms

Filtered
53 candidates to 38 candidates (71.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

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

series65.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04398
114986
279086
3500186

prune67.0ms

Filtered
26 candidates to 21 candidates (80.8%)
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)

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

series300.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(sqrt (+ b c))
33.0ms
(sqrt (+ b c))
117.0ms
(* a (fma (sqrt (+ b c)) (sqrt (+ b c)) d))
111.0ms
(fma (sqrt (+ b c)) (sqrt (+ b c)) d)

simplify92.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 3 (87.0ms)

IterNodesCost
0237478
1877382
24265367
35001365

prune195.0ms

Filtered
82 candidates to 66 candidates (80.5%)
Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize10.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 (+ b c)) (* (sqrt (sqrt (+ b c))) (sqrt (sqrt (+ b c)))) d)
0.5b
(* (sqrt (sqrt (+ b c))) (sqrt (sqrt (+ b c))))

rewrite30.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 (+ b c)) (* (sqrt (sqrt (+ b c))) (sqrt (sqrt (+ b c)))) d)
15.0ms
(* (sqrt (sqrt (+ b c))) (sqrt (sqrt (+ b c))))

series533.0ms

Counts
4 → 12
Calls
4 calls:
184.0ms
(sqrt (sqrt (+ b c)))
189.0ms
(sqrt (sqrt (+ b c)))
127.0ms
(fma (sqrt (+ b c)) (* (sqrt (sqrt (+ b c))) (sqrt (sqrt (+ b c)))) d)
34.0ms
(* (sqrt (sqrt (+ b c))) (sqrt (sqrt (+ b c))))

simplify53.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0380963
11568836
25001820

prune305.0ms

Filtered
160 candidates to 84 candidates (52.5%)
Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes139.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
0133
1153
2153

end0.0ms

sample514.0ms

Algorithm
intervals
Results
176.0ms8000×pre80true
153.0ms8000×body80valid