Details

Time bar (total: 3.9s)

sample277.0ms

Algorithm
intervals
Results
12.0ms47×body1280valid
9.0ms46×body640valid
5.0ms141×body80valid
2.0ms14×body320valid
1.0msbody160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1219
2269
3349
4379
5379

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(- 1.0 (* (tan x) (tan x)))
0.2b
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
0.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
18×pow1
12×times-frac
10×add-exp-log add-cbrt-cube
tan-quot
swap-sqr associate-*r* associate-*l* add-log-exp
difference-of-squares
associate-/l*
associate-/r*
pow2 frac-times flip3-- pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp associate-/r/ pow-sqr *-commutative pow-prod-up flip-- cbrt-unprod associate-/l/ unswap-sqr
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-sub div-exp clear-num flip-+ div-inv
Counts
4 → 105
Calls
4 calls:
3.0ms
(- 1.0 (* (tan x) (tan x)))
6.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
5.0ms
(* (tan x) (tan x))
7.0ms
(* (tan x) (tan x))

series220.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(- 1.0 (* (tan x) (tan x)))
96.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
33.0ms
(* (tan x) (tan x))
58.0ms
(* (tan x) (tan x))

simplify47.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0314909
11157838
25001824

prune229.0ms

Filtered
117 candidates to 77 candidates (65.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New10710117
Fresh000
Picked101
Done000
Total10810118

Merged error: 0.0b

Counts
118 → 10

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x))))
0.2b
(- (sqrt 1.0) (tan x))
0.2b
(* (+ (sqrt 1.0) (tan x)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x)))))
0.3b
(* (tan x) (tan x))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
69×add-sqr-sqrt
48×*-un-lft-identity
37×times-frac
30×add-cube-cbrt
27×associate-*r*
16×difference-of-squares
13×pow1 add-exp-log add-cbrt-cube
sqrt-prod distribute-lft-out--
associate-*l*
associate-/l* add-log-exp
tan-quot flip3-+ associate-/r/ flip-+
frac-times swap-sqr associate-*l/ prod-exp associate-/r* cbrt-unprod unswap-sqr
cbrt-undiv flip3-- associate-*r/ div-exp pow-prod-down *-commutative flip-- div-inv associate-/l/
pow2 sub-neg frac-2neg pow-plus diff-log div-sub clear-num pow-sqr pow-prod-up distribute-lft-out
Counts
4 → 135
Calls
4 calls:
8.0ms
(/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x))))
5.0ms
(- (sqrt 1.0) (tan x))
16.0ms
(* (+ (sqrt 1.0) (tan x)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x)))))
5.0ms
(* (tan x) (tan x))

series355.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x))))
36.0ms
(- (sqrt 1.0) (tan x))
194.0ms
(* (+ (sqrt 1.0) (tan x)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x)))))
32.0ms
(* (tan x) (tan x))

simplify81.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
05611675
128001512
250011496

prune292.0ms

Filtered
147 candidates to 99 candidates (67.3%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1443147
Fresh279
Picked101
Done000
Total14710157

Merged error: 0.0b

Counts
157 → 10

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (cos x) 2)
0.2b
(pow (cos x) 2)
0.3b
(pow (sin x) 2)
0.3b
(pow (sin x) 2)

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt add-cube-cbrt unpow-prod-down pow-unpow *-un-lft-identity
pow1 add-exp-log
pow-to-exp pow-pow pow-exp add-cbrt-cube unpow2 add-log-exp sqr-pow
Counts
4 → 72
Calls
4 calls:
2.0ms
(pow (cos x) 2)
2.0ms
(pow (cos x) 2)
3.0ms
(pow (sin x) 2)
3.0ms
(pow (sin x) 2)

series78.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(pow (cos x) 2)
17.0ms
(pow (cos x) 2)
19.0ms
(pow (sin x) 2)
19.0ms
(pow (sin x) 2)

simplify60.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0141284
1469240
21590240
35001236

prune177.0ms

Filtered
84 candidates to 48 candidates (57.1%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New84084
Fresh099
Picked011
Done000
Total841094

Merged error: 0.0b

Counts
94 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (sqrt 1.0) (tan x))
0.2b
(* (+ (sqrt 1.0) (tan x)) (/ (log (exp (- (sqrt 1.0) (tan x)))) (+ 1.0 (* (tan x) (tan x)))))
0.3b
(exp (- (sqrt 1.0) (tan x)))
0.3b
(* (tan x) (tan x))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
54×add-sqr-sqrt
39×*-un-lft-identity associate-*r*
31×times-frac
27×add-cube-cbrt
24×exp-prod
21×log-pow
16×pow1
11×add-exp-log add-cbrt-cube
10×difference-of-squares
add-log-exp
associate-*l*
sqrt-prod distribute-lft-out--
tan-quot
frac-times flip3-+ swap-sqr associate-*l/ prod-exp cbrt-unprod flip-+ unswap-sqr
sub-neg diff-log associate-*r/ exp-sum pow-prod-down associate-/r/ *-commutative rem-exp-log
cbrt-undiv pow2 flip3-- pow-plus exp-diff div-exp pow-sqr pow-prod-up flip-- div-inv distribute-lft-out
Counts
4 → 121
Calls
4 calls:
5.0ms
(- (sqrt 1.0) (tan x))
23.0ms
(* (+ (sqrt 1.0) (tan x)) (/ (log (exp (- (sqrt 1.0) (tan x)))) (+ 1.0 (* (tan x) (tan x)))))
6.0ms
(exp (- (sqrt 1.0) (tan x)))
5.0ms
(* (tan x) (tan x))

series348.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(- (sqrt 1.0) (tan x))
200.0ms
(* (+ (sqrt 1.0) (tan x)) (/ (log (exp (- (sqrt 1.0) (tan x)))) (+ 1.0 (* (tan x) (tan x)))))
73.0ms
(exp (- (sqrt 1.0) (tan x)))
34.0ms
(* (tan x) (tan x))

simplify77.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
05831347
129511159
250021136

prune275.0ms

Filtered
133 candidates to 88 candidates (66.2%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1321133
Fresh088
Picked011
Done011
Total13211143

Merged error: 0b

Counts
143 → 11

regimes240.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01213
11213

end0.0ms

sample931.0ms

Algorithm
intervals
Results
360.0ms1465×body1280valid
207.0ms1264×body640valid
152.0ms4355×body80valid
67.0ms600×body320valid
25.0ms316×body160valid