Details

Time bar (total: 4.5s)

sample90.0ms

Algorithm
intervals
Results
32.0ms86×body2560valid
22.0ms85×body1280valid
11.0ms300×body80nan
8.0ms43×body640valid
3.0ms24×body320valid
1.0msbody160valid
1.0msbody80valid

simplify100.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1427
2777
31467
42427
54177
627897
750027

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.6b

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.2b
(* 5.0 (* v v))
0.6b
(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)))

series112.0ms

Counts
3 → 9
Calls
3 calls:
79.0ms
(/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))
29.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 (31.0ms)

IterNodesCost
0336587
11261535
25002531

prune134.0ms

Filtered
72 candidates to 55 candidates (76.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New68472
Fresh000
Picked101
Done000
Total69473

Merged error: 0.5b

Counts
73 → 4

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

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

series206.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(+ (pow v 2) (pow v 4))
43.0ms
(- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0)
91.0ms
(* 4.0 (+ (pow v 2) (pow v 4)))
4.0ms
(acos (- (* 4.0 (+ (pow v 2) (pow v 4))) 1.0))

simplify36.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0222434
1995393
25001386

prune130.0ms

Filtered
69 candidates to 46 candidates (66.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New67269
Fresh213
Picked011
Done000
Total69473

Merged error: 0.5b

Counts
73 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.6b
(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)))))

series43.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))
16.0ms
(sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
19.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)))))

simplify113.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 3 (102.0ms)

IterNodesCost
01251002
1427888
22342844
35002813

prune143.0ms

Filtered
95 candidates to 49 candidates (51.6%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New89695
Fresh112
Picked011
Done011
Total90999

Merged error: 0.5b

Counts
99 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

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)))) (cbrt (pow (sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))) 3)))
1.0b
(pow (sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))) 3)
1.0b
(cbrt (pow (sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))) 3))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt
48×cbrt-prod
35×sqrt-prod
23×add-cube-cbrt *-un-lft-identity
22×unpow-prod-down cube-prod
21×associate-*r*
14×unswap-sqr
pow1
add-exp-log
associate-*l* add-cbrt-cube
sqr-pow
add-log-exp
cube-mult pow-unpow pow-pow unpow3
sqrt-pow1 pow1/2
pow-to-exp rem-sqrt-square pow1/3 pow-prod-down pow-exp prod-exp *-commutative sqrt-pow2 rem-cbrt-cube cbrt-unprod rem-cube-cbrt
Counts
4 → 124
Calls
4 calls:
1.0ms
(sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0))))
11.0ms
(* (sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))) (cbrt (pow (sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))) 3)))
3.0ms
(pow (sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))) 3)
3.0ms
(cbrt (pow (sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))) 3))

series97.0ms

Counts
4 → 12
Calls
4 calls:
19.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)))) (cbrt (pow (sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))) 3)))
57.0ms
(pow (sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))) 3)
17.0ms
(cbrt (pow (sqrt (acos (/ (- 1.0 (* 5.0 (* v v))) (- (* v v) 1.0)))) 3))

simplify55.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
02342030
19801607
250011494

prune174.0ms

Filtered
136 candidates to 59 candidates (43.4%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1342136
Fresh156
Picked101
Done022
Total1369145

Merged error: 0.5b

Counts
145 → 9

regimes205.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0136
1136

end0.0ms

sample2.7s

Algorithm
intervals
Results
1.1s2975×body2560valid
636.0ms2436×body1280valid
305.0ms8226×body80nan
254.0ms1295×body640valid
86.0ms617×body320valid
45.0ms458×body160valid
12.0ms219×body80valid

Profiling

Loading profile data...