Details

Time bar (total: 4.9s)

sample97.0ms

Algorithm
intervals
Results
38.0ms93×body2560valid
23.0ms82×body1280valid
11.0ms294×body80nan
7.0ms37×body640valid
3.0ms17×body320valid
2.0ms16×body160valid
1.0ms11×body80valid

simplify104.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: 1.0b

Counts
2 → 1

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

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

series113.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0336587
11261535
25002531

prune141.0ms

Filtered
72 candidates to 55 candidates (76.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New68472
Fresh000
Picked101
Done000
Total69473

Merged error: 0.9b

Counts
73 → 4

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

rewrite24.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))
6.0ms
(* 5.0 (* v v))
1.0ms
(asin (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))

series148.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0409840
11459784
25001780

prune190.0ms

Filtered
91 candidates to 69 candidates (75.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New88391
Fresh033
Picked101
Done000
Total89695

Merged error: 0.9b

Counts
95 → 6

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt add-cbrt-cube add-log-exp
associate-*r*
associate-*l*
flip3-+ associate-*r/ flip-+ distribute-lft-out
+-commutative distribute-rgt-in acos-asin distribute-lft-in pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
3 → 43
Calls
3 calls:
10.0ms
(* 4.0 (+ (pow v 2) (pow v 4)))
7.0ms
(+ (pow v 2) (pow v 4))
1.0ms
(acos (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0))

series165.0ms

Counts
3 → 9
Calls
3 calls:
89.0ms
(* 4.0 (+ (pow v 2) (pow v 4)))
72.0ms
(+ (pow v 2) (pow v 4))
4.0ms
(acos (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0))

simplify158.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0177315
1834276
24136273
35002273

prune105.0ms

Filtered
52 candidates to 33 candidates (63.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New50252
Fresh145
Picked101
Done000
Total52658

Merged error: 0.9b

Counts
58 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

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

series198.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(* 4.0 (+ (pow v 2) (pow v 4)))
67.0ms
(+ (pow v 2) (pow v 4))
36.0ms
(- (/ PI 2) (asin (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0)))
4.0ms
(asin (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0))

simplify211.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0250546
11032503
24958497
35001497

prune139.0ms

Filtered
71 candidates to 47 candidates (66.2%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New68371
Fresh325
Picked011
Done000
Total71677

Merged error: 0.9b

Counts
77 → 6

regimes99.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02730
12730

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.2s3016×body2560valid
662.0ms2485×body1280valid
305.0ms7948×body80nan
232.0ms1190×body640valid
95.0ms649×body320valid
45.0ms451×body160valid
12.0ms209×body80valid

Profiling

Loading profile data...