Details

Time bar (total: 4.2s)

sample307.0ms

Algorithm
intervals
Results
25.0ms54×body1280valid
11.0ms41×body640valid
8.0ms140×body80valid
3.0ms13×body320valid
1.0msbody160valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1219
2269
3349
4379
5379

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
21×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
associate-/l*
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 → 105
Calls
4 calls:
8.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))

series210.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
33.0ms
(- 1.0 (* (tan x) (tan x)))
31.0ms
(* (tan x) (tan x))
52.0ms
(* (tan x) (tan x))

simplify48.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0314909
11157838
25001824

prune246.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.1b

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (cos x) 2)
0.3b
(pow (cos x) 2)
0.3b
(pow (sin x) 2)
0.3b
(pow (sin 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
pow-to-exp pow-pow pow-exp add-cbrt-cube unpow2 add-log-exp sqr-pow
Counts
4 → 72
Calls
4 calls:
1.0ms
(pow (cos x) 2)
1.0ms
(pow (cos x) 2)
1.0ms
(pow (sin x) 2)
2.0ms
(pow (sin x) 2)

series74.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(pow (cos x) 2)
16.0ms
(pow (cos x) 2)
18.0ms
(pow (sin x) 2)
23.0ms
(pow (sin x) 2)

simplify61.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (56.0ms)

IterNodesCost
0141284
1469240
21590240
35001236

prune225.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt
31×*-un-lft-identity
27×associate-*r*
19×add-cube-cbrt times-frac
13×pow1
11×add-exp-log add-cbrt-cube
add-log-exp difference-of-squares
associate-*l*
tan-quot flip3-+ sqrt-prod flip-+ distribute-lft-out--
frac-times swap-sqr associate-*l/ prod-exp cbrt-unprod unswap-sqr
associate-*r/ pow-prod-down associate-/r/ *-commutative distribute-lft-out
cbrt-undiv +-commutative pow2 sub-neg flip3-- pow-plus diff-log div-exp sum-log pow-sqr pow-prod-up flip-- div-inv
Counts
4 → 103
Calls
4 calls:
41.0ms
(* (+ (sqrt 1.0) (tan x)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x)))))
5.0ms
(- (sqrt 1.0) (tan x))
4.0ms
(+ (sqrt 1.0) (tan x))
5.0ms
(* (tan x) (tan x))

series301.0ms

Counts
4 → 12
Calls
4 calls:
195.0ms
(* (+ (sqrt 1.0) (tan x)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x)))))
36.0ms
(- (sqrt 1.0) (tan x))
38.0ms
(+ (sqrt 1.0) (tan x))
32.0ms
(* (tan x) (tan x))

simplify69.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
04901089
12418957
25001945

prune277.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
18×pow1
16×*-un-lft-identity
12×add-cube-cbrt
tan-quot add-exp-log add-cbrt-cube add-log-exp
swap-sqr associate-*r* associate-*l*
difference-of-squares
pow2 frac-times sub-neg flip3-- pow-plus diff-log associate-*r/ pow-prod-down associate-*l/ prod-exp sqrt-prod pow-sqr *-commutative pow-prod-up flip-- cbrt-unprod distribute-lft-out-- unswap-sqr
Counts
4 → 86
Calls
4 calls:
5.0ms
(- (sqrt 1.0) (tan x))
5.0ms
(- (sqrt 1.0) (tan x))
5.0ms
(* (tan x) (tan x))
6.0ms
(* (tan x) (tan x))

series139.0ms

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

simplify99.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
0165436
1584396
22750386
35002374

prune208.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

regimes154.0ms

Accuracy

0% (0.4b remaining)

Error of 0.5b against oracle of 0.1b and baseline of 0.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01519
11519

end0.0ms

sample1.6s

Algorithm
intervals
Results
698.0ms1544×body1280valid
361.0ms1276×body640valid
240.0ms4210×body80valid
129.0ms647×body320valid
42.0ms323×body160valid