Details

Time bar (total: 5.7s)

sample26.0ms

Algorithm
intervals
Results
8.0ms244×body80valid
2.0ms15×body1280valid
1.0ms13×body320valid
1.0msbody640valid
0.0msbody2560valid
0.0msbody160valid

simplify80.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
0206
1456
21165
33245
48615
519125
645815
750015

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 10.0b

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

rewrite12.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:
9.0ms
(/ (- y z) (- a z))
1.0ms
(fma (/ (- y z) (- a z)) (- t x) x)

series170.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0265450
1729425
22562423
35002421

prune216.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 3.3b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite108.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:
5.0ms
(/ z (- a z))
6.0ms
(/ y (- a z))
40.0ms
(- (/ y (- a z)) (/ z (- a z)))
1.0ms
(fma (- (/ y (- a z)) (/ z (- a z))) (- t x) x)

series266.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(/ z (- a z))
28.0ms
(/ y (- a z))
69.0ms
(- (/ y (- a z)) (/ z (- a z)))
119.0ms
(fma (- (/ y (- a z)) (/ z (- a z))) (- t x) x)

simplify180.0ms

Algorithm
egg-herbie
Counts
593 → 593
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
0124315707
1333611721
2500111629

prune1.4s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 3.3b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
60×add-sqr-sqrt
54×*-un-lft-identity
47×times-frac
33×add-cube-cbrt
21×associate-*r* prod-diff
17×add-exp-log
11×add-cbrt-cube
10×distribute-lft-out-- difference-of-squares
pow1
associate-/r/ add-log-exp
associate-/r*
expm1-log1p-u flip3-- div-exp prod-exp flip-- log1p-expm1-u div-inv
associate-*r/ associate-*l* un-div-inv associate-/l* unswap-sqr
cbrt-undiv rec-exp 1-exp frac-sub cbrt-unprod sub-div
sub-neg distribute-rgt-out-- pow-flip frac-2neg fma-neg diff-log pow-prod-down clear-num *-commutative fma-udef inv-pow
Counts
4 → 140
Calls
4 calls:
15.0ms
(- (* y (/ 1 (- a z))) (/ z (- a z)))
6.0ms
(/ 1 (- a z))
10.0ms
(* y (/ 1 (- a z)))
1.0ms
(fma (- (* y (/ 1 (- a z))) (/ z (- a z))) (- t x) x)

series262.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(- (* y (/ 1 (- a z))) (/ z (- a z)))
42.0ms
(/ 1 (- a z))
29.0ms
(* y (/ 1 (- a z)))
118.0ms
(fma (- (* y (/ 1 (- a z))) (/ z (- a z))) (- t x) x)

simplify72.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06861297
125991014
25001911

prune393.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 3.3b

localize22.0ms

Local error

Found 4 expressions with local error:

0.7b
(pow (cbrt z) 3)
0.7b
(pow (cbrt z) 3)
0.7b
(pow (cbrt z) 3)
9.1b
(fma (+ (- (/ y (- a z)) (/ (pow (cbrt z) 3) (* 1 (- a z)))) (+ (/ (pow (cbrt z) 3) (* 1 (- a z))) (/ (- (pow (cbrt z) 3)) (- a z)))) (- t x) x)

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×cbrt-prod unpow-prod-down cube-prod
pow-unpow
pow1 add-exp-log
pow-pow
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
cube-mult pow-to-exp pow1/3 unpow3 pow-exp rem-cube-cbrt sqr-pow
fma-udef
Counts
4 → 106
Calls
4 calls:
3.0ms
(pow (cbrt z) 3)
3.0ms
(pow (cbrt z) 3)
3.0ms
(pow (cbrt z) 3)
1.0ms
(fma (+ (- (/ y (- a z)) (/ (pow (cbrt z) 3) (* 1 (- a z)))) (+ (/ (pow (cbrt z) 3) (* 1 (- a z))) (/ (- (pow (cbrt z) 3)) (- a z)))) (- t x) x)

series882.0ms

Counts
4 → 12
Calls
4 calls:
232.0ms
(pow (cbrt z) 3)
251.0ms
(pow (cbrt z) 3)
240.0ms
(pow (cbrt z) 3)
158.0ms
(fma (+ (- (/ y (- a z)) (/ (pow (cbrt z) 3) (* 1 (- a z)))) (+ (/ (pow (cbrt z) 3) (* 1 (- a z))) (/ (- (pow (cbrt z) 3)) (- a z)))) (- t x) x)

simplify52.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0162539
1736459
25001421

prune324.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 3.3b

regimes387.0ms

Accuracy

39.7% (4.8b remaining)

Error of 8.5b against oracle of 3.7b and baseline of 11.7b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03544
13544

end0.0ms

sample708.0ms

Algorithm
intervals
Results
262.0ms7742×body80valid
67.0ms524×body640valid
44.0ms259×body1280valid
42.0ms415×body320valid
14.0ms220×body160valid
3.0ms17×body2560valid