Details

Time bar (total: 5.7s)

sample28.0ms

Algorithm
intervals
Results
8.0ms262×body80valid
2.0ms12×body1280valid
1.0ms11×body640valid
1.0ms12×body320valid
1.0ms12×body160valid
0.0msbody2560valid

simplify81.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
0206
1456
21165
33245
48615
519125
645815
750015

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 10.9b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- y z) (- a z))
2.7b
(fma (/ (- y z) (- a z)) (- t x) x)

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt *-un-lft-identity
25×times-frac
14×add-cube-cbrt
12×distribute-lft-out-- difference-of-squares
associate-/r* associate-/l*
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u flip3-- associate-/r/ flip-- log1p-expm1-u associate-/l/ add-log-exp
cbrt-undiv frac-2neg div-sub div-exp clear-num fma-udef div-inv
Counts
2 → 64
Calls
2 calls:
27.0ms
(/ (- y z) (- a z))
0.0ms
(fma (/ (- y z) (- a z)) (- t x) x)

series177.0ms

Counts
2 → 6
Calls
2 calls:
51.0ms
(/ (- y z) (- a z))
126.0ms
(fma (/ (- y z) (- a z)) (- t x) x)

simplify66.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0265450
1729425
22562423
35002421

prune214.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 3.6b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- y z) (- a z))
1.6b
(* (/ (- y z) (- a z)) (- t x))
2.4b
(+ (* (/ (- y z) (- a z)) (- t x)) x)

rewrite126.0ms

Algorithm
rewrite-expression-head
Rules
102×add-sqr-sqrt
97×*-un-lft-identity
51×add-cube-cbrt times-frac
36×prod-diff
31×associate-*l*
23×distribute-lft-out-- difference-of-squares
22×distribute-rgt-in associate-+l+ distribute-lft-in
10×add-exp-log add-cbrt-cube
pow1 flip3-- associate-*r* associate-/r* flip-- associate-/l* add-log-exp
sub-neg associate-/r/
expm1-log1p-u log1p-expm1-u
cbrt-undiv frac-times associate-*r/ div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
+-commutative fma-def frac-2neg flip3-+ div-sub pow-prod-down associate-*l/ clear-num sum-log *-commutative flip-+
Counts
3 → 170
Calls
3 calls:
24.0ms
(/ (- y z) (- a z))
64.0ms
(* (/ (- y z) (- a z)) (- t x))
29.0ms
(+ (* (/ (- y z) (- a z)) (- t x)) x)

series568.0ms

Counts
3 → 9
Calls
3 calls:
54.0ms
(/ (- y z) (- a z))
318.0ms
(* (/ (- y z) (- a z)) (- t x))
196.0ms
(+ (* (/ (- y z) (- a z)) (- t x)) x)

simplify77.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
06821497
126571254
250021252

prune468.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 3.5b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- y z) (- a z))
0.0b
(/ (- y z) (- a z))
1.1b
(* t (/ (- y z) (- a z)))
4.9b
(fma (- x) (/ (- y z) (- a z)) x)

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
113×add-sqr-sqrt
108×*-un-lft-identity
76×times-frac
40×add-cube-cbrt
34×distribute-lft-out-- difference-of-squares
31×associate-*r*
13×add-exp-log add-cbrt-cube
10×associate-/r* associate-/l*
pow1 associate-/r/
flip3-- flip--
expm1-log1p-u log1p-expm1-u associate-/l/ add-log-exp
cbrt-undiv div-exp associate-*l* div-inv
frac-2neg div-sub prod-exp clear-num cbrt-unprod unswap-sqr
associate-*r/ pow-prod-down *-commutative fma-udef
Counts
4 → 170
Calls
4 calls:
24.0ms
(/ (- y z) (- a z))
24.0ms
(/ (- y z) (- a z))
46.0ms
(* t (/ (- y z) (- a z)))
0.0ms
(fma (- x) (/ (- y z) (- a z)) x)

series263.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(/ (- y z) (- a z))
55.0ms
(/ (- y z) (- a z))
75.0ms
(* t (/ (- y z) (- a z)))
82.0ms
(fma (- x) (/ (- y z) (- a z)) x)

simplify52.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
03811106
114801040
250011040

prune568.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 3.5b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- a z) (- y z))
0.3b
(/ 1 (/ (- a z) (- y z)))
1.1b
(* t (/ 1 (/ (- a z) (- y z))))
4.9b
(fma (- x) (/ (- y z) (- a z)) x)

rewrite148.0ms

Algorithm
rewrite-expression-head
Rules
392×times-frac
336×add-sqr-sqrt
324×*-un-lft-identity
158×add-cube-cbrt
98×associate-*r*
82×distribute-lft-out-- difference-of-squares
36×add-exp-log associate-/r*
20×add-cbrt-cube
18×associate-/r/
15×div-exp
10×div-inv
flip3-- flip--
associate-/l*
pow1 cbrt-undiv prod-exp
unswap-sqr
expm1-log1p-u rec-exp 1-exp log1p-expm1-u add-log-exp
associate-*l* cbrt-unprod
frac-2neg clear-num associate-/l/
pow-flip div-sub associate-*r/ pow-prod-down un-div-inv *-commutative fma-udef inv-pow
Counts
4 → 343
Calls
4 calls:
25.0ms
(/ (- a z) (- y z))
26.0ms
(/ 1 (/ (- a z) (- y z)))
74.0ms
(* t (/ 1 (/ (- a z) (- y z))))
0.0ms
(fma (- x) (/ (- y z) (- a z)) x)

series441.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(/ (- a z) (- y z))
145.0ms
(/ 1 (/ (- a z) (- y z)))
156.0ms
(* t (/ 1 (/ (- a z) (- y z))))
89.0ms
(fma (- x) (/ (- y z) (- a z)) x)

simplify115.0ms

Algorithm
egg-herbie
Counts
355 → 355
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
09222834
146382536
250032249

prune862.0ms

Pruning

18 alts after pruning (17 fresh and 1 done)

Merged error: 3.5b

regimes407.0ms

Accuracy

10.6% (3.7b remaining)

Error of 7.1b against oracle of 3.4b and baseline of 7.5b

bsearch87.0ms

Steps
ItersRangePoint
7
1.9875393294864477e-267
1.0689255050469228e-265
2.425775369466867e-266
7
-5.113543690130525e-203
-1.302028760091003e-204
-3.9845545478163255e-203

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03518
13518

end0.0ms

sample753.0ms

Algorithm
intervals
Results
238.0ms7703×body80valid
53.0ms478×body640valid
37.0ms282×body1280valid
31.0ms387×body320valid
15.0ms267×body160valid
2.0ms14×body2560valid