Details

Time bar (total: 4.0s)

sample50.0ms

Algorithm
intervals
Results
19.0ms256×body80valid
16.0ms255×body80nan

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0219
1259
2299
3329
4339
5339

prune3.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: 1.0b

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

0.9b
(/ (acos (/ (- g) h)) 3.0)
1.0b
(+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))
1.0b
(cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0)))
1.0b
(/ (* 2.0 PI) 3.0)

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
16×add-sqr-sqrt add-cube-cbrt
15×times-frac
11×add-exp-log add-cbrt-cube
fma-def
div-sub associate-/r* add-log-exp
div-inv
pow1 expm1-log1p-u associate-+r- log1p-expm1-u associate-/l*
cbrt-undiv acos-neg acos-asin distribute-frac-neg div-exp
cos-diff frac-2neg clear-num
+-commutative cos-sum distribute-rgt-out flip3-+ frac-add prod-exp sum-log cbrt-unprod flip-+ distribute-lft-out
Counts
4 → 91
Calls
4 calls:
3.0ms
(/ (acos (/ (- g) h)) 3.0)
14.0ms
(+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))
10.0ms
(cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0)))
5.0ms
(/ (* 2.0 PI) 3.0)

series151.0ms

Counts
4 → 10
Calls
4 calls:
11.0ms
(/ (acos (/ (- g) h)) 3.0)
34.0ms
(+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))
105.0ms
(cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0)))
0.0ms
(/ (* 2.0 PI) 3.0)

simplify115.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0332711
11087659
24512654
35001654

prune260.0ms

Filtered
101 candidates to 83 candidates (82.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New974101
Fresh000
Picked101
Done000
Total984102

Merged error: 0.0b

Counts
102 → 4

localize28.0ms

Local error

Found 4 expressions with local error:

1.0b
(/ (* 2.0 PI) 3.0)
1.0b
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
1.0b
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
58.2b
(sin (+ (/ (* 2.0 PI) 3.0) (/ PI 3.0)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
30×*-un-lft-identity
25×times-frac
14×add-sqr-sqrt add-cube-cbrt fma-def
10×distribute-rgt-out
add-exp-log add-cbrt-cube
add-log-exp
div-inv
pow1 expm1-log1p-u log1p-expm1-u
associate-/r*
cbrt-undiv +-commutative distribute-lft1-in flip3-+ div-exp frac-add sum-log flip-+ distribute-lft-out
frac-2neg sin-sum prod-exp clear-num cbrt-unprod associate-/l*
Counts
4 → 89
Calls
4 calls:
5.0ms
(/ (* 2.0 PI) 3.0)
10.0ms
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
10.0ms
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
11.0ms
(sin (+ (/ (* 2.0 PI) 3.0) (/ PI 3.0)))

series0.0ms

Counts
4 → 4
Calls
4 calls:
0.0ms
(/ (* 2.0 PI) 3.0)
0.0ms
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
0.0ms
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
0.0ms
(sin (+ (/ (* 2.0 PI) 3.0) (/ PI 3.0)))

simplify123.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0245488
1854447
23943435
35001435

prune361.0ms

Filtered
93 candidates to 80 candidates (86.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New93093
Fresh033
Picked011
Done000
Total93497

Merged error: 0.0b

Counts
97 → 4

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (* 3.0 (fma 2.0 PI (acos (/ (- g) h)))) (* 3.0 3.0))
0.0b
(fma 2.0 PI (acos (/ (- g) h)))
0.9b
(* 3.0 (fma 2.0 PI (acos (/ (- g) h))))
1.0b
(cos (/ (* 3.0 (fma 2.0 PI (acos (/ (- g) h)))) (* 3.0 3.0)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
prod-exp cbrt-unprod
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
associate-*r* associate-*l* fma-udef
distribute-rgt-in frac-2neg distribute-lft-in times-frac pow-prod-down clear-num associate-/r* *-commutative div-inv associate-/l* unswap-sqr
Counts
4 → 64
Calls
4 calls:
6.0ms
(/ (* 3.0 (fma 2.0 PI (acos (/ (- g) h)))) (* 3.0 3.0))
1.0ms
(fma 2.0 PI (acos (/ (- g) h)))
3.0ms
(* 3.0 (fma 2.0 PI (acos (/ (- g) h))))
2.0ms
(cos (/ (* 3.0 (fma 2.0 PI (acos (/ (- g) h)))) (* 3.0 3.0)))

series215.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ (* 3.0 (fma 2.0 PI (acos (/ (- g) h)))) (* 3.0 3.0))
28.0ms
(fma 2.0 PI (acos (/ (- g) h)))
37.0ms
(* 3.0 (fma 2.0 PI (acos (/ (- g) h))))
113.0ms
(cos (/ (* 3.0 (fma 2.0 PI (acos (/ (- g) h)))) (* 3.0 3.0)))

simplify43.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0226650
11202513
25003507

prune160.0ms

Filtered
76 candidates to 51 candidates (67.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New76076
Fresh022
Picked011
Done011
Total76480

Merged error: 0.0b

Counts
80 → 4

localize20.0ms

Local error

Found 4 expressions with local error:

1.0b
(cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0)))
1.0b
(cbrt (pow (cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))) 3))
1.0b
(pow (cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))) 3)
1.0b
(/ (* 2.0 PI) 3.0)

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity
10×add-exp-log add-cbrt-cube
unpow-prod-down cube-prod
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
pow-unpow times-frac associate-/r*
cbrt-undiv cos-diff cube-mult associate-+r- unpow3 div-sub div-exp sqr-pow
acos-neg acos-asin pow-to-exp cos-sum pow-pow frac-2neg pow1/3 distribute-frac-neg pow-exp prod-exp clear-num rem-cbrt-cube cbrt-unprod div-inv associate-/l* rem-cube-cbrt
Counts
4 → 83
Calls
4 calls:
11.0ms
(cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0)))
2.0ms
(cbrt (pow (cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))) 3))
3.0ms
(pow (cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))) 3)
5.0ms
(/ (* 2.0 PI) 3.0)

series384.0ms

Counts
4 → 10
Calls
4 calls:
103.0ms
(cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0)))
103.0ms
(cbrt (pow (cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))) 3))
177.0ms
(pow (cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))) 3)
0.0ms
(/ (* 2.0 PI) 3.0)

simplify41.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0276953
11001889
25001883

prune206.0ms

Filtered
93 candidates to 59 candidates (63.4%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New92193
Fresh011
Picked011
Done022
Total92597

Merged error: 0b

Counts
97 → 5

regimes337.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02622
12622

end0.0ms

sample1.4s

Algorithm
intervals
Results
602.0ms8000×body80valid
487.0ms7893×body80nan