Details

Time bar (total: 3.0s)

sample22.0ms

Algorithm
intervals
Results
6.0ms256×pre80true
5.0ms256×body80valid

simplify8.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 2 expressions with local error:

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

rewrite14.0ms

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

series45.0ms

Counts
2 → 6
Calls
2 calls:
19.0ms
(+ (+ b c) d)
26.0ms
(* a (+ (+ b c) d))

simplify29.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0177179
1861160
25001160

prune74.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
12×add-sqr-sqrt associate-*l*
10×pow1 add-exp-log add-cbrt-cube
add-cube-cbrt add-log-exp
sqrt-prod
associate-*r/ associate-*r* distribute-lft-out
distribute-rgt-in distribute-lft-in
pow-prod-down prod-exp cbrt-unprod
flip3-+ sum-log flip-+
*-commutative unswap-sqr
+-commutative associate-+l+
Counts
3 → 70
Calls
3 calls:
8.0ms
(+ (+ b c) d)
9.0ms
(* (sqrt a) (+ (+ b c) d))
11.0ms
(* (sqrt a) (* (sqrt a) (+ (+ b c) d)))

series162.0ms

Counts
3 → 9
Calls
3 calls:
15.0ms
(+ (+ b c) d)
95.0ms
(* (sqrt a) (+ (+ b c) d))
53.0ms
(* (sqrt a) (* (sqrt a) (+ (+ b c) d)))

simplify44.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0288418
11420355
25003355

prune134.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sqrt a) (+ (+ b c) d))
0.3b
(* (sqrt a) (+ (+ b c) d))
0.3b
(* (sqrt a) (* (sqrt (* (sqrt a) (+ (+ b c) d))) (sqrt (* (sqrt a) (+ (+ b c) d)))))
0.5b
(* (sqrt (* (sqrt a) (+ (+ b c) d))) (sqrt (* (sqrt a) (+ (+ b c) d))))

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
78×pow1
40×sqrt-pow1 associate-*r/
39×pow-prod-down
28×add-sqr-sqrt
26×*-un-lft-identity
24×sqrt-div
22×associate-*l*
16×add-cube-cbrt sqrt-prod
15×add-exp-log associate-*r* add-cbrt-cube
14×flip3-+ flip-+
13×pow1/2
10×pow-prod-up
frac-times
unswap-sqr
prod-exp pow-sqr cbrt-unprod distribute-lft-out
swap-sqr associate-*l/ *-commutative add-log-exp
sqrt-unprod
distribute-rgt-in distribute-lft-in
pow2 pow-plus rem-square-sqrt
Counts
4 → 150
Calls
4 calls:
9.0ms
(* (sqrt a) (+ (+ b c) d))
9.0ms
(* (sqrt a) (+ (+ b c) d))
29.0ms
(* (sqrt a) (* (sqrt (* (sqrt a) (+ (+ b c) d))) (sqrt (* (sqrt a) (+ (+ b c) d)))))
18.0ms
(* (sqrt (* (sqrt a) (+ (+ b c) d))) (sqrt (* (sqrt a) (+ (+ b c) d))))

series580.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(* (sqrt a) (+ (+ b c) d))
94.0ms
(* (sqrt a) (+ (+ b c) d))
122.0ms
(* (sqrt a) (* (sqrt (* (sqrt a) (+ (+ b c) d))) (sqrt (* (sqrt a) (+ (+ b c) d)))))
270.0ms
(* (sqrt (* (sqrt a) (+ (+ b c) d))) (sqrt (* (sqrt a) (+ (+ b c) d))))

simplify79.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
04131204
121531038
25001995

prune322.0ms

Pruning

3 alts after pruning (1 fresh and 2 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.4b
(* a (- (* (+ b c) (+ b c)) (* d d)))
5.5b
(/ (* a (- (* (+ b c) (+ b c)) (* d d))) (- (+ b c) d))

rewrite51.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
frac-times flip3-- flip-- distribute-lft-out-- difference-of-squares
sub-neg 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 diff-log clear-num pow-sqr pow-prod-up div-inv associate-/l*
Counts
4 → 115
Calls
4 calls:
8.0ms
(- (* (+ b c) (+ b c)) (* d d))
8.0ms
(* (+ b c) (+ b c))
15.0ms
(* a (- (* (+ b c) (+ b c)) (* d d)))
17.0ms
(/ (* a (- (* (+ b c) (+ b c)) (* d d))) (- (+ b c) d))

series311.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(- (* (+ b c) (+ b c)) (* d d))
18.0ms
(* (+ b c) (+ b c))
127.0ms
(* a (- (* (+ b c) (+ b c)) (* d d)))
108.0ms
(/ (* a (- (* (+ b c) (+ b c)) (* d d))) (- (+ b c) d))

simplify83.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
0522976
12747841
25001837

prune226.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

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

sample544.0ms

Algorithm
intervals
Results
193.0ms8000×pre80true
154.0ms8000×body80valid