Details

Time bar (total: 3.9s)

sample286.0ms

Algorithm
intervals
Results
14.0ms51×body1280valid
7.0ms131×body80valid
6.0ms37×body640valid
3.0ms23×body320valid
1.0ms14×body160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1219
2269
3349
4379
5379

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

rewrite26.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))))
5.0ms
(* (tan x) (tan x))
8.0ms
(* (tan x) (tan x))

series235.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(- 1.0 (* (tan x) (tan x)))
101.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
35.0ms
(* (tan x) (tan x))
64.0ms
(* (tan x) (tan x))

simplify48.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0314909
11157838
25001824

prune250.0ms

Filtered
117 candidates to 77 candidates (65.8%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1089117
Fresh000
Picked101
Done000
Total1099118

Merged error: 0.0b

Counts
118 → 9

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
92×add-sqr-sqrt
72×add-cube-cbrt *-un-lft-identity
22×associate-/r*
21×add-exp-log
19×pow1
16×difference-of-squares
15×add-cbrt-cube
11×associate-/r/
tan-quot div-exp
swap-sqr associate-*r* associate-*l* div-inv associate-/l*
flip3-- flip--
cbrt-undiv add-log-exp
pow2 frac-times rec-exp frac-2neg pow-plus 1-exp associate-*r/ pow-prod-down associate-*l/ prod-exp clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod associate-/l/ unswap-sqr
pow-flip flip3-+ flip-+ inv-pow
Counts
4 → 187
Calls
4 calls:
7.0ms
(/ (+ 1.0 (* (tan x) (tan x))) (- 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))
5.0ms
(* (tan x) (tan x))

series263.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(/ (+ 1.0 (* (tan x) (tan x))) (- 1.0 (* (tan x) (tan x))))
95.0ms
(/ 1 (/ (+ 1.0 (* (tan x) (tan x))) (- 1.0 (* (tan x) (tan x)))))
38.0ms
(* (tan x) (tan x))
34.0ms
(* (tan x) (tan x))

simplify86.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05792595
127792386
250012281

prune286.0ms

Filtered
199 candidates to 109 candidates (54.8%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1972199
Fresh178
Picked101
Done000
Total1999208

Merged error: 0.0b

Counts
208 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.0ms

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

series373.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(- (sqrt 1.0) (tan x))
97.0ms
(/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x))))
203.0ms
(* (+ (sqrt 1.0) (tan x)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x)))))
34.0ms
(* (tan x) (tan x))

simplify88.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
05611675
128001512
250011496

prune295.0ms

Filtered
147 candidates to 99 candidates (67.3%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1452147
Fresh088
Picked101
Done000
Total14610156

Merged error: 0b

Counts
156 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

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

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

series79.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0141284
1469240
21590240
35001240

prune165.0ms

Filtered
84 candidates to 48 candidates (57.1%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New84084
Fresh099
Picked011
Done000
Total841094

Merged error: 0b

Counts
94 → 10

regimes176.0ms

Accuracy

0% (0.4b 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
01614
11614

end0.0ms

sample1.0s

Algorithm
intervals
Results
400.0ms1510×body1280valid
213.0ms1229×body640valid
172.0ms4323×body80valid
80.0ms627×body320valid
27.0ms311×body160valid