Details

Time bar (total: 4.6s)

sample307.0ms

Algorithm
intervals
Results
26.0ms57×body1280valid
11.0ms36×body640valid
8.0ms137×body80valid
4.0ms13×body160valid
3.0ms13×body320valid

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

rewrite28.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:
2.0ms
(- 1.0 (* (tan x) (tan x)))
8.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
5.0ms
(* (tan x) (tan x))
7.0ms
(* (tan x) (tan x))

series207.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(- 1.0 (* (tan x) (tan x)))
92.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
30.0ms
(* (tan x) (tan x))
53.0ms
(* (tan x) (tan x))

simplify48.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03381007
11243917
25001882

prune286.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (+ 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))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt
29×*-un-lft-identity
28×add-cube-cbrt
21×pow1 add-exp-log associate-*r*
20×times-frac
15×add-cbrt-cube
10×associate-*l*
tan-quot
swap-sqr prod-exp
unswap-sqr
expm1-log1p-u frac-times div-exp associate-*l/ associate-/r/ cbrt-unprod log1p-expm1-u add-log-exp
associate-*r/ pow-prod-down associate-/r* *-commutative associate-/l*
cbrt-undiv pow2 rec-exp flip3-- flip3-+ pow-plus 1-exp pow-sqr pow-prod-up flip-- flip-+ div-inv
pow-flip frac-2neg clear-num un-div-inv inv-pow difference-of-squares
Counts
4 → 140
Calls
4 calls:
4.0ms
(/ 1 (+ 1.0 (* (tan x) (tan x))))
19.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))

series208.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04041182
118471018
25001959

prune292.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 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))
0.2b
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
0.3b
(* (tan x) (tan x))

rewrite56.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))
6.0ms
(- (sqrt 1.0) (tan x))
33.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
5.0ms
(* (tan x) (tan x))

series207.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(+ (sqrt 1.0) (tan x))
35.0ms
(- (sqrt 1.0) (tan x))
101.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
34.0ms
(* (tan x) (tan x))

simplify68.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05502052
124001381
250011360

prune321.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite93.0ms

Algorithm
rewrite-expression-head
Rules
62×add-sqr-sqrt
58×*-un-lft-identity
54×prod-diff
50×add-cube-cbrt
32×sqrt-prod
20×distribute-rgt-in distribute-lft-in
14×pow1
11×associate-*l*
associate-*r* add-log-exp
add-exp-log exp-prod add-cbrt-cube
fma-neg
log-pow
tan-quot expm1-log1p-u log1p-expm1-u difference-of-squares
sub-neg associate-*r/ swap-sqr
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod rem-exp-log distribute-lft-out distribute-lft-out-- unswap-sqr
pow2 frac-times pow-plus diff-log exp-sum associate-*l/ sum-log pow-sqr pow-prod-up
Counts
4 → 157
Calls
4 calls:
6.0ms
(- (sqrt 1.0) (tan x))
61.0ms
(* (log (exp (+ (sqrt 1.0) (tan x)))) (- (sqrt 1.0) (tan x)))
5.0ms
(* (tan x) (tan x))
14.0ms
(exp (+ (sqrt 1.0) (tan x)))

series236.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- (sqrt 1.0) (tan x))
101.0ms
(* (log (exp (+ (sqrt 1.0) (tan x)))) (- (sqrt 1.0) (tan x)))
36.0ms
(* (tan x) (tan x))
65.0ms
(exp (+ (sqrt 1.0) (tan x)))

simplify56.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04122172
116181393
250021356

prune307.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

regimes145.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
01514
11514

end0.0ms

sample1.6s

Algorithm
intervals
Results
715.0ms1539×body1280valid
358.0ms1235×body640valid
250.0ms4302×body80valid
126.0ms616×body320valid
42.0ms308×body160valid