Details

Time bar (total: 5.6s)

sample15.0ms

Algorithm
intervals
Results
5.0ms241×body80valid
1.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify311.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0205
1644
22034
33274
43394
53454
64134
75164
85614
97004
109094
1112714
1239214
1350014

prune4.0ms

Filtered
1 candidates to 1 candidates (100.0%)
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
(+ (* 2 (+ x y)) (+ x z))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
flip3-+ flip-+
associate-*r/ frac-add
sum-log
associate-+l+
pow1 add-exp-log +-commutative distribute-rgt-in add-sqr-sqrt add-cube-cbrt associate-+r+ *-un-lft-identity distribute-lft-in add-cbrt-cube
Counts
1 → 19
Calls
1 calls:
12.0ms
(+ (* 2 (+ x y)) (+ x z))

series22.0ms

Counts
1 → 3
Calls
1 calls:
22.0ms
(+ (* 2 (+ x y)) (+ x z))

simplify34.0ms

Algorithm
egg-herbie
Counts
22 → 22
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0275199
11174190
25001185

prune50.0ms

Filtered
22 candidates to 17 candidates (77.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 2 (+ x y)) (+ x z))
0.0b
(sqrt (+ (* 2 (+ x y)) (+ x z)))
0.0b
(sqrt (+ (* 2 (+ x y)) (+ x z)))
0.2b
(* (sqrt (+ (* 2 (+ x y)) (+ x z))) (sqrt (+ (* 2 (+ x y)) (+ x z))))

rewrite160.0ms

Algorithm
rewrite-expression-head
Rules
96×sqrt-div
85×flip3-+ flip-+
74×associate-*r/
68×frac-add
36×frac-times
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
add-log-exp
swap-sqr
add-exp-log associate-*r* associate-*l* associate-*l/ add-cbrt-cube
pow-prod-up
unswap-sqr
pow-prod-down sum-log pow-sqr
rem-sqrt-square associate-+l+
+-commutative pow2 distribute-rgt-in associate-+r+ distribute-lft-in pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 154
Calls
4 calls:
12.0ms
(+ (* 2 (+ x y)) (+ x z))
20.0ms
(sqrt (+ (* 2 (+ x y)) (+ x z)))
20.0ms
(sqrt (+ (* 2 (+ x y)) (+ x z)))
95.0ms
(* (sqrt (+ (* 2 (+ x y)) (+ x z))) (sqrt (+ (* 2 (+ x y)) (+ x z))))

series197.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (* 2 (+ x y)) (+ x z))
59.0ms
(sqrt (+ (* 2 (+ x y)) (+ x z)))
61.0ms
(sqrt (+ (* 2 (+ x y)) (+ x z)))
54.0ms
(* (sqrt (+ (* 2 (+ x y)) (+ x z))) (sqrt (+ (* 2 (+ x y)) (+ x z))))

simplify82.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
05212866
122102777
250012756

prune421.0ms

Filtered
166 candidates to 102 candidates (61.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (fabs (cbrt (+ (* 2 (+ x y)) (+ x z)))) (sqrt (cbrt (+ (* 2 (+ x y)) (+ x z)))))
0.2b
(* (* (fabs (cbrt (+ (* 2 (+ x y)) (+ x z)))) (sqrt (cbrt (+ (* 2 (+ x y)) (+ x z))))) (sqrt (+ (* 2 (+ x y)) (+ x z))))
0.6b
(cbrt (+ (* 2 (+ x y)) (+ x z)))
0.6b
(cbrt (+ (* 2 (+ x y)) (+ x z)))

rewrite183.0ms

Algorithm
rewrite-expression-head
Rules
122×associate-*r/
90×sqrt-div
85×flip3-+ flip-+
68×frac-add
60×cbrt-div
36×frac-times
18×add-sqr-sqrt
15×associate-*r*
12×add-cube-cbrt *-un-lft-identity
11×pow1 add-exp-log sqrt-prod add-cbrt-cube
10×cbrt-prod
associate-*l/
associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp
unswap-sqr
pow1/3 *-commutative
Counts
4 → 135
Calls
4 calls:
50.0ms
(* (fabs (cbrt (+ (* 2 (+ x y)) (+ x z)))) (sqrt (cbrt (+ (* 2 (+ x y)) (+ x z)))))
97.0ms
(* (* (fabs (cbrt (+ (* 2 (+ x y)) (+ x z)))) (sqrt (cbrt (+ (* 2 (+ x y)) (+ x z))))) (sqrt (+ (* 2 (+ x y)) (+ x z))))
13.0ms
(cbrt (+ (* 2 (+ x y)) (+ x z)))
11.0ms
(cbrt (+ (* 2 (+ x y)) (+ x z)))

series1.4s

Counts
4 → 12
Calls
4 calls:
374.0ms
(* (fabs (cbrt (+ (* 2 (+ x y)) (+ x z)))) (sqrt (cbrt (+ (* 2 (+ x y)) (+ x z)))))
494.0ms
(* (* (fabs (cbrt (+ (* 2 (+ x y)) (+ x z)))) (sqrt (cbrt (+ (* 2 (+ x y)) (+ x z))))) (sqrt (+ (* 2 (+ x y)) (+ x z))))
252.0ms
(cbrt (+ (* 2 (+ x y)) (+ x z)))
244.0ms
(cbrt (+ (* 2 (+ x y)) (+ x z)))

simplify112.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
09644137
136103994
250023984

prune800.0ms

Filtered
147 candidates to 128 candidates (87.1%)
Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* 2 (+ x y)) (+ x z))
0.0b
(* (+ x z) (+ x z))
15.7b
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* (+ x z) (+ x z)))
35.4b
(/ (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* (+ x z) (+ x z))) (- (* 2 (+ x y)) (+ x z)))

rewrite202.0ms

Algorithm
rewrite-expression-head
Rules
266×associate-*r/
206×flip3-+ flip-+
136×frac-sub
132×frac-times
66×associate-*l/ associate-/l/
31×*-un-lft-identity
19×add-sqr-sqrt
17×add-cube-cbrt
12×times-frac
11×pow1 add-log-exp
add-exp-log add-cbrt-cube
distribute-rgt-in distribute-lft-in
swap-sqr associate--l+ associate-/r/ distribute-lft-out
difference-of-squares
flip3-- associate-*r* associate-*l* flip-- associate-/l*
diff-log associate-/r* associate--r+
sub-neg
cbrt-undiv pow2 frac-2neg pow-plus div-sub div-exp pow-prod-down prod-exp clear-num sum-log pow-sqr *-commutative pow-prod-up cbrt-unprod div-inv unswap-sqr
Counts
4 → 247
Calls
4 calls:
11.0ms
(- (* 2 (+ x y)) (+ x z))
16.0ms
(* (+ x z) (+ x z))
41.0ms
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* (+ x z) (+ x z)))
107.0ms
(/ (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* (+ x z) (+ x z))) (- (* 2 (+ x y)) (+ x z)))

series216.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(- (* 2 (+ x y)) (+ x z))
14.0ms
(* (+ x z) (+ x z))
97.0ms
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* (+ x z) (+ x z)))
84.0ms
(/ (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* (+ x z) (+ x z))) (- (* 2 (+ x y)) (+ x z)))

simplify84.0ms

Algorithm
egg-herbie
Counts
259 → 259
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
015824891
150024795

prune840.0ms

Filtered
259 candidates to 182 candidates (70.3%)
Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0.0b

regimes62.0ms

Accuracy

0% (0.0b 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

sample387.0ms

Algorithm
intervals
Results
165.0ms7455×body80valid
18.0ms182×body1280valid
17.0ms168×body640valid
10.0ms114×body320valid
4.0ms36×body2560valid
3.0ms63×body160valid