Details

Time bar (total: 5.7s)

sample57.0ms

Algorithm
intervals
Results
17.0ms251×body80valid
4.0ms17×body640valid
3.0ms16×body320valid
2.0msbody1280valid
1.0msbody160valid

simplify58.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0236
1465
21285
33625
410245
522965
650015

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 14.8b

localize9.0ms

Local error

Found 2 expressions with local error:

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

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

series132.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
0268450
1733425
22490423
35001421

prune199.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 5.9b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite188.0ms

Algorithm
rewrite-expression-head
Rules
713×*-un-lft-identity
703×add-sqr-sqrt
693×times-frac
441×prod-diff
413×add-cube-cbrt
149×distribute-lft-out--
143×difference-of-squares
94×associate-/r/
48×flip3-- flip--
47×div-inv
21×fma-neg
10×associate-/r*
add-exp-log add-cbrt-cube
associate-/l* add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
distribute-rgt-out--
cbrt-undiv frac-2neg div-exp clear-num
sub-neg diff-log frac-sub fma-udef sub-div
Counts
4 → 581
Calls
4 calls:
11.0ms
(/ t (- a z))
12.0ms
(/ x (- a z))
104.0ms
(- (/ t (- a z)) (/ x (- a z)))
0.0ms
(fma (- y z) (- (/ t (- a z)) (/ x (- a z))) x)

series256.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(/ t (- a z))
25.0ms
(/ x (- a z))
97.0ms
(- (/ t (- a z)) (/ x (- a z)))
106.0ms
(fma (- y z) (- (/ t (- a z)) (/ x (- a z))) x)

simplify176.0ms

Algorithm
egg-herbie
Counts
593 → 593
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
0124915706
1329711719
2500211627

prune1.2s

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 5.6b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ t (- a z))
0.2b
(* x (/ 1 (- a z)))
0.2b
(- (/ t (- a z)) (* x (/ 1 (- a z))))
14.8b
(fma (- y z) (- (/ t (- a z)) (* x (/ 1 (- a z)))) x)

rewrite113.0ms

Algorithm
rewrite-expression-head
Rules
75×add-sqr-sqrt
69×*-un-lft-identity
62×times-frac
42×add-cube-cbrt
21×fma-neg associate-*r* prod-diff
15×add-exp-log
13×distribute-lft-out-- difference-of-squares
11×add-cbrt-cube
associate-/r/
pow1 add-log-exp
flip3-- associate-/r* flip-- div-inv
expm1-log1p-u prod-exp log1p-expm1-u
associate-*r/ div-exp associate-*l* un-div-inv associate-/l* unswap-sqr
cbrt-undiv frac-sub cbrt-unprod sub-div
sub-neg rec-exp distribute-rgt-out-- frac-2neg diff-log 1-exp pow-prod-down clear-num *-commutative fma-udef
Counts
4 → 156
Calls
4 calls:
11.0ms
(/ t (- a z))
29.0ms
(* x (/ 1 (- a z)))
66.0ms
(- (/ t (- a z)) (* x (/ 1 (- a z))))
0.0ms
(fma (- y z) (- (/ t (- a z)) (* x (/ 1 (- a z)))) x)

series261.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(/ t (- a z))
25.0ms
(* x (/ 1 (- a z)))
100.0ms
(- (/ t (- a z)) (* x (/ 1 (- a z))))
110.0ms
(fma (- y z) (- (/ t (- a z)) (* x (/ 1 (- a z)))) x)

simplify51.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04981172
118381002
25002953

prune475.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 3.6b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- a z))
0.2b
(* (- y z) (/ 1 (- a z)))
2.3b
(* (* (- y z) (/ 1 (- a z))) (- t x))
3.1b
(+ (* (* (- y z) (/ 1 (- a z))) (- t x)) x)

rewrite210.0ms

Algorithm
rewrite-expression-head
Rules
74×add-sqr-sqrt
68×*-un-lft-identity
49×add-cube-cbrt
36×prod-diff
32×add-exp-log times-frac
26×associate-*r*
22×distribute-rgt-in associate-+l+ distribute-lft-in
20×frac-times add-cbrt-cube
17×flip3-- flip--
14×associate-*l/
13×prod-exp
12×pow1
distribute-lft-out-- difference-of-squares
cbrt-unprod
associate-*r/ div-exp associate-*l* add-log-exp
associate-/r*
expm1-log1p-u sub-neg pow-prod-down associate-/r/ un-div-inv log1p-expm1-u
cbrt-undiv rec-exp 1-exp associate-/l* unswap-sqr
*-commutative div-inv
+-commutative pow-flip fma-def frac-2neg flip3-+ clear-num sum-log flip-+ inv-pow
Counts
4 → 199
Calls
4 calls:
12.0ms
(/ 1 (- a z))
44.0ms
(* (- y z) (/ 1 (- a z)))
75.0ms
(* (* (- y z) (/ 1 (- a z))) (- t x))
70.0ms
(+ (* (* (- y z) (/ 1 (- a z))) (- t x)) x)

series523.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(/ 1 (- a z))
49.0ms
(* (- y z) (/ 1 (- a z)))
279.0ms
(* (* (- y z) (/ 1 (- a z))) (- t x))
162.0ms
(+ (* (* (- y z) (/ 1 (- a z))) (- t x)) x)

simplify101.0ms

Algorithm
egg-herbie
Counts
211 → 211
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
08161722
142181329
250011324

prune488.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 3.5b

regimes264.0ms

Accuracy

0% (3.8b remaining)

Error of 7.6b against oracle of 3.8b and baseline of 7.6b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02011
12011

end0.0ms

sample812.0ms

Algorithm
intervals
Results
262.0ms7839×body80valid
55.0ms482×body640valid
38.0ms263×body1280valid
37.0ms427×body320valid
17.0ms246×body160valid
2.0msbody2560valid