Details

Time bar (total: 4.3s)

sample24.0ms

Algorithm
intervals
Results
11.0ms261×body80valid

simplify92.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 6 (26.0ms)

IterNodesCost
0256
1586
21106
31986
44116
58636
612295
716985
823045
925085
1025105
1125105

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.9b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (- t z) 1.0)
0.0b
(/ a (+ (- t z) 1.0))
1.9b
(fma (/ a (+ (- t z) 1.0)) (- z y) x)

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
47×*-un-lft-identity
22×add-sqr-sqrt
20×add-cube-cbrt
15×times-frac
11×associate-+l+
10×distribute-lft-out
prod-diff
add-log-exp
distribute-lft-out--
add-exp-log fma-def associate-/r* add-cbrt-cube
pow1 expm1-log1p-u log1p-expm1-u associate-/l*
flip3-+ sum-log associate-/r/ flip-+
cbrt-undiv +-commutative associate-+l- sub-neg frac-2neg diff-log div-exp clear-num fma-udef div-inv difference-of-squares
Counts
3 → 82
Calls
3 calls:
8.0ms
(+ (- t z) 1.0)
8.0ms
(/ a (+ (- t z) 1.0))
1.0ms
(fma (/ a (+ (- t z) 1.0)) (- z y) x)

series212.0ms

Counts
3 → 9
Calls
3 calls:
15.0ms
(+ (- t z) 1.0)
37.0ms
(/ a (+ (- t z) 1.0))
160.0ms
(fma (/ a (+ (- t z) 1.0)) (- z y) x)

simplify149.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0274477
1916395
24461382
35001382

prune264.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 1.4b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ a (+ t (- 1.0 z)))
1.9b
(fma (/ a (+ t (- 1.0 z))) (- z y) x)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity
15×times-frac
12×add-sqr-sqrt add-cube-cbrt
distribute-lft-out
associate-/r*
add-exp-log add-cbrt-cube distribute-lft-out--
associate-/l*
pow1 expm1-log1p-u associate-/r/ log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+ fma-udef div-inv
Counts
2 → 49
Calls
2 calls:
7.0ms
(/ a (+ t (- 1.0 z)))
1.0ms
(fma (/ a (+ t (- 1.0 z))) (- z y) x)

series197.0ms

Counts
2 → 6
Calls
2 calls:
40.0ms
(/ a (+ t (- 1.0 z)))
157.0ms
(fma (/ a (+ t (- 1.0 z))) (- z y) x)

simplify90.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0208330
1723301
23087297
35001297

prune152.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 1.4b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- x (/ (- y z) (/ (+ (- t z) 1.0) a)))
0.0b
(+ (- t z) 1.0)
0.0b
(/ (+ (- t z) 1.0) a)
10.8b
(/ (- y z) (/ (+ (- t z) 1.0) a))

rewrite123.0ms

Algorithm
rewrite-expression-head
Rules
889×*-un-lft-identity
713×times-frac
556×add-sqr-sqrt
391×add-cube-cbrt
309×prod-diff
147×distribute-lft-out--
136×distribute-lft-out
81×difference-of-squares
26×div-inv
22×associate-/r*
11×add-exp-log associate-+l+ add-cbrt-cube add-log-exp
10×associate-/l*
fma-def
pow1 cbrt-undiv expm1-log1p-u div-exp associate-/r/ log1p-expm1-u associate-/l/
fma-neg div-sub
associate-+l- sub-neg flip3-- frac-2neg flip3-+ diff-log clear-num sum-log flip-- flip-+
+-commutative associate--r-
Counts
4 → 534
Calls
4 calls:
45.0ms
(- x (/ (- y z) (/ (+ (- t z) 1.0) a)))
8.0ms
(+ (- t z) 1.0)
9.0ms
(/ (+ (- t z) 1.0) a)
15.0ms
(/ (- y z) (/ (+ (- t z) 1.0) a))

series280.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(- x (/ (- y z) (/ (+ (- t z) 1.0) a)))
15.0ms
(+ (- t z) 1.0)
33.0ms
(/ (+ (- t z) 1.0) a)
139.0ms
(/ (- y z) (/ (+ (- t z) 1.0) a))

simplify168.0ms

Algorithm
egg-herbie
Counts
546 → 546
Iterations

Useful iterations: 1 (40.0ms)

IterNodesCost
0188816437
1500112924

prune1.0s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (- t z) 1.0)
0.0b
(- x (* (/ (- y z) (+ (- t z) 1.0)) a))
0.0b
(/ (- y z) (+ (- t z) 1.0))
0.8b
(* (/ (- y z) (+ (- t z) 1.0)) a)

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
121×*-un-lft-identity
66×add-sqr-sqrt
51×times-frac
37×add-cube-cbrt
31×associate-*l*
24×distribute-lft-out distribute-lft-out--
12×prod-diff difference-of-squares
11×add-exp-log associate-+l+ add-cbrt-cube add-log-exp
pow1
fma-def associate-/r* associate-/l*
expm1-log1p-u associate-/r/ log1p-expm1-u
flip3-+ fma-neg associate-*r* flip-+
cbrt-undiv sub-neg flip3-- diff-log div-exp prod-exp sum-log flip-- cbrt-unprod div-inv associate-/l/ unswap-sqr
+-commutative associate-+l- frac-2neg div-sub pow-prod-down associate-*l/ clear-num *-commutative
Counts
4 → 159
Calls
4 calls:
8.0ms
(+ (- t z) 1.0)
3.0ms
(- x (* (/ (- y z) (+ (- t z) 1.0)) a))
11.0ms
(/ (- y z) (+ (- t z) 1.0))
16.0ms
(* (/ (- y z) (+ (- t z) 1.0)) a)

series294.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(+ (- t z) 1.0)
94.0ms
(- x (* (/ (- y z) (+ (- t z) 1.0)) a))
52.0ms
(/ (- y z) (+ (- t z) 1.0))
133.0ms
(* (/ (- y z) (+ (- t z) 1.0)) a)

simplify67.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05171142
118851011
250031008

prune397.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes114.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0146
1146

end0.0ms

sample550.0ms

Algorithm
intervals
Results
299.0ms8476×body80valid
0.0msbody1280valid