Details

Time bar (total: 4.6s)

sample297.0ms

Algorithm
intervals
Results
21.0ms49×body1280valid
13.0ms44×body640valid
8.0ms142×body80valid
2.0ms11×body320valid
1.0ms10×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))) (+ 1.0 (* (tan x) (tan x))))
0.1b
(- 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:
9.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
2.0ms
(- 1.0 (* (tan x) (tan x)))
5.0ms
(* (tan x) (tan x))
7.0ms
(* (tan x) (tan x))

series215.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
33.0ms
(- 1.0 (* (tan x) (tan x)))
33.0ms
(* (tan x) (tan x))
54.0ms
(* (tan x) (tan x))

simplify50.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03381007
11243918
25001882

prune306.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

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

rewrite7.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:
1.0ms
(pow (sin x) 2)
1.0ms
(pow (sin x) 2)
1.0ms
(pow (cos x) 2)
2.0ms
(pow (cos x) 2)

series75.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0146308
1487260
21669260
35001256

prune265.0ms

Pruning

14 alts after pruning (13 fresh and 1 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))
0.2b
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
0.3b
(* (tan x) (tan x))

rewrite57.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))
32.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
5.0ms
(* (tan x) (tan x))

series210.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(+ (sqrt 1.0) (tan x))
39.0ms
(- (sqrt 1.0) (tan x))
105.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
33.0ms
(* (tan x) (tan x))

simplify69.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05502052
124001381
250011360

prune339.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize15.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
(log (exp (- (sqrt 1.0) (tan x))))
0.3b
(* (tan x) (tan x))
0.3b
(exp (- (sqrt 1.0) (tan x)))

rewrite114.0ms

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

series244.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
197 → 197
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
06112704
123891693
250011183

prune327.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0.0b

regimes252.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
671.0ms1522×body1280valid
377.0ms1334×body640valid
249.0ms4210×body80valid
126.0ms646×body320valid
38.0ms288×body160valid