Details

Time bar (total: 4.8s)

sample310.0ms

Algorithm
intervals
Results
18.0ms39×body1280valid
10.0ms149×body80valid
8.0ms30×body640valid
5.0ms27×body320valid
1.0ms11×body160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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.2b
(- 1.0 (* (tan x) (tan x)))
0.2b
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
0.2b
(* (tan x) (tan x))
0.2b
(* (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:
2.0ms
(- 1.0 (* (tan x) (tan x)))
9.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
5.0ms
(* (tan x) (tan x))
8.0ms
(* (tan x) (tan x))

series212.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03381007
11243917
25001882

prune297.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.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:
2.0ms
(- 1.0 (* (tan x) (tan x)))
20.0ms
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ 1.0 (* (tan x) (tan x)))))
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))

series189.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04061046
11794920
25002874

prune300.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (tan x))
0.2b
(* (tan x) (tan x))
0.3b
(* (* (tan x) (tan x)) (* (tan x) (tan x)))
0.4b
(pow (* (tan x) (tan x)) 3)

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
137×pow1
44×tan-quot
39×pow-prod-up
26×pow-prod-down
25×pow-sqr
23×add-exp-log add-cbrt-cube
21×pow-plus
20×frac-times
17×add-sqr-sqrt
16×pow2
14×associate-*r/ associate-*l/
13×add-cube-cbrt *-un-lft-identity
11×prod-exp cbrt-unprod
swap-sqr associate-*r* associate-*l*
pow-pow
expm1-log1p-u log1p-expm1-u add-log-exp
cube-div pow-unpow *-commutative unswap-sqr
pow-exp rem-cube-cbrt
cube-mult pow-to-exp unpow-prod-down unpow3 cube-prod sqr-pow
Counts
4 → 171
Calls
4 calls:
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))
24.0ms
(* (* (tan x) (tan x)) (* (tan x) (tan x)))
4.0ms
(pow (* (tan x) (tan x)) 3)

series179.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (tan x) (tan x))
35.0ms
(* (tan x) (tan x))
46.0ms
(* (* (tan x) (tan x)) (* (tan x) (tan x)))
66.0ms
(pow (* (tan x) (tan x)) 3)

simplify57.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0388622
11607550
25001539

prune370.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
45×add-sqr-sqrt
37×*-un-lft-identity
32×add-cube-cbrt
23×times-frac
21×prod-diff
20×add-exp-log
18×associate-*r*
16×add-cbrt-cube
13×pow1
associate-*l*
prod-exp add-log-exp
tan-quot div-inv
expm1-log1p-u div-exp associate-*l/ cbrt-unprod log1p-expm1-u unswap-sqr
cbrt-undiv frac-times flip3-- fma-neg swap-sqr associate-/r* flip--
associate-*r/ pow-prod-down associate-/r/ *-commutative distribute-lft-out-- difference-of-squares
pow2 sub-neg rec-exp frac-2neg flip3-+ pow-plus diff-log 1-exp clear-num pow-sqr un-div-inv pow-prod-up flip-+ associate-/l/ associate-/l*
Counts
4 → 140
Calls
4 calls:
5.0ms
(/ (* (tan x) (sin x)) (cos x))
6.0ms
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
28.0ms
(* (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (/ 1 (+ 1.0 (* (tan x) (tan x)))))
5.0ms
(* (tan x) (tan x))

series257.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(/ (* (tan x) (sin x)) (cos x))
50.0ms
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
110.0ms
(* (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (/ 1 (+ 1.0 (* (tan x) (tan x)))))
35.0ms
(* (tan x) (tan x))

simplify99.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
06431948
130501532
250021510

prune354.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.0b

regimes248.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01812
11812

end0.0ms

sample1.6s

Algorithm
intervals
Results
653.0ms1498×body1280valid
360.0ms1318×body640valid
255.0ms4239×body80valid
128.0ms637×body320valid
40.0ms308×body160valid