Details

Time bar (total: 4.8s)

analyze718.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%50%0%4
50%50%0%5
50%50%0%6
50%50%0%7
50%50%0%8
50%50%0%9
50%50%0%10
50%50%0%11
50%50%0%12
50%50%0%13
50%49.9%0%14

sample43.0ms

Algorithm
intervals
Results
13.0ms43×body1280valid
8.0ms41×body640valid
5.0ms132×body80valid
4.0ms33×body320valid
1.0msbody160valid

simplify458.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
01615
11615

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(- 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 → 104
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))

series77.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- 1.0 (* (tan x) (tan x)))
32.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
9.0ms
(* (tan x) (tan x))
27.0ms
(* (tan x) (tan x))

simplify47.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
050701206

prune228.0ms

Filtered
82 candidates to 116 candidates (-41.5%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New10313116
Fresh000
Picked101
Done000
Total10413117

Merged error: 0.0b

Counts
117 → 13

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (+ (pow (tan x) 2) 1.0) (- 1.0 (pow (tan x) 2))))
0.2b
(/ (+ (pow (tan x) 2) 1.0) (- 1.0 (pow (tan x) 2)))
0.3b
(pow (tan x) 2)
0.3b
(pow (tan x) 2)

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
274×times-frac
239×add-sqr-sqrt
237×*-un-lft-identity
113×add-cube-cbrt
84×difference-of-squares
46×associate-/r*
41×distribute-lft-out
27×unpow-prod-down
23×unpow2 sqr-pow
21×distribute-lft-out--
19×add-exp-log
11×associate-/r/ add-cbrt-cube
div-exp
pow1 associate-/l*
pow-unpow div-inv
flip3-- flip--
cbrt-undiv add-log-exp
pow-to-exp rec-exp pow-pow frac-2neg 1-exp pow-exp clear-num associate-/l/
pow-flip flip3-+ flip-+ inv-pow
Counts
4 → 272
Calls
4 calls:
16.0ms
(/ 1 (/ (+ (pow (tan x) 2) 1.0) (- 1.0 (pow (tan x) 2))))
12.0ms
(/ (+ (pow (tan x) 2) 1.0) (- 1.0 (pow (tan x) 2)))
3.0ms
(pow (tan x) 2)
3.0ms
(pow (tan x) 2)

series85.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(/ 1 (/ (+ (pow (tan x) 2) 1.0) (- 1.0 (pow (tan x) 2))))
35.0ms
(/ (+ (pow (tan x) 2) 1.0) (- 1.0 (pow (tan x) 2)))
9.0ms
(pow (tan x) 2)
9.0ms
(pow (tan x) 2)

simplify100.0ms

Algorithm
egg-herbie
Counts
284 → 284
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
050405487

prune441.0ms

Filtered
138 candidates to 284 candidates (-105.8%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New2840284
Fresh01212
Picked011
Done000
Total28413297

Merged error: 0.0b

Counts
297 → 13

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (* (tan x) (sin x)) (cos x))
0.2b
(* (tan x) (sin x))
0.2b
(/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan 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:
8.0ms
(/ (* (tan x) (sin x)) (cos x))
5.0ms
(* (tan x) (sin x))
8.0ms
(/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
5.0ms
(* (tan x) (tan x))

series72.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(/ (* (tan x) (sin x)) (cos x))
10.0ms
(* (tan x) (sin x))
37.0ms
(/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
9.0ms
(* (tan x) (tan x))

simplify49.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
053501680

prune157.0ms

Filtered
84 candidates to 121 candidates (-44.0%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1201121
Fresh11011
Picked011
Done011
Total12113134

Merged error: 0.0b

Counts
134 → 13

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
78×*-un-lft-identity
75×add-sqr-sqrt
49×times-frac
30×add-cube-cbrt associate-*r*
20×difference-of-squares
14×distribute-lft-out
12×add-exp-log
11×add-cbrt-cube
10×sqrt-prod distribute-lft-out--
pow1
associate-/l* add-log-exp
flip3-+ associate-*l* associate-/r* associate-/r/ flip-+
unpow-prod-down pow-unpow
cbrt-undiv frac-times flip3-- div-exp associate-*l/ prod-exp flip-- cbrt-unprod div-inv associate-/l/ unswap-sqr
pow-to-exp sub-neg pow-pow frac-2neg diff-log div-sub associate-*r/ pow-prod-down pow-exp clear-num *-commutative unpow2 sqr-pow
Counts
4 → 137
Calls
4 calls:
4.0ms
(- (sqrt 1.0) (tan x))
11.0ms
(/ (- (sqrt 1.0) (tan x)) (+ (pow (tan x) 2) 1.0))
23.0ms
(* (+ (tan x) (sqrt 1.0)) (/ (- (sqrt 1.0) (tan x)) (+ (pow (tan x) 2) 1.0)))
3.0ms
(pow (tan x) 2)

series88.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- (sqrt 1.0) (tan x))
30.0ms
(/ (- (sqrt 1.0) (tan x)) (+ (pow (tan x) 2) 1.0))
41.0ms
(* (+ (tan x) (sqrt 1.0)) (/ (- (sqrt 1.0) (tan x)) (+ (pow (tan x) 2) 1.0)))
9.0ms
(pow (tan x) 2)

simplify65.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
049712308
149712308

prune259.0ms

Filtered
94 candidates to 149 candidates (-58.5%)
Pruning

14 alts after pruning (11 fresh and 3 done)

PrunedKeptTotal
New1481149
Fresh01010
Picked011
Done022
Total14814162

Merged error: 0.0b

Counts
162 → 14

regimes158.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
01215
11215

end0.0ms

analyze517.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%50%0%4
50%50%0%5
50%50%0%6
50%50%0%7
50%50%0%8
50%50%0%9
50%50%0%10
50%50%0%11
50%50%0%12
50%50%0%13
50%49.9%0%14

sample1.1s

Algorithm
intervals
Results
407.0ms1465×body1280valid
227.0ms1207×body640valid
184.0ms4361×body80valid
82.0ms621×body320valid
35.0ms346×body160valid

Profiling

Loading profile data...