Details

Time bar (total: 4.3s)

analyze689.0ms

Algorithm
search

sample44.0ms

Algorithm
intervals
Results
20.0ms58×body1280valid
6.0ms136×body80valid
5.0ms32×body640valid
2.0ms18×body320valid
1.0ms12×body160valid

simplify353.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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

localize22.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.2b
(* (tan x) (tan x))
0.2b
(* (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 → 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))
7.0ms
(* (tan x) (tan x))

series66.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0314909
11157838
25002824

prune194.0ms

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

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New10314117
Fresh000
Picked101
Done000
Total10414118

Merged error: 0.0b

Counts
118 → 14

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.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:
4.0ms
(+ (sqrt 1.0) (tan x))
4.0ms
(- (sqrt 1.0) (tan x))
10.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
5.0ms
(* (tan x) (tan x))

series39.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0328693
11582618
25001607

prune171.0ms

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

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New992101
Fresh31013
Picked101
Done000
Total10312115

Merged error: 0.0b

Counts
115 → 12

localize11.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
(* (+ (sqrt 1.0) (tan x)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x)))))
0.2b
(* (tan x) (tan x))

rewrite37.0ms

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

series83.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
05611675
128001512
250021496

prune250.0ms

Filtered
98 candidates to 147 candidates (-50.0%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1443147
Fresh11011
Picked101
Done000
Total14613159

Merged error: 0.0b

Counts
159 → 13

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (sqrt 1.0) (tan x)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (log (exp (* (tan x) (tan x)))))))
0.2b
(* (tan x) (tan x))
0.4b
(exp (* (tan x) (tan x)))
1.7b
(log (exp (* (tan x) (tan x))))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity
49×add-sqr-sqrt
39×associate-*r*
31×times-frac
22×add-cube-cbrt
20×pow1
13×distribute-lft-out
11×add-exp-log add-cbrt-cube
10×difference-of-squares
log-pow
associate-*l* add-log-exp
sqrt-prod distribute-lft-out--
tan-quot
frac-times log-prod flip3-+ swap-sqr associate-*l/ prod-exp cbrt-unprod flip-+ unswap-sqr
exp-prod exp-to-pow associate-*r/ pow-prod-down associate-/r/ *-commutative
cbrt-undiv pow2 pow-plus div-exp rem-log-exp pow-sqr pow-prod-up div-inv rem-exp-log
Counts
4 → 112
Calls
4 calls:
19.0ms
(* (+ (sqrt 1.0) (tan x)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (log (exp (* (tan x) (tan x)))))))
5.0ms
(* (tan x) (tan x))
3.0ms
(exp (* (tan x) (tan x)))
2.0ms
(log (exp (* (tan x) (tan x))))

series71.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(* (+ (sqrt 1.0) (tan x)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (log (exp (* (tan x) (tan x)))))))
8.0ms
(* (tan x) (tan x))
15.0ms
(exp (* (tan x) (tan x)))
9.0ms
(log (exp (* (tan x) (tan x))))

simplify67.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
04881252
123681087
250011067

prune153.0ms

Filtered
74 candidates to 124 candidates (-67.6%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1240124
Fresh01212
Picked011
Done000
Total12413137

Merged error: 0.0b

Counts
137 → 13

regimes305.0ms

Accuracy

0% (1.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01514
11514

end0.0ms

analyze470.0ms

Algorithm
search

sample1.0s

Algorithm
intervals
Results
405.0ms1577×body1280valid
205.0ms1217×body640valid
165.0ms4290×body80valid
75.0ms605×body320valid
26.0ms311×body160valid

Profiling

Loading profile data...