Details

Time bar (total: 4.7s)

sample304.0ms

Algorithm
intervals
Results
23.0ms48×body1280valid
13.0ms36×body640valid
10.0ms139×body80valid
5.0ms23×body320valid
2.0ms10×body160valid

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

rewrite26.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:
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))

series210.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0314909
11157838
25001824

prune255.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.2b
(pow (cos x) 2)
0.2b
(pow (cos x) 2)
0.3b
(pow (sin x) 2)
0.3b
(pow (sin x) 2)

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

series69.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)
19.0ms
(pow (sin x) 2)

simplify61.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (56.0ms)

IterNodesCost
0141284
1469240
21590240
35001236

prune227.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
92×add-sqr-sqrt
72×add-cube-cbrt *-un-lft-identity
22×associate-/r*
21×add-exp-log
19×pow1
16×difference-of-squares
15×add-cbrt-cube
11×associate-/r/
tan-quot div-exp
swap-sqr associate-*r* associate-*l* div-inv associate-/l*
flip3-- flip--
cbrt-undiv add-log-exp
pow2 frac-times rec-exp frac-2neg pow-plus 1-exp associate-*r/ pow-prod-down associate-*l/ prod-exp clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod associate-/l/ unswap-sqr
pow-flip flip3-+ flip-+ inv-pow
Counts
4 → 187
Calls
4 calls:
10.0ms
(/ (+ 1.0 (* (tan x) (tan x))) (- 1.0 (* (tan x) (tan x))))
13.0ms
(/ 1 (/ (+ 1.0 (* (tan x) (tan x))) (- 1.0 (* (tan x) (tan x)))))
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))

series246.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(/ (+ 1.0 (* (tan x) (tan x))) (- 1.0 (* (tan x) (tan x))))
90.0ms
(/ 1 (/ (+ 1.0 (* (tan x) (tan x))) (- 1.0 (* (tan x) (tan x)))))
35.0ms
(* (tan x) (tan x))
32.0ms
(* (tan x) (tan x))

simplify78.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
05792595
127792386
250012281

prune357.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (sin x))
0.2b
(/ (* (tan x) (sin x)) (cos x))
0.2b
(/ 1 (/ (+ 1.0 (* (tan x) (tan x))) (- 1.0 (/ (* (tan x) (sin x)) (cos x)))))
0.3b
(* (tan x) (tan x))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
126×times-frac
98×add-sqr-sqrt
94×*-un-lft-identity
70×add-cube-cbrt
24×add-exp-log associate-/r*
18×add-cbrt-cube
14×pow1
12×distribute-lft-out-- difference-of-squares
div-exp associate-/r/
tan-quot associate-*r* associate-*l* div-inv
cbrt-undiv
flip3-- flip-- associate-/l* add-log-exp
swap-sqr associate-*l/ prod-exp cbrt-unprod
rec-exp frac-2neg 1-exp pow-prod-down clear-num *-commutative unswap-sqr
pow2 frac-times pow-flip pow-plus associate-*r/ pow-sqr pow-prod-up associate-/l/ inv-pow
Counts
4 → 177
Calls
4 calls:
5.0ms
(* (tan x) (sin x))
5.0ms
(/ (* (tan x) (sin x)) (cos x))
16.0ms
(/ 1 (/ (+ 1.0 (* (tan x) (tan x))) (- 1.0 (/ (* (tan x) (sin x)) (cos x)))))
5.0ms
(* (tan x) (tan x))

series244.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* (tan x) (sin x))
56.0ms
(/ (* (tan x) (sin x)) (cos x))
111.0ms
(/ 1 (/ (+ 1.0 (* (tan x) (tan x))) (- 1.0 (/ (* (tan x) (sin x)) (cos x)))))
32.0ms
(* (tan x) (tan x))

simplify92.0ms

Algorithm
egg-herbie
Counts
189 → 189
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
06712798
132842578
250012463

prune351.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0b

regimes216.0ms

Accuracy

0% (0.4b 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
01712
11712

end0.0ms

sample1.8s

Algorithm
intervals
Results
765.0ms1569×body1280valid
387.0ms1221×body640valid
316.0ms4324×body80valid
126.0ms566×body320valid
53.0ms320×body160valid