Details

Time bar (total: 4.7s)

sample308.0ms

Algorithm
intervals
Results
27.0ms53×body1280valid
16.0ms42×body640valid
9.0ms127×body80valid
4.0ms17×body320valid
3.0ms17×body160valid

simplify14.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.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:
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))
8.0ms
(* (tan x) (tan x))

series222.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(- 1.0 (* (tan x) (tan x)))
98.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
32.0ms
(* (tan x) (tan x))
54.0ms
(* (tan x) (tan x))

simplify47.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03381007
11243917
25001882

prune293.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
33×pow1
23×add-sqr-sqrt
17×add-cube-cbrt *-un-lft-identity
16×tan-quot
13×add-exp-log add-cbrt-cube
swap-sqr associate-*r* associate-*l*
pow-pow
pow2 expm1-log1p-u frac-times pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr pow-prod-up cbrt-unprod 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 → 121
Calls
4 calls:
8.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))
5.0ms
(pow (* (tan x) (tan x)) 3)

series164.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (tan x) (tan x))
32.0ms
(* (tan x) (tan x))
36.0ms
(* (tan x) (tan x))
63.0ms
(pow (* (tan x) (tan x)) 3)

simplify47.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0217482
1999427
25001410

prune360.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

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

series77.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0146308
1487260
21671260
35001256

prune263.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
102×times-frac
76×add-sqr-sqrt
61×add-cube-cbrt *-un-lft-identity
18×associate-/r*
17×add-exp-log
13×difference-of-squares
12×pow1
11×add-cbrt-cube
associate-/r/
div-exp
add-log-exp
flip3-- flip-- div-inv
tan-quot expm1-log1p-u log1p-expm1-u
cbrt-undiv fma-neg swap-sqr associate-*r* associate-*l* prod-diff associate-/l*
rec-exp 1-exp
pow2 frac-times sub-neg pow-flip frac-2neg pow-plus diff-log associate-*r/ pow-prod-down associate-*l/ prod-exp clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod fma-udef inv-pow unswap-sqr
Counts
4 → 159
Calls
4 calls:
0.0ms
(fma (tan x) (tan x) 1.0)
2.0ms
(- 1.0 (* (tan x) (tan x)))
8.0ms
(/ 1 (/ (fma (tan x) (tan x) 1.0) (- 1.0 (* (tan x) (tan x)))))
6.0ms
(* (tan x) (tan x))

series219.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(fma (tan x) (tan x) 1.0)
33.0ms
(- 1.0 (* (tan x) (tan x)))
108.0ms
(/ 1 (/ (fma (tan x) (tan x) 1.0) (- 1.0 (* (tan x) (tan x)))))
33.0ms
(* (tan x) (tan x))

simplify73.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
05702046
126171859
250021752

prune312.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.0b

regimes187.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
0119
1119

end0.0ms

sample1.9s

Algorithm
intervals
Results
776.0ms1496×body1280valid
422.0ms1266×body640valid
325.0ms4278×body80valid
140.0ms609×body320valid
62.0ms351×body160valid