Details

Time bar (total: 4.4s)

sample45.0ms

Algorithm
intervals
Results
16.0ms270×body80nan
15.0ms256×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1259
2299
3329
4339
5339

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.0b

localize13.0ms

Local error

Found 4 expressions with local error:

1.0b
(/ (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)

rewrite72.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:
6.0ms
(/ (acos (/ (- g) h)) 3.0)
20.0ms
(+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))
35.0ms
(cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0)))
9.0ms
(/ (* 2.0 PI) 3.0)

series136.0ms

Counts
4 → 10
Calls
4 calls:
10.0ms
(/ (acos (/ (- g) h)) 3.0)
32.0ms
(+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))
94.0ms
(cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0)))
0.0ms
(/ (* 2.0 PI) 3.0)

simplify108.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0332711
11087659
24512654
35001654

prune338.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

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

rewrite84.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:
9.0ms
(/ (* 2.0 PI) 3.0)
19.0ms
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
22.0ms
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
32.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)))

simplify100.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0245488
1854447
23943435
35001435

prune515.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

1.0b
(/ (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)

rewrite72.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:
6.0ms
(/ (acos (/ (- g) h)) 3.0)
20.0ms
(+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))
35.0ms
(cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0)))
9.0ms
(/ (* 2.0 PI) 3.0)

series134.0ms

Counts
4 → 10
Calls
4 calls:
13.0ms
(/ (acos (/ (- g) h)) 3.0)
29.0ms
(+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))
92.0ms
(cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0)))
0.0ms
(/ (* 2.0 PI) 3.0)

simplify107.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0330711
11081659
24496654
35001654

prune374.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite19.0ms

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

series203.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(pow (fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0)) 3)
10.0ms
(/ (acos (/ (- g) h)) 3.0)
31.0ms
(cbrt (pow (fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0)) 3))
92.0ms
(cos (cbrt (pow (fma (/ 2.0 3.0) PI (/ (acos (/ (- g) h)) 3.0)) 3)))

simplify175.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0226933
1748852
24485844
35001844

prune357.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes365.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02622
12622

end0.0ms

sample1.1s

Algorithm
intervals
Results
471.0ms8000×body80valid
393.0ms8057×body80nan