Details

Time bar (total: 5.5s)

sample354.0ms

Algorithm
intervals
Results
44.0ms70×body1280valid
19.0ms40×body640valid
14.0ms135×body80valid
5.0ms18×body320valid
3.0ms15×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

localize14.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ 1.0 (sin B))
0.1b
(fma (- x) (/ 1.0 (tan B)) (/ 1.0 (sin B)))
0.2b
(/ 1.0 (tan B))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×times-frac
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg div-exp clear-num div-inv
tan-quot associate-/r/ fma-udef
Counts
3 → 69
Calls
3 calls:
2.0ms
(/ 1.0 (sin B))
0.0ms
(fma (- x) (/ 1.0 (tan B)) (/ 1.0 (sin B)))
5.0ms
(/ 1.0 (tan B))

series167.0ms

Counts
3 → 9
Calls
3 calls:
18.0ms
(/ 1.0 (sin B))
102.0ms
(fma (- x) (/ 1.0 (tan B)) (/ 1.0 (sin B)))
47.0ms
(/ 1.0 (tan B))

simplify62.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (55.0ms)

IterNodesCost
0246416
1694382
22127382
35002377

prune235.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.0ms

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

series131.0ms

Counts
3 → 9
Calls
3 calls:
21.0ms
(/ 1.0 (sin B))
35.0ms
(* x (cos B))
75.0ms
(* (/ 1.0 (sin B)) (- 1 (* x (cos B))))

simplify56.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0415714
12101633
25001629

prune245.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
times-frac associate-*r* associate-*l* associate-/r*
cbrt-undiv expm1-log1p-u associate-*r/ div-exp prod-exp cbrt-unprod log1p-expm1-u associate-/l/ add-log-exp
flip3-- frac-2neg pow-prod-down clear-num *-commutative flip-- div-inv associate-/l* unswap-sqr
Counts
2 → 45
Calls
2 calls:
3.0ms
(* x (cos B))
7.0ms
(/ (* 1.0 (- 1 (* x (cos B)))) (sin B))

series114.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(* x (cos B))
75.0ms
(/ (* 1.0 (- 1 (* x (cos B)))) (sin B))

simplify36.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0248316
11125266
25001263

prune125.0ms

Pruning

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

series711.0ms

Counts
4 → 12
Calls
4 calls:
191.0ms
(* (cbrt x) (cbrt x))
171.0ms
(cbrt x)
171.0ms
(cbrt x)
178.0ms
(cbrt x)

simplify94.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
0119308
1477281
22972258
35001255

prune262.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

regimes65.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0146
1146

end0.0ms

sample2.7s

Algorithm
intervals
Results
1.1s1711×body1280valid
576.0ms1384×body640valid
552.0ms4980×body80valid
215.0ms719×body320valid
81.0ms388×body160valid