Details

Time bar (total: 4.1s)

sample82.0ms

Algorithm
intervals
Results
33.0ms98×body2560valid
20.0ms78×body1280valid
7.0ms272×body80nan
7.0ms41×body640valid
2.0ms19×body320valid
1.0ms16×body160valid
0.0msbody80valid

simplify94.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.5b

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

rewrite19.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:
10.0ms
(/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))
7.0ms
(* 5.0 (* v v))
1.0ms
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))

series115.0ms

Counts
3 → 9
Calls
3 calls:
86.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)))

simplify38.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0336587
11261535
25002531

prune152.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.5b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite18.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
add-log-exp
sqrt-prod
sqrt-div associate-*r* *-commutative unswap-sqr
acos-asin rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
Counts
4 → 61
Calls
4 calls:
2.0ms
(sqrt (- 1.0 (* 5.0 (* v v))))
6.0ms
(* 5.0 (* v v))
6.0ms
(* 5.0 (* v v))
0.0ms
(acos (* (sqrt (- 1.0 (* 5.0 (* v v)))) (/ (sqrt (- 1.0 (* 5.0 (* v v)))) (- (* v v) 1.0))))

series137.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(sqrt (- 1.0 (* 5.0 (* v v))))
25.0ms
(* 5.0 (* v v))
28.0ms
(* 5.0 (* v v))
4.0ms
(acos (* (sqrt (- 1.0 (* 5.0 (* v v)))) (/ (sqrt (- 1.0 (* 5.0 (* v v)))) (- (* v v) 1.0))))

simplify110.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0251456
1833404
23934402
35001402

prune166.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.5b

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

rewrite43.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:
9.0ms
(+ (pow v 2) (pow v 4))
32.0ms
(* 4.0 (+ (pow v 2) (pow v 4)))
0.0ms
(acos (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0))

series165.0ms

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

simplify151.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0177315
1834276
24136273
35002273

prune114.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.5b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite11.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:
0.0ms
(acos (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0))
1.0ms
(sqrt (acos (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0)))
1.0ms
(sqrt (acos (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0)))
7.0ms
(* (sqrt (acos (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0))) (sqrt (acos (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0))))

series52.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(acos (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0))
19.0ms
(sqrt (acos (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0)))
19.0ms
(sqrt (acos (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0)))
5.0ms
(* (sqrt (acos (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0))) (sqrt (acos (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0))))

simplify114.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 3 (104.0ms)

IterNodesCost
0123882
1451782
22481744
35001717

prune153.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.5b

regimes45.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01313
11313

end0.0ms

sample2.3s

Algorithm
intervals
Results
989.0ms2937×body2560valid
576.0ms2545×body1280valid
219.0ms8079×body80nan
199.0ms1240×body640valid
76.0ms648×body320valid
35.0ms414×body160valid
10.0ms216×body80valid