Details

Time bar (total: 4.2s)

sample299.0ms

Algorithm
intervals
Results
22.0ms49×body1280valid
10.0ms38×body640valid
10.0ms144×body80valid
3.0ms18×body320valid
1.0msbody160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1229
2299
3379
4439
5459
6459

prune3.0ms

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

rewrite73.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:
19.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
6.0ms
(- 1.0 (* (tan x) (tan x)))
25.0ms
(* (tan x) (tan x))
17.0ms
(* (tan x) (tan x))

series196.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
31.0ms
(- 1.0 (* (tan x) (tan x)))
34.0ms
(* (tan x) (tan x))
42.0ms
(* (tan x) (tan x))

simplify46.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03381007
11243918
25001882

prune286.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite15.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:
3.0ms
(pow (sin x) 2)
3.0ms
(pow (sin x) 2)
3.0ms
(pow (cos x) 2)
3.0ms
(pow (cos x) 2)

series66.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0146308
1487260
21669260
35001256

prune239.0ms

Pruning

10 alts after pruning (10 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.3b
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
23×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
expm1-log1p-u log1p-expm1-u difference-of-squares
log-prod fma-neg prod-diff
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 → 114
Calls
4 calls:
6.0ms
(- 1.0 (* (tan x) (tan x)))
15.0ms
(* (tan x) (tan x))
17.0ms
(* (tan x) (tan x))
25.0ms
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))))

series177.0ms

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

simplify157.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 3 (147.0ms)

IterNodesCost
0313858
1968771
24587748
35001743

prune306.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite16.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:
4.0ms
(pow (sin x) 2)
4.0ms
(pow (sin x) 2)
3.0ms
(pow (cos x) 2)
3.0ms
(pow (cos x) 2)

series67.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (55.0ms)

IterNodesCost
0146308
1487260
21669260
35001256

prune244.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

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

end0.0ms

sample1.6s

Algorithm
intervals
Results
663.0ms1480×body1280valid
357.0ms1272×body640valid
236.0ms4312×body80valid
120.0ms612×body320valid
43.0ms324×body160valid