Details

Time bar (total: 15.0s)

sample71.0ms

Algorithm
intervals
Results
19.0ms256×body80valid
18.0ms262×body80nan

simplify41.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05017
110817
238917
3176117
4500217

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.3b

localize24.0ms

Local error

Found 4 expressions with local error:

0.3b
(* z (sqrt (+ t a)))
0.5b
(/ 2.0 (* t 3.0))
2.8b
(- (/ (* z (sqrt (+ t a))) t) (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0)))))
4.2b
(/ (* 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)))
6.0ms
(/ 2.0 (* t 3.0))
36.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)

series342.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(* z (sqrt (+ t a)))
17.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)

simplify55.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
013772637
150012324

prune908.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.5b

localize29.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.5b
(/ 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))))))

rewrite153.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:
134.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))))))

series351.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))
58.0ms
(/ (sqrt (+ t a)) t)
20.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))))))

simplify107.0ms

Algorithm
egg-herbie
Counts
193 → 193
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
08942691
140232163
250022158

prune738.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.5b

localize27.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (sqrt (+ t a)) t)
0.5b
(/ 2.0 (* t 3.0))
1.3b
(log (exp (fma (/ z 1) (/ (sqrt (+ t a)) t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 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))))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity
24×add-sqr-sqrt add-cube-cbrt times-frac
16×sqrt-prod
11×add-exp-log add-cbrt-cube
10×associate-/l*
pow1
expm1-log1p-u log-prod associate-/r* log-pow log1p-expm1-u distribute-lft-out add-log-exp
cbrt-undiv exp-prod div-exp
frac-2neg sqrt-div clear-num fma-udef div-inv associate-/l/
flip3-+ rem-log-exp exp-sum prod-exp cbrt-unprod flip-+
Counts
4 → 98
Calls
4 calls:
8.0ms
(/ (sqrt (+ t a)) t)
3.0ms
(/ 2.0 (* t 3.0))
1.0ms
(log (exp (fma (/ z 1) (/ (sqrt (+ t a)) t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 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))))))

series497.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(/ (sqrt (+ t a)) t)
16.0ms
(/ 2.0 (* t 3.0))
205.0ms
(log (exp (fma (/ z 1) (/ (sqrt (+ t a)) t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))))
217.0ms
(fma (/ z 1) (/ (sqrt (+ t a)) t) (- (* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))

simplify41.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0417959
11275846
25002835

prune568.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.5b

localize35.0ms

Local error

Found 4 expressions with local error:

3.4b
(* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))
3.5b
(* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0))
7.6b
(- (* (* 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)))))
27.1b
(/ (- (* (* 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:
97.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))
157.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)))))
268.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:
186.0ms
(* t (* (- b c) (- (* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0)) (* (- a (/ 5.0 6.0)) 2.0))))
50.0ms
(* (- (* a a) (* (/ 5.0 6.0) (/ 5.0 6.0))) (* t 3.0))
600.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)))))
691.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))))

simplify324.0ms

Algorithm
egg-herbie
Counts
467 → 467
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
0490623936
1500123936

prune6.1s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes265.0ms

Accuracy

3.7% (2.0b remaining)

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

bsearch274.0ms

Steps
ItersRangePoint
9
1.0023035505246235e-236
1.798022219885983e-229
4.371193663572236e-236
4
-4.129296935715686e-243
-2.3291324255714751e-243
-3.845811255046208e-243

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
08554
18954
28954

end0.0ms

sample1.8s

Algorithm
intervals
Results
592.0ms8000×body80valid
567.0ms8073×body80nan