Details

Time bar (total: 6.1s)

sample29.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
7.0ms228×body80nan

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1337
2427
3447
4447

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 19.1b

localize10.0ms

Local error

Found 3 expressions with local error:

0.8b
(+ (* x y) (* x z))
1.0b
(+ (+ (* x y) (* x z)) (* y z))
18.0b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sum-log
add-exp-log flip3-+ sqrt-prod add-cbrt-cube flip-+
+-commutative sqrt-div
rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2 distribute-lft-out
Counts
3 → 40
Calls
3 calls:
2.0ms
(+ (* x y) (* x z))
11.0ms
(+ (+ (* x y) (* x z)) (* y z))
13.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series160.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(+ (* x y) (* x z))
20.0ms
(+ (+ (* x y) (* x z)) (* y z))
110.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify111.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0249355
1908322
23660314
35001314

prune129.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 19.1b

localize12.0ms

Local error

Found 4 expressions with local error:

1.0b
(+ (+ (* x y) (* x z)) (* y z))
1.0b
(+ (+ (* x y) (* x z)) (* y z))
18.0b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
18.0b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
14×add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sum-log sqrt-prod
add-exp-log flip3-+ sqrt-div add-cbrt-cube flip-+
+-commutative rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2
Counts
4 → 56
Calls
4 calls:
11.0ms
(+ (+ (* x y) (* x z)) (* y z))
11.0ms
(+ (+ (* x y) (* x z)) (* y z))
12.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
13.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series278.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(+ (+ (* x y) (* x z)) (* y z))
19.0ms
(+ (+ (* x y) (* x z)) (* y z))
103.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))
136.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify86.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0186576
1666520
22872508
35001508

prune400.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 19.1b

localize27.0ms

Local error

Found 4 expressions with local error:

1.8b
(+ (* (* x (+ y z)) (+ (* z (- x y)) (* x y))) (* (* y z) (* y z)))
5.8b
(+ (pow (+ (* x y) (* x z)) 3) (pow (* y z) 3))
18.0b
(sqrt (/ (+ (pow (+ (* x y) (* x z)) 3) (pow (* y z) 3)) (+ (* (* x (+ y z)) (+ (* z (- x y)) (* x y))) (* (* y z) (* y z)))))
40.6b
(/ (+ (pow (+ (* x y) (* x z)) 3) (pow (* y z) 3)) (+ (* (* x (+ y z)) (+ (* z (- x y)) (* x y))) (* (* y z) (* y z))))

rewrite246.0ms

Algorithm
rewrite-expression-head
Rules
39×*-un-lft-identity
31×times-frac
26×add-sqr-sqrt
23×add-cube-cbrt
21×sqrt-prod
sum-cubes distribute-lft-out add-log-exp
add-exp-log add-cbrt-cube
pow1 flip3-+ flip-+ associate-/l*
associate-/r/
associate-/r*
+-commutative rem-sqrt-square associate-+l+ sum-log div-inv associate-/l/
cbrt-undiv distribute-rgt-in frac-2neg distribute-lft-in sqrt-pow1 pow1/2 sqrt-div div-exp clear-num
Counts
4 → 98
Calls
4 calls:
21.0ms
(+ (* (* x (+ y z)) (+ (* z (- x y)) (* x y))) (* (* y z) (* y z)))
31.0ms
(+ (pow (+ (* x y) (* x z)) 3) (pow (* y z) 3))
82.0ms
(sqrt (/ (+ (pow (+ (* x y) (* x z)) 3) (pow (* y z) 3)) (+ (* (* x (+ y z)) (+ (* z (- x y)) (* x y))) (* (* y z) (* y z)))))
110.0ms
(/ (+ (pow (+ (* x y) (* x z)) 3) (pow (* y z) 3)) (+ (* (* x (+ y z)) (+ (* z (- x y)) (* x y))) (* (* y z) (* y z))))

series805.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(+ (* (* x (+ y z)) (+ (* z (- x y)) (* x y))) (* (* y z) (* y z)))
176.0ms
(+ (pow (+ (* x y) (* x z)) 3) (pow (* y z) 3))
322.0ms
(sqrt (/ (+ (pow (+ (* x y) (* x z)) 3) (pow (* y z) 3)) (+ (* (* x (+ y z)) (+ (* z (- x y)) (* x y))) (* (* y z) (* y z)))))
197.0ms
(/ (+ (pow (+ (* x y) (* x z)) 3) (pow (* y z) 3)) (+ (* (* x (+ y z)) (+ (* z (- x y)) (* x y))) (* (* y z) (* y z))))

simplify104.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
04722741
122372550
250012543

prune441.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 18.8b

localize29.0ms

Local error

Found 4 expressions with local error:

17.5b
(sqrt (/ (+ (+ (* x y) (* x z)) (* y z)) (+ (* (* x (+ y z)) (+ (* z (- x y)) (* x y))) (* (* y z) (* y z)))))
18.2b
(* (sqrt (/ (+ (* (+ (* x y) (* x z)) (+ (* x y) (* x z))) (- (* (* y z) (* y z)) (* (+ (* x y) (* x z)) (* y z)))) 1)) (sqrt (/ (+ (+ (* x y) (* x z)) (* y z)) (+ (* (* x (+ y z)) (+ (* z (- x y)) (* x y))) (* (* y z) (* y z))))))
18.9b
(sqrt (/ (+ (* (+ (* x y) (* x z)) (+ (* x y) (* x z))) (- (* (* y z) (* y z)) (* (+ (* x y) (* x z)) (* y z)))) 1))
37.3b
(/ (+ (+ (* x y) (* x z)) (* y z)) (+ (* (* x (+ y z)) (+ (* z (- x y)) (* x y))) (* (* y z) (* y z))))

rewrite404.0ms

Algorithm
rewrite-expression-head
Rules
80×add-sqr-sqrt
73×sqrt-prod
58×times-frac
46×*-un-lft-identity
42×add-cube-cbrt
18×associate-*r*
16×associate-*l*
12×unswap-sqr
10×pow1
add-exp-log add-cbrt-cube
sqrt-div associate-/r/
rem-sqrt-square div-inv
sqrt-pow1 flip3-+ pow1/2 flip-+ add-log-exp
pow-prod-down associate-/r* associate-/l*
associate-/l/
cbrt-undiv frac-times frac-2neg sqrt-unprod associate-*r/ div-exp associate-*l/ prod-exp clear-num *-commutative cbrt-unprod
Counts
4 → 147
Calls
4 calls:
53.0ms
(sqrt (/ (+ (+ (* x y) (* x z)) (* y z)) (+ (* (* x (+ y z)) (+ (* z (- x y)) (* x y))) (* (* y z) (* y z)))))
227.0ms
(* (sqrt (/ (+ (* (+ (* x y) (* x z)) (+ (* x y) (* x z))) (- (* (* y z) (* y z)) (* (+ (* x y) (* x z)) (* y z)))) 1)) (sqrt (/ (+ (+ (* x y) (* x z)) (* y z)) (+ (* (* x (+ y z)) (+ (* z (- x y)) (* x y))) (* (* y z) (* y z))))))
55.0ms
(sqrt (/ (+ (* (+ (* x y) (* x z)) (+ (* x y) (* x z))) (- (* (* y z) (* y z)) (* (+ (* x y) (* x z)) (* y z)))) 1))
63.0ms
(/ (+ (+ (* x y) (* x z)) (* y z)) (+ (* (* x (+ y z)) (+ (* z (- x y)) (* x y))) (* (* y z) (* y z))))

series907.0ms

Counts
4 → 12
Calls
4 calls:
423.0ms
(sqrt (/ (+ (+ (* x y) (* x z)) (* y z)) (+ (* (* x (+ y z)) (+ (* z (- x y)) (* x y))) (* (* y z) (* y z)))))
117.0ms
(* (sqrt (/ (+ (* (+ (* x y) (* x z)) (+ (* x y) (* x z))) (- (* (* y z) (* y z)) (* (+ (* x y) (* x z)) (* y z)))) 1)) (sqrt (/ (+ (+ (* x y) (* x z)) (* y z)) (+ (* (* x (+ y z)) (+ (* z (- x y)) (* x y))) (* (* y z) (* y z))))))
129.0ms
(sqrt (/ (+ (* (+ (* x y) (* x z)) (+ (* x y) (* x z))) (- (* (* y z) (* y z)) (* (+ (* x y) (* x z)) (* y z)))) 1))
238.0ms
(/ (+ (+ (* x y) (* x z)) (* y z)) (+ (* (* x (+ y z)) (+ (* z (- x y)) (* x y))) (* (* y z) (* y z))))

simplify114.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
05495289
124044992
250014876

prune686.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 18.8b

regimes170.0ms

Accuracy

0% (0.3b remaining)

Error of 19.7b against oracle of 19.4b and baseline of 19.7b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177
1177

end0.0ms

sample827.0ms

Algorithm
intervals
Results
254.0ms8062×body80nan
252.0ms8000×body80valid