Details

Time bar (total: 16.6s)

sample115.0ms

Algorithm
intervals
Results
43.0ms256×body80valid
37.0ms282×body80nan

simplify39.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: 2.5b

localize27.0ms

Local error

Found 4 expressions with local error:

0.2b
(* z (sqrt (+ t a)))
0.5b
(/ 2.0 (* t 3.0))
1.2b
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
5.3b
(/ (* z (sqrt (+ t a))) t)

rewrite76.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:
16.0ms
(* z (sqrt (+ t a)))
3.0ms
(/ 2.0 (* t 3.0))
40.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)

series351.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(* z (sqrt (+ t a)))
16.0ms
(/ 2.0 (* t 3.0))
185.0ms
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
84.0ms
(/ (* z (sqrt (+ t a))) t)

simplify54.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
013772637
150012324

prune989.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize32.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))
0.2b
(/ (sqrt (+ t a)) t)
0.5b
(/ 2.0 (* t 3.0))
2.0b
(fma (/ z 1) (/ (sqrt (+ t a)) t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))

rewrite170.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:
148.0ms
(* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))
9.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))))))

series355.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))
59.0ms
(/ (sqrt (+ t a)) t)
21.0ms
(/ 2.0 (* t 3.0))
211.0ms
(fma (/ z 1) (/ (sqrt (+ t a)) t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))

simplify108.0ms

Algorithm
egg-herbie
Counts
193 → 193
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
08942691
140232163
250022158

prune806.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize28.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (/ 2.0 (* t 3.0)) 3)
0.5b
(/ 2.0 (* t 3.0))
2.0b
(fma (/ z 1) (/ (sqrt (+ t a)) t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (cbrt (pow (/ 2.0 (* t 3.0)) 3))))))
37.5b
(cbrt (pow (/ 2.0 (* t 3.0)) 3))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
20×cbrt-prod
16×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
15×add-exp-log times-frac add-cbrt-cube
14×unpow-prod-down cube-prod
pow1 div-inv
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
pow-unpow pow-exp associate-/l* rem-cube-cbrt
cube-div cube-mult unpow3 prod-exp cbrt-unprod sqr-pow
pow-to-exp cbrt-div pow-pow frac-2neg pow1/3 clear-num associate-/r* rem-cbrt-cube fma-udef
Counts
4 → 103
Calls
4 calls:
4.0ms
(pow (/ 2.0 (* t 3.0)) 3)
3.0ms
(/ 2.0 (* t 3.0))
0.0ms
(fma (/ z 1) (/ (sqrt (+ t a)) t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (cbrt (pow (/ 2.0 (* t 3.0)) 3))))))
3.0ms
(cbrt (pow (/ 2.0 (* t 3.0)) 3))

series294.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(pow (/ 2.0 (* t 3.0)) 3)
16.0ms
(/ 2.0 (* t 3.0))
217.0ms
(fma (/ z 1) (/ (sqrt (+ t a)) t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (cbrt (pow (/ 2.0 (* t 3.0)) 3))))))
17.0ms
(cbrt (pow (/ 2.0 (* t 3.0)) 3))

simplify55.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0361603
11563546
25002537

prune545.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize33.0ms

Local error

Found 4 expressions with local error:

2.3b
(* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0))
3.2b
(* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))
7.4b
(- (* (* 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)))))
32.5b
(/ (- (* (* 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))))

rewrite665.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:
14.0ms
(* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0))
101.0ms
(* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))
167.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)))))
293.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.6s

Counts
4 → 12
Calls
4 calls:
48.0ms
(* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0))
188.0ms
(* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))
651.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)))))
716.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))))

simplify312.0ms

Algorithm
egg-herbie
Counts
467 → 467
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
0490623936
1500123936

prune6.4s

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.0b

regimes224.0ms

Accuracy

49.4% (2.2b remaining)

Error of 3.2b against oracle of 0.9b and baseline of 5.4b

bsearch317.0ms

Steps
ItersRangePoint
8
3.7621516294925704e-163
1.1299762156076995e-160
1.1185365128789115e-160
5
-5.394451520760525e-62
-2.3469334104154334e-62
-2.66966562320712e-62

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
08654
19054
29054

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.3s8000×body80valid
1.0s8039×body80nan