Details

Time bar (total: 3.0s)

sample41.0ms

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

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1219
2269
3349
4379
5379

prune189.0ms

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

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 → 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))

series73.0ms

Counts
4 → 12
Calls
4 calls:
15.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))
18.0ms
(* (tan x) (tan x))

simplify43.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0314909
11157838
25002824

prune183.0ms

Filtered
77 candidates to 117 candidates (-51.9%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New10710117
Fresh000
Picked101
Done000
Total10810118

Merged error: 0.0b

Counts
118 → 10

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

series15.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0141284
1469240
21590240
35001236

prune155.0ms

Filtered
48 candidates to 84 candidates (-75.0%)
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))

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

series67.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(/ 1 (+ 1.0 (* (tan x) (tan x))))
31.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))

simplify58.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
03921132
118131005
25002948

prune152.0ms

Filtered
80 candidates to 144 candidates (-80.0%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1440144
Fresh099
Picked011
Done011
Total14411155

Merged error: 0.0b

Counts
155 → 11

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

rewrite40.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))))
4.0ms
(+ (sqrt 1.0) (tan x))
7.0ms
(* (tan x) (tan x))
16.0ms
(* (+ (sqrt 1.0) (tan x)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

series87.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))
9.0ms
(* (tan x) (tan x))
41.0ms
(* (+ (sqrt 1.0) (tan x)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

simplify78.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05581651
127811488
250021472

prune219.0ms

Filtered
97 candidates to 144 candidates (-48.5%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New1440144
Fresh088
Picked011
Done022
Total14411155

Merged error: 0.0b

Counts
155 → 11

regimes367.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.0s

Algorithm
intervals
Results
395.0ms1534×body1280valid
212.0ms1261×body640valid
167.0ms4311×body80valid
68.0ms575×body320valid
26.0ms319×body160valid

Profiling

Loading profile data...