Details

Time bar (total: 6.0s)

sample114.0ms

Algorithm
intervals
Results
43.0ms85×body2560valid
28.0ms84×body1280valid
14.0ms243×body80nan
11.0ms45×body640valid
5.0ms25×body320valid
1.0ms10×body160valid
1.0msbody80valid

simplify97.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0197
1427
2777
31467
42427
54177
627897
750017

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.6b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity
12×times-frac
10×add-exp-log add-cbrt-cube
pow1
associate-/r* difference-of-squares
associate-*l* pow-prod-down prod-exp cbrt-unprod associate-/l* add-log-exp
flip3-- associate-/r/ flip-- associate-/l/
cbrt-undiv acos-asin frac-2neg div-sub div-exp associate-*r* clear-num *-commutative div-inv unswap-sqr
Counts
3 → 63
Calls
3 calls:
10.0ms
(/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))
6.0ms
(* 5.0 (* v v))
1.0ms
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))

series110.0ms

Counts
3 → 9
Calls
3 calls:
82.0ms
(/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))
25.0ms
(* 5.0 (* v v))
3.0ms
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))

simplify39.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0336587
11261535
25002531

prune166.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.5b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))
0.0b
(- (/ PI 2) (asin (/ (- 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)))

rewrite31.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:
10.0ms
(/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))
11.0ms
(- (/ PI 2) (asin (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
7.0ms
(* 5.0 (* v v))
1.0ms
(asin (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))

series149.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0409840
11459784
25001780

prune223.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.5b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
204×times-frac
177×*-un-lft-identity
166×add-sqr-sqrt
89×add-cube-cbrt
38×difference-of-squares
25×distribute-lft-out
21×associate-/l*
19×sqrt-prod distribute-lft-out--
18×associate-/r/
16×add-exp-log add-cbrt-cube
10×associate-/r*
pow1 div-inv
flip3-+ flip-+
cbrt-undiv div-exp add-log-exp
div-sub associate-*l* pow-prod-down prod-exp cbrt-unprod associate-/l/
flip3-- frac-2neg clear-num flip--
asin-acos associate-*r* *-commutative unswap-sqr
Counts
4 → 213
Calls
4 calls:
24.0ms
(/ (/ (- 1.0 (* 5.0 (* v v))) (+ v (sqrt 1.0))) (- v (sqrt 1.0)))
11.0ms
(/ (- 1.0 (* 5.0 (* v v))) (+ v (sqrt 1.0)))
7.0ms
(* 5.0 (* v v))
1.0ms
(asin (/ (/ (- 1.0 (* 5.0 (* v v))) (+ v (sqrt 1.0))) (- v (sqrt 1.0))))

series337.0ms

Counts
4 → 12
Calls
4 calls:
210.0ms
(/ (/ (- 1.0 (* 5.0 (* v v))) (+ v (sqrt 1.0))) (- v (sqrt 1.0)))
83.0ms
(/ (- 1.0 (* 5.0 (* v v))) (+ v (sqrt 1.0)))
31.0ms
(* 5.0 (* v v))
12.0ms
(asin (/ (/ (- 1.0 (* 5.0 (* v v))) (+ v (sqrt 1.0))) (- v (sqrt 1.0))))

simplify123.0ms

Algorithm
egg-herbie
Counts
225 → 225
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
08883496
143063286
250013278

prune547.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.5b

localize10.0ms

Local error

Found 4 expressions with local error:

0.6b
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))
1.0b
(sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
1.0b
(sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
1.0b
(* (sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))) (sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
add-log-exp unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square
pow2 acos-asin pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 83
Calls
4 calls:
0.0ms
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))
1.0ms
(sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
1.0ms
(sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
7.0ms
(* (sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))) (sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))))

series46.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))
21.0ms
(sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
17.0ms
(sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
4.0ms
(* (sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))) (sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))))

simplify110.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 3 (100.0ms)

IterNodesCost
01251008
1461888
22367844
35001813

prune133.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.5b

regimes110.0ms

Accuracy

0% (0.4b remaining)

Error of 0.9b against oracle of 0.5b and baseline of 0.9b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01812
11812

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.4s3022×body2560valid
831.0ms2511×body1280valid
446.0ms8041×body80nan
305.0ms1234×body640valid
118.0ms642×body320valid
52.0ms399×body160valid
14.0ms192×body80valid