Details

Time bar (total: 2.8s)

sample322.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 48.307964%

Space saved by search: 0.097632%

Guaranteed chance to sample good point: 0%

Results
18.0ms256×body80valid
0.0msbody80nan

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1259
2289
3299
4299

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 1.0b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.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 (/ (neg g) h)) 3.0)
10.0ms
(cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (neg g) h)) 3.0)))
10.0ms
(+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (neg g) h)) 3.0))
4.0ms
(/ (* 2.0 PI) 3.0)

series27.0ms

Counts
4 → 10
Calls
4 calls:
3.0ms
(/ (acos (/ (neg g) h)) 3.0)
15.0ms
(cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (neg g) h)) 3.0)))
9.0ms
(+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (neg g) h)) 3.0))
0.0ms
(/ (* 2.0 PI) 3.0)

simplify105.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0318666
11047614
24381614
35002614

prune137.0ms

Filtered
66 candidates to 86 candidates (-30.3%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New80686
Fresh000
Picked101
Done000
Total81687

Merged error: 0.0b

Counts
87 → 6

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

rewrite36.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:
5.0ms
(/ (* 2.0 PI) 3.0)
9.0ms
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
10.0ms
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
10.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)))

simplify95.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0234454
1822413
23823405
35002405

prune179.0ms

Filtered
56 candidates to 71 candidates (-26.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New71071
Fresh055
Picked011
Done000
Total71677

Merged error: 0.0b

Counts
77 → 6

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.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:
3.0ms
(+ (acos (/ (neg g) h)) (* 2.0 PI))
7.0ms
(/ (* 3.0 (+ (acos (/ (neg g) h)) (* 2.0 PI))) (* 3.0 3.0))
5.0ms
(* 3.0 (+ (acos (/ (neg g) h)) (* 2.0 PI)))
2.0ms
(cos (/ (* 3.0 (+ (acos (/ (neg g) h)) (* 2.0 PI))) (* 3.0 3.0)))

series30.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ (acos (/ (neg g) h)) (* 2.0 PI))
6.0ms
(/ (* 3.0 (+ (acos (/ (neg g) h)) (* 2.0 PI))) (* 3.0 3.0))
6.0ms
(* 3.0 (+ (acos (/ (neg g) h)) (* 2.0 PI)))
14.0ms
(cos (/ (* 3.0 (+ (acos (/ (neg g) h)) (* 2.0 PI))) (* 3.0 3.0)))

simplify49.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0326770
11674615
25001604

prune107.0ms

Filtered
54 candidates to 77 candidates (-42.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New76177
Fresh134
Picked101
Done011
Total78583

Merged error: 0.0b

Counts
83 → 5

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
associate-+l-
add-exp-log add-cbrt-cube add-log-exp
div-sub
pow1 acos-neg acos-asin mul-1-neg associate-/r* associate-/l*
cos-diff flip3-+ flip-+ associate-/l/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
3 → 53
Calls
3 calls:
5.0ms
(/ (+ (acos (* -1 (/ g h))) (* 2.0 PI)) 3.0)
3.0ms
(+ (acos (* -1 (/ g h))) (* 2.0 PI))
4.0ms
(cos (/ (+ (acos (* -1 (/ g h))) (* 2.0 PI)) 3.0))

series26.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(/ (+ (acos (* -1 (/ g h))) (* 2.0 PI)) 3.0)
4.0ms
(+ (acos (* -1 (/ g h))) (* 2.0 PI))
16.0ms
(cos (/ (+ (acos (* -1 (/ g h))) (* 2.0 PI)) 3.0))

simplify53.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 3 (46.0ms)

IterNodesCost
0227616
1621564
21687562
35001560

prune104.0ms

Filtered
48 candidates to 62 candidates (-29.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New60262
Fresh213
Picked101
Done011
Total63467

Merged error: 0.0b

Counts
67 → 4

regimes329.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
sampling

Space saved by range analysis: 48.307964%

Space saved by search: 0.097632%

Guaranteed chance to sample good point: 0%

Results
612.0ms8000×body80valid
18.0ms274×body80nan

Profiling

Loading profile data...