Details

Time bar (total: 3.6m)

sample25.0ms

Algorithm
intervals
Results
11.0ms270×body80valid

simplify118.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

localize12.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))))

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

series424.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(* z (- t a))
34.0ms
(* z (- b y))
45.0ms
(+ (* x y) (* z (- t a)))
306.0ms
(/ (+ (* x y) (* z (- t a))) (+ y (* z (- b y))))

simplify78.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
06231398
125361029
250021026

prune429.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 22.4b

localize20.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:
0.0ms
(cbrt a)
0.0ms
(fma x y (* z (- t a)))
9.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))))
0.0ms
(fma (- (cbrt a)) (* (cbrt a) (cbrt a)) (* (cbrt a) (* (cbrt a) (cbrt a))))

series1.8m

Counts
4 → 12
Calls
4 calls:
180.0ms
(cbrt a)
45.0ms
(fma x y (* z (- t a)))
1.8m
(/ (+ (fma x y (* z (- t a))) (* (fma (- (cbrt a)) (* (cbrt a) (cbrt a)) (* (cbrt a) (* (cbrt a) (cbrt a)))) z)) (+ y (* z (- b y))))
534.0ms
(fma (- (cbrt a)) (* (cbrt a) (cbrt a)) (* (cbrt a) (* (cbrt a) (cbrt a))))

simplify51.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
02811251
19821062
25001970

prune388.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 22.4b

localize23.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))))

rewrite21.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)
0.0ms
(fma x y (* z (- t a)))
17.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)))))
0.0ms
(fma (- (cbrt a)) (* (cbrt a) (cbrt a)) (* (cbrt a) (* (cbrt a) (cbrt a))))

series1.7m

Counts
4 → 12
Calls
4 calls:
175.0ms
(cbrt a)
42.0ms
(fma x y (* z (- t a)))
1.7m
(* (+ (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)))))
553.0ms
(fma (- (cbrt a)) (* (cbrt a) (cbrt a)) (* (cbrt a) (* (cbrt a) (cbrt a))))

simplify52.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04071465
118121149
25003914

prune355.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 22.4b

localize17.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))))

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

series1.1s

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

simplify92.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
07852479
134412063
250011964

prune446.0ms

Pruning

12 alts after pruning (9 fresh and 3 done)

Merged error: 22.4b

regimes412.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02620
12620

end0.0ms

sample609.0ms

Algorithm
intervals
Results
343.0ms8384×body80valid