Details

Time bar (total: 3.5s)

sample297.0ms

Algorithm
intervals
Results
11.0ms45×body1280valid
8.0ms48×body640valid
6.0ms137×body80valid
1.0ms13×body320valid
1.0ms13×body160valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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.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.1b
(- 1.0 (* (tan x) (tan x)))
0.3b
(* (tan x) (tan x))
0.3b
(* (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))

series219.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
35.0ms
(- 1.0 (* (tan x) (tan x)))
33.0ms
(* (tan x) (tan x))
56.0ms
(* (tan x) (tan x))

simplify47.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0314909
11157838
25001824

prune226.0ms

Filtered
117 candidates to 77 candidates (65.8%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New10611117
Fresh000
Picked101
Done000
Total10711118

Merged error: 0.0b

Counts
118 → 11

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

rewrite29.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))
13.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
5.0ms
(* (tan x) (tan x))

series212.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(+ (sqrt 1.0) (tan x))
39.0ms
(- (sqrt 1.0) (tan x))
105.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
33.0ms
(* (tan x) (tan x))

simplify50.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0328693
11582618
25001607

prune201.0ms

Filtered
101 candidates to 68 candidates (67.3%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New992101
Fresh1910
Picked101
Done000
Total10111112

Merged error: 0.0b

Counts
112 → 11

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
21×*-un-lft-identity associate-*r*
20×pow1 add-cube-cbrt
17×add-exp-log
13×add-cbrt-cube
11×times-frac
10×associate-*l*
tan-quot
swap-sqr prod-exp add-log-exp
unswap-sqr
frac-times associate-*l/ cbrt-unprod
flip3-- associate-*r/ pow-prod-down *-commutative flip--
pow2 pow-plus div-exp associate-/r/ pow-sqr pow-prod-up difference-of-squares
cbrt-undiv sub-neg rec-exp flip3-+ diff-log 1-exp un-div-inv flip-+ div-inv
Counts
4 → 112
Calls
4 calls:
3.0ms
(- 1.0 (* (tan x) (tan x)))
13.0ms
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ 1.0 (* (tan x) (tan x)))))
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))

series192.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(- 1.0 (* (tan x) (tan x)))
92.0ms
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ 1.0 (* (tan x) (tan x)))))
32.0ms
(* (tan x) (tan x))
32.0ms
(* (tan x) (tan x))

simplify57.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0382946
11727838
25001797

prune195.0ms

Filtered
124 candidates to 76 candidates (61.3%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1231124
Fresh1910
Picked011
Done000
Total12411135

Merged error: 0.0b

Counts
135 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

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

series248.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(/ (* (tan x) (sin x)) (cos x))
43.0ms
(* (tan x) (sin x))
110.0ms
(* (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (/ 1 (+ 1.0 (* (tan x) (tan x)))))
35.0ms
(* (tan x) (tan x))

simplify72.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
05211119
12507993
25001975

prune254.0ms

Filtered
125 candidates to 84 candidates (67.2%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1223125
Fresh189
Picked101
Done011
Total12412136

Merged error: 0.0b

Counts
136 → 12

regimes172.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
01310
11310

end0.0ms

sample918.0ms

Algorithm
intervals
Results
360.0ms1494×body1280valid
207.0ms1287×body640valid
145.0ms4314×body80valid
71.0ms620×body320valid
22.0ms285×body160valid