Details

Time bar (total: 5.7s)

sample43.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0236
1465
21285
33625
410245
522965
650015

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 15.5b

localize13.0ms

Local error

Found 2 expressions with local error:

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

series139.0ms

Counts
2 → 6
Calls
2 calls:
47.0ms
(/ (- t x) (- a z))
91.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

prune197.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 6.1b

localize10.0ms

Local error

Found 3 expressions with local error:

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

series364.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
223 → 223
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
06321907
128021722
250011551

prune388.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 5.6b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- a z) (- t x))
4.1b
(+ (/ (- y z) (/ (- a z) (- t x))) x)
7.2b
(/ (- y z) (/ (- a z) (- t x)))

rewrite206.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))
133.0ms
(+ (/ (- y z) (/ (- a z) (- t x))) x)
25.0ms
(/ (- y z) (/ (- a z) (- t x)))

series524.0ms

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

simplify107.0ms

Algorithm
egg-herbie
Counts
449 → 449
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
010353079
142963003
250013001

prune1.1s

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 4.9b

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

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)

series166.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
0265450
1729425
22562423
35002421

prune178.0ms

Pruning

17 alts after pruning (16 fresh and 1 done)

Merged error: 4.9b

regimes394.0ms

Accuracy

21.4% (6.5b remaining)

Error of 10.1b against oracle of 3.6b and baseline of 11.8b

bsearch142.0ms

Steps
ItersRangePoint
10
5.060214684648978e-107
1.0529241500803388e-93
3.720233722079121e-99
10
-1.6626729707794285e-125
-1.1006280538806317e-140
-7.518015608099339e-132

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0239
1239

end0.0ms

sample1.4s

Algorithm
intervals
Results
827.0ms7865×body80valid
123.0ms497×body640valid
86.0ms446×body320valid
75.0ms252×body1280valid
32.0ms240×body160valid
5.0ms15×body2560valid