Details

Time bar (total: 5.3s)

sample77.0ms

Algorithm
intervals
Results
33.0ms100×body2560valid
15.0ms68×body1280valid
8.0ms280×body80nan
7.0ms46×body640valid
2.0ms16×body320valid
1.0ms16×body160valid
0.0ms10×body80valid

simplify99.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0207
1437
2847
31557
42627
54547
628787
750017

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.6b

Counts
2 → 1

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 1.0 (* 5.0 (* v v)))
0.0b
(/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))
0.2b
(* 5.0 (* v v))
0.6b
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
16×add-cube-cbrt *-un-lft-identity
12×times-frac
11×add-exp-log add-cbrt-cube
pow1
add-log-exp
expm1-log1p-u associate-/r* log1p-expm1-u difference-of-squares
flip3-- fma-neg associate-*l* prod-diff pow-prod-down prod-exp flip-- cbrt-unprod associate-/l*
associate-/r/ associate-/l/
cbrt-undiv acos-asin sub-neg frac-2neg diff-log div-sub div-exp associate-*r* clear-num *-commutative div-inv unswap-sqr
Counts
4 → 89
Calls
4 calls:
3.0ms
(- 1.0 (* 5.0 (* v v)))
12.0ms
(/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))
5.0ms
(* 5.0 (* v v))
1.0ms
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))

series168.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(- 1.0 (* 5.0 (* v v)))
81.0ms
(/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))
24.0ms
(* 5.0 (* v v))
4.0ms
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))

simplify46.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0391750
11491682
25002678

prune197.0ms

Filtered
101 candidates to 78 candidates (77.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New974101
Fresh000
Picked101
Done000
Total984102

Merged error: 0.6b

Counts
102 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ PI 2) (asin (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
0.0b
(/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))
0.2b
(* 5.0 (* v v))
0.6b
(asin (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
65×add-sqr-sqrt
57×*-un-lft-identity
55×add-cube-cbrt
49×times-frac
39×prod-diff
13×fma-neg
11×add-exp-log add-cbrt-cube
pow1
add-log-exp difference-of-squares
div-inv
expm1-log1p-u associate-/r* log1p-expm1-u
flip3-- associate-*l* pow-prod-down prod-exp flip-- cbrt-unprod associate-/l*
asin-acos associate-/r/ associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp associate-*r* clear-num *-commutative distribute-lft-out-- associate--r- unswap-sqr
Counts
4 → 139
Calls
4 calls:
9.0ms
(- (/ PI 2) (asin (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
8.0ms
(/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))
6.0ms
(* 5.0 (* v v))
1.0ms
(asin (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))

series144.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(- (/ PI 2) (asin (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
83.0ms
(/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))
28.0ms
(* 5.0 (* v v))
4.0ms
(asin (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))

simplify69.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05762948
119411851
250011839

prune449.0ms

Filtered
151 candidates to 97 candidates (64.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1492151
Fresh123
Picked101
Done000
Total1514155

Merged error: 0.6b

Counts
155 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- 1.0 (* 5.0 (* v v))) (- v (sqrt 1.0)))
0.0b
(* (/ 1 (+ v (sqrt 1.0))) (/ (- 1.0 (* 5.0 (* v v))) (- v (sqrt 1.0))))
0.2b
(* 5.0 (* v v))
1.6b
(acos (* (/ 1 (+ v (sqrt 1.0))) (/ (- 1.0 (* 5.0 (* v v))) (- v (sqrt 1.0)))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
80×add-sqr-sqrt
56×*-un-lft-identity
55×times-frac
34×add-cube-cbrt
33×add-exp-log
25×associate-*r*
23×add-cbrt-cube
21×associate-*l*
14×difference-of-squares
11×pow1 prod-exp
div-exp
sqrt-prod cbrt-unprod distribute-lft-out-- unswap-sqr
associate-/r* associate-/r/
cbrt-undiv
expm1-log1p-u pow-prod-down log1p-expm1-u add-log-exp
flip3-- flip-- div-inv distribute-lft-out associate-/l*
rec-exp 1-exp *-commutative associate-/l/
acos-asin frac-times frac-2neg flip3-+ div-sub associate-*r/ associate-*l/ clear-num flip-+
Counts
4 → 151
Calls
4 calls:
9.0ms
(/ (- 1.0 (* 5.0 (* v v))) (- v (sqrt 1.0)))
23.0ms
(* (/ 1 (+ v (sqrt 1.0))) (/ (- 1.0 (* 5.0 (* v v))) (- v (sqrt 1.0))))
6.0ms
(* 5.0 (* v v))
1.0ms
(acos (* (/ 1 (+ v (sqrt 1.0))) (/ (- 1.0 (* 5.0 (* v v))) (- v (sqrt 1.0)))))

series334.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(/ (- 1.0 (* 5.0 (* v v))) (- v (sqrt 1.0)))
199.0ms
(* (/ 1 (+ v (sqrt 1.0))) (/ (- 1.0 (* 5.0 (* v v))) (- v (sqrt 1.0))))
29.0ms
(* 5.0 (* v v))
12.0ms
(acos (* (/ 1 (+ v (sqrt 1.0))) (/ (- 1.0 (* 5.0 (* v v))) (- v (sqrt 1.0)))))

simplify108.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
08051872
139261600
250031563

prune327.0ms

Filtered
163 candidates to 111 candidates (68.1%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1612163
Fresh033
Picked101
Done000
Total1625167

Merged error: 0.6b

Counts
167 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (log (acos (* (/ 1 (+ v (sqrt 1.0))) (/ (- 1.0 (* 5.0 (* v v))) (- v (sqrt 1.0)))))))
0.0b
(* (/ 1 (+ v (sqrt 1.0))) (/ (- 1.0 (* 5.0 (* v v))) (- v (sqrt 1.0))))
0.2b
(* 5.0 (* v v))
1.6b
(acos (* (/ 1 (+ v (sqrt 1.0))) (/ (- 1.0 (* 5.0 (* v v))) (- v (sqrt 1.0)))))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
55×add-sqr-sqrt
39×*-un-lft-identity
37×times-frac
31×add-exp-log
25×add-cube-cbrt associate-*r*
21×associate-*l* add-cbrt-cube
12×pow1
11×prod-exp
div-exp
cbrt-unprod unswap-sqr
difference-of-squares
cbrt-undiv expm1-log1p-u exp-prod pow-prod-down associate-/r/ log1p-expm1-u add-log-exp
log-prod exp-sum sqrt-prod distribute-lft-out distribute-lft-out--
rec-exp 1-exp *-commutative div-inv
acos-asin frac-times flip3-- flip3-+ associate-*r/ associate-*l/ log-pow flip-- flip-+ rem-exp-log
Counts
4 → 122
Calls
4 calls:
2.0ms
(exp (log (acos (* (/ 1 (+ v (sqrt 1.0))) (/ (- 1.0 (* 5.0 (* v v))) (- v (sqrt 1.0)))))))
27.0ms
(* (/ 1 (+ v (sqrt 1.0))) (/ (- 1.0 (* 5.0 (* v v))) (- v (sqrt 1.0))))
6.0ms
(* 5.0 (* v v))
1.0ms
(acos (* (/ 1 (+ v (sqrt 1.0))) (/ (- 1.0 (* 5.0 (* v v))) (- v (sqrt 1.0)))))

series253.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(exp (log (acos (* (/ 1 (+ v (sqrt 1.0))) (/ (- 1.0 (* 5.0 (* v v))) (- v (sqrt 1.0)))))))
206.0ms
(* (/ 1 (+ v (sqrt 1.0))) (/ (- 1.0 (* 5.0 (* v v))) (- v (sqrt 1.0))))
24.0ms
(* 5.0 (* v v))
12.0ms
(acos (* (/ 1 (+ v (sqrt 1.0))) (/ (- 1.0 (* 5.0 (* v v))) (- v (sqrt 1.0)))))

simplify87.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
06921612
132221348
250011281

prune306.0ms

Filtered
134 candidates to 90 candidates (67.2%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1331134
Fresh044
Picked011
Done000
Total1336139

Merged error: 0.6b

Counts
139 → 6

regimes105.0ms

Accuracy

0% (0.5b remaining)

Error of 1.1b against oracle of 0.6b and baseline of 1.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02113
12113

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.0s3064×body2560valid
553.0ms2456×body1280valid
216.0ms7965×body80nan
197.0ms1226×body640valid
74.0ms625×body320valid
33.0ms401×body160valid
11.0ms228×body80valid