Details

Time bar (total: 3.9s)

sample277.0ms

Algorithm
intervals
Results
12.0ms51×body1280valid
7.0ms44×body640valid
6.0ms130×body80valid
2.0ms18×body320valid
1.0ms13×body160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1229
2299
3379
4439
5459
6459

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
23×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
expm1-log1p-u log1p-expm1-u associate-/l*
fma-neg prod-diff 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 → 119
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))
8.0ms
(* (tan x) (tan x))

series222.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03381007
11243918
25001882

prune306.0ms

Filtered
131 candidates to 91 candidates (69.5%)
Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(- 1.0 (* (tan x) (tan x)))
0.2b
(* (tan x) (tan x))
0.2b
(* (tan x) (tan x))
0.5b
(log1p (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x)))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
18×pow1
14×add-cube-cbrt *-un-lft-identity
tan-quot add-exp-log add-cbrt-cube
swap-sqr associate-*r* associate-*l* add-log-exp
expm1-log1p-u
log1p-expm1-u
fma-neg prod-diff
pow2 frac-times pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
sub-neg log1p-udef flip3-- diff-log log1p-expm1 flip-- difference-of-squares
Counts
4 → 92
Calls
4 calls:
3.0ms
(- 1.0 (* (tan x) (tan x)))
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))
1.0ms
(log1p (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x)))))

series322.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(- 1.0 (* (tan x) (tan x)))
34.0ms
(* (tan x) (tan x))
32.0ms
(* (tan x) (tan x))
222.0ms
(log1p (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x)))))

simplify133.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 3 (126.0ms)

IterNodesCost
0246612
1827546
23956530
35001525

prune273.0ms

Filtered
104 candidates to 66 candidates (63.5%)
Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
62×add-sqr-sqrt
58×*-un-lft-identity
54×prod-diff
50×add-cube-cbrt
35×sqrt-prod
20×distribute-rgt-in distribute-lft-in
13×pow1
associate-*r*
add-exp-log add-cbrt-cube add-log-exp
associate-*l*
fma-def fma-neg
frac-times
tan-quot expm1-log1p-u flip3-- flip3-+ flip-- flip-+ log1p-expm1-u difference-of-squares
sub-neg associate-*r/ swap-sqr associate-*l/
pow-prod-down prod-exp *-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 → 163
Calls
4 calls:
5.0ms
(+ (sqrt 1.0) (tan x))
13.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
6.0ms
(- (sqrt 1.0) (tan x))
5.0ms
(* (tan x) (tan x))

series212.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(+ (sqrt 1.0) (tan x))
103.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
37.0ms
(- (sqrt 1.0) (tan x))
36.0ms
(* (tan x) (tan x))

simplify68.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05502052
124001381
250011359

prune345.0ms

Filtered
175 candidates to 91 candidates (52.0%)
Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (cos x) 2)
0.2b
(pow (cos x) 2)
0.3b
(pow (sin x) 2)
0.3b
(pow (sin x) 2)

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt add-cube-cbrt unpow-prod-down pow-unpow *-un-lft-identity
pow1 add-exp-log
expm1-log1p-u pow-to-exp pow-pow pow-exp add-cbrt-cube log1p-expm1-u unpow2 add-log-exp sqr-pow
Counts
4 → 80
Calls
4 calls:
2.0ms
(pow (cos x) 2)
2.0ms
(pow (cos x) 2)
3.0ms
(pow (sin x) 2)
3.0ms
(pow (sin x) 2)

series74.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(pow (cos x) 2)
17.0ms
(pow (cos x) 2)
21.0ms
(pow (sin x) 2)
19.0ms
(pow (sin x) 2)

simplify61.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (56.0ms)

IterNodesCost
0146308
1487260
21671260
35001256

prune231.0ms

Filtered
92 candidates to 56 candidates (60.9%)
Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

regimes239.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
01515
11515

end0.0ms

sample926.0ms

Algorithm
intervals
Results
358.0ms1454×body1280valid
206.0ms1288×body640valid
147.0ms4291×body80valid
72.0ms648×body320valid
25.0ms319×body160valid