Details

Time bar (total: 3.0s)

sample22.0ms

Algorithm
intervals
Results
6.0ms256×pre80true
5.0ms256×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0183
1413
2763
31033
41033

prune2.0ms

Filtered
1 candidates to 0 candidates (100.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 1 expressions with local error:

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

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-sqr-sqrt associate-*r*
+-commutative distribute-rgt-in associate-+l+ distribute-lft-in
pow1 add-exp-log add-cube-cbrt associate-*l* add-cbrt-cube distribute-lft-out
associate-*r/
expm1-log1p-u flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ log1p-expm1-u add-log-exp unswap-sqr
Counts
1 → 32
Calls
1 calls:
8.0ms
(* a (+ (+ b c) d))

series28.0ms

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

simplify106.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0160140
1790126
24610126
35001126

prune51.0ms

Filtered
35 candidates to 25 candidates (28.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New32335
Fresh000
Picked011
Done000
Total32436

Merged error: 0b

Counts
36 → 4

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

series72.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
04398
114986
278286
3500186

prune56.0ms

Filtered
26 candidates to 21 candidates (19.2%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New26026
Fresh022
Picked011
Done011
Total26430

Merged error: 0b

Counts
30 → 4

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
45×add-sqr-sqrt
40×*-un-lft-identity
32×sqrt-prod
24×associate-*r* associate-*l*
18×sqrt-div
15×add-cube-cbrt distribute-lft-out
14×unswap-sqr
13×pow1
11×add-exp-log add-cbrt-cube
10×associate-*r/
flip3-+ flip-+
expm1-log1p-u frac-times pow-prod-down prod-exp cbrt-unprod log1p-expm1-u add-log-exp
*-commutative
rem-sqrt-square sqrt-pow1 pow1/2 associate-*l/ hypot-def
Counts
4 → 124
Calls
4 calls:
6.0ms
(sqrt (+ (+ b c) d))
6.0ms
(sqrt (+ (+ b c) d))
9.0ms
(* a (sqrt (+ (+ b c) d)))
21.0ms
(* (* a (sqrt (+ (+ b c) d))) (sqrt (+ (+ b c) d)))

series274.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(sqrt (+ (+ b c) d))
56.0ms
(sqrt (+ (+ b c) d))
86.0ms
(* a (sqrt (+ (+ b c) d)))
74.0ms
(* (* a (sqrt (+ (+ b c) d))) (sqrt (+ (+ b c) d)))

simplify61.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0391999
11558845
25001812

prune190.0ms

Filtered
136 candidates to 89 candidates (34.6%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1351136
Fresh101
Picked011
Done022
Total1364140

Merged error: 0b

Counts
140 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* (+ b c) (+ b c)) (* d d))
0.0b
(* (+ b c) (+ b c))
0.5b
(* (- (* (+ b c) (+ b c)) (* d d)) a)
6.8b
(/ (* (- (* (+ b c) (+ b c)) (* d d)) a) (- (+ b c) d))

rewrite201.0ms

Algorithm
rewrite-expression-head
Rules
1043×*-un-lft-identity
895×add-sqr-sqrt
495×associate-*l*
324×swap-sqr
300×prod-diff
282×times-frac
273×difference-of-squares
259×add-cube-cbrt
204×distribute-lft-out
186×distribute-lft-out--
152×associate-*r*
135×*-commutative unswap-sqr
47×associate-/l*
20×fma-neg
13×pow1 add-exp-log add-cbrt-cube
flip3-+ associate-*l/ associate-/r* flip-+ add-log-exp
+-commutative distribute-rgt-in expm1-log1p-u frac-times flip3-- distribute-lft-in associate--l+ flip-- log1p-expm1-u
prod-exp cbrt-unprod
cbrt-undiv associate-*r/ div-exp pow-prod-down associate-/r/ associate-/l/
pow2 sub-neg frac-2neg pow-plus diff-log clear-num pow-sqr pow-prod-up div-inv
Counts
4 → 829
Calls
4 calls:
35.0ms
(- (* (+ b c) (+ b c)) (* d d))
8.0ms
(* (+ b c) (+ b c))
35.0ms
(* (- (* (+ b c) (+ b c)) (* d d)) a)
50.0ms
(/ (* (- (* (+ b c) (+ b c)) (* d d)) a) (- (+ b c) d))

series254.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(- (* (+ b c) (+ b c)) (* d d))
15.0ms
(* (+ b c) (+ b c))
87.0ms
(* (- (* (+ b c) (+ b c)) (* d d)) a)
85.0ms
(/ (* (- (* (+ b c) (+ b c)) (* d d)) a) (- (+ b c) d))

simplify154.0ms

Algorithm
egg-herbie
Counts
841 → 841
Iterations

Useful iterations: 1 (40.0ms)

IterNodesCost
0140210485
150018855

prune436.0ms

Filtered
841 candidates to 194 candidates (76.9%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New8410841
Fresh000
Picked011
Done033
Total8414845

Merged error: 0b

Counts
845 → 4

regimes177.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0123
1123

end0.0ms

sample552.0ms

Algorithm
intervals
Results
188.0ms8000×pre80true
166.0ms8000×body80valid