Details

Time bar (total: 5.3s)

sample313.0ms

Algorithm
intervals
Results
21.0ms49×body1280valid
13.0ms39×body640valid
7.0ms131×body80valid
5.0ms26×body320valid
1.0ms11×body160valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

rewrite70.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)))
19.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
24.0ms
(* (tan x) (tan x))
17.0ms
(* (tan x) (tan x))

series196.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(- 1.0 (* (tan x) (tan x)))
89.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
36.0ms
(* (tan x) (tan x))
41.0ms
(* (tan x) (tan x))

simplify46.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03381007
11243917
25001882

prune292.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

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

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

series69.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0146308
1487260
21671260
35001256

prune251.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
18×pow1
16×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity
tan-quot add-exp-log add-cbrt-cube
swap-sqr associate-*r* associate-*l*
expm1-log1p-u
log1p-expm1-u add-log-exp
pow2 frac-times pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
log1p-udef expm1-log1p log1p-expm1 expm1-udef
Counts
4 → 82
Calls
4 calls:
0.0ms
(expm1 (log1p (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))))
0.0ms
(log1p (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x)))))
17.0ms
(* (tan x) (tan x))
15.0ms
(* (tan x) (tan x))

series554.0ms

Counts
4 → 12
Calls
4 calls:
276.0ms
(expm1 (log1p (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))))
218.0ms
(log1p (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x)))))
29.0ms
(* (tan x) (tan x))
30.0ms
(* (tan x) (tan x))

simplify98.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 3 (90.0ms)

IterNodesCost
0204664
1683574
22965552
35001546

prune229.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite122.0ms

Algorithm
rewrite-expression-head
Rules
204×times-frac
186×*-un-lft-identity
174×add-sqr-sqrt
96×add-cube-cbrt
38×difference-of-squares
30×associate-/r*
26×distribute-lft-out
22×sqrt-prod
19×distribute-lft-out--
13×add-exp-log associate-/r/ add-cbrt-cube
11×pow1
div-inv associate-/l*
flip3-- fma-def flip-- add-log-exp
tan-quot cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u associate-/l/
flip3-+ swap-sqr associate-*r* associate-*l* flip-+
frac-2neg clear-num
+-commutative pow2 frac-times pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp sum-log pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
Counts
4 → 238
Calls
4 calls:
9.0ms
(+ (sqrt 1.0) (tan x))
49.0ms
(/ (+ (sqrt 1.0) (tan x)) (/ (+ 1.0 (* (tan x) (tan x))) (- (sqrt 1.0) (tan x))))
37.0ms
(/ (+ 1.0 (* (tan x) (tan x))) (- (sqrt 1.0) (tan x)))
15.0ms
(* (tan x) (tan x))

series342.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(+ (sqrt 1.0) (tan x))
176.0ms
(/ (+ (sqrt 1.0) (tan x)) (/ (+ 1.0 (* (tan x) (tan x))) (- (sqrt 1.0) (tan x))))
101.0ms
(/ (+ 1.0 (* (tan x) (tan x))) (- (sqrt 1.0) (tan x)))
29.0ms
(* (tan x) (tan x))

simplify117.0ms

Algorithm
egg-herbie
Counts
250 → 250
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
07584210
138563784
250013760

prune538.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.0b

regimes231.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
01213
11213

end0.0ms

sample1.6s

Algorithm
intervals
Results
675.0ms1497×body1280valid
363.0ms1283×body640valid
255.0ms4285×body80valid
116.0ms608×body320valid
43.0ms327×body160valid