Details

Time bar (total: 5.5s)

analyze796.0ms

Algorithm
search

sample80.0ms

Algorithm
intervals
Results
37.0ms94×body2560valid
25.0ms93×body1280valid
7.0ms38×body640valid
3.0ms21×body320valid
1.0msbody160valid
0.0msbody80valid

simplify97.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1427
2777
31467
42427
54177
627897
750027

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

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.3b
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))

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

series16.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0355664
11356609
25001605

prune123.0ms

Filtered
65 candidates to 87 candidates (-33.8%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New85287
Fresh000
Picked101
Done000
Total86288

Merged error: 0.3b

Counts
88 → 2

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (pow v 2) (pow v 4))
0.0b
(- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0)
0.0b
(* 4.0 (+ (pow v 2) (pow v 4)))
0.3b
(acos (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity
add-sqr-sqrt add-log-exp
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r*
associate-*l*
distribute-rgt-in distribute-lft-in flip3-+ associate-*r/ associate--l+ flip-+ distribute-lft-out
+-commutative acos-asin sub-neg flip3-- diff-log pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod unswap-sqr
Counts
4 → 57
Calls
4 calls:
6.0ms
(+ (pow v 2) (pow v 4))
8.0ms
(- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0)
9.0ms
(* 4.0 (+ (pow v 2) (pow v 4)))
1.0ms
(acos (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0))

series23.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ (pow v 2) (pow v 4))
5.0ms
(- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0)
8.0ms
(* 4.0 (+ (pow v 2) (pow v 4)))
3.0ms
(acos (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0))

simplify36.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0222434
1995393
25001386

prune114.0ms

Filtered
46 candidates to 69 candidates (-50.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New68169
Fresh011
Picked101
Done000
Total69271

Merged error: 0.3b

Counts
71 → 2

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0)
0.0b
(- (/ PI 2) (asin (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0)))
0.0b
(* 4.0 (+ (pow v 2) (pow v 4)))
0.3b
(asin (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
10×*-un-lft-identity
add-log-exp
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r*
associate-*l*
distribute-rgt-in sub-neg asin-acos flip3-- distribute-lft-in diff-log associate-*r/ associate--l+ flip-- difference-of-squares
flip3-+ times-frac pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ distribute-lft-out distribute-lft-out-- associate--r- unswap-sqr
Counts
4 → 61
Calls
4 calls:
9.0ms
(- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0)
6.0ms
(- (/ PI 2) (asin (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0)))
9.0ms
(* 4.0 (+ (pow v 2) (pow v 4)))
1.0ms
(asin (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0))

series22.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0)
6.0ms
(- (/ PI 2) (asin (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0)))
8.0ms
(* 4.0 (+ (pow v 2) (pow v 4)))
3.0ms
(asin (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0))

simplify39.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0277590
11121553
25001548

prune131.0ms

Filtered
50 candidates to 73 candidates (-46.0%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New73073
Fresh011
Picked011
Done000
Total73275

Merged error: 0.3b

Counts
75 → 2

localize13.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
1.0b
(cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
1.0b
(cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
1.0b
(* (cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))) (cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 73
Calls
4 calls:
1.0ms
(cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
1.0ms
(cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
1.0ms
(cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
5.0ms
(* (cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))) (cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))))

series170.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
38.0ms
(cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
39.0ms
(cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
53.0ms
(* (cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))) (cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))))

simplify85.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
01171278
14251112
227051044
350011031

prune205.0ms

Filtered
56 candidates to 85 candidates (-51.8%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New82385
Fresh000
Picked011
Done011
Total82587

Merged error: 0.2b

Counts
87 → 5

regimes264.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0168
1168

end0.0ms

analyze783.0ms

Algorithm
search

sample2.3s

Algorithm
intervals
Results
1.2s3003×body2560valid
672.0ms2539×body1280valid
231.0ms1216×body640valid
85.0ms616×body320valid
42.0ms434×body160valid
11.0ms192×body80valid
0.0msbody80nan

Profiling

Loading profile data...