Details

Time bar (total: 3.8s)

sample283.0ms

Algorithm
intervals
Results
12.0ms45×body1280valid
7.0ms148×body80valid
7.0ms43×body640valid
2.0ms15×body320valid
0.0msbody160valid

simplify14.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.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))

rewrite27.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)))
7.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
5.0ms
(* (tan x) (tan x))
8.0ms
(* (tan x) (tan x))

series220.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(- 1.0 (* (tan x) (tan x)))
95.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
31.0ms
(* (tan x) (tan x))
59.0ms
(* (tan x) (tan x))

simplify47.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0314909
11157838
25001824

prune253.0ms

Filtered
117 candidates to 77 candidates (65.8%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New10413117
Fresh000
Picked101
Done000
Total10513118

Merged error: 0.0b

Counts
118 → 13

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
18×*-un-lft-identity
13×pow1
10×add-cube-cbrt
associate-*r*
add-exp-log add-cbrt-cube add-log-exp
associate-*l*
frac-times
tan-quot flip3-- flip3-+ flip-- flip-+ difference-of-squares
sub-neg associate-*r/ swap-sqr associate-*l/
distribute-rgt-in distribute-lft-in pow-prod-down prod-exp sqrt-prod *-commutative cbrt-unprod distribute-lft-out distribute-lft-out-- unswap-sqr
+-commutative pow2 pow-plus diff-log sum-log pow-sqr pow-prod-up
Counts
4 → 89
Calls
4 calls:
5.0ms
(- (sqrt 1.0) (tan x))
12.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
5.0ms
(+ (sqrt 1.0) (tan x))
5.0ms
(* (tan x) (tan x))

series211.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(- (sqrt 1.0) (tan x))
102.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
34.0ms
(+ (sqrt 1.0) (tan x))
37.0ms
(* (tan x) (tan x))

simplify50.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0328693
11582618
25001607

prune209.0ms

Filtered
101 candidates to 68 candidates (67.3%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New974101
Fresh4812
Picked101
Done000
Total10212114

Merged error: 0.0b

Counts
114 → 12

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

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

series192.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- 1.0 (* (tan x) (tan x)))
92.0ms
(/ 1 (/ (+ 1.0 (* (tan x) (tan x))) (- 1.0 (* (tan x) (tan x)))))
35.0ms
(* (tan x) (tan x))
33.0ms
(* (tan x) (tan x))

simplify78.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
05452150
125671968
250011866

prune237.0ms

Filtered
177 candidates to 89 candidates (50.3%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1743177
Fresh2911
Picked101
Done000
Total17712189

Merged error: 0.0b

Counts
189 → 12

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
30×*-un-lft-identity
22×add-cube-cbrt
18×times-frac
15×add-exp-log add-cbrt-cube
13×pow1
tan-quot associate-*r* associate-*l* associate-/r* associate-/l*
distribute-lft-out-- add-log-exp difference-of-squares
cbrt-undiv swap-sqr div-exp associate-*l/ prod-exp cbrt-unprod associate-/l/
frac-2neg pow-prod-down clear-num associate-/r/ *-commutative div-inv unswap-sqr
pow2 frac-times flip3-- flip3-+ pow-plus div-sub associate-*r/ pow-sqr pow-prod-up flip-- flip-+
Counts
4 → 109
Calls
4 calls:
5.0ms
(* (tan x) (sin x))
9.0ms
(/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
6.0ms
(/ (* (tan x) (sin x)) (cos x))
5.0ms
(* (tan x) (tan x))

series246.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* (tan x) (sin x))
111.0ms
(/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
57.0ms
(/ (* (tan x) (sin x)) (cos x))
35.0ms
(* (tan x) (tan x))

simplify61.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04411158
118491060
250011054

prune245.0ms

Filtered
121 candidates to 83 candidates (68.6%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1210121
Fresh01111
Picked011
Done000
Total12112133

Merged error: 0.0b

Counts
133 → 12

regimes224.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01311
11311

end0.0ms

sample1.0s

Algorithm
intervals
Results
405.0ms1547×body1280valid
223.0ms1268×body640valid
168.0ms4260×body80valid
76.0ms612×body320valid
27.0ms313×body160valid

Profiling

Loading profile data...