Details

Time bar (total: 7.2s)

sample26.0ms

Algorithm
intervals
Results
11.0ms270×body80valid

simplify132.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0248
1438
2758
31208
41568
51898
62658
74518
810238
936328
1050018

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 23.6b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- b y))
0.0b
(* z (- t a))
0.7b
(+ (* x y) (* z (- t a)))
22.7b
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
60×add-sqr-sqrt
56×*-un-lft-identity
54×prod-diff
52×add-cube-cbrt
33×distribute-rgt-in distribute-lft-in
22×associate-+r+
10×add-exp-log associate-*r* add-cbrt-cube
times-frac
pow1
sub-neg associate-*l* add-log-exp
expm1-log1p-u associate-*r/ log1p-expm1-u
flip3-+ associate-/r* flip-+ associate-/l*
flip3-- pow-prod-down prod-exp associate-/r/ *-commutative flip-- cbrt-unprod associate-/l/ distribute-lft-out-- difference-of-squares unswap-sqr
cbrt-undiv +-commutative fma-def frac-2neg div-exp clear-num sum-log div-inv
Counts
4 → 161
Calls
4 calls:
7.0ms
(* z (- b y))
7.0ms
(* z (- t a))
6.0ms
(+ (* x y) (* z (- t a)))
8.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

series464.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(* z (- b y))
37.0ms
(* z (- t a))
45.0ms
(+ (* x y) (* z (- t a)))
341.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

simplify83.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
06231398
125361029
250021026

prune454.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 22.9b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- t a))
0.3b
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
0.7b
(+ (* x y) (* z (- t a)))
22.8b
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
86×add-sqr-sqrt
84×*-un-lft-identity
82×add-cube-cbrt
36×prod-diff
22×distribute-rgt-in associate-+r+ distribute-lft-in
19×add-exp-log
18×associate-/r*
13×add-cbrt-cube
11×associate-/r/
div-exp
pow1 flip3-+ flip-+
div-inv associate-/l* add-log-exp
associate-*r*
cbrt-undiv expm1-log1p-u sub-neg log1p-expm1-u
associate-*l*
rec-exp frac-2neg 1-exp associate-*r/ clear-num associate-/l/
+-commutative flip3-- pow-flip fma-def pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod distribute-lft-out-- inv-pow difference-of-squares unswap-sqr
Counts
4 → 201
Calls
4 calls:
10.0ms
(* z (- t a))
9.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
6.0ms
(+ (* x y) (* z (- t a)))
7.0ms
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

series1.2s

Counts
4 → 12
Calls
4 calls:
37.0ms
(* z (- t a))
843.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
43.0ms
(+ (* x y) (* z (- t a)))
284.0ms
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

simplify94.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
07162474
131252063
250021958

prune534.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 22.9b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (- b y) z y)
0.0b
(* z (- t a))
0.3b
(fma x y (* z (- t a)))
22.7b
(/ (fma x y (* z (- t a))) (fma (- b y) z y))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
28×*-un-lft-identity
26×add-cube-cbrt
18×prod-diff
11×distribute-rgt-in distribute-lft-in
times-frac
add-exp-log add-cbrt-cube
pow1
associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*l* associate-/r* associate-/l*
sub-neg associate-*r/ fma-udef
cbrt-undiv flip3-- frac-2neg div-exp pow-prod-down prod-exp clear-num *-commutative flip-- cbrt-unprod div-inv distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 95
Calls
4 calls:
1.0ms
(fma (- b y) z y)
7.0ms
(* z (- t a))
1.0ms
(fma x y (* z (- t a)))
3.0ms
(/ (fma x y (* z (- t a))) (fma (- b y) z y))

series459.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(fma (- b y) z y)
36.0ms
(* z (- t a))
52.0ms
(fma x y (* z (- t a)))
337.0ms
(/ (fma x y (* z (- t a))) (fma (- b y) z y))

simplify45.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0307774
11107590
25001584

prune309.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 22.9b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- t a))
0.3b
(fma x y (* z (- t a)))
1.0b
(/ 1 (fma (- b y) z y))
22.2b
(* (/ 1 (fma (- b y) z y)) (fma x y (* z (- t a))))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
45×add-sqr-sqrt
37×*-un-lft-identity
34×add-cube-cbrt
20×times-frac
19×add-exp-log
18×prod-diff
16×associate-*l*
13×add-cbrt-cube
12×distribute-rgt-in distribute-lft-in
pow1
associate-*r*
prod-exp
expm1-log1p-u div-exp log1p-expm1-u add-log-exp unswap-sqr
associate-/r* cbrt-unprod fma-udef associate-/l*
cbrt-undiv sub-neg rec-exp 1-exp associate-*r/ pow-prod-down *-commutative div-inv
flip3-- pow-flip frac-2neg associate-*l/ clear-num flip-- distribute-lft-out-- inv-pow difference-of-squares
Counts
4 → 128
Calls
4 calls:
7.0ms
(* z (- t a))
1.0ms
(fma x y (* z (- t a)))
3.0ms
(/ 1 (fma (- b y) z y))
7.0ms
(* (/ 1 (fma (- b y) z y)) (fma x y (* z (- t a))))

series1.6s

Counts
4 → 12
Calls
4 calls:
40.0ms
(* z (- t a))
50.0ms
(fma x y (* z (- t a)))
96.0ms
(/ 1 (fma (- b y) z y))
1.4s
(* (/ 1 (fma (- b y) z y)) (fma x y (* z (- t a))))

simplify60.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0413990
11644767
25001741

prune329.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 10.5b

regimes568.0ms

Accuracy

64.3% (4.6b remaining)

Error of 15.5b against oracle of 10.9b and baseline of 23.7b

bsearch2.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05560
15760
25760

end0.0ms

sample661.0ms

Algorithm
intervals
Results
369.0ms8415×body80valid