Details

Time bar (total: 10.6s)

sample374.0ms

Algorithm
intervals
Results
40.0ms47×body1280valid
23.0ms42×body640valid
19.0ms161×body80valid
10.0ms22×body320valid
7.0ms61×body80nan
3.0ms10×body160valid

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
04315
19114
216914
337814
4110014
5500114

prune24.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.5b

localize27.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1.0 (tan B))
0.2b
(* x (/ 1.0 (tan B)))
6.5b
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))
16.8b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

rewrite43.0ms

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

series585.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ 1.0 (tan B))
107.0ms
(* x (/ 1.0 (tan B)))
283.0ms
(* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0))))
158.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (- (/ 1.0 2.0)))

simplify85.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
07841475
132451361
250011358

prune691.0ms

Filtered
175 candidates to 138 candidates (78.9%)
Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
0.2b
(* x (/ 1.0 (tan B)))
0.3b
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
16.8b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
25×add-exp-log add-cube-cbrt *-un-lft-identity
22×times-frac
21×associate-*r*
16×add-cbrt-cube
13×pow-unpow
prod-exp
pow1 unpow-prod-down
associate-*l*
div-exp unswap-sqr
expm1-log1p-u cbrt-unprod log1p-expm1-u add-log-exp
cbrt-undiv pow-to-exp pow-exp div-inv associate-/l* sqr-pow
*-commutative
tan-quot pow-pow frac-2neg associate-*r/ pow-prod-down clear-num associate-/r* associate-/r/
Counts
4 → 116
Calls
4 calls:
11.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
7.0ms
(* x (/ 1.0 (tan B)))
10.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))

series782.0ms

Counts
4 → 12
Calls
4 calls:
244.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
112.0ms
(* x (/ 1.0 (tan B)))
294.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
132.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify76.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06711143
129191016
250011009

prune495.0ms

Filtered
128 candidates to 98 candidates (76.6%)
Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* x 1.0) (tan B))
0.2b
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
0.3b
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
16.8b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
25×add-exp-log
24×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity
16×add-cbrt-cube
15×times-frac
13×pow-unpow
unpow-prod-down associate-*r* prod-exp
div-exp
pow1
cbrt-undiv expm1-log1p-u associate-/r* log1p-expm1-u associate-/l* add-log-exp
pow-to-exp associate-*l* pow-exp cbrt-unprod div-inv unswap-sqr sqr-pow
frac-2neg clear-num
tan-quot pow-pow associate-/r/ *-commutative
Counts
4 → 105
Calls
4 calls:
5.0ms
(/ (* x 1.0) (tan B))
11.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
10.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))

series849.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(/ (* x 1.0) (tan B))
250.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
361.0ms
(/ F (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
133.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify66.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
06251088
12653961
25001954

prune443.0ms

Filtered
117 candidates to 91 candidates (77.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
0.2b
(* F (/ 1 (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))))
0.3b
(/ 1 (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
16.8b
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
68×add-exp-log
34×prod-exp
27×add-sqr-sqrt
20×add-cube-cbrt *-un-lft-identity add-cbrt-cube
16×div-exp
15×times-frac
14×associate-*r*
13×pow-unpow
pow1 pow-to-exp rec-exp 1-exp pow-exp
unpow-prod-down
associate-*l* cbrt-unprod
cbrt-undiv expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
div-inv associate-/l* sqr-pow
*-commutative
pow-flip pow-pow frac-2neg associate-*r/ pow-prod-down clear-num associate-/r* un-div-inv inv-pow
Counts
4 → 131
Calls
4 calls:
11.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
13.0ms
(* F (/ 1 (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))))
11.0ms
(/ 1 (* (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))

series1.4s

Counts
4 → 12
Calls
4 calls:
242.0ms
(* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))
302.0ms
(* F (/ 1 (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0)))))
739.0ms
(/ 1 (* (sin B) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))))
131.0ms
(pow (+ (+ (* F F) 2.0) (* 2.0 x)) (/ 1.0 2.0))

simplify78.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
06551538
129961319
250011286

prune433.0ms

Filtered
143 candidates to 91 candidates (63.6%)
Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

regimes173.0ms

Accuracy

96.4% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 10.5b

bsearch225.0ms

Steps
ItersRangePoint
7
2.2355582591819058e-05
0.0006518293038960093
0.0006425408003375803
8
-5182.563706118175
-1.0806682141483241
-5085.08685709285

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06343
17243
27743
37743

end0.0ms

sample3.5s

Algorithm
intervals
Results
1.4s1677×body1280valid
773.0ms1394×body640valid
583.0ms4809×body80valid
268.0ms694×body320valid
144.0ms1653×body80nan
77.0ms295×body160valid