Details

Time bar (total: 4.6s)

sample79.0ms

Algorithm
intervals
Results
32.0ms94×body2560valid
17.0ms74×body1280valid
8.0ms52×body640valid
6.0ms234×body80nan
2.0ms20×body320valid
1.0ms11×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
750017

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

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

series112.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0336587
11261535
25002531

prune156.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 5.0 (* v v))
0.1b
(* 5.0 (* v v))
0.1b
(* 5.0 (* v v))
0.2b
(acos (/ (- (pow 1.0 3) (pow (* 5.0 (* v v)) 3)) (* (+ (* (* 5.0 (* v v)) (+ (* 5.0 (* v v)) 1.0)) (* 1.0 1.0)) (- (* v v) 1.0))))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
19×pow1 add-exp-log add-cbrt-cube
10×add-sqr-sqrt
associate-*l* pow-prod-down prod-exp cbrt-unprod
add-cube-cbrt *-un-lft-identity
add-log-exp
associate-*r* *-commutative unswap-sqr
acos-asin
Counts
4 → 65
Calls
4 calls:
5.0ms
(* 5.0 (* v v))
6.0ms
(* 5.0 (* v v))
6.0ms
(* 5.0 (* v v))
2.0ms
(acos (/ (- (pow 1.0 3) (pow (* 5.0 (* v v)) 3)) (* (+ (* (* 5.0 (* v v)) (+ (* 5.0 (* v v)) 1.0)) (* 1.0 1.0)) (- (* v v) 1.0))))

series88.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* 5.0 (* v v))
29.0ms
(* 5.0 (* v v))
24.0ms
(* 5.0 (* v v))
10.0ms
(acos (/ (- (pow 1.0 3) (pow (* 5.0 (* v v)) 3)) (* (+ (* (* 5.0 (* v v)) (+ (* 5.0 (* v v)) 1.0)) (* 1.0 1.0)) (- (* v v) 1.0))))

simplify83.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0175461
1653394
22978394
35001394

prune194.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))
1.0b
(sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
1.0b
(sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
1.0b
(* (sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))) (sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))))

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

series42.0ms

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

simplify118.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 3 (103.0ms)

IterNodesCost
01251002
1427888
22342844
35002813

prune150.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.2b

localize12.0ms

Local error

Found 4 expressions with local error:

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

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

series580.0ms

Counts
4 → 12
Calls
4 calls:
167.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)))))
140.0ms
(cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
134.0ms
(cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
139.0ms
(cbrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))

simplify88.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (77.0ms)

IterNodesCost
01171278
14171112
226981044
350011031

prune178.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.2b

regimes116.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02218
12218

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.0s2990×body2560valid
569.0ms2513×body1280valid
235.0ms8183×body80nan
208.0ms1260×body640valid
77.0ms634×body320valid
33.0ms403×body160valid
10.0ms200×body80valid