Details

Time bar (total: 3.6s)

sample319.0ms

Algorithm
intervals
Results
13.0ms45×body1280valid
5.0ms33×body640valid
5.0ms145×body80valid
3.0ms23×body320valid
1.0ms10×body160valid

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.2b
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
0.2b
(* (tan x) (tan x))
0.2b
(* (tan x) (tan x))

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

series209.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0314909
11157838
25002824

prune228.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))
0.2b
(/ (* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x))) (+ 1.0 (* (tan x) (tan x))))
0.2b
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
0.2b
(* (tan x) (tan x))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
18×*-un-lft-identity
13×pow1 add-exp-log add-cbrt-cube
12×add-cube-cbrt
frac-times associate-*r*
associate-/l/
flip3-- flip3-+ associate-*l* flip-- flip-+
add-log-exp
associate-*r/ associate-*l/
tan-quot difference-of-squares
sub-neg times-frac swap-sqr prod-exp associate-/r* cbrt-unprod
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp pow-prod-down sqrt-prod associate-/r/ *-commutative distribute-lft-out-- unswap-sqr
pow2 frac-2neg pow-plus diff-log clear-num pow-sqr pow-prod-up div-inv distribute-lft-out associate-/l*
Counts
4 → 108
Calls
4 calls:
4.0ms
(- (sqrt 1.0) (tan x))
13.0ms
(/ (* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x))) (+ 1.0 (* (tan x) (tan x))))
11.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
5.0ms
(* (tan x) (tan x))

series358.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
05201144
12857962
25002947

prune224.0ms

Filtered
120 candidates to 82 candidates (68.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1200120
Fresh099
Picked011
Done000
Total12010130

Merged error: 0.0b

Counts
130 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

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

series249.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
31.0ms
(* (tan x) (tan x))
34.0ms
(* (tan x) (tan x))
93.0ms
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))))

simplify45.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03621207
111911116
250011100

prune258.0ms

Filtered
135 candidates to 93 candidates (68.9%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1350135
Fresh088
Picked011
Done011
Total13510145

Merged error: 0.0b

Counts
145 → 10

localize12.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)

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

series72.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (55.0ms)

IterNodesCost
0141284
1469240
21590240
35001236

prune156.0ms

Filtered
84 candidates to 48 candidates (57.1%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New83184
Fresh167
Picked101
Done022
Total85994

Merged error: 0.0b

Counts
94 → 9

regimes168.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
01312
11312

end0.0ms

sample962.0ms

Algorithm
intervals
Results
387.0ms1542×body1280valid
200.0ms1220×body640valid
156.0ms4243×body80valid
74.0ms642×body320valid
31.0ms353×body160valid

Profiling

Loading profile data...