Details

Time bar (total: 4.8s)

sample92.0ms

Algorithm
intervals
Results
37.0ms100×body2560valid
19.0ms68×body1280valid
9.0ms280×body80nan
8.0ms46×body640valid
2.0ms16×body320valid
2.0ms16×body160valid
1.0ms10×body80valid

simplify103.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0197
1427
2777
31467
42427
54177
627897
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)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
14×add-cube-cbrt *-un-lft-identity
12×times-frac
11×add-exp-log add-cbrt-cube
pow1
add-log-exp
associate-/r* difference-of-squares
flip3-- associate-*l* 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 → 75
Calls
4 calls:
3.0ms
(- 1.0 (* 5.0 (* v v)))
7.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)))

series158.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(- 1.0 (* 5.0 (* v v)))
76.0ms
(/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))
26.0ms
(* 5.0 (* v v))
3.0ms
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))

simplify42.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0355664
11356609
25001605

prune151.0ms

Filtered
87 candidates to 65 candidates (74.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New83487
Fresh000
Picked101
Done000
Total84488

Merged error: 0.6b

Counts
88 → 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)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
16×*-un-lft-identity
14×add-cube-cbrt
13×times-frac
11×add-exp-log add-cbrt-cube
pow1
add-log-exp difference-of-squares
associate-/r*
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 div-inv distribute-lft-out-- associate--r- unswap-sqr
Counts
4 → 79
Calls
4 calls:
7.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))
5.0ms
(* 5.0 (* v v))
1.0ms
(asin (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))

series139.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(- (/ PI 2) (asin (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
79.0ms
(/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))
23.0ms
(* 5.0 (* v v))
7.0ms
(asin (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))

simplify44.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0409840
11459784
25001780

prune178.0ms

Filtered
91 candidates to 69 candidates (75.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New89291
Fresh123
Picked011
Done000
Total90595

Merged error: 0.6b

Counts
95 → 5

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

rewrite46.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
pow-prod-down 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 → 143
Calls
4 calls:
8.0ms
(/ (- 1.0 (* 5.0 (* v v))) (- v (sqrt 1.0)))
26.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)))))

series335.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(/ (- 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))))
23.0ms
(* 5.0 (* v v))
11.0ms
(acos (* (/ 1 (+ v (sqrt 1.0))) (/ (- 1.0 (* 5.0 (* v v))) (- v (sqrt 1.0)))))

simplify100.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
07811807
138001556
250021522

prune284.0ms

Filtered
155 candidates to 103 candidates (66.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1541155
Fresh033
Picked101
Done101
Total1564160

Merged error: 0.6b

Counts
160 → 4

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

rewrite36.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 exp-prod pow-prod-down associate-/r/ 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 → 114
Calls
4 calls:
2.0ms
(exp (log (acos (* (/ 1 (+ v (sqrt 1.0))) (/ (- 1.0 (* 5.0 (* v v))) (- v (sqrt 1.0)))))))
22.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)))))))
202.0ms
(* (/ 1 (+ v (sqrt 1.0))) (/ (- 1.0 (* 5.0 (* v v))) (- v (sqrt 1.0))))
29.0ms
(* 5.0 (* v v))
11.0ms
(acos (* (/ 1 (+ v (sqrt 1.0))) (/ (- 1.0 (* 5.0 (* v v))) (- v (sqrt 1.0)))))

simplify83.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
06761534
131491293
250021229

prune269.0ms

Filtered
126 candidates to 83 candidates (65.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1251126
Fresh033
Picked011
Done000
Total1255130

Merged error: 0.6b

Counts
130 → 5

regimes86.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02113
12113

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.0s3064×body2560valid
554.0ms2456×body1280valid
223.0ms7965×body80nan
201.0ms1226×body640valid
73.0ms625×body320valid
33.0ms401×body160valid
11.0ms228×body80valid