Details

Time bar (total: 4.2s)

analyze688.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

sample45.0ms

Algorithm
intervals
Results
18.0ms47×body1280valid
8.0ms45×body640valid
5.0ms135×body80valid
2.0ms18×body320valid
1.0ms11×body160valid

simplify505.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (101.0ms)

IterNodesCost
0528415

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.4b

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

rewrite35.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:
6.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
3.0ms
(- 1.0 (* (tan x) (tan x)))
14.0ms
(* (tan x) (tan x))
7.0ms
(* (tan x) (tan x))

series66.0ms

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

prune236.0ms

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

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New10115116
Fresh000
Picked101
Done000
Total10215117

Merged error: 0.1b

Counts
117 → 15

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

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

series50.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
04977791
14977791

prune139.0ms

Filtered
63 candidates to 94 candidates (-49.2%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New90494
Fresh41014
Picked101
Done000
Total9514109

Merged error: 0.1b

Counts
109 → 14

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
292×*-un-lft-identity
264×times-frac
208×add-sqr-sqrt
104×add-cube-cbrt
68×distribute-lft-out
52×difference-of-squares
36×associate-/r*
26×sqrt-prod distribute-lft-out--
13×associate-/r/
12×add-exp-log
11×add-cbrt-cube
associate-/l*
flip3-- flip-- div-inv
add-log-exp
pow1
cbrt-undiv div-exp associate-/l/
unpow-prod-down pow-unpow
frac-2neg flip3-+ clear-num flip-+
pow-to-exp sub-neg pow-pow diff-log pow-exp unpow2 sqr-pow
Counts
4 → 253
Calls
4 calls:
4.0ms
(- (sqrt 1.0) (tan x))
11.0ms
(/ (+ (pow (tan x) 2) 1.0) (- (sqrt 1.0) (tan x)))
21.0ms
(/ (+ (sqrt 1.0) (tan x)) (/ (+ (pow (tan x) 2) 1.0) (- (sqrt 1.0) (tan x))))
3.0ms
(pow (tan x) 2)

series82.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- (sqrt 1.0) (tan x))
23.0ms
(/ (+ (pow (tan x) 2) 1.0) (- (sqrt 1.0) (tan x)))
44.0ms
(/ (+ (sqrt 1.0) (tan x)) (/ (+ (pow (tan x) 2) 1.0) (- (sqrt 1.0) (tan x))))
9.0ms
(pow (tan x) 2)

simplify90.0ms

Algorithm
egg-herbie
Counts
265 → 265
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049536451
149536451

prune510.0ms

Filtered
142 candidates to 265 candidates (-86.6%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New2587265
Fresh5813
Picked101
Done000
Total26415279

Merged error: 0.1b

Counts
279 → 15

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt
28×*-un-lft-identity
18×associate-*l*
17×add-cube-cbrt
15×add-exp-log
14×times-frac
add-cbrt-cube
pow1 unpow-prod-down associate-*r* difference-of-squares
pow-unpow add-log-exp
prod-exp unpow2 sqr-pow
sub-neg flip3-- flip-- distribute-lft-out unswap-sqr
frac-times pow-to-exp pow-pow associate-*r/ div-exp pow-exp associate-/r/ cbrt-unprod distribute-lft-out--
cbrt-undiv distribute-rgt-in rec-exp distribute-lft-in flip3-+ diff-log 1-exp pow-prod-down associate-*l/ *-commutative flip-+ div-inv
Counts
4 → 103
Calls
4 calls:
17.0ms
(* (/ 1 (+ (pow (tan x) 2) 1.0)) (- 1.0 (pow (tan x) 2)))
5.0ms
(- 1.0 (pow (tan x) 2))
4.0ms
(pow (tan x) 2)
3.0ms
(pow (tan x) 2)

series55.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(* (/ 1 (+ (pow (tan x) 2) 1.0)) (- 1.0 (pow (tan x) 2)))
8.0ms
(- 1.0 (pow (tan x) 2))
8.0ms
(pow (tan x) 2)
8.0ms
(pow (tan x) 2)

simplify38.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
053671270

prune164.0ms

Filtered
78 candidates to 115 candidates (-47.4%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New1141115
Fresh11314
Picked011
Done000
Total11515130

Merged error: 0.1b

Counts
130 → 15

regimes184.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
02215
12215

end0.0ms

sample1.0s

Algorithm
intervals
Results
390.0ms1488×body1280valid
221.0ms1267×body640valid
173.0ms4284×body80valid
86.0ms659×body320valid
26.0ms302×body160valid

Profiling

Loading profile data...