Details

Time bar (total: 5.1s)

sample34.0ms

Algorithm
intervals
Results
20.0ms285×body80valid

simplify62.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

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

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

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

series126.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0258433
1705410
22399410
35001410

prune195.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize13.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)

rewrite39.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))
14.0ms
(/ 1 (/ (- a z) (- y z)))
0.0ms
(fma (/ 1 (/ (- a z) (- y z))) t x)

series570.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(/ (- a z) (- y z))
136.0ms
(/ 1 (/ (- a z) (- y z)))
387.0ms
(fma (/ 1 (/ (- a z) (- y z))) t x)

simplify75.0ms

Algorithm
egg-herbie
Counts
223 → 223
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06201891
127641708
250021537

prune405.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize10.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)

rewrite120.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)

series303.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(/ (- y z) (- a z))
130.0ms
(/ 1 (/ (- y z) (- a z)))
47.0ms
(/ 1 (/ 1 (/ (- y z) (- a z))))
78.0ms
(fma (/ 1 (/ 1 (/ (- y z) (- a z)))) t x)

simplify107.0ms

Algorithm
egg-herbie
Counts
663 → 663
Iterations

Useful iterations: 1 (38.0ms)

IterNodesCost
016247337
150015976

prune1.2s

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize9.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))

rewrite33.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))

series187.0ms

Counts
3 → 9
Calls
3 calls:
82.0ms
(+ x (/ (* (- y z) t) (- a z)))
31.0ms
(* (- y z) t)
73.0ms
(/ (* (- y z) t) (- a z))

simplify53.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0340395
11442355
25001353

prune232.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes209.0ms

Accuracy

56.4% (0.6b remaining)

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

bsearch126.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

sample929.0ms

Algorithm
intervals
Results
648.0ms8767×body80valid
0.0msbody1280valid
0.0msbody640valid