Details

Time bar (total: 5.4s)

sample397.0ms

Algorithm
intervals
Results
53.0ms54×body1280valid
14.0ms41×body640valid
14.0ms172×body80valid
4.0ms18×body320valid
4.0ms12×body160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0187
1336
2436
3546
4606
5626
6626

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
0.1b
(/ 1.0 (sin B))
0.1b
(/ 1.0 (tan B))
0.3b
(* x (/ 1.0 (tan B)))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
31×*-un-lft-identity
29×add-cube-cbrt
28×times-frac
14×associate-*r*
13×add-exp-log add-cbrt-cube
add-log-exp
pow1 fma-def associate-/r* associate-/l*
expm1-log1p-u log1p-expm1-u
cbrt-undiv div-exp associate-*l* div-inv
tan-quot frac-2neg associate-*r/ prod-exp clear-num sum-log associate-/r/ cbrt-unprod unswap-sqr
+-commutative neg-sub0 distribute-lft-neg-in associate-+l- neg-mul-1 distribute-rgt-neg-in flip3-+ pow-prod-down neg-log frac-add *-commutative flip-+ distribute-neg-frac distribute-lft-out
Counts
4 → 117
Calls
4 calls:
22.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
5.0ms
(/ 1.0 (sin B))
5.0ms
(/ 1.0 (tan B))
19.0ms
(* x (/ 1.0 (tan B)))

series269.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
21.0ms
(/ 1.0 (sin B))
33.0ms
(/ 1.0 (tan B))
112.0ms
(* x (/ 1.0 (tan B)))

simplify51.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0438696
11724639
25002635

prune339.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ 1 (sin B)) (/ (* x (cos B)) (sin B)))
0.1b
(* x (cos B))
0.1b
(/ 1 (sin B))
0.2b
(/ (* x (cos B)) (sin B))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
126×times-frac
107×add-sqr-sqrt
105×*-un-lft-identity
98×add-cube-cbrt
91×prod-diff
28×div-inv
15×add-exp-log
13×fma-neg add-cbrt-cube
pow1
associate-/r* add-log-exp
expm1-log1p-u div-exp log1p-expm1-u associate-/l*
cbrt-undiv distribute-rgt-out-- associate-*r* associate-*l* difference-of-squares
frac-2neg prod-exp clear-num cbrt-unprod distribute-lft-out--
sub-neg rec-exp flip3-- pow-flip diff-log 1-exp pow-prod-down *-commutative frac-sub flip-- inv-pow sub-div unswap-sqr
Counts
4 → 204
Calls
4 calls:
35.0ms
(- (/ 1 (sin B)) (/ (* x (cos B)) (sin B)))
8.0ms
(* x (cos B))
8.0ms
(/ 1 (sin B))
12.0ms
(/ (* x (cos B)) (sin B))

series213.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(- (/ 1 (sin B)) (/ (* x (cos B)) (sin B)))
32.0ms
(* x (cos B))
14.0ms
(/ 1 (sin B))
85.0ms
(/ (* x (cos B)) (sin B))

simplify75.0ms

Algorithm
egg-herbie
Counts
216 → 216
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05793808
121732513
250012510

prune321.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1.0 (sin B))
0.1b
(/ 1.0 (sin B))
0.2b
(* (* x (/ 1.0 (sin B))) (cos B))
0.3b
(* x (/ 1.0 (sin B)))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
29×add-cube-cbrt *-un-lft-identity
28×times-frac
22×add-exp-log add-cbrt-cube
16×associate-*r*
11×pow1
prod-exp cbrt-unprod
associate-/r* associate-/l*
cbrt-undiv expm1-log1p-u div-exp associate-*l* pow-prod-down log1p-expm1-u add-log-exp
div-inv
frac-2neg associate-*r/ clear-num *-commutative unswap-sqr
associate-*l/
Counts
4 → 115
Calls
4 calls:
5.0ms
(/ 1.0 (sin B))
5.0ms
(/ 1.0 (sin B))
32.0ms
(* (* x (/ 1.0 (sin B))) (cos B))
15.0ms
(* x (/ 1.0 (sin B)))

series181.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(/ 1.0 (sin B))
17.0ms
(/ 1.0 (sin B))
94.0ms
(* (* x (/ 1.0 (sin B))) (cos B))
52.0ms
(* x (/ 1.0 (sin B)))

simplify47.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0325672
11587587
25001587

prune311.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

0.1b
(* x (cos B))
0.1b
(/ 1 (sin B))
0.2b
(* (/ 1 (sin B)) (- 1 (* x (cos B))))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
24×*-un-lft-identity
23×add-cube-cbrt
20×times-frac
18×add-exp-log
16×associate-*l*
12×add-cbrt-cube
pow1
associate-*r* prod-diff
distribute-rgt-in distribute-lft-in prod-exp
div-exp unswap-sqr
expm1-log1p-u associate-/r* cbrt-unprod log1p-expm1-u associate-/l* add-log-exp
cbrt-undiv frac-times sub-neg rec-exp flip3-- 1-exp associate-*r/ pow-prod-down *-commutative flip-- div-inv
pow-flip frac-2neg associate-*l/ clear-num inv-pow
Counts
3 → 104
Calls
3 calls:
8.0ms
(* x (cos B))
6.0ms
(/ 1 (sin B))
33.0ms
(* (/ 1 (sin B)) (- 1 (* x (cos B))))

series102.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(* x (cos B))
12.0ms
(/ 1 (sin B))
58.0ms
(* (/ 1 (sin B)) (- 1 (* x (cos B))))

simplify46.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0386726
11853594
25001586

prune216.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0.0b

regimes61.0ms

Accuracy

0% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0158
1158

end0.0ms

sample2.5s

Algorithm
intervals
Results
1.1s1806×body1280valid
512.0ms1442×body640valid
392.0ms4822×body80valid
180.0ms703×body320valid
67.0ms385×body160valid