Details

Time bar (total: 4.0s)

sample43.0ms

Algorithm
intervals
Results
15.0ms256×body80valid
12.0ms263×body80nan

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1259
2299
3329
4339
5339

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.0b

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

rewrite78.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:
8.0ms
(/ (acos (/ (- g) h)) 3.0)
21.0ms
(+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))
37.0ms
(cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0)))
10.0ms
(/ (* 2.0 PI) 3.0)

series141.0ms

Counts
4 → 10
Calls
4 calls:
11.0ms
(/ (acos (/ (- g) h)) 3.0)
32.0ms
(+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))
98.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
0332711
11087659
24512654
35001654

prune266.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.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)))

rewrite91.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:
12.0ms
(/ (* 2.0 PI) 3.0)
20.0ms
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
20.0ms
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
36.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)))

simplify101.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0245488
1854447
23943435
35001435

prune388.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

1.0b
(+ (/ (* 2.0 PI) 3.0) (* (/ 1 (sqrt 3.0)) (/ (acos (/ (- g) h)) (sqrt 3.0))))
1.0b
(* (/ 1 (sqrt 3.0)) (/ (acos (/ (- g) h)) (sqrt 3.0)))
1.0b
(/ 1 (sqrt 3.0))
1.0b
(/ (* 2.0 PI) 3.0)

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
95×add-sqr-sqrt
82×times-frac
55×*-un-lft-identity
49×add-cube-cbrt
41×sqrt-prod
35×add-exp-log
23×add-cbrt-cube
22×associate-*r* associate-*l*
15×unswap-sqr
12×div-exp
prod-exp associate-/r*
pow1
cbrt-undiv fma-def
add-log-exp
cbrt-unprod div-inv
expm1-log1p-u log1p-expm1-u associate-/l*
rec-exp pow-flip 1-exp frac-add
frac-times frac-2neg associate-*r/ associate-*l/ clear-num
+-commutative sqrt-pow1 flip3-+ pow1/2 pow-prod-down sum-log *-commutative flip-+ inv-pow
Counts
4 → 178
Calls
4 calls:
18.0ms
(+ (/ (* 2.0 PI) 3.0) (* (/ 1 (sqrt 3.0)) (/ (acos (/ (- g) h)) (sqrt 3.0))))
36.0ms
(* (/ 1 (sqrt 3.0)) (/ (acos (/ (- g) h)) (sqrt 3.0)))
9.0ms
(/ 1 (sqrt 3.0))
10.0ms
(/ (* 2.0 PI) 3.0)

series177.0ms

Counts
4 → 8
Calls
4 calls:
103.0ms
(+ (/ (* 2.0 PI) 3.0) (* (/ 1 (sqrt 3.0)) (/ (acos (/ (- g) h)) (sqrt 3.0))))
74.0ms
(* (/ 1 (sqrt 3.0)) (/ (acos (/ (- g) h)) (sqrt 3.0)))
0.0ms
(/ 1 (sqrt 3.0))
0.0ms
(/ (* 2.0 PI) 3.0)

simplify80.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
06501617
134301424
250011306

prune393.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log add-cbrt-cube
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac associate-/r*
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg prod-exp clear-num cbrt-unprod div-inv associate-/l*
cos-diff associate-+r- div-sub
acos-neg acos-asin cos-sum distribute-frac-neg
Counts
4 → 81
Calls
4 calls:
33.0ms
(cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0)))
10.0ms
(/ (* 2.0 PI) 3.0)
10.0ms
(/ (* 2.0 PI) 3.0)
13.0ms
(/ (* 2.0 PI) 3.0)

series100.0ms

Counts
4 → 6
Calls
4 calls:
100.0ms
(cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0)))
0.0ms
(/ (* 2.0 PI) 3.0)
0.0ms
(/ (* 2.0 PI) 3.0)
0.0ms
(/ (* 2.0 PI) 3.0)

simplify64.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0187530
1600468
22565468
35001468

prune290.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

regimes192.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.2s

Algorithm
intervals
Results
475.0ms8000×body80valid
379.0ms7884×body80nan