Details

Time bar (total: 3.0s)

sample28.0ms

Algorithm
intervals
Results
13.0ms340×body80valid

simplify74.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (16.0ms)

IterNodesCost
0258
1508
21068
32088
43226
55206
614396
750026

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 9.6b

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma z (- 1.0 t) 1)
0.1b
(fma (/ (fma z (- 1.0 t) 1) z) (/ 2.0 t) (/ x y))
9.0b
(/ (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)

series154.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (53.0ms)

IterNodesCost
0156346
1396307
21684305
35002304

prune201.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 1 expressions with local error:

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

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
0.0ms
(fma (- (+ (/ 1 z) 1.0) t) (/ 2.0 t) (/ x y))

series67.0ms

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

simplify113.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (30.0ms)

IterNodesCost
059106
113792
259890
3318889
4500289

prune45.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity
41×add-sqr-sqrt
39×add-cube-cbrt
36×prod-diff
22×distribute-rgt-in associate-+r+ distribute-lft-in
16×fma-def
14×add-exp-log add-cbrt-cube
12×times-frac
pow1
add-log-exp
associate-*r*
expm1-log1p-u sub-neg prod-exp cbrt-unprod log1p-expm1-u
flip3-+ pow-prod-down flip-+ associate-/l*
cbrt-undiv +-commutative associate-*r/ div-exp sum-log div-inv associate-/l/
flip3-- frac-2neg associate-*l* frac-add clear-num associate-/r* *-commutative flip-- distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 137
Calls
4 calls:
19.0ms
(+ (/ x y) (/ (+ 2.0 (* (* z 2.0) (- 1.0 t))) (* t z)))
6.0ms
(+ 2.0 (* (* z 2.0) (- 1.0 t)))
15.0ms
(* (* z 2.0) (- 1.0 t))
11.0ms
(/ (+ 2.0 (* (* z 2.0) (- 1.0 t))) (* t z))

series221.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(+ (/ x y) (/ (+ 2.0 (* (* z 2.0) (- 1.0 t))) (* t z)))
37.0ms
(+ 2.0 (* (* z 2.0) (- 1.0 t)))
52.0ms
(* (* z 2.0) (- 1.0 t))
73.0ms
(/ (+ 2.0 (* (* z 2.0) (- 1.0 t))) (* t z))

simplify95.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
06221150
12605863
25001850

prune414.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ x y) (fma 2.0 (/ 1 (* t z)) (- (* 2.0 (/ 1 t)) 2.0)))
0.0b
(* 2.0 (/ 1 t))
0.0b
(fma 2.0 (/ 1 (* t z)) (- (* 2.0 (/ 1 t)) 2.0))
0.5b
(/ 1 (* t z))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×add-exp-log *-un-lft-identity
23×times-frac
21×add-cube-cbrt
14×add-cbrt-cube
13×fma-def associate-*r*
pow1
prod-exp
div-exp add-log-exp
expm1-log1p-u log1p-expm1-u
cbrt-undiv rec-exp 1-exp associate-*l* cbrt-unprod div-inv associate-/l* unswap-sqr
pow-flip pow-prod-down fma-udef
+-commutative associate-+r+ frac-2neg flip3-+ associate-*r/ clear-num associate-/r* sum-log un-div-inv *-commutative flip-+ distribute-lft-out inv-pow
Counts
4 → 106
Calls
4 calls:
11.0ms
(+ (/ x y) (fma 2.0 (/ 1 (* t z)) (- (* 2.0 (/ 1 t)) 2.0)))
8.0ms
(* 2.0 (/ 1 t))
0.0ms
(fma 2.0 (/ 1 (* t z)) (- (* 2.0 (/ 1 t)) 2.0))
5.0ms
(/ 1 (* t z))

series149.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(+ (/ x y) (fma 2.0 (/ 1 (* t z)) (- (* 2.0 (/ 1 t)) 2.0)))
19.0ms
(* 2.0 (/ 1 t))
44.0ms
(fma 2.0 (/ 1 (* t z)) (- (* 2.0 (/ 1 t)) 2.0))
15.0ms
(/ 1 (* t z))

simplify56.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0377535
11557468
25001446

prune339.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes150.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

sample700.0ms

Algorithm
intervals
Results
416.0ms10440×body80valid