Details

Time bar (total: 9.7s)

sample361.0ms

Algorithm
intervals
Results
39.0ms46×body1280valid
22.0ms40×body640valid
20.0ms149×body80valid
13.0ms34×body320valid
5.0ms58×body80nan
3.0ms13×body160valid

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04315
19114
216914
337814
4110014
5500114

prune26.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: 12.4b

Counts
2 → 1

localize27.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1.0 (tan B))
0.3b
(* x (/ 1.0 (tan B)))
5.1b
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* x (/ 1.0 (tan B)))))
18.1b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

rewrite30.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))
8.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)))

series545.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(/ 1.0 (tan B))
112.0ms
(* x (/ 1.0 (tan B)))
230.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* x (/ 1.0 (tan B)))))
163.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

prune612.0ms

Filtered
135 candidates to 112 candidates (83.0%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New12213135
Fresh000
Picked101
Done000
Total12313136

Merged error: 0.0b

Counts
136 → 13

localize25.0ms

Local error

Found 4 expressions with local error:

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

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

series535.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(/ F (sin B))
111.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))))
146.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify64.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0616964
12352876
25001873

prune524.0ms

Filtered
123 candidates to 97 candidates (78.9%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1185123
Fresh6612
Picked101
Done000
Total12511136

Merged error: 0.0b

Counts
136 → 11

localize25.0ms

Local error

Found 4 expressions with local error:

0.2b
(* x (cos B))
0.2b
(/ (* x (cos B)) (sin B))
5.1b
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* 1.0 (/ (* x (cos B)) (sin B)))))
18.1b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

rewrite23.0ms

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

series515.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* x (cos B))
103.0ms
(/ (* x (cos B)) (sin B))
223.0ms
(fma (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))) (- (* 1.0 (/ (* x (cos B)) (sin B)))))
153.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify59.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0553942
12192844
25001841

prune486.0ms

Filtered
113 candidates to 89 candidates (78.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1103113
Fresh3710
Picked101
Done000
Total11410124

Merged error: 0.0b

Counts
124 → 10

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (* x (cos B)) (sin B))
0.3b
(/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
5.1b
(fma (/ F (sin B)) (/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))) (- (* 1.0 (/ (* x (cos B)) (sin B)))))
18.1b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
33×times-frac
30×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
19×add-exp-log
15×unpow-prod-down
13×pow-unpow
11×add-cbrt-cube
10×associate-/r*
div-exp
pow1 sqr-pow
expm1-log1p-u pow-to-exp pow-exp log1p-expm1-u associate-/l* add-log-exp
cbrt-undiv rec-exp 1-exp div-inv
frac-2neg clear-num
pow-flip pow-pow prod-exp cbrt-unprod fma-udef inv-pow
Counts
4 → 117
Calls
4 calls:
5.0ms
(/ (* x (cos B)) (sin 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))) (- (* 1.0 (/ (* x (cos B)) (sin B)))))
9.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

series1.2s

Counts
4 → 12
Calls
4 calls:
97.0ms
(/ (* x (cos B)) (sin B))
708.0ms
(/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
237.0ms
(fma (/ F (sin B)) (/ 1 (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))) (- (* 1.0 (/ (* x (cos B)) (sin B)))))
137.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify70.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
06691391
125621245
250021196

prune432.0ms

Filtered
129 candidates to 84 candidates (65.1%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1272129
Fresh189
Picked101
Done000
Total12910139

Merged error: 0.0b

Counts
139 → 10

regimes202.0ms

Accuracy

98.3% (0.2b remaining)

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

bsearch263.0ms

Steps
ItersRangePoint
8
4436625.583370406
92957968930.74826
194118726.978796
8
-1.306740821185158e+22
-4.7666883365959066e+19
-4.824994114943747e+19

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05444
15844
26444
36444

end0.0ms

sample3.5s

Algorithm
intervals
Results
1.4s1671×body1280valid
757.0ms1392×body640valid
563.0ms4736×body80valid
269.0ms719×body320valid
153.0ms1591×body80nan
92.0ms356×body160valid