Details

Time bar (total: 3.5s)

sample293.0ms

Algorithm
intervals
Results
14.0ms52×body1280valid
5.0ms35×body640valid
5.0ms140×body80valid
3.0ms23×body320valid
0.0msbody160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1219
2269
3349
4379
5379

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

rewrite26.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))

series217.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0314909
11157838
25001824

prune251.0ms

Filtered
117 candidates to 77 candidates (65.8%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New10314117
Fresh000
Picked101
Done000
Total10414118

Merged error: 0.1b

Counts
118 → 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.3b
(* (tan x) (tan x))

rewrite28.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))

series202.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
31.0ms
(+ (sqrt 1.0) (tan x))
36.0ms
(- (sqrt 1.0) (tan x))
33.0ms
(* (tan x) (tan x))

simplify49.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0328693
11582618
25001607

prune216.0ms

Filtered
101 candidates to 68 candidates (67.3%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New965101
Fresh4913
Picked101
Done000
Total10114115

Merged error: 0.0b

Counts
115 → 14

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite21.0ms

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

series164.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(+ (sqrt 1.0) (tan x))
38.0ms
(- (sqrt 1.0) (tan x))
30.0ms
(* (tan x) (tan x))
63.0ms
(exp (+ (sqrt 1.0) (tan x)))

simplify123.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (117.0ms)

IterNodesCost
0239389
1858352
23906344
35001338

prune206.0ms

Filtered
81 candidates to 54 candidates (66.7%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New80181
Fresh01313
Picked101
Done000
Total811495

Merged error: 0.0b

Counts
95 → 14

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (tan x) (sqrt 1.0))
0.2b
(- (sqrt 1.0) (tan x))
0.3b
(* (tan x) (tan x))
0.4b
(pow (tan x) 3)

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
15×*-un-lft-identity
12×pow1
11×add-cube-cbrt
add-log-exp
add-exp-log add-cbrt-cube
tan-quot
difference-of-squares
unpow-prod-down pow-unpow cube-prod swap-sqr associate-*r* associate-*l*
sub-neg flip3-- diff-log sqrt-prod flip-- distribute-lft-out--
cube-div pow2 cube-mult frac-times pow-to-exp pow-pow pow-plus unpow3 associate-*r/ pow-prod-down associate-*l/ pow-exp prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod rem-cube-cbrt unswap-sqr sqr-pow
Counts
4 → 82
Calls
4 calls:
5.0ms
(- (tan x) (sqrt 1.0))
7.0ms
(- (sqrt 1.0) (tan x))
5.0ms
(* (tan x) (tan x))
3.0ms
(pow (tan x) 3)

series151.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(- (tan x) (sqrt 1.0))
35.0ms
(- (sqrt 1.0) (tan x))
34.0ms
(* (tan x) (tan x))
44.0ms
(pow (tan x) 3)

simplify56.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0283400
11357359
25002348

prune214.0ms

Filtered
94 candidates to 58 candidates (61.7%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New94094
Fresh01313
Picked011
Done000
Total9414108

Merged error: 0.0b

Counts
108 → 14

regimes209.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02221
12221

end0.0ms

sample902.0ms

Algorithm
intervals
Results
354.0ms1478×body1280valid
191.0ms1255×body640valid
151.0ms4332×body80valid
70.0ms629×body320valid
23.0ms306×body160valid