Details

Time bar (total: 5.6s)

sample22.0ms

Algorithm
intervals
Results
9.0ms324×body80valid

simplify20.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: 2.7b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite283.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:
38.0ms
(- (/ y z) (/ t (- 1.0 z)))
5.0ms
(/ t (- 1.0 z))
143.0ms
(* x (- (/ y z) (/ t (- 1.0 z))))

series121.0ms

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

simplify239.0ms

Algorithm
egg-herbie
Counts
936 → 936
Iterations

Useful iterations: 1 (37.0ms)

IterNodesCost
0166127825
1500122260

prune1.8s

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.2b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ y z) (* t (/ 1 (- 1.0 z))))
0.0b
(/ 1 (- 1.0 z))
0.2b
(* t (/ 1 (- 1.0 z)))
2.5b
(* x (- (/ y z) (* t (/ 1 (- 1.0 z)))))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
77×add-sqr-sqrt
69×*-un-lft-identity
68×times-frac
54×add-cube-cbrt
39×prod-diff
24×associate-*r*
19×add-exp-log
15×distribute-rgt-in distribute-lft-in
13×fma-neg add-cbrt-cube
pow1
associate-*r/ distribute-lft-out-- difference-of-squares
associate-*l* div-inv add-log-exp
prod-exp associate-/r*
expm1-log1p-u flip3-- div-exp associate-/r/ frac-sub flip-- log1p-expm1-u unswap-sqr
sub-neg un-div-inv cbrt-unprod associate-/l*
cbrt-undiv rec-exp 1-exp pow-prod-down *-commutative
pow-flip frac-2neg diff-log clear-num inv-pow
Counts
4 → 185
Calls
4 calls:
12.0ms
(- (/ y z) (* t (/ 1 (- 1.0 z))))
5.0ms
(/ 1 (- 1.0 z))
16.0ms
(* t (/ 1 (- 1.0 z)))
32.0ms
(* x (- (/ y z) (* t (/ 1 (- 1.0 z)))))

series151.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(- (/ y z) (* t (/ 1 (- 1.0 z))))
23.0ms
(/ 1 (- 1.0 z))
35.0ms
(* t (/ 1 (- 1.0 z)))
53.0ms
(* x (- (/ y z) (* t (/ 1 (- 1.0 z)))))

simplify84.0ms

Algorithm
egg-herbie
Counts
197 → 197
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
06261632
126971397
250011294

prune425.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.2b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ t (- 1.0 z))
0.0b
(/ t (- 1.0 z))
0.1b
(fma y (/ 1 z) (- (* (/ t (- 1.0 z)) 1)))
2.5b
(* x (+ (fma y (/ 1 z) (- (* (/ t (- 1.0 z)) 1))) (* (/ t (- 1.0 z)) (+ (- 1) 1))))

rewrite22.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:
5.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))))

series182.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0387969
11798870
25003827

prune455.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

2.5b
(* x (fma (* (cbrt (/ y z)) (cbrt (/ y z))) (cbrt (/ y z)) (/ (- t) (- 1.0 z))))
12.6b
(cbrt (/ y z))
12.6b
(cbrt (/ y z))
12.6b
(cbrt (/ y z))

rewrite10.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
fma-udef
distribute-rgt-in distribute-lft-in pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 94
Calls
4 calls:
3.0ms
(* x (fma (* (cbrt (/ y z)) (cbrt (/ y z))) (cbrt (/ y z)) (/ (- t) (- 1.0 z))))
1.0ms
(cbrt (/ y z))
1.0ms
(cbrt (/ y z))
2.0ms
(cbrt (/ y z))

series344.0ms

Counts
4 → 12
Calls
4 calls:
153.0ms
(* x (fma (* (cbrt (/ y z)) (cbrt (/ y z))) (cbrt (/ y z)) (/ (- t) (- 1.0 z))))
67.0ms
(cbrt (/ y z))
59.0ms
(cbrt (/ y z))
64.0ms
(cbrt (/ y z))

simplify109.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 3 (100.0ms)

IterNodesCost
0232817
1768726
23809696
35001657

prune368.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes245.0ms

Accuracy

33.5% (3.1b remaining)

Error of 3.2b against oracle of 0.1b and baseline of 4.7b

bsearch2.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02413
12813
23113
33113

end0.0ms

sample567.0ms

Algorithm
intervals
Results
312.0ms10175×body80valid