Details

Time bar (total: 5.2s)

sample33.0ms

Algorithm
intervals
Results
13.0ms244×body80valid
2.0ms13×body1280valid
2.0ms15×body640valid
2.0ms17×body320valid
1.0msbody160valid

simplify50.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: 14.5b

localize8.0ms

Local error

Found 2 expressions with local error:

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

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

series140.0ms

Counts
2 → 6
Calls
2 calls:
49.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

prune200.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 6.1b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (- a z))
0.3b
(* (- t x) (/ 1 (- a z)))
14.6b
(fma (- y z) (* (- t x) (/ 1 (- a z))) x)

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
40×*-un-lft-identity
32×times-frac
23×add-cube-cbrt
21×associate-*r*
16×add-exp-log
10×add-cbrt-cube
distribute-lft-out-- difference-of-squares
pow1
associate-*l* associate-/r*
flip3-- div-exp prod-exp associate-/r/ flip--
expm1-log1p-u log1p-expm1-u associate-/l* add-log-exp unswap-sqr
cbrt-undiv frac-times rec-exp 1-exp associate-*l/ cbrt-unprod div-inv
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative fma-udef inv-pow
Counts
3 → 105
Calls
3 calls:
5.0ms
(/ 1 (- a z))
24.0ms
(* (- t x) (/ 1 (- a z)))
0.0ms
(fma (- y z) (* (- t x) (/ 1 (- a z))) x)

series182.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0350602
11497525
25001481

prune255.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 6.1b

localize10.0ms

Local error

Found 3 expressions with local error:

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

series368.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
223 → 223
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
06321907
128021722
250011551

prune378.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 5.9b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- a z) (- t x))
3.7b
(+ (/ (- y z) (/ (- a z) (- t x))) x)
5.6b
(/ (- y z) (/ (- a z) (- t x)))

rewrite203.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:
11.0ms
(/ (- a z) (- t x))
134.0ms
(+ (/ (- y z) (/ (- a z) (- t x))) x)
21.0ms
(/ (- y z) (/ (- a z) (- t x)))

series528.0ms

Counts
3 → 9
Calls
3 calls:
54.0ms
(/ (- a z) (- t x))
176.0ms
(+ (/ (- y z) (/ (- a z) (- t x))) x)
298.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

prune972.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 5.0b

regimes403.0ms

Accuracy

13.7% (7.2b remaining)

Error of 10.6b against oracle of 3.4b and baseline of 11.7b

bsearch105.0ms

Steps
ItersRangePoint
6
7.430386586940111e-220
7.99723010196292e-219
2.711353491124064e-219
10
-2.452597579073626e-67
-7.90650715848996e-79
-8.409742007220424e-79

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03534
13534

end0.0ms

sample932.0ms

Algorithm
intervals
Results
435.0ms7771×body80valid
76.0ms484×body640valid
53.0ms280×body1280valid
46.0ms385×body320valid
23.0ms272×body160valid
3.0ms13×body2560valid