Details

Time bar (total: 4.6s)

sample23.0ms

Algorithm
intervals
Results
9.0ms285×body80valid

simplify88.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
0175
1355
2634
31074
41694
52394
62884
73564
84074
95334
107554
1112564
1213024
1313044
1413044

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

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

series152.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0258433
1705410
22399410
35001410

prune221.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- a z) (- y z))
0.3b
(/ 1 (/ (- a z) (- y z)))
1.2b
(fma (/ 1 (/ (- a z) (- y z))) t x)

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
218×times-frac
195×add-sqr-sqrt *-un-lft-identity
91×add-cube-cbrt
52×distribute-lft-out-- difference-of-squares
36×associate-/r*
16×add-exp-log
11×associate-/r/
10×add-cbrt-cube
div-exp associate-/l*
flip3-- flip-- div-inv
pow1 cbrt-undiv
expm1-log1p-u log1p-expm1-u add-log-exp
rec-exp frac-2neg 1-exp clear-num associate-/l/
pow-flip div-sub fma-udef inv-pow
Counts
3 → 214
Calls
3 calls:
12.0ms
(/ (- a z) (- y z))
15.0ms
(/ 1 (/ (- a z) (- y z)))
0.0ms
(fma (/ 1 (/ (- a z) (- y z))) t x)

series424.0ms

Counts
3 → 9
Calls
3 calls:
56.0ms
(/ (- a z) (- y z))
153.0ms
(/ 1 (/ (- a z) (- y z)))
214.0ms
(fma (/ 1 (/ (- a z) (- y z))) t x)

simplify86.0ms

Algorithm
egg-herbie
Counts
223 → 223
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06201891
127641708
250021537

prune427.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- y z) (- a z))
0.1b
(/ 1 (/ (- y z) (- a z)))
0.3b
(/ 1 (/ 1 (/ (- y z) (- a z))))
1.2b
(fma (/ 1 (/ 1 (/ (- y z) (- a z)))) t x)

rewrite124.0ms

Algorithm
rewrite-expression-head
Rules
1184×times-frac
795×add-sqr-sqrt *-un-lft-identity
451×add-cube-cbrt
172×distribute-lft-out-- difference-of-squares
134×associate-/r*
60×add-exp-log
43×div-exp
40×associate-/r/
23×div-inv
20×add-cbrt-cube
18×flip3-- flip--
15×rec-exp 1-exp
11×associate-/l*
10×cbrt-undiv
pow1
pow-flip
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num inv-pow
associate-/l/
div-sub fma-udef remove-double-div
Counts
4 → 651
Calls
4 calls:
12.0ms
(/ (- y z) (- a z))
15.0ms
(/ 1 (/ (- y z) (- a z)))
36.0ms
(/ 1 (/ 1 (/ (- y z) (- a z))))
0.0ms
(fma (/ 1 (/ 1 (/ (- y z) (- a z)))) t x)

series315.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(/ (- y z) (- a z))
135.0ms
(/ 1 (/ (- y z) (- a z)))
49.0ms
(/ 1 (/ 1 (/ (- y z) (- a z))))
83.0ms
(fma (/ 1 (/ 1 (/ (- y z) (- a z)))) t x)

simplify109.0ms

Algorithm
egg-herbie
Counts
663 → 663
Iterations

Useful iterations: 1 (41.0ms)

IterNodesCost
016247337
150015976

prune1.1s

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt *-un-lft-identity
10×add-exp-log add-cbrt-cube
add-cube-cbrt
pow1 times-frac associate-*l* associate-/r* add-log-exp
associate-*l/
expm1-log1p-u flip3-- fma-def associate-*r* flip-- log1p-expm1-u distribute-lft-out-- difference-of-squares
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/
+-commutative frac-2neg flip3-+ pow-prod-down clear-num sum-log *-commutative flip-+ div-inv distribute-lft-out associate-/l* unswap-sqr
Counts
3 → 72
Calls
3 calls:
11.0ms
(+ x (/ (* (- y z) t) (- a z)))
10.0ms
(* (- y z) t)
10.0ms
(/ (* (- y z) t) (- a z))

series171.0ms

Counts
3 → 9
Calls
3 calls:
77.0ms
(+ x (/ (* (- y z) t) (- a z)))
28.0ms
(* (- y z) t)
66.0ms
(/ (* (- y z) t) (- a z))

simplify44.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0340395
11442355
25001353

prune215.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes194.0ms

Accuracy

56.4% (0.6b remaining)

Error of 0.6b against oracle of 0.0b and baseline of 1.3b

bsearch95.0ms

Steps
ItersRangePoint
8
1.008627214842878e-48
7.209618659221198e-46
8.706900805335214e-48
11
-3.5223794056915216e+55
-2.7139041588347048e+32
-4.432913896338536e+32

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02816
13016
23016

end0.0ms

sample550.0ms

Algorithm
intervals
Results
284.0ms8767×body80valid
0.0msbody1280valid
0.0msbody640valid