Details

Time bar (total: 8.3s)

sample2.2s

Algorithm
intervals
sampling

Space saved by range analysis: 50.079319%

Space saved by search: 0.048828%

Guaranteed chance to sample good point: 0%

Results
43.0ms104×body2560valid
20.0ms70×body1280valid
10.0ms37×body640valid
3.0ms21×body320valid
2.0ms18×body160valid
0.0msbody80valid

simplify101.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1427
2777
31467
42427
54177
627897
750027

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite16.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:
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)))

series12.0ms

Counts
3 → 9
Calls
3 calls:
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
72 → 72
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0336587
11261535
25002531

prune119.0ms

Filtered
55 candidates to 72 candidates (-30.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New68472
Fresh000
Picked101
Done000
Total69473

Merged error: 0.2b

Counts
73 → 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.1b
(* 5.0 (* v v))
0.2b
(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))))
7.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)))

series17.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0409840
11459784
25001780

prune153.0ms

Filtered
69 candidates to 91 candidates (-31.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New89291
Fresh123
Picked101
Done000
Total91495

Merged error: 0.2b

Counts
95 → 4

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (pow v 2) (pow v 4))
0.0b
(* 4.0 (+ (pow v 2) (pow v 4)))
0.2b
(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:
7.0ms
(+ (pow v 2) (pow v 4))
10.0ms
(* 4.0 (+ (pow v 2) (pow v 4)))
1.0ms
(acos (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0))

series21.0ms

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

simplify154.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0177315
1834276
24136273
35002273

prune105.0ms

Filtered
34 candidates to 52 candidates (-52.9%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New50252
Fresh033
Picked101
Done000
Total51556

Merged error: 0.2b

Counts
56 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite15.0ms

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

series47.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(log (acos (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0)))
4.0ms
(exp (log (acos (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0))))
9.0ms
(* 4.0 (+ (pow v 2) (pow v 4)))
4.0ms
(acos (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0))

simplify148.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (139.0ms)

IterNodesCost
0193551
1815484
23988468
35002462

prune130.0ms

Filtered
44 candidates to 70 candidates (-59.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New67370
Fresh134
Picked101
Done000
Total69675

Merged error: 0.2b

Counts
75 → 6

regimes243.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01718
11718

end0.0ms

sample4.6s

Algorithm
intervals
sampling

Space saved by range analysis: 50.079319%

Space saved by search: 0.048828%

Guaranteed chance to sample good point: 0%

Results
1.2s2948×body2560valid
717.0ms2534×body1280valid
269.0ms1260×body640valid
95.0ms628×body320valid
48.0ms437×body160valid
12.0ms193×body80valid
0.0msbody80nan

Profiling

Loading profile data...