Details

Time bar (total: 2.4s)

sample21.0ms

Algorithm
intervals
Results
6.0ms256×pre80true
4.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 1 expressions with local error:

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

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

series26.0ms

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

simplify97.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0151122
1779108
24782108
35001108

prune62.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.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)))

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

series68.0ms

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

simplify29.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04398
114986
279086
3500186

prune76.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma d a (* (sqrt (fma a b (* a c))) (sqrt (fma a b (* a c)))))
0.1b
(sqrt (fma a b (* a c)))
0.1b
(sqrt (fma a b (* a c)))
0.5b
(* (sqrt (fma a b (* a c))) (sqrt (fma a b (* a c))))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod fma-udef
Counts
4 → 91
Calls
4 calls:
0.0ms
(fma d a (* (sqrt (fma a b (* a c))) (sqrt (fma a b (* a c)))))
1.0ms
(sqrt (fma a b (* a c)))
1.0ms
(sqrt (fma a b (* a c)))
7.0ms
(* (sqrt (fma a b (* a c))) (sqrt (fma a b (* a c))))

series180.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(fma d a (* (sqrt (fma a b (* a c))) (sqrt (fma a b (* a c)))))
56.0ms
(sqrt (fma a b (* a c)))
54.0ms
(sqrt (fma a b (* a c)))
38.0ms
(* (sqrt (fma a b (* a c))) (sqrt (fma a b (* a c))))

simplify166.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0176555
1679470
24042440
35001440

prune229.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

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

rewrite150.0ms

Algorithm
rewrite-expression-head
Rules
31×*-un-lft-identity
21×add-sqr-sqrt sqrt-prod
18×sqrt-div
16×associate-*r*
13×pow1
12×distribute-lft-out
11×add-exp-log add-cube-cbrt add-cbrt-cube
10×associate-*r/
flip3-+ flip-+
expm1-log1p-u frac-times associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 associate-*l/ *-commutative hypot-def unswap-sqr
Counts
4 → 101
Calls
4 calls:
20.0ms
(sqrt (+ (+ b c) d))
18.0ms
(sqrt (+ (+ b c) d))
36.0ms
(* a (sqrt (+ (+ b c) d)))
73.0ms
(* (* a (sqrt (+ (+ b c) d))) (sqrt (+ (+ b c) d)))

series245.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(sqrt (+ (+ b c) d))
53.0ms
(sqrt (+ (+ b c) d))
77.0ms
(* a (sqrt (+ (+ b c) d)))
66.0ms
(* (* a (sqrt (+ (+ b c) d))) (sqrt (+ (+ b c) d)))

simplify45.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0369775
11502669
25002642

prune217.0ms

Pruning

6 alts after pruning (2 fresh and 4 done)

Merged error: 0b

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

sample506.0ms

Algorithm
intervals
Results
175.0ms8000×pre80true
146.0ms8000×body80valid