Details

Time bar (total: 4.0s)

sample298.0ms

Algorithm
intervals
Results
24.0ms51×body1280valid
10.0ms35×body640valid
8.0ms134×body80valid
4.0ms20×body320valid
2.0ms16×body160valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0139
1219
2269
3349
4379
5379

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

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

rewrite25.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:
6.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
3.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))))
35.0ms
(- 1.0 (* (tan x) (tan x)))
31.0ms
(* (tan x) (tan x))
54.0ms
(* (tan x) (tan x))

simplify46.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0314909
11157838
25001824

prune252.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.1b

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

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

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

simplify59.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0141284
1469240
21590240
35001236

prune226.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(- 1.0 (cbrt (pow (tan x) 6)))
0.3b
(* (tan x) (tan x))
0.7b
(pow (tan x) 6)
7.9b
(cbrt (pow (tan x) 6))

rewrite18.0ms

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

series160.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- 1.0 (cbrt (pow (tan x) 6)))
34.0ms
(* (tan x) (tan x))
59.0ms
(pow (tan x) 6)
35.0ms
(cbrt (pow (tan x) 6))

simplify40.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0262439
11007393
25001359

prune222.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.1b

localize9.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
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

rewrite35.0ms

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

series249.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (tan x) (tan x))
32.0ms
(* (tan x) (tan x))
34.0ms
(* (tan x) (tan x))
151.0ms
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

simplify37.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0266869
1914800
25002784

prune213.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

regimes186.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
01616
11616

end0.0ms

sample1.6s

Algorithm
intervals
Results
704.0ms1566×body1280valid
361.0ms1246×body640valid
242.0ms4289×body80valid
119.0ms595×body320valid
40.0ms304×body160valid