Details

Time bar (total: 4.3s)

sample318.0ms

Algorithm
intervals
Results
10.0ms39×body1280valid
8.0ms43×body640valid
7.0ms146×body80valid
2.0ms20×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.1b
(- 1.0 (* (tan x) (tan x)))
0.1b
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
0.2b
(* (tan x) (tan x))
0.2b
(* (tan x) (tan x))

rewrite45.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))))
25.0ms
(* (tan x) (tan x))
7.0ms
(* (tan x) (tan x))

series207.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- 1.0 (* (tan x) (tan x)))
94.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
32.0ms
(* (tan x) (tan x))
46.0ms
(* (tan x) (tan x))

simplify44.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0314909
11157838
25002824

prune224.0ms

Filtered
117 candidates to 77 candidates (65.8%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New10512117
Fresh000
Picked101
Done000
Total10612118

Merged error: 0.0b

Counts
118 → 12

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite11.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 (sin x) 2)
2.0ms
(pow (sin x) 2)
2.0ms
(pow (cos x) 2)
2.0ms
(pow (cos x) 2)

series72.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(pow (sin x) 2)
21.0ms
(pow (sin x) 2)
16.0ms
(pow (cos x) 2)
16.0ms
(pow (cos x) 2)

simplify62.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (56.0ms)

IterNodesCost
0141284
1469240
21588240
35001236

prune166.0ms

Filtered
84 candidates to 48 candidates (57.1%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New84084
Fresh01111
Picked011
Done000
Total841296

Merged error: 0.0b

Counts
96 → 12

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
204×times-frac
184×*-un-lft-identity
172×add-sqr-sqrt
94×add-cube-cbrt
38×difference-of-squares
30×associate-/r*
26×distribute-lft-out
19×sqrt-prod distribute-lft-out--
13×add-exp-log associate-/r/ add-cbrt-cube
11×pow1
div-inv associate-/l*
flip3-- flip-- add-log-exp
tan-quot cbrt-undiv div-exp associate-/l/
flip3-+ swap-sqr associate-*r* associate-*l* flip-+
frac-2neg clear-num
+-commutative pow2 frac-times pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp sum-log pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
Counts
4 → 224
Calls
4 calls:
8.0ms
(/ (+ 1.0 (* (tan x) (tan x))) (- (sqrt 1.0) (tan x)))
4.0ms
(+ (sqrt 1.0) (tan x))
15.0ms
(/ (+ (sqrt 1.0) (tan x)) (/ (+ 1.0 (* (tan x) (tan x))) (- (sqrt 1.0) (tan x))))
5.0ms
(* (tan x) (tan x))

series362.0ms

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

simplify123.0ms

Algorithm
egg-herbie
Counts
236 → 236
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
07354155
137403919
250023901

prune411.0ms

Filtered
236 candidates to 143 candidates (60.6%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New2342236
Fresh1910
Picked011
Done101
Total23612248

Merged error: 0.0b

Counts
248 → 12

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
354×times-frac
261×add-sqr-sqrt
259×*-un-lft-identity
151×add-cube-cbrt
130×log-pow
108×exp-prod
54×difference-of-squares
37×pow1
27×sqrt-prod distribute-lft-out distribute-lft-out--
24×associate-/r*
19×associate-/r/
11×add-exp-log add-cbrt-cube
10×div-inv
flip3-- flip--
associate-/l*
add-log-exp
tan-quot log-prod
cbrt-undiv swap-sqr div-exp associate-*r* associate-*l*
exp-sum rem-exp-log
pow2 frac-times frac-2neg pow-plus associate-*r/ rem-log-exp pow-prod-down associate-*l/ prod-exp clear-num sum-log pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
Counts
4 → 298
Calls
4 calls:
5.0ms
(log (exp (+ (sqrt 1.0) (tan x))))
18.0ms
(/ (log (exp (+ (sqrt 1.0) (tan x)))) (/ (+ 1.0 (* (tan x) (tan x))) (- (sqrt 1.0) (tan x))))
5.0ms
(* (tan x) (tan x))
5.0ms
(exp (+ (sqrt 1.0) (tan x)))

series321.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(log (exp (+ (sqrt 1.0) (tan x))))
190.0ms
(/ (log (exp (+ (sqrt 1.0) (tan x)))) (/ (+ 1.0 (* (tan x) (tan x))) (- (sqrt 1.0) (tan x))))
37.0ms
(* (tan x) (tan x))
61.0ms
(exp (+ (sqrt 1.0) (tan x)))

simplify136.0ms

Algorithm
egg-herbie
Counts
310 → 310
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
08866461
139306020
250015991

prune441.0ms

Filtered
310 candidates to 159 candidates (51.3%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New3082310
Fresh2810
Picked011
Done011
Total31012322

Merged error: 0.0b

Counts
322 → 12

regimes182.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
01212
11212

end0.0ms

sample991.0ms

Algorithm
intervals
Results
383.0ms1518×body1280valid
219.0ms1309×body640valid
164.0ms4280×body80valid
80.0ms597×body320valid
25.0ms296×body160valid

Profiling

Loading profile data...