Details

Time bar (total: 4.2s)

analyze709.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

sample45.0ms

Algorithm
intervals
Results
12.0ms41×body1280valid
12.0ms41×body640valid
7.0ms142×body80valid
3.0ms20×body320valid
1.0ms12×body160valid

simplify523.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (110.0ms)

IterNodesCost
0482015
1482015

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

Counts
2 → 1

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite54.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:
6.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
6.0ms
(- 1.0 (* (tan x) (tan x)))
25.0ms
(* (tan x) (tan x))
13.0ms
(* (tan x) (tan x))

series67.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
049151205
149151205

prune255.0ms

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

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New10115116
Fresh000
Picked101
Done000
Total10215117

Merged error: 0.0b

Counts
117 → 15

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (tan x) (sqrt 1.0))
0.2b
(* (+ (tan x) (sqrt 1.0)) (- (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/
pow-prod-down prod-exp sqrt-prod *-commutative cbrt-unprod distribute-lft-out distribute-lft-out-- unswap-sqr
+-commutative pow2 distribute-rgt-in distribute-lft-in pow-plus diff-log sum-log pow-sqr pow-prod-up
Counts
4 → 86
Calls
4 calls:
4.0ms
(+ (tan x) (sqrt 1.0))
13.0ms
(* (+ (tan x) (sqrt 1.0)) (- (sqrt 1.0) (tan x)))
4.0ms
(- (sqrt 1.0) (tan x))
5.0ms
(* (tan x) (tan x))

series41.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ (tan x) (sqrt 1.0))
17.0ms
(* (+ (tan x) (sqrt 1.0)) (- (sqrt 1.0) (tan x)))
8.0ms
(- (sqrt 1.0) (tan x))
9.0ms
(* (tan x) (tan x))

simplify47.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
04970879
14970879

prune212.0ms

Filtered
69 candidates to 98 candidates (-42.0%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New96298
Fresh21214
Picked011
Done000
Total9815113

Merged error: 0.0b

Counts
113 → 15

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
242×times-frac
201×add-sqr-sqrt
197×*-un-lft-identity
99×add-cube-cbrt
68×difference-of-squares
38×associate-/r*
32×distribute-lft-out
23×unpow-prod-down
19×unpow2 sqr-pow
17×add-exp-log distribute-lft-out--
associate-/r/ add-cbrt-cube
pow1 div-exp
pow-unpow add-log-exp
flip3-- flip-- div-inv
cbrt-undiv associate-/l*
pow-to-exp rec-exp pow-pow 1-exp pow-exp
sub-neg pow-flip frac-2neg diff-log clear-num inv-pow
Counts
4 → 228
Calls
4 calls:
5.0ms
(- 1.0 (pow (tan x) 2))
16.0ms
(/ 1 (/ (+ (pow (tan x) 2) 1.0) (- 1.0 (pow (tan x) 2))))
3.0ms
(pow (tan x) 2)
3.0ms
(pow (tan x) 2)

series57.0ms

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

simplify104.0ms

Algorithm
egg-herbie
Counts
240 → 240
Iterations

Useful iterations: 0 (75.0ms)

IterNodesCost
049304413
149304413

prune369.0ms

Filtered
114 candidates to 240 candidates (-110.5%)
Pruning

15 alts after pruning (13 fresh and 2 done)

PrunedKeptTotal
New2373240
Fresh31013
Picked011
Done011
Total24015255

Merged error: 0.0b

Counts
255 → 15

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt
28×*-un-lft-identity
18×associate-*l*
17×add-cube-cbrt
15×add-exp-log
14×times-frac
add-cbrt-cube
pow1 unpow-prod-down associate-*r* difference-of-squares
pow-unpow add-log-exp
prod-exp unpow2 sqr-pow
sub-neg flip3-- flip-- distribute-lft-out unswap-sqr
frac-times pow-to-exp pow-pow associate-*r/ div-exp pow-exp associate-/r/ cbrt-unprod distribute-lft-out--
cbrt-undiv distribute-rgt-in rec-exp distribute-lft-in flip3-+ diff-log 1-exp pow-prod-down associate-*l/ *-commutative flip-+ div-inv
Counts
4 → 103
Calls
4 calls:
5.0ms
(- 1.0 (pow (tan x) 2))
17.0ms
(* (/ 1 (+ (pow (tan x) 2) 1.0)) (- 1.0 (pow (tan x) 2)))
3.0ms
(pow (tan x) 2)
3.0ms
(pow (tan x) 2)

series59.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
048911270
148911270

prune175.0ms

Filtered
77 candidates to 115 candidates (-49.4%)
Pruning

15 alts after pruning (12 fresh and 3 done)

PrunedKeptTotal
New1150115
Fresh01212
Picked011
Done022
Total11515130

Merged error: 0.0b

Counts
130 → 15

regimes177.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05619
15619

end0.0ms

sample1.0s

Algorithm
intervals
Results
380.0ms1437×body1280valid
217.0ms1248×body640valid
178.0ms4312×body80valid
84.0ms663×body320valid
30.0ms340×body160valid

Profiling

Loading profile data...