Details

Time bar (total: 4.1s)

sample98.0ms

Algorithm
intervals
Results
41.0ms105×body2560valid
19.0ms74×body1280valid
12.0ms45×body640valid
9.0ms262×body80nan
2.0ms14×body320valid
1.0ms10×body160valid
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

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.5b

Counts
2 → 1

localize8.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.5b
(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:
6.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)))

simplify37.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0336587
11261535
25002531

prune124.0ms

Filtered
72 candidates to 55 candidates (23.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New69372
Fresh000
Picked101
Done000
Total70373

Merged error: 0.5b

Counts
73 → 3

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.0ms

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

series12.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05911564
126611407
250021303

prune149.0ms

Filtered
132 candidates to 67 candidates (49.2%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1302132
Fresh112
Picked101
Done000
Total1323135

Merged error: 0.5b

Counts
135 → 3

localize9.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.5b
(acos (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0))

rewrite28.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:
7.0ms
(+ (pow v 2) (pow v 4))
9.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))

series27.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)
11.0ms
(* 4.0 (+ (pow v 2) (pow v 4)))
4.0ms
(acos (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0))

simplify34.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0222434
1995393
25001386

prune125.0ms

Filtered
69 candidates to 46 candidates (33.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New68169
Fresh112
Picked011
Done000
Total69372

Merged error: 0.5b

Counts
72 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(acos (/ 1 (/ (- (* v v) 1.0) (- 1.0 (* 5.0 (* v v))))))
0.9b
(sqrt (acos (/ 1 (/ (- (* v v) 1.0) (- 1.0 (* 5.0 (* v v)))))))
0.9b
(sqrt (acos (/ 1 (/ (- (* v v) 1.0) (- 1.0 (* 5.0 (* v v)))))))
1.0b
(* (sqrt (acos (/ 1 (/ (- (* v v) 1.0) (- 1.0 (* 5.0 (* v v))))))) (sqrt (acos (/ 1 (/ (- (* v v) 1.0) (- 1.0 (* 5.0 (* v v))))))))

rewrite12.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:
1.0ms
(acos (/ 1 (/ (- (* v v) 1.0) (- 1.0 (* 5.0 (* v v))))))
1.0ms
(sqrt (acos (/ 1 (/ (- (* v v) 1.0) (- 1.0 (* 5.0 (* v v)))))))
1.0ms
(sqrt (acos (/ 1 (/ (- (* v v) 1.0) (- 1.0 (* 5.0 (* v v)))))))
6.0ms
(* (sqrt (acos (/ 1 (/ (- (* v v) 1.0) (- 1.0 (* 5.0 (* v v))))))) (sqrt (acos (/ 1 (/ (- (* v v) 1.0) (- 1.0 (* 5.0 (* v v))))))))

series23.0ms

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

simplify122.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 3 (108.0ms)

IterNodesCost
01281110
1470982
22666903
35001860

prune164.0ms

Filtered
95 candidates to 56 candidates (41.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New90595
Fresh101
Picked101
Done011
Total92698

Merged error: 0.5b

Counts
98 → 6

regimes123.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
0136
1136

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.2s3019×body2560valid
665.0ms2514×body1280valid
294.0ms8179×body80nan
244.0ms1254×body640valid
88.0ms629×body320valid
37.0ms380×body160valid
11.0ms204×body80valid

Profiling

Loading profile data...