Details

Time bar (total: 10.5s)

sample385.0ms

Algorithm
intervals
Results
54.0ms60×body1280valid
29.0ms44×body640valid
23.0ms164×body80valid
7.0ms18×body320valid
7.0ms64×body80nan
2.0msbody160valid

simplify61.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
04315
19114
216914
337814
4110014
5500114

prune12.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 14.8b

Counts
2 → 1

localize27.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1.0 (tan B))
0.2b
(* x (/ 1.0 (tan B)))
6.6b
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* x (/ 1.0 (tan B)))))
19.4b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
37×times-frac
36×add-cube-cbrt *-un-lft-identity
30×pow-unpow
14×associate-*r*
13×distribute-lft-neg-in distribute-rgt-neg-in
12×add-exp-log
11×add-cbrt-cube
pow1
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
unpow-prod-down associate-*l* associate-/r* associate-/l*
tan-quot cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod unswap-sqr
neg-sub0 pow-to-exp pow-neg neg-mul-1 pow-pow frac-2neg associate-*r/ pow-prod-down pow-exp clear-num *-commutative fma-udef pow-sub sqr-pow
Counts
4 → 123
Calls
4 calls:
4.0ms
(/ 1.0 (tan B))
7.0ms
(* x (/ 1.0 (tan B)))
1.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* x (/ 1.0 (tan B)))))
12.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series539.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(/ 1.0 (tan B))
113.0ms
(* x (/ 1.0 (tan B)))
228.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* x (/ 1.0 (tan B)))))
162.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify69.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
06281028
12518940
25001937

prune566.0ms

Filtered
135 candidates to 112 candidates (83.0%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New12312135
Fresh000
Picked101
Done000
Total12412136

Merged error: 0.0b

Counts
136 → 12

localize24.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ F (sin B))
0.2b
(/ (* x 1.0) (tan B))
6.6b
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (/ (* x 1.0) (tan B))))
19.4b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt add-cube-cbrt pow-unpow *-un-lft-identity times-frac
13×distribute-lft-neg-in distribute-rgt-neg-in
12×add-exp-log
11×add-cbrt-cube
associate-/r*
pow1
expm1-log1p-u log1p-expm1-u div-inv associate-/l* add-log-exp
cbrt-undiv unpow-prod-down div-exp
frac-2neg clear-num
tan-quot neg-sub0 pow-to-exp pow-neg neg-mul-1 pow-pow pow-exp prod-exp associate-/r/ cbrt-unprod fma-udef pow-sub sqr-pow
Counts
4 → 111
Calls
4 calls:
4.0ms
(/ F (sin B))
5.0ms
(/ (* x 1.0) (tan B))
1.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (/ (* x 1.0) (tan B))))
10.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

series531.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(/ F (sin B))
109.0ms
(/ (* x 1.0) (tan B))
223.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (/ (* x 1.0) (tan B))))
147.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify58.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0616964
12352876
25001873

prune480.0ms

Filtered
123 candidates to 100 candidates (81.3%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1203123
Fresh2911
Picked101
Done000
Total12312135

Merged error: 0.0b

Counts
135 → 12

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(* x (/ 1.0 (tan B)))
0.3b
(/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
6.6b
(fma (/ F (sin B)) (/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))) (- (* x (/ 1.0 (tan B)))))
19.4b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
40×times-frac
36×add-cube-cbrt *-un-lft-identity
19×add-exp-log
15×unpow-prod-down
14×associate-*r*
13×pow-unpow
11×add-cbrt-cube
pow1 div-exp associate-/r*
sqr-pow
expm1-log1p-u pow-to-exp pow-exp log1p-expm1-u add-log-exp
rec-exp 1-exp associate-*l* div-inv associate-/l*
cbrt-undiv prod-exp cbrt-unprod unswap-sqr
tan-quot pow-flip pow-pow frac-2neg associate-*r/ pow-prod-down clear-num associate-/r/ *-commutative fma-udef inv-pow
Counts
4 → 129
Calls
4 calls:
7.0ms
(* x (/ 1.0 (tan B)))
10.0ms
(/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
1.0ms
(fma (/ F (sin B)) (/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))) (- (* x (/ 1.0 (tan B)))))
9.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

series1.2s

Counts
4 → 12
Calls
4 calls:
117.0ms
(* x (/ 1.0 (tan B)))
708.0ms
(/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
242.0ms
(fma (/ F (sin B)) (/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))) (- (* x (/ 1.0 (tan B)))))
135.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify73.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
07261399
128811263
250011214

prune473.0ms

Filtered
141 candidates to 94 candidates (66.7%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1401141
Fresh2911
Picked011
Done000
Total14211153

Merged error: 0.0b

Counts
153 → 11

localize23.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1.0 (tan B))
0.2b
(* x (/ 1.0 (tan B)))
6.7b
(/ (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
19.4b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
191×times-frac
117×add-sqr-sqrt
112×add-cube-cbrt *-un-lft-identity
45×unpow-prod-down
25×add-exp-log
16×add-cbrt-cube associate-/l*
15×sqr-pow
14×associate-*r*
13×pow-unpow
12×div-inv
11×div-exp
10×associate-/r*
pow1
cbrt-undiv
expm1-log1p-u log1p-expm1-u add-log-exp
pow-to-exp associate-*l* pow-exp
tan-quot frac-2neg prod-exp clear-num associate-/r/ cbrt-unprod unswap-sqr
pow-pow associate-*r/ pow-prod-down *-commutative associate-/l/
Counts
4 → 226
Calls
4 calls:
4.0ms
(/ 1.0 (tan B))
7.0ms
(* x (/ 1.0 (tan B)))
14.0ms
(/ (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
9.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

series601.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(/ 1.0 (tan B))
113.0ms
(* x (/ 1.0 (tan B)))
306.0ms
(/ (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
141.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify117.0ms

Algorithm
egg-herbie
Counts
238 → 238
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
010273151
145403045
250013036

prune821.0ms

Filtered
238 candidates to 186 candidates (78.2%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New2344238
Fresh369
Picked011
Done011
Total23712249

Merged error: 0.0b

Counts
249 → 12

regimes202.0ms

Accuracy

97.8% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 11.0b

bsearch298.0ms

Steps
ItersRangePoint
9
4.0033008338845853e+65
7.402926812642739e+71
4.0460331114730965e+65
9
-1.9873362550655262e+49
-1.019819475951661e+43
-1.0311824715820677e+43

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05740
16140
26140

end0.0ms

sample3.8s

Algorithm
intervals
Results
1.5s1731×body1280valid
811.0ms1380×body640valid
638.0ms4769×body80valid
273.0ms672×body320valid
165.0ms1675×body80nan
90.0ms332×body160valid