Details

Time bar (total: 7.4s)

sample28.0ms

Algorithm
intervals
Results
14.0ms267×body80valid

simplify134.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: 26.4b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.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:
12.0ms
(* z (- b y))
12.0ms
(* z (- t a))
6.0ms
(+ (* x y) (* z (- t a)))
12.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

series464.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(* z (- b y))
42.0ms
(* z (- t a))
44.0ms
(+ (* x y) (* z (- t a)))
340.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

simplify84.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
06231398
125361029
250021026

prune482.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 25.6b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- t a))
0.7b
(/ 1 (+ y (* z (- b y))))
0.8b
(+ (* x y) (* z (- t a)))
25.1b
(* (+ (* x y) (* z (- t a))) (/ 1 (+ y (* z (- b y)))))

rewrite48.0ms

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

series518.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(* z (- t a))
89.0ms
(/ 1 (+ y (* z (- b y))))
44.0ms
(+ (* x y) (* z (- t a)))
342.0ms
(* (+ (* x y) (* z (- t a))) (/ 1 (+ y (* z (- b y)))))

simplify82.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
05941375
125231048
250011011

prune486.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 25.6b

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.8b
(+ (* x y) (* z (- t a)))
25.5b
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

rewrite52.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:
15.0ms
(* z (- t a))
11.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
6.0ms
(+ (* x y) (* z (- t a)))
11.0ms
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

series1.2s

Counts
4 → 12
Calls
4 calls:
37.0ms
(* z (- t a))
878.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
44.0ms
(+ (* x y) (* z (- t a)))
289.0ms
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

simplify95.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
07162474
131252063
250021958

prune554.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 25.6b

localize20.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 1 (* (+ y (* z (- b y))) (/ 1 (+ (* x y) (* z (- t a))))))
0.6b
(/ 1 (+ (* x y) (* z (- t a))))
0.8b
(+ (* x y) (* z (- t a)))
25.0b
(* (+ y (* z (- b y))) (/ 1 (+ (* x y) (* z (- t a)))))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
52×add-exp-log
41×add-sqr-sqrt
35×*-un-lft-identity
34×add-cube-cbrt
23×times-frac
22×associate-+r+
20×div-exp add-cbrt-cube
18×prod-diff
16×prod-exp
15×associate-*r*
11×distribute-rgt-in distribute-lft-in
10×pow1 rec-exp 1-exp associate-/r/
flip3-+ flip-+
cbrt-undiv associate-/l* add-log-exp
expm1-log1p-u frac-times associate-*l/ associate-/r* cbrt-unprod log1p-expm1-u
pow-flip associate-*l* div-inv unswap-sqr
sub-neg frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv inv-pow
+-commutative fma-def sum-log *-commutative
Counts
4 → 161
Calls
4 calls:
15.0ms
(/ 1 (* (+ y (* z (- b y))) (/ 1 (+ (* x y) (* z (- t a))))))
6.0ms
(/ 1 (+ (* x y) (* z (- t a))))
6.0ms
(+ (* x y) (* z (- t a)))
20.0ms
(* (+ y (* z (- b y))) (/ 1 (+ (* x y) (* z (- t a)))))

series1.3s

Counts
4 → 12
Calls
4 calls:
886.0ms
(/ 1 (* (+ y (* z (- b y))) (/ 1 (+ (* x y) (* z (- t a))))))
59.0ms
(/ 1 (+ (* x y) (* z (- t a))))
50.0ms
(+ (* x y) (* z (- t a)))
294.0ms
(* (+ y (* z (- b y))) (/ 1 (+ (* x y) (* z (- t a)))))

simplify80.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06351589
126161248
250031197

prune471.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 25.6b

regimes439.0ms

Accuracy

0% (0.7b remaining)

Error of 23.7b against oracle of 23.0b and baseline of 23.7b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0249
1249

end0.0ms

sample658.0ms

Algorithm
intervals
Results
356.0ms8442×body80valid