Details

Time bar (total: 5.0s)

sample353.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
0139
1229
2299
3379
4439
5459
6459

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

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

rewrite71.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:
26.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
6.0ms
(- 1.0 (* (tan x) (tan x)))
16.0ms
(* (tan x) (tan x))
18.0ms
(* (tan x) (tan x))

series211.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
39.0ms
(- 1.0 (* (tan x) (tan x)))
33.0ms
(* (tan x) (tan x))
43.0ms
(* (tan x) (tan x))

simplify44.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03381007
11243918
25001882

prune288.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.1b

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

rewrite104.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))
58.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
11.0ms
(- (sqrt 1.0) (tan x))
18.0ms
(* (tan x) (tan x))

series205.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))
32.0ms
(* (tan x) (tan x))

simplify66.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05502052
124001381
250011359

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

rewrite80.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:
36.0ms
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ 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))

series198.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04061046
11794921
25002874

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

rewrite175.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:
111.0ms
(* (+ (sqrt 1.0) (tan x)) (log (exp (- (sqrt 1.0) (tan x)))))
12.0ms
(- (sqrt 1.0) (tan x))
16.0ms
(* (tan x) (tan x))
27.0ms
(exp (- (sqrt 1.0) (tan x)))

series242.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))
70.0ms
(exp (- (sqrt 1.0) (tan x)))

simplify65.0ms

Algorithm
egg-herbie
Counts
197 → 197
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
06232688
124571688
250021180

prune334.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.1b

regimes197.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
686.0ms1524×body1280valid
360.0ms1277×body640valid
246.0ms4255×body80valid
116.0ms611×body320valid
47.0ms333×body160valid