Details

Time bar (total: 4.2s)

sample301.0ms

Algorithm
intervals
Results
21.0ms49×body1280valid
10.0ms38×body640valid
10.0ms144×body80valid
3.0ms18×body320valid
1.0msbody160valid

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

rewrite69.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:
17.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
14.0ms
(- 1.0 (* (tan x) (tan x)))
16.0ms
(* (tan x) (tan x))
17.0ms
(* (tan x) (tan x))

series193.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
30.0ms
(- 1.0 (* (tan x) (tan x)))
35.0ms
(* (tan x) (tan x))
41.0ms
(* (tan x) (tan x))

simplify43.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0314909
11157838
25001824

prune241.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin x) 2)
0.3b
(pow (sin x) 2)
0.3b
(pow (cos x) 2)
0.3b
(pow (cos x) 2)

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

series67.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (55.0ms)

IterNodesCost
0141284
1469240
21588240
35001236

prune206.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
19×pow1 log-pow
18×exp-prod
12×times-frac
tan-quot add-exp-log add-cbrt-cube
swap-sqr associate-*r* associate-*l* add-log-exp
difference-of-squares
log-prod
pow2 frac-times pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp associate-/r/ pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
sub-neg log-div flip3-- flip3-+ exp-diff diff-log div-sub rem-log-exp flip-- flip-+ div-inv
Counts
4 → 100
Calls
4 calls:
5.0ms
(- 1.0 (* (tan x) (tan x)))
15.0ms
(* (tan x) (tan x))
15.0ms
(* (tan x) (tan x))
27.0ms
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))))

series174.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(- 1.0 (* (tan x) (tan x)))
29.0ms
(* (tan x) (tan x))
32.0ms
(* (tan x) (tan x))
84.0ms
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))))

simplify145.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 3 (133.0ms)

IterNodesCost
0289756
1888687
23990673
35001667

prune257.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite101.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:
15.0ms
(* (tan x) (tan x))
16.0ms
(* (tan x) (tan x))
15.0ms
(* (tan x) (tan x))
52.0ms
(- (/ 1.0 (+ 1.0 (* (tan x) (tan x)))) (/ (* (tan x) (tan x)) (+ 1.0 (* (tan x) (tan x)))))

series237.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (tan x) (tan x))
29.0ms
(* (tan x) (tan x))
33.0ms
(* (tan x) (tan x))
141.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

prune200.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

regimes124.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
01011
11011

end0.0ms

sample1.6s

Algorithm
intervals
Results
647.0ms1480×body1280valid
370.0ms1272×body640valid
251.0ms4312×body80valid
115.0ms612×body320valid
42.0ms324×body160valid