Details

Time bar (total: 3.5s)

sample42.0ms

Algorithm
intervals
Results
15.0ms256×body80valid
12.0ms257×body80nan

simplify8.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

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

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

series151.0ms

Counts
4 → 10
Calls
4 calls:
11.0ms
(/ (acos (/ (- g) h)) 3.0)
35.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)

simplify106.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0318666
11047614
24395614
35002614

prune229.0ms

Pruning

4 alts after pruning (4 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)))

rewrite53.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:
3.0ms
(/ (* 2.0 PI) 3.0)
12.0ms
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
14.0ms
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
21.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 (23.0ms)

IterNodesCost
0234454
1822413
23837405
35002405

prune292.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.0ms

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

series217.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0326770
11674615
25001604

prune180.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
add-exp-log add-cbrt-cube add-log-exp
log-pow
log-prod exp-prod associate-*r* associate-*l*
associate-+l- flip3-+ associate-*r/ flip-+
acos-neg +-commutative distribute-rgt-in acos-asin distribute-lft-in distribute-frac-neg rem-log-exp pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
4 → 57
Calls
4 calls:
3.0ms
(log (exp (cos (/ (* 3.0 (+ (acos (/ (- g) h)) (* 2.0 PI))) (* 3.0 3.0)))))
2.0ms
(+ (acos (/ (- g) h)) (* 2.0 PI))
7.0ms
(* 3.0 (+ (acos (/ (- g) h)) (* 2.0 PI)))
2.0ms
(cos (/ (* 3.0 (+ (acos (/ (- g) h)) (* 2.0 PI))) (* 3.0 3.0)))

series296.0ms

Counts
4 → 12
Calls
4 calls:
118.0ms
(log (exp (cos (/ (* 3.0 (+ (acos (/ (- g) h)) (* 2.0 PI))) (* 3.0 3.0)))))
22.0ms
(+ (acos (/ (- g) h)) (* 2.0 PI))
38.0ms
(* 3.0 (+ (acos (/ (- g) h)) (* 2.0 PI)))
118.0ms
(cos (/ (* 3.0 (+ (acos (/ (- g) h)) (* 2.0 PI))) (* 3.0 3.0)))

simplify122.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0242690
1924603
24301601
35001601

prune195.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

regimes141.0ms

Accuracy

0% (0.1b 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
02927
12927

end0.0ms

sample1.1s

Algorithm
intervals
Results
477.0ms8000×body80valid
393.0ms8036×body80nan