Details

Time bar (total: 5.6s)

sample22.0ms

Algorithm
intervals
Results
8.0ms325×body80valid

simplify18.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: 3.7b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite335.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:
51.0ms
(- (/ y z) (/ t (- 1.0 z)))
10.0ms
(/ t (- 1.0 z))
181.0ms
(* x (- (/ y z) (/ t (- 1.0 z))))

series109.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(- (/ y z) (/ t (- 1.0 z)))
36.0ms
(/ t (- 1.0 z))
42.0ms
(* x (- (/ y z) (/ t (- 1.0 z))))

simplify240.0ms

Algorithm
egg-herbie
Counts
936 → 936
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
0166127825
1500122260

prune1.6s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.5b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ t (- 1.0 z))
0.0b
(+ (* x (/ y z)) (* x (- (/ t (- 1.0 z)))))
3.0b
(* x (- (/ t (- 1.0 z))))
6.5b
(* x (/ y z))

rewrite129.0ms

Algorithm
rewrite-expression-head
Rules
69×add-sqr-sqrt
62×*-un-lft-identity
59×associate-*r*
55×times-frac
42×add-cube-cbrt
21×distribute-lft-neg-in distribute-rgt-neg-in
13×add-exp-log add-cbrt-cube
10×distribute-lft-out-- difference-of-squares
pow1
associate-*l* associate-/r/ add-log-exp
associate-/r*
expm1-log1p-u associate-*r/ log1p-expm1-u div-inv
flip3-- prod-exp distribute-rgt-neg-out flip-- cbrt-unprod associate-/l* unswap-sqr
cbrt-undiv div-exp pow-prod-down *-commutative distribute-neg-frac
+-commutative neg-mul-1 fma-def frac-2neg flip3-+ unsub-neg frac-add clear-num sum-log flip-+ distribute-lft-out
Counts
4 → 156
Calls
4 calls:
10.0ms
(/ t (- 1.0 z))
11.0ms
(+ (* x (/ y z)) (* x (- (/ t (- 1.0 z)))))
78.0ms
(* x (- (/ t (- 1.0 z))))
25.0ms
(* x (/ y z))

series169.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ t (- 1.0 z))
63.0ms
(+ (* x (/ y z)) (* x (- (/ t (- 1.0 z)))))
52.0ms
(* x (- (/ t (- 1.0 z))))
21.0ms
(* x (/ y z))

simplify86.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
0697901
13283837
25001834

prune431.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize14.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)))
3.5b
(* x (+ (fma y (/ 1 z) (- (* (/ t (- 1.0 z)) 1))) (* (/ t (- 1.0 z)) (+ (- 1) 1))))

rewrite42.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:
10.0ms
(/ t (- 1.0 z))
10.0ms
(/ t (- 1.0 z))
0.0ms
(fma y (/ 1 z) (- (* (/ t (- 1.0 z)) 1)))
18.0ms
(* x (+ (fma y (/ 1 z) (- (* (/ t (- 1.0 z)) 1))) (* (/ t (- 1.0 z)) (+ (- 1) 1))))

series159.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0387969
11798870
25003827

prune416.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

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.1b
(* t (/ 1 (- 1.0 z)))
3.5b
(* x (- (/ y z) (* t (/ 1 (- 1.0 z)))))

rewrite311.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:
21.0ms
(- (/ y z) (* t (/ 1 (- 1.0 z))))
11.0ms
(/ 1 (- 1.0 z))
221.0ms
(* t (/ 1 (- 1.0 z)))
51.0ms
(* x (- (/ y z) (* t (/ 1 (- 1.0 z)))))

series130.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(- (/ y z) (* t (/ 1 (- 1.0 z))))
23.0ms
(/ 1 (- 1.0 z))
31.0ms
(* t (/ 1 (- 1.0 z)))
46.0ms
(* x (- (/ y z) (* t (/ 1 (- 1.0 z)))))

simplify76.0ms

Algorithm
egg-herbie
Counts
197 → 197
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06261632
126971397
250011294

prune367.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0.0b

regimes269.0ms

Accuracy

69.7% (1.4b remaining)

Error of 1.4b against oracle of 0.0b and baseline of 4.7b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05130
16930
27330
37330

end0.0ms

sample594.0ms

Algorithm
intervals
Results
271.0ms10093×body80valid