Details

Time bar (total: 6.2s)

sample29.0ms

Algorithm
intervals
Results
13.0ms256×body80valid

simplify76.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03310
17910
221010
348310
491010
5151610
6281810
7500110

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.5b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ t y) a)
1.9b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
2.2b
(+ (* (+ x y) z) (* (+ t y) a))
27.6b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite272.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
20×add-sqr-sqrt
18×add-cube-cbrt
15×times-frac
13×distribute-lft-out
11×add-log-exp
10×associate-*l/
add-exp-log add-cbrt-cube
flip3-+ flip-+
pow1
associate-/r*
expm1-log1p-u associate-*l* frac-add log1p-expm1-u
fma-neg associate-*r* prod-diff associate-/l*
flip3-- diff-log sum-log associate-/r/ flip-- associate-/l/
cbrt-undiv +-commutative sub-neg fma-def frac-2neg div-sub div-exp pow-prod-down prod-exp associate--l+ clear-num *-commutative cbrt-unprod div-inv unswap-sqr
Counts
4 → 105
Calls
4 calls:
20.0ms
(* (+ t y) a)
79.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
14.0ms
(+ (* (+ x y) z) (* (+ t y) a))
156.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series664.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (+ t y) a)
86.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
40.0ms
(+ (* (+ x y) z) (* (+ t y) a))
516.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify69.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05641186
125091087
250011077

prune385.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 10.4b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (+ (+ x t) y))
1.9b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
2.2b
(+ (* (+ x y) z) (* (+ t y) a))
27.7b
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

rewrite378.0ms

Algorithm
rewrite-expression-head
Rules
62×*-un-lft-identity
33×add-sqr-sqrt
32×times-frac
26×add-cube-cbrt
21×associate-*r* distribute-lft-out
17×add-exp-log
11×add-cbrt-cube add-log-exp
10×associate-*l/
pow1 flip3-+ flip-+
associate-/r*
expm1-log1p-u div-exp frac-add prod-exp associate-/r/ log1p-expm1-u
flip3-- fma-neg associate-*l* prod-diff flip-- associate-/l* unswap-sqr
cbrt-undiv frac-times rec-exp diff-log 1-exp sum-log cbrt-unprod div-inv
+-commutative sub-neg pow-flip fma-def frac-2neg associate-*r/ pow-prod-down associate--l+ clear-num un-div-inv *-commutative inv-pow
Counts
4 → 133
Calls
4 calls:
33.0ms
(/ 1 (+ (+ x t) y))
79.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
14.0ms
(+ (* (+ x y) z) (* (+ t y) a))
248.0ms
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

series682.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(/ 1 (+ (+ x t) y))
84.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
40.0ms
(+ (* (+ x y) z) (* (+ t y) a))
508.0ms
(* (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (/ 1 (+ (+ x t) y)))

simplify74.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06061370
129541192
250011143

prune372.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 10.4b

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 1 (/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b)))))
0.5b
(- (* (+ t y) a) (* y b))
1.0b
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
27.6b
(/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

rewrite121.0ms

Algorithm
rewrite-expression-head
Rules
150×*-un-lft-identity
132×times-frac
70×add-sqr-sqrt add-cube-cbrt
48×distribute-lft-out
22×associate-/r*
17×add-exp-log
11×add-cbrt-cube
div-exp associate-/l*
div-inv add-log-exp
pow1
cbrt-undiv expm1-log1p-u log1p-expm1-u
rec-exp frac-2neg 1-exp clear-num associate-/l/
sub-neg flip3-- pow-flip flip3-+ fma-neg diff-log prod-diff associate-/r/ flip-- flip-+ fma-udef inv-pow
Counts
4 → 167
Calls
4 calls:
37.0ms
(/ 1 (/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b)))))
14.0ms
(- (* (+ t y) a) (* y b))
0.0ms
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
64.0ms
(/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

series707.0ms

Counts
4 → 12
Calls
4 calls:
509.0ms
(/ 1 (/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b)))))
25.0ms
(- (* (+ t y) a) (* y b))
85.0ms
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
88.0ms
(/ (+ (+ x t) y) (fma z (+ x y) (- (* (+ t y) a) (* y b))))

simplify64.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04962605
122282401
250022286

prune355.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 6.5b

localize19.0ms

Local error

Found 4 expressions with local error:

0.5b
(- (* (+ t y) a) (* y b))
0.5b
(/ 1 (fma z (+ x y) (- (* (+ t y) a) (* y b))))
1.0b
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
27.0b
(* (+ (+ x t) y) (/ 1 (fma z (+ x y) (- (* (+ t y) a) (* y b)))))

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
26×*-un-lft-identity
20×add-cube-cbrt times-frac
17×add-exp-log
13×associate-*r*
11×add-cbrt-cube
pow1
add-log-exp
associate-*l*
expm1-log1p-u div-exp prod-exp log1p-expm1-u
associate-/r* distribute-lft-out associate-/l* unswap-sqr
cbrt-undiv frac-times rec-exp flip3-+ 1-exp associate-*l/ cbrt-unprod flip-+ div-inv
sub-neg flip3-- pow-flip frac-2neg fma-neg diff-log associate-*r/ prod-diff pow-prod-down clear-num un-div-inv *-commutative flip-- fma-udef inv-pow
Counts
4 → 103
Calls
4 calls:
14.0ms
(- (* (+ t y) a) (* y b))
5.0ms
(/ 1 (fma z (+ x y) (- (* (+ t y) a) (* y b))))
0.0ms
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
81.0ms
(* (+ (+ x t) y) (/ 1 (fma z (+ x y) (- (* (+ t y) a) (* y b)))))

series250.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(- (* (+ t y) a) (* y b))
52.0ms
(/ 1 (fma z (+ x y) (- (* (+ t y) a) (* y b))))
85.0ms
(fma z (+ x y) (- (* (+ t y) a) (* y b)))
89.0ms
(* (+ (+ x t) y) (/ 1 (fma z (+ x y) (- (* (+ t y) a) (* y b)))))

simplify55.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
03861147
118661013
25001981

prune285.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 6.5b

regimes575.0ms

Accuracy

84.4% (3.5b remaining)

Error of 7.8b against oracle of 4.3b and baseline of 26.5b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03632
13632

end0.0ms

sample664.0ms

Algorithm
intervals
Results
320.0ms7997×body80valid
0.0msbody160valid
0.0msbody640valid