Details

Time bar (total: 2.3s)

sample26.0ms

Algorithm
intervals
Results
9.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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 1

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

series45.0ms

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

simplify30.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0186193
1908173
25001173

prune88.0ms

Filtered
53 candidates to 38 candidates (71.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New49453
Fresh000
Picked101
Done000
Total50454

Merged error: 0b

Counts
54 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

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

series67.0ms

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

simplify31.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04398
114986
279086
3500186

prune49.0ms

Filtered
26 candidates to 21 candidates (80.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New26026
Fresh033
Picked011
Done000
Total26430

Merged error: 0b

Counts
30 → 4

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

rewrite14.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))
4.0ms
(* a (fma (sqrt (+ b c)) (sqrt (+ b c)) d))
3.0ms
(fma (sqrt (+ b c)) (sqrt (+ b c)) d)

series298.0ms

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

simplify92.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 3 (86.0ms)

IterNodesCost
0237478
1877382
24265367
35001365

prune158.0ms

Filtered
82 candidates to 67 candidates (81.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New82082
Fresh022
Picked011
Done011
Total82486

Merged error: 0b

Counts
86 → 4

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

rewrite41.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:
6.0ms
(sqrt (+ (+ b c) d))
6.0ms
(sqrt (+ (+ b c) d))
9.0ms
(* a (sqrt (+ (+ b c) d)))
15.0ms
(* (* a (sqrt (+ (+ b c) d))) (sqrt (+ (+ b c) d)))

series237.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(sqrt (+ (+ b c) d))
51.0ms
(sqrt (+ (+ b c) d))
75.0ms
(* a (sqrt (+ (+ b c) d)))
63.0ms
(* (* a (sqrt (+ (+ b c) d))) (sqrt (+ (+ b c) d)))

simplify62.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0369775
11502669
25002642

prune180.0ms

Filtered
113 candidates to 77 candidates (68.1%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1130113
Fresh011
Picked011
Done022
Total1134117

Merged error: 0b

Counts
117 → 4

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

sample666.0ms

Algorithm
intervals
Results
292.0ms8000×pre80true
177.0ms8000×body80valid