Details

Time bar (total: 3.4s)

sample26.0ms

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

localize5.0ms

Local error

Found 1 expressions with local error:

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

series31.0ms

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

simplify97.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0146114
1738100
24526100
35001100

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

rewrite140.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:
38.0ms
(* a (+ (+ b c) d))
10.0ms
(sqrt (* a (+ (+ b c) d)))
10.0ms
(sqrt (* a (+ (+ b c) d)))
76.0ms
(* (sqrt (* a (+ (+ b c) d))) (sqrt (* a (+ (+ b c) d))))

series427.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(* a (+ (+ b c) d))
187.0ms
(sqrt (* a (+ (+ b c) d)))
186.0ms
(sqrt (* a (+ (+ b c) d)))
27.0ms
(* (sqrt (* a (+ (+ b c) d))) (sqrt (* a (+ (+ b c) d))))

simplify66.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0328694
11716621
25001599

prune209.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

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

rewrite189.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:
16.0ms
(sqrt (+ (+ b c) d))
40.0ms
(* (sqrt a) (sqrt (+ (+ b c) d)))
39.0ms
(* (sqrt a) (sqrt (+ (+ b c) d)))
88.0ms
(* (* (sqrt a) (sqrt (+ (+ b c) d))) (* (sqrt a) (sqrt (+ (+ b c) d))))

series457.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(sqrt (+ (+ b c) d))
176.0ms
(* (sqrt a) (sqrt (+ (+ b c) d)))
178.0ms
(* (sqrt a) (sqrt (+ (+ b c) d)))
54.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
04241040
11910877
25003859

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

rewrite97.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:
11.0ms
(- (* (+ b c) (+ b c)) (* d d))
17.0ms
(* (+ b c) (+ b c))
31.0ms
(* (- (* (+ b c) (+ b c)) (* d d)) a)
35.0ms
(/ (* (- (* (+ b c) (+ b c)) (* d d)) a) (- (+ b c) d))

series230.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(- (* (+ b c) (+ b c)) (* d d))
15.0ms
(* (+ b c) (+ b c))
81.0ms
(* (- (* (+ b c) (+ b c)) (* d d)) a)
70.0ms
(/ (* (- (* (+ b c) (+ b c)) (* d d)) a) (- (+ b c) d))

simplify77.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
0496914
12633788
25001784

prune222.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

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

sample525.0ms

Algorithm
intervals
Results
190.0ms8000×pre80true
142.0ms8000×body80valid