Details

Time bar (total: 5.3s)

sample25.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
1.0ms11×body640valid
1.0msbody1280valid
1.0ms13×body320valid
1.0ms11×body160valid
0.0msbody2560valid

simplify55.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0236
1465
21285
33625
410245
522965
650015

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 13.9b

localize14.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- t x) (- a z))
13.9b
(fma (- y z) (/ (- t x) (- a z)) 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
(/ (- t x) (- a z))
0.0ms
(fma (- y z) (/ (- t x) (- a z)) x)

series142.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
0268450
1733425
22490423
35001421

prune225.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 5.6b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- a z) (- t x))
0.4b
(/ 1 (/ (- a z) (- t x)))
13.9b
(fma (- y z) (/ 1 (/ (- a z) (- t x))) x)

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

series366.0ms

Counts
3 → 9
Calls
3 calls:
53.0ms
(/ (- a z) (- t x))
195.0ms
(/ 1 (/ (- a z) (- t x)))
117.0ms
(fma (- y z) (/ 1 (/ (- a z) (- t x))) x)

simplify67.0ms

Algorithm
egg-herbie
Counts
223 → 223
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
06321907
128021722
250031551

prune422.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 4.5b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- a z) (- t x))
4.5b
(+ (/ (- y z) (/ (- a z) (- t x))) x)
6.2b
(/ (- y z) (/ (- a z) (- t x)))

rewrite220.0ms

Algorithm
rewrite-expression-head
Rules
610×times-frac
572×*-un-lft-identity
570×add-sqr-sqrt
200×add-cube-cbrt
185×distribute-lft-out-- difference-of-squares
160×fma-def
36×associate-/r*
26×associate-/r/
14×flip3-- flip-- div-inv
10×add-exp-log add-cbrt-cube associate-/l*
add-log-exp
cbrt-undiv div-exp associate-/l/
pow1 expm1-log1p-u div-sub log1p-expm1-u
frac-2neg clear-num
+-commutative associate-+l- flip3-+ sum-log flip-+ distribute-lft-out
Counts
3 → 440
Calls
3 calls:
12.0ms
(/ (- a z) (- t x))
141.0ms
(+ (/ (- y z) (/ (- a z) (- t x))) x)
27.0ms
(/ (- y z) (/ (- a z) (- t x)))

series532.0ms

Counts
3 → 9
Calls
3 calls:
53.0ms
(/ (- a z) (- t x))
177.0ms
(+ (/ (- y z) (/ (- a z) (- t x))) x)
301.0ms
(/ (- y z) (/ (- a z) (- t x)))

simplify104.0ms

Algorithm
egg-herbie
Counts
449 → 449
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
010353079
142963003
250013001

prune1.1s

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 3.5b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- y z) (- a z))
3.8b
(fma (/ (- y z) (- a z)) (- t x) 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) x)

series168.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (52.0ms)

IterNodesCost
0265450
1729425
22562423
35002421

prune199.0ms

Pruning

17 alts after pruning (16 fresh and 1 done)

Merged error: 3.5b

regimes605.0ms

Accuracy

27% (5.8b remaining)

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

bsearch135.0ms

Steps
ItersRangePoint
11
9.185867048517993e+224
1.1690037944292812e+247
2.5065936828757308e+225
6
4.4620128093752744e-05
0.0005333266348582408
0.0001593680573911883
7
-3.446334398642131e+240
-3.9515387378738594e+238
-9.191459456486792e+238

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03526
13926
23926

end0.0ms

sample660.0ms

Algorithm
intervals
Results
251.0ms7756×body80valid
55.0ms492×body640valid
39.0ms278×body1280valid
34.0ms393×body320valid
15.0ms263×body160valid
3.0ms19×body2560valid