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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 1 expressions with local error:

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

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

series25.0ms

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

simplify97.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0151122
1779108
24782108
35001108

prune63.0ms

Filtered
29 candidates to 22 candidates (75.9%)
Pruning

4 alts after pruning (4 fresh and 0 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)))

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

series67.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(fma a b (* a c))
31.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

prune67.0ms

Filtered
26 candidates to 21 candidates (80.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize10.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.2b
(sqrt (fma a b (* a c)))
0.2b
(sqrt (fma a b (* a c)))
0.5b
(* (sqrt (fma a b (* a c))) (sqrt (fma a b (* a c))))

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

series181.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(fma d a (* (sqrt (fma a b (* a c))) (sqrt (fma a b (* a c)))))
57.0ms
(sqrt (fma a b (* a c)))
53.0ms
(sqrt (fma a b (* a c)))
38.0ms
(* (sqrt (fma a b (* a c))) (sqrt (fma a b (* a c))))

simplify174.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0176555
1679470
24042440
35001440

prune225.0ms

Filtered
103 candidates to 60 candidates (58.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* (+ b c) (+ b c)) (* d d))
0.0b
(* (+ b c) (+ b c))
0.4b
(* a (- (* (+ b c) (+ b c)) (* d d)))
8.4b
(/ (* a (- (* (+ b c) (+ b c)) (* d d))) (- (+ b c) d))

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
36×*-un-lft-identity
20×add-sqr-sqrt
13×pow1 add-exp-log add-cbrt-cube
12×add-cube-cbrt
distribute-rgt-in distribute-lft-in
associate-*r* distribute-lft-out
associate-*l*
flip3-+ times-frac associate-*r/ swap-sqr associate--l+ associate-/r* flip-+ add-log-exp
expm1-log1p-u frac-times flip3-- flip-- log1p-expm1-u distribute-lft-out-- difference-of-squares
sub-neg prod-diff prod-exp cbrt-unprod
cbrt-undiv div-exp pow-prod-down associate-*l/ associate-/r/ *-commutative associate-/l/ unswap-sqr
pow2 frac-2neg pow-plus fma-neg diff-log clear-num pow-sqr pow-prod-up div-inv associate-/l*
Counts
4 → 127
Calls
4 calls:
9.0ms
(- (* (+ b c) (+ b c)) (* d d))
16.0ms
(* (+ b c) (+ b c))
33.0ms
(* a (- (* (+ b c) (+ b c)) (* d d)))
33.0ms
(/ (* a (- (* (+ b c) (+ b c)) (* d d))) (- (+ b c) d))

series292.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(- (* (+ b c) (+ b c)) (* d d))
13.0ms
(* (+ b c) (+ b c))
124.0ms
(* a (- (* (+ b c) (+ b c)) (* d d)))
100.0ms
(/ (* a (- (* (+ b c) (+ b c)) (* d d))) (- (+ b c) d))

simplify88.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
05511054
12922921
25001909

prune248.0ms

Filtered
139 candidates to 89 candidates (64.0%)
Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

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

sample516.0ms

Algorithm
intervals
Results
178.0ms8000×pre80true
148.0ms8000×body80valid