Details

Time bar (total: 3.3s)

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
1393
2653
3703
4703

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite41.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 distribute-lft-in flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ add-log-exp unswap-sqr
Counts
1 → 24
Calls
1 calls:
40.0ms
(* a (+ (+ b c) d))

series27.0ms

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

simplify99.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0146114
1738100
24526100
35001100

prune48.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite135.0ms

Algorithm
rewrite-expression-head
Rules
61×pow1
32×sqrt-pow1
23×pow-prod-down
20×associate-*r/
16×sqrt-div
15×*-un-lft-identity
14×add-sqr-sqrt
12×pow1/2
10×add-cube-cbrt pow-prod-up
flip3-+ associate-*r* flip-+
add-exp-log add-cbrt-cube
associate-*l*
sqrt-prod pow-sqr
frac-times swap-sqr add-log-exp
distribute-lft-out
associate-*l/ prod-exp *-commutative cbrt-unprod unswap-sqr
pow2 distribute-rgt-in distribute-lft-in pow-plus sqrt-unprod rem-square-sqrt
Counts
4 → 107
Calls
4 calls:
36.0ms
(* a (+ (+ b c) d))
12.0ms
(sqrt (* a (+ (+ b c) d)))
9.0ms
(sqrt (* a (+ (+ b c) d)))
74.0ms
(* (sqrt (* a (+ (+ b c) d))) (sqrt (* a (+ (+ b c) d))))

series421.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* a (+ (+ b c) d))
181.0ms
(sqrt (* a (+ (+ b c) d)))
187.0ms
(sqrt (* a (+ (+ b c) d)))
28.0ms
(* (sqrt (* a (+ (+ b c) d))) (sqrt (* a (+ (+ b c) d))))

simplify60.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0328706
11745621
25001599

prune211.0ms

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

rewrite183.0ms

Algorithm
rewrite-expression-head
Rules
68×pow1
41×pow-prod-down
30×add-sqr-sqrt
29×sqrt-prod
28×*-un-lft-identity
21×sqrt-pow1 pow1/2
20×add-exp-log add-cbrt-cube
18×sqrt-div associate-*r/
17×associate-*r*
13×add-cube-cbrt associate-*l*
10×prod-exp cbrt-unprod
flip3-+ flip-+ distribute-lft-out
pow-prod-up unswap-sqr
sqrt-unprod
pow-sqr
frac-times add-log-exp
*-commutative
pow-plus associate-*l/
pow2 rem-sqrt-square swap-sqr rem-square-sqrt
Counts
4 → 137
Calls
4 calls:
17.0ms
(sqrt (+ (+ b c) d))
37.0ms
(* (sqrt a) (sqrt (+ (+ b c) d)))
39.0ms
(* (sqrt a) (sqrt (+ (+ b c) d)))
84.0ms
(* (* (sqrt a) (sqrt (+ (+ b c) d))) (* (sqrt a) (sqrt (+ (+ b c) d))))

series449.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(sqrt (+ (+ b c) d))
171.0ms
(* (sqrt a) (sqrt (+ (+ b c) d)))
173.0ms
(* (sqrt a) (sqrt (+ (+ b c) d)))
52.0ms
(* (* (sqrt a) (sqrt (+ (+ b c) d))) (* (sqrt a) (sqrt (+ (+ b c) d))))

simplify62.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04241035
11864877
25001859

prune277.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.5b
(* (- (* (+ b c) (+ b c)) (* d d)) a)
7.4b
(/ (* (- (* (+ b c) (+ b c)) (* d d)) a) (- (+ b c) d))

rewrite89.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
associate-*l* distribute-lft-out
associate-*r*
flip3-+ times-frac swap-sqr associate-*l/ associate-/r* flip-+ add-log-exp
frac-times flip3-- flip-- distribute-lft-out-- difference-of-squares
prod-exp cbrt-unprod
cbrt-undiv distribute-rgt-in distribute-lft-in associate-*r/ div-exp pow-prod-down associate--l+ associate-/r/ *-commutative associate-/l/ unswap-sqr
pow2 sub-neg frac-2neg pow-plus diff-log clear-num pow-sqr pow-prod-up div-inv associate-/l*
Counts
4 → 107
Calls
4 calls:
8.0ms
(- (* (+ b c) (+ b c)) (* d d))
16.0ms
(* (+ b c) (+ b c))
32.0ms
(* (- (* (+ b c) (+ b c)) (* d d)) a)
30.0ms
(/ (* (- (* (+ b c) (+ b c)) (* d d)) a) (- (+ b c) d))

series225.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
0496914
12633788
25001784

prune217.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

regimes137.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
0103
1103

end0.0ms

sample506.0ms

Algorithm
intervals
Results
176.0ms8000×pre80true
144.0ms8000×body80valid