Details

Time bar (total: 8.8s)

sample41.0ms

Algorithm
intervals
Results
27.0ms268×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: 23.7b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- b y))
0.0b
(* z (- t a))
1.2b
(+ (* x y) (* z (- t a)))
23.0b
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

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

series453.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(* z (- b y))
36.0ms
(* z (- t a))
47.0ms
(+ (* x y) (* z (- t a)))
330.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

simplify78.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06231398
125361029
250021026

prune457.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 23.1b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* z (- t a))
0.2b
(/ 1 (+ y (* z (- b y))))
1.2b
(+ (* x y) (* z (- t a)))
22.9b
(* (+ (* x y) (* z (- t a))) (/ 1 (+ y (* z (- b y)))))

rewrite51.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:
15.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)))))

series508.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* z (- t a))
89.0ms
(/ 1 (+ y (* z (- b y))))
48.0ms
(+ (* x y) (* z (- t a)))
334.0ms
(* (+ (* x y) (* z (- t a))) (/ 1 (+ y (* z (- b y)))))

simplify75.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
05941375
125231048
250011011

prune493.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 23.1b

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

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

series1.4s

Counts
4 → 12
Calls
4 calls:
36.0ms
(* z (- t a))
1.1s
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
47.0ms
(+ (* x y) (* z (- t a)))
281.0ms
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

simplify95.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
07162474
131252063
250021958

prune556.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 23.1b

localize14.0ms

Local error

Found 4 expressions with local error:

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

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

series1.5s

Counts
4 → 12
Calls
4 calls:
106.0ms
(/ 1 (fma (- b y) z y))
61.0ms
(/ 1 (+ (* x y) (* z (- t a))))
54.0ms
(+ (* x y) (* z (- t a)))
1.3s
(/ (/ 1 (fma (- b y) z y)) (/ 1 (+ (* x y) (* z (- t a)))))

simplify104.0ms

Algorithm
egg-herbie
Counts
373 → 373
Iterations

Useful iterations: 1 (44.0ms)

IterNodesCost
015165862
150015259

prune906.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 10.7b

regimes379.0ms

Accuracy

32% (8.7b remaining)

Error of 19.7b against oracle of 11.0b and baseline of 23.8b

bsearch146.0ms

Steps
ItersRangePoint
9
6.282190708703998e+62
1.435817206101045e+69
9.06086953674542e+67
10
-8.975163005195737e+106
-3.0124032878399176e+91
-3.0137375986476608e+106

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03312
13312

end0.0ms

sample1.2s

Algorithm
intervals
Results
881.0ms8399×body80valid