Details

Time bar (total: 5.4s)

sample26.0ms

Algorithm
intervals
Results
8.0ms242×body80valid
2.0ms15×body640valid
1.0ms15×body320valid
1.0ms13×body160valid
0.0msbody1280valid

simplify87.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: 11.2b

localize10.0ms

Local error

Found 2 expressions with local error:

0.1b
(/ (- y z) (- a z))
4.4b
(fma (/ (- y z) (- a z)) (- t x) x)

rewrite16.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:
13.0ms
(/ (- y z) (- a z))
0.0ms
(fma (/ (- y z) (- a z)) (- t x) x)

series172.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0265450
1729425
22562423
35002421

prune222.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 3.2b

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (- y z) (- a z))
2.1b
(* (/ (- y z) (- a z)) (- t x))
3.8b
(+ (* (/ (- y z) (- a z)) (- t x)) x)

rewrite73.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:
12.0ms
(/ (- y z) (- a z))
38.0ms
(* (/ (- y z) (- a z)) (- t x))
15.0ms
(+ (* (/ (- y z) (- a z)) (- t x)) x)

series547.0ms

Counts
3 → 9
Calls
3 calls:
55.0ms
(/ (- y z) (- a z))
312.0ms
(* (/ (- y z) (- a z)) (- t x))
179.0ms
(+ (* (/ (- y z) (- a z)) (- t x)) x)

simplify82.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
06821497
126571254
250021252

prune476.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 2.9b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- y z) (- a z))
0.1b
(/ (- y z) (- a z))
1.7b
(* t (/ (- y z) (- a z)))
4.3b
(fma (- x) (/ (- y z) (- a z)) x)

rewrite60.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:
12.0ms
(/ (- y z) (- a z))
12.0ms
(/ (- y z) (- a z))
28.0ms
(* t (/ (- y z) (- a z)))
0.0ms
(fma (- x) (/ (- y z) (- a z)) x)

series261.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(/ (- y z) (- a z))
50.0ms
(/ (- y z) (- a z))
72.0ms
(* t (/ (- y z) (- a z)))
83.0ms
(fma (- x) (/ (- y z) (- a z)) x)

simplify55.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
03811106
114801040
250011040

prune553.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 2.6b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- y z) (- a z))
0.5b
(/ 1 (/ (- a z) (- y z)))
1.7b
(* t (/ 1 (/ (- a z) (- y z))))
4.3b
(fma (- x) (/ (- y z) (- a z)) x)

rewrite108.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:
12.0ms
(/ (- y z) (- a z))
15.0ms
(/ 1 (/ (- a z) (- y z)))
55.0ms
(* t (/ 1 (/ (- a z) (- y z))))
0.0ms
(fma (- x) (/ (- y z) (- a z)) x)

series439.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(/ (- y z) (- a z))
145.0ms
(/ 1 (/ (- a z) (- y z)))
155.0ms
(* t (/ 1 (/ (- a z) (- y z))))
84.0ms
(fma (- x) (/ (- y z) (- a z)) x)

simplify115.0ms

Algorithm
egg-herbie
Counts
355 → 355
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
09952834
149232518
250012518

prune968.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 2.6b

regimes348.0ms

Accuracy

31.3% (2.9b remaining)

Error of 6.1b against oracle of 3.2b and baseline of 7.4b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04432
14432

end0.0ms

sample703.0ms

Algorithm
intervals
Results
267.0ms7803×body80valid
65.0ms497×body640valid
42.0ms416×body320valid
37.0ms238×body1280valid
18.0ms289×body160valid
2.0ms12×body2560valid