Details

Time bar (total: 2.6s)

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

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

series25.0ms

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

simplify104.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0151122
1779108
24782108
35001108

prune63.0ms

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

series69.0ms

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

simplify31.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
04398
114986
279086
3500186

prune74.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

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

rewrite146.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:
18.0ms
(sqrt (+ (+ b c) d))
19.0ms
(sqrt (+ (+ b c) d))
36.0ms
(* a (sqrt (+ (+ b c) d)))
70.0ms
(* (* a (sqrt (+ (+ b c) d))) (sqrt (+ (+ b c) d)))

series242.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(sqrt (+ (+ b c) d))
51.0ms
(sqrt (+ (+ b c) d))
72.0ms
(* a (sqrt (+ (+ b c) d)))
67.0ms
(* (* a (sqrt (+ (+ b c) d))) (sqrt (+ (+ b c) d)))

simplify48.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0369775
11502669
25002642

prune228.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* (+ b c) (+ b c)) (* d d))
0.0b
(* (+ b c) (+ b c))
0.7b
(* a (- (* (+ b c) (+ b c)) (* d d)))
6.1b
(/ (* 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))
31.0ms
(* a (- (* (+ b c) (+ b c)) (* d d)))
34.0ms
(/ (* a (- (* (+ b c) (+ b c)) (* d d))) (- (+ b c) d))

series304.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(- (* (+ b c) (+ b c)) (* d d))
14.0ms
(* (+ b c) (+ b c))
126.0ms
(* a (- (* (+ b c) (+ b c)) (* d d)))
102.0ms
(/ (* a (- (* (+ b c) (+ b c)) (* d d))) (- (+ b c) d))

simplify88.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
05511054
12922921
25001909

prune253.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

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

sample530.0ms

Algorithm
intervals
Results
180.0ms8000×pre80true
153.0ms8000×body80valid