Details

Time bar (total: 6.2s)

sample49.0ms

Algorithm
intervals
Results
23.0ms248×body80valid
5.0ms20×body640valid
3.0msbody1280valid
2.0ms10×body320valid
2.0ms13×body160valid

simplify100.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
0206
1456
21165
33245
48615
519125
645815
750015

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 11.8b

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- y z) (- a z))
3.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)

series202.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0265450
1729425
22562423
35002421

prune261.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 4.9b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite76.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))
15.0ms
(+ (* (/ (- y z) (- a z)) (- t x)) x)
40.0ms
(* (/ (- y z) (- a z)) (- t x))

series639.0ms

Counts
3 → 9
Calls
3 calls:
63.0ms
(/ (- y z) (- a z))
206.0ms
(+ (* (/ (- y z) (- a z)) (- t x)) x)
369.0ms
(* (/ (- y z) (- a z)) (- t x))

simplify95.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
06821497
126571254
250021252

prune549.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 4.7b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- y z) (- a z))
0.0b
(/ (- y z) (- a z))
1.0b
(* t (/ (- y z) (- a z)))
2.6b
(fma (- x) (/ (- y z) (- a z)) x)

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

series299.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(/ (- y z) (- a z))
57.0ms
(/ (- y z) (- a z))
83.0ms
(* t (/ (- y z) (- a z)))
96.0ms
(fma (- x) (/ (- y z) (- a z)) x)

simplify63.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
03811106
114801040
250011040

prune653.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 4.2b

localize23.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (- a z))
0.6b
(cbrt (- a z))
1.0b
(* t (/ (- y z) (- a z)))
2.6b
(fma (- x) (* (/ (* (cbrt (- y z)) (cbrt (- y z))) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (cbrt (- y z)) (cbrt (- a z)))) x)

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt
42×*-un-lft-identity
31×associate-*r*
26×times-frac
18×add-cube-cbrt
12×distribute-lft-out-- difference-of-squares
10×cbrt-prod
add-exp-log add-cbrt-cube
pow1
expm1-log1p-u cbrt-div log1p-expm1-u add-log-exp
flip3-- associate-*l* flip--
pow1/3 prod-exp associate-/r/ cbrt-unprod unswap-sqr
cbrt-undiv associate-*r/ div-exp pow-prod-down *-commutative fma-udef div-inv
Counts
4 → 96
Calls
4 calls:
2.0ms
(cbrt (- a z))
2.0ms
(cbrt (- a z))
26.0ms
(* t (/ (- y z) (- a z)))
1.0ms
(fma (- x) (* (/ (* (cbrt (- y z)) (cbrt (- y z))) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (cbrt (- y z)) (cbrt (- a z)))) x)

series552.0ms

Counts
4 → 12
Calls
4 calls:
182.0ms
(cbrt (- a z))
190.0ms
(cbrt (- a z))
83.0ms
(* t (/ (- y z) (- a z)))
96.0ms
(fma (- x) (* (/ (* (cbrt (- y z)) (cbrt (- y z))) (* (cbrt (- a z)) (cbrt (- a z)))) (/ (cbrt (- y z)) (cbrt (- a z)))) x)

simplify63.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0395792
11511705
25001679

prune510.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 4.2b

regimes377.0ms

Accuracy

16.1% (4.0b remaining)

Error of 7.4b against oracle of 3.4b and baseline of 8.2b

bsearch171.0ms

Steps
ItersRangePoint
9
2.6941268844491673e-185
3.2783833516059787e-177
7.075519162142901e-178
9
-1.2520534392011043e-156
-3.586874185994144e-165
-3.6365486485991055e-160

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03418
13418

end0.0ms

sample1.3s

Algorithm
intervals
Results
645.0ms7865×body80valid
135.0ms495×body640valid
88.0ms447×body320valid
85.0ms252×body1280valid
39.0ms241×body160valid
6.0ms15×body2560valid