Details

Time bar (total: 3.4s)

sample312.0ms

Algorithm
intervals
Results
13.0ms44×body1280valid
6.0ms36×body640valid
6.0ms143×body80valid
2.0ms19×body320valid
1.0ms14×body160valid

simplify14.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.2b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.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:
28.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
3.0ms
(- 1.0 (* (tan x) (tan x)))
5.0ms
(* (tan x) (tan x))
7.0ms
(* (tan x) (tan x))

series204.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
37.0ms
(- 1.0 (* (tan x) (tan x)))
33.0ms
(* (tan x) (tan x))
44.0ms
(* (tan x) (tan x))

simplify43.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0314909
11157838
25001824

prune228.0ms

Filtered
117 candidates to 77 candidates (65.8%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New10512117
Fresh000
Picked101
Done000
Total10612118

Merged error: 0.0b

Counts
118 → 12

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(- 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))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
102×times-frac
80×add-sqr-sqrt
63×add-cube-cbrt *-un-lft-identity
19×pow1 add-exp-log
18×associate-/r*
13×add-cbrt-cube difference-of-squares
associate-/r/
tan-quot
div-exp
swap-sqr associate-*r* associate-*l* add-log-exp
flip3-- flip-- div-inv
cbrt-undiv associate-/l*
pow2 frac-times rec-exp pow-plus 1-exp associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
sub-neg pow-flip frac-2neg diff-log clear-num inv-pow
Counts
4 → 165
Calls
4 calls:
3.0ms
(- 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))

series189.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(- 1.0 (* (tan x) (tan x)))
91.0ms
(/ 1 (/ (+ 1.0 (* (tan x) (tan x))) (- 1.0 (* (tan x) (tan x)))))
35.0ms
(* (tan x) (tan x))
32.0ms
(* (tan x) (tan x))

simplify74.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
05452148
125671966
250011864

prune225.0ms

Filtered
177 candidates to 88 candidates (49.7%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1761177
Fresh01111
Picked101
Done000
Total17712189

Merged error: 0.0b

Counts
189 → 12

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
25×pow1
18×*-un-lft-identity
16×add-cube-cbrt
12×tan-quot
10×add-exp-log add-cbrt-cube
swap-sqr associate-*r* associate-*l*
add-log-exp
times-frac associate-/r/ difference-of-squares
pow2 frac-times distribute-rgt-out-- pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
flip3-+ flip-+ div-inv
sub-neg flip3-- diff-log frac-sub flip-- distribute-lft-out-- sub-div
Counts
4 → 106
Calls
4 calls:
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))
14.0ms
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

series248.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* (tan x) (tan x))
30.0ms
(* (tan x) (tan x))
31.0ms
(* (tan x) (tan x))
151.0ms
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

simplify39.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0266869
1914800
25002784

prune187.0ms

Filtered
118 candidates to 69 candidates (58.5%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1171118
Fresh11011
Picked011
Done000
Total11812130

Merged error: 0.0b

Counts
130 → 12

localize13.0ms

Local error

Found 4 expressions with local error:

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

series74.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0141284
1469240
21588240
35001236

prune157.0ms

Filtered
84 candidates to 48 candidates (57.1%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New83184
Fresh01010
Picked011
Done011
Total831396

Merged error: 0b

Counts
96 → 13

regimes182.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
0914
1914

end0.0ms

sample963.0ms

Algorithm
intervals
Results
377.0ms1501×body1280valid
207.0ms1240×body640valid
164.0ms4305×body80valid
75.0ms646×body320valid
25.0ms308×body160valid

Profiling

Loading profile data...