Details

Time bar (total: 3.9s)

sample42.0ms

Algorithm
intervals
Results
12.0ms44×body1280valid
8.0ms43×body640valid
7.0ms140×body80valid
2.0ms17×body320valid
1.0ms12×body160valid

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1219
2269
3349
4379
5379

prune255.0ms

Filtered
1 candidates to 0 candidates (100.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))

rewrite24.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:
2.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))

series117.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(- 1.0 (* (tan x) (tan x)))
61.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
10.0ms
(* (tan x) (tan x))
18.0ms
(* (tan x) (tan x))

simplify76.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0314909
11157838
25002824

prune245.0ms

Filtered
117 candidates to 77 candidates (34.2%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New10710117
Fresh000
Picked101
Done000
Total10810118

Merged error: 0.0b

Counts
118 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (cos x) 2)
0.2b
(pow (cos x) 2)
0.2b
(pow (sin x) 2)
0.2b
(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)

series24.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(pow (cos x) 2)
6.0ms
(pow (cos x) 2)
7.0ms
(pow (sin x) 2)
6.0ms
(pow (sin x) 2)

simplify74.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
0141284
1469240
21590240
35001236

prune161.0ms

Filtered
84 candidates to 48 candidates (42.9%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New83184
Fresh099
Picked011
Done000
Total831194

Merged error: 0.0b

Counts
94 → 11

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt
29×*-un-lft-identity
28×add-cube-cbrt
21×pow1 add-exp-log associate-*r*
20×times-frac
15×add-cbrt-cube
10×associate-*l*
tan-quot
swap-sqr prod-exp
unswap-sqr
frac-times div-exp associate-*l/ associate-/r/ cbrt-unprod add-log-exp
associate-*r/ pow-prod-down associate-/r* *-commutative associate-/l*
cbrt-undiv pow2 rec-exp flip3-- flip3-+ pow-plus 1-exp pow-sqr pow-prod-up flip-- flip-+ div-inv
pow-flip frac-2neg clear-num un-div-inv inv-pow difference-of-squares
Counts
4 → 132
Calls
4 calls:
4.0ms
(/ 1 (+ 1.0 (* (tan x) (tan x))))
12.0ms
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ 1.0 (* (tan x) (tan x)))))
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))

series88.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ 1 (+ 1.0 (* (tan x) (tan x))))
37.0ms
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ 1.0 (* (tan x) (tan x)))))
8.0ms
(* (tan x) (tan x))
9.0ms
(* (tan x) (tan x))

simplify74.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
03921132
118131005
25002948

prune255.0ms

Filtered
144 candidates to 80 candidates (44.4%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1440144
Fresh099
Picked011
Done011
Total14411155

Merged error: 0.0b

Counts
155 → 11

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.0ms

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

series99.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x))))
7.0ms
(+ (sqrt 1.0) (tan x))
12.0ms
(* (tan x) (tan x))
51.0ms
(* (+ (sqrt 1.0) (tan x)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

simplify88.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
05581651
127811488
250021472

prune304.0ms

Filtered
144 candidates to 97 candidates (32.6%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New1440144
Fresh088
Picked011
Done022
Total14411155

Merged error: 0.0b

Counts
155 → 11

regimes473.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
01213
11213

end0.0ms

sample1.3s

Algorithm
intervals
Results
503.0ms1534×body1280valid
272.0ms1261×body640valid
212.0ms4311×body80valid
87.0ms575×body320valid
34.0ms319×body160valid

Profiling

Loading profile data...