Details

Time bar (total: 6.2s)

sample21.0ms

Algorithm
intervals
Results
9.0ms312×body80valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1255
2415
3635
4805
5965
61135
71215
81245
91245

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.6b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (/ y z) (/ t (- 1.0 z)))
0.0b
(/ t (- 1.0 z))
4.4b
(* x (- (/ y z) (/ t (- 1.0 z))))

rewrite285.0ms

Algorithm
rewrite-expression-head
Rules
1192×times-frac
1082×add-sqr-sqrt
1078×*-un-lft-identity
819×prod-diff
814×add-cube-cbrt
275×distribute-rgt-in distribute-lft-in
129×distribute-lft-out-- difference-of-squares
104×div-inv
80×associate-/r/
42×flip3-- flip--
13×fma-neg
10×associate-*r*
add-exp-log add-cbrt-cube
pow1 associate-/r* add-log-exp
expm1-log1p-u sub-neg associate-*r/ associate-*l* log1p-expm1-u associate-/l*
frac-sub
cbrt-undiv frac-2neg diff-log div-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod unswap-sqr
Counts
3 → 927
Calls
3 calls:
39.0ms
(- (/ y z) (/ t (- 1.0 z)))
5.0ms
(/ t (- 1.0 z))
145.0ms
(* x (- (/ y z) (/ t (- 1.0 z))))

series127.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(- (/ y z) (/ t (- 1.0 z)))
34.0ms
(/ t (- 1.0 z))
57.0ms
(* x (- (/ y z) (/ t (- 1.0 z))))

simplify233.0ms

Algorithm
egg-herbie
Counts
936 → 936
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
0166127825
1500122260

prune1.6s

Filtered
936 candidates to 376 candidates (40.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.5b

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (- 1.0 z))
0.3b
(* (cbrt (- 1.0 z)) (cbrt (- 1.0 z)))
0.3b
(* (cbrt (- 1.0 z)) (cbrt (- 1.0 z)))
4.4b
(* x (+ (fma 1 (/ y z) (- (* (/ t (cbrt (- 1.0 z))) (/ 1 (* (cbrt (- 1.0 z)) (cbrt (- 1.0 z))))))) (* (/ 1 (* (cbrt (- 1.0 z)) (cbrt (- 1.0 z)))) (+ (- (/ t (cbrt (- 1.0 z)))) (/ t (cbrt (- 1.0 z)))))))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
61×cbrt-prod
59×add-sqr-sqrt
53×*-un-lft-identity
26×cbrt-div
23×add-cube-cbrt
20×pow1 swap-sqr
19×associate-*r* associate-*l*
13×flip3-- pow1/3 flip-- distribute-lft-out--
10×add-exp-log
difference-of-squares unswap-sqr
frac-times
associate-*r/ add-cbrt-cube
pow-prod-down
expm1-log1p-u associate-*l/ pow-sqr pow-prod-up log1p-expm1-u add-log-exp
prod-exp *-commutative cbrt-unprod
pow2 pow-plus
distribute-rgt-in distribute-lft-in flip3-+ flip-+
Counts
4 → 157
Calls
4 calls:
2.0ms
(cbrt (- 1.0 z))
19.0ms
(* (cbrt (- 1.0 z)) (cbrt (- 1.0 z)))
23.0ms
(* (cbrt (- 1.0 z)) (cbrt (- 1.0 z)))
7.0ms
(* x (+ (fma 1 (/ y z) (- (* (/ t (cbrt (- 1.0 z))) (/ 1 (* (cbrt (- 1.0 z)) (cbrt (- 1.0 z))))))) (* (/ 1 (* (cbrt (- 1.0 z)) (cbrt (- 1.0 z)))) (+ (- (/ t (cbrt (- 1.0 z)))) (/ t (cbrt (- 1.0 z)))))))

series349.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(cbrt (- 1.0 z))
102.0ms
(* (cbrt (- 1.0 z)) (cbrt (- 1.0 z)))
102.0ms
(* (cbrt (- 1.0 z)) (cbrt (- 1.0 z)))
56.0ms
(* x (+ (fma 1 (/ y z) (- (* (/ t (cbrt (- 1.0 z))) (/ 1 (* (cbrt (- 1.0 z)) (cbrt (- 1.0 z))))))) (* (/ 1 (* (cbrt (- 1.0 z)) (cbrt (- 1.0 z)))) (+ (- (/ t (cbrt (- 1.0 z)))) (/ t (cbrt (- 1.0 z)))))))

simplify79.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05192024
122011841
250031748

prune641.0ms

Filtered
169 candidates to 115 candidates (68.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

4.4b
(* x (+ (fma (* (cbrt (/ y z)) (cbrt (/ y z))) (cbrt (/ y z)) (- (* (/ t (- 1.0 z)) 1))) (* (/ t (- 1.0 z)) (+ (- 1) 1))))
11.8b
(cbrt (/ y z))
11.8b
(cbrt (/ y z))
11.8b
(cbrt (/ y z))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
39×cbrt-prod
29×add-sqr-sqrt
27×add-cube-cbrt *-un-lft-identity times-frac
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-div pow1/3 associate-*r* associate-*l* div-inv
associate-*r/
distribute-rgt-in distribute-lft-in flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
4 → 96
Calls
4 calls:
7.0ms
(* x (+ (fma (* (cbrt (/ y z)) (cbrt (/ y z))) (cbrt (/ y z)) (- (* (/ t (- 1.0 z)) 1))) (* (/ t (- 1.0 z)) (+ (- 1) 1))))
1.0ms
(cbrt (/ y z))
1.0ms
(cbrt (/ y z))
5.0ms
(cbrt (/ y z))

series334.0ms

Counts
4 → 12
Calls
4 calls:
144.0ms
(* x (+ (fma (* (cbrt (/ y z)) (cbrt (/ y z))) (cbrt (/ y z)) (- (* (/ t (- 1.0 z)) 1))) (* (/ t (- 1.0 z)) (+ (- 1) 1))))
64.0ms
(cbrt (/ y z))
68.0ms
(cbrt (/ y z))
58.0ms
(cbrt (/ y z))

simplify55.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
03111063
11415928
25001850

prune427.0ms

Filtered
108 candidates to 91 candidates (84.3%)
Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ y z) (/ y z))
1.4b
(- (* (/ y z) (/ y z)) (* (/ t (- 1.0 z)) (/ t (- 1.0 z))))
5.0b
(* x (- (* (/ y z) (/ y z)) (* (/ t (- 1.0 z)) (/ t (- 1.0 z)))))
18.4b
(/ (* x (- (* (/ y z) (/ y z)) (* (/ t (- 1.0 z)) (/ t (- 1.0 z))))) (+ (/ y z) (/ t (- 1.0 z))))

rewrite123.0ms

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity
54×times-frac
50×add-sqr-sqrt
41×associate-*r/
36×add-cube-cbrt
27×frac-sub
23×add-exp-log add-cbrt-cube
19×frac-times associate-*l/
17×associate-*r*
16×associate-*l*
13×pow1 swap-sqr
11×associate-/l/
cbrt-undiv div-exp prod-exp associate-/r* cbrt-unprod distribute-lft-out add-log-exp
div-inv unswap-sqr
expm1-log1p-u log1p-expm1-u
distribute-rgt-in sub-neg flip3-- distribute-lft-in prod-diff associate-/r/ flip--
pow-prod-down *-commutative distribute-lft-out-- difference-of-squares
pow2 frac-2neg flip3-+ pow-plus fma-neg diff-log frac-add clear-num pow-sqr pow-prod-up flip-+ associate-/l*
Counts
4 → 176
Calls
4 calls:
14.0ms
(* (/ y z) (/ y z))
7.0ms
(- (* (/ y z) (/ y z)) (* (/ t (- 1.0 z)) (/ t (- 1.0 z))))
24.0ms
(* x (- (* (/ y z) (/ y z)) (* (/ t (- 1.0 z)) (/ t (- 1.0 z)))))
72.0ms
(/ (* x (- (* (/ y z) (/ y z)) (* (/ t (- 1.0 z)) (/ t (- 1.0 z))))) (+ (/ y z) (/ t (- 1.0 z))))

series379.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* (/ y z) (/ y z))
66.0ms
(- (* (/ y z) (/ y z)) (* (/ t (- 1.0 z)) (/ t (- 1.0 z))))
129.0ms
(* x (- (* (/ y z) (/ y z)) (* (/ t (- 1.0 z)) (/ t (- 1.0 z)))))
154.0ms
(/ (* x (- (* (/ y z) (/ y z)) (* (/ t (- 1.0 z)) (/ t (- 1.0 z))))) (+ (/ y z) (/ t (- 1.0 z))))

simplify120.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (102.0ms)

IterNodesCost
08652012
144961767
250011759

prune403.0ms

Filtered
188 candidates to 128 candidates (68.1%)
Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 0.0b

regimes255.0ms

Accuracy

69.2% (1.5b remaining)

Error of 1.5b against oracle of 0.0b and baseline of 4.8b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04640
15040
25040

end0.0ms

sample557.0ms

Algorithm
intervals
Results
304.0ms10059×body80valid