Details

Time bar (total: 6.9s)

sample27.0ms

Algorithm
intervals
Results
10.0ms264×body80valid

simplify122.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: 24.4b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- t a))
0.0b
(* z (- b y))
0.3b
(+ (* x y) (* z (- t a)))
23.6b
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

rewrite96.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:
23.0ms
(* z (- t a))
22.0ms
(* z (- b y))
12.0ms
(+ (* x y) (* z (- t a)))
33.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

series388.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(* z (- t a))
35.0ms
(* z (- b y))
37.0ms
(+ (* x y) (* z (- t a)))
285.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

simplify76.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
06231398
125361029
250021026

prune414.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 23.8b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- b y))
0.2b
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
0.3b
(+ (* x y) (* z (- t a)))
23.7b
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

rewrite98.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:
23.0ms
(* z (- b y))
22.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
12.0ms
(+ (* x y) (* z (- t a)))
32.0ms
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

series1.2s

Counts
4 → 12
Calls
4 calls:
32.0ms
(* z (- b y))
733.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
38.0ms
(+ (* x y) (* z (- t a)))
434.0ms
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

simplify96.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
07852479
134412063
250011964

prune460.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 23.8b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
483×times-frac
242×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
52×add-exp-log
36×div-exp
33×div-inv
31×associate-/r/
22×associate-+r+
21×associate-/r*
20×add-cbrt-cube
19×associate-/l*
18×prod-diff
16×flip3-+ flip-+
11×distribute-rgt-in distribute-lft-in
10×cbrt-undiv rec-exp 1-exp
pow1 add-log-exp
expm1-log1p-u log1p-expm1-u
frac-2neg clear-num
sub-neg pow-flip inv-pow
+-commutative fma-def sum-log associate-/l/
Counts
4 → 361
Calls
4 calls:
12.0ms
(+ (* x y) (* z (- t a)))
5.0ms
(/ 1 (fma z (- b y) y))
13.0ms
(/ 1 (+ (* x y) (* z (- t a))))
28.0ms
(/ (/ 1 (fma z (- b y) y)) (/ 1 (+ (* x y) (* z (- t a)))))

series551.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(+ (* x y) (* z (- t a)))
48.0ms
(/ 1 (fma z (- b y) y))
53.0ms
(/ 1 (+ (* x y) (* z (- t a))))
408.0ms
(/ (/ 1 (fma z (- b y) y)) (/ 1 (+ (* x y) (* z (- t a)))))

simplify92.0ms

Algorithm
egg-herbie
Counts
373 → 373
Iterations

Useful iterations: 1 (38.0ms)

IterNodesCost
015145862
150015233

prune769.0ms

Pruning

12 alts after pruning (9 fresh and 3 done)

Merged error: 12.3b

localize22.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (- b y))
0.5b
(cbrt (- b y))
0.5b
(cbrt (- b y))
23.7b
(/ (+ y (* (* z (* (cbrt (- b y)) (cbrt (- b y)))) (cbrt (- b y)))) (+ (* x y) (* z (- t a))))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt *-un-lft-identity
15×cbrt-prod add-cube-cbrt
times-frac
add-exp-log cbrt-div add-cbrt-cube
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
flip3-- pow1/3 associate-/r* flip-- associate-/l* distribute-lft-out-- difference-of-squares
flip3-+ associate-/r/ flip-+ associate-/l/
cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
4 → 84
Calls
4 calls:
4.0ms
(cbrt (- b y))
4.0ms
(cbrt (- b y))
4.0ms
(cbrt (- b y))
33.0ms
(/ (+ y (* (* z (* (cbrt (- b y)) (cbrt (- b y)))) (cbrt (- b y)))) (+ (* x y) (* z (- t a))))

series651.0ms

Counts
4 → 12
Calls
4 calls:
138.0ms
(cbrt (- b y))
132.0ms
(cbrt (- b y))
135.0ms
(cbrt (- b y))
247.0ms
(/ (+ y (* (* z (* (cbrt (- b y)) (cbrt (- b y)))) (cbrt (- b y)))) (+ (* x y) (* z (- t a))))

simplify43.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03541102
112091011
25001944

prune373.0ms

Pruning

13 alts after pruning (9 fresh and 4 done)

Merged error: 12.3b

regimes531.0ms

Accuracy

53.7% (5.9b remaining)

Error of 17.0b against oracle of 11.1b and baseline of 23.9b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02827
12827

end0.0ms

sample726.0ms

Algorithm
intervals
Results
331.0ms8419×body80valid