Details

Time bar (total: 15.7s)

sample92.0ms

Algorithm
intervals
Results
32.0ms256×body80valid
29.0ms212×body80nan

simplify42.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05017
110817
238917
3176117
4500217

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.3b
(* z (sqrt (+ t a)))
0.4b
(/ 2.0 (* t 3.0))
2.4b
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
5.4b
(/ (* z (sqrt (+ t a))) t)

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
75×*-un-lft-identity
63×prod-diff
62×associate--r+
49×add-sqr-sqrt
45×add-cube-cbrt
36×times-frac
31×distribute-rgt-in distribute-lft-in
20×frac-sub
16×add-exp-log add-cbrt-cube
15×distribute-lft-out
12×div-inv
flip3-- flip--
frac-times associate-*r/
fma-neg associate-*r*
pow1 add-log-exp
flip3-+ sqrt-prod flip-+
cbrt-undiv expm1-log1p-u sqrt-div div-exp associate-/r* log1p-expm1-u associate-/l*
sub-neg associate-*l* prod-exp cbrt-unprod
frac-2neg associate-*l/ associate--l+ clear-num associate-/l/ unswap-sqr
diff-log pow-prod-down *-commutative
Counts
4 → 179
Calls
4 calls:
11.0ms
(* z (sqrt (+ t a)))
3.0ms
(/ 2.0 (* t 3.0))
39.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
6.0ms
(/ (* z (sqrt (+ t a))) t)

series340.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(* z (sqrt (+ t a)))
15.0ms
(/ 2.0 (* t 3.0))
180.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
80.0ms
(/ (* z (sqrt (+ t a))) t)

simplify56.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
013772637
150012324

prune914.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize26.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))
0.3b
(/ (sqrt (+ t a)) t)
0.4b
(/ 2.0 (* t 3.0))
2.5b
(fma (/ z 1) (/ (sqrt (+ t a)) t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))

rewrite155.0ms

Algorithm
rewrite-expression-head
Rules
97×*-un-lft-identity
60×add-sqr-sqrt
56×prod-diff
54×add-cube-cbrt
48×times-frac
31×distribute-rgt-in distribute-lft-in
19×distribute-lft-out
16×sqrt-prod
13×add-exp-log add-cbrt-cube
10×div-inv associate-/l*
frac-times flip3-- flip--
pow1 associate-*r* frac-sub
associate-*l*
expm1-log1p-u flip3-+ associate-*r/ associate-/r* flip-+ log1p-expm1-u add-log-exp
cbrt-undiv div-exp distribute-lft-out--
sub-neg frac-2neg sqrt-div associate-*l/ prod-exp associate--l+ clear-num cbrt-unprod associate-/l/ difference-of-squares
pow-prod-down *-commutative fma-udef unswap-sqr
Counts
4 → 181
Calls
4 calls:
132.0ms
(* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))
8.0ms
(/ (sqrt (+ t a)) t)
3.0ms
(/ 2.0 (* t 3.0))
0.0ms
(fma (/ z 1) (/ (sqrt (+ t a)) t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))

series343.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))
63.0ms
(/ (sqrt (+ t a)) t)
15.0ms
(/ 2.0 (* t 3.0))
207.0ms
(fma (/ z 1) (/ (sqrt (+ t a)) t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))

simplify315.0ms

Algorithm
egg-herbie
Counts
193 → 193
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
08942691
140232163
250022158

prune728.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.2b

localize34.0ms

Local error

Found 4 expressions with local error:

3.5b
(* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))
4.2b
(* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0))
9.0b
(- (* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0))) (* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0)))))
28.9b
(/ (- (* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0))) (* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))) (* t (* (- a (/ 5.0 6.0)) (* t 3.0))))

rewrite614.0ms

Algorithm
rewrite-expression-head
Rules
766×associate-*l/
764×associate-*r/
524×frac-sub
498×flip3-- flip--
364×frac-times
240×sqrt-div
162×associate-/l/
120×flip3-+ flip-+
28×add-exp-log add-cbrt-cube
24×distribute-rgt-in distribute-lft-in
14×pow1
12×prod-exp cbrt-unprod associate--r+
sub-neg prod-diff
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*l*
pow-prod-down add-log-exp
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
times-frac associate-/l*
associate-*r* associate-/r/ *-commutative
frac-2neg fma-neg diff-log div-sub clear-num associate-/r* div-inv difference-of-squares
Counts
4 → 455
Calls
4 calls:
96.0ms
(* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))
13.0ms
(* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0))
160.0ms
(- (* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0))) (* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0)))))
270.0ms
(/ (- (* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0))) (* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))) (* t (* (- a (/ 5.0 6.0)) (* t 3.0))))

series1.5s

Counts
4 → 12
Calls
4 calls:
178.0ms
(* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))
51.0ms
(* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0))
576.0ms
(- (* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0))) (* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0)))))
686.0ms
(/ (- (* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0))) (* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))) (* t (* (- a (/ 5.0 6.0)) (* t 3.0))))

simplify320.0ms

Algorithm
egg-herbie
Counts
467 → 467
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
0490623936
1500123936

prune5.9s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- a (/ 5.0 6.0)) (* t 3.0))
0.3b
(* z (sqrt (+ t a)))
1.6b
(* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0)))
29.8b
(/ (- (* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0))) 0) (* t (* (- a (/ 5.0 6.0)) (* t 3.0))))

rewrite252.0ms

Algorithm
rewrite-expression-head
Rules
46×add-exp-log add-cbrt-cube
32×pow1
25×prod-exp cbrt-unprod
19×add-sqr-sqrt pow-prod-down
14×*-un-lft-identity
12×associate-*r/ associate-*l/
10×add-cube-cbrt associate-*l*
associate-*r*
sqrt-div
flip3-- flip--
sqrt-prod
cbrt-undiv expm1-log1p-u frac-times flip3-+ times-frac div-exp flip-+ log1p-expm1-u add-log-exp
*-commutative associate-/l*
associate-/r/ associate-/l/ difference-of-squares unswap-sqr
frac-2neg div-sub clear-num associate-/r* div-inv distribute-lft-out distribute-lft-out--
Counts
4 → 122
Calls
4 calls:
26.0ms
(* (- a (/ 5.0 6.0)) (* t 3.0))
11.0ms
(* z (sqrt (+ t a)))
48.0ms
(* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0)))
162.0ms
(/ (- (* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0))) 0) (* t (* (- a (/ 5.0 6.0)) (* t 3.0))))

series462.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* (- a (/ 5.0 6.0)) (* t 3.0))
67.0ms
(* z (sqrt (+ t a)))
94.0ms
(* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0)))
259.0ms
(/ (- (* (* z (sqrt (+ t a))) (* (- a (/ 5.0 6.0)) (* t 3.0))) 0) (* t (* (- a (/ 5.0 6.0)) (* t 3.0))))

simplify42.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
08621555
150011161

prune512.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes255.0ms

Accuracy

0% (2.1b remaining)

Error of 2.3b against oracle of 0.2b and baseline of 2.3b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04318
14518
24518

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.0s8000×body80valid
956.0ms8022×body80nan