Details

Time bar (total: 2.3s)

sample21.0ms

Algorithm
intervals
Results
10.0ms319×body80valid
0.0msbody320valid
0.0msbody640valid
0.0msbody160valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0184
1343
2523
3603
4603

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (+ (* d1 3.0) (* d1 d2)) (* d1 d3))
0.0b
(+ (* d1 3.0) (* d1 d2))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
sum-log
distribute-lft-out
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ add-cbrt-cube flip-+
associate-+l+
Counts
2 → 26
Calls
2 calls:
11.0ms
(+ (+ (* d1 3.0) (* d1 d2)) (* d1 d3))
2.0ms
(+ (* d1 3.0) (* d1 d2))

series81.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(+ (+ (* d1 3.0) (* d1 d2)) (* d1 d3))
40.0ms
(+ (* d1 3.0) (* d1 d2))

simplify106.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0187191
1787163
23595151
35001151

prune63.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* d1 (+ d2 d3))
0.0b
(+ (* d1 3.0) (* d1 (+ d2 d3)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity
pow1 add-exp-log add-cube-cbrt associate-*r* add-cbrt-cube add-log-exp
associate-*l*
distribute-rgt-in associate-+r+ distribute-lft-in flip3-+ associate-*r/ flip-+ distribute-lft-out
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
2 → 37
Calls
2 calls:
9.0ms
(* d1 (+ d2 d3))
3.0ms
(+ (* d1 3.0) (* d1 (+ d2 d3)))

series64.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(* d1 (+ d2 d3))
40.0ms
(+ (* d1 3.0) (* d1 (+ d2 d3)))

simplify35.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0214179
11012161
25001158

prune77.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ (* (* d1 d1) (- (* 3.0 3.0) (* d2 d2))) (* d1 (- 3.0 d2))) (* d1 d3))
0.0b
(* d1 (- 3.0 d2))
12.6b
(* (* d1 d1) (- (* 3.0 3.0) (* d2 d2)))
25.1b
(/ (* (* d1 d1) (- (* 3.0 3.0) (* d2 d2))) (* d1 (- 3.0 d2)))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
32×add-exp-log add-cbrt-cube
13×prod-exp cbrt-unprod
12×add-sqr-sqrt
11×pow1
*-un-lft-identity associate-*r*
associate-*r/
add-cube-cbrt
cbrt-undiv div-exp add-log-exp
distribute-rgt-in sub-neg flip3-- distribute-lft-in associate-*l* pow-prod-down flip--
associate-/r/ *-commutative associate-/l/ difference-of-squares unswap-sqr
+-commutative frac-2neg flip3-+ times-frac clear-num associate-/r* sum-log flip-+ div-inv associate-/l* distribute-lft-out--
Counts
4 → 92
Calls
4 calls:
20.0ms
(+ (/ (* (* d1 d1) (- (* 3.0 3.0) (* d2 d2))) (* d1 (- 3.0 d2))) (* d1 d3))
9.0ms
(* d1 (- 3.0 d2))
14.0ms
(* (* d1 d1) (- (* 3.0 3.0) (* d2 d2)))
15.0ms
(/ (* (* d1 d1) (- (* 3.0 3.0) (* d2 d2))) (* d1 (- 3.0 d2)))

series281.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(+ (/ (* (* d1 d1) (- (* 3.0 3.0) (* d2 d2))) (* d1 (- 3.0 d2))) (* d1 d3))
34.0ms
(* d1 (- 3.0 d2))
68.0ms
(* (* d1 d1) (- (* 3.0 3.0) (* d2 d2)))
90.0ms
(/ (* (* d1 d1) (- (* 3.0 3.0) (* d2 d2))) (* d1 (- 3.0 d2)))

simplify108.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (99.0ms)

IterNodesCost
0540891
13284690
25002667

prune198.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* 3.0 3.0) (* d2 d2))
0.0b
(+ (/ (* d1 (- (* 3.0 3.0) (* d2 d2))) (- 3.0 d2)) (* d1 d3))
7.1b
(* d1 (- (* 3.0 3.0) (* d2 d2)))
8.6b
(/ (* d1 (- (* 3.0 3.0) (* d2 d2))) (- 3.0 d2))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
12×*-un-lft-identity
11×add-exp-log add-cbrt-cube
add-cube-cbrt add-log-exp
pow1
times-frac associate-/r*
flip3-- associate-*r/ associate-*r* flip-- difference-of-squares
sub-neg associate-*l*
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/ distribute-lft-out--
+-commutative frac-2neg flip3-+ diff-log pow-prod-down clear-num sum-log *-commutative flip-+ div-inv associate-/l* unswap-sqr
Counts
4 → 78
Calls
4 calls:
3.0ms
(- (* 3.0 3.0) (* d2 d2))
21.0ms
(+ (/ (* d1 (- (* 3.0 3.0) (* d2 d2))) (- 3.0 d2)) (* d1 d3))
10.0ms
(* d1 (- (* 3.0 3.0) (* d2 d2)))
10.0ms
(/ (* d1 (- (* 3.0 3.0) (* d2 d2))) (- 3.0 d2))

series283.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(- (* 3.0 3.0) (* d2 d2))
89.0ms
(+ (/ (* d1 (- (* 3.0 3.0) (* d2 d2))) (- 3.0 d2)) (* d1 d3))
63.0ms
(* d1 (- (* 3.0 3.0) (* d2 d2)))
89.0ms
(/ (* d1 (- (* 3.0 3.0) (* d2 d2))) (- 3.0 d2))

simplify58.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0403655
11899570
25002536

prune184.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes60.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0124
1124

end0.0ms

sample476.0ms

Algorithm
intervals
Results
240.0ms9567×body80valid
18.0ms206×body640valid
10.0ms143×body320valid
10.0ms86×body1280valid
4.0ms93×body160valid