Details

Time bar (total: 5.9s)

sample333.0ms

Algorithm
intervals
Results
31.0ms55×body1280valid
16.0ms45×body640valid
14.0ms169×body80valid
3.0ms15×body320valid
2.0ms10×body160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0187
1336
2436
3546
4606
5626
6626

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

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

rewrite37.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:
18.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
2.0ms
(/ 1.0 (sin B))
2.0ms
(/ 1.0 (tan B))
10.0ms
(* x (/ 1.0 (tan B)))

series293.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(+ (- (* x (/ 1.0 (tan B)))) (/ 1.0 (sin B)))
21.0ms
(/ 1.0 (sin B))
35.0ms
(/ 1.0 (tan B))
122.0ms
(* x (/ 1.0 (tan B)))

simplify55.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0438696
11724639
25002635

prune355.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
20×fma-def
18×add-sqr-sqrt add-cube-cbrt times-frac
10×add-exp-log add-cbrt-cube
distribute-rgt-neg-in
distribute-lft-neg-in
add-log-exp
associate-/r*
div-inv associate-/l*
tan-quot pow1 cbrt-undiv expm1-log1p-u div-exp associate-/r/ log1p-expm1-u
frac-2neg clear-num sum-log distribute-lft-out
+-commutative neg-sub0 associate-+l- neg-mul-1 flip3-+ neg-log frac-add prod-exp cbrt-unprod flip-+ distribute-neg-frac
Counts
3 → 91
Calls
3 calls:
29.0ms
(+ (- (/ (* x 1.0) (tan B))) (/ 1.0 (sin B)))
2.0ms
(/ 1.0 (sin B))
4.0ms
(/ (* x 1.0) (tan B))

series244.0ms

Counts
3 → 9
Calls
3 calls:
113.0ms
(+ (- (/ (* x 1.0) (tan B))) (/ 1.0 (sin B)))
21.0ms
(/ 1.0 (sin B))
109.0ms
(/ (* x 1.0) (tan B))

simplify40.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0350492
11353445
25002440

prune281.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize11.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.2b
(* x (/ 1.0 (sin B)))

rewrite31.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:
2.0ms
(/ 1.0 (sin B))
5.0ms
(/ 1.0 (sin B))
13.0ms
(* (* x (/ 1.0 (sin B))) (cos B))
8.0ms
(* x (/ 1.0 (sin B)))

series198.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(/ 1.0 (sin B))
21.0ms
(/ 1.0 (sin B))
103.0ms
(* (* x (/ 1.0 (sin B))) (cos B))
55.0ms
(* x (/ 1.0 (sin B)))

simplify49.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0325672
11587587
25001587

prune317.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt x) (cbrt x))
0.6b
(cbrt x)
0.6b
(cbrt x)
0.6b
(cbrt x)

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
5.0ms
(* (cbrt x) (cbrt x))
0.0ms
(cbrt x)
0.0ms
(cbrt x)
1.0ms
(cbrt x)

series752.0ms

Counts
4 → 12
Calls
4 calls:
207.0ms
(* (cbrt x) (cbrt x))
180.0ms
(cbrt x)
187.0ms
(cbrt x)
177.0ms
(cbrt x)

simplify92.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (86.0ms)

IterNodesCost
0119308
1477281
22972258
35001255

prune273.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

regimes71.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0179
1259
2279
3279

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.0s1744×body1280valid
507.0ms1436×body640valid
384.0ms4907×body80valid
187.0ms717×body320valid
63.0ms350×body160valid