Details

Time bar (total: 4.1m)

sample26.0ms

Algorithm
intervals
Results
11.0ms270×body80valid

simplify137.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.1b

localize16.0ms

Local error

Found 4 expressions with local error:

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

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

series487.0ms

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

simplify96.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
06231398
125361029
250021026

prune485.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 22.4b

localize21.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt a)
0.8b
(fma x y (* z (- t a)))
22.2b
(/ (+ (fma x y (* z (- t a))) (* (fma (- (cbrt a)) (* (cbrt a) (cbrt a)) (* (cbrt a) (* (cbrt a) (cbrt a)))) z)) (+ y (* z (- b y))))
60.8b
(fma (- (cbrt a)) (* (cbrt a) (cbrt a)) (* (cbrt a) (* (cbrt a) (cbrt a))))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-prod associate-/r* associate-/l*
flip3-+ associate-/r/ flip-+ fma-udef associate-/l/
cbrt-undiv frac-2neg pow1/3 div-exp clear-num div-inv
Counts
4 → 66
Calls
4 calls:
1.0ms
(cbrt a)
1.0ms
(fma x y (* z (- t a)))
6.0ms
(/ (+ (fma x y (* z (- t a))) (* (fma (- (cbrt a)) (* (cbrt a) (cbrt a)) (* (cbrt a) (* (cbrt a) (cbrt a)))) z)) (+ y (* z (- b y))))
1.0ms
(fma (- (cbrt a)) (* (cbrt a) (cbrt a)) (* (cbrt a) (* (cbrt a) (cbrt a))))

series2.1m

Counts
4 → 12
Calls
4 calls:
204.0ms
(cbrt a)
51.0ms
(fma x y (* z (- t a)))
2.1m
(/ (+ (fma x y (* z (- t a))) (* (fma (- (cbrt a)) (* (cbrt a) (cbrt a)) (* (cbrt a) (* (cbrt a) (cbrt a)))) z)) (+ y (* z (- b y))))
578.0ms
(fma (- (cbrt a)) (* (cbrt a) (cbrt a)) (* (cbrt a) (* (cbrt a) (cbrt a))))

simplify45.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
02811251
19821062
25001970

prune405.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 22.4b

localize22.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt a)
0.8b
(fma x y (* z (- t a)))
22.0b
(* (+ (fma x y (* z (- t a))) (* (fma (- (cbrt a)) (* (cbrt a) (cbrt a)) (* (cbrt a) (* (cbrt a) (cbrt a)))) z)) (/ 1 (+ y (* z (- b y)))))
60.8b
(fma (- (cbrt a)) (* (cbrt a) (cbrt a)) (* (cbrt a) (* (cbrt a) (cbrt a))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
15×associate-*r*
14×*-un-lft-identity
13×add-exp-log add-cube-cbrt
11×times-frac
add-cbrt-cube
pow1
expm1-log1p-u prod-exp log1p-expm1-u add-log-exp
cbrt-prod flip3-+ associate-*l* flip-+ unswap-sqr
frac-times div-exp associate-*l/ associate-/r/ cbrt-unprod fma-udef
cbrt-undiv rec-exp pow1/3 1-exp associate-*r/ pow-prod-down un-div-inv *-commutative div-inv
Counts
4 → 77
Calls
4 calls:
1.0ms
(cbrt a)
1.0ms
(fma x y (* z (- t a)))
10.0ms
(* (+ (fma x y (* z (- t a))) (* (fma (- (cbrt a)) (* (cbrt a) (cbrt a)) (* (cbrt a) (* (cbrt a) (cbrt a)))) z)) (/ 1 (+ y (* z (- b y)))))
1.0ms
(fma (- (cbrt a)) (* (cbrt a) (cbrt a)) (* (cbrt a) (* (cbrt a) (cbrt a))))

series1.9m

Counts
4 → 12
Calls
4 calls:
184.0ms
(cbrt a)
54.0ms
(fma x y (* z (- t a)))
1.9m
(* (+ (fma x y (* z (- t a))) (* (fma (- (cbrt a)) (* (cbrt a) (cbrt a)) (* (cbrt a) (* (cbrt a) (cbrt a)))) z)) (/ 1 (+ y (* z (- b y)))))
579.0ms
(fma (- (cbrt a)) (* (cbrt a) (cbrt a)) (* (cbrt a) (* (cbrt a) (cbrt a))))

simplify58.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04071465
118121149
25003914

prune397.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 22.4b

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

rewrite41.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:
7.0ms
(* z (- b y))
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:
42.0ms
(* z (- b y))
840.0ms
(/ 1 (/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a)))))
42.0ms
(+ (* x y) (* z (- t a)))
278.0ms
(/ (+ y (* z (- b y))) (+ (* x y) (* z (- t a))))

simplify98.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
07852479
134412063
250011964

prune510.0ms

Pruning

12 alts after pruning (9 fresh and 3 done)

Merged error: 22.4b

regimes456.0ms

Accuracy

0% (0.7b remaining)

Error of 23.5b against oracle of 22.8b and baseline of 23.5b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02620
12620

end0.0ms

sample621.0ms

Algorithm
intervals
Results
344.0ms8384×body80valid