Details

Time bar (total: 3.5s)

sample45.0ms

Algorithm
intervals
Results
15.0ms256×body80valid
12.0ms263×body80nan

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1259
2289
3299
4299

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

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
14×add-sqr-sqrt add-cube-cbrt
12×times-frac
11×add-exp-log add-cbrt-cube
div-sub associate-/r* add-log-exp
pow1 associate-+r- div-inv 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 → 76
Calls
4 calls:
6.0ms
(/ (acos (/ (- g) h)) 3.0)
22.0ms
(+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))
34.0ms
(cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0)))
10.0ms
(/ (* 2.0 PI) 3.0)

series134.0ms

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

simplify114.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0318666
11047614
24395614
35002614

prune219.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

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

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
19×times-frac
10×add-sqr-sqrt add-cube-cbrt distribute-rgt-out
add-exp-log add-cbrt-cube
add-log-exp
div-inv
pow1
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 → 67
Calls
4 calls:
10.0ms
(/ (* 2.0 PI) 3.0)
20.0ms
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
19.0ms
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
34.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
71 → 71
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0234454
1822413
23837405
35002405

prune289.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
42×sqrt-prod
39×times-frac
34×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
11×add-exp-log add-cbrt-cube
associate-/r*
associate-/l*
add-log-exp
pow1
cbrt-undiv div-exp frac-add
frac-2neg clear-num div-inv
+-commutative frac-times cos-sum sqrt-undiv flip3-+ associate-*r/ associate-*l/ prod-exp sum-log cbrt-unprod flip-+
Counts
4 → 104
Calls
4 calls:
8.0ms
(/ (sqrt (acos (/ (- g) h))) (sqrt 3.0))
25.0ms
(cos (+ (/ (* 2.0 PI) 3.0) (* (/ (sqrt (acos (/ (- g) h))) (sqrt 3.0)) (/ (sqrt (acos (/ (- g) h))) (sqrt 3.0)))))
15.0ms
(+ (/ (* 2.0 PI) 3.0) (* (/ (sqrt (acos (/ (- g) h))) (sqrt 3.0)) (/ (sqrt (acos (/ (- g) h))) (sqrt 3.0))))
13.0ms
(/ (* 2.0 PI) 3.0)

series366.0ms

Counts
4 → 10
Calls
4 calls:
52.0ms
(/ (sqrt (acos (/ (- g) h))) (sqrt 3.0))
211.0ms
(cos (+ (/ (* 2.0 PI) 3.0) (* (/ (sqrt (acos (/ (- g) h))) (sqrt 3.0)) (/ (sqrt (acos (/ (- g) h))) (sqrt 3.0)))))
102.0ms
(+ (/ (* 2.0 PI) 3.0) (* (/ (sqrt (acos (/ (- g) h))) (sqrt 3.0)) (/ (sqrt (acos (/ (- g) h))) (sqrt 3.0))))
0.0ms
(/ (* 2.0 PI) 3.0)

simplify59.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
03801454
115661301
250011261

prune285.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize24.0ms

Local error

Found 4 expressions with local error:

1.0b
(sin (/ (* 2.0 PI) 3.0))
1.0b
(/ (* 2.0 PI) 3.0)
1.0b
(/ (* 2.0 PI) 3.0)
1.6b
(cos (/ (* 2.0 PI) 3.0))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
14×add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac associate-/r*
pow1 cbrt-undiv div-exp add-log-exp
frac-2neg prod-exp clear-num cbrt-unprod div-inv associate-/l*
Counts
4 → 56
Calls
4 calls:
3.0ms
(sin (/ (* 2.0 PI) 3.0))
9.0ms
(/ (* 2.0 PI) 3.0)
9.0ms
(/ (* 2.0 PI) 3.0)
8.0ms
(cos (/ (* 2.0 PI) 3.0))

series0.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0149382
1560338
22527338
35001338

prune239.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03249
13249

end0.0ms

sample1.2s

Algorithm
intervals
Results
477.0ms8000×body80valid
388.0ms7884×body80nan