Details

Time bar (total: 3.6s)

sample46.0ms

Algorithm
intervals
Results
16.0ms294×body80nan
15.0ms256×body80valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1259
2289
3299
4299

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
(cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0)))
1.0b
(+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))
1.0b
(/ (* 2.0 PI) 3.0)

rewrite43.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:
3.0ms
(/ (acos (/ (- g) h)) 3.0)
22.0ms
(cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0)))
13.0ms
(+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))
4.0ms
(/ (* 2.0 PI) 3.0)

series148.0ms

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

simplify107.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0318666
11047614
24395614
35002614

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

rewrite51.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:
4.0ms
(/ (* 2.0 PI) 3.0)
12.0ms
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
12.0ms
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
22.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)))

simplify97.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0234454
1822413
23837405
35002405

prune289.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
93×add-sqr-sqrt
79×times-frac
53×*-un-lft-identity
47×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
add-log-exp
cbrt-unprod
div-inv 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 → 163
Calls
4 calls:
26.0ms
(* (/ 1 (sqrt 3.0)) (/ (acos (/ (- g) h)) (sqrt 3.0)))
7.0ms
(+ (/ (* 2.0 PI) 3.0) (* (/ 1 (sqrt 3.0)) (/ (acos (/ (- g) h)) (sqrt 3.0))))
3.0ms
(/ 1 (sqrt 3.0))
3.0ms
(/ (* 2.0 PI) 3.0)

series194.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
06351568
133651379
250011291

prune353.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

1.0b
(pow (cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))) 3)
1.0b
(+ (/ (* 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
(/ (* 2.0 PI) 3.0)

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
12×cbrt-prod add-sqr-sqrt add-cube-cbrt
10×add-exp-log add-cbrt-cube
unpow-prod-down cube-prod add-log-exp
pow1
pow-unpow times-frac associate-/r* div-inv
cbrt-undiv cube-mult associate-+r- unpow3 div-sub div-exp sqr-pow
acos-neg +-commutative acos-asin pow-to-exp distribute-rgt-out pow-pow frac-2neg flip3-+ pow1/3 distribute-frac-neg frac-add pow-exp prod-exp clear-num sum-log rem-cbrt-cube cbrt-unprod flip-+ distribute-lft-out associate-/l* rem-cube-cbrt
Counts
4 → 81
Calls
4 calls:
2.0ms
(pow (cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))) 3)
12.0ms
(+ (/ (* 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))
4.0ms
(/ (* 2.0 PI) 3.0)

series296.0ms

Counts
4 → 10
Calls
4 calls:
155.0ms
(pow (cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))) 3)
37.0ms
(+ (/ (* 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))
0.0ms
(/ (* 2.0 PI) 3.0)

simplify42.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0313917
11232840
25001834

prune203.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

regimes176.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
02429
12429

end0.0ms

sample1.1s

Algorithm
intervals
Results
469.0ms8000×body80valid
374.0ms7988×body80nan