Details

Time bar (total: 4.5s)

analyze705.0ms

Algorithm
search

sample43.0ms

Algorithm
intervals
Results
12.0ms45×body1280valid
9.0ms141×body80valid
8.0ms41×body640valid
3.0ms19×body320valid
1.0ms10×body160valid

simplify362.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (16.0ms)

IterNodesCost
0139
1219
2269
3349
4379
5379

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.2b
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
0.2b
(- 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:
6.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))

series73.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
9.0ms
(- 1.0 (* (tan x) (tan x)))
9.0ms
(* (tan x) (tan x))
18.0ms
(* (tan x) (tan x))

simplify42.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0314909
11157838
25001824

prune189.0ms

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

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New10512117
Fresh000
Picked101
Done000
Total10612118

Merged error: 0.0b

Counts
118 → 12

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (tan x))
0.2b
(* (tan x) (tan x))
0.2b
(* (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)))))

series79.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(* (tan x) (tan x))
8.0ms
(* (tan x) (tan x))
11.0ms
(* (tan x) (tan x))
51.0ms
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

simplify36.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0266869
1914800
25002784

prune154.0ms

Filtered
69 candidates to 118 candidates (-71.0%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New1117118
Fresh4711
Picked101
Done000
Total11614130

Merged error: 0.0b

Counts
130 → 14

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

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

series42.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
7.0ms
(- (sqrt 1.0) (tan x))
7.0ms
(+ (sqrt 1.0) (tan x))
9.0ms
(* (tan x) (tan x))

simplify47.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0328693
11582618
25001607

prune173.0ms

Filtered
68 candidates to 101 candidates (-48.5%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New992101
Fresh21113
Picked101
Done000
Total10213115

Merged error: 0.0b

Counts
115 → 13

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (tan x))
0.2b
(* (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ 1.0 (+ 1.0 (* (tan x) (tan x)))))
0.3b
(pow (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) 3)
0.4b
(pow (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))) 3)

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
70×add-sqr-sqrt
64×times-frac
56×add-cube-cbrt *-un-lft-identity
27×add-exp-log add-cbrt-cube
24×unpow-prod-down cube-prod
20×pow1
18×swap-sqr associate-*r* associate-*l*
16×associate-/r/
flip3-+ flip-+ div-inv
cbrt-undiv div-exp
pow-unpow prod-exp cbrt-unprod
pow-exp rem-cube-cbrt unswap-sqr
tan-quot add-log-exp
cube-div pow2 cube-mult frac-times pow-to-exp pow-pow pow-plus unpow3 associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up sqr-pow
Counts
4 → 191
Calls
4 calls:
5.0ms
(* (tan x) (tan x))
14.0ms
(* (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ 1.0 (+ 1.0 (* (tan x) (tan x)))))
6.0ms
(pow (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) 3)
7.0ms
(pow (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))) 3)

series120.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(* (tan x) (tan x))
30.0ms
(* (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ 1.0 (+ 1.0 (* (tan x) (tan x)))))
31.0ms
(pow (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) 3)
51.0ms
(pow (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))) 3)

simplify44.0ms

Algorithm
egg-herbie
Counts
203 → 203
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
08992310
150012043

prune457.0ms

Filtered
119 candidates to 203 candidates (-70.6%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New2021203
Fresh11112
Picked011
Done000
Total20313216

Merged error: 0b

Counts
216 → 13

regimes210.0ms

Accuracy

0% (0.4b remaining)

Error of 0.5b against oracle of 0.1b and baseline of 0.5b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02052
12052

end0.0ms

analyze491.0ms

Algorithm
search

sample1.0s

Algorithm
intervals
Results
400.0ms1531×body1280valid
209.0ms1211×body640valid
166.0ms4286×body80valid
83.0ms686×body320valid
26.0ms286×body160valid

Profiling

Loading profile data...