Details

Time bar (total: 4.7s)

sample57.0ms

Algorithm
intervals
Results
40.0ms341×body80valid

simplify80.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (18.0ms)

IterNodesCost
0258
1508
21068
32088
43226
55206
614396
750026

prune13.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 7.3b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma z (- 1.0 t) 1)
0.2b
(fma (/ (fma z (- 1.0 t) 1) z) (/ 2.0 t) (/ x y))
6.9b
(/ (fma z (- 1.0 t) 1) z)

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u associate-/r* log1p-expm1-u associate-/l* add-log-exp
fma-udef
cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
3 → 49
Calls
3 calls:
0.0ms
(fma z (- 1.0 t) 1)
0.0ms
(fma (/ (fma z (- 1.0 t) 1) z) (/ 2.0 t) (/ x y))
3.0ms
(/ (fma z (- 1.0 t) 1) z)

series156.0ms

Counts
3 → 9
Calls
3 calls:
22.0ms
(fma z (- 1.0 t) 1)
99.0ms
(fma (/ (fma z (- 1.0 t) 1) z) (/ 2.0 t) (/ x y))
35.0ms
(/ (fma z (- 1.0 t) 1) z)

simplify64.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0156346
1396307
21684305
35002304

prune212.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (+ (/ 1 z) 1.0) t)
0.2b
(fma (- (+ (/ 1 z) 1.0) t) (/ 2.0 t) (/ x y))

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
30×*-un-lft-identity
15×prod-diff
13×add-sqr-sqrt
11×add-cube-cbrt
10×distribute-lft-out
add-log-exp
fma-neg div-inv
distribute-lft-out--
pow1 add-exp-log expm1-log1p-u diff-log add-cbrt-cube log1p-expm1-u
sub-neg flip3-- associate--l+ sum-log flip-- fma-udef difference-of-squares
Counts
2 → 50
Calls
2 calls:
87.0ms
(- (+ (/ 1 z) 1.0) t)
0.0ms
(fma (- (+ (/ 1 z) 1.0) t) (/ 2.0 t) (/ x y))

series84.0ms

Counts
2 → 6
Calls
2 calls:
15.0ms
(- (+ (/ 1 z) 1.0) t)
68.0ms
(fma (- (+ (/ 1 z) 1.0) t) (/ 2.0 t) (/ x y))

simplify124.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 3 (118.0ms)

IterNodesCost
0180438
1618303
23771285
35001265

prune139.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (- 1) t (pow (cbrt (+ (/ 1 z) 1.0)) 3))
0.2b
(fma (+ (fma (- 1) t (pow (cbrt (+ (/ 1 z) 1.0)) 3)) (- t t)) (/ 2.0 t) (/ x y))
0.3b
(cbrt (+ (/ 1 z) 1.0))
0.4b
(pow (cbrt (+ (/ 1 z) 1.0)) 3)

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
15×cbrt-prod
10×add-sqr-sqrt add-cube-cbrt
unpow-prod-down cube-prod
distribute-lft-out
pow1 add-exp-log
expm1-log1p-u cbrt-div add-cbrt-cube log1p-expm1-u add-log-exp
pow-unpow div-inv
cube-div pow-pow flip3-+ pow1/3 flip-+ fma-udef
cube-mult pow-to-exp unpow3 pow-exp rem-cube-cbrt sqr-pow
Counts
4 → 75
Calls
4 calls:
0.0ms
(fma (- 1) t (pow (cbrt (+ (/ 1 z) 1.0)) 3))
0.0ms
(fma (+ (fma (- 1) t (pow (cbrt (+ (/ 1 z) 1.0)) 3)) (- t t)) (/ 2.0 t) (/ x y))
7.0ms
(cbrt (+ (/ 1 z) 1.0))
17.0ms
(pow (cbrt (+ (/ 1 z) 1.0)) 3)

series546.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(fma (- 1) t (pow (cbrt (+ (/ 1 z) 1.0)) 3))
106.0ms
(fma (+ (fma (- 1) t (pow (cbrt (+ (/ 1 z) 1.0)) 3)) (- t t)) (/ 2.0 t) (/ x y))
114.0ms
(cbrt (+ (/ 1 z) 1.0))
270.0ms
(pow (cbrt (+ (/ 1 z) 1.0)) 3)

simplify71.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
0375629
11751549
25002526

prune314.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* (- (+ (/ 1 z) 1.0) t) (/ 2.0 t)) (/ x y))
0.0b
(- (+ (/ 1 z) 1.0) t)
0.2b
(* (- (+ (/ 1 z) 1.0) t) (/ 2.0 t))

rewrite433.0ms

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity
29×add-sqr-sqrt
20×add-cube-cbrt
15×prod-diff
13×associate-*r*
12×distribute-lft-out
10×times-frac add-log-exp
add-exp-log add-cbrt-cube
associate-*l* div-inv
distribute-lft-out--
pow1 flip3-- fma-neg frac-add flip--
frac-times associate-*l/
expm1-log1p-u log1p-expm1-u
diff-log associate-*r/ prod-exp sum-log cbrt-unprod difference-of-squares unswap-sqr
cbrt-undiv +-commutative sub-neg fma-def flip3-+ div-exp pow-prod-down associate--l+ *-commutative flip-+
Counts
3 → 101
Calls
3 calls:
137.0ms
(+ (* (- (+ (/ 1 z) 1.0) t) (/ 2.0 t)) (/ x y))
87.0ms
(- (+ (/ 1 z) 1.0) t)
205.0ms
(* (- (+ (/ 1 z) 1.0) t) (/ 2.0 t))

series131.0ms

Counts
3 → 9
Calls
3 calls:
67.0ms
(+ (* (- (+ (/ 1 z) 1.0) t) (/ 2.0 t)) (/ x y))
16.0ms
(- (+ (/ 1 z) 1.0) t)
47.0ms
(* (- (+ (/ 1 z) 1.0) t) (/ 2.0 t))

simplify86.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
0467941
12216776
25001774

prune269.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

regimes148.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0198
1198

end0.0ms

sample1.6s

Algorithm
intervals
Results
1.3s10514×body80valid