Details

Time bar (total: 4.9s)

sample346.0ms

Algorithm
intervals
Results
19.0ms44×body1280valid
10.0ms38×body640valid
9.0ms135×body80valid
4.0ms23×body320valid
2.0ms16×body160valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1229
2299
3379
4439
5459
6459

prune25.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite66.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:
23.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
6.0ms
(- 1.0 (* (tan x) (tan x)))
15.0ms
(* (tan x) (tan x))
18.0ms
(* (tan x) (tan x))

series211.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03381007
11243918
25001882

prune280.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite99.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:
9.0ms
(+ (sqrt 1.0) (tan x))
56.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
11.0ms
(- (sqrt 1.0) (tan x))
17.0ms
(* (tan x) (tan x))

series207.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(+ (sqrt 1.0) (tan x))
100.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
40.0ms
(- (sqrt 1.0) (tan x))
33.0ms
(* (tan x) (tan x))

simplify67.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05502052
124001381
250011359

prune316.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ 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))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
23×*-un-lft-identity
22×add-cube-cbrt
21×associate-*r*
20×pow1
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
expm1-log1p-u frac-times associate-*l/ cbrt-unprod log1p-expm1-u
flip3-- fma-neg associate-*r/ prod-diff 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 → 126
Calls
4 calls:
35.0ms
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ 1.0 (* (tan x) (tan x)))))
6.0ms
(- 1.0 (* (tan x) (tan x)))
14.0ms
(* (tan x) (tan x))
17.0ms
(* (tan x) (tan x))

series197.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ 1.0 (* (tan x) (tan x)))))
37.0ms
(- 1.0 (* (tan x) (tan x)))
32.0ms
(* (tan x) (tan x))
33.0ms
(* (tan x) (tan x))

simplify57.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04061046
11794921
25002874

prune275.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.1b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite170.0ms

Algorithm
rewrite-expression-head
Rules
80×add-sqr-sqrt
72×*-un-lft-identity prod-diff
64×add-cube-cbrt
60×exp-sum
46×log-prod
42×sqrt-prod
23×distribute-rgt-in distribute-lft-in
14×pow1
13×associate-*r*
12×exp-prod
add-log-exp
add-exp-log add-cbrt-cube
associate-*l* log-pow
fma-neg difference-of-squares
tan-quot expm1-log1p-u sub-neg log1p-expm1-u
swap-sqr associate-*l/ distribute-lft-out--
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod rem-exp-log unswap-sqr
pow2 frac-times flip3-- flip3-+ pow-plus exp-diff associate-*r/ pow-sqr pow-prod-up flip-- flip-+ distribute-lft-out
Counts
4 → 185
Calls
4 calls:
109.0ms
(* (+ (sqrt 1.0) (tan x)) (log (exp (- (sqrt 1.0) (tan x)))))
11.0ms
(- (sqrt 1.0) (tan x))
15.0ms
(* (tan x) (tan x))
27.0ms
(exp (- (sqrt 1.0) (tan x)))

series241.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(* (+ (sqrt 1.0) (tan x)) (log (exp (- (sqrt 1.0) (tan x)))))
39.0ms
(- (sqrt 1.0) (tan x))
32.0ms
(* (tan x) (tan x))
69.0ms
(exp (- (sqrt 1.0) (tan x)))

simplify66.0ms

Algorithm
egg-herbie
Counts
197 → 197
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
06232688
124571688
250021180

prune326.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.1b

regimes195.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
01818
11818

end0.0ms

sample1.6s

Algorithm
intervals
Results
655.0ms1524×body1280valid
347.0ms1277×body640valid
240.0ms4255×body80valid
118.0ms611×body320valid
42.0ms333×body160valid