Details

Time bar (total: 4.5s)

sample23.0ms

Algorithm
intervals
Results
9.0ms270×body80valid

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0238
1358
2608
31038
41838
54168
611948
750018

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.7b

localize12.0ms

Local error

Found 2 expressions with local error:

0.3b
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
11.2b
(/ (- (* y z) x) (- (* t z) x))

rewrite155.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
25×times-frac
20×add-sqr-sqrt add-cube-cbrt
10×distribute-lft-out
associate-/r* associate-/l*
add-exp-log add-cbrt-cube
associate-/r/ associate-/l/
div-sub
pow1 cbrt-undiv flip3-- frac-2neg flip3-+ div-exp clear-num flip-- flip-+ div-inv add-log-exp
associate-+r-
Counts
2 → 73
Calls
2 calls:
125.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
27.0ms
(/ (- (* y z) x) (- (* t z) x))

series186.0ms

Counts
2 → 6
Calls
2 calls:
126.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
60.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify41.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0363832
11306776
25001776

prune185.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.9b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0)) 3)
0.3b
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
11.2b
(/ (- (* y z) x) (- (* t z) x))
11.4b
(cbrt (pow (/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0)) 3))

rewrite334.0ms

Algorithm
rewrite-expression-head
Rules
144×*-un-lft-identity
89×times-frac
60×add-sqr-sqrt add-cube-cbrt
50×cbrt-prod
44×unpow-prod-down cube-prod
42×distribute-lft-out
12×associate-/r/
11×add-exp-log add-cbrt-cube
associate-/r* associate-/l*
flip3-+ flip-+ div-inv
pow1
associate-/l/ add-log-exp
cbrt-undiv pow-unpow div-sub div-exp
cube-div cube-mult flip3-- frac-2neg unpow3 pow-exp clear-num flip-- rem-cube-cbrt sqr-pow
pow-to-exp associate-+r- cbrt-div pow-pow pow1/3 rem-cbrt-cube
Counts
4 → 197
Calls
4 calls:
80.0ms
(pow (/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0)) 3)
120.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
27.0ms
(/ (- (* y z) x) (- (* t z) x))
97.0ms
(cbrt (pow (/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0)) 3))

series920.0ms

Counts
4 → 12
Calls
4 calls:
595.0ms
(pow (/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0)) 3)
126.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
61.0ms
(/ (- (* y z) x) (- (* t z) x))
137.0ms
(cbrt (pow (/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0)) 3))

simplify80.0ms

Algorithm
egg-herbie
Counts
209 → 209
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06462708
128962555
250012541

prune367.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.9b

localize17.0ms

Local error

Found 4 expressions with local error:

1.9b
(sqrt (/ (- (* y z) x) (- (* t z) x)))
1.9b
(sqrt (/ (- (* y z) x) (- (* t z) x)))
11.2b
(/ (- (* y z) x) (- (* t z) x))
11.2b
(/ (- (* y z) x) (- (* t z) x))

rewrite159.0ms

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt
38×times-frac
34×add-cube-cbrt *-un-lft-identity
30×sqrt-prod
add-exp-log associate-/r/ add-cbrt-cube
pow1 flip3-- associate-/r* flip-- associate-/l*
rem-sqrt-square div-inv associate-/l/ add-log-exp
cbrt-undiv frac-2neg sqrt-pow1 pow1/2 sqrt-div div-sub div-exp clear-num
Counts
4 → 118
Calls
4 calls:
36.0ms
(sqrt (/ (- (* y z) x) (- (* t z) x)))
37.0ms
(sqrt (/ (- (* y z) x) (- (* t z) x)))
52.0ms
(/ (- (* y z) x) (- (* t z) x))
27.0ms
(/ (- (* y z) x) (- (* t z) x))

series315.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(sqrt (/ (- (* y z) x) (- (* t z) x)))
79.0ms
(sqrt (/ (- (* y z) x) (- (* t z) x)))
61.0ms
(/ (- (* y z) x) (- (* t z) x))
97.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify76.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 3 (66.0ms)

IterNodesCost
02411152
17591072
228541068
350011060

prune431.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.9b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ x (/ y t))
5.7b
(/ (+ x (/ y t)) (+ x 1.0))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity
16×times-frac
12×add-sqr-sqrt add-cube-cbrt
11×distribute-lft-out
add-exp-log associate-/r* add-cbrt-cube associate-/l* add-log-exp
flip3-+ flip-+
pow1 associate-/r/ associate-/l/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 52
Calls
2 calls:
10.0ms
(+ x (/ y t))
42.0ms
(/ (+ x (/ y t)) (+ x 1.0))

series58.0ms

Counts
2 → 6
Calls
2 calls:
20.0ms
(+ x (/ y t))
38.0ms
(/ (+ x (/ y t)) (+ x 1.0))

simplify62.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0227373
1693348
22231348
35002348

prune99.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.6b

regimes268.0ms

Accuracy

79.1% (3.8b remaining)

Error of 4.7b against oracle of 0.8b and baseline of 19.2b

bsearch2.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05177
15177

end0.0ms

sample603.0ms

Algorithm
intervals
Results
308.0ms8344×body80valid