Details

Time bar (total: 6.3s)

sample31.0ms

Algorithm
intervals
Results
19.0ms319×body80valid

simplify19.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0155
1255
2415
3635
4805
5965
61135
71215
81245
91245

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 5.4b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite282.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:
35.0ms
(- (/ y z) (/ t (- 1.0 z)))
5.0ms
(/ t (- 1.0 z))
142.0ms
(* x (- (/ y z) (/ t (- 1.0 z))))

series119.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(- (/ y z) (/ t (- 1.0 z)))
39.0ms
(/ t (- 1.0 z))
46.0ms
(* x (- (/ y z) (/ t (- 1.0 z))))

simplify242.0ms

Algorithm
egg-herbie
Counts
936 → 936
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
0166127825
1500122260

prune1.7s

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.7b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ t (- 1.0 z))
0.0b
(/ t (- 1.0 z))
0.2b
(fma y (/ 1 z) (- (* (/ t (- 1.0 z)) 1)))
5.2b
(* x (+ (fma y (/ 1 z) (- (* (/ t (- 1.0 z)) 1))) (* (/ t (- 1.0 z)) (+ (- 1) 1))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
42×*-un-lft-identity
30×times-frac
26×add-cube-cbrt
10×add-exp-log associate-/r* add-cbrt-cube
distribute-lft-out-- difference-of-squares
pow1 associate-/l*
expm1-log1p-u associate-/r/ log1p-expm1-u add-log-exp
associate-*r* associate-*l*
cbrt-undiv flip3-- frac-2neg associate-*r/ div-exp clear-num flip-- div-inv
distribute-rgt-in distribute-lft-in flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ fma-udef unswap-sqr
Counts
4 → 112
Calls
4 calls:
6.0ms
(/ t (- 1.0 z))
5.0ms
(/ t (- 1.0 z))
0.0ms
(fma y (/ 1 z) (- (* (/ t (- 1.0 z)) 1)))
7.0ms
(* x (+ (fma y (/ 1 z) (- (* (/ t (- 1.0 z)) 1))) (* (/ t (- 1.0 z)) (+ (- 1) 1))))

series173.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ t (- 1.0 z))
34.0ms
(/ t (- 1.0 z))
49.0ms
(fma y (/ 1 z) (- (* (/ t (- 1.0 z)) 1)))
55.0ms
(* x (+ (fma y (/ 1 z) (- (* (/ t (- 1.0 z)) 1))) (* (/ t (- 1.0 z)) (+ (- 1) 1))))

simplify63.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0387969
11798870
25003827

prune419.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

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

series358.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(cbrt (- 1.0 z))
95.0ms
(cbrt (- 1.0 z))
112.0ms
(* (cbrt (- 1.0 z)) (cbrt (- 1.0 z)))
55.0ms
(* x (+ (fma y (/ 1 z) (- (* (/ (/ t (* (cbrt (- 1.0 z)) (cbrt (- 1.0 z)))) (cbrt (- 1.0 z))) 1))) (* (/ t (- 1.0 z)) (+ (- 1) 1))))

simplify71.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05191386
121991236
250011127

prune519.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.6b
(cbrt y)
0.6b
(cbrt y)
5.2b
(* x (+ (fma (/ (* (cbrt y) (cbrt y)) (* (cbrt z) (cbrt z))) (/ (cbrt y) (cbrt z)) (- (* (/ t (- 1.0 z)) 1))) (* (/ t (- 1.0 z)) (+ (- 1) 1))))

rewrite10.0ms

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

series698.0ms

Counts
4 → 12
Calls
4 calls:
182.0ms
(cbrt y)
177.0ms
(cbrt y)
181.0ms
(cbrt y)
157.0ms
(* x (+ (fma (/ (* (cbrt y) (cbrt y)) (* (cbrt z) (cbrt z))) (/ (cbrt y) (cbrt z)) (- (* (/ t (- 1.0 z)) 1))) (* (/ t (- 1.0 z)) (+ (- 1) 1))))

simplify47.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0250835
11287728
25001657

prune311.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0.0b

regimes315.0ms

Accuracy

90.1% (0.5b remaining)

Error of 0.6b against oracle of 0.1b and baseline of 5.2b

bsearch2.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05768
16668
26868
36868

end0.0ms

sample875.0ms

Algorithm
intervals
Results
597.0ms10059×body80valid