Details

Time bar (total: 7.0s)

sample43.0ms

Algorithm
intervals
Results
16.0ms249×body80valid
4.0ms12×body1280valid
4.0ms19×body320valid
3.0ms13×body640valid
1.0msbody160valid
1.0msbody2560valid

simplify92.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
0206
1456
21165
33245
48615
519125
645815
750015

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 12.8b

localize14.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.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) x)

series185.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (63.0ms)

IterNodesCost
0265450
1729425
22562423
35002421

prune243.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 4.0b

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- y z) (- a z))
2.0b
(* (/ (- y z) (- a z)) (- t x))
2.2b
(+ (* (/ (- 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))
34.0ms
(* (/ (- y z) (- a z)) (- t x))
14.0ms
(+ (* (/ (- y z) (- a z)) (- t x)) x)

series588.0ms

Counts
3 → 9
Calls
3 calls:
59.0ms
(/ (- y z) (- a z))
333.0ms
(* (/ (- y z) (- a z)) (- t x))
197.0ms
(+ (* (/ (- y z) (- a z)) (- t x)) x)

simplify81.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
06821497
126571254
250021252

prune522.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 4.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (- a z))
0.6b
(cbrt (- a z))
0.6b
(cbrt (- a z))
2.2b
(+ (* (/ (* (cbrt (- y z)) (cbrt (- y z))) (* (cbrt (- a z)) (cbrt (- a z)))) (* (/ (cbrt (- y z)) (cbrt (- a z))) (- t x))) x)

rewrite111.0ms

Algorithm
rewrite-expression-head
Rules
44×distribute-rgt-in associate-+l+ distribute-lft-in
37×add-sqr-sqrt *-un-lft-identity
36×prod-diff
31×add-cube-cbrt
15×cbrt-prod
cbrt-div add-log-exp
pow1 add-exp-log expm1-log1p-u sub-neg add-cbrt-cube log1p-expm1-u
flip3-- pow1/3 flip-- distribute-lft-out-- difference-of-squares
+-commutative fma-def flip3-+ sum-log flip-+
Counts
4 → 109
Calls
4 calls:
2.0ms
(cbrt (- a z))
5.0ms
(cbrt (- a z))
2.0ms
(cbrt (- a z))
97.0ms
(+ (* (/ (* (cbrt (- y z)) (cbrt (- y z))) (* (cbrt (- a z)) (cbrt (- a z)))) (* (/ (cbrt (- y z)) (cbrt (- a z))) (- t x))) x)

series708.0ms

Counts
4 → 12
Calls
4 calls:
175.0ms
(cbrt (- a z))
174.0ms
(cbrt (- a z))
165.0ms
(cbrt (- a z))
194.0ms
(+ (* (/ (* (cbrt (- y z)) (cbrt (- y z))) (* (cbrt (- a z)) (cbrt (- a z)))) (* (/ (cbrt (- y z)) (cbrt (- a z))) (- t x))) x)

simplify63.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04401818
116221471
250011003

prune656.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 4.0b

localize38.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
1.0b
(fma (pow (/ (cbrt (- y z)) (cbrt (- a z))) 3) (+ x (- x)) x)
8.5b
(+ (* (* (/ (cbrt (- y z)) (cbrt (- a z))) (fma 1 t (- (* (cbrt x) (* (cbrt x) (cbrt x)))))) (/ (* (cbrt (- y z)) (cbrt (- y z))) (* (cbrt (- a z)) (cbrt (- a z))))) (fma (pow (/ (cbrt (- y z)) (cbrt (- a z))) 3) (+ x (- x)) x))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
pow1/3 fma-udef
+-commutative associate-+r+ fma-def flip3-+ sum-log flip-+
Counts
4 → 51
Calls
4 calls:
0.0ms
(cbrt x)
1.0ms
(cbrt x)
0.0ms
(fma (pow (/ (cbrt (- y z)) (cbrt (- a z))) 3) (+ x (- x)) x)
81.0ms
(+ (* (* (/ (cbrt (- y z)) (cbrt (- a z))) (fma 1 t (- (* (cbrt x) (* (cbrt x) (cbrt x)))))) (/ (* (cbrt (- y z)) (cbrt (- y z))) (* (cbrt (- a z)) (cbrt (- a z))))) (fma (pow (/ (cbrt (- y z)) (cbrt (- a z))) 3) (+ x (- x)) x))

series836.0ms

Counts
4 → 12
Calls
4 calls:
212.0ms
(cbrt x)
203.0ms
(cbrt x)
120.0ms
(fma (pow (/ (cbrt (- y z)) (cbrt (- a z))) 3) (+ x (- x)) x)
302.0ms
(+ (* (* (/ (cbrt (- y z)) (cbrt (- a z))) (fma 1 t (- (* (cbrt x) (* (cbrt x) (cbrt x)))))) (/ (* (cbrt (- y z)) (cbrt (- y z))) (* (cbrt (- a z)) (cbrt (- a z))))) (fma (pow (/ (cbrt (- y z)) (cbrt (- a z))) 3) (+ x (- x)) x))

simplify48.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0208941
1835836
25002636

prune390.0ms

Pruning

15 alts after pruning (13 fresh and 2 done)

Merged error: 4.0b

regimes821.0ms

Accuracy

25.2% (5.8b remaining)

Error of 9.5b against oracle of 3.7b and baseline of 11.5b

bsearch132.0ms

Steps
ItersRangePoint
9
2.271139247461068e+213
2.3771349098410096e+218
7.373442601062735e+217
7
-1.8002041532192927e+157
-1.5931363873182533e+155
-6.829204697610091e+155

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03324
13324

end0.0ms

sample1.1s

Algorithm
intervals
Results
504.0ms7842×body80valid
113.0ms469×body640valid
83.0ms262×body1280valid
73.0ms411×body320valid
35.0ms267×body160valid
6.0ms18×body2560valid