Details

Time bar (total: 5.9s)

sample93.0ms

Algorithm
intervals
Results
35.0ms90×body2560valid
22.0ms81×body1280valid
10.0ms264×body80nan
7.0ms38×body640valid
4.0ms29×body320valid
1.0ms14×body160valid
0.0msbody80valid

simplify97.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0207
1437
2847
31557
42627
54547
628787
750017

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

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

rewrite47.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
expm1-log1p-u associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u 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 → 69
Calls
3 calls:
26.0ms
(/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))
18.0ms
(* 5.0 (* v v))
1.0ms
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))

series106.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0349623
11288567
25001565

prune292.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.4b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))
0.0b
(exp (log (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))))
0.2b
(* 5.0 (* v v))
0.4b
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
16×add-cube-cbrt *-un-lft-identity
12×times-frac
11×add-exp-log add-cbrt-cube
10×pow1
expm1-log1p-u exp-prod associate-/r* log1p-expm1-u add-log-exp difference-of-squares
log-prod associate-*l* exp-sum pow-prod-down prod-exp cbrt-unprod associate-/l*
flip3-- associate-/r/ flip-- associate-/l/
cbrt-undiv acos-asin frac-2neg div-sub div-exp associate-*r* clear-num log-pow *-commutative div-inv rem-exp-log unswap-sqr
Counts
4 → 86
Calls
4 calls:
29.0ms
(/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))
3.0ms
(exp (log (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))))
19.0ms
(* 5.0 (* v v))
1.0ms
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))

series116.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))
4.0ms
(exp (log (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))))
28.0ms
(* 5.0 (* v v))
3.0ms
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))

simplify43.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0380818
11339747
25001727

prune379.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.4b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (log (acos (* (/ (sqrt (- 1.0 (* 5.0 (* v v)))) (+ v (sqrt 1.0))) (/ (sqrt (- 1.0 (* 5.0 (* v v)))) (- v (sqrt 1.0)))))))
0.2b
(* 5.0 (* v v))
0.2b
(* 5.0 (* v v))
1.7b
(acos (* (/ (sqrt (- 1.0 (* 5.0 (* v v)))) (+ v (sqrt 1.0))) (/ (sqrt (- 1.0 (* 5.0 (* v v)))) (- v (sqrt 1.0)))))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
15×pow1
14×add-exp-log add-cbrt-cube
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
associate-*l* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u exp-prod log1p-expm1-u add-log-exp
log-prod exp-sum
associate-*r* *-commutative unswap-sqr
acos-asin log-pow rem-exp-log
Counts
4 → 69
Calls
4 calls:
3.0ms
(exp (log (acos (* (/ (sqrt (- 1.0 (* 5.0 (* v v)))) (+ v (sqrt 1.0))) (/ (sqrt (- 1.0 (* 5.0 (* v v)))) (- v (sqrt 1.0)))))))
17.0ms
(* 5.0 (* v v))
18.0ms
(* 5.0 (* v v))
1.0ms
(acos (* (/ (sqrt (- 1.0 (* 5.0 (* v v)))) (+ v (sqrt 1.0))) (/ (sqrt (- 1.0 (* 5.0 (* v v)))) (- v (sqrt 1.0)))))

series72.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(exp (log (acos (* (/ (sqrt (- 1.0 (* 5.0 (* v v)))) (+ v (sqrt 1.0))) (/ (sqrt (- 1.0 (* 5.0 (* v v)))) (- v (sqrt 1.0)))))))
23.0ms
(* 5.0 (* v v))
27.0ms
(* 5.0 (* v v))
11.0ms
(acos (* (/ (sqrt (- 1.0 (* 5.0 (* v v)))) (+ v (sqrt 1.0))) (/ (sqrt (- 1.0 (* 5.0 (* v v)))) (- v (sqrt 1.0)))))

simplify46.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (38.0ms)

IterNodesCost
0184808
1547712
21538661
35001643

prune379.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.4b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
log-prod
pow1 add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
log-pow
acos-asin rem-log-exp
Counts
4 → 54
Calls
4 calls:
1.0ms
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))
2.0ms
(log (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))))

series453.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))
199.0ms
(log (cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))))
122.0ms
(cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
127.0ms
(cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))

simplify94.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 4 (80.0ms)

IterNodesCost
092779
1188692
2512688
32229688
45001678

prune461.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.4b

regimes234.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
01918
11918

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.1s2922×body2560valid
692.0ms2569×body1280valid
302.0ms8009×body80nan
248.0ms1252×body640valid
91.0ms642×body320valid
43.0ms411×body160valid
14.0ms204×body80valid