Details

Time bar (total: 3.5s)

sample289.0ms

Algorithm
intervals
Results
16.0ms56×body1280valid
8.0ms45×body640valid
5.0ms123×body80valid
2.0ms19×body320valid
1.0ms13×body160valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1219
2269
3349
4379
5379

prune3.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.3b

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

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:
7.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:
93.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
33.0ms
(- 1.0 (* (tan x) (tan x)))
33.0ms
(* (tan x) (tan x))
58.0ms
(* (tan x) (tan x))

simplify47.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0314909
11157838
25001824

prune254.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.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))
0.4b
(exp (* (tan x) (tan x)))
1.4b
(log (exp (* (tan x) (tan x))))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
19×pow1
17×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity
tan-quot add-exp-log add-cbrt-cube
add-log-exp
swap-sqr associate-*r* associate-*l*
log-prod log-pow
pow2 frac-times exp-prod exp-to-pow pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
rem-log-exp rem-exp-log
Counts
4 → 80
Calls
4 calls:
5.0ms
(* (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))))

series149.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (tan x) (tan x))
31.0ms
(* (tan x) (tan x))
52.0ms
(exp (* (tan x) (tan x)))
32.0ms
(log (exp (* (tan x) (tan x))))

simplify67.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (62.0ms)

IterNodesCost
0132407
1406344
21778324
35002318

prune180.0ms

Filtered
92 candidates to 53 candidates (57.6%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New90292
Fresh21113
Picked011
Done000
Total9214106

Merged error: 0.1b

Counts
106 → 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))

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

series204.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
39.0ms
(- (sqrt 1.0) (tan x))
32.0ms
(+ (sqrt 1.0) (tan x))
32.0ms
(* (tan x) (tan x))

simplify49.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0328693
11582618
25001607

prune218.0ms

Filtered
101 candidates to 68 candidates (67.3%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New992101
Fresh11112
Picked101
Done101
Total10213115

Merged error: 0.1b

Counts
115 → 13

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
19×pow1 log-pow
18×exp-prod
12×times-frac
tan-quot add-exp-log add-cbrt-cube
swap-sqr associate-*r* associate-*l* add-log-exp
difference-of-squares
log-prod
pow2 frac-times pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp associate-/r/ pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
sub-neg log-div flip3-- flip3-+ exp-diff diff-log div-sub rem-log-exp flip-- flip-+ div-inv
Counts
4 → 100
Calls
4 calls:
3.0ms
(- 1.0 (* (tan x) (tan x)))
6.0ms
(* (tan x) (tan x))
8.0ms
(* (tan x) (tan x))
8.0ms
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))))

series193.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- 1.0 (* (tan x) (tan x)))
32.0ms
(* (tan x) (tan x))
32.0ms
(* (tan x) (tan x))
94.0ms
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))))

simplify140.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 3 (131.0ms)

IterNodesCost
0289756
1888687
23990673
35001667

prune197.0ms

Filtered
112 candidates to 73 candidates (65.2%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1111112
Fresh11112
Picked011
Done000
Total11213125

Merged error: 0.1b

Counts
125 → 13

regimes186.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
01011
11011

end0.0ms

sample982.0ms

Algorithm
intervals
Results
398.0ms1580×body1280valid
205.0ms1221×body640valid
165.0ms4293×body80valid
73.0ms602×body320valid
25.0ms304×body160valid