Details

Time bar (total: 3.7s)

analyze699.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%50%0%4
50%50%0%5
50%50%0%6
50%50%0%7
50%50%0%8
50%50%0%9
50%50%0%10
50%50%0%11
50%50%0%12
50%50%0%13
50%49.9%0%14

sample39.0ms

Algorithm
intervals
Results
14.0ms49×body1280valid
8.0ms47×body640valid
5.0ms130×body80valid
2.0ms16×body320valid
1.0ms14×body160valid

simplify521.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (102.0ms)

IterNodesCost
0528415

prune4.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.2b
(- 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))

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 → 104
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))
7.0ms
(* (tan x) (tan x))

series70.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(- 1.0 (* (tan x) (tan x)))
30.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
8.0ms
(* (tan x) (tan x))
18.0ms
(* (tan x) (tan x))

simplify53.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049511205
149511205

prune237.0ms

Filtered
82 candidates to 116 candidates (-41.5%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New10412116
Fresh000
Picked101
Done000
Total10512117

Merged error: 0.0b

Counts
117 → 12

localize13.0ms

Local error

Found 4 expressions with local error:

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

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

series13.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
05266424

prune165.0ms

Filtered
48 candidates to 84 candidates (-75.0%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New83184
Fresh01111
Picked011
Done000
Total831396

Merged error: 0.0b

Counts
96 → 13

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

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

series70.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
15.0ms
(/ (* (tan x) (sin x)) (cos x))
10.0ms
(* (tan x) (sin x))
8.0ms
(* (tan x) (tan x))

simplify43.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
050541679

prune162.0ms

Filtered
83 candidates to 121 candidates (-45.8%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1201121
Fresh11011
Picked101
Done011
Total12212134

Merged error: 0.0b

Counts
134 → 12

localize10.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (tan x) 2)
0.3b
(pow (tan x) 2)
0.3b
(pow (tan x) 2)
0.4b
(- (/ 1.0 (+ (pow (tan x) 2) 1.0)) (/ (pow (tan x) 2) (+ (pow (tan x) 2) 1.0)))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
36×*-un-lft-identity
25×times-frac
12×add-cube-cbrt
11×unpow-prod-down
10×difference-of-squares
pow-unpow
pow1 add-exp-log distribute-lft-out--
add-log-exp
unpow2 sqr-pow
associate-/r/ add-cbrt-cube distribute-lft-out
pow-to-exp distribute-rgt-out-- pow-pow pow-exp
flip3-+ flip-+ div-inv
sub-neg flip3-- diff-log frac-sub flip-- sub-div
Counts
4 → 87
Calls
4 calls:
3.0ms
(pow (tan x) 2)
3.0ms
(pow (tan x) 2)
3.0ms
(pow (tan x) 2)
41.0ms
(- (/ 1.0 (+ (pow (tan x) 2) 1.0)) (/ (pow (tan x) 2) (+ (pow (tan x) 2) 1.0)))

series75.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(pow (tan x) 2)
8.0ms
(pow (tan x) 2)
8.0ms
(pow (tan x) 2)
48.0ms
(- (/ 1.0 (+ (pow (tan x) 2) 1.0)) (/ (pow (tan x) 2) (+ (pow (tan x) 2) 1.0)))

simplify32.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
051941408

prune168.0ms

Filtered
66 candidates to 99 candidates (-50.0%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New98199
Fresh1910
Picked011
Done011
Total9912111

Merged error: 0.0b

Counts
111 → 12

regimes214.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
02923
12923

end0.0ms

sample981.0ms

Algorithm
intervals
Results
390.0ms1509×body1280valid
200.0ms1192×body640valid
164.0ms4309×body80valid
73.0ms616×body320valid
31.0ms374×body160valid

Profiling

Loading profile data...